@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/font-4.ttf) format('truetype');
}

:root{--bg:#020816;--panel:#020c18;--cyan:#00d9ef;--pink:#f000e8;--yellow:#fff000;--text:#eff7ff;--muted:#8faac0;--green:#00efa8;--border:#125171;--font:Rajdhani,"Arial Narrow",sans-serif;--pixel:"Press Start 2P",monospace}
.brand .brand-gun{color:#b45cff}
*{box-sizing:border-box}html{scroll-behavior:smooth;color-scheme:dark}body{margin:0;color:var(--text);font-family:var(--font);font-size:18px;font-weight:500;background:var(--bg);background-image:radial-gradient(ellipse at 30% 0%,#10144b 0,transparent 55%);min-height:100vh}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--cyan);text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}button{color:var(--text)}svg{width:24px;height:24px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h2{font-size:27px;line-height:1.2}h3{font-size:23px}p{line-height:1.45}small{font-size:13px}img{max-width:100%}.neon,.panel{border:1px solid var(--cyan);box-shadow:0 0 0 2px #07527d77,inset 0 0 14px #00d9ef0a,0 0 14px #00d9ef22;border-radius:9px;background:linear-gradient(135deg,#03111ddd,#020711f2)}.panel{position:relative;padding:22px}.panel:before{content:"";position:absolute;top:-2px;left:18px;width:43px;height:2px;background:var(--pink);box-shadow:0 0 6px var(--pink)}.header{height:68px;margin:10px 20px 0;padding:6px 16px;display:flex;align-items:center;gap:25px;position:relative;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:#fff;white-space:nowrap}.brand img{width:44px;height:38px;object-fit:contain;image-rendering:pixelated}.brand span{font-family:var(--pixel);font-size:24px;font-weight:900;letter-spacing:-1px;text-shadow:2px 2px #842968}.desktop-nav{display:flex;justify-content:center;gap:30px;flex:1}.desktop-nav a{color:#e7eaf7;font-weight:700;font-size:21px;padding:13px 0 9px;white-space:nowrap}.desktop-nav a.active{color:var(--yellow);border-bottom:2px solid var(--yellow);text-shadow:0 0 12px #fff00099}.wallet-btn{display:flex;align-items:center;justify-content:center;gap:10px;color:white;min-height:42px;padding:8px 17px;background:linear-gradient(135deg,#331785,#9100c9);border:2px solid #e89cfe;box-shadow:0 0 5px #fff,0 0 12px var(--pink),inset 0 0 10px var(--pink);border-radius:7px;font-weight:700;white-space:nowrap}.wallet-btn svg{width:21px}.icon-btn{border:1px solid var(--border);background:#03111e;border-radius:6px;min-width:43px;min-height:43px;color:var(--cyan)}.search-toggle{margin-left:auto}.skip{position:absolute;top:-80px;left:10px;z-index:100;background:var(--yellow);color:#000;padding:10px}.skip:focus{top:8px}main{max-width:1600px;margin:0 auto;min-height:calc(100vh - 150px)}.page{padding:20px}.page-banner{display:block;width:100%;border-bottom:1px solid #005973;background:#020717}.banner-wrap{overflow:hidden;position:relative;background:#020816}.banner-wrap img{width:100%;display:block}.hero-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,1fr);gap:0;align-items:stretch;padding:12px 20px 0}.hero-art{position:relative;align-self:start;min-width:0}.hero-art>img{display:block;width:100%;border-radius:7px}.art-launch{position:absolute;left:13.2%;top:40.6%;width:33.9%;height:10.8%;border:0;background:transparent;color:transparent}.art-launch:focus-visible{outline-offset:3px}.hero-mobile-cta{display:none}.fresh-panel{margin:20px 0 20px 4px;display:flex;flex-direction:column;padding:17px;align-self:start;min-height:450px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #125171;padding-bottom:13px;margin-bottom:17px}.panel-heading h2{font-size:25px;color:var(--yellow);margin:0;font-weight:700}.live-tag{display:flex;gap:6px;align-items:center;font-size:12px;color:#bacddc;white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:var(--green);box-shadow:0 0 8px var(--green)}.empty{padding:38px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.empty>svg{width:42px;height:42px;color:var(--cyan);opacity:.6;margin-bottom:8px}.empty h3{font-size:25px;margin-bottom:0}.empty p{color:var(--muted);max-width:350px;margin:0;font-size:17px}.empty .btn{margin-top:12px}.fresh-panel .empty{flex:1;min-height:245px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 20px;background:#021321;border:1px solid var(--cyan);border-radius:5px;color:var(--cyan);font-weight:700;text-align:center;line-height:1.2;transition:box-shadow .15s,transform .15s}.btn:hover{box-shadow:0 0 12px #00d9ef4d}.btn.yellow{background:var(--yellow);color:#020711;border:2px solid #ffff72;box-shadow:0 0 0 3px #554d00,0 0 15px #fff0006a;text-shadow:none;clip-path:polygon(3% 0,97% 0,100% 10%,100% 90%,97% 100%,3% 100%,0 90%,0 10%)}.btn.big{font-size:31px;min-height:61px;font-weight:700}.btn.block{width:100%}.btn.ghost{border-color:var(--border);color:var(--muted)}.eyebrow{font-weight:700;letter-spacing:1.8px;font-size:14px;color:var(--cyan)}.muted{color:var(--muted)}.home-meta{display:flex;gap:14px;padding:0 20px 20px;justify-content:space-between;font-size:15px;color:var(--muted)}.home-meta a{font-weight:700}.bottom-nav{display:none}.footer{display:flex;justify-content:space-between;max-width:1600px;margin:auto;padding:12px 24px 18px;color:#66849b;font-size:13px;letter-spacing:1px}.footer i{margin-left:6px}.toolbar{display:flex;gap:13px;align-items:center;margin:20px 0}.tabs{display:flex;gap:5px;padding:8px;overflow-x:auto;scrollbar-width:none;flex:1;white-space:nowrap;min-width:0}.tabs button{border:1px solid transparent;min-height:40px;background:transparent;color:#b5c7df;font-size:16px;font-weight:700;padding:8px 15px;border-radius:5px;white-space:nowrap}.tabs button.selected{border-color:var(--yellow);color:var(--yellow);box-shadow:inset 0 0 12px #fff00011,0 0 5px #fff00022}.filters{display:flex;gap:9px;align-items:center}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #13678d;border-radius:5px;background:#03101f;padding:0 11px}.search-box svg{color:#ab97ec;flex-shrink:0;width:20px}.search-box input{border:none;background:transparent;color:var(--text);min-width:0;width:100%;padding:11px 0;outline:none;font-size:17px}.filters select,select{color:var(--text);border:1px solid #17678a;background:#03101f;border-radius:5px;padding:10px;min-height:43px}.scope-bar{display:flex;align-items:center;gap:14px;margin:15px 0;color:var(--muted);font-size:15px;flex-wrap:wrap}.segmented{border:1px solid #28475e;border-radius:5px;padding:3px;display:inline-flex;gap:4px;background:#020913}.segmented button{border:0;padding:7px 15px;background:transparent;border-radius:3px;color:var(--muted);font-weight:700}.segmented button.active{color:var(--cyan);background:#073145}.data-status{margin-left:auto;display:flex;align-items:center;gap:6px;white-space:nowrap}.result-box{min-height:285px;padding:20px}.result-box>.empty{min-height:255px}.token-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}.token-card{padding:0;overflow:hidden;text-align:left;cursor:pointer;display:flex;flex-direction:column;background:#03101d;min-width:0}.token-art{height:135px;background:radial-gradient(ellipse at center,#2b1452,#050b20);display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden}.token-art img{width:100%;height:100%;object-fit:cover}.token-art svg{width:55px;height:55px;color:#8c70d9}.token-body{padding:11px}.token-body h3{font-size:20px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.token-symbol{color:#84c9dc;font-size:16px}.token-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:10px;gap:8px;font-size:17px}.token-stats small{display:block;color:var(--muted);font-size:11px}.up{color:var(--green)}.down{color:#ff3dd2}.token-address{font-family:monospace;color:var(--muted);font-size:11px;margin-top:10px;border-top:1px solid #17304a;padding-top:9px}.rank-table{width:100%;border-collapse:collapse;text-align:left}.rank-table th{color:#81adc8;font-size:14px;padding:11px;border-bottom:1px solid #0d415f;white-space:nowrap}.rank-table td{padding:11px;border-bottom:1px solid #11263a;font-size:19px}.table-token{display:flex;align-items:center;gap:10px}.table-token img,.table-token .mini-icon{width:43px;height:43px;object-fit:cover;border:1px solid var(--cyan);border-radius:5px;background:#0c1c31;display:flex;align-items:center;justify-content:center}.table-token b{display:block}.table-token small{color:#7abbd1}.rank-table .rank{color:var(--yellow);font-weight:700}.table-scroll{overflow:auto}.list-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px}.sidebar-panel+.sidebar-panel{margin-top:16px}.sidebar-panel h3{color:var(--yellow);font-size:23px;border-bottom:1px solid #173950;padding-bottom:12px;margin-bottom:10px}.small-empty{color:var(--muted);font-size:16px;padding:15px 0;text-align:center}.mini-token{width:100%;background:transparent;border:0;border-bottom:1px solid #142740;text-align:left;padding:10px 0;display:flex;gap:9px;align-items:center}.mini-token img{width:42px;height:42px;object-fit:cover;border-radius:4px;border:1px solid var(--cyan)}.mini-token .details{flex:1;min-width:0}.mini-token b{display:block;font-size:17px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mini-token small{color:#84baca}.launch-layout{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(480px,1.4fr);gap:20px;align-items:start;padding:24px}.launch-poster{border-radius:8px;overflow:hidden}.launch-poster img{width:100%;display:block}.launch-panel{border-color:#b732ef;box-shadow:0 0 0 2px #104a7c,0 0 17px #f000e859}.launch-panel>h1{font-family:var(--pixel);font-size:23px;line-height:1.5;color:var(--yellow);border-bottom:1px solid #10506b;padding-bottom:13px;margin-bottom:18px}.stepper{display:flex;justify-content:space-evenly;gap:10px;margin:15px 0 24px}.step{flex:1;display:flex;align-items:center;gap:8px;justify-content:center;position:relative;font-size:14px;color:var(--cyan);font-weight:700}.step em{font-style:normal;width:30px;height:30px;border:2px solid var(--cyan);border-radius:50%;display:flex;align-items:center;justify-content:center}.step.active{color:var(--yellow)}.step.active em{border-color:#ffaef2;color:#fff;box-shadow:0 0 9px var(--pink)}.launch-inner{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 18px}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field label{font-weight:700;font-size:16px;text-transform:uppercase;color:#bccbd7}.field label i{font-style:normal;color:var(--pink)}.field input,.field textarea{width:100%;border:1px solid #167da5;background:#041326;min-height:43px;border-radius:5px;padding:10px 12px;outline:none;color:#eff7ff;font-size:18px}.field input::placeholder,.field textarea::placeholder{color:#567396}.field textarea{resize:vertical;min-height:95px}.full{grid-column:1/-1}.upload{position:relative;min-height:100px;border:1px dashed var(--cyan);border-radius:6px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;text-align:center;color:#c3d7eb;background:#041226;padding:12px}.upload svg{color:var(--cyan);width:31px;height:31px}.upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload small{color:#6f91ac}.preview-panel{padding:14px;border-color:#1ca7db;align-self:start;text-align:center}.preview-panel h2{font-size:20px;color:#ffa4f7;border-bottom:1px solid #164362;padding-bottom:9px}.preview-img{aspect-ratio:1;width:100%;border:1px solid #8c2ba7;border-radius:5px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#1b1540,#061323);overflow:hidden}.preview-img svg{width:55px;height:55px;color:#337087}.preview-img img{width:100%;height:100%;object-fit:cover}.preview-panel h3{font-size:25px;overflow-wrap:anywhere;margin:12px 0 0}.preview-panel .symbol{color:var(--cyan);font-weight:700;font-size:22px}.preview-desc{color:#a2bad0;font-size:16px;margin:9px 0;overflow-wrap:anywhere;white-space:pre-wrap}.preview-spec{display:flex;justify-content:space-between;border-top:1px solid #173348;padding:9px 0;text-align:left;font-size:14px;color:#9db6cd}.preview-spec b{color:var(--cyan)}.fire-btn{margin-top:23px;min-height:63px;font-family:var(--pixel);font-size:26px}.form-hint{color:#89a4b9;font-size:14px;line-height:1.4;margin:11px 0 0}.advanced{grid-column:1/-1;font-size:16px;border-top:1px solid #143950;padding-top:10px}.advanced summary{color:var(--cyan);cursor:pointer}.advanced .field{margin-top:12px}.error-message{background:#351127;border:1px solid #c4418e;color:#ffb8d9;padding:12px;border-radius:5px;margin:15px 0 0;font-size:17px}.docs-layout{display:grid;grid-template-columns:230px 1fr 250px;gap:16px;padding:22px}.docs-menu{padding:15px;align-self:start}.docs-menu h3{color:var(--yellow);font-size:18px;margin:6px 0 10px}.docs-menu button{width:100%;background:transparent;text-align:left;border:1px solid transparent;padding:10px;color:#adbed1;display:flex;align-items:center;gap:10px;border-radius:5px;font-size:16px}.docs-menu button.selected{color:var(--yellow);border-color:var(--yellow);background:#171e11}.docs-content h1{font-size:36px;line-height:1.2}.docs-content>p{color:#b3c5d8}.guide-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}.guide-card{padding:19px;display:block;color:var(--text);text-align:left;min-height:135px;cursor:pointer}.guide-card svg{color:var(--pink);width:31px;height:31px;margin-bottom:8px}.guide-card h3{font-size:20px;margin:4px 0}.guide-card p{font-size:16px;color:var(--muted);margin-bottom:11px}.guide-card strong{color:var(--cyan);font-size:14px}.quick-link{border-bottom:1px solid #173248;display:flex;justify-content:space-between;padding:12px 0;font-size:16px}.docs-content ol,.docs-content ul{padding-left:22px;color:#b9cede}.docs-content li{padding:7px 0;line-height:1.4}.callout{border-left:3px solid var(--cyan);background:#04182b;padding:14px;margin:18px 0;font-size:17px;color:#acc6da}.about-grid{display:grid;grid-template-columns:2fr 1fr;gap:17px;padding:22px}.story{overflow:hidden;min-height:290px;padding-right:46%;background-image:linear-gradient(90deg,#020e1cfb 30%,#02081633 100%),url('/assets/story.webp');background-size:cover;background-position:right center}.story h2,.mission h2,.features h3{color:var(--yellow)}.story p{color:#bbccdd;font-size:19px}.mission-stack{display:flex;flex-direction:column;gap:17px}.mission{flex:1}.mission h2{font-size:25px;margin-bottom:10px}.mission p{font-size:18px;margin:0;color:#b9cede}.features{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.features .panel{padding:18px}.features svg{width:33px;height:33px;color:var(--cyan);margin-bottom:12px}.features h3{font-size:22px;margin:0 0 8px}.features p{font-size:17px;color:var(--muted);margin:0}.connection-line{text-align:center;padding:8px;background:#31132d;color:#f5bbdd;font-size:15px}.error-state{border:1px solid #76366f;background:#170d26;text-align:center;padding:24px;border-radius:6px;color:#e4bbdf}.error-state p{color:#bb93b7}.loading{padding:50px;text-align:center;color:var(--muted)}.spinner{width:25px;height:25px;border:2px solid #12394c;border-top-color:var(--cyan);border-radius:50%;animation:spin 1s linear infinite;display:inline-block;margin:0 9px -6px 0}@keyframes spin{to{transform:rotate(360deg)}}dialog{width:min(520px,calc(100% - 30px));max-height:90dvh;padding:0;border:1px solid var(--cyan);border-radius:10px;background:#030d1b;color:var(--text);box-shadow:0 0 30px #00d9ef33;overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 21px 13px;border-bottom:1px solid #17364f}.modal-head h2{margin:0;font-size:26px;color:var(--yellow)}.modal-body{padding:21px}.modal-body .btn{margin-top:12px}.modal-body p{color:#9bb6cb}.wallet-option,.more-option{display:flex;align-items:center;gap:13px;width:100%;background:#04152b;border:1px solid #164969;border-radius:6px;padding:15px;margin:10px 0;color:#edf6ff;text-align:left;font-weight:700}.wallet-option svg,.more-option svg{color:var(--cyan)}.wallet-option small{margin-left:auto;color:var(--muted);font-weight:500}.account-address{padding:13px;border:1px solid #225073;border-radius:5px;font-size:13px;color:#b9cde4;overflow-wrap:anywhere;font-family:monospace}.modal-token{display:flex;gap:15px;align-items:center;margin-bottom:20px}.modal-token img{width:73px;height:73px;border-radius:6px;border:1px solid var(--cyan);object-fit:cover}.modal-token h3{margin:0;font-size:27px}.detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-metrics div{background:#04182b;border:1px solid #123954;padding:13px;border-radius:5px}.detail-metrics small{display:block;color:var(--muted);font-size:13px}.detail-metrics b{font-size:22px}.detail-links{display:flex;gap:10px;flex-wrap:wrap}.review-list{display:grid;grid-template-columns:120px 1fr;gap:10px;padding:14px;background:#041426;border:1px solid #183f59;border-radius:6px;font-size:17px}.review-list dt{color:var(--muted)}.review-list dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.review-check{display:flex;gap:10px;margin:20px 0;color:#adc2d7;font-size:16px;align-items:flex-start}.review-check input{width:19px;height:19px;flex-shrink:0;accent-color:var(--yellow)}.tx-step{padding:14px 0;display:flex;gap:10px;border-bottom:1px solid #163145;color:#98b5cc}.tx-step.done{color:var(--green)}.tx-step.active{color:var(--yellow)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#061b2c;border:1px solid var(--cyan);color:#dbeffc;border-radius:6px;padding:12px 20px;z-index:100;max-width:90%;box-shadow:0 0 20px #00d9ef3d;text-align:center;font-size:17px}.hidden{display:none!important}
@media(min-width:1400px){.hero-grid{grid-template-columns:minmax(0,1120px) 1fr}.launch-layout{grid-template-columns:40% 1fr}.launch-panel{margin-top:20px}.launch-poster img{max-height:760px;object-fit:cover}}
@media(max-width:1190px){.desktop-nav{gap:17px}.desktop-nav a{font-size:18px}.brand span{font-size:20px}.header{gap:16px;margin:10px 14px 0}.wallet-btn{padding:8px 11px;font-size:17px}.token-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.launch-layout{grid-template-columns:30% 1fr}.launch-inner{grid-template-columns:1fr 175px}.docs-layout{grid-template-columns:210px 1fr}.docs-right{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:16px}.docs-right .panel{margin:0}.hero-grid{grid-template-columns:minmax(0,2fr) minmax(270px,1fr)}.fresh-panel{min-height:350px}.fresh-panel .empty{min-height:210px}.panel-heading h2{font-size:23px}.features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.desktop-nav{display:none}.header{height:64px;gap:12px}.brand span{font-size:20px}.header .search-toggle{margin-left:auto}.hero-grid{grid-template-columns:minmax(0,1fr) 290px}.toolbar{flex-direction:column;align-items:stretch;gap:12px}.filters>.search-box{flex:1}.list-layout{grid-template-columns:minmax(0,1fr)}.top-sidebars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.sidebar-panel+.sidebar-panel{margin-top:0}.token-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.launch-layout{grid-template-columns:1fr;max-width:840px;margin:auto}.launch-poster{height:230px}.launch-poster img{height:100%;object-fit:cover;object-position:top}.launch-inner{grid-template-columns:1fr 220px}.about-grid{grid-template-columns:1fr}.story{min-height:290px}.mission-stack{display:grid;grid-template-columns:1fr 1fr}.features{grid-column:auto}.footer{margin-bottom:0}.docs-layout{grid-template-columns:190px 1fr}.brand img{width:38px}}
@media(max-width:650px){body{font-size:17px;padding-bottom:83px;background:#020816}.header{margin:8px 9px 0;padding:6px 9px;height:58px;gap:9px;position:sticky;top:6px;background:#020b19f5;backdrop-filter:blur(10px)}.brand{gap:8px}.brand img{width:33px;height:33px}.brand span{font-size:13px;letter-spacing:-.8px}.wallet-btn{font-size:13px;min-height:34px;padding:5px 8px;gap:5px;border-width:1px;max-width:134px}.wallet-btn svg{width:17px}.header .search-toggle{border:0;min-width:28px;min-height:36px}.search-toggle svg{width:20px}.hero-grid{display:flex;flex-direction:column;padding:10px 0 0}.hero-art{width:100%;border-radius:0}.hero-art>img{border-radius:0}.art-launch{min-height:44px;top:39.5%}.hero-mobile-cta{display:block;padding:0 19px;position:relative;margin:-4px 0 19px}.hero-mobile-cta .btn{font-size:25px;min-height:55px}.hero-mobile-cta p{text-align:center;margin:13px 0 0;font-size:13px;letter-spacing:1.7px;color:#b5c5d9}.fresh-panel{margin:0 14px 15px;min-height:285px;align-self:stretch;padding:16px}.fresh-panel .empty{min-height:195px;padding:15px 10px}.panel-heading h2{font-size:25px}.panel-heading{margin-bottom:8px}.panel-heading .live-tag{font-size:10px}.fresh-panel .empty>svg{width:32px;height:32px;margin-bottom:0}.empty h3{font-size:24px}.empty p{font-size:16px}.home-meta{padding:0 16px 12px;font-size:12px;gap:10px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(68px + env(safe-area-inset-bottom));padding:6px 7px calc(4px + env(safe-area-inset-bottom));background:#020b19f5;border-top:1px solid var(--cyan);box-shadow:0 -3px 20px #00d9ef21;z-index:40;backdrop-filter:blur(15px);justify-content:space-around;align-items:center}.bottom-nav a,.bottom-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#7e9db6;background:transparent;border:0;min-height:49px;min-width:57px;padding:4px}.bottom-nav svg{width:23px;height:23px}.bottom-nav small{font-size:10px;font-weight:700;letter-spacing:.5px}.bottom-nav .active{color:var(--yellow)}.bottom-nav .launch-nav{color:var(--yellow)}.bottom-nav .launch-nav svg{background:#fff000;border-radius:6px;padding:5px;width:32px;height:32px;color:#030716;margin-top:-7px;box-shadow:0 0 14px #fff00055}.footer{padding:11px 17px 10px;font-size:10px;letter-spacing:.4px;gap:10px}.page{padding:13px}.page-banner{min-height:120px;object-fit:cover;object-position:left;width:100%}.banner-wrap{padding-top:10px}.banner-wrap img{height:147px;object-fit:cover;object-position:left center;width:auto;min-width:100%;max-width:none}.banner-wrap.explore img{height:145px;margin-left:-23px}.banner-wrap.top img{height:145px;margin-left:-63px}.banner-wrap.docs img{height:145px;margin-left:-76px}.banner-wrap.about img{height:151px;margin-left:-30px}.toolbar{gap:10px;margin:12px 0}.tabs{padding:5px;gap:0;flex-shrink:0}.tabs button{font-size:14px;padding:9px 12px;min-height:36px}.filters{gap:9px}.filters select{font-size:14px;width:110px;min-height:42px}.search-box input{font-size:16px;min-height:42px;padding:7px 0}.scope-bar{margin:12px 0;gap:7px;font-size:13px}.segmented button{font-size:14px;padding:6px 12px}.data-status{font-size:12px;margin-left:auto}.data-origin{width:100%;font-size:12px;margin:4px 0;color:#718ea8;line-height:1.3}.panel{padding:16px}.result-box{padding:12px;min-height:310px}.result-box>.empty{min-height:280px;padding:24px 15px}.token-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.token-art{height:125px}.token-body{padding:10px}.token-body h3{font-size:19px}.token-stats{font-size:16px;gap:5px}.token-address{font-size:10px}.top-sidebars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.sidebar-panel{padding:13px}.sidebar-panel h3{font-size:18px}.small-empty{font-size:14px}.table-scroll .rank-table{min-width:650px}.rank-table td{font-size:16px}.rank-table th{font-size:13px}.launch-layout{padding:12px 13px;gap:14px}.launch-poster{height:183px;margin:-1px -13px 0;border-radius:0}.launch-poster img{object-fit:cover;object-position:center 8%;width:100%;height:auto;transform:translateY(-10px)}.launch-panel{padding:18px 15px}.launch-panel>h1{font-size:18px;text-align:center;padding-bottom:15px;line-height:1.7;margin-bottom:10px}.stepper{margin:14px 0 21px}.step{font-size:12px;gap:5px}.step em{width:26px;height:26px}.launch-inner{display:flex;flex-direction:column;gap:16px}.launch-form{width:100%}.form-grid{grid-template-columns:1fr 1fr;gap:13px 12px}.field input,.field textarea{font-size:16px;padding:10px;min-height:43px}.field label{font-size:14px}.form-grid>.description-field,.form-grid>.upload-field{grid-column:1/-1}.preview-panel{width:100%;display:grid;grid-template-columns:85px 1fr;gap:0 14px;text-align:left;padding:13px;position:relative}.preview-panel h2{grid-column:1/-1;font-size:17px;margin-bottom:11px}.preview-img{grid-column:1;grid-row:2/6;width:85px;height:85px}.preview-panel h3{font-size:21px;margin:0}.preview-panel .symbol{font-size:18px}.preview-desc{font-size:14px;margin:5px 0;max-height:44px;overflow:hidden}.preview-spec{grid-column:1/-1;font-size:13px;padding:7px 0}.preview-spec.first{margin-top:12px}.fire-btn{font-size:22px;min-height:55px;margin-top:18px}.form-hint{font-size:13px}.docs-layout{display:flex;flex-direction:column;padding:13px;gap:13px}.docs-menu{width:100%;padding:9px;display:flex;gap:5px;overflow:auto;white-space:nowrap}.docs-menu h3{display:none}.docs-menu button{width:auto;flex-shrink:0;padding:7px 10px;font-size:14px}.docs-menu svg{display:none}.docs-content{padding:20px 16px}.docs-content h1{font-size:30px}.guide-cards{gap:10px;margin-top:19px}.guide-card{padding:14px;min-height:150px}.guide-card h3{font-size:19px}.guide-card p{font-size:14px}.guide-card strong{font-size:12px}.docs-right{display:flex;flex-direction:column;gap:13px}.about-grid{padding:13px;gap:13px}.story{padding:19px 17px 23px;min-height:330px;background-image:linear-gradient(90deg,#020e1cf5,#020816c9),url('/assets/story.webp');background-position:70%;background-size:cover}.story h2{font-size:26px}.story p{font-size:17px}.mission-stack{gap:13px}.mission{padding:16px}.mission h2{font-size:22px}.mission p{font-size:15px}.features{gap:12px}.features .panel{padding:16px}.features h3{font-size:18px}.features p{font-size:15px}.features svg{width:27px;height:27px}.modal-head{padding:18px 16px 11px}.modal-head h2{font-size:24px}.modal-body{padding:17px}.review-list{grid-template-columns:95px 1fr;font-size:16px}dialog{max-height:86dvh}#toast{bottom:85px;font-size:16px;width:max-content;max-width:90%;padding:11px 15px}.error-state{padding:19px}.mini-token img{width:31px;height:31px}.mini-token b{font-size:14px}.mini-token small{font-size:12px}.mini-token>span:last-child{font-size:14px}.mini-token{gap:6px}}
@media(max-width:360px){.brand span{font-size:14px}.brand img{width:28px}.header{gap:6px}.wallet-btn{font-size:11px;padding:6px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.panel-heading h2{font-size:22px}}
.pending-line{text-align:center;padding:10px;background:#191906;color:#fff49e;font-size:16px;border-bottom:1px solid #5b5400}.pending-line button{background:none;border:0;color:var(--yellow);font-weight:700;padding:3px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.coin-page,.cats-page{max-width:1500px;margin:auto}.back-link{display:inline-block;margin:4px 0 18px}.coin-header{display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}.coin-identity{display:flex;gap:18px;align-items:center;min-width:0}.coin-identity>img{width:90px;height:90px;border-radius:12px;object-fit:cover;border:1px solid var(--cyan)}.coin-identity>svg{width:70px;height:70px;color:var(--yellow);flex-shrink:0}.coin-identity h1{font-size:36px;margin:6px 0;overflow-wrap:anywhere}.coin-actions{display:flex;gap:10px;flex-wrap:wrap}.coin-stats{grid-template-columns:repeat(6,minmax(0,1fr));margin:20px 0 12px}.coin-stats b{overflow-wrap:anywhere}.coin-market-note{display:flex;justify-content:space-between;align-items:center;gap:14px;color:var(--muted);font-size:15px;margin:0 0 20px}.coin-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:20px}.coin-columns>div,.coin-columns>aside{min-width:0}.coin-columns .panel+.panel{margin-top:20px}.coin-columns h2{font-size:23px}.chart-panel iframe{display:block;border:0;width:100%;height:510px;border-radius:5px;background:#020816}.chart-panel .empty{min-height:300px}.chart-panel>p{font-size:14px;margin:12px 0 0}.coin-story>p{white-space:pre-wrap;overflow-wrap:anywhere;color:#b9cede}.coin-story .detail-links{margin:14px 0}.coin-story small{display:block}.curve-panel p{margin:10px 0;color:#b9cede}.curve-panel strong{font-size:23px}.account-list a{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid #163145;font-size:16px}.account-list b{color:var(--text)}.accounts-panel>p{font-size:14px}.activity-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:16px}.activity-table th{color:var(--muted);font-size:13px;font-weight:600}.activity-table td,.activity-table th{padding:12px 8px;border-bottom:1px solid #163145}.activity-panel>div>p{font-size:14px}.btn.saved{border-color:var(--yellow);color:var(--yellow)}.cats-page>header h1{font-size:36px;margin:10px 0}.cats-page>header>p{color:var(--muted)}.cats-page>#cats-results{margin-top:20px}.watch-card{min-width:0;display:flex;flex-direction:column}.watch-card .token-card{width:100%;height:100%;text-align:left}.watch-card .remove-cat{margin-top:10px;width:100%;min-height:36px;font-size:14px;border-color:#1b3b52;color:var(--muted)}.share-preview{border:1px solid var(--cyan);border-radius:6px;overflow:hidden;background:#020816}.share-preview canvas{display:block;width:100%;height:auto}.desktop-nav{gap:20px}.desktop-nav a{white-space:nowrap}
@media(max-width:1190px){.desktop-nav{gap:11px}.desktop-nav a{font-size:16px}.coin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.coin-columns{grid-template-columns:minmax(0,1fr)}.coin-columns>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.coin-columns>aside .panel+.panel{margin:0}.coin-story{grid-column:1/-1}.chart-panel iframe{height:450px}}
@media(max-width:650px){.coin-header{padding:17px;gap:17px}.coin-identity{gap:13px}.coin-identity>img{width:67px;height:67px}.coin-identity h1{font-size:28px}.coin-actions{width:100%;gap:8px}.coin-actions .btn{flex:1;min-width:125px;font-size:15px;min-height:42px;padding:8px}.coin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}.coin-stats b{font-size:22px}.coin-market-note{align-items:flex-start;font-size:13px}.coin-market-note .btn{font-size:13px;padding:7px;min-height:35px;flex-shrink:0}.coin-columns{gap:15px}.coin-columns>aside{display:flex;flex-direction:column;gap:15px}.coin-columns .panel+.panel{margin-top:15px}.chart-panel iframe{height:390px}.chart-panel h2{font-size:20px}.chart-panel .panel-heading .muted{font-size:13px}.activity-table{font-size:14px}.activity-table td,.activity-table th{padding:10px 5px}.cats-page .detail-links{gap:8px}.cats-page .detail-links .btn{font-size:15px}.cats-page>header h1{font-size:30px}.watch-card .token-art{height:120px}.share-preview{margin:0 -6px}}
/* Theme only: retain the established app page layout. */
:root{--cyan:#75dfff;--yellow:#fff000;--border:#384953}
body{background-color:#020816;background-image:radial-gradient(ellipse at 30% 0%,#101d39 0,transparent 55%)}
.panel,.neon{border-color:#b5a13b;box-shadow:0 0 0 2px #6b561133,inset 0 0 14px #ffdf0005,0 0 14px #ffdf000b}.panel:before{background:var(--yellow);box-shadow:0 0 6px #fff00055}.panel-heading{border-color:#4f4524}.story{background-image:linear-gradient(90deg,#020e1cfb 30%,#02081688),url('/assets/kingdom-map.webp')}
.header{position:sticky;top:0;background:#020b19fa}.desktop-nav{gap:15px}.desktop-nav a{font-size:17px}.brand>span{font-size:21px}.header-more{display:none}.header .brand-gun{color:#b45cff}.bottom-nav{border-top-color:#b5a13b}
.home-art-title{position:absolute;left:6%;top:8%;width:48%;pointer-events:none}.home-art-title h1{font-family:var(--pixel);font-size:clamp(14px,2.6vw,38px);line-height:1.35;letter-spacing:-1px;margin:0 0 13px;color:#eff7ff;text-shadow:2px 2px #14578a}.home-art-title h1 span{color:#b45cff;text-shadow:2px 2px #441a60}.home-art-title p{font-family:var(--pixel);font-size:clamp(7px,.7vw,11px);line-height:1.6;white-space:nowrap;margin:0}.hero-art>.art-launch{left:6%;top:34%;width:39%;height:auto;min-height:44px;padding:8px 12px;background:#fff000;color:#020816;border:2px solid #fff16a;font-weight:700;font-size:clamp(16px,1.8vw,25px);box-shadow:0 0 0 2px #554d00}.hero-art>img{border:1px solid #8f7f2d}.hero-mobile-cta .btn{margin-top:13px}
.app-theme-banner{min-height:130px;padding:20px 25px;background:linear-gradient(90deg,#020816f5,#02081655),url('/assets/kingdom-hero-cattlegun-v40.webp') center 32%/cover;border-bottom:1px solid #8f7f2d}.app-theme-banner h1{font-family:var(--pixel);font-size:24px;line-height:1.4;margin:10px 0}.app-theme-banner p{margin:0;font-size:16px;color:#b9ccdf}
.compact-kingdom{max-width:1200px;margin:auto}.kingdom-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 16px}.kingdom-title h1{font-family:var(--pixel);font-size:24px;line-height:1.4;margin:9px 0 0;color:#fff000}.kingdom-title .eyebrow{font-size:11px}.kingdom-tabs{display:flex;gap:10px}.kingdom-tabs .btn{font-size:16px;min-height:42px;padding:9px 14px}.kingdom-map-panel{padding:12px}.kingdom-map-compact{position:relative;width:min(100%,560px);margin:auto;aspect-ratio:4/3}.kingdom-map-compact>img{display:block;width:100%;height:100%;object-fit:contain}.kingdom-map-marker{position:absolute;transform:translate(-25%,-25%);display:flex;align-items:center;justify-content:center;width:38px;height:44px;background:#020816e8;border:1px solid #fff000;color:#fff000;font-weight:700;font-size:17px;border-radius:4px}.kingdom-map-marker:hover{background:#fff000;color:#020816}.kingdom-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}.kingdom-choices a{display:flex;align-items:center;gap:8px;min-height:39px;padding:6px 10px;border:1px solid #3f442f;border-radius:4px;background:#051224;color:#d2e3f2;font-size:15px}.kingdom-choices b{color:#fff000}.kingdom-choices a:hover{border-color:#fff000}.kingdom-guide-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:23px;align-items:start;padding:20px}.guide-topic-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guide-topic-buttons .btn{font-size:15px;padding:8px 10px;min-height:40px}.guide-topic-copy{margin-top:22px}.guide-topic-copy h2{font-size:25px;line-height:1.25;margin:12px 0}.guide-topic-copy p{color:#b9ccdf;font-size:18px;line-height:1.45;margin:0}.kingdom-guide-image{text-align:center;color:#a7cfe0;font-size:13px}.kingdom-guide-image img{display:block;width:100%;height:360px;object-fit:contain}.kingdom-guide-image span{display:block;margin-top:9px}
@media(max-width:1190px){.desktop-nav{gap:12px}.desktop-nav a{font-size:15px}.brand>span{font-size:19px}.kingdom-map-compact{width:min(100%,520px)}}
@media(max-width:900px){.header-more{display:flex;align-items:center;justify-content:center}.kingdom-title{gap:12px}.kingdom-title h1{font-size:20px}}
@media(max-width:650px){.header{top:6px}.header-more{display:none;min-width:28px;min-height:35px;border:0;background:none;padding:0}.header-more svg{width:21px}.brand>span{font-size:13px}.header{gap:7px}.hero-art>.art-launch{display:none}.home-art-title h1{font-size:14px;margin-bottom:7px}.home-art-title p{font-size:7px}.hero-mobile-cta{margin-bottom:16px}.hero-mobile-cta .btn{margin-top:8px}.hero-mobile-cta p{margin-top:10px}.bottom-nav{padding-left:3px;padding-right:3px}.bottom-nav a,.bottom-nav button{min-width:45px;padding:3px}.bottom-nav small{font-size:9px}.bottom-nav svg{width:21px;height:21px}.app-theme-banner{min-height:105px;padding:15px}.app-theme-banner h1{font-size:20px;margin:8px 0}.app-theme-banner p{font-size:14px}.compact-kingdom{padding:13px}.kingdom-title{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:12px}.kingdom-title h1{font-size:19px;margin-top:7px}.kingdom-title .eyebrow{font-size:10px}.kingdom-tabs{width:100%;gap:8px}.kingdom-tabs .btn{flex:1;font-size:15px;min-height:39px;padding:7px}.kingdom-map-panel{padding:9px}.kingdom-map-compact{width:100%}.kingdom-map-marker{width:31px;height:40px;font-size:15px}.kingdom-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:9px}.kingdom-choices a{min-height:34px;padding:5px 7px;font-size:13px;gap:6px}.kingdom-guide-panel{display:flex;flex-direction:column;gap:15px;padding:13px}.guide-topic-area{width:100%}.guide-topic-buttons{gap:6px}.guide-topic-buttons .btn{font-size:13px;min-height:37px;padding:7px}.guide-topic-copy{margin-top:14px}.guide-topic-copy h2{font-size:22px;margin:9px 0}.guide-topic-copy p{font-size:16px}.kingdom-guide-image{display:flex;align-items:center;gap:13px;text-align:left;font-size:14px;width:100%;border-top:1px solid #414023;padding-top:12px}.kingdom-guide-image img{width:90px;height:110px;object-fit:contain}.kingdom-guide-image span{margin:0}.story{background-image:linear-gradient(90deg,#020e1cf5,#020816c9),url('/assets/kingdom-map.webp')}}

/* Top Cats stays within the viewport; phones use a compact ranked list. */
.list-layout>*,.top-sidebars,.top-sidebars>*,.rank-desktop{min-width:0;max-width:100%}.rank-desktop{overflow-x:auto}.rank-mobile{display:none}
@media(max-width:900px){.list-layout{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr)}.rank-desktop{display:none}.rank-mobile{display:flex;flex-direction:column;gap:9px;min-width:0;width:100%}.mobile-rank-card{display:block;width:100%;min-width:0;text-align:left;padding:12px 10px;background:#041326;color:var(--text);border:1px solid #354b5a;border-radius:5px}.mobile-rank-head{display:flex;align-items:center;gap:8px;min-width:0}.mobile-rank-number{flex-shrink:0;color:var(--yellow);font-size:15px;font-weight:700;min-width:22px}.mobile-rank-head>img,.mobile-rank-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;object-fit:cover;border:1px solid #34546a;border-radius:4px;background:#081c30}.mobile-rank-icon svg{width:23px;height:23px}.mobile-rank-name{flex:1;min-width:0}.mobile-rank-name b{display:block;font-size:18px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-rank-name small{display:block;font-size:12px;color:#8cafc4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-rank-change{font-size:14px;font-weight:700;flex-shrink:0;max-width:82px;overflow-wrap:anywhere;text-align:right}.mobile-rank-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:11px;padding-top:9px;border-top:1px solid #1e3448}.mobile-rank-metrics>span{min-width:0}.mobile-rank-metrics small{display:block;font-size:10px;line-height:1.3;color:var(--muted);margin-bottom:3px}.mobile-rank-metrics b{font-size:15px;line-height:1.3;overflow-wrap:anywhere}.top-sidebars .mini-token{min-width:0;gap:6px}.top-sidebars .mini-token>span:last-child{font-size:12px;max-width:55px;overflow-wrap:anywhere;flex-shrink:0}.filters,.toolbar,.tabs,.scope-bar{min-width:0;max-width:100%}.filters>.search-box{min-width:0}.tabs{width:100%}}

html.mobile-app-mode .list-layout{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr)}html.mobile-app-mode .rank-desktop{display:none}html.mobile-app-mode .rank-mobile{display:flex;flex-direction:column;gap:9px;min-width:0;width:100%}html.mobile-app-mode .mobile-rank-card{display:block;width:100%;min-width:0;text-align:left;padding:12px 10px;background:#041326;color:var(--text);border:1px solid #354b5a;border-radius:5px}html.mobile-app-mode .mobile-rank-head{display:flex;align-items:center;gap:8px;min-width:0}html.mobile-app-mode .mobile-rank-number{flex-shrink:0;color:var(--yellow);font-size:15px;font-weight:700;min-width:22px}html.mobile-app-mode .mobile-rank-head>img,html.mobile-app-mode .mobile-rank-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;object-fit:cover;border:1px solid #34546a;border-radius:4px;background:#081c30}html.mobile-app-mode .mobile-rank-icon svg{width:23px;height:23px}html.mobile-app-mode .mobile-rank-name{flex:1;min-width:0}html.mobile-app-mode .mobile-rank-name b{display:block;font-size:18px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.mobile-app-mode .mobile-rank-name small{display:block;font-size:12px;color:#8cafc4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html.mobile-app-mode .mobile-rank-change{font-size:14px;font-weight:700;flex-shrink:0;max-width:82px;overflow-wrap:anywhere;text-align:right}html.mobile-app-mode .mobile-rank-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:11px;padding-top:9px;border-top:1px solid #1e3448}html.mobile-app-mode .mobile-rank-metrics>span{min-width:0}html.mobile-app-mode .mobile-rank-metrics small{display:block;font-size:10px;line-height:1.3;color:var(--muted);margin-bottom:3px}html.mobile-app-mode .mobile-rank-metrics b{font-size:15px;line-height:1.3;overflow-wrap:anywhere}html.mobile-app-mode .top-sidebars .mini-token{min-width:0;gap:6px}html.mobile-app-mode .top-sidebars .mini-token>span:last-child{font-size:12px;max-width:55px;overflow-wrap:anywhere;flex-shrink:0}html.mobile-app-mode .filters,html.mobile-app-mode .toolbar,html.mobile-app-mode .tabs,html.mobile-app-mode .scope-bar{min-width:0;max-width:100%}html.mobile-app-mode .filters>.search-box{min-width:0}html.mobile-app-mode .tabs{width:100%}

/* Keep all phone app surfaces inside the viewport, including after navigation. */
html.mobile-app-mode,html.mobile-app-mode body{width:100%;max-width:100%;min-width:0;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html.mobile-app-mode main{width:100%;max-width:100%;min-width:0}
html.mobile-app-mode .top-page,html.mobile-app-mode .top-page .toolbar,html.mobile-app-mode .top-page .filters,html.mobile-app-mode .top-page .scope-bar,html.mobile-app-mode .top-page .result-box{width:100%;max-width:100%;min-width:0}
html.mobile-app-mode .top-page .toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px}
html.mobile-app-mode .top-page .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;flex:none;width:100%;min-width:0;overflow:visible;white-space:normal}
html.mobile-app-mode .top-page .tabs button{white-space:normal;padding:8px 4px;min-width:0;min-height:38px;font-size:13px;line-height:1.25}
html.mobile-app-mode .top-page .filters{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}
html.mobile-app-mode .top-page .filters select{display:none}
html.mobile-app-mode .top-page .search-box{width:100%;min-width:0;max-width:100%}
html.mobile-app-mode input,html.mobile-app-mode textarea,html.mobile-app-mode select{font-size:16px}
html.mobile-app-mode .top-page .scope-bar{display:flex;flex-wrap:wrap;gap:8px}
html.mobile-app-mode .top-page .segmented{max-width:100%;min-width:0}
html.mobile-app-mode .top-page .segmented button{padding:7px 10px;font-size:14px;min-width:0}
html.mobile-app-mode .top-page .data-status{width:100%;margin-left:0;font-size:12px}
html.mobile-app-mode .top-page .data-origin{width:100%;min-width:0;overflow-wrap:anywhere}
html.mobile-app-mode .top-page .list-layout{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;max-width:100%}
html.mobile-app-mode .top-page .top-sidebars{width:100%;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
html.mobile-app-mode .top-page .sidebar-panel{min-width:0;padding:10px}
html.mobile-app-mode .top-page .sidebar-panel h3{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
html.mobile-app-mode .top-page .rank-mobile{display:flex;width:100%;min-width:0;max-width:100%}
html.mobile-app-mode .top-page .mobile-rank-card{max-width:100%}
html.mobile-app-mode .top-page .rank-desktop{display:none}
html.mobile-app-mode body{padding-bottom:83px}
html.mobile-app-mode .header{height:58px;margin:8px 9px 0;padding:6px 9px;gap:7px;max-width:calc(100% - 18px)}
html.mobile-app-mode .desktop-nav,html.mobile-app-mode .header-more{display:none}
html.mobile-app-mode .brand{gap:8px}
html.mobile-app-mode .brand img{width:33px;height:33px}
html.mobile-app-mode .brand span{font-size:13px;letter-spacing:-.8px}
html.mobile-app-mode .wallet-btn{font-size:13px;min-height:34px;padding:5px 8px;gap:5px;border-width:1px;max-width:134px}
html.mobile-app-mode .wallet-btn svg{width:17px}
html.mobile-app-mode .header .search-toggle{border:0;min-width:28px;min-height:36px}
html.mobile-app-mode .header .search-toggle svg{width:20px}
html.mobile-app-mode .bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;max-width:100%;height:calc(68px + env(safe-area-inset-bottom));padding:6px 3px calc(4px + env(safe-area-inset-bottom));background:#020b19f5;border-top:1px solid #b5a13b;z-index:40;justify-content:space-around;align-items:center}
html.mobile-app-mode .bottom-nav a,html.mobile-app-mode .bottom-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#7e9db6;background:transparent;border:0;min-height:49px;min-width:0;flex:1;padding:3px}
html.mobile-app-mode .bottom-nav svg{width:21px;height:21px}
html.mobile-app-mode .bottom-nav small{font-size:9px;font-weight:700;letter-spacing:.5px}
html.mobile-app-mode .bottom-nav .active{color:var(--yellow)}
html.mobile-app-mode .bottom-nav .launch-nav{color:var(--yellow)}
html.mobile-app-mode .bottom-nav .launch-nav svg{background:#fff000;border-radius:6px;padding:5px;width:32px;height:32px;color:#030716;margin-top:-7px}

/* Desktop artwork only; the approved mobile surfaces retain their existing rules. */
.launch-poster .launch-poster-desktop,.kingdom-guide-topic-image{display:none}
@media(min-width:901px){
  html:not(.mobile-app-mode) .launch-layout{align-items:stretch}
  html:not(.mobile-app-mode) .launch-poster{position:relative;min-height:700px;align-self:stretch;border:1px solid #8f7f2d;background:#020816}
  html:not(.mobile-app-mode) .launch-poster .launch-poster-mobile{display:none}
  html:not(.mobile-app-mode) .launch-poster .launch-poster-desktop{display:block;position:absolute;inset:0;width:100%;height:100%;background:#020816}
  html:not(.mobile-app-mode) .launch-poster-desktop:after{content:"";position:absolute;inset:0;background:linear-gradient(#02081666,transparent 36%);pointer-events:none}
  html:not(.mobile-app-mode) .launch-poster-heading{position:absolute;top:4%;left:5%;right:5%;padding:0;text-align:center;z-index:2}
  html:not(.mobile-app-mode) .launch-poster-heading h2{font-family:var(--pixel);font-size:clamp(27px,3vw,44px);line-height:1.3;letter-spacing:-1px;margin:0 0 18px;color:#eff7ff;text-shadow:3px 3px #125580,-2px -2px #44105c,0 0 14px #d600e699}
  html:not(.mobile-app-mode) .launch-poster-heading h2 span{display:block;color:#fff000;margin-top:7px;text-shadow:3px 3px #5e4013,0 0 10px #ffea0044}
  html:not(.mobile-app-mode) .launch-poster-heading p{font-size:clamp(13px,1.15vw,18px);font-weight:700;line-height:1.65;letter-spacing:1px;color:#eff7ff;margin:0;text-shadow:0 2px 5px #020816}
  html:not(.mobile-app-mode) .launch-desktop-scene{position:absolute;inset:0;overflow:hidden;background:#020816}
  html:not(.mobile-app-mode) .launch-desktop-scene img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;transform:none}
  html:not(.mobile-app-mode) .launch-panel{margin-top:0}
  html:not(.mobile-app-mode) .compact-kingdom{max-width:1500px}
  html:not(.mobile-app-mode) .kingdom-map-compact{width:min(100%,720px)}
  html:not(.mobile-app-mode) .kingdom-guide-panel{grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);gap:30px;padding:28px;align-items:center}
  html:not(.mobile-app-mode) .kingdom-guide-overview{display:none}
  html:not(.mobile-app-mode) .kingdom-guide-topic-image{display:block;min-width:0;margin:0}
  html:not(.mobile-app-mode) .kingdom-topic-crop{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:var(--topic-ratio);border-radius:6px;background:#020816}
  html:not(.mobile-app-mode) .kingdom-topic-crop img{position:absolute;width:var(--topic-width);max-width:none;height:auto;left:var(--topic-left);top:var(--topic-top)}
  html:not(.mobile-app-mode) .kingdom-guide-topic-image figcaption{text-align:center;margin-top:14px;color:#a7cfe0;font-size:16px}
}

/* Compact coin details, isolated to the mobile app. */
.coin-view-tabs,.coin-action-label-compact{display:none}
html.mobile-app-mode .coin-page{padding:10px 13px 16px;width:100%;min-width:0}
html.mobile-app-mode .coin-page .back-link{font-size:14px;margin:2px 0 12px;min-height:32px;display:inline-flex;align-items:center}
html.mobile-app-mode .coin-page #coin-content.coin-ready{padding:0;text-align:left;min-width:0;width:100%}
html.mobile-app-mode .coin-page .coin-header{padding:13px;gap:12px;display:flex;flex-direction:column;align-items:stretch}
html.mobile-app-mode .coin-page .coin-identity{gap:12px;min-width:0;width:100%}
html.mobile-app-mode .coin-page .coin-identity>img,html.mobile-app-mode .coin-page .coin-identity>svg{width:48px;height:48px;flex-shrink:0;border-radius:8px}
html.mobile-app-mode .coin-page .coin-identity>div{min-width:0;flex:1}
html.mobile-app-mode .coin-page .coin-identity .eyebrow{font-size:10px;letter-spacing:1px}
html.mobile-app-mode .coin-page .coin-identity h1{font-size:25px;line-height:1.15;margin:4px 0;overflow-wrap:anywhere}
html.mobile-app-mode .coin-page .coin-identity .token-symbol{font-size:15px;overflow-wrap:anywhere}
html.mobile-app-mode .coin-page .coin-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr);width:100%;gap:7px}
html.mobile-app-mode .coin-page .coin-actions .btn{min-width:0;min-height:44px;font-size:14px;gap:5px;padding:7px 5px}
html.mobile-app-mode .coin-page .coin-actions svg{width:18px;height:18px;flex-shrink:0}
html.mobile-app-mode .coin-page .coin-action-label-full{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.mobile-app-mode .coin-page .coin-action-label-compact{display:inline}
html.mobile-app-mode .coin-page .coin-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0 8px}
html.mobile-app-mode .coin-page .coin-stats>div{padding:10px 8px;min-width:0;min-height:61px}
html.mobile-app-mode .coin-page .coin-stats small{font-size:10px;line-height:1.3;letter-spacing:.3px;margin-bottom:5px}
html.mobile-app-mode .coin-page .coin-stats b{display:block;font-size:19px;line-height:1.2;overflow-wrap:anywhere}
html.mobile-app-mode .coin-page .coin-market-note{gap:9px;font-size:12px;line-height:1.35;margin:0 0 12px;align-items:center}
html.mobile-app-mode .coin-page .coin-market-note>span{min-width:0;flex:1;overflow-wrap:anywhere}
html.mobile-app-mode .coin-page .coin-market-note .btn{min-height:36px;padding:6px 9px;font-size:12px;gap:5px}
html.mobile-app-mode .coin-page .coin-market-note svg{width:16px;height:16px}
html.mobile-app-mode .coin-page .coin-view-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;margin:0 0 10px;border:1px solid #41452f;border-radius:7px;background:#030f20}
html.mobile-app-mode .coin-page .coin-view-tabs button{border:1px solid transparent;border-radius:4px;background:transparent;color:#a7bed1;min-width:0;min-height:40px;font-size:14px;font-weight:700;padding:6px 3px}
html.mobile-app-mode .coin-page .coin-view-tabs button.selected{border-color:#c4b42e;color:var(--yellow);background:#25270f}
html.mobile-app-mode .coin-page .coin-columns{display:block;min-width:0}
html.mobile-app-mode .coin-page .coin-columns>div,html.mobile-app-mode .coin-page .coin-columns>aside{display:contents}
html.mobile-app-mode .coin-page .coin-columns .panel{display:none;margin:0;padding:13px;min-width:0}
html.mobile-app-mode .coin-page .coin-columns[data-coin-section="chart"] .chart-panel,html.mobile-app-mode .coin-page .coin-columns[data-coin-section="activity"] .activity-panel,html.mobile-app-mode .coin-page .coin-columns[data-coin-section="about"] .coin-story,html.mobile-app-mode .coin-page .coin-columns[data-coin-section="about"] .curve-panel,html.mobile-app-mode .coin-page .coin-columns[data-coin-section="accounts"] .accounts-panel{display:block}
html.mobile-app-mode .coin-page .coin-columns[data-coin-section="about"] .curve-panel{margin-top:10px}
html.mobile-app-mode .coin-page .coin-columns h2{font-size:18px;line-height:1.3;margin-bottom:12px}
html.mobile-app-mode .coin-page .chart-panel .panel-heading{margin-bottom:10px;padding-bottom:9px}
html.mobile-app-mode .coin-page .chart-panel .panel-heading h2{margin:0}
html.mobile-app-mode .coin-page .chart-panel .panel-heading .muted{font-size:12px}
html.mobile-app-mode .coin-page .chart-panel iframe{height:320px}
html.mobile-app-mode .coin-page .chart-panel .empty{min-height:150px;padding:18px 10px;gap:7px}
html.mobile-app-mode .coin-page .chart-panel .empty>svg{width:29px;height:29px;margin:0}
html.mobile-app-mode .coin-page .chart-panel .empty h3{font-size:20px}
html.mobile-app-mode .coin-page .chart-panel .empty p{font-size:14px}
html.mobile-app-mode .coin-page .coin-story>p,html.mobile-app-mode .coin-page .curve-panel p{font-size:15px;line-height:1.4}
html.mobile-app-mode .coin-page .account-address{font-size:12px;overflow-wrap:anywhere;margin:8px 0}
html.mobile-app-mode .coin-page .coin-story .btn{min-height:40px;font-size:13px;padding:7px 10px}
html.mobile-app-mode .coin-page .coin-story .detail-links{gap:6px}
html.mobile-app-mode .coin-page .activity-table{white-space:normal;width:100%;table-layout:fixed;font-size:12px}
html.mobile-app-mode .coin-page .activity-table td,html.mobile-app-mode .coin-page .activity-table th{padding:9px 4px;overflow-wrap:anywhere}
html.mobile-app-mode .coin-page .activity-table th{font-size:10px}

/* Test-only launch labeling. Intentionally compact on desktop and mobile. */
.test-coin-badge{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:fit-content;max-width:100%;box-sizing:border-box;padding:3px 6px;margin:3px 0;border:1px solid #fff000;border-radius:4px;background:rgba(255,240,0,.1);color:#fff000;font-family:inherit;font-size:10px!important;line-height:1.25;font-weight:800;letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere}
.test-launch-notice,.test-coin-notice{display:flex;align-items:center;gap:7px 12px;flex-wrap:wrap;padding:9px 12px;margin:9px 0;border:1px solid rgba(255,222,112,.35);border-radius:7px;background:rgba(246,191,54,.06);font-size:12px;line-height:1.35;color:#dfd5b8;min-width:0}
.test-launch-notice b,.test-coin-notice strong{font-size:11px;letter-spacing:.035em;color:#ffdb6f}
.test-coin-notice{margin:10px 0 14px}
.mobile-rank-name .test-coin-badge,.mini-token .test-coin-badge,.table-token .test-coin-badge{font-size:9px!important;padding:2px 5px;margin:2px 0}
.owner-test-list{margin-top:18px;padding:15px;border:1px solid rgba(255,222,112,.22);border-radius:9px;background:rgba(255,255,255,.02)}
.owner-test-list h2{font-size:20px;margin:0 0 8px}
.owner-test-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 0;border-top:1px solid rgba(255,255,255,.12)}
.owner-test-identity{min-width:0;flex:1 1 200px;display:flex;flex-direction:column;gap:3px}
.owner-test-address{font-family:monospace;color:#a8c4cf;overflow-wrap:anywhere;font-size:11px}
.owner-test-row .btn{flex:0 0 auto;white-space:normal;max-width:100%}
@media (max-width:600px){.test-launch-notice,.test-coin-notice{font-size:11px;padding:8px;gap:5px}.owner-test-list{padding:10px}.owner-test-row .btn{font-size:12px;padding:7px 9px}}


/* Avatar Forge · isolated styles, inherits actual Cattlegun fonts/color tokens. */
.forge-page{max-width:1480px;margin:0 auto;padding-bottom:24px}.forge-page .kingdom-title h1,.forge-page h2,.forge-page .forge-library-head h3{font-family:var(--pixel)}
.forge-page .kingdom-title{margin-bottom:14px}.forge-page .kingdom-title h1{color:var(--yellow)}
.forge-shell{padding:18px}.forge-strap{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.forge-strap h2{font-size:20px;line-height:1.55;color:var(--yellow);margin:8px 0 10px}.forge-strap p{color:#a7d6f0;font-size:14px;letter-spacing:.07em;margin:0}.forge-mark{flex:none;color:var(--yellow);border:1px solid #77651e;background:#09162a;padding:12px;border-radius:5px;font-size:18px;font-weight:800}
.forge-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:13px}.forge-facts>div{min-width:0;background:#04162c;border:1px solid #304e59;border-radius:5px;text-align:center;padding:10px 5px}.forge-facts b{display:block;color:var(--yellow);font-size:23px}.forge-facts span{display:block;font-size:11px;font-weight:700;letter-spacing:1px;color:#99bcd2}
.forge-disclosure{display:flex;flex-wrap:wrap;gap:5px 13px;align-items:baseline;border:1px solid #796e3a;border-radius:5px;background:#19190b;padding:10px 12px;margin-bottom:17px;font-size:13px;color:#f6e5a0}.forge-disclosure b{color:var(--yellow)}.forge-disclosure span{flex:1 1 260px}
.forge-layout{display:grid;grid-template-columns:minmax(255px,345px) minmax(0,1fr);gap:16px;align-items:start}.forge-selected{position:sticky;top:84px;padding:13px;min-width:0}.forge-big{width:100%;max-height:320px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;margin:10px 0;background:#030a26;border:1px solid #43516b;border-radius:5px;overflow:hidden}.forge-big img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.forge-selected-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--yellow);font-size:17px;font-weight:800}.forge-selected h3{font-family:var(--pixel);font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:#eef7ff;margin:13px 0}.forge-traits{display:flex;flex-wrap:wrap;gap:6px;min-height:34px}.forge-traits span{padding:5px 7px;border:1px solid #355371;border-radius:4px;background:#04152e;color:#a6cce4;font-size:12px}.forge-buybox{display:flex;justify-content:space-between;align-items:center;gap:9px;margin:14px 0 7px;padding:10px;border:1px solid #59511e;background:#0e150f}.forge-buybox small{color:#a5c6d3;font-size:11px}.forge-buybox strong{color:var(--yellow);font-size:22px;white-space:nowrap}.forge-status{display:flex;justify-content:space-between;gap:9px;color:#b3cbd9;font-size:13px;margin:12px 0}.forge-status b{color:#ffe090}.forge-page #forge-buy:disabled{width:100%;opacity:.65;cursor:not-allowed;border-color:#4a5965;color:#b2c4cc}.forge-note{font-size:13px;color:#a3b9cc;line-height:1.3;margin:8px 0 0}
.forge-library{min-width:0}.forge-library-head{display:flex;justify-content:space-between;align-items:baseline;gap:9px;margin-bottom:12px}.forge-library-head h3{font-size:13px;color:var(--yellow);line-height:1.6;margin:0}.forge-library-head span{font-size:12px;color:#b0d2e8;white-space:nowrap}.forge-controls{display:flex;flex-direction:column;gap:9px;margin-bottom:12px}.forge-filters{display:flex;flex-wrap:wrap;gap:6px}.forge-filters button{border:1px solid #425d6b;border-radius:4px;background:#07162b;color:#b5d2e6;padding:7px 8px;min-height:30px;font-size:12px;font-weight:700}.forge-filters button.active{background:var(--yellow);border-color:var(--yellow);color:#020816}.forge-filters small{opacity:.8}.forge-search{display:flex;gap:8px;align-items:center;border:1px solid #2d6b80;border-radius:4px;background:#04182b;color:#75dfff;padding:0 10px;width:100%}.forge-search svg{width:18px;height:18px}.forge-search input{width:100%;min-width:0;color:var(--text);background:transparent;border:0;outline:0;min-height:39px;font-size:14px}.forge-search:focus-within{border-color:var(--yellow)}
.forge-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.forge-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;padding:7px;background:#031327;color:#eff7ff;border:1px solid #395466;border-radius:5px;outline-offset:2px}.forge-card.selected{border-color:var(--yellow);box-shadow:0 0 0 1px #a19834,0 0 15px #fff00022}.forge-card:hover,.forge-card:focus-visible{border-color:var(--yellow)}.forge-card-image{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;position:relative;background:#060b25;border-radius:3px}.forge-card-image img{width:100%;height:100%;display:block;object-fit:contain;image-rendering:pixelated}.forge-card-image small{position:absolute;top:4px;left:4px;padding:2px 4px;background:#020916d9;color:var(--yellow);font-size:10px}.forge-card-name{font-size:13px;font-weight:700;line-height:1.1;min-height:28px;overflow-wrap:anywhere;margin-top:6px}.forge-tier{font-size:11px;font-weight:800;letter-spacing:.6px;display:block;margin:5px 0}.forge-tier.mythic{color:#fff000}.forge-tier.legendary{color:#ffbc57}.forge-tier.epic{color:#c98aff}.forge-tier.rare{color:#76c5ff}.forge-tier.uncommon{color:#67deba}.forge-tier.common{color:#b1bed3}.forge-card-price{font-size:10px;color:#aabfd4;margin-top:auto}.forge-no-results{grid-column:1/-1}.forge-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:13px}.forge-pagination button{border:1px solid #526475;border-radius:4px;color:#e2f5ff;background:#061d34;min-height:35px;min-width:34px;padding:6px 9px;font-weight:700;font-size:12px}.forge-pagination button.active{background:var(--yellow);color:#020816;border-color:var(--yellow)}.forge-pagination button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:1190px){.forge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:780px){.forge-layout{display:flex;flex-direction:column}.forge-selected{position:static;width:100%}.forge-big{max-width:260px;margin:10px auto}.forge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.forge-shell{padding:10px}.forge-page .kingdom-title h1{font-size:19px}.forge-strap{align-items:flex-start;gap:6px}.forge-strap h2{font-size:11px;line-height:1.6}.forge-strap p{font-size:11px}.forge-strap .eyebrow{font-size:9px}.forge-mark{font-size:11px;padding:8px;white-space:nowrap}.forge-facts{gap:5px}.forge-facts b{font-size:18px}.forge-facts span{font-size:9px;letter-spacing:0}.forge-disclosure{font-size:12px}.forge-library-head h3{font-size:10px}.forge-library-head span{font-size:11px}.forge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.forge-card{padding:6px}.forge-card-name{font-size:13px;min-height:28px}.forge-big{max-width:220px}.forge-selected h3{font-size:11px}.forge-controls{max-width:100%}.forge-filters button{font-size:11px;padding:6px}.forge-pagination button{min-width:30px;padding:5px 7px}}
@media(max-width:365px){.forge-shell{padding:8px}.forge-mark{display:none}.forge-card-name{font-size:12px}.forge-grid{gap:6px}}
@media(max-width:780px){.forge-library{width:100%}}
html.mobile-app-mode .forge-page,html.mobile-app-mode .forge-shell,html.mobile-app-mode .forge-controls{min-width:0;max-width:100%}
html.mobile-app-mode .forge-page .forge-layout{display:flex;flex-direction:column}
html.mobile-app-mode .forge-page .forge-selected{position:static;width:100%;min-width:0}
html.mobile-app-mode .forge-page .forge-library{width:100%;min-width:0}
html.mobile-app-mode .forge-page .forge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html.mobile-app-mode .forge-page .forge-shell{padding:10px}
html.mobile-app-mode .forge-page .forge-big{max-width:220px;margin:10px auto}
html.mobile-app-mode .forge-page .forge-strap h2{font-size:11px;line-height:1.6}
html.mobile-app-mode .forge-page .forge-strap p{font-size:11px}
html.mobile-app-mode .forge-page .forge-mark{font-size:11px;padding:8px;white-space:nowrap}
html.mobile-app-mode .forge-page .forge-filters{max-width:100%;min-width:0}
html.mobile-app-mode .forge-page .forge-search input{font-size:16px}
/* Give the desktop home the same full-height presence as the other districts. */
@media(min-width:901px){
  html:not(.mobile-app-mode) .hero-grid{grid-template-columns:minmax(0,1fr) minmax(300px,340px);gap:18px;padding:18px 20px 16px;align-items:stretch;min-height:max(480px,calc(100svh - 190px))}
  html:not(.mobile-app-mode) .hero-grid .hero-art{align-self:stretch;min-height:460px;border:1px solid #a58f36;border-radius:9px;overflow:hidden;background:#061329;box-shadow:0 12px 36px #0005}
  html:not(.mobile-app-mode) .hero-grid .hero-art>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:20% center;max-height:none;border:0;border-radius:0}
  html:not(.mobile-app-mode) .hero-grid .fresh-panel{align-self:stretch;margin:0;min-height:0;padding:22px;gap:14px;border-radius:9px;background:linear-gradient(160deg,#0b1930,#020918);box-shadow:0 12px 36px #0005}
  html:not(.mobile-app-mode) .hero-grid #fresh-results{flex:1;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}
  html:not(.mobile-app-mode) .hero-grid .fresh-panel .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;padding:24px 8px}
  html:not(.mobile-app-mode) .hero-grid .fresh-panel>.btn{margin-top:auto;flex-shrink:0}
  html:not(.mobile-app-mode) .hero-grid .home-art-title{z-index:1}
  html:not(.mobile-app-mode) .hero-grid .art-launch{z-index:1;width:46%;max-width:620px;min-height:72px;padding:16px 22px;font-size:clamp(24px,2.3vw,34px);line-height:1.3;border-radius:7px}
  html:not(.mobile-app-mode) .home-meta{padding:0 20px 14px}
}

/* Home launch CTA uses the same pixel face and cut-out cat as FIRE. */
.hero-art>.art-launch,.hero-mobile-cta .btn{font-family:var(--pixel);text-transform:uppercase;white-space:nowrap;letter-spacing:0}
.home-cat-logo{width:27px;height:27px;flex-shrink:0;stroke:none;filter:none;image-rendering:pixelated}
@media(max-width:900px){.hero-mobile-cta .btn{min-height:48px;font-size:14px;padding:10px 12px;gap:11px}.hero-mobile-cta .home-cat-logo{width:25px;height:25px}}
html.mobile-app-mode .hero-mobile-cta .btn{min-height:48px;font-size:14px;padding:10px 12px;gap:11px}
@media(max-width:360px){.hero-mobile-cta .btn,html.mobile-app-mode .hero-mobile-cta .btn{font-size:12px}}

/* Small account entry in the existing footer; management links require verified ownership. */
.footer .footer-account{margin-left:auto;flex-shrink:0;white-space:nowrap;text-align:right}
.footer .footer-account a{color:#b5cbe7;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:24px}
.footer .footer-account .owner-settings-link{color:#e9d76a}
.owner-panel .owner-access-message{padding:15px 0;color:var(--text);line-height:1.5}
.owner-panel .owner-access-message h2{font-size:22px;margin:0 0 10px}
.owner-panel .owner-access-message p{font-size:16px;max-width:620px}
.owner-panel .owner-access-message .btn{margin:8px 10px 0 0}
@media(max-width:650px){.footer{flex-wrap:wrap}.footer .footer-account{font-size:11px}.footer .footer-account a{min-height:32px}}

/* Royal Palace is fully scoped: existing mobile and desktop pages stay intact. */
.palace-page{max-width:1320px;margin:auto}.palace-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 18px}.palace-heading h1{font:clamp(18px,2vw,27px)/1.4 var(--pixel);color:var(--yellow);margin:9px 0 0}.palace-heading .eyebrow{font-size:12px}.palace-back{white-space:nowrap}.palace-shell{border:1px solid #a39831;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#061527,#020b18);box-shadow:0 0 24px #fff0000a}.palace-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px;border-bottom:1px solid #37526d}.palace-tabs a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:1px solid #37668a;border-radius:8px;color:#dce8ff;font-weight:700;background:#061426}.palace-tabs a[aria-current]{background:var(--yellow);border-color:var(--yellow);color:#08101b;box-shadow:0 0 14px #fff00035}.palace-tabs svg{width:21px;height:21px}.palace-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:stretch}.palace-layout>*{min-width:0}.palace-scene{position:relative;min-height:520px;overflow:hidden;border-right:1px solid #294966;background:#050d22}.palace-hero{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 30%;image-rendering:auto}.palace-scene:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#030b19f5)}.palace-scene-copy{position:absolute;bottom:24px;left:24px;right:24px;z-index:1}.palace-scene-copy .eyebrow{color:#89e3ff;font-size:11px;letter-spacing:2px}.palace-scene-copy h2{font:clamp(18px,2vw,26px)/1.55 var(--pixel);color:var(--yellow);margin:13px 0}.palace-scene-copy p{max-width:350px;color:#c5d5e9;margin:0;font-size:19px}.palace-scene-news .palace-scene-copy{padding:22px;border:1px solid #b1a34c;background:#071327e8;border-radius:9px}.palace-scene-roadmap .palace-hero{object-position:50% 50%;opacity:.85}.palace-chat,.palace-scrolls{padding:22px}.palace-chat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.palace-chat-top h2{font-size:25px;margin:6px 0 0}.palace-clear{font-size:14px;color:#9cbdd3;background:none;border:0;text-decoration:underline;padding:10px 0 10px 10px}.palace-prompts{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.palace-prompts button{padding:7px 11px;background:#0a2037;border:1px solid #376b88;border-radius:20px;font-size:15px}.palace-messages{height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:5px 5px 12px 0;display:flex;flex-direction:column;gap:15px}.palace-message{display:flex;gap:9px;align-items:flex-start;flex-shrink:0;max-width:100%}.palace-avatar{width:40px;height:40px;object-fit:cover;border:1px solid #8b8044;border-radius:7px;flex-shrink:0;image-rendering:pixelated}.palace-message>div{padding:11px 13px;background:#0c2138;border:1px solid #335b7c;border-radius:12px;min-width:0;max-width:calc(100% - 49px)}.palace-message p{font-size:17px;line-height:1.4;overflow-wrap:anywhere;margin:0;white-space:normal}.palace-user{justify-content:flex-end}.palace-user>div{background:#a3c5f4;color:#061329;border-color:#bbd7ff}.palace-source{display:block;color:#9cb8cd;line-height:1.3;font-size:11px;margin-top:8px}.palace-answer-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.palace-answer-links .btn{min-height:35px;padding:5px 10px;font-size:14px}.palace-chat-status{font-size:14px;color:#84deef;min-height:19px;margin:6px 0}.palace-compose{display:flex;gap:7px;border:1px solid #71b9e3;border-radius:12px;padding:6px;background:#061629}.palace-compose input{background:none;border:0;min-width:0;flex:1;padding:8px;color:#fff;font-size:17px}.palace-compose .btn{min-height:42px;padding:7px 12px}.palace-compose svg{width:20px}.palace-chat-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8da8be;font-size:12px;margin:9px 0}.palace-chat-foot label{display:flex;align-items:center;gap:5px}.palace-chat-foot select{max-width:115px;background:#07172a;color:#c6dced;border:1px solid #28465f;border-radius:5px;font-size:13px;padding:4px}.palace-questions{margin-top:10px;border-top:1px solid #28465f;padding-top:12px}.palace-questions summary{cursor:pointer;color:#8bdaee;font-size:15px}.palace-questions>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px;max-height:210px;overflow-y:auto}.palace-questions button{text-align:left;background:#0c2035;border:1px solid #294c68;border-radius:5px;padding:9px;font-size:14px}.palace-scrolls h2{font-size:29px;color:var(--yellow);margin:8px 0}.palace-scrolls>.muted{font-size:16px}.palace-posts{display:grid;gap:12px;max-height:520px;overflow-y:auto;padding:2px 5px 4px 0;scrollbar-width:thin}.palace-post{border:1px solid #3b648a;border-radius:9px;padding:17px;background:linear-gradient(135deg,#0c223b,#041123);overflow-wrap:anywhere}.palace-post h3{font-size:23px;margin:10px 0 7px}.palace-post p{font-size:17px;color:#bdd0e5;white-space:normal;margin:0 0 12px}.palace-post>a{font-size:15px;font-weight:700}.palace-post-label{font-size:11px;letter-spacing:1px;color:var(--yellow)}.palace-stage{display:inline-block;border:1px solid #985cf2;background:#34215b;color:#dcc6ff;padding:4px 8px;border-radius:5px;font-weight:700}.palace-live{color:#73ffd0;border-color:#2cac87;background:#07362f}.palace-timeline{position:relative;padding-left:21px}.palace-timeline:before{content:'';position:absolute;left:5px;top:6px;bottom:6px;width:2px;background:#e2d737}.palace-timeline .palace-post{position:relative;overflow:visible}.palace-timeline .palace-post:before{content:'';position:absolute;left:-21px;top:25px;width:10px;height:10px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 3px #193146}.palace-bottom-back{display:block;border-top:1px solid #294966;text-align:center;padding:14px;font-size:16px}.palace-loading{padding:35px 22px;color:#9cbbcf}.palace-owner{margin-top:28px;border-top:1px solid #38526a;padding-top:23px}.palace-editor-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.palace-editor-columns>section{min-width:0}.palace-editor-row{border:1px solid #38526a;border-radius:8px;padding:14px;margin:0 0 14px;min-width:0}.palace-editor-row legend{color:var(--yellow);padding:0 7px}.palace-editor-row label{display:block;margin-bottom:12px}.palace-editor-row input,.palace-editor-row textarea,.palace-editor-row select{display:block;width:100%;padding:9px;margin-top:5px;background:#07172a;color:#fff;border:1px solid #38526a;border-radius:5px;font-size:16px}.palace-editor-row textarea{resize:vertical}.palace-editor-row .btn{font-size:14px;min-height:36px}.palace-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.palace-page{padding:13px}.palace-heading{margin:0 0 13px}.palace-heading h1{font-size:18px}.palace-heading .eyebrow{font-size:10px}.palace-back{display:none}.palace-tabs{padding:10px;gap:7px}.palace-tabs a{font-size:15px;min-height:43px;gap:6px}.palace-tabs svg{width:18px;height:18px}.palace-layout{display:block}.palace-scene{height:210px;min-height:0;border-right:0;border-bottom:1px solid #294966}.palace-hero{object-position:50% 38%}.palace-scene-ask:after,.palace-scene-ask .palace-scene-copy{display:none}.palace-scene-copy{left:18px;right:18px;bottom:15px}.palace-scene-copy h2{font-size:20px;line-height:1.45;margin:9px 0}.palace-scene-copy p{display:none}.palace-scene-copy .eyebrow{font-size:9px}.palace-scene-news .palace-scene-copy{padding:13px;background:#061327c9;left:16px;right:auto}.palace-chat,.palace-scrolls{padding:14px}.palace-chat-top h2{font-size:21px}.palace-chat-top .eyebrow{font-size:11px}.palace-prompts{margin:11px 0;gap:6px}.palace-prompts button{font-size:13px;padding:6px 9px}.palace-messages{height:245px;gap:12px}.palace-message p{font-size:16px}.palace-avatar{width:33px;height:33px}.palace-message{gap:7px}.palace-message>div{max-width:calc(100% - 40px);padding:10px}.palace-compose input{font-size:16px;padding:7px 5px}.palace-compose .btn span{display:none}.palace-compose .btn{min-width:42px;padding:7px}.palace-chat-foot{font-size:10px;align-items:flex-start}.palace-chat-foot label{font-size:0}.palace-chat-foot select{font-size:12px}.palace-source{font-size:10px}.palace-scrolls h2{font-size:25px}.palace-posts{max-height:none}.palace-post{padding:14px}.palace-post h3{font-size:22px}.palace-post p{font-size:16px}.palace-editor-columns{grid-template-columns:minmax(0,1fr)}.palace-bottom-back{padding:12px;font-size:15px}}
/* Some phones report a 980px viewport. Reuse the app's existing mobile detection. */
html.mobile-app-mode .palace-page{padding:13px;max-width:100%}html.mobile-app-mode .palace-layout{display:block}html.mobile-app-mode .palace-scene{height:210px;min-height:0;border-right:0}html.mobile-app-mode .palace-hero{object-position:50% 38%}html.mobile-app-mode .palace-scene-ask .palace-scene-copy,html.mobile-app-mode .palace-scene-ask:after,html.mobile-app-mode .palace-back{display:none}html.mobile-app-mode .palace-heading h1{font-size:18px}html.mobile-app-mode .palace-tabs{padding:10px;gap:7px}html.mobile-app-mode .palace-tabs a{font-size:15px;min-height:43px}html.mobile-app-mode .palace-chat,html.mobile-app-mode .palace-scrolls{padding:14px}html.mobile-app-mode .palace-messages{height:245px}html.mobile-app-mode .palace-compose input{font-size:16px}html.mobile-app-mode .palace-editor-columns{grid-template-columns:minmax(0,1fr)}
@media(max-width:360px){.palace-page{padding:9px}.palace-tabs{gap:5px;padding:8px}.palace-tabs a{gap:4px;font-size:13px}.palace-tabs svg{width:15px}.palace-heading h1{font-size:16px}.palace-scene{height:185px}.palace-chat{padding:11px}.palace-prompts button{font-size:12px;padding:6px 8px}.palace-questions>div{grid-template-columns:minmax(0,1fr)}}

/* Every rule is scoped to the new district. Existing page layouts are untouched. */
.arena-page{max-width:1280px;margin:0 auto;min-width:0;container-name:arena;container-type:inline-size}
.arena-page .arena-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.arena-page .arena-heading h1{font-family:var(--pixel);font-size:clamp(24px,3.4vw,46px);color:#fff000;margin:10px 0;line-height:1.3}
.arena-page .arena-slogan{margin:0;font-weight:700;font-size:clamp(16px,1.7vw,23px);color:#f3f6ff}
.arena-page .arena-back{flex-shrink:0}
.arena-page .arena-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:540px;margin:16px 0;gap:5px}
.arena-page .arena-tabs a{text-align:center;border:1px solid #375d99;border-radius:6px;padding:11px 8px;background:#061025;min-width:0;color:#e0ebff;font-size:17px}
.arena-page .arena-tabs a[aria-current]{background:#fff000;color:#071126;border-color:#fff000;font-weight:800}
.arena-page .arena-game{border:2px solid #c2aa3a;border-radius:9px;overflow:hidden;min-width:0;background:#040c1c}
.arena-page .arena-game-title{text-align:center;padding:12px 8px 8px;border-bottom:1px solid #344770;background:#071228}
.arena-page .arena-game-title h2{font-family:var(--pixel);font-size:clamp(18px,2vw,29px);color:#fff000;margin:0 0 7px}
.arena-page .arena-game-title>span{font-size:12px;letter-spacing:1px;color:#e0eaff}
.arena-page .arena-hud{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:12px 24px;min-width:0;background:#071326}
.arena-page .arena-hud>div{display:flex;gap:10px;align-items:center;min-width:0}
.arena-page .arena-hud img{image-rendering:pixelated;border:1px solid #aa9932;width:42px;height:42px;border-radius:4px}
.arena-page .arena-hud b{font-size:13px;letter-spacing:1px}
.arena-page .arena-cpu-hud{justify-content:flex-end;text-align:right}
.arena-page .arena-hearts{color:#ff5f68;font-size:22px;line-height:1.1;white-space:nowrap;letter-spacing:3px}
.arena-page .arena-heart-empty{color:#2e446c}
.arena-page .arena-timer{padding:7px 12px;border:2px solid #baa331;color:#f8f6dc;font-family:monospace;font-size:26px;border-radius:5px}
.arena-page .arena-field{height:clamp(220px,27vw,330px);position:relative;overflow:hidden;isolation:isolate;background:#102243}
.arena-page .arena-field::before{content:'';position:absolute;inset:0;background:linear-gradient(#05132b66,#10233e77),url('/assets/district-arena-v30.webp') center/cover;filter:blur(2px);z-index:-1}
.arena-page .arena-floor{position:absolute;bottom:0;width:100%;height:40px;background:linear-gradient(#d9b875 0 8px,#493924 8px 16px,#172238 16px);border-top:3px solid #f0d293;box-shadow:0 -8px 25px #fff00013}
.arena-page .arena-fighter{position:absolute;bottom:28px;left:22%;transform:translateX(-50%);width:clamp(76px,11vw,130px);height:auto;z-index:1;transition:left .05s linear,translate .12s;image-rendering:pixelated}
.arena-page .arena-fighter img{display:block;width:100%;height:auto;image-rendering:pixelated;filter:drop-shadow(0 3px 0 #0008)}
.arena-page .arena-cpu{left:78%}
.arena-page .arena-paw{position:absolute;right:-30px;top:48%;font-size:48px;color:#fff000;opacity:0;text-shadow:0 0 14px #f9a600}
.arena-page .arena-cpu .arena-paw{right:auto;left:-30px}
.arena-page .arena-fighter.attacking .arena-paw{opacity:1}
.arena-page .arena-fighter.attacking{translate:4px 0}
.arena-page .arena-fighter.dodging{translate:0 -32px;opacity:.65}
.arena-page .arena-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:18px;text-align:center;z-index:3;background:#020817ba;backdrop-filter:blur(2px)}
.arena-page .arena-overlay[hidden]{display:none}
.arena-page .arena-overlay h3{font-size:clamp(20px,2.2vw,28px);color:#fff000;margin:0}
.arena-page .arena-overlay p{font-size:15px;margin:0 0 7px;max-width:430px}
.arena-page .arena-lock-icon svg{width:27px;height:27px;color:#fff000}
.arena-page .arena-overlay .btn{min-height:42px;font-size:15px}
.arena-page button:disabled{cursor:not-allowed;opacity:.58}
.arena-page .arena-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:860px;margin:16px auto 9px;padding:0 18px}
.arena-page .arena-controls button{border:2px solid #bea536;border-radius:8px;box-shadow:inset 0 0 0 3px #101c37;min-height:65px;padding:10px;font-family:var(--pixel);font-size:clamp(16px,1.8vw,24px);touch-action:manipulation;user-select:none}
.arena-page .arena-attack{background:#fff000;color:#061127}
.arena-page .arena-dodge{background:#113fd1;color:#fff}
.arena-page kbd{font-size:11px;vertical-align:middle;font-family:monospace;border:1px solid #7590cc;background:#071329;color:#edf4ff;padding:6px;border-radius:4px;margin-left:10px}
.arena-page .arena-rules{font-size:14px;text-align:center;margin:7px 12px;color:#e2e8f7}
.arena-page .arena-live-status{font-size:13px;text-align:center;margin:8px 14px 14px;color:#abc1e5;min-height:20px}
.arena-page .arena-hit-label{position:absolute;left:50%;top:18%;transform:translateX(-50%);color:#7edbff;font-weight:900;font-size:22px;text-shadow:2px 2px #071329}
.arena-page .arena-selection{display:flex;justify-content:space-between;gap:16px;border:1px solid #baa331;border-radius:7px;background:#061227;padding:14px 20px;margin-top:12px;min-width:0}
.arena-page .arena-avatar-choices{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}
.arena-page .arena-avatar-choices button{width:51px;height:51px;padding:2px;border:1px solid #345784;background:#030e22;border-radius:5px;flex-shrink:0;cursor:pointer}
.arena-page .arena-avatar-choices img{display:block;width:100%;height:100%;image-rendering:pixelated}
.arena-page .arena-avatar-choices .selected{border:2px solid #fff000;box-shadow:0 0 10px #fff00030}
.arena-page .arena-selection small{font-size:12px;color:#b8c9e6}
.arena-page .arena-selection-meta{display:flex;flex-direction:column;justify-content:center;gap:6px;font-size:13px;flex-shrink:0}
.arena-page .arena-selection-meta b{color:#fff000}
.arena-page .arena-selection-meta a{color:#ffe766}
.arena-page .arena-empty,.arena-page .arena-profile{background:#071328;border:1px solid #baa331;border-radius:8px;padding:30px;text-align:center;min-height:240px}
.arena-page .arena-empty>span{font-size:42px;color:#fff000}
.arena-page .arena-empty h2,.arena-page .arena-profile h2{color:#fff000;font-size:25px}
.arena-page .arena-empty p,.arena-page .arena-profile p{max-width:620px;margin:12px auto 22px}
.arena-page .arena-profile{display:flex;align-items:center;gap:26px;text-align:left}
.arena-page .arena-profile img{image-rendering:pixelated;flex-shrink:0;max-width:30%;height:auto}
@media(max-width:900px){.arena-page .arena-heading{align-items:flex-start}.arena-page .arena-hud{padding:10px 14px}.arena-page .arena-selection{padding:12px 14px}}
@media(max-width:650px){.arena-page .arena-heading{gap:5px;margin-bottom:8px}.arena-page .arena-heading .eyebrow{font-size:10px;letter-spacing:.4px}.arena-page .arena-heading h1{font-size:23px;margin:8px 0}.arena-page .arena-slogan{font-size:15px}.arena-page .arena-back{font-size:12px;min-height:34px;padding:5px 8px}.arena-page .arena-tabs{margin:12px 0;max-width:none}.arena-page .arena-tabs a{font-size:14px;padding:9px 3px}.arena-page .arena-game-title{padding:9px 5px 6px}.arena-page .arena-game-title h2{font-size:18px}.arena-page .arena-game-title>span{font-size:10px;letter-spacing:.3px}.arena-page .arena-hud{gap:5px;padding:8px}.arena-page .arena-hud>div{gap:5px}.arena-page .arena-hud img{width:26px;height:26px}.arena-page .arena-hud b{font-size:9px;letter-spacing:0}.arena-page .arena-hearts{font-size:17px;letter-spacing:1px}.arena-page .arena-timer{font-size:20px;padding:5px 7px}.arena-page .arena-field{height:190px}.arena-page .arena-overlay{padding:12px;gap:7px}.arena-page .arena-overlay h3{font-size:19px}.arena-page .arena-overlay p{font-size:13px}.arena-page .arena-overlay .btn{font-size:12px;min-height:36px}.arena-page .arena-controls{gap:9px;margin-top:12px;padding:0 10px}.arena-page .arena-controls button{font-size:16px;min-height:53px}.arena-page kbd{display:none}.arena-page .arena-rules{font-size:11px;line-height:1.5}.arena-page .arena-live-status{font-size:11px;line-height:1.4;margin-bottom:9px}.arena-page .arena-selection{gap:10px;padding:10px;align-items:center}.arena-page .arena-selection .eyebrow{font-size:10px;letter-spacing:0}.arena-page .arena-avatar-choices{gap:4px;max-width:190px}.arena-page .arena-avatar-choices button{width:34px;height:34px}.arena-page .arena-selection small{font-size:10px}.arena-page .arena-selection-meta{font-size:10px;max-width:105px;flex-shrink:1}.arena-page .arena-selection-meta b{font-size:10px}.arena-page .arena-empty,.arena-page .arena-profile{padding:20px 12px}.arena-page .arena-profile{gap:14px}.arena-page .arena-profile h2{font-size:20px}}
@container arena (max-width:650px){.arena-page .arena-heading{gap:5px;margin-bottom:8px}.arena-page .arena-heading .eyebrow{font-size:10px;letter-spacing:.4px}.arena-page .arena-heading h1{font-size:23px;margin:8px 0}.arena-page .arena-slogan{font-size:15px}.arena-page .arena-back{font-size:12px;min-height:34px;padding:5px 8px}.arena-page .arena-tabs{margin:12px 0;max-width:none}.arena-page .arena-tabs a{font-size:14px;padding:9px 3px}.arena-page .arena-game-title{padding:9px 5px 6px}.arena-page .arena-game-title h2{font-size:18px}.arena-page .arena-game-title>span{font-size:10px;letter-spacing:.3px}.arena-page .arena-hud{gap:5px;padding:8px}.arena-page .arena-hud>div{gap:5px}.arena-page .arena-hud img{width:26px;height:26px}.arena-page .arena-hud b{font-size:9px;letter-spacing:0}.arena-page .arena-hearts{font-size:17px;letter-spacing:1px}.arena-page .arena-timer{font-size:20px;padding:5px 7px}.arena-page .arena-field{height:190px}.arena-page .arena-fighter{width:76px}.arena-page .arena-overlay{padding:12px;gap:7px}.arena-page .arena-overlay h3{font-size:19px}.arena-page .arena-overlay p{font-size:13px}.arena-page .arena-overlay .btn{font-size:12px;min-height:36px}.arena-page .arena-controls{gap:9px;margin-top:12px;padding:0 10px}.arena-page .arena-controls button{font-size:16px;min-height:53px}.arena-page kbd{display:none}.arena-page .arena-rules{font-size:11px;line-height:1.5}.arena-page .arena-live-status{font-size:11px;line-height:1.4;margin-bottom:9px}.arena-page .arena-selection{gap:10px;padding:10px;align-items:center}.arena-page .arena-selection .eyebrow{font-size:10px;letter-spacing:0}.arena-page .arena-avatar-choices{gap:4px;max-width:190px}.arena-page .arena-avatar-choices button{width:34px;height:34px}.arena-page .arena-selection small{font-size:10px}.arena-page .arena-selection-meta{font-size:10px;max-width:105px;flex-shrink:1}.arena-page .arena-selection-meta b{font-size:10px}.arena-page .arena-empty,.arena-page .arena-profile{padding:20px 12px}.arena-page .arena-profile{gap:14px}.arena-page .arena-profile h2{font-size:20px}}
html.mobile-app-mode .arena-page{width:100%;max-width:650px}
@media(prefers-reduced-motion:reduce){.arena-page .arena-fighter{transition:none}.arena-page .arena-field::before{filter:none}}

/* District artwork and the immersive Kingdom entrance. */
.district-banner{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:218px;padding:30px 36px;margin:0 0 20px;border:1px solid #a58f36;border-radius:9px;overflow:hidden;background:#061329;color:#fff;box-shadow:0 12px 36px #0005}
.district-banner::before{content:'';position:absolute;inset:0;z-index:-2;background:var(--district-art) 65% center/cover no-repeat;image-rendering:pixelated}
.district-banner::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020918ee 0%,#020918ad 34%,#02091830 68%,#02091810)}
.district-banner .eyebrow{color:#ffe976;font-size:12px;letter-spacing:1.3px}
.district-banner h1{font-family:var(--pixel);font-size:clamp(22px,2.9vw,38px);line-height:1.5;color:#fff000;margin:13px 0 8px;overflow-wrap:anywhere;text-shadow:3px 3px #020918}
.district-banner .district-slogan{font-size:18px;font-weight:700;color:#fff;margin:0;text-shadow:1px 2px #020918}
.district-banner .district-description{font-size:15px;color:#d0dff4;margin:9px 0 0;max-width:480px}
.district-banner .district-return{position:absolute;top:14px;right:16px;font-size:13px;padding:7px 10px;background:#020918dd;border:1px solid #8e7e3b;border-radius:4px;color:#ffe976}
.district-banner .district-copy{min-width:0;max-width:70%}
.kingdom-world{max-width:1500px;margin:0 auto;padding:18px;min-width:0}
.kingdom-entry{border:1px solid #a58f36;overflow:hidden;border-radius:10px;background:radial-gradient(ellipse at 45% 35%,#152650,#030a19 72%);box-shadow:0 0 45px #ffc90012,0 18px 40px #0005}
.kingdom-entry-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 26px;background:linear-gradient(100deg,#050c1de8,#142247bf);border-bottom:1px solid #9b852b77}
.kingdom-entry-heading h1{font-family:var(--pixel);font-size:clamp(21px,2.4vw,34px);line-height:1.5;margin:8px 0;color:#fff000}
.kingdom-entry-heading p{margin:0;font-size:16px;color:#c4d4ee}
.kingdom-entry-heading .kingdom-tabs .btn{background:#020918b8}
.kingdom-world-body{display:grid;grid-template-columns:minmax(0,1fr) 244px;align-items:center;gap:18px;padding:16px}
.kingdom-world-map{width:100%;position:relative;aspect-ratio:4/3;min-width:0;border-radius:6px;overflow:hidden;box-shadow:0 0 36px #1c59c044}
.kingdom-world-map>img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
.kingdom-world-map .kingdom-map-marker{width:40px;height:40px;border:2px solid #ffe64c;border-radius:50%;background:#07142fee;box-shadow:0 0 0 4px #07142f70,0 0 20px #ffdd0044;transform:translate(-50%,-50%);transition:transform .18s,box-shadow .18s;z-index:1}
.kingdom-world-map .kingdom-map-marker:hover,.kingdom-world-map .kingdom-map-marker:focus-visible{transform:translate(-50%,-50%) scale(1.13);box-shadow:0 0 20px #ffdd0077}
.kingdom-world-map .district-planned-marker{border-color:#a799ba;color:#d0bfdc;background:#151022dd}
.kingdom-world-places{display:grid;grid-template-columns:1fr;gap:8px;min-width:0}
.kingdom-place{position:relative;isolation:isolate;display:flex;align-items:center;gap:11px;min-height:65px;padding:11px;border:1px solid #bca44166;border-radius:6px;overflow:hidden;color:#fff;transition:border-color .18s,transform .18s}
.kingdom-place::before{content:'';position:absolute;inset:0;z-index:-2;background:var(--district-art) center/cover no-repeat;opacity:.6;image-rendering:pixelated}
.kingdom-place::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#030a18f5,#030a1894)}
.kingdom-place>b{color:#fff000;font-family:var(--pixel);font-size:15px;flex-shrink:0}
.kingdom-place>span{display:flex;flex-direction:column;gap:5px;min-width:0}
.kingdom-place strong{font-size:16px;line-height:1.15}
.kingdom-place small{font-size:11px;letter-spacing:.4px;color:#cfdbef}
.kingdom-place:hover,.kingdom-place:focus-visible{border-color:#fff000;transform:translateY(-1px)}
.kingdom-place.is-planned{border-color:#9a71bf55}
.kingdom-place.is-planned small{color:#dec7f3}
.kingdom-entry-foot{display:flex;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid #9b852b55;background:#030917b3;color:#c6d6ed;font-size:13px}
.kingdom-entry-foot b{color:#fff000;font-weight:600}
.district-coming{color:#d8b4ff;font-size:13px}
.kingdom-world a:focus-visible,.district-banner a:focus-visible{outline:3px solid #fff000;outline-offset:3px}
@media(min-width:901px){.kingdom-world-body{grid-template-columns:minmax(0,1fr) 244px}.kingdom-world-map{max-width:calc((100svh - 225px)*1.3333);margin:auto}}
@media(max-width:900px){.kingdom-world-body{grid-template-columns:1fr}.kingdom-world-map{max-width:760px;margin:auto}.kingdom-world-places{grid-template-columns:repeat(4,minmax(0,1fr))}.kingdom-place strong{font-size:14px}.kingdom-entry-heading{padding:18px;flex-wrap:wrap}.district-banner{min-height:190px;padding:24px}}
@media(max-width:650px){.kingdom-world{padding:12px}.kingdom-entry-heading{padding:15px;gap:12px}.kingdom-entry-heading h1{font-size:19px;margin:6px 0;line-height:1.5}.kingdom-entry-heading .eyebrow{font-size:9px;letter-spacing:1px}.kingdom-entry-heading p{font-size:13px;line-height:1.4}.kingdom-entry-heading .kingdom-tabs{width:auto}.kingdom-entry-heading .kingdom-tabs .btn{font-size:12px;min-height:34px;padding:6px 10px}.kingdom-world-body{padding:8px;gap:10px}.kingdom-world-map .kingdom-map-marker{width:29px;height:29px;font-size:12px;border-width:1px;box-shadow:0 0 0 2px #07142f70}.kingdom-world-places{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.kingdom-place{min-height:55px;padding:9px;gap:8px}.kingdom-place>b{font-size:12px}.kingdom-place strong{font-size:13px}.kingdom-place small{font-size:9px;line-height:1.3}.kingdom-entry-foot{padding:10px;flex-direction:column;gap:5px;font-size:11px}.district-banner{min-height:184px;padding:42px 16px 19px;margin-bottom:14px;gap:8px}.district-banner .district-copy{max-width:100%}.district-banner::before{background-position:62% center}.district-banner::after{background:linear-gradient(90deg,#020918df,#02091882 70%,#02091844)}.district-banner .eyebrow{font-size:9px;letter-spacing:.6px}.district-banner h1{font-size:19px;line-height:1.55;margin:9px 0}.district-banner .district-slogan{font-size:13px}.district-banner .district-description{font-size:12px;line-height:1.4;margin-top:7px}.district-banner .district-return{top:8px;right:9px;font-size:10px;padding:5px 8px}}
html.mobile-app-mode .kingdom-world{max-width:650px}
html.mobile-app-mode .kingdom-world-body{grid-template-columns:1fr}
html.mobile-app-mode .kingdom-world-places{grid-template-columns:repeat(2,minmax(0,1fr))}
html.mobile-app-mode .kingdom-world-map{max-width:none}
html.mobile-app-mode .district-banner{min-height:184px;padding:42px 16px 19px}
html.mobile-app-mode .district-banner .district-copy{max-width:100%}
html.mobile-app-mode .district-banner h1{font-size:19px}
html.mobile-app-mode .district-banner .district-slogan{font-size:13px}
@media(prefers-reduced-motion:reduce){.kingdom-place,.kingdom-world-map .kingdom-map-marker{transition:none}}

/* Cat emblem replaces the flame in the existing launch button. */
.fire-btn .fire-cat-logo{width:32px;height:32px;object-fit:contain;image-rendering:pixelated;filter:none;stroke:none;flex-shrink:0}

/* Mobile Launch starts with its district banner, directly followed by the form. */
@media(max-width:900px){.launch-layout>.launch-poster{display:none}}
html.mobile-app-mode .launch-layout>.launch-poster{display:none}

/* Desktop only: fit primary tasks to the viewport; long content remains scrollable. */
@media(min-width:901px){
html:not(.mobile-app-mode) body{height:100svh;min-height:0;display:flex;flex-direction:column;overflow:hidden;font-size:16px}
html:not(.mobile-app-mode) .header{height:58px;min-height:58px;margin:8px 16px 0;padding:4px 13px;flex-shrink:0;gap:18px}
html:not(.mobile-app-mode) .header .desktop-nav{gap:clamp(12px,1.6vw,26px)}
html:not(.mobile-app-mode) .header .desktop-nav a{font-size:17px;padding:10px 0 8px}
html:not(.mobile-app-mode) .header .brand>span{font-size:20px}
html:not(.mobile-app-mode) .header .brand img{width:34px;height:34px}
html:not(.mobile-app-mode) #main{width:100%;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
html:not(.mobile-app-mode) .footer{width:100%;padding:7px 20px;min-height:28px;flex-shrink:0;font-size:11px}
html:not(.mobile-app-mode) .page{padding:12px 18px}
html:not(.mobile-app-mode) .panel{padding:15px}
html:not(.mobile-app-mode) .district-banner{min-height:88px;height:88px;flex-shrink:0;margin-bottom:10px;padding:12px 22px;gap:12px}
html:not(.mobile-app-mode) .district-banner .eyebrow{font-size:9px}
html:not(.mobile-app-mode) .district-banner h1{font-size:23px;line-height:1.3;margin:4px 0}
html:not(.mobile-app-mode) .district-banner .district-slogan{font-size:13px}
html:not(.mobile-app-mode) .district-banner .district-description{font-size:12px;margin:3px 0 0;position:absolute;right:22px;bottom:12px;max-width:38%;text-align:right}
html:not(.mobile-app-mode) .district-banner .district-return{font-size:11px;top:10px;right:16px;padding:5px 8px}
html:not(.mobile-app-mode) .app-theme-banner{min-height:88px;height:88px;padding:10px 22px;flex-shrink:0}
html:not(.mobile-app-mode) .app-theme-banner .eyebrow{font-size:10px}
html:not(.mobile-app-mode) .app-theme-banner h1{font-size:22px;margin:4px 0;line-height:1.3}
html:not(.mobile-app-mode) .app-theme-banner p{font-size:13px}
/* Home */
html:not(.mobile-app-mode) #main[data-page="home"]{display:flex;flex-direction:column}
html:not(.mobile-app-mode) .hero-grid{flex:1;min-height:0!important;padding:12px 18px 10px;gap:14px;grid-template-columns:minmax(0,1fr) minmax(280px,320px)}
html:not(.mobile-app-mode) .hero-grid .hero-art{min-height:0;align-self:stretch}
html:not(.mobile-app-mode) .hero-grid .fresh-panel{min-height:0;padding:16px;gap:9px;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .hero-grid .fresh-panel .empty{min-height:140px;padding:15px 6px}
html:not(.mobile-app-mode) .hero-grid .art-launch{min-height:58px;padding:12px 18px;font-size:27px}
html:not(.mobile-app-mode) .home-meta{padding:0 18px 7px;font-size:12px;flex-shrink:0}
/* Launch: keep artwork, fields, preview and FIRE together. */
html:not(.mobile-app-mode) #main[data-page="launch"]{display:flex;flex-direction:column}
html:not(.mobile-app-mode) .launch-layout{flex:1;min-height:0;gap:16px;padding:0 18px 10px;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);align-items:stretch}
html:not(.mobile-app-mode) .launch-layout .launch-poster{min-height:0;height:100%}
html:not(.mobile-app-mode) .launch-poster-heading h2{font-size:clamp(24px,2.7vw,38px);margin-bottom:12px}
html:not(.mobile-app-mode) .launch-poster-heading p{font-size:13px;line-height:1.45}
html:not(.mobile-app-mode) .launch-panel{min-height:0;margin:0;padding:14px 17px;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .launch-panel>h1{font-size:19px;padding-bottom:9px;margin-bottom:8px;line-height:1.4}
html:not(.mobile-app-mode) .stepper{margin:8px 0 12px}
html:not(.mobile-app-mode) .step{font-size:12px}
html:not(.mobile-app-mode) .step em{width:25px;height:25px}
html:not(.mobile-app-mode) .launch-inner{gap:15px;grid-template-columns:minmax(0,1fr) 180px}
html:not(.mobile-app-mode) .launch-form .form-grid{gap:9px 12px}
html:not(.mobile-app-mode) .launch-form .field{gap:3px}
html:not(.mobile-app-mode) .launch-form .field label{font-size:12px}
html:not(.mobile-app-mode) .launch-form .field input{min-height:35px;padding:7px 9px;font-size:16px}
html:not(.mobile-app-mode) .launch-form .description-field,html:not(.mobile-app-mode) .launch-form .upload-field{grid-column:auto}
html:not(.mobile-app-mode) .launch-form .field textarea{height:78px;min-height:78px;padding:7px 9px;font-size:15px}
html:not(.mobile-app-mode) .launch-form .upload{height:78px;min-height:78px;padding:5px;font-size:13px;gap:2px}
html:not(.mobile-app-mode) .launch-form .upload svg{width:22px;height:22px}
html:not(.mobile-app-mode) .launch-form .upload small{font-size:10px}
html:not(.mobile-app-mode) .launch-form .advanced{padding-top:7px;font-size:13px}
html:not(.mobile-app-mode) .launch-form .fire-btn{margin-top:12px;min-height:49px;font-size:25px}
html:not(.mobile-app-mode) .launch-form .form-hint{font-size:11px;margin-top:7px}
html:not(.mobile-app-mode) .launch-form>.form-hint+div{margin-top:8px!important}
html:not(.mobile-app-mode) .launch-form .btn.ghost{min-height:32px;padding:5px 12px;font-size:13px}
html:not(.mobile-app-mode) .launch-inner .preview-panel{padding:11px}
html:not(.mobile-app-mode) .preview-panel h2{font-size:17px;padding-bottom:7px;margin-bottom:9px}
html:not(.mobile-app-mode) .preview-panel h3{font-size:22px;margin-top:9px}
html:not(.mobile-app-mode) .preview-panel .symbol{font-size:19px}
html:not(.mobile-app-mode) .preview-desc{font-size:13px;margin:7px 0}
html:not(.mobile-app-mode) .preview-spec{font-size:12px;padding:7px 0}
/* Market pages */
html:not(.mobile-app-mode) #main:is([data-page="explore"],[data-page="top"]){display:flex;flex-direction:column}
html:not(.mobile-app-mode) #main>.explore-page,html:not(.mobile-app-mode) #main>.top-page{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:0}
html:not(.mobile-app-mode) .toolbar{margin:0 0 9px;gap:10px}
html:not(.mobile-app-mode) .tabs{padding:4px}
html:not(.mobile-app-mode) .tabs button{font-size:13px;min-height:33px;padding:6px 10px}
html:not(.mobile-app-mode) .scope-bar{margin:0 0 8px;font-size:12px;gap:9px}
html:not(.mobile-app-mode) .scope-bar .segmented button{font-size:13px;padding:5px 10px}
html:not(.mobile-app-mode) .list-layout{flex:1;min-height:0;gap:12px}
html:not(.mobile-app-mode) .list-layout .result-box{height:100%;min-height:0;overflow:auto;padding:12px;scrollbar-width:thin}
html:not(.mobile-app-mode) .list-layout .result-box>.empty{min-height:150px;height:100%}
html:not(.mobile-app-mode) .list-layout .top-sidebars{overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .rank-table th{padding:8px;font-size:12px}
html:not(.mobile-app-mode) .rank-table td{padding:8px;font-size:16px}
html:not(.mobile-app-mode) .token-grid{gap:11px}
html:not(.mobile-app-mode) .token-art{height:110px}
/* Docs and About */
html:not(.mobile-app-mode) #main:is([data-page="docs"],[data-page="guardian-gate"],[data-page="about"]){display:flex;flex-direction:column}
html:not(.mobile-app-mode) .docs-layout{flex:1;min-height:0;padding:10px 18px;gap:12px;grid-template-columns:190px minmax(0,1fr) 220px}
html:not(.mobile-app-mode) .docs-content,html:not(.mobile-app-mode) .docs-menu,html:not(.mobile-app-mode) .docs-right{min-height:0;max-height:100%;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .docs-content h1{font-size:29px;margin-bottom:13px}
html:not(.mobile-app-mode) .docs-content p{font-size:16px}
html:not(.mobile-app-mode) .guide-cards{margin-top:14px;gap:10px}
html:not(.mobile-app-mode) .guide-card{min-height:120px;padding:13px}
html:not(.mobile-app-mode) .about-grid{flex:1;min-height:0;padding:10px 18px;gap:12px;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .about-grid .story{min-height:0;padding:22px}
html:not(.mobile-app-mode) .about-grid .story p{font-size:17px}
html:not(.mobile-app-mode) .about-grid .mission-stack{gap:12px}
html:not(.mobile-app-mode) .about-grid .features{gap:12px}
html:not(.mobile-app-mode) .about-grid h2{font-size:24px}
html:not(.mobile-app-mode) .about-grid h3{font-size:20px}
html:not(.mobile-app-mode) .about-grid p{font-size:15px;margin-bottom:12px}
/* Kingdom map */
html:not(.mobile-app-mode) #main[data-page="kingdom"]>.kingdom-world{height:100%;padding:12px 18px;max-width:1500px}
html:not(.mobile-app-mode) .kingdom-entry{height:100%;display:flex;flex-direction:column;min-height:0}
html:not(.mobile-app-mode) .kingdom-entry-heading{padding:11px 19px;flex-shrink:0}
html:not(.mobile-app-mode) .kingdom-entry-heading h1{font-size:25px;margin:4px 0}
html:not(.mobile-app-mode) .kingdom-entry-heading p{font-size:13px}
html:not(.mobile-app-mode) .kingdom-world-body{flex:1;min-height:0;padding:10px;grid-template-columns:minmax(0,1fr) 220px;gap:13px}
html:not(.mobile-app-mode) .kingdom-world-map{height:100%;max-height:100%;width:auto;max-width:100%;aspect-ratio:4/3}
html:not(.mobile-app-mode) .kingdom-world-places{height:100%;min-height:0;grid-template-rows:repeat(8,minmax(0,1fr));gap:5px}
html:not(.mobile-app-mode) .kingdom-place{min-height:0;padding:6px 10px;gap:9px}
html:not(.mobile-app-mode) .kingdom-place strong{font-size:14px}
html:not(.mobile-app-mode) .kingdom-place small{font-size:10px}
html:not(.mobile-app-mode) .kingdom-entry-foot{padding:7px 17px;font-size:11px;flex-shrink:0}
/* Palace */
html:not(.mobile-app-mode) .palace-page{height:100%;display:flex;flex-direction:column;padding:12px 18px}
html:not(.mobile-app-mode) .palace-shell{flex:1;min-height:0;display:flex;flex-direction:column}
html:not(.mobile-app-mode) .palace-tabs{padding:9px 12px;gap:8px;flex-shrink:0}
html:not(.mobile-app-mode) .palace-tabs a{min-height:36px;font-size:15px}
html:not(.mobile-app-mode) .palace-layout{flex:1;min-height:0}
html:not(.mobile-app-mode) .palace-scene{min-height:0}
html:not(.mobile-app-mode) .palace-chat{display:flex;flex-direction:column;min-height:0;padding:13px 16px;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .palace-chat-top h2{font-size:21px}
html:not(.mobile-app-mode) .palace-prompts{margin:9px 0;gap:5px}
html:not(.mobile-app-mode) .palace-prompts button{font-size:13px;padding:5px 9px}
html:not(.mobile-app-mode) .palace-messages{flex:1;min-height:95px;height:auto;gap:10px}
html:not(.mobile-app-mode) .palace-message p{font-size:15px}
html:not(.mobile-app-mode) .palace-compose,html:not(.mobile-app-mode) .palace-chat-foot,html:not(.mobile-app-mode) .palace-questions{flex-shrink:0}
html:not(.mobile-app-mode) .palace-questions{margin-top:5px;padding-top:7px}
html:not(.mobile-app-mode) .palace-questions summary{font-size:13px}
html:not(.mobile-app-mode) .palace-scrolls{min-height:0;padding:15px;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .palace-posts{max-height:none}
html:not(.mobile-app-mode) .palace-bottom-back{padding:7px;font-size:13px;flex-shrink:0}
/* Avatar gallery: selected cat and controls stay beside a scrollable gallery. */
html:not(.mobile-app-mode) .forge-page{height:auto;min-height:100%;display:flex;flex-direction:column;padding:12px 18px}
html:not(.mobile-app-mode) .forge-shell{flex:1;min-height:0;display:flex;flex-direction:column;padding:12px}
html:not(.mobile-app-mode) .forge-strap{margin-bottom:8px}
html:not(.mobile-app-mode) .forge-strap h2{font-size:15px;margin:3px 0}
html:not(.mobile-app-mode) .forge-strap p{font-size:11px}
html:not(.mobile-app-mode) .forge-facts{gap:8px;margin-bottom:8px}
html:not(.mobile-app-mode) .forge-facts>div{padding:5px}
html:not(.mobile-app-mode) .forge-facts b{font-size:18px}
html:not(.mobile-app-mode) .forge-disclosure{padding:7px 10px;margin-bottom:9px;font-size:11px}
html:not(.mobile-app-mode) .forge-layout{flex:1 0 auto;min-height:480px;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:12px}
html:not(.mobile-app-mode) .forge-selected{position:static;max-height:none;overflow:visible;padding:10px}
html:not(.mobile-app-mode) .forge-big{max-height:clamp(105px,20svh,230px);margin:6px auto;width:auto}
html:not(.mobile-app-mode) .forge-selected h3{font-size:11px;margin:8px 0}
html:not(.mobile-app-mode) .forge-buybox{margin:7px 0;padding:6px}
html:not(.mobile-app-mode) .forge-note{font-size:11px}
html:not(.mobile-app-mode) .forge-library{display:flex;flex-direction:column;min-height:0;max-height:none;align-self:stretch}
html:not(.mobile-app-mode) .forge-library-head{flex-shrink:0}
html:not(.mobile-app-mode) .forge-controls{gap:6px;margin-bottom:8px;flex-shrink:0}
html:not(.mobile-app-mode) .forge-grid{flex:1 0 320px;min-height:320px;max-height:clamp(320px,calc(100svh - 440px),600px);overflow:auto;align-content:start;scrollbar-width:thin;gap:8px}
html:not(.mobile-app-mode) .forge-pagination{margin-top:8px;flex-shrink:0}
/* Arena and saved cats */
html:not(.mobile-app-mode) .arena-page{height:100%;display:flex;flex-direction:column;padding:12px 18px}
html:not(.mobile-app-mode) .arena-tabs{margin:0 0 9px;flex-shrink:0}
html:not(.mobile-app-mode) .arena-tabs a{padding:7px;font-size:14px}
html:not(.mobile-app-mode) #arena-panel{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .arena-field{height:clamp(170px,30svh,300px)}
html:not(.mobile-app-mode) .arena-game-title{padding:8px}
html:not(.mobile-app-mode) .arena-game-title h2{font-size:20px;margin-bottom:3px}
html:not(.mobile-app-mode) .arena-hud{padding:7px 17px}
html:not(.mobile-app-mode) .cats-page{height:100%;display:flex;flex-direction:column;gap:10px}
html:not(.mobile-app-mode) .cats-page>header{flex-shrink:0}
html:not(.mobile-app-mode) .cats-page h1{font-size:28px;margin:5px 0}
html:not(.mobile-app-mode) .cats-page p{font-size:14px;margin:5px 0}
html:not(.mobile-app-mode) #cats-results{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
html:not(.mobile-app-mode) .coin-page .chart-panel iframe{height:clamp(240px,42svh,440px)}
}
/* Keep every control reachable on unusually short desktop windows. */
@media(min-width:901px) and (max-height:620px){html:not(.mobile-app-mode) #main{overflow:auto}html:not(.mobile-app-mode) #main>section{min-height:480px}html:not(.mobile-app-mode) .launch-layout{min-height:480px}}
/* Kingdom entrance: the artwork fills the desktop, navigation floats above it. */
@media(min-width:901px){
html:not(.mobile-app-mode) #main[data-page="kingdom"]{max-width:none}
html:not(.mobile-app-mode) #main[data-page="kingdom"]>.kingdom-world{width:100%;max-width:none;height:100%;min-height:0!important;padding:8px 12px}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry{position:relative;height:100%;min-height:0;border-radius:9px;border-color:#b99a49;isolation:isolate;box-shadow:inset 0 0 70px #0008}
html:not(.mobile-app-mode) .kingdom-world .kingdom-world-body{position:absolute;inset:0;display:block;padding:0;container-type:size;overflow:hidden}
html:not(.mobile-app-mode) .kingdom-world .kingdom-world-map{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;margin:0;border-radius:0;overflow:hidden}
html:not(.mobile-app-mode) .kingdom-world .kingdom-world-map>img{width:100%;height:100%;object-fit:cover;object-position:center 48%;image-rendering:auto}
html:not(.mobile-app-mode) .kingdom-world .kingdom-world-map:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#020918b8,transparent 23%,transparent 70%,#020918e8);box-shadow:inset 0 0 65px #0005}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry-heading{position:absolute;z-index:3;top:0;left:0;right:0;padding:20px 25px;align-items:flex-start;border:0;background:linear-gradient(#02091899,transparent);pointer-events:none}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry-heading>div{max-width:70%;text-shadow:0 2px 10px #000,2px 2px #020918}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry-heading .eyebrow{font-size:10px;letter-spacing:2px;color:#fff2a4}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry-heading h1{font-size:clamp(24px,2.8vw,43px);line-height:1.4;margin:8px 0;color:#fff054}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry-heading p{font-size:15px;color:#fff;line-height:1.4;margin:0}
html:not(.mobile-app-mode) .kingdom-world .kingdom-tabs{pointer-events:auto}
html:not(.mobile-app-mode) .kingdom-world .kingdom-tabs .btn{background:#020918d9;border-color:#edd675;color:#fff4ad;min-height:38px;padding:8px 12px;font-size:13px;backdrop-filter:blur(8px)}
html:not(.mobile-app-mode) .kingdom-world .kingdom-world-places{position:absolute;z-index:4;left:18px;right:18px;bottom:15px;width:auto;height:auto;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:auto;gap:7px}
html:not(.mobile-app-mode) .kingdom-world .kingdom-place{min-height:59px;padding:8px;gap:7px;background:#020918b8;border-color:#ffe27f77;backdrop-filter:blur(8px);box-shadow:0 3px 14px #0008}
html:not(.mobile-app-mode) .kingdom-world .kingdom-place:before{opacity:.25}
html:not(.mobile-app-mode) .kingdom-world .kingdom-place>b{font-size:11px}
html:not(.mobile-app-mode) .kingdom-world .kingdom-place strong{font-size:13px;line-height:1.15}
html:not(.mobile-app-mode) .kingdom-world .kingdom-place small{font-size:8px;line-height:1.2;letter-spacing:0}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry-foot{position:absolute;z-index:3;bottom:86px;left:22px;right:22px;padding:0;border:0;background:none;text-shadow:0 2px 5px #000;font-size:12px;pointer-events:none}
/* Match cover-image coordinates; edge districts remain available in the dock. */
html:not(.mobile-app-mode) .kingdom-world-map .kingdom-map-marker{left:clamp(27px,calc(50cqw + (var(--district-x) - 50)*max(1cqw,1.333333cqh)),calc(100cqw - 27px))!important;top:clamp(145px,calc(48cqh + (var(--district-y) - 48)*max(.75cqw,1cqh)),calc(100cqh - 117px))!important;z-index:2;width:42px;height:42px;background:#051329ce;border-color:#ffe875;box-shadow:0 0 0 4px #02091877,0 0 21px #ffdd0066;font-size:18px}
}
@media(min-width:901px) and (max-width:1150px){
html:not(.mobile-app-mode) .kingdom-world .kingdom-world-places{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;bottom:10px;left:12px;right:12px}
html:not(.mobile-app-mode) .kingdom-world .kingdom-place{min-height:43px;padding:6px 9px}
html:not(.mobile-app-mode) .kingdom-world .kingdom-entry-foot{bottom:111px}
html:not(.mobile-app-mode) .kingdom-world-map .kingdom-map-marker{top:clamp(135px,calc(48cqh + (var(--district-y) - 48)*max(.75cqw,1cqh)),calc(100cqh - 145px))!important}
}

@media(min-width:901px){html:not(.mobile-app-mode) .hero-grid .hero-art>.art-launch{width:36%;min-width:280px;max-width:420px;height:auto;min-height:50px;padding:10px 15px;gap:12px;font-family:var(--pixel);font-size:clamp(13px,1.1vw,18px);line-height:1.3}html:not(.mobile-app-mode) .hero-grid .art-launch .home-cat-logo{width:28px;height:28px}}
