@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #070809;
  --fg: #e5e7eb;
  --card: #0f1316;
  --card2: #0b0e11;
  --muted: #14181e;
  --mutedFg: rgba(255, 255, 255, 0.58);
  --border: rgba(255, 255, 255, 0.12);
  --primary: #ef4444;
  --primaryFg: #0b0d0f;
  --accent: #fbbf24;
  --accentFg: #0b0d0f;
  --danger: #ef4444;
  --dangerFg: #ffffff;
  --success: #22c55e;
  --radius: 2px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.55);
  --topbarH: 64px;
  --navH: 52px;
  --font: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1920px;
  --team1-rgb: 239, 68, 68;
  --team2-rgb: 251, 191, 36;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  font-family: var(--font);
  background: #050607;
}

body {
  margin: 0;
  background:
    radial-gradient(1600px 1000px at 20% 10%, rgba(var(--team1-rgb), 0.16), rgba(7, 8, 9, 0) 62%),
    radial-gradient(1500px 950px at 80% 15%, rgba(var(--team2-rgb), 0.14), rgba(7, 8, 9, 0) 64%),
    radial-gradient(1200px 900px at 55% -160px, rgba(var(--team1-rgb), 0.10), rgba(7, 8, 9, 0) 62%),
    radial-gradient(1200px 900px at 45% -180px, rgba(var(--team2-rgb), 0.10), rgba(7, 8, 9, 0) 62%),
    linear-gradient(180deg, #050607 0%, #070809 40%, #050607 100%);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.35;
  position: relative;
  min-height: 100vh;
  background-color: #050607;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background-image: url("/images/logo.png");
  background-repeat: no-repeat;
  background-position: 50% 35%;
  background-size: 900px auto;
  opacity: 0.06;
  filter: blur(28px) saturate(1.1);
  transform: translateZ(0);
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.18' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='640' height='640' filter='url(%23g)' opacity='.22'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 4px),
    radial-gradient(900px 650px at 50% 20%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55) 70%);
  background-size: 240px 240px, 640px 640px, auto, auto, auto;
  background-repeat: repeat, repeat, repeat, repeat, no-repeat;
  background-position: 0 0, 120px 60px, 0 0, 0 0, 50% 20%;
  opacity: 0.22;
  z-index: 1;
}

.appContent {
  position: relative;
  z-index: 2;
}

.screenShell {
  position: relative;
  min-height: 100vh;
}

.screenApp {
  width: 80%;
  max-width: 80%;
  min-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
}

.font-sans {
  font-family: var(--font);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.toast {
  position: fixed;
  right: 12px;
  top: 12px;
  z-index: 1000;
  display: none;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  max-width: 320px;
}

.toast.ok {
  border-color: rgba(34, 197, 94, 0.6);
}

.toast.err {
  border-color: rgba(239, 68, 68, 0.6);
}

.busy {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.busyBox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}

.busyCol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 320px;
}

.busyText {
  color: var(--fg);
  font-size: 14px;
}

.busyProg {
  height: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.busyProgBar {
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--team1-rgb), 0.85), rgba(var(--team2-rgb), 0.85));
}

.busyProgPct {
  font-size: 12px;
  color: var(--mutedFg);
}

.busySpinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.20);
  border-top-color: var(--accent);
  animation: busySpin 0.9s linear infinite;
}

@keyframes busySpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.banner {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.74) 100%),
    url("/images/banner.jpg");
  background-size: cover;
  background-position: 50% 45%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.bannerInner {
  max-width: var(--container);
  margin: 0 auto;
  height: 400px;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bannerLogo {
  height: 200px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(239, 68, 68, 0.55));
  -webkit-user-drag: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.menubar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background:
    linear-gradient(180deg, rgba(18, 22, 28, 0.98) 0%, rgba(11, 13, 15, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.crumbs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.crumbsInner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  text-transform: uppercase;
  overflow-x: auto;
  white-space: nowrap;
}

.crumbsInner a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.crumbsInner a:hover {
  color: var(--accent);
}

.crumbSep {
  color: rgba(255, 255, 255, 0.38);
}

.menubarInner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  max-width: var(--container);
  margin: 0 auto;
}

.menuLeft {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
  flex: 1 1 auto;
}

.menuLeft::-webkit-scrollbar {
  height: 6px;
}

.menuLeft::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.menuLeft::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 2px;
}

.menuRight {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.topDate {
  color: rgba(255, 255, 255, 0.70);
  text-transform: uppercase;
  font-size: 14px;
  padding: 0 6px;
  white-space: nowrap;
}

.menuRight .topInfo {
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 12px;
}

.menuRight .meta {
  align-items: center;
}

.menuRight .chip {
  padding: 7px 12px;
}

.menuRight .topInfo .k {
  font-size: 14px;
}

.adminWrap {
  position: relative;
}

.adminMenu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px;
}

.adminItem {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
}

.adminItem + .adminItem {
  margin-top: 8px;
}

.adminItem.danger {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ff4d4d;
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: var(--topbarH);
  background:
    linear-gradient(180deg, rgba(18, 22, 28, 0.98) 0%, rgba(11, 13, 15, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 50;
}

.topbarInner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.brandLogo {
  width: auto;
  height: 56px;
  display: block;
  image-rendering: auto;
}

.brandText {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brandSub {
  font-size: 14px;
  color: var(--mutedFg);
}

.topbarCenter {
  flex: 1;
  display: flex;
  justify-content: center;
}

.topInfo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.topInfo .k {
  color: var(--mutedFg);
  font-size: 13px;
  text-transform: uppercase;
}

.topInfo .v {
  color: var(--fg);
}

.topInfo .team {
  color: var(--accent);
}

.meta {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.chip .k {
  font-size: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
}

.chip.day {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
}

.chip.day .k,
.chip.day .v {
  color: #ffffff;
}

.topbarRight {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--topbarH);
  height: var(--navH);
  background:
    linear-gradient(180deg, rgba(12, 14, 16, 0.98) 0%, rgba(9, 11, 13, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 40;
}

.navbarInner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
}

.navbarInner::-webkit-scrollbar {
  height: 6px;
}

.navbarInner::-webkit-scrollbar-track {
  background: var(--muted);
}

.navbarInner::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.navGroup {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.navGroup:hover .navDropdown,
.navGroup:focus-within .navDropdown {
  display: flex;
}

.navbtn-group::after {
  content: '▼';
  font-size: 10px;
  margin-left: 10px;
  opacity: 0.7;
}

.navDropdown {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 230px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 6px;
  background: rgba(11, 14, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 70;
}

.navDropdownItem {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.navDropdownItem:hover {
  background: rgba(239, 68, 68, 0.16);
  color: #fff;
  text-decoration: none;
}

.navbtn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px;
}

@media (max-width: 640px) {
  .navbtn .lbl {
    display: inline-block;
  }
}

.navbtn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.10);
}

.navbtn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.35);
}

.navbtn:focus,
.actionbtn:focus,
.btn-ghost:focus,
.adminItem:focus {
  outline: none;
}

.navbtn:focus-visible,
.actionbtn:focus-visible,
.btn-ghost:focus-visible,
.adminItem:focus-visible {
  outline: 2px solid rgba(239, 68, 68, 0.55);
  outline-offset: 2px;
}

.navbtn .ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  position: relative;
  top: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navbtn .lbl {
  display: inline-flex;
  align-items: center;
  line-height: normal;
}

.actionbtn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.70);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px;
}

.actionbtn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.actionbtn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.35);
}

.actionbtn.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.62);
}

.actionbtn.danger {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ff4d4d;
}

.actionbtn.danger:hover {
  background: rgba(239, 68, 68, 0.26);
  color: #ffffff;
}

.actionbtn .ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  position: relative;
  top: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.actionbtn .lbl {
  display: inline-flex;
  align-items: center;
  line-height: normal;
}

@media (min-width: 640px) {
  .actionbtn .lbl {
    display: inline;
  }
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 14px 70px;
}

.appContent {
  padding-top: 18px;
}

.appGrid {
  display: block;
}

.appMainShell {
  width: 100%;
  max-width: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.bioPane {
  width: 360px;
  flex: 0 0 auto;
  position: sticky;
  top: 84px;
}

.bioTitle {
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 10px;
}

.bioRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bioRow:last-child {
  border-bottom: none;
}

.bioRow .k {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  text-transform: uppercase;
}

.bioRow .v {
  color: rgba(255, 255, 255, 0.90);
}

#sideBioCard {
  --bio-c1: rgba(239, 68, 68, 0.55);
  --bio-c2: rgba(251, 191, 36, 0.50);
}

#sideBioCard::before {
  content: '';
  position: absolute;
  inset: -40px;
  pointer-events: none;
  background: linear-gradient(135deg, var(--bio-c1) 0%, var(--bio-c2) 100%);
  filter: blur(28px);
  opacity: 0.45;
  z-index: 0;
}

.sideLeagueHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sideLeagueToggle {
  height: 34px;
  width: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sideLeagueToggle .ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sideLeagueToggle.open .ico {
  transform: rotate(180deg);
}

.sideRankingBox .table th,
.sideRankingBox .table td {
  padding: 4px 4px;
}

.sideRankingBox .table th {
  font-size: 10px;
}

#sideRanking {
  font-size: 11px;
}

.mainPane {
  flex: 1 1 auto;
  min-width: 0;
}

.chatPane {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20%;
  max-width: 20%;
  min-width: 280px;
  height: 100vh;
  z-index: 35;
  background: transparent;
}

.chatCard {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  height: 100vh;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-shadow: none;
}

.chatCard::before {
  display: none;
}

.chatHead {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatTitleBar {
  display: block;
  width: 100%;
  padding: 12px 8px 11px;
  text-align: center;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.6px;
  color: #fff;
  border: none;
  background: transparent;
}

.chatStatus {
  display: none;
}

.chatMessages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 0 0;
  width: 100%;
}

.chatMessages::-webkit-scrollbar {
  width: 6px;
}

.chatMessages::-webkit-scrollbar-track {
  background: var(--muted);
}

.chatMessages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.chatEmpty {
  padding: 18px 12px;
  text-align: center;
  color: var(--mutedFg);
  font-style: italic;
}

.chatRow {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 2px 10px 3px;
  border: none;
  border-left: none;
  border-bottom: none;
  border-radius: 0;
  background: transparent;
}

.chatRow:nth-child(odd) {
  background: transparent;
}

.chatRow.me {
  background: rgba(34, 197, 94, 0.05);
}

.chatRow.admin {
  background: rgba(251, 191, 36, 0.04);
}

.chatRow.system {
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 6px 0;
  border-top: 1px solid rgba(239, 68, 68, 0.26);
  border-bottom: 1px solid rgba(239, 68, 68, 0.26);
}

.chatRow.deleted {
  opacity: 0.7;
}

.chatMeta {
  display: inline;
  padding: 0;
}

.chatMetaLeft {
  display: inline;
  min-width: 0;
}

.chatName {
  font-weight: 900;
  color: #fff;
  text-transform: none;
  font-size: 14px;
  letter-spacing: 0;
}

.chatRow.admin .chatName {
  color: #fde68a;
}

.chatRow.me .chatName {
  color: #4ade80;
}

.chatRow.me .chatName::before {
  content: '● ';
  color: #22c55e;
}

.chatStamp {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  white-space: nowrap;
  margin-right: 6px;
}

.chatDeleteBtn {
  min-width: 0;
  margin-left: 8px;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  text-transform: none;
  vertical-align: baseline;
}

.chatBody {
  display: inline;
  margin-top: 0;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.chatMention {
  color: #93c5fd;
  font-weight: 900;
}

.chatMention.me {
  color: #fbbf24;
}

.chatSep {
  display: inline;
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.75);
}

.chatRow.system .chatBody,
.chatRow.deleted .chatBody {
  font-style: italic;
}

.chatDeletedLabel {
  display: inline;
  margin: 0 0 0 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(252, 165, 165, 0.95);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.chatTimeoutBox {
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid rgba(239, 68, 68, 0.30);
  border-bottom: 1px solid rgba(239, 68, 68, 0.30);
  border-left: none;
  border-right: none;
  background: rgba(239, 68, 68, 0.10);
  color: rgba(252, 165, 165, 0.95);
  font-style: italic;
}

.chatComposer {
  flex: 0 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px 10px;
  background: transparent;
}

.chatEmojiPanel {
  margin: 0 0 8px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.chatEmojiRow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chatEmojiBtn {
  min-width: 36px;
  height: 36px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  text-transform: none;
}

.chatInput {
  display: block;
  width: 100%;
  min-height: 44px;
  max-height: 120px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: none;
}

.chatComposerActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  padding: 0;
}

.chatComposerBtns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.chatInfo {
  display: none;
}

.chatSendBtn {
  height: 38px;
  padding: 0 14px;
}

.chatEmojiToggle {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  text-transform: none;
}

.homeGrid {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.homeLeft {
  width: 460px;
  flex: 0 0 auto;
}

.homeRight {
  flex: 1 1 auto;
  min-width: 0;
}

.card {
  background:
    radial-gradient(900px 320px at 12% 0%, rgba(251, 191, 36, 0.05), rgba(0, 0, 0, 0) 55%),
    radial-gradient(700px 280px at 80% 30%, rgba(239, 68, 68, 0.06), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.030) 0%, rgba(255, 255, 255, 0.010) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin: 12px 0;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E"),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 5px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.14) 0px, rgba(0, 0, 0, 0.14) 1px, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 8px),
    radial-gradient(900px 420px at 50% -40%, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0) 60%);
  background-size: 220px 220px, auto, auto, auto;
  background-repeat: repeat, repeat, repeat, no-repeat;
  background-position: 0 0, 0 0, 0 0, 50% -40%;
  opacity: 0.55;
}

.card > * {
  position: relative;
  z-index: 1;
}

.muted {
  color: var(--mutedFg);
}

.ok {
  color: var(--success);
}

.err {
  color: var(--danger);
}

.row {
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
}

input, select, textarea {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.030) 0%, rgba(255, 255, 255, 0.012) 100%);
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 10px 10px;
  outline: none;
}

select {
  color-scheme: dark;
}

select option {
  background: #070809;
  color: rgba(255, 255, 255, 0.92);
}

.trSel {
  padding: 8px 10px;
  min-width: 170px;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
}

button {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9em;
}

button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--mutedFg);
  border-color: rgba(255, 255, 255, 0.10);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.btn-ghost.active {
  background: var(--primary);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.25);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.18);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.55);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.28);
}

.pageTitleRow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 12px;
}

.pageHeadActions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pageTitle {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  margin: 8px 0 0;
  font-size: 28px;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accentFg);
  border-radius: 2px;
}

.playerTitle {
  font-size: 34px;
}

.pageHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 12px;
}

.pageHeaderLeft {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pageTitle2 {
  margin: 0;
  font-size: 36px;
}

.teamPanel {
  padding: 0;
}

.teamPanelInner {
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 140px;
}

.teamEmblem {
  width: 126px;
  height: 126px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
}

.teamEmblemSvg {
  width: 30px;
  height: 30px;
  stroke: rgba(255, 255, 255, 0.75);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.teamInfo {
  flex: 1;
  min-width: 0;
}

.teamNameRow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.teamName {
  font-size: 24px;
  font-weight: 800;
}

.teamAbbrRow {
  margin-top: 2px;
}

.teamAbbr {
  color: rgba(255, 255, 255, 0.55);
}

.teamMetaBlock {
  margin-top: 18px;
}

.teamMetaLabel {
  color: rgba(255, 255, 255, 0.30);
  font-size: 13px;
  text-transform: uppercase;
}

.teamSlogan {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-style: italic;
}

.teamMetaSmall {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.45);
}

.marketHead {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--mutedFg);
  margin-bottom: 12px;
}

.marketGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.marketItem {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.marketItem.locked {
  opacity: 0.42;
  filter: grayscale(0.85) saturate(0.55);
}

.marketItem.locked .marketImg {
  filter: grayscale(1) contrast(0.92);
}

.marketImg {
  width: 200px;
  height: 200px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.15);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.marketName {
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
}

.marketDesc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.marketPrice {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.28);
  font-weight: 900;
}

.marketMeta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mTag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.10);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
}

.mTag.time {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: rgba(147, 197, 253, 0.95);
}

.mTag.people {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: rgba(216, 180, 254, 0.95);
}

.mTag.reward {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: rgba(74, 222, 128, 0.95);
}

.mTag.limit {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.24);
  color: rgba(252, 165, 165, 0.95);
}

.buyBtn {
  margin-top: 12px;
  width: 100%;
}

.marketMods {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mod {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 2px;
  font-weight: 900;
  text-transform: uppercase;
}

.mod.plus {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: rgba(74, 222, 128, 0.95);
}

.mod.minus {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: rgba(252, 165, 165, 0.95);
}

.stashWrap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stashShelf {
  flex: 1;
  min-width: 0;
}

.stashHead {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--mutedFg);
  margin-bottom: 12px;
}

.stashCount {
  color: rgba(255, 255, 255, 0.38);
}

.stashGrid {
  display: grid;
  grid-template-columns: repeat(2, 240px);
  justify-content: center;
  gap: 12px;
}

.stashTile {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  box-sizing: border-box;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stashTile.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  min-height: 310px;
  background: rgba(255, 255, 255, 0.01);
}

.stashEmpty {
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  font-size: 13px;
}

.stashGo {
  width: auto;
  font-size: 12px;
  padding: 6px 10px;
}

.workPoints {
}

.workHead {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--mutedFg);
  margin-bottom: 12px;
}

.workGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.workItem {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.workTopRow {
  display: flex;
  gap: 12px;
  align-items: center;
}

.workThumb {
  width: 250px;
  height: 150px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.15);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  flex: 0 0 auto;
}

.workTitleCol {
  flex: 1;
  min-width: 0;
}

.workNm {
  font-weight: 900;
  font-size: 16px;
}

.workNm.under {
  margin-top: 10px;
  text-align: center;
}

.workDesc {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.workPick {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.workSel {
  width: 100%;
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
}

.workBtn {
  margin-top: 10px;
  width: 100%;
}

.workActiveRow {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.workActiveRow:last-child {
  border-bottom: none;
}

.workActiveNm {
  font-weight: 900;
}

.workActiveMeta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.workTimer {
  font-weight: 900;
  color: rgba(251, 191, 36, 0.95);
}

.stashImg {
  width: 200px;
  height: 200px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.15);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.stashName {
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
}

.durBar {
  margin-top: 10px;
  height: 10px;
  width: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.durBar > div {
  height: 100%;
  width: 0%;
  background: rgba(251, 191, 36, 0.95);
}

.durTxt {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.stashMods {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.sectionHead2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.table {
  font-family: var(--font);
}

.table th, .table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.table th {
  text-align: left;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  text-transform: uppercase;
}

.table th.stat,
.table td.stat {
  text-align: center;
  vertical-align: middle;
}

.standingsTable th:not(:nth-child(2)),
.standingsTable td:not(:nth-child(2)) {
  text-align: center;
}

.standingsTable tr.mine td:nth-child(2) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 900;
}

.standingsTable tr.mine td {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table.compact th, .table.compact td {
  padding: 8px 8px;
}

.pnameCell a {
  font-weight: 800;
  color: var(--fg);
}

.pnameCell a:hover {
  color: var(--accent);
}

.nickCell {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
}

.ovrCell {
  color: var(--accent);
  font-weight: 900;
}

.perkCell {
  color: var(--accent);
  font-weight: 700;
}

.standingsTable tr.po td {
  background: rgba(251, 191, 36, 0.06);
}

.standingsTable tr.cut td {
  border-top: 2px solid rgba(251, 191, 36, 0.45);
}

.standingsTable tr.mine td {
  background: rgba(34, 197, 94, 0.08);
  font-weight: 900;
}

.standingsTable tr.mine.po td {
  background: rgba(34, 197, 94, 0.10);
}

.standingsTable tr.rankQF td {
  background: rgba(251, 191, 36, 0.06);
}

.standingsTable tr.rankFourth td {
  background: rgba(71, 107, 48, 0.16);
}

.standingsTable tr.rankGold td {
  background: rgba(250, 204, 21, 0.16);
  color: #fef08a;
  font-weight: 900;
}

.awardTable {
  table-layout: fixed;
  width: 100%;
}

.awardTable th,
.awardTable td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.awardTable th:nth-child(1),
.awardTable td:nth-child(1) {
  width: 44px;
}

.awardTable th:nth-child(2),
.awardTable td:nth-child(2) {
  width: 260px;
}

.awardTable th:nth-child(3),
.awardTable td:nth-child(3) {
  width: 220px;
}

.awardTable th:nth-child(n+4),
.awardTable td:nth-child(n+4) {
  width: 78px;
}

.standingsTable tr.rankSilver td {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
  font-weight: 900;
}

.standingsTable tr.rankBronze td {
  background: rgba(217, 119, 6, 0.14);
  color: #fdba74;
  font-weight: 900;
}

.poBadge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--accent);
  color: var(--accentFg);
  font-size: 12px;
  font-weight: 900;
}

.calgrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.calhead {
  color: var(--mutedFg);
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 0;
}

.calcell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.calcell.past {
  opacity: 0.7;
}

.calcell.today {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.12), var(--shadow);
}

.calcell.win {
  border-color: rgba(34, 197, 94, 0.75);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.10), var(--shadow);
}

.calcell.loss {
  border-color: rgba(239, 68, 68, 0.75);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.10), var(--shadow);
}

.wlBadge {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.28;
  pointer-events: none;
}

.wlBadge.win {
  color: rgba(34, 197, 94, 0.95);
}

.wlBadge.loss {
  color: rgba(239, 68, 68, 0.95);
}

.calcell .d {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--mutedFg);
}

.calcell .mLine {
  font-weight: 900;
}

.calcell .mMeta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.calcell .tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calcell .tag.ready {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.10);
  color: rgba(155, 255, 190, 0.95);
}

.calcell .tag.played {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.10);
  color: rgba(255, 230, 150, 0.95);
}

.calcell .mNone {
  color: var(--mutedFg);
}

.calcell .mAction a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.calcell .mAction a:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.roundBox {
  margin: 10px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.poBracket {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.poBracketSimple {
  display: grid;
  grid-template-columns: 250px 250px 250px;
  grid-auto-rows: 18px;
  column-gap: 70px;
  align-items: start;
  justify-content: center;
}

.poBracketSimple .poSeries {
  margin: 0;
  width: 250px;
}

.poBracketSimple .poTeams {
  gap: 5px;
}

.poBracketSimple .poTeamRow {
  padding: 5px 7px;
  gap: 8px;
  font-size: 14px;
}

.poBracketSimple .poTeamRow .nm {
  max-width: none;
}

.poTitleQF { grid-column: 1; grid-row: 1; }
.poTitleSF { grid-column: 2; grid-row: 1; }
.poTitleF { grid-column: 3; grid-row: 1; }
.poTitle3P { grid-column: 3; grid-row: 14; margin: 0; }

.poQF1 { grid-column: 1; grid-row: 2 / span 4; }
.poQF2 { grid-column: 1; grid-row: 8 / span 4; }
.poQF3 { grid-column: 1; grid-row: 14 / span 4; }
.poQF4 { grid-column: 1; grid-row: 20 / span 4; }

.poSF1 { grid-column: 2; grid-row: 5 / span 4; }
.poSF2 { grid-column: 2; grid-row: 17 / span 4; }

.poF { grid-column: 3; grid-row: 11 / span 4; }
.poTitle3P { grid-column: 3; grid-row: 16; margin: 0; }
.po3P { grid-column: 3; grid-row: 17 / span 4; }

.poColTitle {
  text-transform: uppercase;
  font-size: 13px;
  color: var(--mutedFg);
  margin-bottom: 6px;
}

.poSeries {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
  margin-bottom: 8px;
}

.poTeams {
  display: grid;
  gap: 6px;
}

.poTeamRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 7px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 900;
  font-size: 13px;
}

.poCol {
  min-width: 0;
}

.poTeamRow .nm {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.poTeamRow .sc {
  color: var(--mutedFg);
  font-size: 12px;
  flex: 0 0 auto;
}

.poTeamRow.win {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
}

.poMeta {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--mutedFg);
  font-size: 12px;
}

.poSeriesLink {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  white-space: nowrap;
}

.poSeriesCard {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  box-shadow: var(--shadow);
}

.poSeriesCardTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.poSeriesCardTeams {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
}

.poSeriesCardTeams .t {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.poSeriesCardTeams .vs {
  color: var(--mutedFg);
  font-size: 12px;
  flex: 0 0 auto;
}

.poSeriesCardTeams .t.win {
  color: #fde68a;
}

.poSeriesCardScore {
  font-weight: 900;
  color: var(--mutedFg);
  flex: 0 0 auto;
}

.poSeriesBtns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.poGameBtn {
  padding: 10px 10px;
  font-size: 12px;
}

.poGameBtn:disabled {
  opacity: 0.35;
  filter: grayscale(1);
  cursor: not-allowed;
}

.poGameBtn.played {
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
}

.leagueAwardHero {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0 10px;
}

.leagueAwardImg {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.leagueAwardImg.small {
  max-width: 180px;
}

@media (max-width: 960px) {
  .poBracket {
    grid-template-columns: 1fr;
  }
  .poBracketSimple {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 10px;
    justify-content: stretch;
    grid-auto-rows: auto;
  }
  .poBracketSimple .poSeries {
    width: 100%;
  }
  .poBracketSimple .poNode,
  .poBracketSimple .poColTitle {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

.roundHead {
  cursor: pointer;
  padding: 10px 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.roundTitle {
  text-transform: uppercase;
  font-size: 14px;
}

.roundMeta {
  color: var(--mutedFg);
  font-size: 14px;
}

.roundBody {
  padding: 10px 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.matchTile {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  min-width: 0;
}

.matchTile.mine {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.06);
}

.mtTeams {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mtTeam {
  font-weight: 900;
  font-size: 13px;
  line-height: 1.15;
  padding: 6px 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.mtTeam.win {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
}

.mtVs {
  color: var(--mutedFg);
  font-size: 11px;
  text-transform: uppercase;
  text-align: center;
}

.mtFoot {
  margin-top: 8px;
  color: var(--mutedFg);
  font-size: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.mtLink {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .roundBody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.clearfix {
  clear: both;
}

.pageHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.postBox {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 12px;
}

.postBox.big {
  padding: 14px;
}

.postTitle {
  font-weight: 900;
  font-size: 16px;
}

.postHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.postMeta {
  color: var(--mutedFg);
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.postSep {
  margin: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.postBody {
  margin-top: 10px;
  white-space: normal;
}

.postFoot {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.postAuthor {
  font-size: 12px;
  color: var(--mutedFg);
  text-transform: lowercase;
}

.colorPick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
}

.crestPreview {
  width: 140px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.teamCrestPreview {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.teamCard .teamTop {
  display: flex;
  align-items: center;
  gap: 14px;
}

.crest {
  width: 84px;
  height: 64px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.teamCard .tn {
  font-size: 22px;
  font-weight: 900;
}

.teamCard .ta {
  margin-top: 2px;
  color: var(--mutedFg);
  text-transform: uppercase;
  font-size: 14px;
}

.teamCard .meta {
  margin-top: 10px;
}

.teamCard .metaLabel {
  color: var(--mutedFg);
  font-size: 13px;
  text-transform: uppercase;
}

.teamCard .sl {
  margin-top: 4px;
}

.sectionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sectionTag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 2px;
}

.leagueLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--mutedFg);
  font-size: 14px;
}

.legItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legW, .legL, .legWD, .legPO {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  border-radius: 2px;
  font-weight: 900;
  font-size: 13px;
}

.legW {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.legL {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.legWD {
  background: rgba(148, 163, 184, 0.10);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.legPO {
  background: rgba(251, 191, 36, 0.14);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.matchBody {
  display: flex;
  gap: 14px;
}

.lineupTable .lpRow.sel td {
  background: rgba(239, 68, 68, 0.06);
}

.lineupTable .lpRow.sel td:first-child {
  border-left: 3px solid rgba(239, 68, 68, 0.85);
}

.lineupTable td.bestStat {
  background: rgba(251, 191, 36, 0.10);
  color: rgba(251, 191, 36, 0.95);
  font-weight: 900;
}

.fieldCol {
  flex: 1;
  min-width: 0;
}

.actionsCol {
  width: 360px;
  flex: 0 0 auto;
}

.teamRowHead {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card2);
  box-shadow: var(--shadow);
  padding: 10px;
}

.teamRowHead.defeated {
  opacity: 0.65;
}

.teamNm {
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 8px;
}

.teamIntroRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.teamFlag {
  width: 44px;
  height: 28px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.teamSlogan,
.teamCount {
  font-size: 12px;
  line-height: 1.35;
}

.teamBar {
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.teamBar > div {
  height: 100%;
  width: 0%;
  background: var(--success);
}

.teamHpTxt {
  margin-top: 6px;
  font-size: 14px;
}

.vsRow {
  text-align: center;
  margin: 10px 0;
  text-transform: uppercase;
  color: var(--mutedFg);
}

.teamList {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
}

.teamList .pCard {
  flex: 0 0 200px;
}

.streetPickList {
  margin-top: 0;
}

.streetPickCard {
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.streetPickCard:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.streetPickCard.sel {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(236, 72, 153, 0.35);
}

.pCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  position: relative;
}

.pCard.out {
  opacity: 0.55;
  filter: grayscale(0.25);
}

.avatarBox {
  width: 180px;
  height: 180px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.jailAvatar {
  position: relative;
  overflow: hidden;
}

.jailOverlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url("/images/jail.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  pointer-events: none;
}

.jailSentence {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--mutedFg);
  min-height: 30px;
}

.jailTimer {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.pName {
  margin-top: 6px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pName .nick {
  color: var(--accent);
}

.hp {
  margin-top: 8px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hp > div {
  height: 100%;
  width: 0%;
}

.hpTxt {
  margin-top: 6px;
  font-size: 12px;
}

.pItem {
  margin-top: 6px;
  color: var(--mutedFg);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pItemMods {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.actionsBox {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.actionsTitleBar {
  padding: 10px 12px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--mutedFg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.logbox {
  height: 420px;
  overflow: auto;
  padding: 10px 12px;
  font-size: 16px;
}

.logbox::-webkit-scrollbar {
  width: 6px;
}

.logbox::-webkit-scrollbar-track {
  background: var(--muted);
}

.logbox::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.logline {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logline:last-child {
  border-bottom: none;
}

.logline .ic {
  margin-right: 6px;
  display: inline-block;
}

.logline.hit.big {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.10);
  border-left: 3px solid rgba(251, 191, 36, 0.65);
  padding-left: 10px;
  margin: 0 -12px;
  padding-right: 12px;
}

.logline.hit.critical {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border-left: 3px solid rgba(239, 68, 68, 0.75);
  padding-left: 10px;
  margin: 0 -12px;
  padding-right: 12px;
}

.logline.ko {
  color: #fca5a5;
  font-weight: 900;
  background: rgba(239, 68, 68, 0.18);
  border-left: 3px solid rgba(239, 68, 68, 0.95);
  padding-left: 10px;
  margin: 0 -12px;
  padding-right: 12px;
}

.logline.win {
  color: #86efac;
  font-weight: 900;
  background: rgba(34, 197, 94, 0.12);
  border-left: 3px solid rgba(34, 197, 94, 0.85);
  padding-left: 10px;
  margin: 0 -12px;
  padding-right: 12px;
}

.atkN {
  color: #fdba74;
  font-weight: 900;
}

.defN {
  color: #93c5fd;
  font-weight: 900;
}

.num {
  color: #fff;
  font-weight: 900;
}

.resultBox {
  margin-top: 12px;
}

.winBox {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 10px 12px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 900;
}

.winBox.home {
  border-color: rgba(251, 191, 36, 0.35);
}

.winBox.away {
  border-color: rgba(59, 130, 246, 0.35);
}

.btnRow {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.cols {
  display: block;
}

.cols .col {
  width: 50%;
  float: left;
  padding-right: 10px;
}

.cols .col:last-child {
  padding-right: 0;
  padding-left: 10px;
}

.cardface {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 12px;
}

.pProfile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pAvatar {
  width: 200px;
  height: 200px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  flex: 0 0 auto;
}

.pLeft {
  width: 200px;
  flex: 0 0 auto;
}

.pOvr {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  text-align: center;
}

.pOvrLab {
  color: var(--mutedFg);
  font-size: 11px;
  text-transform: uppercase;
}

.pOvrVal {
  margin-top: 6px;
  font-weight: 900;
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
}

.pInfo {
  flex: 1;
  min-width: 0;
}

.pFullName {
  font-weight: 900;
  font-size: 16px;
}

.pSub {
  margin-top: 6px;
  color: var(--mutedFg);
}

.pRows {
  margin-top: 10px;
}

.pRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pRow:last-child {
  border-bottom: none;
}

.pRow .k {
  color: var(--mutedFg);
  font-size: 13px;
  text-transform: uppercase;
  flex: 1;
}

.pRow .v {
  flex: 0 0 auto;
  text-align: right;
}

.pStatsTitle {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--mutedFg);
}

.pStatsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.awardRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.awardTrophy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.awardImg {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.awardLab {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  color: #fde68a;
}

.awardChip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 2px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.pStat {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.pStat .lab {
  color: var(--mutedFg);
  font-size: 11px;
  text-transform: uppercase;
}

.pStat .val {
  margin-top: 6px;
  font-weight: 900;
  font-size: 18px;
}

.cardface > .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cardface > .top .nm {
  font-weight: 900;
  font-size: 16px;
}

.cardface > .top .tag {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.32);
}

.siteFooter {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.34);
}

.siteFooterInner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.siteFooterInfo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.siteFooterTitle {
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.siteFooterText {
  color: var(--mutedFg);
  max-width: 760px;
}

.siteFooterLinks {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.siteFooterBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
}

.siteFooterBtn:hover {
  background: rgba(239, 68, 68, 0.16);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 960px) {
  .screenApp {
    width: 100%;
    max-width: 100%;
  }
  .appGrid {
    display: block;
  }
  .appMainShell,
  .chatPane {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .appMainShell {
    flex-direction: column;
  }
  .bioPane {
    width: auto;
    position: static;
  }
  .chatPane {
    position: static;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .chatCard {
    min-height: 0;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
  }
  .chatMessages {
    height: 420px;
    min-height: 420px;
  }
  .homeGrid {
    flex-direction: column;
  }
  .homeLeft {
    width: auto;
  }
  .matchBody {
    flex-direction: column;
  }
  .actionsCol {
    width: auto;
  }
  .teamList {
    justify-content: center;
  }
  .teamList .pCard {
    flex: 1 1 220px;
  }
  .cols .col {
    float: none;
    width: auto;
    padding: 0;
  }
  .cols .col:last-child {
    padding: 0;
  }
  .stashWrap {
    flex-direction: column;
  }
  .stashGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .siteFooterInner {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .topbarCenter {
    display: none;
  }
}

@media (max-width: 720px) {
  .calgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calhead {
    display: none;
  }
}
