:root{color-scheme:dark;--bg:#08151b;--panel:#102128;--line:#26373b;--muted:#91a4a8;--text:#f5f1e4;--gold:#e5bd75;--green:#76e6bc;--display:'Barlow Condensed','Arial Narrow',Impact,sans-serif;--body:'DM Sans',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,canvas:focus-visible{outline:2px solid var(--green);outline-offset:5px}button:hover:not(:disabled){filter:brightness(1.14)}[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 80% 0,#18403955,transparent 55%),radial-gradient(ellipse at 0 80%,#284b4822,transparent 45%)}.shell{position:relative;max-width:1140px;margin:auto;padding:0 34px}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:26px;gap:16px}.wordmark{display:flex;align-items:center;gap:11px;padding:0;text-align:left}.wordmark img{width:44px;height:44px;border-radius:50%;box-shadow:0 0 20px #40dda11a}.wordmark>span{font-family:var(--display);font-size:25px;font-weight:800;line-height:.87;letter-spacing:1px}.wordmark>span>span{display:block;color:var(--gold);font-size:18px;letter-spacing:3px;margin-top:5px}.top-right{display:flex;align-items:center;gap:17px}.agent-label{font-size:9px;letter-spacing:1px;color:var(--muted);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-label b{color:var(--text)}.gem-purse{display:flex;align-items:center;gap:7px;background:#132b2b;border:1px solid #2d4944;padding:10px 13px;border-radius:8px}.gem-purse svg{color:var(--green);width:18px}.gem-purse small{color:var(--muted);font-size:10px}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;font-size:17px}.icon-button[aria-pressed=false] svg{opacity:.45}.hero{position:relative;min-height:430px;border:1px solid #54645c;border-radius:16px;overflow:hidden;background:#091518;isolation:isolate}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 49%;z-index:-3}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#041017eb 0%,#041017b0 30%,#05121a19 63%),linear-gradient(0deg,#05141bba,transparent 32%);z-index:-2}.hero-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#6de6b408 1px,transparent 1px);background-size:100% 4px;z-index:-1;opacity:.35}.hero-copy{padding:42px 44px;max-width:480px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:var(--gold);display:block}.hero-copy>.eyebrow{display:flex;align-items:center;gap:9px;color:#a4c1b8}.live-dot{display:inline-block;vertical-align:middle;width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 12px #6dfcc6;margin-right:4px}.hero h1{font-family:var(--display);font-size:82px;line-height:.88;letter-spacing:-1px;margin:24px 0 19px;font-weight:800}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{font-size:13px;line-height:1.7;color:#c0cbc8;margin:0 0 23px}.primary{display:flex;align-items:center;justify-content:center;gap:14px;background:linear-gradient(100deg,#e9c985,#cda056);color:#1a211e;min-height:52px;border-radius:6px;padding:14px 20px;font-size:11px;font-weight:800;letter-spacing:1.1px;box-shadow:0 5px 20px #0003,inset 0 1px #ffebb4;transition:transform .2s}.primary:hover{transform:translateY(-1px)}.primary svg{width:19px}.hero .primary{width:270px;justify-content:space-between}.hero-foot{display:flex;gap:7px;align-items:center;font-size:8px;letter-spacing:1px;color:#a0b0af;margin-top:14px}.hero-foot>i{width:4px;height:4px;background:var(--gold);border-radius:50%}.hero-stamp{position:absolute;right:25px;top:25px;display:flex;align-items:center;gap:8px;color:#e3cd99;font-size:7px;letter-spacing:1.7px;line-height:1.5}.hero-stamp svg{width:28px;height:28px}.coordinate{position:absolute;bottom:20px;right:25px;font-size:7px;letter-spacing:2px;color:#b1c3bd}.home-strip{display:flex;align-items:center;justify-content:center;gap:35px;padding:21px 0;border-bottom:1px solid var(--line)}.home-strip>span{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.3px;color:#b4bfba}.home-strip svg{width:15px;height:15px;color:var(--gold)}.home-strip>i{height:13px;width:1px;background:var(--line)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:29px 0 18px}.section-heading .eyebrow{font-size:8px;color:var(--muted);margin-bottom:7px}.section-heading h2{font-family:var(--display);font-size:25px;margin:0;font-weight:600;letter-spacing:.5px}.classified{font-size:8px;letter-spacing:1.5px;color:#647b7d}.operation-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.operation{position:relative;display:flex;text-align:left;align-items:center;padding:24px;gap:20px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(120deg,#142c2d,#102027);min-height:141px;overflow:hidden}.operation:before{content:'';position:absolute;width:150px;height:150px;border:1px solid #78b2a010;transform:rotate(35deg);right:-35px;top:-60px;pointer-events:none}.daily-operation{background:linear-gradient(120deg,#2b2c22,#162326);border-color:#514934}.op-icon{display:grid;place-items:center;width:53px;height:60px;border:1px solid #476556;border-radius:10px;color:var(--green);background:#2d6a4717;flex-shrink:0}.op-icon svg{width:28px;height:28px}.daily-operation .op-icon{color:var(--gold);border-color:#6b5939;background:#aa883a15}.op-copy{display:flex;flex-direction:column;gap:7px;flex:1}.op-copy small{font-size:8px;letter-spacing:1.4px;color:var(--green)}.daily-operation .op-copy small{color:var(--gold)}.op-copy b{font-family:var(--display);font-size:25px;font-weight:600;letter-spacing:.4px}.op-copy>span:not(.progress-track){color:#a7b6b2;font-size:10px}.op-copy em{font-style:normal;font-size:7px;letter-spacing:1px;color:#b1a383;margin-top:5px}.op-arrow{width:17px;color:var(--gold)}.progress-track{height:3px;background:#2a4241;max-width:200px;margin-top:5px;border-radius:10px}.progress-track i{display:block;height:100%;background:var(--green);border-radius:10px}.field-note{display:flex;align-items:center;gap:17px;margin:24px 0;color:var(--muted)}.field-note>span{font-size:7px;letter-spacing:1px;color:var(--gold);border:1px solid #6c60473d;padding:6px 8px;white-space:nowrap}.field-note p{flex:1;font-size:10px;line-height:1.7}.field-note button{font-size:8px;letter-spacing:1px;white-space:nowrap}.field-note button span{color:var(--gold);margin-left:10px}.navigation{display:flex;align-items:center;justify-content:center;gap:48px;border-top:1px solid var(--line);padding:19px 0 15px;margin-top:26px}.navigation button{display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:1px;color:#819598;padding:8px}.navigation button svg{width:18px;height:18px}.navigation button.active{color:var(--gold)}footer{display:flex;justify-content:space-between;padding:12px 0 25px;color:#587175;font-size:7px;letter-spacing:1px}footer i{font-style:normal;color:var(--gold);padding:0 6px}.page-heading{padding:28px 0 25px}.page-heading h1{font-family:var(--display);font-size:52px;letter-spacing:.3px;margin:12px 0}.page-heading h1 span{color:var(--gold)}.page-heading p{color:var(--muted);font-size:12px;line-height:1.8;max-width:570px}.chapter-heading{grid-column:1/-1;display:flex;justify-content:space-between;margin-top:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1.5px;color:var(--gold)}.chapter-heading small{color:var(--muted);font-size:8px}.vault-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.vault-card{border:1px solid var(--line);border-radius:8px;background:linear-gradient(145deg,#1b3439,#102027);padding:20px 13px;display:flex;flex-direction:column;align-items:center;gap:12px;position:relative;min-height:171px}.vault-card .vault-num{position:absolute;top:13px;left:13px;font-size:8px;letter-spacing:1px;color:var(--muted)}.vault-card>svg{width:43px;height:43px;color:var(--gold);margin:14px 0 0}.vault-card>strong{font-family:var(--display);font-size:18px;font-weight:500;letter-spacing:.3px}.vault-card>small{font-size:8px;color:var(--muted)}.vault-card.next{border-color:#d9b77477;box-shadow:inset 0 0 28px #dbb6740a}.vault-gems{display:flex;gap:5px}.vault-gems svg{width:14px;height:14px;color:#3d5558}.vault-gems svg.collected{color:var(--green);fill:#60d9ad22}.daily-hero{display:flex;align-items:center;gap:25px;padding:30px;border:1px solid #5e5436;border-radius:12px;background:linear-gradient(110deg,#343321,#132b2d);margin:5px 0 30px}.daily-hero h2{font-family:var(--display);font-size:33px;margin:9px 0}.daily-hero p{font-size:11px;color:var(--muted)}.daily-hero>.primary{margin-left:auto}.daily-emblem{display:grid;place-items:center;width:80px;height:80px;border:1px solid #99824d;border-radius:50%;color:var(--gold);box-shadow:inset 0 0 30px #dec98210}.daily-emblem svg{width:44px;height:44px}.muted,.footnote{color:var(--muted);font-size:11px;line-height:1.7}.footnote{font-size:10px}.leaderboard{list-style:none;padding:0;min-height:120px}.leaderboard li{display:grid;grid-template-columns:40px 1fr 75px 85px;gap:10px;padding:17px;border-top:1px solid var(--line);align-items:center;font-size:12px}.leaderboard li.you{background:#15352f}.leaderboard li>span:first-child{color:var(--gold);font-family:var(--display);font-size:23px}.leaderboard li small{color:var(--muted);font-size:10px}.leaderboard .leader-gems{color:var(--green)}.outfit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.outfit-card{position:relative;text-align:center;border:1px solid var(--line);border-radius:12px;padding:25px 16px;background:radial-gradient(ellipse at 50% 30%,#26635966,transparent 60%),#102026}.outfit-card.equipped{border-color:var(--gold)}.outfit-card img{width:100%;height:240px;object-fit:contain;filter:drop-shadow(0 15px 9px #0006)}.outfit-card h2{font-family:var(--display);font-size:26px;margin:10px 0}.outfit-card p{font-size:10px;color:var(--muted)}.outfit-card .secondary{width:100%;margin-top:18px}.outfit-card .eyebrow{font-size:8px}.game-header{display:flex;align-items:center;justify-content:space-between;padding:4px 0 16px}.text-button{font-size:10px;letter-spacing:.7px;padding:10px 0;color:var(--gold)}.game-layout{display:grid;grid-template-columns:minmax(0,620px) 1fr;gap:38px;align-items:center}.game-hud{display:flex;align-items:center;justify-content:space-between;margin:4px 0 16px}.game-hud small{display:block;font-size:8px;letter-spacing:1.5px;color:var(--muted);margin-bottom:6px}.gem-slots{display:flex;gap:7px}.gem-slots svg{width:23px;height:23px;color:#365150}.gem-slots svg.collected{color:var(--green);fill:#76e6bc33;filter:drop-shadow(0 0 5px #76e6bc44)}.time-readout{display:flex;align-items:center;gap:7px}.time-readout svg{width:19px;color:var(--gold)}.time-readout strong{font-family:var(--display);font-size:43px;font-weight:600;font-variant-numeric:tabular-nums}.time-readout>span{font-size:8px;color:var(--muted);align-self:end;margin-bottom:11px}.time-readout.urgent{color:#ff8c80}.moves-readout{text-align:right}.moves-readout b{font-family:var(--display);font-size:29px;font-weight:500}.board-frame{position:relative;border:1px solid #677466;border-radius:10px;background:#0b1a20;box-shadow:0 20px 60px #0005,inset 0 0 30px #0008;overflow:hidden}.board-frame canvas{display:block;width:100%;height:auto;touch-action:none;outline-offset:-3px}.board-corner{position:absolute;width:16px;height:16px;border-color:var(--gold);border-style:solid;pointer-events:none}.tl{left:8px;top:8px;border-width:1px 0 0 1px}.tr{right:8px;top:8px;border-width:1px 1px 0 0}.bl{left:8px;bottom:8px;border-width:0 0 1px 1px}.br{right:8px;bottom:8px;border-width:0 1px 1px 0}.timer-track{height:3px;background:var(--line);margin:15px 0;border-radius:10px;overflow:hidden}.timer-track i{display:block;height:100%;background:var(--gold);width:100%;transition:width .15s linear}.game-status{font-size:11px;color:#aac8bc;line-height:1.5;min-height:17px;text-align:center}.game-brief h2{font-family:var(--display);font-size:39px;font-weight:600;text-transform:uppercase;margin:11px 0 13px}.game-brief>p{font-size:12px;line-height:1.8;color:var(--muted)}.legend{display:flex;flex-direction:column;gap:14px;margin:24px 0}.legend>span{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:.6px;color:#a1b4b4}.legend-dot{width:9px;height:9px;display:inline-block;border-radius:2px}.legend-dot.green{background:var(--green);transform:rotate(45deg)}.legend-dot.gold{background:var(--gold)}.legend-dot.red{background:#da6156}.legend-dot.outline{border:1px dashed #ef8d7c}.controls{display:grid;grid-template:repeat(3,44px)/repeat(3,54px);gap:5px;justify-content:center;margin:20px auto 12px}.controls button{border:1px solid #355054;border-radius:5px;background:linear-gradient(#203a40,#13272e);font-size:22px;box-shadow:0 3px 0 #061116}.controls button:active{background:#375d54;transform:translateY(2px)}.controls .up{grid-area:1/2}.controls .left{grid-area:2/1}.controls .wait{grid-area:2/2;font-size:8px;letter-spacing:1px;color:var(--gold)}.controls .right{grid-area:2/3}.controls .down{grid-area:3/2}.game-brief>.control-note{text-align:center;font-size:8px;letter-spacing:1px;line-height:1.8}.secondary{min-height:44px;border:1px solid #46605b;border-radius:6px;padding:11px 16px;font-size:10px;letter-spacing:.7px;color:#c4d8cf;background:#213b342b}.game-brief>.secondary{width:100%;margin:8px 0}.game-brief>.footnote{display:block;text-align:center;font-size:9px}.pickup{position:absolute;top:40%;left:50%;transform:translate(-50%,20px);background:#174431e8;border:1px solid var(--green);color:var(--green);font-size:10px;letter-spacing:2px;padding:12px 20px;border-radius:5px;pointer-events:none;opacity:0;white-space:nowrap}.pickup.show{animation:pickup 1.1s ease-out}@keyframes pickup{0%{opacity:0;transform:translate(-50%,20px)}20%,70%{opacity:1}100%{opacity:0;transform:translate(-50%,-35px)}}dialog{background:linear-gradient(135deg,#193331,#0c1c24);color:var(--text);border:1px solid #647b66;border-radius:16px;padding:35px;width:min(450px,calc(100% - 28px));box-shadow:0 25px 100px #0009;max-height:90dvh;overflow:auto}dialog::backdrop{background:#020c12c9;backdrop-filter:blur(10px)}dialog h2{font-family:var(--display);font-size:43px;line-height:1.02;font-weight:600;margin:15px 0}dialog>p{font-size:12px;line-height:1.8;color:var(--muted)}dialog>.primary,dialog>.secondary{width:100%;margin-top:14px}.dialog-close{position:absolute;right:14px;top:10px;font-size:25px;color:var(--muted)}.instructions{list-style:none;padding:0;margin:25px 0;display:grid;gap:21px}.instructions li{display:flex;gap:17px;align-items:start}.instructions li>b{font-family:var(--display);font-size:25px;color:var(--gold)}.instructions span{font-size:11px;line-height:1.8;color:var(--muted)}.instructions strong{display:block;color:var(--text);font-size:12px}.result-emblem{width:68px;height:68px;border:1px solid #6c9275;border-radius:50%;display:grid;place-items:center;color:var(--green);margin:0 auto 24px;background:#3a745521}.result-emblem svg{width:36px;height:36px}#resultDialog{text-align:center}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:22px 0 12px}.result-stats small{font-size:7px;letter-spacing:1.3px;display:block;color:var(--muted)}.result-stats b{display:block;font-family:var(--display);font-size:31px;font-weight:500;color:var(--gold);margin-top:6px}.result-links{display:flex;justify-content:space-between;gap:10px;margin-top:17px}.result-links button{font-size:8px}.toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,15px);padding:13px 20px;border:1px solid #537f6c;border-radius:8px;background:#132c2af5;color:#d8e9dc;font-size:12px;text-align:center;max-width:90%;width:max-content;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1200px){.shell{padding-top:10px}.hero{min-height:454px}.hero-copy{padding:46px}.hero h1{font-size:91px}}
@media(max-width:800px){.shell{padding:0 22px}.topbar{height:85px;margin-bottom:20px}.hero-copy{padding:33px}.hero{min-height:420px}.hero h1{font-size:75px}.hero-art{object-position:58% center}.hero-shade{background:linear-gradient(90deg,#041017eb,#04101790 40%,#05121a15),linear-gradient(0deg,#05141baa,transparent)}.agent-label{display:none}.home-strip{gap:15px}.operation{padding:20px 15px;gap:13px}.op-icon{width:40px;height:48px}.op-copy b{font-size:22px}.game-layout{gap:24px;grid-template-columns:minmax(0,1fr) 220px}.game-brief h2{font-size:29px}.legend>span{font-size:7px}.outfit-grid{grid-template-columns:repeat(2,1fr)}.vault-grid{gap:10px}.vault-card>strong{font-size:16px}.daily-hero{gap:18px;padding:22px}.daily-emblem{width:55px;height:55px;flex-shrink:0}.daily-hero>.primary{font-size:9px}.daily-emblem svg{width:30px}.navigation{gap:24px}.classified{display:none}}
@media(max-width:600px){.shell{padding:0 16px calc(80px + env(safe-area-inset-bottom))}.topbar{height:77px;padding-top:env(safe-area-inset-top);margin-bottom:17px}.wordmark img{width:37px;height:37px}.wordmark>span{font-size:22px}.wordmark>span>span{font-size:15px}.top-right{gap:9px}.gem-purse{padding:8px 10px}.icon-button{width:31px;height:31px}.icon-button svg{width:17px}.hero{min-height:490px;border-radius:12px}.hero-art{object-position:66% center}.hero-shade{background:linear-gradient(90deg,#041017dc,#04101740 90%),linear-gradient(0deg,#041017ee,transparent 60%)}.hero-copy{padding:30px 24px;position:relative;min-height:490px;display:flex;align-items:start;flex-direction:column}.hero-copy>.eyebrow{font-size:7px;letter-spacing:1.7px}.hero h1{font-size:74px;line-height:.91;margin-top:29px}.hero p{font-size:12px;line-height:1.8;margin-top:auto;margin-bottom:19px}.hero .primary{width:100%;min-height:54px}.hero-foot{font-size:7px;margin-top:16px;align-self:center}.hero-stamp{right:17px;top:26px}.hero-stamp span{display:none}.hero-stamp svg{width:23px}.coordinate{display:none}.home-strip{gap:0;justify-content:space-between;padding:18px 0}.home-strip>span{font-size:6px;letter-spacing:.6px;gap:5px}.home-strip svg{width:12px;height:12px}.home-strip>i{display:none}.section-heading{margin-top:24px}.section-heading h2{font-size:24px}.section-heading .eyebrow{font-size:7px}.operation-grid{grid-template-columns:1fr;gap:12px}.operation{padding:19px;gap:18px;min-height:122px}.op-icon{width:47px;height:53px}.op-copy b{font-size:25px}.op-copy>span:not(.progress-track){font-size:10px}.op-copy small{font-size:7px}.op-copy em{font-size:7px}.field-note{align-items:start;gap:12px}.field-note>span{font-size:6px;margin-top:9px}.field-note p{font-size:9px}.field-note button{display:none}.navigation{position:fixed;bottom:0;left:0;right:0;background:#0a1c23f5;backdrop-filter:blur(15px);padding:13px 9px calc(13px + env(safe-area-inset-bottom));justify-content:space-around;gap:0;z-index:5;margin:0}.navigation button{flex-direction:column;gap:6px;padding:0 10px;font-size:7px;letter-spacing:.6px}.navigation button svg{width:21px;height:21px}footer{font-size:6px;line-height:1.8;gap:20px}footer>span:last-child{text-align:right;max-width:140px}.page-heading{padding:16px 0}.page-heading h1{font-size:43px}.page-heading p{font-size:11px}.vault-grid{grid-template-columns:repeat(3,1fr);gap:10px}.chapter-heading{margin-top:15px;font-size:9px;gap:8px}.chapter-heading small{font-size:7px}.vault-card{padding:14px 7px;min-height:151px;gap:9px}.vault-card>strong{font-size:16px}.vault-card>svg{width:35px;height:35px}.outfit-grid{gap:12px}.outfit-card{padding:20px 10px}.outfit-card img{height:190px}.outfit-card h2{font-size:24px}.outfit-card .secondary{font-size:8px;padding:10px 6px}.daily-hero{flex-wrap:wrap;gap:17px;padding:20px}.daily-hero>.primary{width:100%;font-size:10px;margin:0}.daily-hero h2{font-size:30px}.daily-hero .eyebrow{font-size:7px}.daily-emblem{width:50px;height:50px}.game-layout{display:flex;flex-direction:column;gap:5px}.game-main{width:100%;max-width:500px}.game-brief{width:100%;display:flex;flex-direction:column;align-items:center}.game-brief>.eyebrow,.game-brief>h2,.game-brief>#vaultBrief,.legend{display:none}.game-brief>.controls{margin:5px auto 13px;grid-template:repeat(3,40px)/repeat(3,60px);gap:4px}.game-brief>.control-note{margin:0 0 9px;font-size:7px}.game-brief>.secondary{max-width:240px;min-height:38px;margin:5px 0}.game-header>.eyebrow{font-size:7px;letter-spacing:.8px;max-width:160px;text-align:center}.game-header{padding-bottom:12px}.game-hud{margin-bottom:9px}.time-readout strong{font-size:36px}.game-hud small{font-size:7px}.gem-slots svg{width:20px}.timer-track{margin:9px 0}.game-status{font-size:10px;margin:8px 0}.game-mode .topbar{height:64px;margin-bottom:11px}.game-mode footer{display:none}.game-mode .shell{padding-bottom:22px}.game-mode .navigation{display:none}.game-mode .agent-label{display:none}.game-mode #helpButton{display:none}.game-mode .game-header .text-button{font-size:8px}dialog{padding:30px 25px}dialog h2{font-size:39px}.leaderboard li{grid-template-columns:26px 1fr 55px 70px;gap:8px;padding:15px 10px}.leaderboard li small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Telegram identity and agent dossier. Names remain text, never HTML. */
.agent-profile{display:flex;align-items:center;gap:10px;padding:0;text-align:left;min-width:0}
.agent-avatar,.profile-portrait{position:relative;display:grid;place-items:center;flex-shrink:0;overflow:hidden;border:1px solid #b29a63;border-radius:50%;background:linear-gradient(135deg,#284f43,#172b32);color:var(--gold);font-weight:700}
.agent-avatar{width:40px;height:40px;font-size:13px}
.agent-avatar img,.profile-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.agent-copy{display:flex;flex-direction:column;gap:4px;max-width:155px}
.agent-copy small{font-size:7px;letter-spacing:1.4px;color:var(--muted)}
.agent-copy b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#profileDialog{text-align:center}
.profile-portrait{width:94px;height:94px;font-size:29px;margin:25px auto 18px;box-shadow:0 0 0 6px #8ab9980b,0 0 35px #63c39316}
#profileName{font-size:36px;overflow-wrap:anywhere;margin-bottom:6px}
#profileHandle{margin-top:0;overflow-wrap:anywhere}
.profile-connection{display:inline-block;font-size:8px;letter-spacing:1.4px;padding:7px 11px;border:1px solid var(--line);border-radius:20px;color:var(--muted)}
.profile-connection.connected{color:var(--green);border-color:#537b63;background:#73e4b80b}
.profile-stats b{font-size:27px}
.profile-outfit{display:flex;align-items:center;gap:12px;text-align:left;padding:15px 0}
.profile-outfit>svg{color:var(--gold);width:26px;height:26px}
.profile-outfit>span{display:flex;flex-direction:column;gap:5px;flex:1}
.profile-outfit small{font-size:7px;letter-spacing:1px;color:var(--muted)}
.profile-outfit b{font-family:var(--display);font-size:22px;font-weight:600}
.game-mode #profileButton{display:none}
@media(max-width:800px){.agent-copy{display:none}.agent-avatar{width:35px;height:35px}}
@media(max-width:380px){.top-right{gap:7px}.topbar{gap:10px}.top-right #helpButton{display:none}.profile-stats small{font-size:6px;letter-spacing:.7px}.profile-stats b{font-size:24px}}
