.rm{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;gap:var(--space-3,.75rem);font-family:var(--font-sans,system-ui, sans-serif);color:#262626;display:grid}.rm-board{aspect-ratio:297/210;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:1.2cqw;width:100%;position:relative;overflow:hidden;box-shadow:0 10px 30px #0000001f;container-type:inline-size}.rm-bg{object-fit:fill;pointer-events:none;max-width:none;position:absolute}.rm-box{box-sizing:border-box;border:var(--rm-box-bw,.32cqw) var(--rm-box-bs,solid) var(--rm-frame);border-radius:var(--rm-box-r,1.35cqw);background:var(--rm-box-bg,#ffffff8c);box-shadow:var(--rm-box-shadow,inset 0 .3cqw .9cqw #00000014);transition:background .12s,box-shadow .12s,transform .12s;position:absolute}.rm-box.is-target{background:#ffffffd9;box-shadow:0 0 0 .6cqw #ffcf00bf}.rm-box.is-active{background:#fff0aae6;box-shadow:0 0 0 .8cqw #ffcf00d9,0 0 3cqw #ffcf0099}.rm-box.is-active .rm-beat{opacity:1}.rm-beat{font-family:var(--font-heading,system-ui, sans-serif);color:var(--rm-num,var(--rm-frame));opacity:.7;font-size:2.4cqw;font-weight:700;line-height:1;position:absolute;top:100%;left:50%;translate:-50% .6cqw}.rm-pool-tray{background:#ffffff73;border:.2cqw solid #0000000f;border-radius:1.6cqw;position:absolute;box-shadow:inset 0 .3cqw 1cqw #00000014}.rm-card{cursor:grab;touch-action:none;background:0 0;border:0;border-radius:1cqw;margin:0;padding:0;display:block;position:absolute;box-shadow:0 .35cqw 1cqw #0000002e}.rm-card>svg,.rm-legend-face>svg{width:100%;height:100%;display:block}.rm-card:focus-visible{outline:.5cqw solid var(--color-focus,#1f6feb);outline-offset:.3cqw}.rm-pool-item{position:absolute}.rm-pool-item .rm-card-pool{width:100%;height:100%;transition:transform .12s;inset:0}.rm-pool-item .rm-card-pool:hover{transform:translateY(-.3cqw)rotate(-1deg)}.rm-stack{background:#fff;border:.15cqw solid #0000001f;border-radius:1cqw;position:absolute;inset:0;transform:translate(.5cqw,.45cqw)rotate(2deg)}.rm-stack-2{transform:translate(.25cqw,.22cqw)rotate(-1.5deg)}.rm-card-ghost{pointer-events:none;cursor:grabbing;z-index:20;transform:rotate(-2deg)scale(1.03);box-shadow:0 1.2cqw 3cqw #0000004d}.rm-board.is-dragging,.rm-board.is-dragging .rm-card{cursor:grabbing}.rm-count{pointer-events:none;font-family:var(--font-heading,system-ui, sans-serif);color:var(--color-brand-yellow,#ffcf00);-webkit-text-stroke:.6cqw #262626;paint-order:stroke fill;text-shadow:0 1cqw 3cqw #00000059;z-index:30;place-items:center;font-size:26cqw;font-weight:700;line-height:1;animation:.5s ease-out both rm-count;display:grid;position:absolute;inset:0}@keyframes rm-count{0%{opacity:0;transform:scale(1.5)}to{opacity:1;transform:scale(1)}}.rm-top-right{z-index:25;gap:.8cqw;transition:opacity .3s;display:flex;position:absolute;top:2cqw;right:2cqw}.rm-fs-btn{padding:.7cqw}.rm-flip{transform:scaleX(-1)}.rm-help-btn{font:inherit;color:#262626;cursor:pointer;background:#ffffffeb;border:0;border-radius:999px;align-items:center;gap:.6cqw;padding:.7cqw 1.4cqw;font-size:max(.85rem,1.5cqw);font-weight:800;display:inline-flex;box-shadow:0 .3cqw 1cqw #00000026}.rm-help-btn .icon{width:max(1.1rem,2cqw);height:max(1.1rem,2cqw)}.rm-deco{pointer-events:none;position:absolute}.rm-deco img{width:100%;height:auto;display:block}.rm-deco.is-editable{pointer-events:auto;cursor:move;outline:1px dashed #00000040}.rm-deco.is-selected{outline:2px solid var(--color-focus,#1f6feb)}.rm-anim-zweven{animation:4s ease-in-out infinite rm-float}.rm-anim-wiebelen{animation:2.6s ease-in-out infinite rm-wiggle}.rm-anim-pulseren{animation:2.4s ease-in-out infinite rm-pulse}.rm-anim-twinkelen{animation:1.8s ease-in-out infinite rm-twinkle}.rm-anim-draaien{animation:24s linear infinite rm-spin}@keyframes rm-float{50%{transform:translateY(-6%)}}@keyframes rm-wiggle{25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}@keyframes rm-pulse{50%{transform:scale(1.06)}}@keyframes rm-twinkle{50%{opacity:.45;transform:scale(.92)}}@keyframes rm-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.rm-deco img,.rm-count{animation:none!important}}.rm-controls{z-index:15;backdrop-filter:blur(4px);background:#fffc;border-radius:999px;flex-wrap:nowrap;justify-content:center;align-items:center;gap:.7cqw;padding:0 1.4cqw;font-size:clamp(.62rem,1.35cqw,1.05rem);transition:opacity .3s;display:flex;position:absolute;box-shadow:0 .3cqw 1.2cqw #0000001f}.rm-controls .icon{width:clamp(12px,1.8cqw,22px);height:clamp(12px,1.8cqw,22px)}.rm-spacer{flex:0 0 .5cqw}.rm-btn,.rm-toggle{border:1px solid var(--color-border,#e7e2da);background:var(--color-surface,#fff);color:#262626;height:clamp(1.6rem,4.4cqw,3rem);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:.4em;padding:0 1em;font-weight:700;display:inline-flex}.rm-btn:disabled,.rm-toggle:disabled{opacity:.5;cursor:default}.rm-btn-icon{justify-content:center;width:clamp(1.6rem,4.4cqw,3rem);padding:0}.rm-btn-play{color:#fff;background:#262626;border-color:#262626;justify-content:center;width:clamp(2rem,5.6cqw,3.8rem);height:clamp(2rem,5.6cqw,3.8rem);padding:0}.rm-btn-play .icon{width:52%;height:52%}.rm-btn-play.is-playing{background:var(--color-accent-strong,#b81f06);border-color:var(--color-accent-strong,#b81f06)}.rm-toggle.is-on{background:var(--color-brand-yellow,#ffcf00);border-color:#d9ad00}.rm-tempo{border:1px solid var(--color-border,#e7e2da);background:var(--color-surface,#fff);white-space:nowrap;border-radius:999px;align-items:center;gap:.5em;height:clamp(1.6rem,4.4cqw,3rem);padding:0 .9em;font-weight:700;display:inline-flex}.rm-tempo input{-webkit-appearance:none;appearance:none;cursor:pointer;background:linear-gradient(90deg,#3fae49,#ffcf00 50%,#e5242c);border-radius:999px;width:10cqw;min-width:3rem;height:clamp(5px,.8cqw,9px);margin:0}.rm-tempo input:disabled{opacity:.45;cursor:default}.rm-tempo input::-webkit-slider-thumb{-webkit-appearance:none;background:var(--thumb,#ffcf00);border:3px solid #fff;border-radius:50%;width:clamp(13px,2.1cqw,24px);height:clamp(13px,2.1cqw,24px);box-shadow:0 0 0 1.5px #262626,0 2px 6px #0000004d}.rm-tempo input::-moz-range-thumb{background:var(--thumb,#ffcf00);border:3px solid #fff;border-radius:50%;width:clamp(13px,2.1cqw,24px);height:clamp(13px,2.1cqw,24px);box-shadow:0 0 0 1.5px #262626,0 2px 6px #0000004d}.rm-tempo input::-moz-range-track{background:linear-gradient(90deg,#3fae49,#ffcf00 50%,#e5242c);border-radius:999px;height:clamp(5px,.8cqw,9px)}.rm-tempo input:focus-visible{outline:2px solid var(--color-focus,#1f6feb);outline-offset:4px}.rm-tempo-track{justify-items:center;row-gap:clamp(5px,.9cqw,9px);padding-top:2px;line-height:1;display:grid}.rm-tempo-value{font-variant-numeric:tabular-nums;color:var(--color-text-muted,#5f5a53);font-size:.72em;font-weight:800}.rm-error{color:var(--color-accent-strong,#b81f06);margin:0;font-weight:700}.rm.is-standalone{width:min(100%,141.429vh - 8.48572rem)}.rm.is-fullscreen{background:#111;align-content:center;place-items:center;width:100vw;height:100vh;padding:0;position:relative}.rm.is-fullscreen .rm-board{width:min(100vw,141.429vh);box-shadow:none;border-radius:0}.rm.is-fullscreen .rm-error{background:#fff;border-radius:8px;padding:.5rem 1rem;position:fixed;top:1rem;left:50%;transform:translate(-50%)}.rm-help-layer{z-index:40;cursor:default;background:#00000059;place-items:center;display:grid;position:absolute;inset:0}.rm-help{color:#262626;background:#fff;border-radius:2cqw;width:92%;height:90%;font-size:1.45cqw;overflow:hidden;box-shadow:0 2cqw 6cqw #0000004d}.rm-help-inner{box-sizing:border-box;grid-template-rows:auto auto minmax(0,1fr) auto;gap:1.1cqw;height:100%;padding:2.2cqw 2.6cqw;display:grid}.rm-help header{justify-content:space-between;align-items:center;gap:1cqw;display:flex}.rm-help h2{margin:0;font-size:2.6cqw}.rm-help header .rm-btn{justify-content:center;width:4.2cqw;height:4.2cqw;padding:0}.rm-help header .rm-btn .icon{width:2cqw;height:2cqw}.rm-help h3{margin:0 0 .6cqw;font-size:1.75cqw}.rm-help h3 small{color:var(--color-text-muted,#5f5a53);margin-left:.6cqw;font-size:1.3cqw;font-weight:600}.rm-help-text p{margin:0 0 .5cqw;line-height:1.45}.rm-help-cards{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.rm-legend{grid-template-columns:repeat(var(--cols,4), minmax(0, 1fr));grid-auto-rows:minmax(0,1fr);gap:1cqw;min-height:0;margin:0;padding:0;list-style:none;display:grid}.rm-legend li{min-height:0}.rm-legend button{border:1px solid var(--color-border,#e7e2da);border-radius:var(--radius-md,12px);background:var(--color-bg,#fbf9f6);width:100%;height:100%;min-height:0;font:inherit;color:inherit;cursor:pointer;grid-template-rows:minmax(0,.8fr) minmax(0,1.2fr);place-items:center;gap:.4cqw;padding:.8cqw;display:grid}.rm-legend button:hover{border-color:#262626}.rm-legend-face{place-items:center;width:100%;height:100%;min-height:0;display:grid}.rm-legend-face>svg{filter:drop-shadow(0 2px 5px #00000026);width:auto;max-width:100%;height:100%;max-height:100%;display:block}.rm-legend-name{align-items:center;gap:.25rem;max-width:100%;font-size:.95rem;font-weight:800;display:inline-flex}.rm-legend-name>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rm-legend-words{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--color-text-muted,#5f5a53);font-size:.85rem;font-weight:600;overflow:hidden}.rm-legend-notation{place-items:center;width:100%;height:100%;min-height:0;display:grid}.rm-legend-notation svg{width:auto;max-width:100%;height:100%;max-height:100%;display:block}.rm-tips{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4cqw 2.5cqw;margin:0;padding-left:2cqw;font-size:1.3cqw;line-height:1.4;display:grid}.rm-help-btn.is-on{color:#fff;background:#262626}.rm-settings{z-index:35;color:#262626;background:#fff;border-radius:1.6cqw;gap:1cqw;width:34cqw;padding:1.4cqw 1.6cqw;font-size:clamp(.7rem,1.35cqw,1rem);display:grid;position:absolute;top:7.5cqw;right:2cqw;box-shadow:0 1.2cqw 4cqw #00000040}.rm-settings-head{justify-content:space-between;align-items:center;display:flex}.rm-settings-head strong{font-family:var(--font-heading,system-ui, sans-serif);font-size:1.2em}.rm-settings-row{gap:.4em;font-weight:700;display:grid}.rm-seg{background:var(--color-bg,#fbf9f6);border:1px solid var(--color-border,#e7e2da);border-radius:999px;justify-self:start;gap:2px;padding:3px;display:inline-flex}.rm-seg button{font:inherit;color:var(--color-text-muted,#5f5a53);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.35em .9em;font-weight:700}.rm-seg button.is-on{color:#fff;background:#262626}.rm-volume{align-items:center;gap:.6em;display:flex}.rm-volume input{accent-color:#262626;flex:1}.rm-volume small{text-align:right;font-variant-numeric:tabular-nums;min-width:3em;color:var(--color-text-muted,#5f5a53)}.rm-seg-wrap{border-radius:1em;flex-wrap:wrap}.rm-deco-handle{border:2px solid var(--color-focus,#1f6feb);pointer-events:auto;z-index:2;background:#fff;border-radius:3px;width:max(10px,1.1cqw);height:max(10px,1.1cqw);margin:calc(max(10px,1.1cqw)/-2);position:absolute}.rm-deco-handle.is-nw{cursor:nwse-resize;top:0;left:0}.rm-deco-handle.is-ne{cursor:nesw-resize;margin-left:0;margin-right:calc(max(10px,1.1cqw)/-2);top:0;right:0}.rm-deco-handle.is-sw{cursor:nesw-resize;margin-top:0;margin-bottom:calc(max(10px,1.1cqw)/-2);bottom:0;left:0}.rm-deco-handle.is-se{cursor:nwse-resize;margin:0 calc(max(10px,1.1cqw)/-2) calc(max(10px,1.1cqw)/-2) 0;bottom:0;right:0}.rm.is-pseudo-fs{z-index:1000;width:100vw;height:100dvh;position:fixed;inset:0}.rm.is-fullscreen .rm-board{width:min(100vw,141.429dvh)}.rm-compact-layer{z-index:1100;pointer-events:none;position:fixed;inset:0}.rm-compact-layer>*{pointer-events:auto}.rm-compact-layer .rm-help-layer{position:fixed;inset:0}.rm-compact-layer .rm-help{overscroll-behavior:contain;border-radius:0;width:100%;height:100%;font-size:1rem;overflow:auto}.rm-compact-layer .rm-help-inner{grid-template-rows:none;gap:1rem;height:auto;min-height:100%;padding:1rem 1rem 2rem}.rm-compact-layer .rm-help h2{font-size:1.4rem}.rm-compact-layer .rm-help h3{font-size:1.1rem}.rm-compact-layer .rm-help h3 small{font-size:.85rem}.rm-compact-layer .rm-help header .rm-btn{width:2.75rem;height:2.75rem}.rm-compact-layer .rm-help header .rm-btn .icon{width:20px;height:20px}.rm-compact-layer .rm-legend{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:.6rem}.rm-compact-layer .rm-legend button{grid-template-rows:6rem 5rem;padding:.6rem}.rm-compact-layer .rm-tips{grid-template-columns:1fr;padding-left:1.2rem;font-size:.95rem}.rm-compact-layer .rm-settings{width:auto;padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;gap:.9rem;font-size:1rem;position:fixed;inset:auto 0 0;box-shadow:0 -10px 40px #00000040}.rm-compact-layer .rm-settings-head .rm-btn{width:2.5rem;height:2.5rem}.rm-rotate-hint{display:none}@media (orientation:portrait){.rm.is-fullscreen .rm-rotate-hint{color:#fff;white-space:nowrap;background:#ffffff1f;border-radius:999px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.9rem;font-weight:700;display:flex;position:absolute;bottom:calc(50% - 35.3535vw - 4rem);left:50%;transform:translate(-50%)}.rm.is-fullscreen .rm-rotate-hint:before{content:"⟳";font-size:1.2rem}}.rm-seg.is-disabled,.rm-seg button:disabled{opacity:.45;cursor:not-allowed}.rm-seg.is-disabled button:disabled{opacity:1}.rm-settings-note{color:var(--color-text-muted,#5f5a53);font-size:.75em;font-weight:600;display:block}
