/* Shared, square tactical surfaces. Native game geometry is intentionally exempt. */
:root{--bw-surface:#11190f;--bw-raised:#1c2818;--bw-line:#718358;--bw-ink:#ecf0df;--bw-muted:#b9c5a6;--bw-gold:#e0c166;--bw-focus:#f1cf6f;color-scheme:dark}
html{max-width:100%;scroll-padding-top:110px}body{max-width:100%;color:var(--bw-ink)}*,*::before,*::after{box-sizing:border-box}
body :is(.text-zinc-400,.text-zinc-500,.text-zinc-600,.text-gray-400,.text-gray-500,.text-gray-600,.text-neutral-500){color:var(--bw-muted)!important}
body :is(.lobby-step,.lobby-fineprint,.duo-small,.pg-eyebrow,.pg-muted,.bw-match-presence,.bw-match-heading>div>span){color:var(--bw-muted)}
body :is(.bw-menu-button,.m-action,.uni-action,.duo-btn,.ops-button,.account-submit,.tactical-control,.pg-btn,.bet-confirm,.bw-match-actions button){height:auto!important;min-height:44px!important;white-space:normal;line-height:1.3!important;padding-block:10px!important;text-align:center;word-break:normal}
body :is(button,input[type=submit],input[type=button]):disabled:not([role=gridcell]):not(.die-box):not(.card):not(.duo-tic-cell):not(.duo-dame-cell):not(.extension-cell){opacity:1!important;cursor:not-allowed!important;filter:none;background-color:#252e21!important;color:#c1cbb2!important;border-color:#697358!important;box-shadow:none!important}
body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--bw-focus)!important;outline-offset:3px;position:relative;z-index:2}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),body select{min-height:44px;border-color:var(--bw-line);font-size:16px}body textarea{line-height:1.6}
body :is(.account-card,.lobby-card,.duo-panel,.ops-card,.pg-card,.pg-stage,.legal-card){border-color:#526642;box-shadow:inset 0 1px 0 #b6c3870c,0 8px 24px #0002}
body :is(.lobby-shell,.lobby-content,.game-frame,.pg,.legal-page,.duo-game,.layout-container,.word-shell){min-width:0;max-width:100%}
body :is(.lobby-preview,.lobby-image,.game-card-image){background:#0a110b;aspect-ratio:16/9;overflow:hidden}body .lobby-preview img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:contain!important}body :is(.lobby-game-card,.game-card) img{object-fit:contain!important}body :is(.pg-item-preview,.pg-case-art,.pg-shop-preview) img{object-fit:contain!important}
body :is(dialog,[role=dialog],.account-modal,.pg-modal,.bet-modal,.bw-match-settings-dialog){z-index:1200}dialog{color:var(--bw-ink);background:var(--bw-surface);border:1px solid var(--bw-line);max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto}dialog::backdrop{background:#030703d9}
body :is(.topbar .global-bal-display,.bw-topbar-milcoins,.pg-balance,.pg-wallet){text-overflow:clip!important;overflow:visible!important;max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
.topbar .bw-topbar-milcoins{min-width:0;flex-shrink:1!important}.topbar .bw-topbar-milcoins span{white-space:normal!important;overflow-wrap:anywhere}.bw-match-table-scroll,.word-review-table{overscroll-behavior-inline:contain;scrollbar-color:#83945a #14200f}
.pg-account-control{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px!important}#duo-standings-game{min-height:44px!important;height:auto!important}.duo-lobby-extra>summary{display:flex;align-items:center;min-height:44px;padding-block:10px;cursor:pointer}#nav-offiziersheim,#nav-generalstab{opacity:1!important;color:#9caa8a!important}
body[data-portal-menu=formular] :is(label.toggle,.small-note,#pagePropEmpty,#propEmpty){color:#42513a!important}body[data-portal-menu=formular] .topbar :is(.btn.icon,.zoom-value){min-width:44px!important;min-height:44px!important;height:auto!important}
body[data-portal-menu=visitenkarten] :is(h1,label){color:#26331e!important}body[data-portal-menu=library] .tab-btn.active{color:#e4edcf!important}body[data-portal-menu=sharepoint] .cmd{color:#edf0df!important}body[data-portal-menu=sharepoint] :is(.tool-btn,.section-add-btn){min-width:44px!important;min-height:44px!important}.section-tools{width:44px!important}.wp-tools .tool-btn{width:44px!important}
body[data-portal-menu^=sharepoint-] :is(.portal-home-btn,.portal-home,.home-link,.portal-delete,.delete-btn){min-width:44px!important;min-height:44px!important}
#homeLobbyBtn,.blueprint-delete,#bwdzc-cw-help,#bwdzc-cw-new,#bwdzc-wdl-new,#bwdzc-wdl-help{min-width:44px!important;min-height:44px!important;width:auto!important}
#biwak-btn,#btn-hit,#btn-double{color:#11180c!important}.bwdzc-wdl-legend-mark.is-present{background-color:#806011!important;color:#fffbea!important}
.pg details>summary{min-height:44px!important;display:flex;align-items:center;cursor:pointer}body[data-portal-menu^=sharepoint-] :is(.simple-step-head h4,.simple-step-head span,#simpleTypeGrid strong,.layout-preset strong){color:#26331e!important}body[data-portal-menu^=sharepoint-] :is(.simple-progress-step i,.simple-type-grid em){color:#475938!important}
#ui-active-boosters-sub,#ui-active-events-sub{color:#cbd7ba!important;font-size:12px!important;line-height:1.4;letter-spacing:0}body[data-page=kasernen_tycoon] button:not([role=gridcell]){min-width:44px!important}
.duo-character-card small{color:#5a482c!important;font-size:11px!important;line-height:1.25!important}.duo-game details>summary,#duo-game details>summary{display:flex;align-items:center;min-height:44px!important;cursor:pointer}
body[data-portal-menu^=sharepoint-] .simple-progress-step.active i{color:#fffbea!important}body[data-portal-menu^=sharepoint-] .blueprint-card strong{color:#26331e!important}body[data-portal-menu=kasernen_tycoon] button{min-width:44px!important}
.bw-match-player>.bw-match-avatar{grid-column:1;grid-row:1}.bw-match-player>div:not(.bw-match-avatar){grid-column:2;grid-row:1;min-width:0}.bw-match-player>b{grid-column:3;grid-row:1;white-space:normal!important;text-align:right}
@media(max-width:640px){.bw-match-live-roster{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.bw-match-live-roster .bw-match-player{grid-template-columns:36px minmax(0,1fr)!important;gap:6px!important;padding:8px!important;min-width:0}.bw-match-live-roster .bw-match-avatar{width:36px;height:44px;grid-row:1}.bw-match-live-roster .bw-match-player>div:not(.bw-match-avatar){grid-column:2;grid-row:1}.bw-match-live-roster .bw-match-player strong{font-size:12px!important;line-height:1.25!important;overflow-wrap:anywhere}.bw-match-live-roster .bw-match-player small,.bw-match-live-roster .bw-match-player span{font-size:10px!important;line-height:1.4!important;overflow-wrap:anywhere}.bw-match-live-roster .bw-match-player>b{grid-column:1/-1!important;grid-row:2!important;display:flex;align-items:baseline;gap:6px;text-align:left}.bw-match-live-heading{margin-bottom:12px!important}.bw-match-live-heading .bw-match-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px!important}.bw-match-live-heading .bw-match-actions button{min-width:0!important;padding-inline:6px!important;font-size:10px!important}.bw-match-live-heading strong{font-size:16px!important}body.bw-match-live #bw-match-panel{padding:12px!important}}
@keyframes bw-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}body :is(.lobby-shell>.panel,.account-card,.pg-content,.bw-match-result-heading){animation:bw-arrive .18s ease-out both}
html[data-bw-motion=off] *,html[data-bw-motion=off] *::before,html[data-bw-motion=off] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html[data-bw-hidden=true] *,html[data-bw-hidden=true] *::before,html[data-bw-hidden=true] *::after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:800px){.topbar .bw-topbar-actions{flex-wrap:wrap!important;min-width:0}.topbar .bw-topbar-milcoins{max-width:100%;height:auto!important;min-height:44px}.topbar .wallet-box{min-width:0!important;width:100%;flex-basis:100%!important}.topbar .wallet-box .global-bal-display{word-break:normal!important;font-size:14px!important}.game-frame{padding-inline:12px}.pg-case-header{flex-wrap:wrap}body :is(dialog,.pg-modal){max-width:calc(100vw - 16px)}body pre{max-width:100%;overflow:auto}}
@media(max-width:600px){body[data-portal-menu^=sharepoint-] .portal-global-nav{flex-wrap:wrap!important;height:auto!important;gap:8px!important;max-width:100%!important}body[data-portal-menu^=sharepoint-] .portal-global-nav>div{min-width:0;max-width:100%;flex-wrap:wrap!important}body[data-portal-menu^=sharepoint-] .portal-global-nav :is(#portalCommandOpen,#portalMoreOpen){flex:1 1 140px!important;min-width:0!important;max-width:100%!important;white-space:normal!important}body[data-portal-menu^=sharepoint-] .portal-mode-switch{flex-wrap:wrap;max-width:100%}}
