.ps-game-surface,.ps-game-toolbar{--game-bg:#faf9f6;--game-surface:#fff;--game-ink:#2c2940;--game-muted:#7d7989;--game-line:#e9e5e6;--game-accent:#7259e4;--game-soft:#f0ecff;--game-topbar-height:80px;--game-topbar-space:0px}html[data-theme=dark] :is(.ps-game-surface,.ps-game-toolbar){--game-bg:#181824;--game-surface:#242434;--game-ink:#f5f3fb;--game-muted:#b4b0c1;--game-line:#3e3d50;--game-accent:#b29af2;--game-soft:#37304e}.ps-game-surface:has(.ps-game-toolbar[data-game-toolbar-mode=pinned]){--game-topbar-space:var(--game-topbar-height)}.ps-game-toolbar[data-game-toolbar-mode=pinned]{--game-topbar-space:var(--game-topbar-height)}.ps-game-toolbar-spacer{height:var(--game-topbar-space);flex:none}.ps-game-toolbar-panel{position:fixed;inset:0 0 auto;z-index:82;visibility:hidden;transform:translateY(-100%);transition:transform .22s ease,visibility .22s}.ps-game-toolbar[data-visible=true] .ps-game-toolbar-panel{visibility:visible;transform:translateY(0)}:root body .ps-game-toolbar .ps-home.ps-header-only{height:var(--game-topbar-height);min-height:0;padding:0}:root body .ps-game-toolbar .ps-header{position:relative;inset:auto;height:var(--game-topbar-height);box-shadow:0 8px 28px #15102015}:root body .ps-game-toolbar .ps-header-inner{width:100%;max-width:1800px;padding:0 24px;gap:18px}:root body .ps-game-toolbar .ps-brand{font-size:23px;gap:8px;flex:none}:root body .ps-game-toolbar .ps-header-game-title{position:static;transform:none;max-width:190px;font:900 19px Nunito,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:root body .ps-game-toolbar .ps-header-context{position:static;transform:none;max-width:200px;min-width:0;margin:0;font-size:12px;color:var(--ps-muted)}:root body .ps-game-toolbar .ps-header-actions{margin-left:auto;gap:8px}:root body .ps-game-toolbar .ps-header-inner .ps-header-context+.ps-header-actions{-webkit-margin-start:auto;margin-inline-start:auto}.ps-game-toolbar-actions,.ps-game-toolbar-controls{display:flex;align-items:center;gap:6px}.ps-game-toolbar-actions{min-width:0}.ps-game-toolbar-actions :is(button,a),.ps-game-toolbar-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:38px;padding:8px 11px;border:1px solid var(--ps-line);border-radius:10px;background:var(--ps-surface);color:var(--ps-ink);font:800 12px Manrope,Arial,sans-serif;white-space:nowrap;cursor:pointer}.ps-game-toolbar-actions :is(button,a):hover,.ps-game-toolbar-controls button:hover{border-color:var(--ps-accent);background:var(--ps-soft)}.ps-game-toolbar-controls .ps-toolbar-mode{color:var(--ps-accent)}.ps-game-toolbar-controls .ps-toolbar-hide{padding:8px}.ps-game-toolbar :is(button,a,input,select):focus-visible{outline:2px solid var(--game-accent);outline-offset:3px}:root body .ps-game-toolbar .ps-popover{max-height:calc(100dvh - var(--game-topbar-height) - 20px);overflow:auto;overscroll-behavior:contain}:root body .ps-game-toolbar .ps-settings-panel{width:360px}:root body .ps-game-toolbar .ps-popover button{font:800 12px Manrope,Arial,sans-serif}:root body .ps-game-toolbar .ps-popover .ps-theme-label{font-size:11px}.ps-game-settings{margin-top:20px;padding-top:18px;border-top:1px solid var(--ps-line);font:13px/1.6 Manrope,Arial,sans-serif}.ps-game-settings h3{margin:0 0 12px;font:900 17px Nunito,Arial,sans-serif}.ps-game-settings p{color:var(--ps-muted);margin:8px 0}.ps-game-settings dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-gap:9px 16px;gap:9px 16px;margin:0 0 16px}.ps-game-settings dl>div{display:contents}.ps-game-settings dt{color:var(--ps-muted)}.ps-game-settings dd{margin:0;text-align:right;font-weight:800;overflow-wrap:anywhere}.ps-game-settings :is(button,a){display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 11px;background:var(--ps-soft);color:var(--ps-ink);border:1px solid var(--ps-line);border-radius:9px;font:800 12px Manrope,Arial,sans-serif;cursor:pointer}.ps-game-settings :is(select,input:not([type=checkbox]):not([type=range])){max-width:100%;min-height:36px;border:1px solid var(--ps-line);border-radius:8px;background:var(--ps-bg);color:var(--ps-ink);padding:5px 8px}.ps-game-settings input[type=checkbox]{accent-color:var(--ps-accent)}.ps-game-settings :is(.game-settings-actions,.game-panel-actions){display:flex;flex-wrap:wrap;gap:8px}@media(max-width:1250px) and (min-width:901px){.ps-game-toolbar-controls .ps-toolbar-mode span,:root body .ps-game-toolbar .ps-brand span{display:none}:root body .ps-game-toolbar .ps-header-inner{gap:10px;padding-inline:16px}}@media(max-width:900px){.ps-game-surface,.ps-game-toolbar{--game-topbar-height:112px}:root body .ps-game-toolbar .ps-header-inner{height:64px;padding:0 12px;gap:10px}:root body .ps-game-toolbar .ps-brand span{display:none}:root body .ps-game-toolbar .ps-brand img{width:34px;height:34px}:root body .ps-game-toolbar .ps-header-game-title{font-size:16px;max-width:160px}:root body .ps-game-toolbar .ps-header-context{position:absolute;left:12px;bottom:-36px;max-width:140px;height:28px;display:flex;align-items:center;font-size:11px}.ps-game-toolbar-actions{position:absolute;top:66px;left:162px;right:12px;height:40px;overflow-x:auto;scrollbar-width:thin}.ps-game-toolbar-actions :is(button,a){font-size:11px;min-height:32px;padding:6px 9px}.ps-game-toolbar-controls .ps-toolbar-mode span{display:none}.ps-game-toolbar-controls button{min-height:36px;padding:7px}:root body .ps-game-toolbar .ps-profile-button{width:38px;max-width:38px;padding:2px}:root body .ps-game-toolbar .ps-profile-button>:is(.ps-profile-name,svg){display:none}:root body .ps-game-toolbar .ps-settings-button{width:36px;height:36px}:root body .ps-game-toolbar .ps-popover{position:fixed;top:var(--game-topbar-height);right:12px;max-width:calc(100vw - 24px)}}@media(max-width:420px){:root body .ps-game-toolbar .ps-header-inner{gap:6px;padding-inline:8px}:root body .ps-game-toolbar .ps-header-game-title{font-size:14px;max-width:100px}:root body .ps-game-toolbar .ps-header-actions{gap:5px}.ps-game-toolbar-controls{gap:3px}}@media(prefers-reduced-motion:reduce){.ps-game-toolbar-panel{transition:none}}html[data-touch-controls=true] :is(.ps-game-surface,.ps-game-toolbar){--game-topbar-height:calc(64px + env(safe-area-inset-top))}html[data-touch-controls=true] .ps-game-toolbar-panel{display:none}.ps-touch-quickbar{position:fixed;z-index:82;inset:0 0 auto;display:flex;align-items:center;gap:10px;height:var(--game-topbar-height);padding:env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));background:var(--game-surface);color:var(--game-ink);border-bottom:1px solid var(--game-line);font-family:Manrope,Arial,sans-serif;box-sizing:border-box}.ps-touch-quickbar>a{display:grid;place-items:center;min-width:48px;min-height:48px}.ps-touch-quickbar-title{flex:1 1;min-width:0}.ps-touch-quickbar-title strong{font:900 16px Nunito,Arial,sans-serif;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ps-touch-quickbar-title>div{color:var(--game-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ps-touch-quickbar>button{min-height:48px;min-width:48px;padding:10px;border:1px solid var(--game-line);border-radius:13px;background:var(--game-soft)}.ps-touch-menu-trigger,.ps-touch-quickbar>button{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--game-ink);font:800 12px Manrope,Arial,sans-serif;touch-action:manipulation}.ps-touch-menu-trigger{position:fixed;z-index:81;top:calc(var(--touch-viewport-offset-top,0px) + var(--touch-viewport-height,100dvh) - 72px - env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));min-width:64px;min-height:52px;padding:8px 12px;border:1px solid var(--game-line);border-radius:17px;background:var(--game-surface);box-shadow:0 5px 24px #15102030;transition:opacity .25s ease}.ps-touch-menu-trigger[data-side=left]{right:auto;left:max(12px,env(safe-area-inset-left))}.ps-touch-menu-trigger[data-idle=true]{opacity:.72}.ps-touch-menu-trigger:is(:active,:focus-visible){opacity:1}html[data-touch-keyboard=true] .ps-touch-menu-trigger{top:calc(var(--touch-viewport-offset-top,0px) + max(8px,env(safe-area-inset-top)))}.ps-game-surface{--game-available-width:100vw;--game-side-width:320px}:root{--game-auto-menu-space:56px}:root[data-game-menu-variant=edge]{--game-auto-menu-space:8px}:root:is([data-game-menu-variant=side],[data-touch-controls=true]){--game-auto-menu-space:0px}.ps-game-surface:has(.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=auto]),.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=auto]{--game-topbar-space:var(--game-auto-menu-space)}.ps-menu-launcher{position:fixed;z-index:81;top:10px;left:16px;right:auto;bottom:auto;display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:7px 13px;border:1px solid var(--game-line);border-radius:15px;background:var(--game-surface);color:var(--game-ink);box-shadow:0 5px 22px #15102014;font:800 12px Manrope,Arial,sans-serif;cursor:pointer;transition:opacity .22s ease,background-color .22s ease,border-color .22s ease}.ps-menu-launcher[hidden]{display:none}.ps-menu-launcher-logo{display:grid;place-items:center;flex:none;width:29px;height:29px}.ps-menu-launcher-logo img{display:block;width:100%;height:100%;object-fit:contain}.ps-menu-launcher-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-menu-launcher[data-idle=true]{opacity:.68}.ps-menu-launcher:is(:hover,:focus-visible){opacity:1;border-color:var(--game-accent);background:var(--game-soft)}.ps-menu-launcher:focus-visible{outline:2px solid var(--game-accent);outline-offset:3px}.ps-game-toolbar[data-input=mouse][data-variant=island] .ps-menu-launcher{left:50%;transform:translateX(-50%);min-width:210px;max-width:calc(100vw - 32px);border-radius:24px;padding-inline:15px}.ps-game-toolbar[data-input=mouse][data-variant=edge] .ps-menu-launcher{top:0;left:50%;transform:translateX(-50%);min-width:96px;min-height:24px;height:24px;padding:0 16px;border:0;background:transparent;box-shadow:none;border-radius:0 0 12px 12px}.ps-game-toolbar[data-variant=edge] .ps-menu-launcher :is(.ps-menu-launcher-logo,.ps-menu-launcher-title){display:none}.ps-game-toolbar[data-variant=edge] .ps-menu-edge-mark{display:block;align-self:flex-start;margin-top:3px;width:62px;height:3px;flex:none;border-radius:4px;background:var(--game-accent);opacity:.6}.ps-game-toolbar[data-variant=edge] .ps-menu-launcher>svg{display:none}.ps-game-toolbar[data-variant=edge] .ps-menu-launcher:is(:hover,:focus-visible) .ps-menu-edge-mark{opacity:1}.ps-game-toolbar[data-input=mouse][data-variant=side] .ps-menu-launcher,.ps-game-toolbar[data-input=touch][data-variant=side] .ps-menu-launcher{top:50%;left:auto;right:0;bottom:auto;transform:translateY(-50%);width:38px;min-width:38px;height:68px;padding:7px;border-radius:16px 0 0 16px;box-shadow:-4px 0 20px #15102018}.ps-game-toolbar[data-variant=side][data-side=left] .ps-menu-launcher{right:auto;left:0;border-radius:0 16px 16px 0;box-shadow:4px 0 20px #15102018}.ps-game-toolbar[data-variant=side] .ps-menu-launcher-title{display:none}.ps-game-toolbar[data-variant=side] .ps-menu-launcher-logo{width:24px;height:24px}.ps-game-toolbar[data-variant=side] .ps-menu-launcher>svg{display:block}.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=auto] .ps-game-toolbar-panel,.ps-game-toolbar[data-active=true][data-input=mouse][data-variant=side] .ps-game-toolbar-panel{display:none}:root[data-game-menu-variant=corner] .ps-touch-backdrop[data-layout=popover]{justify-content:flex-start;padding-top:64px;padding-left:max(16px,env(safe-area-inset-left))}:root:is([data-game-menu-variant=island],[data-game-menu-variant=edge]) .ps-touch-backdrop[data-layout=popover]{justify-content:center;padding-top:64px}:root[data-game-menu-variant=edge] .ps-touch-backdrop[data-layout=popover]{padding-top:18px}.ps-game-surface:has(.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=pinned][data-variant=side]),.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=pinned][data-variant=side]{--game-topbar-space:0px}@media(min-width:1280px){.ps-game-surface:has(.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=pinned][data-variant=side]){--game-available-width:calc(100vw - var(--game-side-width));box-sizing:border-box}.ps-game-surface:has(.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=pinned][data-variant=side][data-side=left]){padding-left:var(--game-side-width)}.ps-game-surface:has(.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=pinned][data-variant=side][data-side=right]){padding-right:var(--game-side-width)}.empire-site.ps-game-surface:has(.ps-game-toolbar[data-active=true][data-input=mouse][data-game-toolbar-mode=pinned][data-variant=side]) .empire-game-layout{--board-size:min(calc(var(--game-available-width) - 130px - var(--players-width) - var(--layout-gap)),calc(100dvh - 62px - var(--game-topbar-space,0px)))}}.ps-game-toolbar[data-input=touch][data-variant=corner] .ps-menu-launcher{left:auto;right:max(12px,env(safe-area-inset-right));top:calc(var(--touch-viewport-offset-top,0px) + var(--touch-viewport-height,100dvh) - 74px - env(safe-area-inset-bottom));min-height:52px;border-radius:18px;transform:none}.ps-game-toolbar[data-input=touch][data-variant=island] .ps-menu-launcher{left:50%;right:auto;top:calc(var(--touch-viewport-offset-top,0px) + var(--touch-viewport-height,100dvh) - 74px - env(safe-area-inset-bottom));transform:translateX(-50%);min-height:52px;max-width:calc(100vw - 24px);border-radius:26px}.ps-game-toolbar[data-input=touch][data-variant=edge] .ps-menu-launcher{top:calc(var(--touch-viewport-offset-top,0px) + env(safe-area-inset-top));left:50%;right:auto;transform:translateX(-50%);min-width:96px;min-height:48px;padding:0 16px;border:0;background:transparent;box-shadow:none}.ps-game-toolbar[data-input=touch][data-variant=side] .ps-menu-launcher{width:48px;min-width:48px;top:calc(var(--touch-viewport-offset-top,0px) + var(--touch-viewport-height,100dvh) / 2)}html[data-touch-keyboard=true] .ps-game-toolbar[data-input=touch]:is([data-variant=corner],[data-variant=island]) .ps-menu-launcher{top:calc(var(--touch-viewport-offset-top,0px) + max(8px,env(safe-area-inset-top)))}@media(prefers-reduced-motion:reduce){.ps-menu-launcher{transition:none}}