/* mitch.pro 2026 relaunch layer — shared across the whole application. */
:root {
  --t-bg:#05070d;--t-bg2:#0c111d;--t-bg3:#141c2c;--t-fg:#f7f9ff;--t-fg2:#9ba9c3;
  --t-ac:#7c5cff;--t-ac2:#9e8aff;--t-ac3:#c7bdff;--t-bd:rgba(155,176,220,.14);
  --t-bda:rgba(124,92,255,.58);--t-gl:rgba(124,92,255,.46);--t-gls:rgba(124,92,255,.16);
  --t-gr:linear-gradient(120deg,#58e5ff 0%,#8a6cff 48%,#ff60bd 100%);
  --t-bgr:radial-gradient(circle at 12% -8%,rgba(53,208,255,.16),transparent 34rem),radial-gradient(circle at 88% 4%,rgba(155,78,255,.18),transparent 32rem),radial-gradient(circle at 52% 115%,rgba(255,66,164,.1),transparent 36rem),linear-gradient(160deg,#05070d 0%,#080b13 54%,#060812 100%);
  --t-radius:16px;--surface:rgba(12,17,29,.76);--surface-strong:rgba(15,21,36,.94);
  --edge:rgba(165,188,232,.15);--cyan:#58e5ff;--pink:#ff60bd;--green:#53e6a5;
  --amber:#ffca69;--danger:#ff6f85;--shadow-xl:0 32px 90px rgba(0,0,0,.48)
}
*,*::before,*::after{box-sizing:border-box}
html{max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:5.5rem}
body{max-width:100%;min-width:0;overflow-x:clip;-webkit-tap-highlight-color:rgba(124,92,255,.2)}
.app-main,.panel,.card,.cpanel,.action-card,.listing-item,main,section,article{min-width:0}
fieldset,form,label{min-width:0}.page-head,.panel,.card,.cpanel,.action-card,.listing-item{overflow-wrap:anywhere}
img,svg,video,canvas,iframe{max-width:100%}
pre,code{max-width:100%;overflow-wrap:anywhere}pre{overflow-x:auto;-webkit-overflow-scrolling:touch}
button,a,input,textarea,select{touch-action:manipulation}
*{scrollbar-width:thin;scrollbar-color:rgba(124,92,255,.42) rgba(255,255,255,.025)}
*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-track{background:rgba(255,255,255,.02)}*::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:linear-gradient(180deg,#58e5ff,#7c5cff 55%,#ff60bd);background-clip:padding-box}
body{background-color:var(--t-bg)!important;background-image:var(--t-bgr)!important;color:var(--t-fg)}
body::before{content:'';position:fixed;inset:-28vmax;z-index:-2;pointer-events:none;opacity:.48;background:radial-gradient(circle at 24% 30%,rgba(60,213,255,.2),transparent 20%),radial-gradient(circle at 70% 32%,rgba(130,83,255,.2),transparent 22%),radial-gradient(circle at 58% 76%,rgba(255,71,174,.15),transparent 20%);filter:blur(34px);animation:relaunch-aurora 24s ease-in-out infinite alternate}
body::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.28;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,#000,transparent 88%)}
::selection{background:rgba(124,92,255,.38);color:#fff}
.app-topbar{isolation:isolate;width:min(1240px,calc(100% - 28px));min-height:4rem;margin:14px auto 0;padding:.62rem .72rem .62rem 1rem;border:1px solid rgba(173,194,235,.16);border-radius:20px;background:rgba(7,10,18,.78);box-shadow:0 18px 60px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.07);backdrop-filter:blur(24px) saturate(155%);-webkit-backdrop-filter:blur(24px) saturate(155%)}
.app-topbar::before{content:'';position:absolute;inset:-1px;z-index:-1;border-radius:inherit;background:linear-gradient(110deg,rgba(88,229,255,.25),transparent 28%,transparent 66%,rgba(255,96,189,.2))}
.app-topbar.is-scrolled{background:rgba(7,10,18,.92);box-shadow:0 22px 70px rgba(0,0,0,.52)}
.app-brand{gap:.7rem;font-size:1.12rem;letter-spacing:-.04em}.app-brand::before{content:'';width:1.8rem;height:1.8rem;flex:0 0 1.8rem;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:url('/apple-touch-icon.png') center/cover no-repeat;box-shadow:0 0 0 4px rgba(124,92,255,.08),0 0 25px rgba(88,229,255,.28)}
.app-nav{gap:.15rem}.app-nav a{min-height:2.55rem;padding:.56rem .8rem;border-radius:12px;font-size:.78rem}.app-nav a:hover{background:rgba(255,255,255,.06)}
.app-nav a[aria-current="page"]{color:#fff;background:linear-gradient(135deg,rgba(88,229,255,.14),rgba(124,92,255,.2));box-shadow:inset 0 0 0 1px rgba(137,117,255,.32),0 8px 30px rgba(89,65,215,.13)}
.app-main{position:relative;width:min(1240px,100%);padding-top:clamp(1.65rem,4vw,3.4rem)}
.app-main::before{content:'';position:absolute;top:1rem;right:2%;z-index:-1;width:min(44vw,560px);height:240px;border-radius:50%;background:radial-gradient(ellipse,rgba(124,92,255,.13),rgba(88,229,255,.045) 42%,transparent 70%);filter:blur(18px);pointer-events:none}
.page-head{position:relative;margin-bottom:1.65rem!important}.page-head::before{content:'MITCH.PRO / LIVE';display:block;margin-bottom:.62rem;color:var(--cyan);font:800 .64rem/1 'Plus Jakarta Sans',sans-serif;letter-spacing:.18em}
.page-head::after{content:'';display:block;width:clamp(76px,14vw,170px);height:2px;margin-top:1rem;border-radius:999px;background:var(--t-gr);box-shadow:0 0 20px rgba(88,229,255,.38)}
.page-head h1{font-size:clamp(2.2rem,6vw,4.5rem)!important;line-height:.98!important;letter-spacing:-.055em!important}
.page-head h1 span,.gradient-text{color:transparent!important;background:var(--t-gr);-webkit-background-clip:text;background-clip:text}
.page-sub,.subline{max-width:48rem;color:var(--t-fg2)!important;font-size:.96rem!important}
.panel,.card,.cpanel,.action-card,.listing-item,.category-group{position:relative;border-color:var(--edge)!important;background:radial-gradient(circle at 110% -20%,rgba(124,92,255,.1),transparent 40%),linear-gradient(155deg,rgba(255,255,255,.052),transparent 38%),var(--surface)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.065),0 22px 60px rgba(0,0,0,.23)!important;backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%)}
.card::before,.action-card::before,.listing-item::before,.category-group::before{content:'';position:absolute;inset:-1px;z-index:0;border:1px solid transparent;border-radius:inherit;background:linear-gradient(125deg,rgba(88,229,255,.5),transparent 24%,transparent 68%,rgba(255,96,189,.4)) border-box;-webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;pointer-events:none;transition:opacity .28s ease}
.card:hover::before,.action-card:hover::before,.listing-item:hover::before,.category-group:hover::before{opacity:.75}
button,.btn,.btn-primary,.btn-ghost,a.btn{position:relative;overflow:hidden;border-radius:12px!important;font-weight:750!important;letter-spacing:-.01em}
button::after,.btn::after,.btn-primary::after,.btn-ghost::after,a.btn::after{content:'';position:absolute;inset:-80% auto -80% -45%;width:30%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);transform:rotate(18deg) translateX(-220%);transition:transform .55s ease}
button:hover::after,.btn:hover::after,.btn-primary:hover::after,.btn-ghost:hover::after,a.btn:hover::after{transform:rotate(18deg) translateX(620%)}
.btn-primary,.btn.primary,button.primary,button[type="submit"]{color:#fff!important;border-color:rgba(151,130,255,.55)!important;background:linear-gradient(135deg,#6750e8,#8f5cff 58%,#ad5eea)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 12px 34px rgba(91,57,210,.28)!important}
.btn-primary:hover,.btn.primary:hover,button.primary:hover,button[type="submit"]:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 17px 42px rgba(91,57,210,.4)!important}
input,textarea,select{border-color:rgba(161,183,226,.17)!important;background:rgba(4,7,14,.65)!important;border-radius:12px!important}
input:focus,textarea:focus,select:focus{border-color:rgba(111,211,255,.7)!important;box-shadow:0 0 0 4px rgba(88,229,255,.1)!important}
.shop-page .page-head::before{content:'MITCH.PRO / MARKET DISTRICT'}.marketplace-page .page-head::before{content:'MITCH.PRO / PLAYER EXCHANGE'}.casino-page .page-head::before{content:'MITCH.PRO / NIGHT DISTRICT'}.leaderboard-page .page-head::before{content:'MITCH.PRO / HALL OF LEGENDS'}.plaza-page .page-head::before{content:'MITCH.PRO / PUBLIC PLAZA'}
.relaunch-ready .relaunch-reveal{transition:opacity .62s ease,transform .62s cubic-bezier(.2,.75,.2,1)}.relaunch-ready .relaunch-reveal:not(.is-visible){opacity:0;transform:translateY(18px) scale(.985)}.relaunch-ready .relaunch-reveal.is-visible{transition-delay:calc(var(--reveal-order,0) * 45ms)}
@keyframes relaunch-aurora{0%{transform:translate3d(-2%,-1%,0) rotate(-2deg) scale(1)}50%{transform:translate3d(3%,2%,0) rotate(2deg) scale(1.04)}100%{transform:translate3d(-1%,4%,0) rotate(-1deg) scale(1.08)}}

/* Homepage launcher */
body.home-editorial .hub-hero-card,body.home-editorial .hud-hero-card{border:1px solid rgba(154,181,232,.16)!important;border-radius:28px!important;background:radial-gradient(circle at 12% 8%,rgba(88,229,255,.13),transparent 29rem),radial-gradient(circle at 88% 82%,rgba(255,96,189,.12),transparent 28rem),rgba(8,12,21,.82)!important;box-shadow:var(--shadow-xl),inset 0 1px 0 rgba(255,255,255,.08)!important}
body.home-editorial .hero-glow-blob{background:radial-gradient(circle,rgba(124,92,255,.25),transparent 68%)!important}
body.home-editorial .hero-title,body.home-editorial #greet{letter-spacing:-.065em!important}
body.home-editorial .category-group{border-radius:24px!important;padding:clamp(1rem,2vw,1.35rem)!important}
body.home-editorial .category-group:hover{transform:translateY(-3px);border-color:rgba(124,92,255,.32)!important}
body.home-editorial .category-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:10px!important}
body.home-editorial a.site-link{min-height:76px!important;padding:.9rem 1rem!important;gap:.8rem!important;border:1px solid rgba(155,177,220,.13)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;overflow:hidden}
body.home-editorial a.site-link::after{content:'';position:absolute;width:90px;height:90px;right:-48px;bottom:-55px;border-radius:50%;background:radial-gradient(circle,rgba(124,92,255,.28),transparent 67%);transition:transform .35s ease,opacity .35s ease;opacity:.45}
body.home-editorial a.site-link:hover{transform:translateY(-4px) scale(1.012)!important;border-color:rgba(103,211,255,.32)!important;background:linear-gradient(145deg,rgba(88,229,255,.075),rgba(124,92,255,.07))!important;box-shadow:0 18px 38px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.08)!important}
body.home-editorial a.site-link:hover::after{transform:scale(1.45);opacity:.9}
body.home-editorial a.site-link .icon{width:44px!important;height:44px!important;flex:0 0 44px;border:1px solid rgba(147,174,228,.17)!important;border-radius:13px!important;background:rgba(255,255,255,.045)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
body.home-editorial a.site-link .lbl{font-size:.9rem!important;font-weight:750!important}body.home-editorial a.site-link .link-arrow{color:var(--cyan)!important}
table{border-spacing:0}th{color:#73829e!important;font-weight:800!important;letter-spacing:.11em!important}tbody tr{transition:background .15s ease,transform .15s ease}tbody tr:hover td{background:rgba(124,92,255,.055)}

/* Secure Chat */
body.encrypt-page{height:100vh!important;overflow:hidden!important;background-image:var(--t-bgr)!important}
body.encrypt-page .app-topbar{display:none!important}
body.encrypt-page #app{height:100vh!important;padding:12px!important;gap:10px!important;background:transparent!important}
body.encrypt-page #sidebar{width:330px!important;border:1px solid var(--edge)!important;border-radius:22px!important;background:rgba(8,12,21,.86)!important;box-shadow:0 28px 75px rgba(0,0,0,.36)!important;overflow:hidden}
body.encrypt-page #sidebar-top{min-height:66px!important;padding:14px!important;border-bottom-color:rgba(157,181,225,.1)!important;background:linear-gradient(120deg,rgba(88,229,255,.06),rgba(124,92,255,.08))!important}
body.encrypt-page #sidebar-title{font-family:Outfit,system-ui,sans-serif!important;font-size:1.12rem!important;letter-spacing:-.035em!important}
body.encrypt-page #sidebar-title::before{content:'◈';margin-right:8px;color:var(--cyan)}
body.encrypt-page #search-wrap{padding:10px 12px!important;background:rgba(255,255,255,.015)!important}
body.encrypt-page .tabs{padding:3px!important;border:1px solid rgba(157,181,225,.1)!important;border-radius:12px!important;background:rgba(0,0,0,.2)!important}
body.encrypt-page .tab{border-radius:9px!important}.encrypt-page .tab.active{background:linear-gradient(135deg,rgba(88,229,255,.13),rgba(124,92,255,.2))!important;color:#fff!important}
body.encrypt-page .user-entry{margin:3px 8px!important;padding:10px!important;border:1px solid transparent!important;border-radius:13px!important}.encrypt-page .user-entry:hover,.encrypt-page .user-entry.active{border-color:rgba(124,92,255,.19)!important;background:linear-gradient(110deg,rgba(88,229,255,.05),rgba(124,92,255,.09))!important}
body.encrypt-page #chat-main{border:1px solid var(--edge)!important;border-radius:22px!important;background:rgba(8,12,21,.76)!important;box-shadow:0 28px 75px rgba(0,0,0,.32)!important;overflow:hidden}
body.encrypt-page #chat-header{min-height:72px!important;padding:12px 16px!important;border-bottom-color:rgba(157,181,225,.1)!important;background:rgba(255,255,255,.02)!important}
body.encrypt-page #chat-title{font-family:Outfit,system-ui,sans-serif!important;font-size:1rem!important}.encrypt-page #chat-subtitle{color:#70809a!important}
body.encrypt-page #msgs{padding:18px!important}.encrypt-page .msg{max-width:min(78%,760px)!important;margin:5px 0!important;padding:10px 12px!important;border:1px solid rgba(157,181,225,.09)!important;border-radius:15px!important;background:rgba(255,255,255,.025)!important}.encrypt-page .msg:has(.who.me){margin-left:auto!important;background:linear-gradient(120deg,rgba(88,229,255,.06),rgba(124,92,255,.12))!important;border-color:rgba(124,92,255,.16)!important}.encrypt-page .msg .body{color:#c6cfdf!important;line-height:1.5!important}
body.encrypt-page #input-row{gap:8px!important;padding:12px!important;border-top-color:rgba(157,181,225,.1)!important;background:rgba(4,7,13,.7)!important}.encrypt-page #msgInput{order:1;min-height:48px!important;padding:10px 14px!important}.encrypt-page #attachBtn{order:2!important}.encrypt-page #sendBtn{order:3!important;min-width:94px!important;background:linear-gradient(135deg,#5f4be0,#945bff)!important;color:#fff!important}
body.encrypt-page .modal-card{border:1px solid var(--edge)!important;border-radius:22px!important;background:#0c111d!important;box-shadow:0 35px 100px rgba(0,0,0,.6)!important}

/* Market and player exchange */
.shop-kicker,.marketplace-page .kicker{margin-bottom:8px;color:var(--cyan);font-size:9px;font-weight:900;letter-spacing:.15em}
.shop-tools,.market-tools{display:flex;align-items:center;gap:9px;margin:14px 0;padding:10px;border:1px solid var(--edge);border-radius:17px;background:rgba(8,12,21,.7)}
.shop-tools label,.market-tools label{position:relative;flex:1;margin:0!important}.shop-tools label>span,.market-tools label>span{position:absolute;left:13px;top:50%;z-index:1;color:#71809a;transform:translateY(-50%)}
.shop-tools input,.market-tools input{min-height:42px!important;padding-left:36px!important}.shop-stock,.market-count{display:inline-flex;align-items:center;gap:6px;min-width:max-content;padding:8px 10px;color:#8391aa;font-size:9px;font-weight:800}.shop-stock i,.balance-hint i{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px var(--green)}
.balance-panel{border-radius:20px!important;background:radial-gradient(circle at 100% 0,rgba(255,202,105,.12),transparent 13rem),var(--surface)!important}.balance-value{font-family:Outfit,system-ui,sans-serif!important;font-size:2rem!important;letter-spacing:-.05em!important}
#market .section{margin:11px 0!important;border-radius:20px!important}.market-grid{gap:10px!important}.market-grid .card{min-height:250px!important;border-radius:18px!important;transition:transform .2s,border-color .2s!important}.market-grid .card:hover{transform:translateY(-5px);border-color:rgba(124,92,255,.3)!important}.item-title{font-size:1.03rem!important}.price{color:var(--amber)!important}
.market-tools select{width:auto!important;min-width:155px}.market-count b{color:#fff}.listing-item{border-radius:18px!important;transition:transform .2s,border-color .2s!important}.listing-item:hover{transform:translateY(-4px);border-color:rgba(88,229,255,.22)!important}.listing-price{color:var(--amber)!important}.balance-bar{border-radius:16px!important;background:linear-gradient(110deg,rgba(88,229,255,.06),rgba(124,92,255,.08))!important}.warning-icon{display:grid!important;width:38px!important;height:38px!important;flex:0 0 38px;place-items:center;border-radius:12px!important;background:rgba(255,202,105,.1)!important;color:var(--amber)!important;font-weight:900}

/* Casino */
.casino-kicker{margin-bottom:7px;color:var(--pink);font-size:9px;font-weight:900;letter-spacing:.16em}.casino-page .hero{border-radius:26px!important;background:radial-gradient(circle at 8% 10%,rgba(255,96,189,.13),transparent 24rem),radial-gradient(circle at 95% 90%,rgba(124,92,255,.16),transparent 25rem),rgba(8,12,21,.78)!important;box-shadow:var(--shadow-xl)!important}.casino-page .wallet{border-color:rgba(255,202,105,.2)!important;background:rgba(255,202,105,.05)!important}.casino-page .wallet strong{color:var(--amber)!important}.casino-page .games{gap:12px!important}.casino-page .games>.card{min-height:220px!important;border-radius:20px!important;transition:transform .22s,border-color .22s!important}.casino-page .games>.card:hover{transform:translateY(-5px);border-color:rgba(255,96,189,.23)!important}.casino-page .card .icon{background:linear-gradient(135deg,rgba(255,96,189,.13),rgba(124,92,255,.16))!important;color:#fff!important}.casino-page .betbox{border-radius:18px!important;background:rgba(4,7,14,.55)!important}.casino-page .chip-row .btn{border-radius:10px!important}.casino-page .side{gap:12px!important}.casino-page .cpanel{border-radius:18px!important}
@media(max-width:980px){.app-topbar{width:calc(100% - 18px);margin-top:9px;align-items:flex-start}.app-nav{overflow-x:auto;justify-content:flex-start;flex-wrap:nowrap;max-width:calc(100vw - 10rem);scrollbar-width:none}.app-nav::-webkit-scrollbar{display:none}.app-nav a{white-space:nowrap}}
@media(max-width:640px){.app-topbar{border-radius:16px;padding-left:.75rem}.app-brand{font-size:0;gap:0}.app-brand::before{width:1.05rem;height:1.05rem}.app-nav{max-width:calc(100vw - 4.7rem)}.app-nav a{min-height:2.3rem;padding:.5rem .67rem;font-size:.73rem}.page-head h1{font-size:clamp(2.35rem,14vw,3.7rem)!important}body.home-editorial .category-grid{grid-template-columns:1fr!important}body.home-editorial a.site-link{min-height:68px!important}}
@media(max-width:720px){body.encrypt-page #app{padding:0!important}.encrypt-page #sidebar,.encrypt-page #chat-main{width:100%!important;border:0!important;border-radius:0!important}.shop-tools,.market-tools{align-items:stretch;flex-direction:column}.market-tools select{width:100%!important}.shop-stock,.market-count{justify-content:center}.encrypt-page .msg{max-width:92%!important}}
@media(max-width:760px){
  html{scroll-padding-top:4.8rem}
  body{padding-bottom:env(safe-area-inset-bottom,0px)}
  .app-topbar{position:sticky;top:max(6px,env(safe-area-inset-top,0px));z-index:900;width:calc(100% - 12px)!important;min-height:3.35rem;margin:6px auto 0!important;padding:.38rem max(.45rem,env(safe-area-inset-right,0px)) .38rem max(.55rem,env(safe-area-inset-left,0px))!important;align-items:center!important;border-radius:15px!important}
  .app-brand{flex:0 0 44px!important;width:44px;min-height:44px;justify-content:center;font-size:0!important}
  .app-brand::before{width:2rem!important;height:2rem!important;flex-basis:2rem!important;border-radius:10px!important}
  .app-nav{flex:1 1 auto!important;min-width:0!important;max-width:none!important;gap:.12rem!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .app-nav a{min-height:44px!important;padding:.62rem .72rem!important;scroll-snap-align:start;font-size:.75rem!important}
  .app-main{width:100%!important;max-width:100vw!important;padding:1.15rem max(12px,env(safe-area-inset-right,0px)) calc(3.5rem + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))!important;overflow-x:clip}
  .app-main>*{max-width:100%!important}
  .page-head{margin-bottom:1.1rem!important}.page-head::before{font-size:.58rem}.page-head h1{font-size:clamp(2.15rem,12vw,3.25rem)!important;overflow-wrap:anywhere}.page-sub,.subline{font-size:.9rem!important;line-height:1.55}
  .panel,.cpanel,.action-card{max-width:100%;padding:.85rem!important;border-radius:17px!important}
  button,.btn,.btn-primary,.btn-ghost,a.btn,[role="button"]{min-height:44px}
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),textarea,select{max-width:100%;min-height:44px;font-size:16px!important}
  textarea{min-height:88px}
  table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}
  .modal-card,.mod-card,[role="dialog"]{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);overflow:auto}
  body.home-editorial .hub-hero-card,body.home-editorial .hud-hero-card{padding:1rem!important;border-radius:20px!important}
  body.home-editorial .category-group{padding:.8rem!important;border-radius:18px!important}
  body.home-editorial a.site-link{min-height:72px!important;padding:.8rem!important}
  .shop-page .page-head,.marketplace-page .page-head,.casino-page .page-head{align-items:stretch!important;grid-template-columns:1fr!important}
  .shop-page .balance-panel,.casino-page .wallet{width:100%!important;min-width:0!important}
  .shop-page .market-grid,.casino-page .games{grid-template-columns:1fr!important}
  .shop-page .market-grid .card,.casino-page .games>.card{min-height:0!important}
  .marketplace-page .layout,.marketplace-page .listings-grid{grid-template-columns:1fr!important}
  .marketplace-page .sidebar{position:static!important}
  .leaderboard-page .podium{overflow-x:auto;overscroll-behavior-x:contain}
  .plaza-page .chat-shell{border-radius:18px!important}.plaza-page .chat-box{height:calc(100dvh - 330px);min-height:300px}.plaza-page .input-wrap{padding-bottom:max(13px,env(safe-area-inset-bottom,0px))}
  .admin-page .shell{width:100%!important;padding-right:max(8px,env(safe-area-inset-right,0px))!important;padding-left:max(8px,env(safe-area-inset-left,0px))!important}
  .admin-page .admin-nav{display:flex!important;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.admin-page .admin-nav a{min-width:max-content;min-height:44px;scroll-snap-align:start}
  .admin-page .form-row,.admin-page .row{align-items:stretch!important;flex-direction:column!important}.admin-page .form-row>*{width:100%!important;min-width:0!important}
  .chat-toast,.toast{bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 24px)}
}
@media(max-width:480px){
  body :where(.container,.shell,.wrapper,.wrap){width:100%!important;max-width:100%!important;margin-right:auto!important;margin-left:auto!important}
  body :where(.toolbar,.filter-bar,.panel-actions,.modal-actions){max-width:100%;flex-wrap:wrap!important}
  body :where(.toolbar,.filter-bar,.panel-actions,.modal-actions)>:where(input,select,textarea,button,.btn){min-width:0!important;max-width:100%!important}
  .app-shell :where(.row,.form-row,.controls,.actions,.tabs)>*{min-width:0;max-width:100%}
  .page-head h1{font-size:clamp(2rem,11vw,2.85rem)!important;line-height:1!important}
  .page-head::after{margin-top:.75rem}
  .panel,.cpanel,.action-card{padding:.75rem!important}
  .shop-page .modal-backdrop,.plaza-page .mod-overlay{padding:max(10px,env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px))!important}
  .shop-page .modal-content,.plaza-page .mod-card{width:100%!important;max-width:100%!important;padding:1rem!important}.shop-page .modal-close-btn{width:44px!important;height:44px!important}
  .shop-page .modal-actions{align-items:stretch!important;flex-direction:column!important;gap:.6rem!important}.shop-page .modal-actions>*{width:100%!important}
  .marketplace-page .warning-banner{padding:.8rem!important;gap:.6rem!important}.marketplace-page .warning-icon{flex:0 0 34px!important;width:34px!important;height:34px!important}.marketplace-page .listing-header{align-items:flex-start;flex-direction:column}.marketplace-page .listing-price{white-space:normal}.marketplace-page .feed-tabs{width:100%;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.marketplace-page .feed-tab{min-height:44px;scroll-snap-align:start}
  .casino-page #fullscreen-overlay{padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))!important}.casino-page .fs-layout{width:100%!important;margin:54px auto 16px!important;gap:10px!important}.casino-page .fs-main,.casino-page .fs-controls-box,.casino-page .fs-results-box{width:100%;min-height:0!important;padding:12px!important}.casino-page .fs-close{top:max(8px,env(safe-area-inset-top,0px))!important;left:max(8px,env(safe-area-inset-left,0px))!important}.casino-page .controls>*:not(.choice-row):not(.chip-row){max-width:100%}
  .leaderboard-page .podium{grid-template-columns:repeat(3,minmax(0,1fr))!important;min-height:200px!important;padding:6px!important;gap:3px!important;overflow:hidden!important}.leaderboard-page .podium-card{min-width:0!important;padding:9px 3px!important}.leaderboard-page .podium-card.first{min-height:170px}.leaderboard-page .podium-card.second{min-height:148px}.leaderboard-page .podium-card.third{min-height:138px}.leaderboard-page .podium-avatar{width:38px;height:38px}.leaderboard-page .first .podium-avatar{width:46px;height:46px}.leaderboard-page .podium-name{font-size:.64rem}.leaderboard-page .podium-score{font-size:.6rem}
  .plaza-page .chat-box{height:clamp(220px,calc(100dvh - 320px),520px)!important;min-height:220px!important}.plaza-page .msg{max-width:100%!important}.plaza-page .message-tools{width:auto;max-width:100%;margin-left:auto;justify-content:flex-end}.plaza-page .message-tools button{min-height:44px!important}.plaza-page .mod-actions{grid-template-columns:1fr!important}.plaza-page .mod-actions .wide{grid-column:auto}.plaza-page .chat-toast{right:12px!important;left:12px!important;width:auto!important}
  .admin-page .topbar{gap:10px!important}.admin-page .topbar>*{max-width:100%}.admin-page .toolbar>*{width:100%!important;min-width:0!important}.admin-page #passphrase-lock-box [style*="min-width"]{min-width:0!important;width:100%!important}.admin-page .table-wrap{width:100%;max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.admin-page .admin-calendar-nav button{min-width:44px!important;min-height:44px!important}
  body.encrypt-page,body.encrypt-page #app{height:100dvh!important;max-height:100dvh!important}.encrypt-page #sidebar-top,.encrypt-page #chat-header{padding-right:max(10px,env(safe-area-inset-right,0px))!important;padding-left:max(10px,env(safe-area-inset-left,0px))!important}.encrypt-page #msgs{padding:10px!important}.encrypt-page .msg{max-width:96%!important}.encrypt-page #input-row{gap:6px!important;padding-right:max(8px,env(safe-area-inset-right,0px))!important;padding-left:max(8px,env(safe-area-inset-left,0px))!important}.encrypt-page #sendBtn{min-width:76px!important}.encrypt-page #toast{right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;left:12px!important;max-width:none!important}
  body.home-editorial #_ap{right:12px!important;left:12px!important;width:auto!important;max-width:none!important}body.home-editorial #_ab{bottom:calc(55px + env(safe-area-inset-bottom,0px))!important}body.home-editorial #hud-terminal-overlay{width:100%!important;max-width:100vw!important;height:min(430px,72dvh)!important;border-radius:0 0 14px 14px!important}body.home-editorial .terminal-header{padding-right:max(10px,env(safe-area-inset-right,0px))!important;padding-left:max(10px,env(safe-area-inset-left,0px))!important}
}
@media(max-width:430px){
  .plaza-page .plaza-stats{flex-wrap:wrap}.plaza-page .plaza-stats>span{min-width:0}
  .admin-page [style*="grid-template-columns"]{grid-template-columns:1fr!important}
}
@media(max-width:350px){
  .app-topbar{width:calc(100% - 8px)!important}.app-brand{flex-basis:40px!important;width:40px}.app-brand::before{width:1.8rem!important;height:1.8rem!important;flex-basis:1.8rem!important}.app-nav a{padding:.58rem .62rem!important;font-size:.7rem!important}
  .app-main{padding-right:max(8px,env(safe-area-inset-right,0px))!important;padding-left:max(8px,env(safe-area-inset-left,0px))!important}
  body.home-editorial .category-group{padding:.65rem!important}body.home-editorial a.site-link{padding:.7rem!important}
  .leaderboard-page .podium{padding:4px!important}.leaderboard-page .podium-card{padding:7px 2px!important}.leaderboard-page .podium-rank{top:7px;right:6px}.leaderboard-page .podium-avatar{width:34px;height:34px}.leaderboard-page .first .podium-avatar{width:42px;height:42px}
}
@media(hover:none) and (pointer:coarse){.card:hover,.listing-item:hover,body.home-editorial a.site-link:hover{transform:none!important}.message-tools{opacity:1!important}button::after,.btn::after,.btn-primary::after,.btn-ghost::after,a.btn::after{display:none}}
@media(prefers-reduced-motion:reduce){body::before{animation:none!important}.relaunch-ready .relaunch-reveal{opacity:1!important;transform:none!important;transition:none!important}body.home-editorial a.site-link:hover,.btn-primary:hover,.btn.primary:hover,button.primary:hover,button[type="submit"]:hover{transform:none!important}button::after,.btn::after,.btn-primary::after,.btn-ghost::after,a.btn::after{display:none}}
