.ry-rally{--ground:#eaf3df;--surface:#fff;--sunk:#e3edd8;--ink:#1e2a1c;--muted:#3d4b39;--line:#bfcdb3;--accent:#d24242;--accent-ink:#fff;--sun:#a66903;--good:#29782d;--bad:#c22425;--info:#1b6caf;--good-tint:#dcefd9;--bad-tint:#f8ddda;--warn-tint:#f8edcb;--info-tint:#dceaf7;--shadow:0 1px 0 #14281414, 0 8px 18px -10px #14281466;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);background-color:#8cc46e;background-image:repeating-linear-gradient(90deg,#ffffff17 0 48px,#00000009 48px 96px);border-radius:14px;margin-block:18px 28px;padding-block:4px 8px;box-shadow:inset 0 0 0 1px #1e3c1433,0 18px 40px -24px #0009}.ry-rally .play-bar .title h1{color:#1e3a18;text-shadow:0 1px #ffffff59}.ry-rally .play-bar .backlink,.ry-rally .play-bar .title small{color:#1e3a18}.ry-rally .play-bar .howto-btn{background:#ffffffd9}.ry-rally .pstats{background:#111611;border:2px solid #3a443a;border-radius:6px;padding:6px 12px;box-shadow:0 3px #00000040}.ry-rally .pstat b{font-family:var(--f-mono);color:#ffd23f;font-size:18px;font-weight:600}.ry-rally .pstat.ac b{color:#ffd23f}.ry-rally .pstat small{color:#a9b4a6}.ry-rally .hint{color:#1e3a18}.ry-rally .hint .kbd{background:#fffc}.ry-rally .chip-btn{background:#ffffffd9}.ry-rally .chip-btn[aria-pressed=true]{color:#fff;background:#1e2a1c;border-color:#1e2a1c}.ry-rally .overlay{background:#f0f8e8d1}.ry-rally .up-next-item,.ry-rally .panel{background:var(--surface)}.ry-modes{flex-wrap:wrap;justify-content:center;gap:6px}.ry-rally .ry-restart{color:#1e3a18;min-height:32px;font:600 13px/1 var(--f-body);cursor:pointer;background:0 0;border:1.5px dashed #1e3a18;border-radius:999px;margin-left:8px;padding:5px 12px}.ry-rally .ry-restart:hover{background:#fff6}.ry-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"board board""left right";align-items:center;gap:10px;width:100%;margin:5px 0;display:grid}:where(.play-screen:not(.ry-rally)) .ry-board{aspect-ratio:800/450;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;grid-area:board;justify-self:center;width:min(100%,177.778dvh - 533.333px);min-width:min(100%,300px);position:relative;container-type:inline-size}:where(.ry-rally) .ry-board{box-sizing:border-box;aspect-ratio:800/450;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;grid-area:board;justify-self:center;width:min(100%,177.778dvh - 533.333px);min-width:min(100%,300px);position:relative;container-type:inline-size}:where(.ry-rally) .ry-board.ry-narrow{aspect-ratio:600/450;width:min(100%,133.333dvh - 440px)}:where(.play-screen:not(.ry-rally)) .ry-board canvas{background:var(--board);border:3px solid var(--ink);outline:1.5px solid var(--ink);outline-offset:3px;border-radius:4px;width:100%;height:100%;display:block}:where(.ry-rally) .ry-board canvas{box-sizing:border-box;background-color:#cdebf7;background-image:linear-gradient(#cdebf7,#cdebf7),repeating-linear-gradient(45deg,#d64545 0 12px,#fff 12px 24px);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:border-box;background-clip:padding-box,border-box;border:6px solid #0000;border-radius:6px;width:100%;height:100%;display:block;box-shadow:0 2px #1e3c1459,0 12px 24px -12px #00000080}.ry-pad{gap:8px;min-width:0;display:flex}.ry-left{grid-area:left;justify-content:flex-start}.ry-right{grid-area:right;justify-content:flex-end}.ry-rally .ry-btn{color:#f2f5ee;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:repeating-linear-gradient(0deg,#2a302a 0 5px,#1c211c 5px 8px);border:2px solid #0e120e;border-radius:10px;justify-content:center;min-width:60px;min-height:64px;padding-inline:10px;font-size:18px;box-shadow:0 4px #0e120e,inset 0 1px #ffffff1f}.ry-rally .ry-btn:active{transform:translateY(3px);box-shadow:0 1px #0e120e}.ry-rally .ry-btn.accent{color:#111611;background:repeating-linear-gradient(0deg,#b8bec4 0 5px,#8e959c 5px 8px);border-color:#4e555c;box-shadow:0 4px #4e555c,inset 0 1px #fff6}:where(.play-screen:not(.ry-rally)) .ry-left .ry-btn{font-size:26px}:where(.ry-rally) .ry-left .ry-btn{font-size:26px;border-radius:50%!important}.ry-right .ry-btn.accent{min-width:84px}@media (max-width:340px){.ry-rally .ry-btn{min-width:48px;padding-inline:6px;font-size:15px}.ry-right .ry-btn.accent{min-width:60px}}.ry-overlay{gap:10px;padding:16px}.ry-overlay p{max-width:46ch;margin:0;font-size:15px}:where(.ry-rally) .ry-overlay .big{color:#c62828}:where(.ry-rally) .ry-lights{background:#111611;border-radius:8px;gap:8px;padding:6px 10px;display:flex;box-shadow:0 3px #00000040}:where(.ry-rally) .ry-lights i{background:#e53935;border-radius:50%;width:18px;height:18px;box-shadow:0 0 8px #e53935b3}:where(.ry-rally) .ry-lights i:last-child{background:#43d16b;box-shadow:0 0 8px #43d16bb3}.ry-medal-line{font-family:var(--f-word);align-items:center;gap:8px;font-size:18px;display:inline-flex}.ry-result .big{font-size:clamp(30px,7vw,52px)}:where(.play-screen:not(.ry-rally)) .ry-medals{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:6px 14px;margin:6px auto 0;padding:0;font-size:13px;list-style:none;display:flex}:where(.ry-rally) .ry-medals{color:var(--ink);flex-wrap:wrap;justify-content:center;gap:8px;margin:8px auto 0;padding:0;font-size:13px;list-style:none;display:flex}:where(.play-screen:not(.ry-rally)) .ry-medals li{align-items:center;gap:6px;display:inline-flex}:where(.ry-rally) .ry-medals li{background:#ffffff8c;border-radius:999px;align-items:center;gap:7px;padding:4px 10px 4px 4px;display:inline-flex}.ry-medals li b{font-family:var(--f-mono);color:var(--ink);font-weight:600}:where(.ry-rally) .ry-medals li:not(.on) .ry-dot{filter:grayscale(.85)brightness(1.1);opacity:.55}:where(.play-screen:not(.ry-rally)) .ry-medals li.on{color:var(--ink)}:where(.ry-rally) .ry-medals li.on{background:#fff;box-shadow:0 2px #1e3c1440}.ry-medals li.on b{color:var(--good)}:where(.play-screen:not(.ry-rally)) .ry-dot{border:1.5px solid var(--ink);background:var(--line);border-radius:50%;width:12px;height:12px;display:inline-block}:where(.ry-rally) .ry-dot{background:#b0bec5;border:1.5px solid #00000059;border-radius:50%;width:12px;height:12px;display:inline-block}:where(.ry-rally) .ry-medals .ry-dot{width:22px;height:22px;box-shadow:inset 0 -3px #0000002e,inset 0 2px #ffffff80}:where(.play-screen:not(.ry-rally)) .ry-dot[data-m="0"]{background:var(--good)}:where(.ry-rally) .ry-dot[data-m="0"]{background:#43a047}:where(.play-screen:not(.ry-rally)) .ry-dot[data-m="1"]{background:var(--sun)}:where(.ry-rally) .ry-dot[data-m="1"]{background:#f2c230}:where(.play-screen:not(.ry-rally)) .ry-dot[data-m="2"]{background:var(--line)}:where(.ry-rally) .ry-dot[data-m="2"]{background:#c3cbd3}:where(.play-screen:not(.ry-rally)) .ry-dot[data-m="3"]{background:color-mix(in srgb, var(--sun) 50%, var(--bad))}:where(.ry-rally) .ry-dot[data-m="3"]{background:#c27a3a}:where(.play-screen:not(.ry-rally)) .ry-total{text-align:center;min-height:1.4em;font-size:12px;font-family:var(--f-mono);margin:4px 0 0}:where(.ry-rally) .ry-total{text-align:center;min-height:1.4em;font-size:12px;font-family:var(--f-mono);margin:4px 0 0;color:#1e3a18!important}@container (max-width:440px){.ry-overlay{gap:6px;padding:8px}.ry-overlay .big{font-size:28px}.ry-overlay p{font-size:13px}.ry-overlay small,.ry-story{display:none}:where(.ry-rally) .ry-lights i{width:12px;height:12px}}@media (max-width:760px){.ry-rally{padding-inline:12px}}@media (orientation:landscape) and (max-height:520px){.ry-stage{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"left board right";gap:8px}:where(.play-screen:not(.ry-rally)) .ry-board{width:min(100%,177.778dvh - 195.556px);min-width:0}:where(.ry-rally) .ry-board{width:min(100%,177.778dvh - 227.556px);min-width:0}.ry-pad{flex-direction:column}.ry-rally .ry-btn{min-width:64px;min-height:60px}.ry-right .ry-btn.accent{min-width:64px;min-height:84px}.ry-total,.ry-medals{display:none}.ry-rally{margin-block:4px;padding-block:0 4px}}:where(.play-screen:not(.ry-rally)) .ry-btn{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;justify-content:center;min-width:60px;min-height:64px;padding-inline:10px;font-size:18px}@media (max-width:340px){:where(.play-screen:not(.ry-rally)) .ry-btn{min-width:48px;padding-inline:6px;font-size:15px}}@media (orientation:landscape) and (max-height:520px){:where(.play-screen:not(.ry-rally)) .ry-btn{min-width:64px;min-height:60px}}@media (min-width:1024px) and (min-height:600px){.play-screen.desk-fit:has(.ry-stage){--desk-ratio:10}}@media (prefers-color-scheme:dark){:where(:root:not([data-theme=light])) .ry-rally{--ground:#13180a;--surface:#282828;--sunk:#181e0f;--ink:#e2f0e0;--muted:#a6b7a2;--line:#47513d;--accent:#fe968e;--accent-ink:#22100f;--sun:#eaa959;--good:#7fce7f;--bad:#fe968b;--info:#7bbdfe;--good-tint:#273c23;--bad-tint:#492d2a;--warn-tint:#413404;--info-tint:#283745;--shadow:0 1px 0 #0000004d, 0 8px 22px -10px #000000b3;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#192314;background-image:repeating-linear-gradient(90deg,#1f1f1f17 0 48px,#00000009 48px 96px);box-shadow:inset 0 0 0 1px #1e3c1433,0 18px 40px -24px #0009}:where(:root:not([data-theme=light])) .ry-rally .play-bar .title h1,:where(:root:not([data-theme=light])) .ry-rally .play-bar .backlink,:where(:root:not([data-theme=light])) .ry-rally .play-bar .title small{color:#d5ead1}:where(:root:not([data-theme=light])) .ry-rally .play-bar .howto-btn{background:#1f1f1fd9}:where(:root:not([data-theme=light])) .ry-rally .pstats{background:#111611;border:2px solid #b6c2b6}:where(:root:not([data-theme=light])) .ry-rally .pstat b,:where(:root:not([data-theme=light])) .ry-rally .pstat.ac b{color:#ffd23f}:where(:root:not([data-theme=light])) .ry-rally .pstat small{color:#b0bbad}:where(:root:not([data-theme=light])) .ry-rally .hint{color:#d5ead1}:where(:root:not([data-theme=light])) .ry-rally .hint .kbd{background:#1f1f1fcc}:where(:root:not([data-theme=light])) .ry-rally .chip-btn{background:#1f1f1fd9}:where(:root:not([data-theme=light])) .ry-rally .chip-btn[aria-pressed=true]{color:#fff;background:#1e2a1c;border-color:#b3c3b1}:where(:root:not([data-theme=light])) .ry-rally .overlay{background:#202519d1}:where(:root:not([data-theme=light])) .ry-rally .up-next-item,:where(:root:not([data-theme=light])) .ry-rally .panel{background:var(--surface)}:where(:root:not([data-theme=light])) .ry-rally .ry-restart{color:#d5ead1;background:0 0;border:1.5px dashed #b1c5ac}:where(:root:not([data-theme=light])) .ry-rally .ry-restart:hover{background:#1f1f1f66}:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-board canvas{background:var(--board);border:3px solid var(--ink);outline:1.5px solid var(--ink)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-board canvas{background-color:#132c36;background-image:linear-gradient(#132c36,#132c36),repeating-linear-gradient(45deg,#d64545 0 12px,#1f1f1f 12px 24px);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border:6px solid #0000}:where(:root:not([data-theme=light])) .ry-rally .ry-btn{color:#f2f5ee;background:repeating-linear-gradient(0deg,#2a302a 0 5px,#1c211c 5px 8px);border:2px solid #bac0ba}:where(:root:not([data-theme=light])) .ry-rally .ry-btn.accent{color:#e9f1e9;background:repeating-linear-gradient(0deg,#34393e 0 5px,#8e959c 5px 8px);border-color:#4e555c}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-overlay .big{color:#cdaba7}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-lights{background:#111611}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-lights i{background:#e53935}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-lights i:last-child{background:#2a442e}:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-medals{color:var(--muted)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-medals{color:var(--ink)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-medals li{background:#1f1f1f8c}:where(:root:not([data-theme=light])) .ry-medals li b,:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-medals li.on{color:var(--ink)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-medals li.on{background:#1f1f1f}:where(:root:not([data-theme=light])) .ry-medals li.on b{color:var(--good)}:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-dot{border:1.5px solid var(--ink);background:var(--line)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-dot{background:#2f3b41;border:1.5px solid #bebebe59}:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="0"]{background:var(--good)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-dot[data-m="0"]{background:#43a047}:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="1"]{background:var(--sun)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-dot[data-m="1"]{background:#3e3213}:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="2"]{background:var(--line)}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-dot[data-m="2"]{background:#2d343a}:where(:root:not([data-theme=light])) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="3"]{background:color-mix(in srgb, var(--sun) 50%, var(--bad))}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-dot[data-m="3"]{background:#c27a3a}:where(:root:not([data-theme=light])) :where(.ry-rally) .ry-total{color:#d5ead1!important}}:where(:root[data-theme=dark]) .ry-rally{--ground:#13180a;--surface:#282828;--sunk:#181e0f;--ink:#e2f0e0;--muted:#a6b7a2;--line:#47513d;--accent:#fe968e;--accent-ink:#22100f;--sun:#eaa959;--good:#7fce7f;--bad:#fe968b;--info:#7bbdfe;--good-tint:#273c23;--bad-tint:#492d2a;--warn-tint:#413404;--info-tint:#283745;--shadow:0 1px 0 #0000004d, 0 8px 22px -10px #000000b3;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#192314;background-image:repeating-linear-gradient(90deg,#1f1f1f17 0 48px,#00000009 48px 96px);box-shadow:inset 0 0 0 1px #1e3c1433,0 18px 40px -24px #0009}:where(:root[data-theme=dark]) .ry-rally .play-bar .title h1,:where(:root[data-theme=dark]) .ry-rally .play-bar .backlink,:where(:root[data-theme=dark]) .ry-rally .play-bar .title small{color:#d5ead1}:where(:root[data-theme=dark]) .ry-rally .play-bar .howto-btn{background:#1f1f1fd9}:where(:root[data-theme=dark]) .ry-rally .pstats{background:#111611;border:2px solid #b6c2b6}:where(:root[data-theme=dark]) .ry-rally .pstat b,:where(:root[data-theme=dark]) .ry-rally .pstat.ac b{color:#ffd23f}:where(:root[data-theme=dark]) .ry-rally .pstat small{color:#b0bbad}:where(:root[data-theme=dark]) .ry-rally .hint{color:#d5ead1}:where(:root[data-theme=dark]) .ry-rally .hint .kbd{background:#1f1f1fcc}:where(:root[data-theme=dark]) .ry-rally .chip-btn{background:#1f1f1fd9}:where(:root[data-theme=dark]) .ry-rally .chip-btn[aria-pressed=true]{color:#fff;background:#1e2a1c;border-color:#b3c3b1}:where(:root[data-theme=dark]) .ry-rally .overlay{background:#202519d1}:where(:root[data-theme=dark]) .ry-rally .up-next-item,:where(:root[data-theme=dark]) .ry-rally .panel{background:var(--surface)}:where(:root[data-theme=dark]) .ry-rally .ry-restart{color:#d5ead1;background:0 0;border:1.5px dashed #b1c5ac}:where(:root[data-theme=dark]) .ry-rally .ry-restart:hover{background:#1f1f1f66}:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-board canvas{background:var(--board);border:3px solid var(--ink);outline:1.5px solid var(--ink)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-board canvas{background-color:#132c36;background-image:linear-gradient(#132c36,#132c36),repeating-linear-gradient(45deg,#d64545 0 12px,#1f1f1f 12px 24px);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border:6px solid #0000}:where(:root[data-theme=dark]) .ry-rally .ry-btn{color:#f2f5ee;background:repeating-linear-gradient(0deg,#2a302a 0 5px,#1c211c 5px 8px);border:2px solid #bac0ba}:where(:root[data-theme=dark]) .ry-rally .ry-btn.accent{color:#e9f1e9;background:repeating-linear-gradient(0deg,#34393e 0 5px,#8e959c 5px 8px);border-color:#4e555c}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-overlay .big{color:#cdaba7}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-lights{background:#111611}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-lights i{background:#e53935}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-lights i:last-child{background:#2a442e}:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-medals{color:var(--muted)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-medals{color:var(--ink)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-medals li{background:#1f1f1f8c}:where(:root[data-theme=dark]) .ry-medals li b,:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-medals li.on{color:var(--ink)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-medals li.on{background:#1f1f1f}:where(:root[data-theme=dark]) .ry-medals li.on b{color:var(--good)}:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-dot{border:1.5px solid var(--ink);background:var(--line)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-dot{background:#2f3b41;border:1.5px solid #bebebe59}:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="0"]{background:var(--good)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-dot[data-m="0"]{background:#43a047}:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="1"]{background:var(--sun)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-dot[data-m="1"]{background:#3e3213}:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="2"]{background:var(--line)}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-dot[data-m="2"]{background:#2d343a}:where(:root[data-theme=dark]) :where(.play-screen:not(.ry-rally)) .ry-dot[data-m="3"]{background:color-mix(in srgb, var(--sun) 50%, var(--bad))}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-dot[data-m="3"]{background:#c27a3a}:where(:root[data-theme=dark]) :where(.ry-rally) .ry-total{color:#d5ead1!important}
