/* Kuzenler / Counter-Strike 1.6. Shared visual tokens, then public lobby layout. */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #141917;
  --paper: #1c2320;
  --navy: #111713;
  --navy-light: #28312b;
  --text: #ecebe3;
  --muted: #a4afa7;
  --focus-ring: #b9c5bc;
  --line: #364039;
  --sand: #e9ad45;
  --sand-light: #383323;
  --green: #a4c08a;
  --red: #d47f71;
  --radius: 4px;
  --display: 'Barlow Condensed', Barlow, sans-serif;
  color-scheme: dark;
}
/* On touch screens a page never stretches past its top or bottom edge (iOS bounce, Android glow and
   pull-to-refresh); inner scrolling lists keep their own behaviour. Mouse and trackpad scrolling is left
   as is: in WebKit a root rule can stop the wheel handing a nested list's scroll back to the page. */
@media (pointer: coarse) {
  html, body { overscroll-behavior: none; }
}
body {
  background: var(--bg);
  background-image: radial-gradient(ellipse at 10% 0%, #36413435, transparent 55%);
  color: var(--text);
}
a { color: inherit; }
button, a { transition: background-color .18s, border-color .18s, color .18s; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
/* Programmatic reading targets do not need a control focus frame. */
.modal-heading h2:focus, .guide-step-content h3[tabindex="-1"]:focus { outline: none; }
.button, .icon-button, input, select, .password-field, .period-options, .period-options button { border-radius: 3px; }
.button { background: #28312b; border-color: #4a564b; color: var(--text); }
.button.primary { background: var(--sand); color: #1d2118; border-color: var(--sand); }
.button.primary:hover { background: #f4c571; border-color: #f4c571; }
.button.secondary { background: #2a332d; }
.button.danger { color: #160b08; background: #e39380; }
.icon-button:hover { background: #ffffff0c; }
.text-button { color: var(--sand); }
.quiet-button { color: #c4cec6; }
.panel, .map-card { background: var(--paper); border-color: var(--line); border-radius: 4px; }
.topbar h1, .auth-card h2, .hero h2, .auth-intro-text h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: .2px;
}
.topbar h1 { font-size: 34px; }
.topbar p { color: var(--muted); }
.status-dot { background: #a4c08a; box-shadow: 0 0 8px #a4c08a25; }
.live-label { color: #b4cca0; }
.live-label.offline { color: #e4a093; }
.offline .status-dot { background: #e4a093; }
.pill { border-radius: 2px; }
.notice.warning { background: #3e3320; color: #f5cf91; border: 1px solid #887143; border-radius: 3px; }
.metric-label, .metric-note, .player-team, .player-row small:not(.player-team),
.activity-item time, .leader-position, .leader-stat small, .stats-footnote,
.page-footer, .page-footer>span>span, .roster-table-labels, .map-card p,
.ban-details p, .ban-meta, .modal-kicker, .weapon-row>span:last-child,
.loading-text, .empty-state p, .section-heading p, .section-summary span {
  color: var(--muted);
}
.empty-state svg { color: #839481; }
.empty-state h3 { color: #e4e8df; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: .3px; }
.metrics-strip strong small { color: var(--muted); }
.metrics-strip>div { border-color: var(--line); }
.metrics-strip progress { background: #354033; accent-color: var(--sand); }
.metrics-strip progress::-webkit-progress-bar { background: #354033; }
.metrics-strip progress::-webkit-progress-value { background: var(--sand); }
.metrics-strip progress::-moz-progress-bar { background: var(--sand); }
.player-row, .leader-row, .activity-item { border-color: #ffffff0b; }
.player-identity, .leader-name, .champion-identity { color: var(--text); }
.player-identity:hover .player-name, .leader-name:hover, .champion-identity:hover { color: var(--sand); }
.player-ping>span { color: #b8ce9d; }
.player-ping.high>span { color: #e9ad65; }
.avatar { border-radius: 3px; background: #394339; color: #d6dfc8; border: 1px solid #56634e; }
.avatar[data-team="CT"] { background: #2e3d43; color: #a9c7d5; border-color: #4a6470; }
.avatar[data-team="TERRORIST"] { background: #423723; color: #e7bd73; border-color: #74603d; }
.activity-icon { color: #b7bcaa; background: #2c342b; border-radius: 3px; }
.activity-item p { color: #d8ded5; line-height: 1.55; }
.section-heading { border-color: var(--line); }
.section-heading h2 { color: #e4e7dc; }
.roster-table-labels { background: #111813; border-color: var(--line); }
input, select, .password-field { background: #131a16; color: var(--text); border-color: #53604f; }
input::placeholder { color: #a0aaa0; }
.search-field { background: #1b241d; border-color: #4d594e; border-radius: 3px; color: #b1bcae; }
.search-field input { background: transparent; }
.period-options { background: #192019; border-color: #46513f; }
.period-options button { color: #bec8b7; }
.period-options button[aria-pressed="true"] { background: var(--sand); color: #1b2117; }
.period-options button:hover { background: #394333; }
.period-options button[aria-pressed="true"]:hover { background: #f4c571; }
.page-footer, .page-footer>span:first-child { color: #c2ccbe; border-color: var(--line); }
.page-footer>span:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
dialog { background: #1c241e; color: var(--text); border-color: #627158; border-radius: 5px; box-shadow: 0 30px 100px #0008; }
dialog::backdrop { background: #040905ce; backdrop-filter: blur(8px); }
.modal-heading { padding-bottom: 17px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.modal-heading h2 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: .2px; }
.detail-stat { background: #293329; border: 1px solid #414e3e; border-radius: 3px; }
.detail-stat strong { color: #edca8f; font-family: var(--display); font-weight: 700; font-size: 32px; }
.detail-stat span { color: #c0cbb8; }
.weapon-row>strong { display: flex; align-items: center; gap: 14px; }
.weapon-row .weapon-symbol { width: 65px; height: 30px; color: #c7bb94; }
.toast { background: #e9ad45; color: #172013; border: 1px solid #f6ca7b; border-radius: 3px; box-shadow: 0 8px 36px #0008; }
.form-error { background: #422b25; color: #ffc4b2; }
.skip-link { background: var(--sand); color: #141917; border-color: #141917; }

/* Desktop lobby: horizontal navigation keeps the photographic hero full width. */
.public-shell { display: block; }
.public-shell .sidebar {
  position: relative; top: auto; height: auto; min-height: 90px;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 24px; padding: 0 max(32px, calc((100vw - 1376px) / 2));
  background: #121713; border-bottom: 1px solid #384135; overflow: visible;
}
.public-shell .sidebar .brand, .login-brand { margin: 0; font-family: var(--display); font-weight: 700; font-size: 31px; letter-spacing: 1.3px; text-decoration: none; gap: 11px; }
.public-shell .brand small, .login-brand small { color: #b9c0ac; font-family: Barlow, sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 2.1px; margin-top: 2px; }
.public-shell .brand-mark, .login-brand .brand-mark { border: 0; color: var(--sand); width: 42px; height: 48px; }
.public-shell .brand-mark svg, .login-brand .brand-mark svg { width: 39px; height: 39px; stroke-width: 1.2; }
.public-shell .sidebar nav { position: static; display: flex; flex-direction: row; align-items: stretch; width: auto; gap: 6px; margin: 0; padding: 0; height: 90px; background: none; border: 0; box-shadow: none; }
.public-shell .nav-button { display: flex; flex-direction: row; width: auto; min-width: 0; padding: 0 20px; gap: 10px; border-radius: 0; position: relative; font-size: 14px; color: #aeb9aa; text-decoration: none; }
.public-shell .nav-button.active { color: #f0c06e; background: linear-gradient(0deg, #e9ad4510, transparent); }
.public-shell .nav-button.active::after { content: ''; position: absolute; inset: auto 16px 0; height: 3px; background: var(--sand); }
.public-shell .nav-button svg { width: 19px; height: 19px; }
.public-shell .nav-button:hover { color: #f2dec0; background: #e9ad4509; }
.public-shell .sidebar-bottom { margin: 0; padding: 0; display: block; }
.public-shell .sidebar-server { padding: 0; border: 0; gap: 10px; font-size: 13px; }
.public-shell .sidebar-server #sidebar-status { color: #9dae96; font-size: 11px; }
.public-shell .content { max-width: 1440px; padding: 27px 32px 20px; }
.public-shell .topbar { margin: 0 0 24px; min-height: 40px; }
.public-shell .topbar>div:first-child { display: flex; align-items: baseline; gap: 18px; }
.public-shell .topbar-eyebrow { display: none; }
.public-shell .topbar h1 { margin: 0; font-size: 27px; letter-spacing: .2px; }
.public-shell .topbar p { margin: 0; font-size: 13px; color: #a6b2a2; }
.public-shell .topbar-actions { gap: 10px; }
.public-shell .live-label { font-size: 12px; display: inline-flex; }
.public-shell .topbar-actions .icon-button { width: 36px; min-width: 44px; }
.public-shell .view:not([hidden]) { animation: none; }

/* Photographic key art. Original source and all faces remain unchanged. */
.team-hero { border-radius: 3px; border: 1px solid #4c503e; background: #1b2119; overflow: hidden; }
.team-hero-main { display: flex; flex-direction: row; align-items: center; position: relative; isolation: isolate; min-height: 500px; background: #20251c; }
.team-hero-main::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, #ffffff02 3px, #ffffff02 4px); pointer-events: none; }
.team-photo { position: absolute; inset: 0 0 0 32%; z-index: -2; width: auto; aspect-ratio: auto; }
.team-photo img { width: 100%; height: 100%; margin: 0; max-width: 100%; object-fit: cover; object-position: 50% 46%; filter: saturate(.75) contrast(1.03); }
.team-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #20251c 0%, #20251cba 9%, #20251c00 35%), linear-gradient(0deg, #1b211991, transparent 20%); }
.team-hero-content { display: block; position: relative; width: 46%; max-width: none; padding: 35px 0 38px 42px; }
.edition { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: #c5c9b7; font-size: 12px; line-height: 1.5; }
.edition b { color: #a7b29d; font-weight: 400; font-size: 11px; }
.edition-mark { font: 700 25px/1 var(--display); border: 1px solid #8c8865; color: #ddca9e; padding: 8px 9px; transform: skew(-6deg); }
.team-hero-content h2 { font-family: var(--display); font-weight: 700; font-size: clamp(72px, 7.2vw, 104px); line-height: .88; letter-spacing: -.5px; color: #f2ebd8; margin: 0 0 24px; text-wrap: initial; }
.team-hero-content h2 br { display: block; }
.team-hero-content>p:not(.steam-help) { font-size: 15px; line-height: 1.65; color: #c2c7b6; margin: 0 0 24px; }
.team-hero-content>p:not(.steam-help) br { display: block; }
.team-hero-content .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.team-hero-content .hero-actions .button { min-height: 48px; font-size: 14px; padding: 12px 17px; text-decoration: none; }
.team-hero-content .steam-connect { box-shadow: 0 4px 20px #0002; }
.steam-connect svg:last-child { display: block; width: 17px; margin-left: 10px; }
.trailer-button { color: #f0e8d3; border-color: #a6a68b66; background: #252d21ab; }
.trailer-button:hover { background: #39412d; border-color: #c0c0a5; }
.trailer-button svg { width: 17px; }
.team-hero-content>.steam-help { font-size: 10px; color: #b0b7a4; max-width: none; margin-top: 13px; }
.photo-caption { position: absolute; right: 21px; bottom: 18px; display: flex; gap: 8px; align-items: center; font-size: 9px; letter-spacing: 1.8px; color: #ffeed0; text-shadow: 0 1px 4px #000; }
.photo-caption>span { width: 19px; height: 2px; background: var(--sand); }
.team-server { display: flex; flex-direction: row; align-items: center; padding: 14px 26px; gap: 22px; background: #1b231b; border-color: #6f735345; }
.team-server-map { gap: 17px; flex: 1; }
.radar-frame { position: relative; width: 88px; height: 88px; flex: 0 0 88px; border: 1px solid #7c85684d; border-radius: 50%; overflow: hidden; background: #131c14; }
.radar-frame::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(transparent calc(50% - .5px),#c1cea32a 50%,transparent calc(50% + .5px)), linear-gradient(90deg,transparent calc(50% - .5px),#c1cea32a 50%,transparent calc(50% + .5px)); box-shadow: inset 0 0 12px #111d0a; pointer-events: none; }
.radar-frame img { display: block; width: 100%; height: 100%; object-fit: contain; filter: sepia(.5) saturate(.55); opacity: .9; mix-blend-mode: screen; }
.server-label { display: block; font-size: 10px; color: #b2bf9f; margin-bottom: 3px; }
.team-server-map h3 { font: 700 31px/1.1 var(--display); margin: 0 0 5px; letter-spacing: .4px; color: #e9e6cf; }
.team-server-map p { color: #a7b49b; font-size: 11px; }
.server-address { display: flex; align-items: center; gap: 16px; padding: 12px 19px; background: #111a1280; border: 1px solid #4f5e416b; color: #d9dfc9; text-align: left; min-width: 0; }
.server-address>span { min-width: 0; }
.server-address small { display: block; font-size: 11px; color: #a2b095; margin-bottom: 5px; }
.server-address strong { display: block; font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.server-address>svg:first-child { color: #d8b66d; }
.server-address>svg:last-child { width: 16px; color: #a6b797; margin-left: 18px; }
.team-server-status { align-items: flex-end; flex-direction: column; gap: 9px; }
.team-server-status .pill { color: #d0deb9; border-color: #72805869; background: #91a8730a; font-size: 9px; letter-spacing: 1.4px; padding: 7px 10px; }
.team-vac { font-size: 10px; color: #afbf9e; }
.public-shell .metrics-strip { background: #1c231b; border: 1px solid #394331; border-top: 0; padding: 24px 0; margin: 0 0 33px; }
.public-shell .metrics-strip>div { position: relative; padding: 0 28px; border-color: #3d4636; }
.public-shell .metrics-strip>div:first-child { padding-left: 28px; }
.metric-object { position: absolute; right: 23px; top: 4px; width: 26px; height: 26px; color: #9da888; stroke-width: 1.2; }
.public-shell .metric-label { color: #b9c2ad; font-size: 11px; display: block; padding-right: 25px; }
.public-shell .metrics-strip strong { font-family: var(--display); font-weight: 700; font-size: 42px; color: #e9e7d3; line-height: 1.15; margin-top: 7px; }
.public-shell .metrics-strip strong small { font-family: Barlow, sans-serif; font-size: 17px; color: #a1af91; }
.public-shell .metric-note { font-size: 10px; color: #9dac94; }
.public-shell .metrics-strip progress { display: block; height: 3px; width: calc(100% - 10px); max-width: 140px; margin-top: 8px; border-radius: 0; }

/* Winners: two faction tones, rank insignia and inventory-style weapon art. */
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-title h2 { font: 700 27px/1.15 var(--display); letter-spacing: .6px; margin: 0; }
.section-title>span { color: #acb6a5; font-size: 12px; }
.champion-grid { margin: 0 0 28px; gap: 20px; }
.champion-card { background: #28291e; border: 1px solid #69603b; border-left: 3px solid #d6ac59; border-radius: 3px; padding: 23px 25px; isolation: isolate; }
.champion-card.month { background: #202b2b; border-color: #425b60; border-left: 3px solid #80a9b5; }
.champion-heading { gap: 12px; }
.champion-emblem, .month .champion-emblem { border-radius: 0; background: none; width: 40px; height: 45px; color: #e0ba65; }
.month .champion-emblem { color: #96bdc8; }
.champion-emblem svg { width: 37px; height: 43px; stroke-width: 1.7; }
.champion-heading small { font-size: 9px; letter-spacing: 1.8px; color: #cebb89; margin-bottom: 4px; }
.month .champion-heading small { color: #9cbbc1; }
.champion-heading h2 { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: .2px; color: #e9e6d5; }
.champion-heading>.icon-button { border: 1px solid #88836160; border-radius: 2px; color: #dfd2a2; }
.month .champion-heading>.icon-button { border-color: #8bada24a; color: #accbd0; }
.champion-content { position: relative; margin-top: 22px; }
.champion-identity { font-family: var(--display); font-weight: 700; font-size: 35px; gap: 11px; letter-spacing: .3px; max-width: 90%; }
.champion-identity .avatar { font-family: Barlow, sans-serif; font-size: 13px; background: #3b3928; border-radius: 2px; border-color: #a497654a; color: #ead7a6; height: 35px; width: 35px; min-width: 35px; }
.month .champion-identity .avatar { background: #334345; border-color: #6e92984d; color: #b9dce0; }
.champion-stats { border-color: #ddd4a421; margin-top: 17px; padding-top: 14px; max-width: 80%; }
.champion-stats strong { font-family: var(--display); font-size: 29px; font-weight: 700; color: #dfd4af; }
.month .champion-stats strong { color: #bcd3d6; }
.champion-stats small { color: #b9b8a3; font-size: 11px; }
.champion-weapon { position: absolute; width: 230px; height: 100px; right: 4px; bottom: 50px; color: #b5a669; opacity: .11; transform: rotate(-17deg); z-index: -1; }
.month .champion-weapon { color: #9cb8bf; width: 250px; opacity: .13; }
.champion-empty { font-family: var(--display); font-size: 32px; letter-spacing: 0; color: #e4dcc2; }
.champion-content>p { color: #b8bea8; }
.public-shell .overview-grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 20px; }
.public-shell .section-heading { padding: 21px 23px; border-bottom: 1px solid #ffffff0c; }
.public-shell .section-heading h2 { display: flex; gap: 10px; align-items: center; font: 700 24px/1.1 var(--display); letter-spacing: .4px; }
.public-shell .section-heading h2 svg { width: 20px; height: 22px; color: #b1bb9f; }
.public-shell .section-heading p { font-size: 12px; margin-top: 7px; }
.public-shell .text-button { font-size: 12px; }
.public-shell .player-list { padding: 0 23px; }
#overview-players {
  max-height: min(24rem, 70svh);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
#overview-players:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -3px; }
.public-shell .player-row { grid-template-columns: minmax(100px, 1fr) 48px 58px 66px; gap: 12px; padding: 15px 0; }
.public-shell .player-row:first-child { border-top: 0; }
.public-shell .player-score strong { color: #edcc86; font-family: var(--display); font-size: 26px; font-weight: 700; }
.public-shell .activity-list { display: block; padding: 0 23px; }
.public-shell .activity-list .empty-state { padding: 36px 0; }
.public-shell .activity-item { padding-block: 17px; }
.public-shell .leaders-panel { margin-top: 22px; }
.public-shell .leader-row { padding: 13px 23px; }
.public-shell .leader-position { font: 700 23px var(--display); color: #a7b699; }
.public-shell .leader-row:first-child .leader-position { color: var(--sand); }
.public-shell .leader-stat { font-family: var(--display); font-weight: 700; font-size: 24px; color: #d8dfcf; }
.public-shell .leader-stat small { font-family: Barlow, sans-serif; font-weight: 400; font-size: 11px; margin-top: 3px; }
.public-shell .stats-footnote { font-size: 11px; line-height: 1.7; }
.public-shell .view-toolbar { margin: 15px 0 23px; }
.public-shell .section-summary strong { font-family: var(--display); font-weight: 700; font-size: 27px; letter-spacing: .3px; }
#mobile-replay { color: #c5cdbb; }
.public-shell .page-footer { margin-top: 28px; padding-top: 21px; font-size: 11px; }
.footer-brand { font: 700 22px var(--display); letter-spacing: .8px; }
.footer-brand>svg { color: var(--sand); width: 23px; height: 23px; }
.footer-brand>span { font: 400 11px Barlow, sans-serif; letter-spacing: 0; }

/* The opening sequence uses the same key art and type system as the lobby. */
.cinematic { background: #141b14; }
.cinematic-map { inset: 0; transform: none; opacity: .42; filter: saturate(.3); background: linear-gradient(#101910a6,#101710e8), url('/assets/images/kuzenler-team.webp') center/cover no-repeat; }
.cinematic-top>span, .cinematic-eyebrow { color: #c4cdb2; }
#cinematic-name, #cinematic-tagline strong { font-family: var(--display); font-weight: 700; letter-spacing: .2px; text-transform: uppercase; }
.cinematic-cast span.revealed { color: #e7be72; }
.cinematic-skip { background: #222c1aa6; border-color: #c3cba553; color: #e9e9d5; }
.cinematic.finale .cinematic-map { opacity: .5; }

/* Administration retains its functional layout, with the same visual language. */
.admin-page .sidebar { background: #121a14; border-right: 1px solid #3b4736; }
.admin-page .brand { text-decoration: none; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: .5px; }
.admin-page .brand-mark { border-radius: 2px; border-color: #716b43; }
.admin-page .nav-button { border-radius: 3px; color: #b4c1ad; }
.admin-page .nav-button.active { background: #e9ad4514; color: #edbd69; box-shadow: inset 3px 0 var(--sand); }
.admin-page .auth-intro { background: #1b2419; }
.admin-page .auth-intro-text h1 { letter-spacing: .1px; font-size: clamp(54px, 6vw, 84px); text-transform: uppercase; }
.admin-page .auth-map img { filter: sepia(.6) saturate(.5); }
.admin-page .auth-form-panel { background: #20291e; }
.admin-page .auth-lock { border-radius: 3px; color: #e4b863; background: #353c26; }
.admin-page .auth-footer { color: #bac8ad; }
.admin-page .hero { background: #273320; border: 1px solid #5b6744; border-radius: 4px; }
.admin-page .hero-map img { filter: sepia(.3) saturate(.5); }
.admin-page .hero-map::after { background: linear-gradient(90deg,#273320,transparent); }
.admin-page .hero-secondary { background: #1d2b16; border-color: #62784b; color: #e2e7d2; }
.admin-page .hero-content>p, .admin-page .hero-caption { color: #bacbac; }
.admin-page .map-card { box-shadow: none; }
.admin-page .map-card.active { border-color: #cba553; }
.admin-page .map-card-info { background: #1e281d; }
.admin-page .subtle-pill { color: #c8d5ba; background: #2e3c26; }
.admin-page .ban-card { background: #263020; border-color: #43543a; border-radius: 4px; }
.admin-page .ban-card.inactive { background: #1c251b; }
.admin-page .ban-card.inactive .ban-tag { color: #b3d393; }
.admin-page .ban-tag { background: #502f24; color: #ffbaa2; }
.admin-page .account-button { border-color: #3e4f35; }
.admin-page .admin-avatar { background: #dec180; color: #242b1b; }
.admin-page .auth-address { color: #ccd8bb; }
.admin-page .auth-address>span:last-child { color: #b3c09f; }

@media (min-width: 1500px) {
  .team-hero-main { min-height: 530px; }
  .team-hero-content { padding-left: 50px; }
  .team-hero-content h2 { font-size: 112px; }
}
@media (max-width: 1100px) {
  .public-shell .sidebar { gap: 14px; padding-inline: 24px; }
  .public-shell .nav-button { padding-inline: 14px; }
  .public-shell .sidebar-bottom { display: none; }
  .public-shell .content { padding-inline: 24px; }
  .team-hero-main { min-height: 440px; }
  .team-hero-content { width: 49%; padding: 30px 0 30px 28px; }
  .team-hero-content h2 { font-size: 78px; }
  .team-photo { inset-inline-start: 34%; }
  .team-hero-content .hero-actions .button { padding-inline: 12px; font-size: 13px; }
  .steam-connect svg:last-child { margin-left: 0; }
  .server-address { padding: 10px 12px; gap: 8px; }
  .server-address>svg:first-child { display: none; }
  .server-address>svg:last-child { margin-left: 8px; }
  .server-address strong { font-size: 12px; }
  .team-server { gap: 16px; padding-inline: 20px; }
  .team-server-map p { max-width: 140px; }
  .radar-frame { width: 65px; height: 65px; flex-basis: 65px; }
  .team-server-map { gap: 12px; }
  .public-shell .overview-grid { grid-template-columns: minmax(0,1.3fr) minmax(260px,1fr); }
  .public-shell .player-row { grid-template-columns: minmax(95px,1fr) 40px 52px; gap: 8px; }
  .public-shell .player-duration { display: none; }
}
@media (max-width: 900px) {
  .admin-page .sidebar nav { background: #182316; border-color: #4e603c; }
  .admin-page .nav-button.active { box-shadow: inset 0 3px var(--sand); }
  .public-shell .sidebar .brand { display: flex; font-size: 27px; }
  .public-shell .sidebar nav { grid-template-columns: none; }
  .public-shell .nav-button { font-size: 13px; padding-inline: 11px; gap: 7px; }
  .team-hero-main { min-height: 430px; }
  .team-hero-content { width: 55%; }
  .team-hero-content h2 { font-size: 72px; }
  .team-photo { inset-inline-start: 39%; }
  .team-photo img { object-position: 52% 50%; }
  .team-photo::after { background: linear-gradient(90deg,#20251c,#20251c40 35%,transparent 65%),linear-gradient(0deg,#1b211991,transparent 20%); }
  .team-server { flex-wrap: wrap; }
  .team-server-map { flex: 1; }
  .server-address { order: 3; width: 100%; justify-content: flex-start; padding-block: 9px; }
  .server-address>span { display: flex; gap: 12px; align-items: center; }
  .server-address small { margin: 0; }
  .public-shell .metrics-strip>div { padding-inline: 20px; }
  .public-shell .metrics-strip>div:first-child { padding-left: 20px; }
  .metric-object { right: 15px; top: -2px; width: 21px; height: 23px; }
  .public-shell .metric-label { font-size: 10px; }
  .public-shell .metrics-strip strong { font-size: 38px; }
  .public-shell .overview-grid { grid-template-columns: 1fr; }
  .public-shell .player-row { grid-template-columns: minmax(110px,1fr) 50px 67px 74px; }
  .public-shell .player-duration { display: block; }
  .public-shell .roster-table-labels { grid-template-columns: minmax(110px,1fr) 50px 67px 74px; }
  .public-shell .roster-table-labels>span:nth-child(4) { display: block; }
  .public-shell .activity-list { display: block; }
}
@media (max-width: 700px) {
  .public-shell .sidebar { display: flex; min-height: 72px; padding: 0 18px; flex-wrap: wrap; gap: 0; }
  .public-shell .sidebar .brand { height: 72px; font-size: 27px; }
  .public-shell .sidebar-bottom { display: block; }
  .public-shell .sidebar-server { font-size: 11px; }
  .public-shell .sidebar-server #sidebar-status { font-size: 10px; }
  .public-shell .sidebar nav { position: static; order: 3; height: 55px; width: calc(100% + 36px); margin: 0 -18px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #ffffff0a; gap: 0; }
  .public-shell .nav-button { padding: 0 5px; justify-content: center; gap: 6px; font-size: 12px; min-height: 52px; }
  .public-shell .nav-button svg { width: 16px; height: 16px; }
  .public-shell .nav-button.active::after { inset-inline: 10px; }
  .public-shell .content { padding: 18px 16px 22px; }
  .public-shell .topbar { margin-bottom: 16px; gap: 5px; }
  .public-shell .topbar>div:first-child { display: block; }
  .public-shell .topbar h1 { font-size: 25px; }
  .public-shell .topbar p { margin-top: 3px; font-size: 11px; max-width: none; }
  .public-shell .topbar-actions { gap: 0; }
  .public-shell .live-label { font-size: 10px; padding: 0; }
  .team-hero-main { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .team-photo { position: relative; inset: auto; z-index: -1; width: 100%; aspect-ratio: 1.5; order: 0; }
  .team-photo img { object-fit: cover; width: 100%; height: 100%; margin: 0; object-position: center; }
  .team-photo::after { background: linear-gradient(0deg,#20251c,transparent 18%); }
  .team-hero-content { width: 100%; padding: 8px 24px 26px; order: 1; }
  .edition { margin-bottom: 18px; font-size: 11px; }
  .edition-mark { font-size: 22px; padding: 6px 8px; }
  .edition b { font-size: 10px; }
  .team-hero-content h2 { font-size: clamp(64px, 17vw, 104px); line-height: .91; margin-bottom: 18px; letter-spacing: -.4px; }
  .team-hero-content>p:not(.steam-help) { font-size: 13px; margin-bottom: 20px; }
  .team-hero-content .hero-actions { gap: 8px; }
  .team-hero-content .hero-actions .button { padding: 11px 14px; font-size: 13px; }
  .team-hero-content>.steam-help { font-size: 10px; margin-top: 12px; }
  .photo-caption { top: 15px; right: 14px; bottom: auto; font-size: 8px; letter-spacing: 1px; }
  .team-server { padding: 16px 18px; gap: 14px; }
  .team-server-map { gap: 10px; }
  .radar-frame { width: 58px; height: 58px; flex-basis: 58px; }
  .team-server-map h3 { font-size: 27px; }
  .team-server-map p { font-size: 10px; max-width: 145px; }
  .server-label { font-size: 9px; }
  .team-server-status { flex-direction: column; align-items: flex-end; gap: 8px; }
  .team-server-status .pill { font-size: 8px; padding: 6px; letter-spacing: .5px; }
  .team-vac { font-size: 9px; gap: 4px; }
  .team-vac svg { width: 12px; }
  .server-address { padding: 10px 5px; }
  .server-address>span { gap: 5px; align-items: flex-start; flex-direction: column; }
  .server-address small { font-size: 9px; }
  .server-address strong { font-size: 12px; }
  .server-address>svg:first-child { display: block; width: 17px; }
  .public-shell .metrics-strip { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; gap: 0; margin-bottom: 26px; }
  .public-shell .metrics-strip>div, .public-shell .metrics-strip>div:nth-child(odd) { padding: 19px 18px !important; border-color: #3d4636; }
  .public-shell .metrics-strip>div:nth-child(-n+2) { border-bottom: 1px solid #3d4636; }
  .public-shell .metrics-strip>div:nth-child(odd) { border-right: 1px solid #3d4636; }
  .public-shell .metrics-strip>div:nth-child(even) { border-right: 0; }
  .public-shell .metrics-strip strong { font-size: 39px; margin-top: 7px; }
  .metric-object { top: 20px; right: 14px; width: 20px; height: 20px; }
  .public-shell .metric-note { font-size: 9px; }
  .public-shell .metric-label { font-size: 10px; }
  .section-title { display: block; margin-bottom: 15px; }
  .section-title h2 { font-size: 27px; }
  .section-title>span { display: block; margin-top: 5px; font-size: 11px; }
  .champion-grid { grid-template-columns: 1fr; gap: 13px; margin-bottom: 23px; }
  .champion-card { padding: 20px; }
  .champion-heading small { font-size: 9px; }
  .champion-heading h2 { font-size: 23px; }
  .champion-content { margin-top: 19px; }
  .champion-identity { font-size: 33px; }
  .champion-stats { max-width: 88%; }
  .champion-stats strong { font-size: 28px; }
  .champion-weapon { right: -8px; width: 170px; bottom: 44px; }
  .month .champion-weapon { width: 190px; }
  .public-shell .section-heading { padding: 19px 16px; gap: 8px; }
  .public-shell .section-heading h2 { font-size: 24px; gap: 7px; }
  .public-shell .section-heading p { font-size: 11px; }
  .public-shell .section-heading .text-button { font-size: 11px; gap: 4px; white-space: nowrap; }
  .public-shell .player-list, .public-shell .activity-list { padding-inline: 16px; }
  .public-shell .player-row, .public-shell .roster-table-labels { grid-template-columns: minmax(95px,1fr) 37px 50px; gap: 8px; }
  .public-shell .player-duration, .public-shell .roster-table-labels>span:nth-child(4) { display: none; }
  .public-shell .player-identity { gap: 8px; }
  .public-shell .player-avatar { width: 32px; height: 36px; min-width: 32px; font-size: 11px; }
  .public-shell .player-name { font-size: 13px; }
  .public-shell .player-team { font-size: 10px; }
  .public-shell .leader-row { grid-template-columns: 18px minmax(0,1fr) repeat(3,43px); padding: 14px 13px; gap: 6px; }
  .public-shell .leader-row .leader-name { font-size: 13px; }
  .public-shell .leader-stat { font-size: 20px; }
  .public-shell .leader-stat small { font-size: 9px; }
  .public-shell .stat-table .leader-row { grid-template-columns: 18px repeat(4,minmax(0,1fr)); gap: 12px 8px; }
  .public-shell .stat-table .leader-row .leader-name { font-size: 16px; }
  .public-shell .stat-table .leader-stat { font-size: 24px; }
  .public-shell .stat-table .leader-stat small { font-size: 10px; }
  .public-shell .period-options button { padding-inline: 7px; }
  .public-shell .page-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 359px) {
  .public-shell .content { padding-inline: 12px; }
  .public-shell .sidebar { padding-inline: 12px; }
  .public-shell .sidebar nav { width: calc(100% + 24px); margin-inline: -12px; }
  .public-shell .nav-button { font-size: 11px; gap: 5px; }
  .public-shell .nav-button svg { width: 14px; }
  .public-shell .topbar p { font-size: 10px; max-width: 180px; }
  .public-shell .topbar .live-label { display: none; }
  .team-hero-content { padding-inline: 18px; }
  .team-hero-content h2 { font-size: 64px; }
  .team-hero-content .hero-actions .button { padding-inline: 10px; font-size: 12px; gap: 6px; }
  .team-hero-content .steam-connect svg:last-child { display: none; }
  .team-server { padding-inline: 13px; gap: 10px; }
  .radar-frame { width: 46px; height: 46px; flex-basis: 46px; }
  .team-server-map { gap: 8px; }
  .team-server-map h3 { font-size: 24px; }
  .team-server-map p { max-width: 107px; }
  .team-server-status .pill { font-size: 7px; }
  .team-vac { font-size: 8px; }
  .public-shell .metrics-strip>div, .public-shell .metrics-strip>div:nth-child(odd) { padding-inline: 14px !important; }
  .public-shell .metric-label { font-size: 9px; }
  .metric-object { right: 10px; width: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Five navigation destinations, including the independently maintained guide. */
@media (max-width: 1100px) and (min-width: 701px) {
  .public-shell .sidebar { padding-inline: 18px; gap: 10px; }
  .public-shell .nav-button { padding-inline: 11px; font-size: 12px; gap: 6px; }
}
@media (max-width: 850px) and (min-width: 701px) {
  .public-shell .sidebar nav { gap: 0; }
  .public-shell .nav-button { padding-inline: 9px; }
  .public-shell .nav-button svg { display: none; }
}
@media (max-width: 700px) {
  .public-shell .sidebar nav { grid-template-columns: repeat(5,minmax(0,1fr)); height: 66px; }
  .public-shell .sidebar .nav-button { flex-direction: column; padding: 7px 3px; gap: 5px; font-size: 11px; text-align: center; line-height: 1.15; }
  .public-shell .sidebar .nav-button svg { display: block; width: 17px; height: 17px; }
  .public-shell .sidebar .nav-button span { white-space: normal; }
  .public-shell .leaders-panel .leader-row { grid-template-columns: 20px repeat(3,minmax(0,1fr)); gap: 9px 10px; }
  .public-shell .leaders-panel .leader-position { grid-column: 1; }
  .public-shell .leaders-panel .leader-name { grid-column: 2 / -1; font-size: 15px; }
  .public-shell .leaders-panel .leader-stat { grid-row: 2; font-size: 24px; text-align: left; overflow-wrap: normal; }
  .public-shell .leaders-panel .leader-stat:nth-child(3) { grid-column: 2; }
  .public-shell .leaders-panel .leader-stat:nth-child(4) { grid-column: 3; }
  .public-shell .leaders-panel .leader-stat:nth-child(5) { grid-column: 4; }
  .public-shell .leaders-panel .leader-stat small { font-size: 10px; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .player-row:hover, .leader-row:hover { background: #e9ad4507; }
}
.admin-page .ban-card.inactive .ban-tag { background: #31402a; }
/* The tablet composition shows the complete group across the frame. */
@media (min-width: 701px) and (max-width: 900px) {
  .team-hero-main { flex-direction: column; align-items: stretch; min-height: 0; }
  .team-photo { position: relative; inset: auto; width: 100%; aspect-ratio: 1.95; z-index: -1; }
  .team-photo img { object-position: center 47%; }
  .team-photo::after { background: linear-gradient(0deg,#20251c,transparent 18%); }
  .team-hero-content { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 20px; padding: 10px 28px 30px; align-items: center; }
  .edition { grid-column: 1; grid-row: 1; margin-bottom: 18px; }
  .team-hero-content h2 { grid-column: 1; grid-row: 2 / 5; font-size: 68px; margin: 0; }
  .team-hero-content>p:not(.steam-help) { grid-column: 2; grid-row: 2; margin: 0 0 15px; font-size: 13px; }
  .team-hero-content .hero-actions { grid-column: 2; grid-row: 3; align-self: auto; }
  .team-hero-content .hero-actions .button { padding-inline: 10px; font-size: 12px; gap: 6px; }
  .team-hero-content>.steam-help { grid-column: 2; grid-row: 4; margin-top: 12px; }
  .photo-caption { top: 17px; bottom: auto; }
}

/* Map timer shares the title line and wraps naturally on narrow screens. */
.map-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-bottom: 5px; }
.team-server-map .map-title-row h3 { margin: 0; }
.map-countdown { color: #d4ddbb; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* The map and address share the freed server strip without squeezing map names. */
.team-server-map { min-width: 0; }
.team-server-map > div:last-child { min-width: 0; }
.team-server-map .map-title-row h3 { overflow-wrap: anywhere; }
