/* One gaming card system: navigation 148x72, modes 148x88, identities 200x104.
   Phone grids use equal available-width columns with the same fixed heights. */
:root{--card-corner:10px;--card-pad:12px;--nav-card-width:148px;--nav-card-height:72px;--mode-card-height:88px;--identity-card-width:200px;--identity-card-height:104px;--card-lift:0 -3px 0;--heading-font:Bahnschrift,'Arial Narrow','Segoe UI',sans-serif}
[data-theme=dark]{--bg:#10141b;--panel:#1b222c;--panel2:#2a3441;--line:#425064;--accent:#ffcf32;--ink:#151a21;--text:#f5f6f8;--muted:#bec7d2;--shadow:0 4px 12px #0002}
[data-theme=light]{--bg:#edf0f3;--panel:#fff;--panel2:#e2e8ef;--line:#bdc8d4;--accent:#ffcf32;--ink:#151a21;--text:#18212c;--muted:#4c5c6b;--shadow:0 4px 14px #26394b0d}
h1,h2,h3,.nav-card,.mode-card,.identity-copy strong{font-family:var(--heading-font)}h1{letter-spacing:-.5px}.page-heading h1{font-size:26px}.page-heading{margin-bottom:16px}.page-heading p{font-size:13px;line-height:1.5}.section{margin-bottom:20px}.card{border-radius:var(--card-corner);padding:var(--card-pad)}.card h2{font-size:18px}.card h3{font-size:15px}.main{padding-top:18px}.section-title{gap:10px;margin-bottom:10px}.section-title h2{font-size:17px}.section-title>button{font-size:12px}.card-tabs,.tabbar.card-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--nav-card-width)),var(--nav-card-width)));gap:9px;overflow:visible;background:none;padding:0;border-radius:0;scrollbar-width:none;margin:0 0 18px;align-items:stretch}.nav-card,.card-tabs>button{height:var(--nav-card-height);min-height:var(--nav-card-height);padding:10px 12px;display:flex;gap:9px;justify-content:flex-start;text-align:left;background:var(--panel);border:0;white-space:normal;box-shadow:var(--shadow);border-radius:var(--card-corner);color:var(--text);position:relative;transition:transform .18s,box-shadow .18s,background .18s}.card-tabs>button>span{font-size:13px;line-height:1.25;font-weight:650;min-width:0}.card-tabs>button .icon{width:20px;height:20px;color:var(--muted)}.card-tabs>button.active,.card-tabs>button[aria-pressed=true]{background:var(--accent);color:var(--ink);box-shadow:0 4px 12px #bb89151a}.card-tabs>button.active .icon,.card-tabs>button[aria-pressed=true] .icon{color:var(--ink)}.tabbar.card-tabs button:before{display:none}.mode-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;max-width:1040px}.mode-card{height:var(--mode-card-height);min-height:var(--mode-card-height);min-width:0;background:var(--panel);border:0;border-radius:var(--card-corner);display:grid;grid-template-columns:26px minmax(0,1fr);align-content:center;column-gap:10px;row-gap:3px;padding:12px;text-align:left;box-shadow:var(--shadow);position:relative;overflow:hidden}.mode-card>.icon{grid-row:1/3;width:24px;height:24px;color:var(--muted);align-self:center}.mode-card>span{font-size:15px;font-weight:750;letter-spacing:.6px;line-height:1.2}.mode-card>small{font-size:11px;color:var(--muted);line-height:1.25}.mode-card:after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:3px;background:var(--accent);border-radius:3px 3px 0 0;opacity:.85}.mode-card:nth-child(3):after{background:#75b9cc}.mode-card:nth-child(5):after{background:#a6b2cf}.mode-card:nth-child(6):after{background:#c78171}.identity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(174px,var(--identity-card-width)));gap:10px;margin:14px 0;align-items:start}.identity-card{width:100%;height:var(--identity-card-height);min-height:var(--identity-card-height);min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:11px;background:var(--panel);border-radius:var(--card-corner);box-shadow:var(--shadow);padding:12px;text-align:left;position:relative;overflow:hidden;border:0;isolation:isolate}.identity-card:after{content:'';position:absolute;width:46px;height:46px;right:-13px;top:-13px;transform:rotate(45deg);background:var(--panel2);z-index:-1}.identity-card>.identity-emblem{width:36px;flex-shrink:0}.identity-card .avatar{width:36px;height:40px;margin:0;position:static;border-radius:7px;font-size:13px;background:var(--panel2);color:var(--text)}.identity-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.identity-copy>strong{color:var(--text);font-size:15px;line-height:1.2;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mode-label{display:inline-block;font-size:12px;line-height:1.3;color:var(--muted);font-weight:600;overflow-wrap:anywhere}.uid-line{font-size:10px;line-height:1.3;color:var(--muted);overflow-wrap:anywhere}.presence-dot,.live-pip{position:absolute;right:9px;bottom:9px;width:6px;height:6px;border-radius:50%;background:#65cfaf}.live-pip{background:#ef8e77}.creator.identity-card .avatar{margin:0}.creator.identity-card p,.creator.identity-card .creator-banner{display:none}.creator.identity-card{padding:12px}.home-card-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.spotlight-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;max-width:420px}.draw-mini-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;max-width:520px}.draw-mini-grid .compact-story{min-height:100px;height:100px;padding:10px;border-radius:var(--card-corner)}.draw-mini-grid .compact-art{height:68px;width:84px}.draw-mini-grid .compact-copy h3{font-size:14px}.store-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:1100px}.store-card{height:86px;min-height:86px;padding:12px;background:var(--panel);border-radius:var(--card-corner);display:flex;justify-content:flex-start;text-align:left;gap:12px;box-shadow:var(--shadow);min-width:0}.store-card>span:nth-child(2){min-width:0;flex:1}.store-card strong{font-size:13px;display:block;line-height:1.3;overflow-wrap:anywhere}.store-card small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.store-card>.icon{width:14px;color:var(--muted)}.store-card .shortcut-icon{background:var(--panel2);color:var(--muted)!important;width:34px;height:36px;flex-shrink:0}.quick-actions{gap:9px;margin:22px 0}.quick-action{height:86px;min-height:86px;border-radius:var(--card-corner);padding:12px;gap:11px}.quick-action>span:nth-child(2){display:flex;flex-direction:column;min-width:0;text-align:left;gap:4px}.quick-action b{font-size:13px;line-height:1.25}.quick-action small{font-size:11px;color:var(--muted);display:block}.shortcut-icon{background:var(--panel2);color:var(--text)!important}.quick-action:nth-child(n) .shortcut-icon{background:var(--panel2);color:var(--text)!important}.mode-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:7px;margin-bottom:16px;max-width:1000px}.mode-filter-grid button{height:54px;min-height:54px;font-size:12px;padding:8px 10px;box-shadow:var(--shadow);border-radius:8px;background:var(--panel);line-height:1.25}.mode-filter-grid button.active{background:var(--accent);color:var(--ink)}.community-tools{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin-bottom:14px}.community-tools button{font-size:12px}.region-choice{max-width:260px;margin-bottom:14px}.community-tools .region-choice{margin-bottom:0}.room-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:14px 0}.room-card{min-height:132px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.room-card small{font-size:12px;color:var(--muted)}.room-card .row{gap:6px}.friend-invite{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.friend-invite span{font-size:12px;color:var(--muted)}.region-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px;max-width:1100px;margin-bottom:18px}.region-card-grid button{min-height:54px;height:54px;font-size:12px;box-shadow:var(--shadow);background:var(--panel)}.region-card-grid button.active{background:var(--accent);color:var(--ink)}.event-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.event-card-grid .tournament-card{padding:14px;min-height:210px}.tournament-card .prize{font-size:20px;line-height:1.2;color:var(--text);font-family:var(--heading-font);margin:12px 0}.tournament-card p{font-size:12px}.competition-banner{display:none}.detail-player{margin-bottom:14px;padding:18px;max-width:1000px}.detail-player-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}.detail-player-top>div{flex:1;min-width:120px}.detail-player-top h2{font-size:25px;margin:0 0 5px}.detail-player-top small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.detail-player p{font-size:14px;max-width:700px}.detail-player .avatar.big{width:66px;height:74px;font-size:24px;border-radius:10px}.detail-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:1000px}.detail-cards .content-detail{font-size:14px}.button-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;background:var(--panel2);padding:10px 14px;border-radius:8px;font-size:13px}.uid-box{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:var(--panel2);padding:10px 12px;border-radius:8px;margin-bottom:14px;font-size:13px}.uid-box span{overflow-wrap:anywhere;min-width:0;flex:1}.uid-box .mono{font-size:13px}.setup-detail{max-width:1000px}.setup-detail .setup-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.identity-note{margin-top:14px;font-size:12px}.setup-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);align-items:start;gap:16px}.setup-columns>aside{min-width:0}.setup-columns>aside .identity-card{max-width:var(--identity-card-width);margin:12px 0}.setup-columns>aside>div>small{font-size:12px;color:var(--muted)}.player-settings{padding:18px}.player-settings .form-grid{gap:13px}.player-settings .form-grid>.field{font-size:13px}.card-fieldset{background:var(--panel2);border:0;padding:12px;border-radius:8px;min-width:0}.card-fieldset legend{font-size:13px;padding:0 4px;color:var(--muted)}.setup-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mode-check{display:flex;align-items:center;gap:7px;background:var(--panel);border-radius:7px;min-height:50px;padding:9px;font-size:12px;line-height:1.3;cursor:pointer}.mode-check input{width:16px;height:16px;min-height:16px;flex-shrink:0;accent-color:#8a6900}.setup-toggles{display:grid;gap:5px;margin-top:14px}.uid-help{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.uid-help span{flex:1;min-width:180px}.uid-help a{font-size:12px;text-decoration:underline}.uid-help button{font-size:12px}.my-card-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.my-card-layout .identity-card{max-width:var(--identity-card-width)}.compact-meta{font-size:12px;color:var(--muted);margin-top:12px;justify-content:space-between}.saved-card-grid{display:grid;gap:10px}.arsenal-reserved{max-width:620px;min-height:170px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:20px}.arsenal-reserved p{font-size:14px;margin:0}.arsenal-reserved small{font-size:12px;color:var(--muted)}.arsenal-mark .icon{width:30px;height:30px}.arsenal-reserved h2{font-size:26px;margin:0}.compact-wheel-card{max-width:530px;margin:0 auto;text-align:center;padding:14px 18px}.wheel-top{margin-bottom:4px}.wheel-top .eyebrow{font-size:11px;margin:0}.wheel-top button{font-size:12px}.category-caption{font-size:13px;font-weight:650;line-height:1.3}.category-caption span{font-size:12px;color:var(--muted);font-weight:400}.compact-wheel-card .wheel-wrap{width:280px;max-width:100%;margin:12px auto 12px;transform:perspective(1200px) rotateX(3deg);filter:drop-shadow(0 5px 0 #6d542c) drop-shadow(0 7px 6px #0003)}.wheel-result{font-size:25px;font-family:var(--heading-font);font-weight:750;color:var(--text);margin:13px 0;line-height:1.25}.wheel-result.winning-weapon{font-size:34px;font-weight:800;letter-spacing:.3px;animation:weapon-reveal .28s ease-out}.compact-wheel-card>.primary{min-width:160px;margin-bottom:0}.compact-wheel-card .compact-disclosure{text-align:left;margin-top:12px}.compact-wheel-card .compact-disclosure>summary{min-height:44px;padding:9px 12px}.wheel-configuration{text-align:left;background:var(--panel2);padding:12px;border-radius:8px;margin-top:12px}.wheel-configuration .row h3{font-size:14px}.wheel-configuration>.field{margin-bottom:12px}.wheel-configuration .wheel-settings{max-height:160px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.wheel-configuration .check{min-height:38px;font-size:12px}.wheel-configuration .pool-count{font-size:12px}.dense-wheel-note{font-size:12px;margin-bottom:8px}.compact-dice-card{max-width:640px;margin:0 auto;padding:16px;text-align:center}.compact-dice-card h2{font-size:19px;margin:0}.double-dice-players{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.dice-player{background:var(--panel2);border-radius:8px;padding:14px 10px;min-width:0}.dice-player>.eyebrow{font-size:10px;margin-bottom:15px}.dice-duet{display:flex;justify-content:center;gap:22px;padding:8px 0 16px}.dice-duet .die-scene,.dice-duet .die-cube{width:46px;height:46px}.dice-duet .die-face{border-radius:8px;gap:3px;padding:7px}.dice-duet .face-1{transform:translateZ(23px)}.dice-duet .face-2{transform:rotateX(90deg) translateZ(23px)}.dice-duet .face-3{transform:rotateY(90deg) translateZ(23px)}.dice-duet .face-4{transform:rotateY(-90deg) translateZ(23px)}.dice-duet .face-5{transform:rotateX(-90deg) translateZ(23px)}.dice-duet .face-6{transform:rotateX(180deg) translateZ(23px)}.dice-total{font-size:14px;line-height:1.3;font-weight:650;margin-bottom:12px;min-height:18px}.dice-player>.primary{font-size:12px}.compact-dice-card .dice-outcome{font-size:17px;margin:14px 0 8px;min-height:22px}.compact-dice-card>small{font-size:12px;display:block;margin-top:8px}.intel-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,148px));gap:8px;overflow:visible}.intel-tabs button{background:var(--panel);box-shadow:var(--shadow);min-height:60px;white-space:normal;font-size:13px}.intel-intro{padding:16px}.intel-intro p{font-size:14px}.creator-toolbar input{max-width:380px}.voice-peers{gap:8px}.voice-peer{font-size:12px}.voice-status p{font-size:11px}.voice-peer input{max-width:90px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.identity-card:hover,.mode-card:hover,.nav-card:hover,.store-card:hover,.quick-action:hover,.card-tabs>button:hover{transform:translateY(-3px);box-shadow:0 8px 16px #0002}.identity-card:hover .identity-emblem,.mode-card:hover>.icon{transform:translateY(-1px) scale(1.06)}.identity-emblem,.mode-card>.icon{transition:transform .18s}}
.identity-card:active,.mode-card:active,.nav-card:active,.store-card:active,.quick-action:active{transform:scale(.98)}
@keyframes weapon-reveal{from{transform:translateY(4px) scale(.96);opacity:.6}to{transform:translateY(0) scale(1);opacity:1}}
@media(max-width:1200px){.mode-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:750px}.mode-card{grid-template-columns:28px 1fr}.home-card-columns{gap:16px}.setup-columns{grid-template-columns:minmax(0,1fr)}.setup-columns>aside{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-columns>aside>.compact-disclosure{grid-column:1/-1}.store-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-card{gap:8px}.store-card strong{font-size:12px}.store-card>.icon{display:none}.spotlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-cards{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){:root{--nav-card-height:68px;--mode-card-height:82px;--identity-card-height:104px}.main{padding:14px 12px 94px}.page-heading{gap:10px}.page-heading h1{font-size:24px}.page-heading p{font-size:13px}.page-heading>.primary{font-size:12px;padding:8px 10px}.section-title h2{font-size:16px}.section-title>button{font-size:11px;padding:6px 8px}.card-tabs,.tabbar.card-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}.card-tabs[aria-label="duel views"],.card-tabs[aria-label="profile views"]{grid-template-columns:repeat(4,minmax(0,1fr))}.nav-card,.card-tabs>button{height:var(--nav-card-height);min-height:var(--nav-card-height);padding:9px 5px;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px}.card-tabs>button>span{font-size:11px;line-height:1.2;font-weight:650}.card-tabs>button .icon{width:19px;height:19px}.mode-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mode-card{height:var(--mode-card-height);min-height:var(--mode-card-height);padding:10px;column-gap:7px;row-gap:4px;grid-template-columns:20px minmax(0,1fr)}.mode-card>.icon{width:19px;height:19px}.mode-card>span{font-size:12px;letter-spacing:.3px}.mode-card>small{font-size:10px;line-height:1.2}.mode-card:after{left:10px;right:10px;height:2px}.quick-actions{gap:8px;margin:20px 0}.quick-action{height:100px;min-height:100px;padding:10px;flex-direction:column;align-items:flex-start;gap:8px}.quick-action>span:nth-child(2){gap:3px}.quick-action b{font-size:12px;line-height:1.25}.quick-action small{font-size:10px}.quick-action .shortcut-icon{width:26px!important;height:26px!important}.home-card-columns{grid-template-columns:minmax(0,1fr);gap:0}.identity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.identity-card,.creator.identity-card{height:var(--identity-card-height);min-height:var(--identity-card-height);padding:10px;gap:9px}.identity-emblem{width:30px!important}.identity-card .avatar{width:30px;height:36px;border-radius:6px;font-size:12px}.identity-copy{gap:5px}.identity-copy>strong{font-size:14px}.identity-copy .mode-label{font-size:11px;line-height:1.3}.uid-line{font-size:10px}.identity-card:after{width:36px;height:36px;right:-10px;top:-10px}.spotlight-grid{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.draw-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.draw-mini-grid .compact-story{height:126px;min-height:126px;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:10px;position:relative;align-content:start}.draw-mini-grid .compact-art{width:100%;height:44px}.draw-mini-grid .compact-copy h3{font-size:12px;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.draw-mini-grid .compact-copy .eyebrow{display:none}.draw-mini-grid .card-date{font-size:10px}.draw-mini-grid .compact-arrow{display:none}.draw-mini-grid .weapon-illustration svg{height:50px;width:125px}.draw-mini-grid .weapon-illustration small{font-size:6px;bottom:3px}.store-card-grid{grid-template-columns:minmax(0,1fr);gap:9px}.store-card{height:64px;min-height:64px;padding:10px 12px;gap:12px}.store-card strong{font-size:13px}.store-card small{font-size:11px}.store-card>.icon{display:block;width:15px}.store-card .shortcut-icon{width:32px!important;height:32px!important}.mode-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mode-filter-grid button{min-height:50px;height:50px;padding:6px;font-size:11px}.community-tools{gap:7px}.community-tools>.region-choice{width:100%;max-width:none}.community-tools>button{font-size:11px;padding:8px 10px}.region-choice select{font-size:16px}.region-choice{max-width:none}.region-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.region-card-grid button{font-size:11px;height:50px;min-height:50px;padding:6px}.event-card-grid{grid-template-columns:minmax(0,1fr)}.event-card-grid .tournament-card{min-height:200px}.room-card-grid{grid-template-columns:minmax(0,1fr)}.room-card{min-height:118px}.setup-columns>aside{display:grid;grid-template-columns:minmax(0,1fr)}.player-settings{padding:14px}.setup-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mode-check{font-size:12px;padding:9px;min-height:50px}.player-settings .form-grid{grid-template-columns:minmax(0,1fr)}.player-settings .form-grid .wide{grid-column:auto}.uid-help span{min-width:100%;font-size:12px}.uid-help button{font-size:12px}.card-fieldset{padding:10px}.setup-toggles>.check{font-size:13px;line-height:1.35}.my-card-layout{grid-template-columns:minmax(0,1fr)}.my-card-layout .identity-card{max-width:200px}.detail-player{padding:16px}.detail-player-top{gap:12px}.detail-player-top h2{font-size:24px}.detail-player-top .avatar.big{width:56px;height:66px;font-size:23px}.detail-player-top>button{font-size:12px}.setup-detail .setup-metrics{grid-template-columns:minmax(0,1fr);gap:14px}.uid-box{font-size:12px;gap:8px}.uid-box .mono{font-size:12px}.uid-box span{overflow-wrap:anywhere}.uid-box button{font-size:12px}.creator-toolbar{grid-template-columns:1fr 1fr;gap:10px}.creator-toolbar>input{grid-column:1/-1;max-width:none}.creator-toolbar>.row{display:flex;gap:5px}.creator-toolbar>.row button{font-size:12px}.compact-wheel-card{padding:12px 14px}.compact-wheel-card .wheel-wrap{width:246px;margin:12px auto}.compact-wheel-card .wheel-result{font-size:23px;min-height:29px;margin:12px 0}.compact-wheel-card .winning-weapon{font-size:32px}.wheel-top button{font-size:11px;min-height:44px;padding:8px 10px}.wheel-top .eyebrow{font-size:10px;letter-spacing:.7px}.category-caption{font-size:13px}.category-caption span{font-size:11px}.wheel-configuration{padding:10px}.wheel-configuration .wheel-settings{grid-template-columns:repeat(2,minmax(0,1fr));max-height:160px}.wheel-configuration .check{font-size:12px;min-height:40px}.wheel-configuration .row{gap:6px}.wheel-configuration .row button{min-height:44px;font-size:12px}.compact-dice-card{padding:12px}.double-dice-players{gap:9px}.dice-player{padding:13px 7px}.dice-duet{gap:15px}.dice-duet .die-scene,.dice-duet .die-cube{width:40px;height:40px}.dice-duet .die-face{padding:6px;gap:3px;border-radius:7px}.dice-duet .face-1{transform:translateZ(20px)}.dice-duet .face-2{transform:rotateX(90deg) translateZ(20px)}.dice-duet .face-3{transform:rotateY(90deg) translateZ(20px)}.dice-duet .face-4{transform:rotateY(-90deg) translateZ(20px)}.dice-duet .face-5{transform:rotateX(-90deg) translateZ(20px)}.dice-duet .face-6{transform:rotateX(180deg) translateZ(20px)}.dice-total{font-size:13px}.dice-player>.primary{font-size:12px;min-height:44px;padding:8px}.compact-dice-card h2{font-size:18px}.compact-dice-card .dice-outcome{font-size:15px}.compact-dice-card>small{font-size:11px}.intel-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.intel-tabs button{font-size:11px;min-height:56px;padding:7px;white-space:normal}.catalogue-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.catalogue-tabs>button{font-size:12px;padding:8px;flex-direction:row}.arsenal-reserved{min-height:160px}.identity-note{font-size:12px}.detail-cards{gap:10px}.setup-columns>aside .identity-card{max-width:200px}.compact-meta{font-size:12px}.footer-note{font-size:11px}}
@media(max-width:359px){.identity-card,.creator.identity-card{gap:7px;padding:9px}.identity-card .avatar{width:27px;height:32px;font-size:11px}.identity-emblem{width:27px!important}.identity-copy>strong{font-size:13px}.identity-copy .mode-label{font-size:10px}.mode-card{padding:9px;grid-template-columns:17px minmax(0,1fr);gap:5px}.mode-card>.icon{width:16px;height:16px}.mode-card>span{font-size:11px}.mode-card>small{font-size:9px}.card-tabs>button>span{font-size:10px}.dice-duet{gap:11px}.dice-duet .die-scene{transform:scale(.92)}.compact-wheel-card .wheel-wrap{width:232px}.news-copy h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.identity-card,.mode-card,.nav-card,.store-card,.quick-action,.identity-emblem,.mode-card>.icon{transition:none;animation:none}.wheel-result.winning-weapon{animation:none}.identity-card:active,.mode-card:active,.nav-card:active,.store-card:active,.quick-action:active{transform:none}}
.voice-effects-panel{margin-top:8px;background:var(--panel2);border-radius:8px;padding:0 10px}.voice-effects-panel>summary{font-size:12px;min-height:40px;padding:10px 0}.voice-effects-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 0 10px;max-width:450px}.voice-effects-controls small{grid-column:1/-1;font-size:11px;color:var(--muted)}.voice-effects-controls .field{font-size:12px}.voice-effects-controls select{font-size:13px}.draw-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.draw-mini-grid .compact-story{height:126px;min-height:126px;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:6px}.draw-mini-grid .compact-art{height:44px;width:100%}.draw-mini-grid .compact-copy h3{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.draw-mini-grid .compact-copy .eyebrow,.draw-mini-grid .compact-arrow{display:none}.draw-mini-grid .card-date{font-size:11px}.draw-mini-grid .weapon-illustration svg{height:45px;max-width:140px}.draw-mini-grid .weapon-illustration small{font-size:6px}
.identity-copy>strong{-webkit-line-clamp:1}.identity-copy .mode-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shared-dice-panel .dice-pair{gap:20px;padding:14px 0}.shared-dice-panel .dice-pair>div{gap:9px}.shared-dice-panel .dice-pair b{font-size:12px}.shared-dice-panel .dice-duet{padding:8px 0 10px}.shared-dice-panel .dice-pair small{font-size:12px;color:var(--muted)}
button.tournament-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;gap:10px;height:198px;min-height:198px}.tournament-card .event-name{font-family:var(--heading-font);font-size:17px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tournament-card .prize{font-size:18px;margin:0;color:var(--text)}.tournament-card>small{font-size:12px;color:var(--muted)}.event-host{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:auto}.event-host .icon{width:16px}.player-settings .setup-codes{margin:0}.setup-codes>summary{font-size:13px}.setup-codes>.form-grid{padding-top:6px}.setup-codes .wide{grid-column:1/-1}
#toast{background:var(--panel2);color:var(--text);border:0;border-left:3px solid var(--accent);box-shadow:var(--shadow);font-size:13px}.avatar,.avatar.orange,.avatar.purple{background:var(--panel2);color:var(--text)}.skip:focus{top:-100px}.skip:focus-visible{top:10px}
.event-card-grid button.tournament-card{height:198px;min-height:198px}
/* Community: conversation first, consistent compact filter cards. */
.community-filters{margin:0 0 14px}.community-scope{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.community-scope .field{margin:0;min-width:180px;max-width:260px}.community-filters .mode-filter-grid{margin:0;grid-template-columns:repeat(7,minmax(0,1fr))}.community-main{min-width:0}.community-conversation{padding:16px;max-width:1100px}.conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.conversation-heading h2{font-size:20px;margin:4px 0}.conversation-heading small{font-size:12px;color:var(--muted)}.community-conversation .chat-messages{height:clamp(220px,38vh,390px);max-height:none;margin:14px 0 10px;padding:12px 0;border-top:1px solid var(--line);overflow:auto;overscroll-behavior:contain}.community-conversation .chat-compose{display:flex;gap:8px;background:var(--panel2);padding:6px;border-radius:10px}.community-conversation .chat-compose input{width:0;flex:1;min-height:42px;background:transparent;border:0;font-size:14px}.community-conversation .chat-compose button{flex-shrink:0;min-height:42px}.community-footer,.room-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.game-room-code{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.weekend-status{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px;padding:16px}.weekend-status h3{margin:6px 0;font-size:18px}.weekend-status p{font-size:12px;margin:6px 0;color:var(--muted)}.weekend-status strong{font-size:15px;color:var(--accent)}.weekend-status>div:last-child{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:140px}.community-main .room-card{height:auto;min-height:148px}.community-main .message-body{min-width:0;overflow-wrap:anywhere}.community-main .message time{white-space:nowrap}
@media(max-width:1000px){.community-filters .mode-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:550px){.community-filters .mode-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.community-filters .mode-filter-grid button{min-height:54px;padding:8px;font-size:11px}.community-conversation{padding:12px}.conversation-heading h2{font-size:17px}.conversation-heading .row{gap:4px}.community-conversation .chat-messages{height:260px}.community-scope .field{flex:1}.weekend-status{flex-direction:column}.weekend-status>div:last-child{flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.community-main .chat-compose{gap:4px}.community-main .chat-compose button{padding:6px 10px}}
.match-preferences{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px;background:var(--panel);border-radius:10px;margin-top:10px}.match-preferences .field{flex:1;min-width:125px;margin:0}.match-preferences>span{flex-basis:100%;font-size:11px}.request-match-details{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.mode-filter-grid button .icon{width:14px;height:14px;vertical-align:middle}.mode-card[data-tournament-mode-card]{--mode-accent:var(--accent)}
.community-filters .mode-filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.card-tabs[aria-label="community views"]{grid-template-columns:repeat(4,minmax(0,1fr));max-width:720px}.card-tabs[aria-label="community views"] .nav-card{height:56px;min-height:56px;padding:7px 4px;gap:4px}.card-tabs[aria-label="community views"] .nav-card span{font-size:11px}.card-tabs[aria-label="community views"] .icon{width:17px;height:17px}@media(max-width:700px){.community-filters .mode-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
