:root{--bg:#fcf7ee;--paper:#fffdf8;--ink:#4f392d;--muted:#9b8879;--line:#eddfcd;--orange:#eb883b;--orange-dark:#bc621e;--pale:#ffedce;--green:#538d7b;--red:#d97745;--shadow:0 8px 0 #eedfcb,0 14px 35px #83542308;--radius:28px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:ui-rounded,'Arial Rounded MT Bold','PingFang SC','Microsoft YaHei',system-ui,sans-serif;line-height:1.6;font-size:15px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #bf772c;outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:38px;line-height:1.3;letter-spacing:-1px}h2{font-size:23px;line-height:1.4}h3{font-size:17px}small,.small{font-size:12px}.muted{color:var(--muted)}.up{color:var(--red)}.down{color:var(--green)}.mono,.num{font-variant-numeric:tabular-nums}.mono{font-family:ui-monospace,Consolas,monospace}.eyebrow{font-size:11px;letter-spacing:2.5px;font-weight:800;color:#b28763;text-transform:uppercase}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon.lg{width:32px;height:32px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.center{text-align:center}.right{text-align:right}.grow{flex:1;min-width:0}.full{width:100%}.spacer{height:22px}.mt{margin-top:22px}b,strong{font-weight:750}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border-radius:16px;background:#f5ecdf;padding:10px 20px;font-weight:750;border:1px solid #ebddc9;transition:transform .16s,box-shadow .16s}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:active:not(:disabled){transform:translateY(2px)}.btn.primary{color:white;background:var(--orange);border-color:#df7b2c;box-shadow:0 4px 0 #bf681f}.btn.primary:hover{background:#f1954d}.btn.dark{background:#6a4c38;color:#fff8ed;border-color:#6a4c38;box-shadow:0 4px 0 #463021}.btn.ghost{background:transparent;border-color:var(--line);box-shadow:none}.btn.small{min-height:36px;border-radius:12px;padding:6px 13px;font-size:12px}.btn.big{min-height:56px;padding:13px 32px;border-radius:19px;font-size:17px}.icon-btn{display:inline-grid;place-items:center;width:40px;height:40px;background:transparent;border-radius:12px}.icon-btn:hover{background:#f5ebdc}.pill{display:inline-flex;align-items:center;gap:7px;background:#f5ecdf;color:#9c7a59;padding:5px 11px;border-radius:30px;font-size:11px;font-weight:700;white-space:nowrap}.pill.live{background:#edf2e8;color:#5d886e}.pill.orange{background:#ffebcb;color:#b66c2e}.dot{width:6px;height:6px;background:currentColor;border-radius:50%}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:27px;box-shadow:0 4px 15px #82583103}.card.raised{box-shadow:var(--shadow)}.card.warm{background:#f8edda}.notice{padding:13px 17px;background:#fff0d9;border:1px solid #f1d8b5;border-radius:15px;color:#946b47;font-size:12px}.notice.error{background:#fce9e2;border-color:#efc5b3;color:#a85034}.field{display:grid;gap:7px;margin:15px 0}.field label{font-size:13px;font-weight:700}.input,input[type=search],select,textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:#fffaf2;padding:12px 14px;color:var(--ink);min-width:0}textarea{resize:vertical;min-height:90px}input[type=checkbox]{accent-color:var(--orange);width:17px;height:17px;flex-shrink:0}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#8c7663}.tabbar{display:flex;gap:5px;flex-wrap:wrap;padding:5px;background:#f0e6d7;border-radius:15px;width:max-content;max-width:100%}.tabbar button{background:transparent;padding:9px 20px;border-radius:11px;color:#9b846e;font-size:13px;font-weight:750}.tabbar button.active{background:#fffdf8;box-shadow:0 2px 5px #4f392d0b;color:#704a30}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pagehead{display:flex;justify-content:space-between;align-items:flex-end;margin:22px 0 30px;gap:20px}.pagehead p{margin-top:9px;color:var(--muted);font-size:13px}.pagehead .eyebrow{margin-bottom:10px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.empty .empty-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 16px;border-radius:24px;background:#f4eadb;color:#c8a984}.empty h3{color:#967b60;margin-bottom:8px}.empty p{font-size:13px;max-width:380px;margin:auto}.loading{padding:100px 20px;text-align:center;color:var(--muted)}.spinner{width:34px;height:34px;display:inline-block;border:4px solid #eddcc5;border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
#header{height:88px;border-bottom:1px solid #ebdfcf;background:#fcf7eef5;display:flex;align-items:center;justify-content:space-between;padding:0 max(30px,calc((100vw - 1216px)/2));gap:28px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:26px;font-weight:950;letter-spacing:-1.4px;white-space:nowrap;line-height:1}.brand .brand-mark{background:#f0a15a;color:#fff6e9;border:2px solid #e58b3d;box-shadow:0 3px 0 #cb7832;border-radius:13px;width:36px;height:36px;display:grid;place-items:center;font-size:24px;transform:rotate(-7deg)}.brand em{font-style:normal;color:var(--orange)}.brand small{font-size:10px;letter-spacing:0;margin-left:6px;color:#bda286}.desktop-nav{display:flex;align-items:center;gap:8px}.desktop-nav a{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:14px;font-size:13px;font-weight:700;color:#9b846e}.desktop-nav a.active{background:#f3e5d2;color:#785034}.account{display:flex;align-items:center;gap:9px;font-size:12px}.letter{width:37px;height:37px;display:grid;place-items:center;font-size:18px;font-weight:850;background:#f4dfbe;border:1px solid #ead0aa;border-radius:13px;color:#9f703d}.account small{display:block;color:#aa927b}#content{max-width:1216px;margin:0 auto;padding:26px 0 35px;min-height:calc(100vh - 195px);outline:none}#mobile-nav{display:none}footer{text-align:center;color:#b9a895;font-size:10px;line-height:1.9;padding:20px 20px 24px;letter-spacing:.5px}#connection{background:#feebd4;color:#aa6f3e;text-align:center;font-size:12px;padding:8px}#toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);z-index:110;background:#654733;color:#fff8ee;border-radius:16px;box-shadow:0 8px 30px #60442a20;padding:13px 23px;width:max-content;max-width:calc(100vw - 32px);font-size:13px}dialog{width:min(550px,calc(100vw - 30px));padding:0;background:var(--paper);border:1px solid #e6d7c1;border-radius:27px;color:var(--ink);box-shadow:0 25px 90px #54362130;max-height:90dvh}dialog::backdrop{background:#5d41214d;backdrop-filter:blur(4px)}.modal-inner{padding:25px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.modal-body{max-height:calc(90dvh - 130px);overflow-y:auto;padding:3px 3px 10px}.code{white-space:pre-wrap;word-break:break-all;background:#f4ecdf;border-radius:14px;padding:17px;font:12px/1.8 ui-monospace,Consolas,monospace;overflow-x:auto}.secret{font:13px/1.7 ui-monospace,monospace;word-break:break-all}.modal-body .card{padding:18px;border-radius:20px}.modal-body .btn{margin-top:8px}
.lobby-top{display:flex;align-items:center;justify-content:space-between;padding:0 3px;margin-bottom:19px}.lobby-top p{font-size:13px;color:#a3876c}.hero{position:relative;display:grid;grid-template-columns:1.12fr 1fr;align-items:center;min-height:375px;border-radius:34px;background:#fbefdc;border:1px solid #efdbbf;box-shadow:0 7px 0 #eeddbf;padding:42px 45px;overflow:hidden}.hero-copy{position:relative;z-index:1}.hero h1{font-size:52px;line-height:1.3;letter-spacing:0;margin:15px 0 17px;font-weight:900}.hero h1 span{color:#d78437}.hero p{font-size:14px;color:#a07d5e;line-height:1.9;margin-bottom:25px;max-width:430px}.hero-art{width:100%;max-width:340px;justify-self:center;filter:drop-shadow(0 12px 14px #a7642210);transition:transform .7s}.hero-art:hover{transform:translateY(-6px) rotate(2deg)}.hero-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.hero-stats .pill{border:1px solid #efdcbe;background:#fff6e7;color:#a47f58}.lobby-below{display:grid;grid-template-columns:2fr 1fr;gap:22px;margin-top:27px}.mode-card{padding:24px;transition:transform .2s;display:flex;align-items:center;gap:17px;min-height:112px;text-align:left;width:100%}.mode-card:hover{transform:translateY(-3px)}.tile-icon{width:56px;height:56px;border-radius:19px;background:#f9dfb6;box-shadow:0 4px 0 #eac79b;display:grid;place-items:center;color:#b97938;flex-shrink:0}.tile-icon.soft{background:#eae6d3;box-shadow:0 4px 0 #d9d5be;color:#8b8961}.mode-card p{font-size:11px;color:#aa9077;margin-top:4px}.arrow-link{color:#c7aa8b;margin-left:auto}.rank-feature{position:relative;min-height:160px;overflow:hidden}.rank-feature img{position:absolute;right:10px;top:15px;width:128px;opacity:.94}.rank-feature .copy{position:relative;z-index:1;max-width:70%}.rank-number{font-size:34px;letter-spacing:-1px;font-weight:850;margin:10px 0 0}.rank-foot{display:flex;justify-content:space-between;border-top:1px solid #eedfc7;padding-top:13px;margin-top:20px;font-size:11px;color:#a2876b}.live-strip{padding:20px 24px;display:flex;align-items:center;gap:15px}.live-strip p{font-size:12px;color:#a0876f}.nodes-art{height:130px;display:flex;align-items:center;justify-content:center;gap:11px}.node{width:66px;height:66px;border-radius:21px;background:#f7dfb7;border:2px solid #edc895;box-shadow:0 7px 0 #dfb57e;display:grid;place-items:center;color:#b9803e;transform:rotate(-10deg)}.node.center-node{width:82px;height:82px;background:#f5a25b;color:#fff7e9;border-color:#e88d43;box-shadow:0 7px 0 #cd7330;transform:rotate(6deg)}.node-line{width:24px;height:5px;border-radius:5px;background:#e7c69a}.auth-wrap{max-width:480px;margin:30px auto}.auth-wrap h1{font-size:28px}.auth-logo{text-align:center;margin-bottom:24px}.auth-wrap .card{padding:32px}.auth-wrap .tabbar{margin:22px auto}.form-error{font-size:12px;color:#b65231;min-height:20px;margin:10px 0}.queue-wrap{max-width:600px;margin:38px auto;text-align:center}.queue-wrap img{width:200px;display:block;margin:0 auto 15px}.queue-wrap h1{font-size:29px}.queue-clock{font-size:38px;color:#bb7b3d;margin:20px 0}.room-code{font-size:35px;letter-spacing:6px;font-weight:800;padding:20px 0}.versus-line{display:flex;justify-content:center;align-items:center;gap:22px;margin:24px 0}.versus-line .letter{width:62px;height:62px;font-size:25px;border-radius:22px}.waiting-slot{width:62px;height:62px;display:grid;place-items:center;border:2px dashed #d9c4a8;border-radius:22px;color:#cab396;font-size:25px}
.duel{display:grid;grid-template-columns:1fr 145px 1fr;align-items:center;padding:22px 29px;border-radius:27px;background:#f6e8d4;border:1px solid #e9d6b9;gap:16px}.duel-player{display:flex;align-items:center;gap:13px;min-width:0}.duel-player:last-child{justify-content:flex-end}.duel-player .letter{width:47px;height:47px;border-radius:16px;background:#ffe8c5}.player-info{min-width:0}.player-info b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.player-info small{color:#aa8a69;font-size:10px}.duel .roi{font-size:28px;font-weight:850;white-space:nowrap}.duel .vs{font-size:10px;letter-spacing:3px;color:#b79976;line-height:1.2}.timer{font-size:29px;font-weight:850;letter-spacing:2px;color:#835835;line-height:1.4}.battle-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;margin-top:22px}.battle-grid .card{padding:24px}.chart{width:100%;height:185px;display:block;overflow:visible}.chart-grid{stroke:#f0e4d3;stroke-width:1}.chart-a{stroke:#e58a41;fill:none;stroke-width:3;stroke-linejoin:round}.chart-b{stroke:#b6a086;fill:none;stroke-width:2.5;stroke-dasharray:5 5}.chart-label{font-size:11px;fill:#b39a7f}.chart-legend{display:flex;gap:17px;font-size:11px;color:#a78d73}.legend-dot{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:#e58a41}.legend-dot.second{background:#b6a086}.equity{font-size:30px;line-height:1.3;font-weight:850;margin:7px 0 6px}.slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.holding{border:1px solid #ead9bd;background:#fff4e0;border-radius:21px;padding:16px 14px;text-align:left;min-height:158px;display:flex;flex-direction:column}.holding .slothead{font-size:10px;display:flex;justify-content:space-between;color:#b89a73;letter-spacing:1px}.holding b{font-size:16px;margin-top:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.holding small{font-size:10px;color:#bca07f}.holding strong{font-size:20px;margin:8px 0 3px}.holding.empty-slot{border:2px dashed #e7d8c2;background:transparent;align-items:center;justify-content:center;color:#c2ab8c}.holding.empty-slot span{font-size:29px;font-weight:300}.holding.empty-slot b{font-size:12px;margin-top:4px}.ticket{position:sticky;top:18px}.stock-button{display:flex;align-items:center;justify-content:space-between;background:#f7ecd9;border-radius:17px;padding:15px;width:100%;text-align:left;margin:15px 0}.stock-button b{font-size:18px}.stock-button small{display:block;color:#ad9070}.side-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.side-tabs button{padding:8px}.side-tabs button.active{background:#f3d9b5;color:#a6662a;box-shadow:none}.stepper{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:6px}.stepper button{background:#f5ecdf;border:1px solid var(--line);border-radius:12px;font-size:21px}.stepper input{text-align:center;padding:10px 5px}.quick,.leverage{display:flex;gap:7px;margin:11px 0}.quick button,.leverage button{flex:1;border:1px solid #e8d9c3;border-radius:11px;padding:7px 4px;background:#fcf7ef;font-size:11px}.leverage button{font-size:14px;font-weight:750;padding:9px 3px}.leverage button.active{background:#ffe1b5;color:#a66d32;border-color:#e8b878}.summary-line{display:flex;justify-content:space-between;color:#a58a70;font-size:11px;margin:8px 0}.summary-line b{color:#7e6248}.log{border-bottom:1px solid #efe4d5;padding:13px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.log:last-child{border:0}.log small{display:block;color:#af967d;font-size:10px}.stock-row{display:flex;align-items:center;justify-content:space-between;width:100%;background:transparent;text-align:left;padding:12px 7px;border-bottom:1px solid #eee1cf}.stock-row:hover{background:#faf0df}.stock-row small{display:block;font-size:10px;color:#ad9579}.stock-list{max-height:40vh;overflow-y:auto}.ready-card{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fbedda}.readonly{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:290px}.readonly p{font-size:12px;color:#aa8d73;margin-top:13px}.read-only-icon{width:75px;height:75px;border-radius:25px;background:#f6e5c9;display:grid;place-items:center;margin-bottom:20px;color:#bd8e56}
.agent-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:23px}.agent-hero{display:flex;align-items:center;gap:20px;background:#f9eedc;padding:30px;border:1px solid #ecd9bb;border-radius:28px;margin-bottom:22px}.agent-hero .nodes-art{min-width:240px}.agent-hero h1{font-size:31px}.agent-hero p{font-size:13px;color:#a4876d;margin-top:12px}.key-box{border:1px dashed #d7b992;background:#fbf2e3;border-radius:16px;padding:17px;margin:23px 0}.key-box code{font-size:16px;color:#a47845;word-break:break-all}.step{display:flex;gap:14px;padding:15px 0}.step .step-num{width:30px;height:30px;border-radius:10px;background:#f5e6cc;display:grid;place-items:center;color:#b78449;font-size:12px;font-weight:850;flex-shrink:0}.step p{font-size:12px;color:#a38970;margin-top:4px}.rank-banner{display:flex;align-items:center;gap:20px;padding:25px 32px;border-radius:28px;background:#f9ecd6;border:1px solid #ead5b5}.rank-banner img{width:116px;height:116px;object-fit:contain}.rank-banner .rank-number{margin:0}.rank-table{width:100%;border-collapse:collapse;font-size:13px}.rank-table th{color:#b09a80;font-size:11px;font-weight:600;padding:12px;text-align:left;border-bottom:1px solid var(--line)}.rank-table td{padding:18px 12px;border-bottom:1px solid #f1e7d9}.rank-table td:last-child{text-align:right;font-weight:850;color:#b47739}.rank-table tr:last-child td{border:0}.rank-medal{display:grid;place-items:center;background:#f9e3bd;border:1px solid #ebd0a0;border-radius:11px;width:31px;height:31px;color:#ae7434;font-size:13px;font-weight:850}.replay-card{display:flex;flex-direction:column;overflow:hidden;padding:0}.replay-cover{background:#f8ebd5;padding:24px;display:flex;align-items:center;justify-content:center;gap:15px;min-height:117px}.replay-cover .letter{width:47px;height:47px;border-radius:17px;background:#fff2dd;font-size:22px}.replay-body{padding:23px}.replay-body p{font-size:12px;color:#a28a70;margin:8px 0 18px}.replay-body .btn{width:100%}.replay-cover b{color:#cfaa79;font-size:24px;transform:rotate(-8deg)}.result-wrap{max-width:850px;margin:auto}.result-hero{text-align:center;position:relative;background:#f9ecd5;border:1px solid #ebd7b8;border-radius:32px;padding:25px 30px 32px}.result-hero img{width:165px;height:160px;object-fit:contain;display:block;margin:0 auto}.result-word{font-size:44px;color:#be813e;font-weight:950;letter-spacing:5px;line-height:1.2}.result-hero h2{font-size:21px;margin:13px 0}.result-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.result-metrics>div{background:#fff8ed;border:1px solid #eddbc1;padding:20px 10px;border-radius:21px}.result-metrics small{color:#ac8e6b;font-size:11px}.result-metrics b{display:block;font-size:26px;margin-top:7px}.result-detail{padding:22px 27px;margin-top:22px}.result-detail .grid3{font-size:12px;color:#9d846b}.result-detail b{display:block;color:#785c42;font-size:18px}.seek{accent-color:var(--orange);width:100%;cursor:pointer}.profile-head{display:flex;gap:21px;align-items:center}.profile-head .letter{width:70px;height:70px;font-size:32px;border-radius:24px}.profile-head h1{font-size:27px}.rules{max-width:880px;margin:auto}.rules details{border-bottom:1px solid var(--line);padding:20px 0}.rules details:last-child{border:0}.rules summary{font-size:16px;font-weight:750;cursor:pointer}.rules details p,.rules details li{font-size:13px;color:#947b65;line-height:1.95;margin-top:13px}.rules ul{padding-left:22px}.admin-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.admin-row small{color:#ad947a;display:block}.audit{padding:10px 0;border-bottom:1px solid var(--line);font-size:11px;overflow-wrap:anywhere}
@media(min-width:1500px){#content{padding-top:33px}.hero{min-height:407px}.hero-art{max-width:362px}}@media(max-width:1290px){#content{margin:0 30px}.desktop-nav a{padding:11px 12px}.brand small{display:none}}@media(max-width:1050px){.desktop-nav a{padding:10px 9px;gap:6px}.desktop-nav .icon{display:none}#header{padding:0 25px;gap:10px}.hero{padding:35px}.hero h1{font-size:45px}.hero-art{max-width:295px}.lobby-below{grid-template-columns:1.7fr 1fr}.mode-card{padding:20px 17px;gap:12px}.mode-card h3{font-size:15px}.tile-icon{width:45px;height:45px;border-radius:15px}.battle-grid{grid-template-columns:minmax(0,1fr) 300px;gap:17px}.slots{gap:8px}.holding{padding:13px 10px}.holding b{font-size:13px}.holding strong{font-size:16px}.battle-grid .card{padding:19px}.duel .roi{font-size:23px}.agent-hero .nodes-art{min-width:210px}.grid3{gap:13px}.card{padding:23px}}@media(max-width:780px){body{font-size:14px}#header{height:70px;padding:0 20px}.brand{font-size:24px}.brand .brand-mark{width:32px;height:32px;font-size:21px;border-radius:11px}.desktop-nav{display:none}.account{font-size:11px}.account small{font-size:9px}.account .letter{width:32px;height:32px;border-radius:11px}#content{padding:20px 0;margin:0 18px;min-height:calc(100dvh - 240px)}#mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;background:#fff9efed;backdrop-filter:blur(15px);border-top:1px solid #e9dcc8;justify-content:space-around;padding:10px 7px calc(8px + env(safe-area-inset-bottom));height:calc(70px + env(safe-area-inset-bottom))}#mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:#b2987d;min-width:50px}#mobile-nav a.active{color:#ba7535}#mobile-nav a.active .icon{background:#f7e4c4;box-sizing:content-box;border-radius:8px;padding:3px;margin-top:-3px;margin-bottom:-3px}.icon{width:20px;height:20px}footer{padding:15px 20px calc(95px + env(safe-area-inset-bottom));font-size:9px}#toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:12px}.lobby-top{margin-bottom:14px}.lobby-top p{font-size:11px}.pill{font-size:10px;padding:4px 9px}.hero{display:block;padding:28px 26px 25px;min-height:390px;border-radius:29px}.hero h1{font-size:39px;margin:11px 0 12px;line-height:1.35}.hero p{font-size:12px;max-width:220px;line-height:1.85;margin-bottom:22px}.hero-art{position:absolute;top:30px;right:-14px;width:43%;max-width:205px;opacity:.98}.hero-copy{max-width:100%}.hero-copy h1{max-width:72%}.hero-copy .btn{width:100%;margin-top:1px}.hero-stats{gap:6px;justify-content:center;margin-top:17px}.hero-stats .pill{font-size:9px;padding:4px 8px}.lobby-below{grid-template-columns:1fr;gap:19px;margin-top:23px}.lobby-below>.stack{gap:15px}.mode-card{padding:19px 15px;gap:12px;min-height:99px;border-radius:23px}.mode-card h3{font-size:14px}.mode-card p{font-size:10px}.mode-card .arrow-link{display:none}.lobby-below .grid2{gap:13px}.rank-feature{min-height:157px}.rank-feature img{right:15px;width:122px}.rank-number{font-size:31px}.rank-foot{margin-top:14px;padding-top:10px}.live-strip{padding:18px 20px;border-radius:23px}.pagehead{margin:10px 0 24px;align-items:flex-start;flex-wrap:wrap}.pagehead h1{font-size:30px}.pagehead p{font-size:12px}.pagehead .eyebrow{font-size:10px}.pagehead .tabbar{margin-top:4px}.grid3{grid-template-columns:1fr}.grid2{gap:16px}.card{border-radius:24px;padding:23px}.agent-grid{grid-template-columns:1fr;gap:18px}.agent-hero{display:block;position:relative;padding:28px 25px;overflow:hidden}.agent-hero h1{font-size:26px;max-width:65%}.agent-hero p{font-size:12px;max-width:70%}.agent-hero .nodes-art{position:absolute;right:-48px;top:8px;transform:scale(.57);width:230px;min-width:0;transform-origin:center}.step{padding:13px 0}.duel{grid-template-columns:1fr 72px 1fr;padding:19px 15px;gap:8px;border-radius:24px}.duel-player{display:block}.duel-player:last-child{text-align:right}.duel-player .letter{display:none}.player-info b{font-size:12px;max-width:130px}.player-info small{font-size:9px}.duel .roi{font-size:22px;margin-top:3px}.timer{font-size:23px;letter-spacing:0}.duel .vs{font-size:8px;letter-spacing:2px}.battle-grid{display:flex;flex-direction:column;gap:18px}.battle-grid .card{padding:21px}.ticket{position:static}.equity{font-size:29px}.chart{height:154px}.chart-label{font-size:12px}.slots{gap:9px}.holding{border-radius:18px;padding:13px 10px;min-height:137px}.holding b{font-size:13px;margin-top:12px}.holding strong{font-size:16px;margin:7px 0}.holding .slothead{font-size:8px}.holding small{font-size:9px}.holding.empty-slot b{font-size:10px}.section-title h2{font-size:18px}.section-title{margin-bottom:16px}.ready-card{display:block;padding:22px}.ready-card .btn{width:100%;margin-top:15px}.rank-banner{padding:21px;gap:17px}.rank-banner img{width:82px;height:95px}.rank-banner h2{font-size:19px}.rank-banner .rank-number{font-size:27px}.rank-table th,.rank-table td{padding:14px 7px;font-size:12px}.rank-table th{font-size:10px}.rank-table .hide-mobile{display:none}.replay-card{display:grid;grid-template-columns:110px minmax(0,1fr)}.replay-cover{padding:16px;gap:7px;flex-wrap:wrap;align-content:center;min-height:175px}.replay-cover .letter{width:29px;height:33px;font-size:14px;border-radius:11px}.replay-cover b{font-size:15px}.replay-body{padding:21px 18px}.replay-body h3{font-size:15px}.replay-body p{font-size:10px;margin:6px 0 12px}.replay-body .btn{min-height:35px;padding:6px 12px;font-size:12px}.result-hero{padding:23px 18px;border-radius:28px}.result-hero img{width:145px;height:142px}.result-word{font-size:32px;letter-spacing:4px}.result-hero h2{font-size:18px}.result-metrics{gap:8px;margin-top:20px}.result-metrics>div{padding:16px 5px;border-radius:16px}.result-metrics b{font-size:18px}.result-metrics small{font-size:9px}.result-detail .grid3{grid-template-columns:repeat(3,1fr);gap:8px;font-size:10px}.result-detail b{font-size:17px}.result-detail{padding:22px 19px}.result-wrap>.row{flex-wrap:wrap}.result-wrap>.row .btn{flex:1;min-width:120px}.profile-head .letter{width:55px;height:55px;font-size:27px;border-radius:19px}.profile-head h1{font-size:24px}.profile-head{gap:15px}.auth-wrap{margin:15px auto}.auth-wrap .card{padding:27px 23px}.auth-wrap .tabbar button{padding:8px 14px;font-size:12px}.auth-wrap h1{font-size:25px}.queue-wrap{margin:18px auto}.queue-wrap .card{padding:27px 23px}.queue-wrap h1{font-size:24px}.queue-wrap img{width:170px}.room-code{font-size:29px;letter-spacing:4px}.rules>.card{padding:22px}.rules summary{font-size:14px}.rules details p,.rules details li{font-size:12px}.admin-row{flex-wrap:wrap}.modal-inner{padding:22px}.modal-head h2{font-size:21px}.modal-body{max-height:calc(85dvh - 130px)}dialog{max-height:85dvh}.readonly{min-height:230px}.profile-stats{grid-template-columns:1fr}.profile-actions{flex-wrap:wrap}}
@media(min-width:500px) and (max-width:780px){.hero{min-height:330px}.hero-art{width:210px;right:12px;top:5px}.hero p{max-width:65%}.hero-copy .btn{width:auto}.hero-stats{justify-content:flex-start}.hero-copy h1{max-width:70%}.hero h1{font-size:43px}.agent-hero .nodes-art{right:-10px;transform:scale(.75)}}@media(max-width:360px){#content{margin:0 13px}#header{padding:0 14px}.hero{padding:25px 22px}.hero h1{font-size:33px}.hero-art{right:-25px;top:46px;opacity:.87}.hero p{font-size:11px;max-width:190px}.hero-stats{gap:4px}.hero-stats .pill{font-size:8px;padding:4px 6px}.tile-icon{width:37px;height:42px;border-radius:13px}.mode-card{gap:9px;padding:17px 12px}.mode-card h3{font-size:12px}.mode-card p{font-size:9px}.holding strong{font-size:14px}.holding b{font-size:11px}.holding .slothead{font-size:7px}.duel .roi{font-size:19px}.duel{padding:16px 12px;grid-template-columns:1fr 62px 1fr}.timer{font-size:20px}.agent-hero h1{font-size:23px}.btn{padding:10px 15px}.result-metrics b{font-size:16px}.result-word{font-size:28px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}}
/* Long nicknames must not expand the compact mobile header. */
.account{min-width:0}.account .letter{flex-shrink:0}.account>span:last-child{min-width:0;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-head{min-width:0}.profile-head>div{min-width:0;overflow-wrap:anywhere}.replay-body h3{overflow-wrap:anywhere}
