:root{--board-surface:#e9e8db;--board-grid:#c3cebc;--board-edge:#d8ddcd;--board-hole:#f4f1e9;--board-hole-edge:#84957c}
.theme-control{display:inline-flex;align-items:center;gap:6px;font:12px system-ui;letter-spacing:0;white-space:nowrap;margin:0;flex-shrink:0}.theme-control>.theme-caption{color:#65786a;font-size:10px}.theme-control select{width:auto;min-height:34px;max-width:138px;margin:0;padding:6px 25px 6px 9px;border:1px solid #b9c7b5;border-radius:9px;color:#2b4c3d;background:#fffdf6;font:12px system-ui;cursor:pointer}.theme-control select:focus-visible{outline:2px solid #a67d40;outline-offset:3px}.theme-fallback{display:flex;justify-content:flex-end;margin:0 0 15px}header:has(.theme-control){flex-wrap:wrap;gap:12px}.theme-game-control{display:none}body.screenMode #modeControls .theme-game-control,body.screenMode #onlineViewControls .theme-game-control,body.tabletop #tableUtilities .theme-game-control{display:inline-flex}body.tabletop #modeControls .theme-game-control{display:none}.theme-game-control>.theme-caption{display:none}body.tabletop .theme-control select{min-height:29px;font-size:10px;padding:4px 18px 4px 6px}
:root[data-theme=dark]{color-scheme:dark;--board-surface:#23312a;--board-grid:#4b6251;--board-edge:#3b5143;--board-hole:#111a17;--board-hole-edge:#74846e;background:#111a17}
:root[data-theme=dark] body{background:#111a17!important;color:#d4ddcf!important}
:root[data-theme=dark] :is(h1,h2,h3,strong,b,summary,label,.brand,.sideCue,#status,#turn,#boardCue,#bottomCue,.counts,.scores,.selectedtext){color:#d4ddcf}
:root[data-theme=dark] :is(p,li,.help,.hint,.sub,.subtitle,.connection,.eyebrow,.version,.badge,.status,.target,.log,.history,footer,small,#remaining,#seatInfo,#sensorStatus,#onlineScreenStatus,.source){color:#9daf9f!important}
:root[data-theme=dark] :is(a,.tile .cta,.game .myturn){color:#aec6a4!important}
:root[data-theme=dark] :is(header,.phase,.turnbox,.target,.game,.backup,.legend){border-color:#34473b}
:root[data-theme=dark] :is(.card,.tile,.info,dialog,main:has(>form)){background:#1a2620!important;color:#d4ddcf!important;border-color:#3a4c3d!important;box-shadow:none}
:root[data-theme=dark] .tile.soon{background:#17221c!important}
:root[data-theme=dark] .tile:hover{border-color:#80967b!important}
:root[data-theme=dark] .glyph circle{stroke:#95ad8e}
:root[data-theme=dark] .tile.turnTile{background:#243f32!important}
:root[data-theme=dark] .turnTile .turnCount{color:#d1dfc7}
:root[data-theme=dark] :is(.turnGames a,.turnTile .ruleLink){border-color:#668064;color:#c9dbc0!important}
:root[data-theme=dark] .turnGames a:hover,:root[data-theme=dark] .turnTile .ruleLink:hover{background:#304d3b}
:root[data-theme=dark] :is(button,.primary,.play,.back){background:#345640;color:#e0e7db;border-color:#6d8668}
:root[data-theme=dark] :is(button.secondary,.secondary,.ruleLink,.tabs button,.gameChoice button,.pool button,.tableCue,.boardControls,#topControls,#bottomControls){background:#1e2c24!important;color:#bfceba!important;border-color:#405641!important;box-shadow:none!important}
:root[data-theme=dark] :is(button[aria-pressed=true],.tabs button.active,.gameChoice button[aria-pressed=true],.pool button.selected){background:#344735!important;color:#e0e5d2!important;border-color:#b39763!important}
:root[data-theme=dark] .ruleLink:hover{background:#293d2d!important}
:root[data-theme=dark] :is(input,textarea,select,.shareinput,#inviteLink,#recoveryCode){background:#101a14!important;color:#d5dfce!important;border-color:#52694c!important}
:root[data-theme=dark] input::placeholder{color:#879881}
:root[data-theme=dark] .theme-control>.theme-caption{color:#a0b096}
:root[data-theme=dark] .theme-control select{background:#1e2c24!important;color:#d4ddcf!important}
:root[data-theme=dark] .player{background:#1c2821!important;border-color:#405440!important;color:#d4ddcf}
:root[data-theme=dark] .player.active{background:#2a3f2d!important;border-color:#93ad83!important;box-shadow:0 0 0 1px #93ad8344}
:root[data-theme=dark] .onturn{background:#405b39!important;color:#e2ead8!important}
:root[data-theme=dark] :is(.player.winner,#resultBanner){background:#433b25!important;border-color:#b39763!important;color:#e3d4a9!important}
:root[data-theme=dark] dialog.result{border-color:#b39763!important}
:root[data-theme=dark] .resultLead{color:#c4d5b8!important}
:root[data-theme=dark] dialog::backdrop{background:#030806bb}
:root[data-theme=dark] :is(.error,#message,#localCancelError){color:#e5a38e!important}
:root[data-theme=dark] .boardControls .pool button.selected:after{color:#e3c58a}
:root[data-theme=dark] .orb{box-shadow:7px 9px 0 #263b2a,0 15px 35px #0003}
:root[data-theme=dark] .step .on{background:#48613c!important}
:root[data-theme=dark] .resultIcon circle{fill:#645333}
:root[data-theme=dark] .resultIcon path{stroke:#e0c587}
@media(max-width:760px){.theme-control select{font-size:11px;min-height:32px;max-width:128px}.theme-control>.theme-caption{display:none}header:has(.theme-control){gap:9px}.theme-control{margin-left:auto}}

:root[data-theme=dark] #ivory stop:first-child{stop-color:#d7d7c2}:root[data-theme=dark] #ivory stop:last-child{stop-color:#b7bca4}:root[data-theme=dark] .dot.white{background:#d3ceb4}:root[data-theme=dark] .step>span{background:#304237}:root[data-theme=dark] .step>span.on{background:#68805d!important}

:root[data-theme=dark]{--z-white-light:#e0dcc6;--z-white-shade:#bcb79e;--z-white-edge:#a7ab93;--z-gray-edge:#a0ac9c;--z-black-edge:#819680}

.theme-icon{display:inline-flex;width:17px;height:17px;flex:none;color:#4b6657}
.theme-icon svg{width:100%;height:100%}
.theme-icon [data-icon]{display:none}
.theme-control[data-mode=light] [data-icon=light],
.theme-control[data-mode=dark] [data-icon=dark],
.theme-control[data-mode=auto] [data-icon=auto]{display:inline}
:root[data-theme=dark] .theme-icon{color:#c4d5b8}


.theme-field{display:inline-flex;position:relative}
.theme-field select{-webkit-appearance:none;appearance:none;padding-inline-end:31px}
.theme-field .theme-icon{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);pointer-events:none}
body.tabletop .theme-field select{padding-inline-end:26px}
body.tabletop .theme-field .theme-icon{width:14px;height:14px;inset-inline-end:6px}

/* Fullscreen controls share one row on narrow screens. */
body.screenMode .theme-game-control{order:1;margin-left:0;flex:0 0 auto}
body.screenMode .theme-game-control select{width:36px;height:34px;padding:0;opacity:0;cursor:pointer}
body.screenMode .theme-game-control .theme-field{border:1px solid #708473;border-radius:9px}
body.screenMode .theme-game-control .theme-field:focus-within{outline:2px solid #a67d40;outline-offset:2px}
body.screenMode .theme-game-control .theme-icon{inset-inline-end:9px}
body.screenMode :is(#onlineScreenStatus,#sensorStatus){order:2;flex-basis:100%}
body.screenMode :is(#onlineFullscreen,#fullscreenMode){width:auto;flex:0 1 auto}

.invite-code{margin-block:12px;display:grid;gap:6px}
.invite-code label,.code-join label{display:block;font-weight:650}
.invite-code-row,.code-join-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.invite-code input,.code-join input{min-width:0;flex:1 1 120px;width:auto;padding:9px 10px;border:1px solid #aebcab;border-radius:8px;background:#fffdf6;color:#203b32;font:700 15px system-ui;letter-spacing:.08em;text-transform:uppercase}
.invite-code button,.code-join button{width:auto;margin:0;min-height:40px;flex:0 0 auto}
.invite-code p,.code-join p{margin:0;font-size:13px}
.invite-code [role=status]:empty,.code-join [role=status]:empty{display:none}
.code-join{display:grid;gap:8px;margin:16px 0}
header.home-header {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:10px;
}
.home-header .brand { white-space:nowrap; }
.home-header .theme-control { margin:0; justify-self:end; }
.home-links { display:grid; grid-template-columns:repeat(5,auto); gap:8px; }
.home-links .app-action {
  color:#294f40;
  justify-content:flex-start;
  min-width:0;
  margin:0;
  gap:8px;
  padding-inline:clamp(7px,3vw,12px);
}
.home-links .app-action::before {
  flex:0 0 16px;
  width:16px;
  height:16px;
  margin:0;
}
@media(max-width:900px) {
  header.home-header { grid-template-columns:minmax(0,1fr) auto; }
  .home-links { grid-column:1 / -1; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-links [data-icon="games"] { grid-column:1 / -1; }
}

.watch-game{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:44px;margin-top:6px;padding:8px 14px;border:1px solid currentColor;border-radius:9px;font-weight:650;text-decoration:none}

.dv-setup{display:flex;gap:8px 18px;flex-wrap:wrap;margin:12px 0;padding:6px 12px;border:1px solid var(--board-edge);border-radius:10px}
.dv-setup label{display:inline-flex;align-items:center;gap:7px;min-height:36px}
.dv-setup input[type=radio]{width:auto;margin:0;accent-color:#518269}
#board [role=img]{cursor:default}

.tile .status {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.tile.available { border-color: #abc6ae; }
.tile.available .status { color: #245337; background: #deeddf; }
.tile.soon { border-color: #d8c5a5; }
.tile.soon .status { color: #755019; background: #f3e4c9; }
:root[data-theme=dark] .tile.available { border-color: #45664f !important; }
:root[data-theme=dark] .tile.available .status { color: #c5e7c9 !important; background: #274a33; }
:root[data-theme=dark] .tile.soon { border-color: #65523b !important; }
:root[data-theme=dark] .tile.soon .status { color: #f1d5a8 !important; background: #4b3622; }

.tile.available { background:#f5faf2; border-color:#759b7b; }
body .tile.soon { background:#f4ede2; border-color:#b49a73; border-style:dashed; }
:root[data-theme=dark] .tile.available { background:#1d3025!important; border-color:#64896e!important; }
:root[data-theme=dark] .tile.soon { background:#28241e!important; border-color:#786447!important; }
.setup-actions,.setup-picker { display:flex; flex-wrap:wrap; gap:8px; }
.setup-picker { padding-block:4px; }
.setup-picker button { flex:1; white-space:nowrap; }
.setup-picker button[aria-pressed=true] { outline:2px solid #ac854d; outline-offset:-3px; }
.app-dialog { width:min(420px,calc(100% - 32px));padding:22px;border:1px solid #a7baa9;border-radius:16px;background:#fffdf6;color:#203b32; }
.app-dialog::backdrop { background:#142a25a8; }
.app-dialog h2 { margin:0 0 16px; }
.app-dialog input { display:block;width:100%;min-height:46px;margin:7px 0 10px;padding:8px 12px;border:1px solid #b9c8b8;border-radius:9px;font:600 16px system-ui;text-transform:uppercase; }
.app-dialog p:empty { display:none; }
.app-dialog .setup-actions { margin-top:14px; }
:where(.app-action,.app-dialog button) {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:7px 12px;
  border:1px solid #8da590;border-radius:9px;background:#e9efe4;color:#294f40;font:650 13px system-ui;text-decoration:none;cursor:pointer;
}
.app-dialog button[type=submit] { background:#294f40;color:white; }
.app-dialog button:disabled { opacity:.6; }
:where(button,a):focus-visible { outline:2px solid #ad874b;outline-offset:2px; }
[hidden] { display:none!important; }

:where([data-icon="bell"],[data-icon="friends"],[data-icon="scan"],[data-icon="account"],[data-icon="games"],#rules,#tableRules,#preGameRules,.ruleLink,a[href^="/rules?kind="],#new,#newGame,#tableNew,#create,#local,#keepPlaying,#keepLocal,#resume,#ready,button[data-id],#join,[data-icon="code"],#share,#undo,#tableUndo,#backSetup,#resign,#localResign,#confirmResign,#cancelGame,#localCancel,#tableCancel,#confirmLocalCancel,#confirmCancellation,#cancel.secondary,#fullscreenMode,#onlineFullscreen,#tableMode,#autoMode,header a[href^="/games"],header a[href="/"],#closeCode,#copyInviteCode)::before { content:"";display:inline-block;width:1.05em;height:1.05em;margin-inline-end:.45em;vertical-align:-.16em;background:currentColor;-webkit-mask:var(--action-icon) center/contain no-repeat;mask:var(--action-icon) center/contain no-repeat; }
:where(#rules,#tableRules,#preGameRules,.ruleLink,a[href^="/rules?kind="]) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5%204h14v16H5zM8%208h8m-8%204h8%22%2F%3E%3C%2Fsvg%3E"); }
:where(#new,#newGame,#tableNew,#create) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M12%205v14M5%2012h14%22%2F%3E%3C%2Fsvg%3E"); }
:where(#local,#keepPlaying,#keepLocal,#resume,#ready,button[data-id],#join) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m9%205%2011%207-11%207z%22%2F%3E%3C%2Fsvg%3E"); }
:where([data-icon="code"]) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4%208h16v8H4zM8%2012h1m3%200h1m3%200h1%22%2F%3E%3C%2Fsvg%3E"); }
:where(#share) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M12%2015V3m-4%204%204-4%204%204M5%2012v8h14v-8%22%2F%3E%3C%2Fsvg%3E"); }
:where(#undo,#tableUndo,#backSetup) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9%205%204%2010l5%205m-5-5h10a5%205%200%200%201%200%2010%22%2F%3E%3C%2Fsvg%3E"); }
:where(#resign,#localResign,#confirmResign) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5%2021V4m0%201c4-4%208%204%2014%200v10c-6%204-10-4-14%200%22%2F%3E%3C%2Fsvg%3E"); }
:where(#cancelGame,#localCancel,#tableCancel,#confirmLocalCancel,#confirmCancellation,#cancel.secondary) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M6%206h12v12H6z%22%2F%3E%3C%2Fsvg%3E"); }
:where(#fullscreenMode,#onlineFullscreen) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M9%204H4v5m11-5h5v5M4%2015v5h5m11-5v5h-5%22%2F%3E%3C%2Fsvg%3E"); }
:where(#tableMode) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4%207h16M6%207v12m12-12v12M6%2012h12%22%2F%3E%3C%2Fsvg%3E"); }
:where(#autoMode) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M8%204h8v16H8zM11%2017h2%22%2F%3E%3C%2Fsvg%3E"); }
:where(header a[href^="/games"],header a[href="/"]) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m10%206-6%206%206%206m-6-6h16%22%2F%3E%3C%2Fsvg%3E"); }
:where(#closeCode) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m6%206%2012%2012M18%206%206%2018%22%2F%3E%3C%2Fsvg%3E"); }
:where(#copyInviteCode) { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M8%208h12v12H8zM16%208V4H4v12h4%22%2F%3E%3C%2Fsvg%3E"); }
@media(pointer:coarse) { :is(.actions,.modeControls,.onlineViewControls,.setup-actions) button { min-height:44px; } }

[data-icon="bell"] { --action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M5 17h14l-2-3V9a5 5 0 0 0-10 0v5l-2 3Zm5 3h4'/%3E%3C/svg%3E"); }

[data-icon="account"] { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20d%3D%22M16%207a4%204%200%201%201-8%200%204%204%200%200%201%208%200ZM4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%3C%2Fsvg%3E"); }

[data-icon="games"] { --action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20d%3D%22M8%206h12M8%2012h12M8%2018h12M4%206h.1M4%2012h.1M4%2018h.1%22%2F%3E%3C%2Fsvg%3E"); }

[data-icon="friends"] { --action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='7.5' r='3'/%3E%3Ccircle cx='17' cy='8.5' r='2.5'/%3E%3Cpath d='M2 20v-2a6 6 0 0 1 12 0v2m3-6a5 5 0 0 1 5 5v1'/%3E%3C/g%3E%3C/svg%3E"); }

[data-icon="scan"] { --action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' d='M9 3H3v6m12-6h6v6M3 15v6h6m12-6v6h-6M7 12h10'/%3E%3C/svg%3E"); }
.invite-qr-image{width:min(100%,280px);margin:12px auto;background:#fff;color:#000;line-height:0}
.invite-qr-image svg{display:block;width:100%;height:auto}
.invite-qr-camera{display:block;width:100%;max-height:42dvh;object-fit:contain;background:#121a16;border-radius:10px}


header a.radar-hub-link{
 display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;
 padding:0;border:1px solid currentColor;border-radius:10px;color:inherit;
 background:transparent;text-decoration:none;box-sizing:border-box;
}
header a.radar-hub-link:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
header a.radar-hub-link:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.radar-hub-link[hidden]{display:none!important}

header:has(>.game-menu){position:relative;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:8px}
header>.game-menu{margin-inline-start:auto;min-width:0;flex:none}
.game-menu>summary{display:flex;align-items:center;gap:7px;list-style:none;min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:10px;cursor:pointer}
.game-menu>summary::-webkit-details-marker{display:none}
.game-menu[open]>nav{position:absolute;z-index:20;inset-inline-end:12px;top:100%;display:grid!important;grid-template-columns:minmax(0,1fr);gap:4px;width:min(240px,calc(100% - 24px));max-height:65vh;overflow:auto;margin:0!important;padding:8px;background:var(--game-menu-bg);border:1px solid currentColor;border-radius:12px;box-shadow:0 6px 20px #0003;contain:paint}
.game-menu:not([open])>nav{display:none!important;visibility:hidden}
.game-menu>nav>*{width:100%;min-width:0;min-height:44px;justify-content:flex-start;text-align:start;grid-column:auto!important;white-space:normal}

.game-menu{--game-menu-bg:#f4f1e9}
[data-theme="dark"] .game-menu{--game-menu-bg:#1c3028}
.home-header>.theme-field{display:none}
.home-header:has(>.game-menu) .brand{margin:0}
