/* Original illustrated Codenames board; isolated from the Wave game. */
.art-cards .art-agent{position:relative;padding:0;overflow:hidden;min-height:90px}.art-agent .agent-portrait{position:absolute;inset:0;width:100%;height:100%}
.sl-app.is-code-game{max-width:1280px;padding:0 30px}.is-code-game .topbar{height:70px}.is-code-game .brand>span{font-size:1.7rem}.is-code-game .brand img{width:36px;height:36px}
.code-main{max-width:1120px;margin:auto;padding-bottom:24px}.code-meta{display:flex;align-items:center;gap:14px;padding:14px 2px;color:#b8c9be;font-size:.82rem}.code-meta h1{font-size:1.22rem;color:#f6f1e5}.code-meta h1 span{color:#f1cf70;margin-right:8px;font-size:.9rem}.code-meta .text-btn{margin-right:auto;font-size:.78rem;padding:0}
.code-scoreboard{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.code-squad{--squad:#ee8b81;border:1px solid #ee8b8138;background:linear-gradient(115deg,#ee8b810c,#ee8b811b);border-radius:15px;overflow:hidden}.code-squad.blue{--squad:#82bedf;border-color:#82bedf38;background:linear-gradient(115deg,#82bedf0b,#82bedf1b)}.code-squad.active{border-color:var(--squad);box-shadow:inset 0 0 0 1px #ffffff18}
.squad-summary{display:flex;align-items:center;width:100%;gap:14px;padding:10px 16px;background:none;color:var(--cream);text-align:right;min-height:62px}.squad-title{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;white-space:nowrap}.squad-title>i{grid-row:span 2;align-self:center;font-style:normal;color:var(--squad);font-size:1rem}.squad-title b{font-size:.92rem}.squad-title small{font-size:.72rem;color:#c1cec2;font-weight:400}.squad-avatars{display:flex;align-items:center;gap:5px;margin-right:auto}.squad-avatars>span{position:relative;display:block}.squad-avatars .avatar{width:34px;height:34px;border-radius:12px;border:2px solid #213c37}.squad-avatars i{position:absolute;bottom:-2px;left:-2px;width:14px;height:14px;line-height:14px;background:#f1cf70;color:#233d34;border-radius:50%;text-align:center;font-style:normal;font-size:12px}.squad-count{display:flex;align-items:center;gap:8px;border-right:1px solid #ffffff24;padding-right:14px}.squad-count strong{font:700 2rem Arial;line-height:1;color:var(--squad);display:inline-block}.squad-count small{color:#cbd7c8;font-size:.72rem;font-weight:400}
.squad-members{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #ffffff16;padding:13px 15px}.squad-members>div{display:flex;align-items:center;gap:7px}.squad-members .avatar{width:28px;height:28px}.squad-members b{display:block;font-size:.82rem}.squad-members small{display:block;font-size:.7rem;color:#b3c9ba;margin-top:3px}.squad-members>div>svg{width:16px;height:16px;color:#f1cf70}.count-bump{animation:count-pop .4s ease-out}
.code-play{width:100%;padding:0;background:transparent;border:0;border-radius:0;min-width:0}.code-role{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:2px 2px 10px;border:0;min-height:31px}.code-role>b{font-size:.82rem;color:#dfd6a6}.code-role>span{margin-right:auto;font-size:.78rem;color:#b9cbbc}.code-clock{padding:4px 9px;min-width:37px;margin:0;font:700 1rem Arial;background:#f1cf70;color:#203c35;border-radius:8px}.code-controls{padding:13px 18px;margin-bottom:8px;background:#f3efd309;border:1px solid #f3efd31a;border-radius:13px;min-height:0}.code-instruction{font-size:.82rem;color:#c6d4c7;line-height:1.6;padding:3px 2px 11px;min-height:36px}
.code-wait{display:flex;justify-content:center;align-items:center;gap:18px;text-align:right;padding:0;min-height:54px}.code-wait b{display:block;margin:0;font-size:1.03rem}.code-wait p{font-size:.82rem;line-height:1.5;margin-top:6px;color:#b7cbb9}.code-wait .waiting-dots{display:flex;margin:0}.code-clue-form>label{display:block;font-size:.94rem;margin:0 0 7px;font-weight:700}.code-clue-form>div{display:flex;align-items:end;gap:9px;flex-wrap:nowrap}.code-clue-form input{min-height:44px;font-size:1rem;min-width:0;width:100%;flex:1;padding:10px 13px}.code-count-label{display:flex;flex-direction:column;font-size:.72rem;min-width:78px;gap:3px;color:#c9d8c4}.code-count-label select{min-height:44px;padding:8px 12px;font:700 1rem Tajawal;background:#fff6de;color:#213c32;border:1px solid #dcded2;border-radius:10px}.code-clue-form .btn{flex-basis:auto;min-height:44px;padding:10px 18px;font-size:.86rem;white-space:nowrap}.code-clue-form>small{display:block;font-size:.75rem;margin-top:7px;color:#bdcebe;line-height:1.5}
.code-clue-live{display:flex;align-items:center;gap:25px;text-align:right;min-height:52px}.code-clue-live>div{margin:0;display:block}.clue-source span{font-size:.8rem;color:#c1d1c0}.clue-source small{display:block;font-size:.72rem;color:#a9c1ac;margin-top:5px}.code-clue-live .clue-content{display:flex;gap:13px;align-items:center}.clue-content h2{font-size:1.75rem;line-height:1.25;color:#fbf0cc}.code-clue-live .clue-content>b{min-width:42px;text-align:center;padding:8px 12px;border-radius:10px;background:#f1cf70;color:#213b33;font:700 1.35rem Arial}.clue-chances{margin-right:auto!important}.code-clue-live .clue-chances>b{background:none;padding:0;font:700 .86rem Tajawal;color:#e1e7d0}.clue-chances small{display:block;font-size:.72rem;color:#b8ccbb;margin-top:6px}.code-end-turn{color:#dce4cd;border:1px solid #ced8b635;border-radius:9px;min-height:42px;padding:9px 14px;background:transparent;font-size:.82rem}.code-end-turn:hover:not(:disabled){background:#ffffff0d}
.code-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;padding-bottom:5px;isolation:isolate}.code-card{--card-paper:#f1ead7;--card-ink:#233e38;position:relative;display:block;height:clamp(88px,10.4dvh,116px);min-height:0;padding:0;background:var(--card-paper);color:var(--card-ink);border:1px solid #f6ecd2b5;border-radius:11px;box-shadow:0 4px 0 #10231e,0 6px 12px #07171430;perspective:650px;text-align:center;overflow-wrap:normal;transition:transform .18s,box-shadow .18s,border-color .18s;z-index:0}
.code-face{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;border:0;border-radius:inherit;padding:13px 7px;background:transparent;color:inherit;perspective:650px;isolation:isolate;touch-action:manipulation}.code-face:disabled{opacity:1;cursor:default}.code-face:active:not(:disabled){transform:none}.code-face:focus-visible{outline-offset:3px}.code-card:has(.code-face:not(:disabled):hover){box-shadow:0 5px 0 #10231e,0 8px 20px #07171450}.code-card.covered:has(.code-face:not(:disabled):hover){transform:translateY(-2px);border-color:#fff5d8}
.card-paper{position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(#29473a12 .6px,transparent .8px) 0 0/5px 5px,linear-gradient(155deg,#ffffff30,transparent 60%);box-shadow:inset 0 0 0 4px #ffffff20;pointer-events:none}.card-brand{position:absolute;top:9px;font-size:.54rem;letter-spacing:.12em;line-height:1;opacity:.28;font-weight:700;pointer-events:none}.code-card .code-word{font-weight:700;font-size:clamp(.95rem,1.55vw,1.24rem);line-height:1.25;max-width:100%;text-wrap:balance;overflow-wrap:anywhere;transition:transform .2s;position:relative;z-index:1}.code-card .code-word.long-word{font-size:clamp(.85rem,1.35vw,1.08rem)}.card-status{position:absolute;bottom:8px;left:4px;right:4px;line-height:1;font-size:.67rem;opacity:.65}.covered .card-status{font-size:.55rem;letter-spacing:4px;opacity:.3}
.code-card.color-red{--card-paper:#df8c7a;--card-ink:#512b2a;border-color:#efbaa6}.code-card.color-blue{--card-paper:#91b9cf;--card-ink:#203e50;border-color:#bbd9e7}.code-card.color-neutral{--card-paper:#d7c8a6;--card-ink:#514c38;border-color:#e4d7b9}.code-card.color-assassin{--card-paper:#253b40;--card-ink:#faf0d8;border-color:#758d90}.code-card.opened{border-style:solid;border-width:1px;box-shadow:0 3px 0 #10231e;background:var(--card-paper)}.code-card.opened:after{display:none}.code-card.opened .code-word{opacity:1}
.code-cover{position:absolute;inset:0;z-index:3;display:block;border-radius:10px;background:var(--card-paper);transform-origin:50% 0%;transform:rotateX(0);transition:transform .42s cubic-bezier(.22,.74,.2,1),box-shadow .42s;backface-visibility:hidden;box-shadow:inset 0 0 0 1px #ffffff60,0 2px 2px #0b251d66;pointer-events:none;overflow:hidden}.agent-portrait{display:block;width:100%;height:100%}.code-cover .agent-portrait{width:100%;height:100%}.cover-badge{position:absolute;bottom:6px;right:6px;display:flex;gap:4px;align-items:center;background:#152e31d9;color:#f6edd3;border:1px solid #f5e8cb38;border-radius:6px;padding:3px 5px;font-size:.62rem;line-height:1.1;font-weight:700}.cover-corner{position:absolute;left:0;bottom:0;background:#f2e5c7;clip-path:polygon(0 0,100% 100%,0 100%);color:#395149;width:24px;height:24px;font-family:Arial;text-align:left;padding:8px 0 0 4px;font-size:12px}.code-card.is-peeking{z-index:5}.is-peeking .code-cover{transform:translateY(-29%) rotateX(61deg);box-shadow:0 13px 15px #091f2055}.is-peeking .cover-corner{opacity:0}.just-revealed .code-cover{animation:agent-arrives .55s cubic-bezier(.22,.74,.2,1)}.just-revealed{z-index:4}
.code-card.nominated{--nom:#d85b59;border-color:var(--nom);box-shadow:0 0 0 2px var(--nom),0 5px 0 #10231e;transform:translateY(-2px);z-index:2}.code-card.nom-blue{--nom:#5ca9d0}.code-nominations{position:absolute;top:4px;right:5px;left:5px;display:flex;justify-content:center;gap:5px;pointer-events:none;z-index:2}.nomination-person{display:inline-flex;align-items:center;gap:3px;max-width:49%;color:#203b31}.nomination-person .avatar{width:22px;height:22px;border:2px solid var(--nom);border-radius:8px;box-shadow:0 1px 2px #17332a33;flex-shrink:0}.nomination-person small{font-size:.62rem;line-height:1.1;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.code-card.nominated .card-brand{display:none}.code-card.nominated .code-word{transform:translateY(5px)}.code-card.my-nomination .code-word{transform:translateY(-4px)}.code-card.my-nomination .card-status{display:none}.code-confirm{position:absolute;bottom:4px;left:4px;right:4px;z-index:4;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #152c2a40;border-radius:7px;background:#244b40;color:#fff8df;box-shadow:0 2px 0 #122f25;min-height:30px;padding:4px 7px;font-size:max(14px,.83rem);line-height:1.1;animation:confirm-in .2s ease-out}.code-confirm svg{width:17px;height:17px}.code-confirm:hover{background:#193e33}
.code-board-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}.code-feedback{font-size:.8rem;text-align:right;color:#d0dec8;min-height:0;padding:0;line-height:1.6}.code-legend{display:flex;justify-content:center;flex-wrap:wrap;color:#aabdab;margin:0;font-size:.73rem;gap:13px}.legend-red{color:#eea092}.legend-blue{color:#97c8e6}.code-victory{display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:right;padding:0}.code-victory h2{font-size:1.6rem;color:#f1cf70;margin:6px 0}.code-victory span{font-size:.78rem;color:#cad8bc}.code-victory p{font-size:.82rem;color:#c4d4c1}.code-victory .btn{margin:0;white-space:nowrap}.code-victory small{font-size:.8rem;line-height:1.5}
@keyframes agent-arrives{0%{transform:translateY(-12px) rotateX(72deg) scale(.95);opacity:0}35%{opacity:1}75%{transform:translateY(0) rotateX(-5deg) scale(1.015)}100%{transform:rotateX(0) scale(1)}}@keyframes count-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.27);color:#fbe4a0}}@keyframes confirm-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px) and (max-height:800px){.is-code-game .topbar{height:65px}.code-meta{padding:10px 2px}.squad-summary{min-height:55px;padding:7px 14px}.code-scoreboard{margin-bottom:8px}.code-controls{padding:10px 16px}.code-card{height:82px}.code-instruction{font-size:.78rem;padding-bottom:9px;min-height:30px}.code-grid{gap:10px}.code-board-footer{margin-top:10px}.code-clue-live{min-height:43px}.code-card .code-word{font-size:1.13rem}.code-card .code-word.long-word{font-size:1rem}.code-card.my-nomination .code-word{transform:translateY(-3px);font-size:.95rem}.code-nominations{top:3px}.nomination-person .avatar{width:19px;height:19px}}
@media(max-width:760px){
.sl-app.is-code-game{padding:0 12px}.is-code-game .topbar{height:74px;gap:8px}.is-code-game .brand{gap:6px}.is-code-game .brand>span{font-size:1.38rem}.is-code-game .brand img{width:29px;height:29px}.is-code-game .brand small{font-size:.57rem}.is-code-game .top-actions{gap:6px}.is-code-game .icon-btn{width:31px;height:31px}.is-code-game .icon-btn svg{width:18px;height:18px}.is-code-game .connection{display:none}.is-code-game .room-code{padding:6px 8px;gap:4px;min-width:0}.is-code-game .room-code>b{font-size:.86rem}.is-code-game .room-code>span{font-size:.58rem}.is-code-game .room-code>svg{width:16px;height:16px}
.code-meta{padding:12px 2px 11px;gap:9px}.code-meta h1{font-size:1.08rem}.code-meta>span{font-size:.75rem}.code-meta .text-btn{font-size:.72rem}.code-scoreboard{gap:8px;margin-bottom:10px}.code-squad{border-radius:12px}.squad-summary{gap:7px;padding:8px 9px;min-height:62px;flex-wrap:nowrap}.squad-title{gap:3px 5px}.squad-title>b{font-size:max(14px,.83rem)}.squad-title>i{font-size:.72rem}.squad-title>small{font-size:.65rem}.squad-avatars{display:none}.squad-count{margin-right:auto;gap:3px;padding-right:6px;flex-direction:column}.squad-count strong{font-size:1.6rem}.squad-count small{font-size:.6rem}.squad-members{padding:10px;gap:9px}.squad-members>div{gap:5px}.squad-members b{font-size:.78rem}.squad-members small{font-size:.65rem}.squad-members .avatar{width:25px;height:25px}
.code-play{padding:0;border:0;background:none;border-radius:0}.code-role{padding:0 2px 9px;gap:5px;min-height:28px}.code-role>b{font-size:.73rem}.code-role>span{font-size:.65rem;display:block}.code-clock{font-size:.85rem;padding:3px 6px;min-width:30px}
.code-controls{padding:11px 12px;border-radius:11px;min-height:0;margin-bottom:7px}.code-clue-live{display:grid;grid-template-columns:1fr auto;gap:7px 10px;min-height:0;align-items:center}.code-clue-live .clue-source{grid-column:1;grid-row:1}.clue-source span{font-size:.75rem}.clue-source small{display:none}.code-clue-live .clue-content{grid-column:1;grid-row:2;gap:9px}.clue-content h2{font-size:1.45rem}.code-clue-live .clue-content>b{font-size:1rem;padding:5px 10px;border-radius:7px;min-width:31px}.code-clue-live .clue-chances{grid-column:2;grid-row:1;align-self:end}.code-clue-live .clue-chances>b{font-size:.73rem}.clue-chances small{display:none}.code-end-turn{grid-column:2;grid-row:2;min-height:35px;padding:7px 10px;font-size:.74rem}
.code-wait{min-height:50px;padding:0;gap:12px}.code-wait b{font-size:.9rem}.code-wait p{font-size:.75rem;margin-top:5px;line-height:1.5}.code-wait .waiting-dots{gap:4px}.code-wait .waiting-dots i{width:5px;height:5px}.code-clue-form>label{font-size:.85rem;line-height:1.5;margin-bottom:8px}.code-clue-form>div{display:grid;grid-template-columns:1fr 60px;gap:7px}.code-clue-form input{min-height:43px;font-size:.88rem;grid-column:1;align-self:end}.code-count-label{grid-column:2;min-width:0;font-size:.62rem;gap:3px}.code-count-label select{min-height:43px;padding:9px}.code-clue-form .btn{grid-column:1/-1;min-height:40px;font-size:.85rem;padding:9px 12px}.code-clue-form>small{font-size:.69rem;margin-top:7px}
.code-instruction{font-size:.75rem;line-height:1.6;min-height:0;padding:1px 2px 12px}.code-grid{gap:8px 6px;padding-bottom:5px}.code-card{height:118px;min-height:0;padding:0;border-radius:8px;border-width:1px}.code-face{padding:12px 3px}.code-card .code-word{font-size:.91rem;line-height:1.25}.code-card .code-word.long-word{font-size:max(14px,.83rem);line-height:1.2}.card-brand{font-size:.45rem;top:8px;letter-spacing:.04em}.card-status{font-size:.6rem;bottom:7px}.covered .card-status{font-size:.45rem}.code-cover{border-radius:7px}.cover-badge{bottom:4px;right:4px;font-size:.58rem;padding:3px;min-width:17px;justify-content:center}.cover-badge>span{display:none}.cover-corner{width:20px;height:20px;font-size:10px;padding:6px 0 0 3px}.code-card.nominated{transform:translateY(-1px);box-shadow:0 0 0 1.5px var(--nom),0 4px 0 #10231e}.code-nominations{top:4px;right:2px;left:2px;gap:2px}.nomination-person{max-width:50%}.nomination-person .avatar{width:20px;height:20px;min-width:0;flex-shrink:1}.nomination-person small{display:none}.code-card.nominated .code-word{transform:translateY(7px)}.code-card.my-nomination .code-word{transform:translateY(-4px);font-size:max(14px,.83rem);line-height:1.05}.code-card.my-nomination .code-word.long-word{font-size:max(14px,.83rem);line-height:1.05}.code-confirm{left:2px;right:2px;bottom:3px;gap:2px;min-height:32px;padding:5px 2px;font-size:.76rem;border-radius:5px}.code-confirm svg{width:13px;height:13px}
.code-board-footer{display:block;margin-top:10px}.code-feedback{font-size:.76rem;line-height:1.7;text-align:center;padding:0;min-height:0}.code-legend{font-size:.7rem;gap:12px;margin-top:9px}.code-victory{gap:8px;flex-wrap:wrap}.code-victory h2{font-size:1.3rem}.code-victory span{font-size:.7rem}.code-victory p{font-size:.75rem}.code-victory .btn{font-size:.8rem;min-height:40px;padding:10px 14px}.code-victory small{font-size:.75rem}
}
@media(max-width:380px){.sl-app.is-code-game{padding:0 9px}.is-code-game .room-code{padding:5px 6px}.code-grid{gap:7px 5px}.code-card{height:132px}.code-card .code-word{font-size:max(14px,.85rem)}.code-card .code-word.long-word{font-size:max(14px,.83rem)}.squad-summary{padding:8px 6px;gap:4px}.squad-title>b{font-size:.76rem}.squad-count strong{font-size:1.45rem}.code-role>span{font-size:.6rem}.code-card.my-nomination .code-word{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.code-card,.code-cover,.code-word,.code-confirm{animation:none!important;transition:none!important}.count-bump{animation:none!important}.just-revealed .code-cover{animation:none!important}.is-peeking .code-cover{transform:translateY(-68%)}}

/* Team identities stay visible; past clues fit in a compact, scrollable drawer. */
.squad-summary{cursor:default;min-height:55px}.squad-count{margin-right:auto}.squad-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 13px;background:#071b1214}.squad-members>div{min-width:0}.squad-members>div>span:last-child{min-width:0}.squad-members b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.79rem;line-height:1.3}.squad-members small{font-size:.68rem;line-height:1.2}.squad-master small{color:#f2d287}.squad-member-avatar{position:relative;display:flex;flex:none}.squad-member-avatar .online-dot{width:7px;height:7px;bottom:0;right:-1px;border-width:1px}.squad-members .avatar{width:30px;height:30px}
.clue-history{margin:0 0 12px;border:1px solid #e7e4b91b;border-radius:11px;background:#ffffff03;overflow:hidden}.history-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;background:none;color:#cad8c3;font-size:.79rem}.history-toggle>span{display:flex;gap:7px;align-items:center}.history-toggle b{min-width:21px;padding:3px 5px;border-radius:6px;background:#f1cf7019;color:#f1cf70;font:700 .7rem Arial}.history-toggle>span:last-child{font-size:.72rem;color:#d9c78f}.history-list{max-height:190px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #ffffff12;padding:0 12px;scrollbar-width:thin;scrollbar-color:#c6b77950 transparent}.history-entry{display:grid;grid-template-columns:24px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff09;--history-team:#e8a394}.history-entry.blue{--history-team:#8ec7e7}.history-turn{font:700 .75rem Arial;color:var(--history-team);border:1px solid currentColor;border-radius:7px;height:24px;display:grid;place-items:center}.history-clue{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.history-clue b{font-size:1rem;color:#f4eed3}.history-clue strong{font:700 .83rem Arial;padding:4px 6px;background:#ffffff0b;border-radius:5px;color:var(--history-team)}.history-clue small{font-size:.68rem;color:var(--history-team);margin-right:auto}.history-entry p{font-size:.72rem;color:#a9c1af;margin-top:6px}.history-guesses{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.history-guesses>span{font-size:.7rem;padding:4px 7px;background:#b0a27d17;border-radius:5px;color:#d7c79c}.history-guesses .red{background:#e8937d18;color:#e9a394}.history-guesses .blue{background:#7dbfe918;color:#9dcbe5}.history-guesses .assassin{background:#0005;color:#e5e5d8}.history-empty{padding:15px;color:#b2c8b6;font-size:.82rem}
.agent-seal{position:absolute;top:7px;left:7px;width:25px;height:25px;background:#f5d986;color:#243b33;border:2px solid #fff0b0;border-radius:50%;display:grid;place-items:center;font:700 .87rem Arial;box-shadow:0 2px 0 #2d333755;transform:rotate(-12deg)}.agent-found{animation:agent-found-frame 1.2s ease-out;z-index:7}.agent-found .agent-seal{animation:agent-stamp .55s .25s backwards}.agent-sparks{position:absolute;inset:-8px;pointer-events:none;z-index:8}.agent-sparks i{position:absolute;color:#f4d67d;font-style:normal;font-size:20px;animation:agent-spark .85s .2s both}.agent-sparks i:nth-child(1){right:0;top:3px;--spark-x:12px;--spark-y:-15px}.agent-sparks i:nth-child(2){left:2px;top:2px;--spark-x:-14px;--spark-y:-18px;animation-delay:.25s}.agent-sparks i:nth-child(3){right:6px;bottom:8px;--spark-x:14px;--spark-y:12px;animation-delay:.3s}.agent-sparks i:nth-child(4){left:4px;bottom:5px;--spark-x:-12px;--spark-y:10px;animation-delay:.35s}.code-feedback.is-success{color:#f2d68b}.code-feedback.is-success:before{content:'✦';display:inline-block;margin-left:6px}.code-card.opened .code-cover{box-shadow:inset 0 0 0 2px #fff4d148,0 3px 5px #0b251d77}.agent-found .code-cover{outline:2px solid #f1d58b;outline-offset:2px}
@keyframes agent-found-frame{0%{box-shadow:0 0 0 0 #f4d67d99}45%{box-shadow:0 0 0 6px #f4d67d15,0 0 25px #f4d67d33}100%{box-shadow:0 3px 0 #10231e}}
@keyframes agent-stamp{from{transform:rotate(-30deg) scale(2.1);opacity:0}to{transform:rotate(-12deg) scale(1);opacity:1}}
@keyframes agent-spark{0%{transform:translate(0,0) scale(.2);opacity:0}30%{opacity:1}100%{transform:translate(var(--spark-x),var(--spark-y)) scale(.65);opacity:0}}
@media(max-width:760px){.squad-summary{min-height:57px}.squad-members{grid-template-columns:1fr;padding:8px 9px;gap:7px}.squad-members .avatar{width:24px;height:24px}.squad-members>div{gap:7px}.squad-members b{font-size:.76rem}.squad-members small{font-size:.64rem;margin-top:2px}.clue-history{margin-bottom:10px}.history-toggle{padding:9px 11px}.history-list{max-height:175px}.agent-seal{top:5px;left:5px;width:20px;height:20px;border-width:1px;font-size:.75rem}.history-clue small{font-size:.62rem}.history-entry{gap:8px}}
@media(prefers-reduced-motion:reduce){.agent-found,.agent-found .agent-seal{animation:none}.agent-sparks{display:none}}
