.cira-shell{--cr-board-top: #26372a;--cr-board-bottom: #111f17;--cr-frame: #9f824b88;--cr-frame-inner: #e3d3ab25;--cr-board-glow: #61967209;--cr-ambient: #36503b20;--cr-housing-line: #a4824530;--cr-plate: #2a382d;--cr-plate-line: #a48a5266;--cr-plate-lit: #34513f;--cr-plate-lit-line: #8bb79088;--cr-plate-active: #4d5b41;--cr-plate-hint: #f5d991;--cr-rivet: #c9ad72;--cr-cap: butt;--cr-trench: #080f0a;--cr-rail: #997b47;--cr-wire: #182119;--cr-energy: #c8b077;--cr-rail-lit: #448575;--cr-wire-lit: #7ad7b8;--cr-energy-lit: #e4faca;--cr-glow: #87f2bb;--cr-port-bg: #1d2114;--cr-port-line: #b4915299;--cr-port-ink: #e6c77e;--cr-port-halo: #e8b65b15;--cr-source-ink: #ffe699;--cr-source-halo: #f5d48859;--cr-target-lit-ink: #eff7b0;--cr-target-lit-bg: #51613a;--cr-target-lit-halo: #dbea7b66;--cr-win-glow: #dbea7b99}[data-cr-theme=jungle]{--cr-board-top: #22351f;--cr-board-bottom: #0a160c;--cr-frame: #7d9b4f88;--cr-frame-inner: #cfe0a022;--cr-board-glow: #9ad06a0d;--cr-ambient: #3f6b3522;--cr-housing-line: #86a35a33;--cr-plate: #23311e;--cr-plate-line: #7b9a4f55;--cr-plate-lit: #33492a;--cr-plate-lit-line: #a3c46e88;--cr-plate-active: #445c32;--cr-plate-hint: #f2e79a;--cr-rivet: #9fbb6e;--cr-cap: round;--cr-trench: #050b04;--cr-rail: #6a8038;--cr-wire: #16210e;--cr-energy: #93a35c;--cr-rail-lit: #7fa33c;--cr-wire-lit: #cfe273;--cr-energy-lit: #fffce2;--cr-glow: #f0e07a;--cr-port-bg: #1a2213;--cr-port-line: #8ba55699;--cr-port-ink: #cfe08a;--cr-port-halo: #a8d46a18;--cr-source-ink: #ffeea6;--cr-source-halo: #ffe98a55;--cr-target-lit-ink: #fff8c0;--cr-target-lit-bg: #4d5f2a;--cr-target-lit-halo: #f2e27a66;--cr-win-glow: #f2e27a99}[data-cr-theme=karez]{--cr-board-top: #4a3928;--cr-board-bottom: #241a11;--cr-frame: #c19a5f88;--cr-frame-inner: #f0dcb428;--cr-board-glow: #6fc3e80f;--cr-ambient: #8a663a22;--cr-housing-line: #c39c6033;--cr-plate: #3c3123;--cr-plate-line: #c2a06855;--cr-plate-lit: #3a4440;--cr-plate-lit-line: #8fb9c988;--cr-plate-active: #574734;--cr-plate-hint: #f5d991;--cr-rivet: #dbb87c;--cr-cap: butt;--cr-trench: #150d06;--cr-rail: #8f7248;--cr-wire: #241a0e;--cr-energy: #b08f5c;--cr-rail-lit: #5c8296;--cr-wire-lit: #6cc6ea;--cr-energy-lit: #eafaff;--cr-glow: #7fd8ff;--cr-port-bg: #251a10;--cr-port-line: #c49f6699;--cr-port-ink: #e9c88a;--cr-port-halo: #e8b65b18;--cr-source-ink: #bfe9ff;--cr-source-halo: #7fd8ff4d;--cr-target-lit-ink: #dff6c8;--cr-target-lit-bg: #3d5a3a;--cr-target-lit-halo: #8fe0a866;--cr-win-glow: #7fd8ff99}.cr-live{position:fixed;inset:0 auto auto 0;margin:0}.cr-game{width:min(100%,580px);min-height:100svh;margin:auto;padding:max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));display:grid;grid-template-rows:48px auto 1fr auto auto auto;gap:14px;align-content:center}.cr-header{display:flex;align-items:center;gap:8px;min-width:0}.cr-brand{display:flex;align-items:center;gap:9px;margin-inline-end:auto;color:var(--yk-ink);text-decoration:none;font-size:1.3rem}.cr-brand svg{width:30px;height:30px}.cr-header .yk-all-games-link{width:44px;min-width:44px;height:44px;padding:0;justify-content:center}.cr-header .yk-all-games-link>span{display:none}.cr-header .yk-all-games-icon{margin:0}.cr-header .ng-game-menu-button{width:44px;height:44px}.cr-info{text-align:center;padding:6px 0 0}.cr-eyebrow{margin:0 0 8px;color:var(--yk-brass);font:600 .66rem var(--yk-sans);letter-spacing:.22em;text-transform:uppercase}.cr-title{margin:0;font-size:clamp(2rem,8vw,3rem);font-weight:400;line-height:1.1;color:#f3e1b8}.cr-subtitle{margin:10px 0 0;font-size:.85rem;color:var(--yk-soft)}.cr-stage{align-self:center;width:min(100%,440px);justify-self:center;min-width:0}.cr-housing{position:relative;isolation:isolate;padding:20px;background:radial-gradient(ellipse at 50% 40%,var(--cr-ambient),transparent 72%);direction:ltr}.cr-housing:before{content:"";position:absolute;inset:2px;border:1px solid var(--cr-housing-line);border-radius:28px;pointer-events:none}.cr-board{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px;background:linear-gradient(140deg,var(--cr-board-top),var(--cr-board-bottom));border:1px solid var(--cr-frame);border-radius:18px;box-shadow:inset 0 1px 0 var(--cr-frame-inner),0 18px 35px #0006,0 0 50px var(--cr-board-glow)}.cr-tile{position:relative;aspect-ratio:1;min-width:0;padding:0;color:var(--cr-port-ink);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.cr-tile svg{display:block;width:100%;height:100%}.cr-rivet{fill:var(--cr-rivet);opacity:.65}.cr-conduit{transform-origin:50% 50%;fill:none;stroke-linecap:var(--cr-cap)}.cr-effects .cr-conduit{transition:transform .17s ease-out}.cr-trench{stroke:var(--cr-trench);stroke-width:19}.cr-rail{stroke:var(--cr-rail);stroke-width:13}.cr-wire{stroke:var(--cr-wire);stroke-width:8}.cr-energy{stroke:var(--cr-energy);stroke-width:2}.is-lit .cr-rail{stroke:var(--cr-rail-lit)}.is-lit .cr-wire{stroke:var(--cr-wire-lit);stroke-width:10}.is-lit .cr-energy{stroke:var(--cr-energy-lit);stroke-width:3;filter:drop-shadow(0 0 3px var(--cr-glow))}.cr-lit-mark{position:absolute;right:5px;top:3px;font:7px sans-serif;color:#e1f8c2;opacity:0;pointer-events:none}.is-lit .cr-lit-mark{opacity:1}.cr-tile.is-hint{outline:2px dashed var(--cr-plate-hint);outline-offset:2px}.cr-tile:disabled{cursor:default}.cr-source,.cr-target{position:absolute;display:grid;place-items:center;width:31px;height:36px;border:1px solid var(--cr-port-line);border-radius:13px;color:var(--cr-port-ink);background:var(--cr-port-bg);z-index:2;box-shadow:0 0 16px var(--cr-port-halo)}.cr-source{left:2px;font-size:1.65rem;color:var(--cr-source-ink);box-shadow:0 0 20px var(--cr-source-halo)}.cr-target{right:2px}.cr-target svg{width:23px;height:27px}.cr-source svg{width:21px;height:24px}.cr-target.is-lit{color:var(--cr-target-lit-ink);background:var(--cr-target-lit-bg);box-shadow:0 0 28px var(--cr-target-lit-halo)}.cr-legend{display:flex;justify-content:space-between;gap:10px;padding:8px 6px 0;color:#bea775;font-size:.65rem}.cr-status{text-align:center;min-height:65px}.cr-message{margin:0;font-size:1.35rem;font-weight:400;color:#e7d5ad}.cr-detail{margin:7px auto 0;max-width:340px;color:#b9a581;font-size:.82rem;line-height:1.5}.cr-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cr-tools button{padding:10px 12px;min-height:50px;font-size:.92rem;touch-action:manipulation}.cr-undo:disabled{opacity:.38;cursor:default}.cr-footer{display:flex;justify-content:space-between;gap:16px;align-items:start;color:#b59f75;font-size:.65rem;line-height:1.4}.cr-save{max-width:65%;text-align:end}.cr-menu-records{display:flex;justify-content:center;align-items:center;gap:9px;font-size:.78rem;color:#bea478}.cr-menu-records svg{width:21px;height:24px}.cr-rules{padding-inline-start:24px;line-height:1.8}.cr-rules li+li{margin-top:16px}.cira-shell .yk-menu-art>svg{filter:drop-shadow(0 20px 30px #0006)}.cr-won .cr-message{color:#d4e9ac}.cr-effects.cr-won .cr-target{animation:cira-glow 1.4s ease-in-out 2}@keyframes cira-glow{50%{box-shadow:0 0 48px var(--cr-win-glow)}}html[lang=ckb] .cr-eyebrow{letter-spacing:0;text-transform:none}html[lang=ckb] .cr-title{font-size:2.25rem}html[lang=ckb] .cr-detail{line-height:1.8}@media(max-width:360px),(max-height:740px)and (orientation:portrait){.cr-game{gap:9px;padding-inline:12px}.cr-info{padding:0}.cr-eyebrow{margin-bottom:5px}.cr-tools button{min-height:46px;font-size:.8rem;line-height:1.5;padding:8px}.cr-housing{padding:18px}.cr-board{padding:8px}.cr-legend{font-size:.6rem;padding-top:4px}}@media(min-width:600px)and (max-height:540px){.cr-game{width:min(100%,980px);height:100svh;min-height:350px;grid-template-columns:minmax(240px,1fr) minmax(300px,1.2fr);grid-template-rows:44px auto auto auto auto;gap:7px 20px;direction:ltr}.cr-header{grid-column:1;grid-row:1}.cr-info{grid-column:1;grid-row:2}.cr-stage{grid-column:2;grid-row:1/-1;width:min(100%,calc(100svh - 24px));align-self:center}.cr-status{grid-column:1;grid-row:3;min-height:0}.cr-tools{grid-column:1;grid-row:4}.cr-footer{grid-column:1;grid-row:5}.cr-subtitle,.cr-legend{display:none}.cr-title{font-size:1.9rem}.cr-eyebrow{margin-bottom:5px}.cr-tools button{font-size:.8rem;min-height:44px;padding:7px}.cr-housing{padding:18px}html[lang=ckb] .cr-game>:not(.cr-stage){direction:rtl}}@media(prefers-reduced-motion:reduce){.cr-effects .cr-conduit,.cr-effects.cr-won .cr-target{animation:none;transition:none}}.cira-is-playing>.yk-language-toggle{display:none}.cr-board{gap:0}.cr-tile,.cr-tile.is-lit{border:0;border-radius:0;background:transparent;box-shadow:none}.cr-tile svg{overflow:visible;border-radius:0}.cr-plate{fill:var(--cr-plate);stroke:var(--cr-plate-line);stroke-width:1}.is-lit .cr-plate{fill:var(--cr-plate-lit);stroke:var(--cr-plate-lit-line)}.cr-tile:active .cr-plate{fill:var(--cr-plate-active)}.cr-tile.is-hint{outline:0}.cr-tile.is-hint .cr-plate{stroke:var(--cr-plate-hint);stroke-width:3}.cr-source,.cr-target{pointer-events:none}.cr-legend{direction:ltr}.cr-legend span{unicode-bidi:plaintext}.cr-tools:has(.cr-next)>*{grid-column:auto}.cr-tools:has(.cr-next){grid-template-columns:1.3fr 1fr}@media(max-width:360px),(max-height:740px)and (orientation:portrait){.cr-game{align-content:start;grid-template-rows:44px auto 1fr auto auto auto}.cr-subtitle{display:none}.cr-title,html[lang=ckb] .cr-title{font-size:1.65rem}.cr-eyebrow{font-size:.6rem}.cr-status{min-height:44px}.cr-detail{margin-top:4px;font-size:.7rem;line-height:1.4}.cr-message{font-size:1.1rem}.cr-board{gap:0}.cr-footer{font-size:.6rem}}@media(min-width:600px)and (max-height:540px){html[lang=ckb] .cr-title{font-size:1.65rem}.cr-detail{font-size:.72rem;line-height:1.4}}.cr-tile .cr-source{left:-24px;top:50%;transform:translateY(-50%)}.cr-tile .cr-target{right:-24px;top:50%;transform:translateY(-50%)}.cr-lit-mark{display:none}@media(forced-colors:active){.cr-plate{fill:Canvas;stroke:CanvasText;stroke-width:2}.is-lit .cr-plate{stroke:Highlight;stroke-width:3}.cr-energy{stroke:CanvasText}.is-lit .cr-energy{stroke:Highlight}.cr-lit-mark{display:block;color:Highlight}}.cira-shell .yk-menu:has(.cr-menu-records) .yk-menu-art{block-size:clamp(110px,18vh,190px)}.cr-difficulty .yk-menu-btn-hint{white-space:pre-line;line-height:1.5}.cr-difficulty .yk-menu-nav{inline-size:min(100%,380px)}.cr-difficulty .yk-menu-btn{padding-inline:14px}
