/* 61S V63: shared compact visual language; no changes to card/CLASH hit areas. */
:root{--gold-radius:14px;--gold-panel:linear-gradient(155deg,#223549,#101b28);--gold-border:#445e76;--gold-lime:#dfff00;--v63-surface:#111e2b;--v63-muted:#b1c4d6}
body.hub99-active #app{background:radial-gradient(ellipse at 50% 15%,#1b3040 0,#0d1620 46%,#080e15 85%)!important;gap:7px!important;padding-inline:max(10px,env(safe-area-inset-left))!important}
body.hub99-active #lobby{gap:7px!important}body.hub99-active .top .brand{font-size:clamp(29px,8vw,42px)!important;letter-spacing:-.07em!important;text-shadow:none!important}body.hub99-active .top .tag{font:700 10px system-ui!important;padding:5px 9px!important;box-shadow:none!important;border-radius:999px!important}
body.hub99-active .toolbar{padding:0!important;gap:6px!important}body.hub99-active .toolbar .account{font:600 11px system-ui!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--v63-muted)!important}body.hub99-active .toolbar :is(.tool,.coin){border-radius:12px!important;min-height:38px!important;box-shadow:none!important}body.hub99-active .toolbar .tool{font:750 12px system-ui!important}
body.hub99-active .hub99-pager{order:0}body.hub99-active .hub99-tabs{order:2;grid-template-columns:repeat(5,minmax(0,1fr))!important;padding:5px;background:#0d1722;border:1px solid #334c61;border-radius:17px;gap:4px!important}body.hub99-active .hub99-tabs button{min-height:49px!important;border:0!important;border-radius:11px!important;box-shadow:none!important;background:transparent!important;font:700 clamp(9px,2.5vw,12px) system-ui!important;color:#c1cfde!important;gap:3px!important}body.hub99-active .hub99-tabs button:before{display:none!important}body.hub99-active .hub99-tabs button.active{background:linear-gradient(#eaff4b,#c2df00)!important;color:#101700!important;box-shadow:0 2px 0 #829700!important}body.hub99-active .hub99-tabs button[hidden]{display:none!important}body.hub99-active .hub99-position{display:none!important}body.hub99-active .hub99-page{padding:3px 1px 10px!important;scrollbar-width:none!important}body.hub99-active .hub99-page::-webkit-scrollbar{display:none}
body.hub99-active .hub99-page :is(h2,h3){font-family:system-ui,sans-serif!important;font-weight:850!important;letter-spacing:-.025em;font-style:normal!important}body.hub99-active .hub99-page :is(.panel,.evo-stage,.hub99-rules summary,.beta54-panel,#server58Goals,.daily99,.hub99-player,.gold-clan-banner,.s90-card,.s98-preview){border-radius:14px!important;border:1px solid #3a5368!important;background:linear-gradient(150deg,#1d3042,#101c29)!important;box-shadow:inset 0 1px 0 #ffffff12!important}
body.hub99-active .hub99-page .evo-stage{background:radial-gradient(ellipse at 50% 70%,#334a45,#182b38 58%,#101c29)!important;padding:8px!important}body.hub99-active .hub99-page #onlineBtn{min-height:57px!important;border-radius:14px!important;font:900 23px system-ui!important;background:linear-gradient(#efff67,#c9ed06)!important;box-shadow:0 4px 0 #839600!important;color:#101700!important}body.hub99-active #premium58Actions{margin:8px 0!important}body.hub99-active #premium58Actions button{font:800 13px system-ui!important;border-radius:12px!important;background:#1b3042!important;border:1px solid #46637b!important;color:#f2f7fb!important}
body.hub99-active .hub99-page #server58Goals{padding:8px 11px!important;margin:7px 0!important}#goals63>summary{cursor:pointer;font:800 13px system-ui;color:#dfff00;padding:10px 2px;min-height:40px}#goals63 #server58Goals{margin:0!important}#goals63{border:1px solid #3a5368;background:#142334;border-radius:14px;padding:0 10px;margin:8px 0}
body.hub99-active .hub99-socialActions{display:grid!important;grid-template-columns:1fr 1fr;gap:7px!important}body.hub99-active .hub99-socialActions button:first-child{grid-column:1/-1}body.hub99-active .hub99-socialActions button{font:800 12px system-ui!important;border-radius:12px!important;background:#1b3042!important;border-color:#46637b!important;box-shadow:none!important}body.hub99-active .hub99-players{gap:8px!important}body.hub99-active .hub99-player{flex-basis:65%;min-height:190px;gap:4px;justify-content:center}body.hub99-active .hub99-player :is(strong,span,small,p){font-family:system-ui!important}body.hub99-active .hub99-player strong{font-size:16px!important}body.hub99-active .hub99-player canvas{width:92px!important;height:92px!important}
#onlineLobby,#onlineGame,#onlineEnd{--gold-radius:14px}#onlineLobby .net-button,#onlineLobby :is(.primary,.secondary),#onlineEnd :is(.primary,.secondary){border-radius:13px!important}#onlineLobby :is(.panel,.quota,.net-status),#onlineGame :is(.score,.arena),#onlineEnd .result{border-radius:14px!important}#onlineGame .duel-identities{gap:8px}#onlineGame #gameMessage{font:600 12px system-ui;min-height:1.45em;color:#c8d9e6}#onlineGame #gameMessage[data-network=offline]{color:#ffcf83}#onlineGame #cards button{touch-action:manipulation}
@media(max-width:360px){body.hub99-active .hub99-tabs button{font-size:9px!important;min-height:46px!important}body.hub99-active .hub99-tabs{padding:4px!important}body.hub99-active .hub99-player{flex-basis:76%}}
html.comfort62 body.hub99-active .hub99-tabs button{font-size:11px!important;min-height:54px!important}html.comfort62 body.hub99-active .hub99-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(prefers-reduced-motion:reduce){body.hub99-active .hub99-tabs button{transition:none!important}}
