/* HoiNhom.com theme: "dead hour" — night teal-black, toxic green, blood red, bone.
   Applies to the home page only (.menu-screen:not(.overlay)); the in-game pause menu keeps the CS look. */
:root {
  --hn-bg: #07100d; --hn-card: rgba(10, 22, 17, .72); --hn-line: rgba(124, 255, 79, .28);
  --hn-green: #8dff5a; --hn-green-2: #3fbf2a; --hn-red: #e5453a; --hn-bone: #ece6d6; --hn-dim: #9db3a4;
}

.menu-screen:not(.overlay) {
  background:
    radial-gradient(ellipse 60% 50% at 82% 8%, rgba(229, 69, 58, .30), transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(63, 191, 42, .16), transparent 65%),
    linear-gradient(180deg, #0a1511 0%, #060b09 100%);
  color: var(--hn-bone); font-family: "Segoe UI", Tahoma, Arial, sans-serif; overflow: hidden;
}

/* ---- atmosphere ---- */
.hn-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.menu-screen.overlay .hn-bg { display: none; }
.hn-bg .moon { position: absolute; right: 9%; top: 7%; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #ff7d6e, #c92a22 58%, #6a0f0c); box-shadow: 0 0 80px 30px rgba(229, 69, 58, .35); opacity: .9; animation: hn-moon 7s ease-in-out infinite; }
@keyframes hn-moon { 50% { box-shadow: 0 0 110px 44px rgba(229, 69, 58, .5); } }
.hn-bg .fog { position: absolute; left: -30%; width: 160%; height: 36%; background: radial-gradient(ellipse at center, rgba(160, 220, 170, .10), transparent 70%); filter: blur(18px); }
.hn-bg .fog.f1 { bottom: 14%; animation: hn-fog 38s linear infinite; }
.hn-bg .fog.f2 { bottom: 2%; animation: hn-fog 56s linear infinite reverse; opacity: .8; }
@keyframes hn-fog { from { transform: translateX(-10%); } to { transform: translateX(10%); } }
.hn-bg .stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 12% 18%, #cfe 50%, transparent), radial-gradient(1px 1px at 33% 9%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 58% 21%, #cfe 50%, transparent), radial-gradient(1px 1px at 71% 12%, #fff 50%, transparent), radial-gradient(1px 1px at 90% 30%, #cfe 50%, transparent), radial-gradient(1px 1px at 22% 36%, #fff 50%, transparent); opacity: .7; }
.hn-bg .horde { position: absolute; right: 0; bottom: 150px; width: min(62vw, 880px); height: auto; opacity: .95; }
.hn-bg .horde use { transform-box: fill-box; transform-origin: 50% 100%; animation: hn-sway 3.4s ease-in-out infinite; }
.hn-bg .horde use:nth-child(2n) { animation-duration: 4.1s; animation-delay: -1.2s; }
.hn-bg .horde use:nth-child(3n) { animation-duration: 2.9s; animation-delay: -2s; }
@keyframes hn-sway { 0%, 100% { transform: rotate(-1.6deg) translateX(0); } 50% { transform: rotate(1.6deg) translateX(5px); } }

.menu-screen:not(.overlay) > .logo, .menu-screen:not(.overlay) > .main-buttons, .menu-screen:not(.overlay) > .hn-sub, .menu-screen:not(.overlay) > .home-rotate { position: relative; z-index: 1; }
.menu-screen:not(.overlay) > #hn-side, .menu-screen:not(.overlay) > #home-maps, .menu-screen:not(.overlay) > .lang-switch { z-index: 2; }
.menu-screen:not(.overlay) { padding-left: 6%; }

/* ---- logo ---- */
.menu-screen:not(.overlay) .hn-logo { font: 900 78px/0.95 Impact, "Arial Narrow Bold", "Arial Black", sans-serif; letter-spacing: 3px; margin-bottom: 14px; text-shadow: none; }
.hn-logo .hn-a { color: var(--hn-bone); text-shadow: 0 3px 0 #000; }
.hn-logo .hn-b { color: var(--hn-green); margin-left: 12px; text-shadow: 0 3px 0 #000, 0 0 26px rgba(141, 255, 90, .55); animation: hn-flicker 6s infinite; }
.hn-logo i { font: 700 22px "Segoe UI", Tahoma, sans-serif; color: var(--hn-red); margin-left: 6px; letter-spacing: 1px; text-shadow: 0 0 12px rgba(229, 69, 58, .6); }
.hn-logo small { display: block; margin-top: 12px; max-width: 540px; font: 600 15px/1.45 "Segoe UI", Tahoma, sans-serif; letter-spacing: .5px; color: var(--hn-dim); }
@keyframes hn-flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .55; } 95% { opacity: 1; } 97% { opacity: .7; } }

/* ---- buttons ---- */
.menu-screen:not(.overlay) .main-buttons { width: min(430px, 92vw); display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.menu-screen:not(.overlay) .main-buttons button { font: 600 15px "Segoe UI", Tahoma, sans-serif; color: var(--hn-bone); border: 1px solid var(--hn-line); border-radius: 12px; background: var(--hn-card); backdrop-filter: blur(6px); padding: 10px 14px; transition: transform .12s, border-color .12s, background .12s; }
.menu-screen:not(.overlay) .main-buttons button:hover { background: rgba(141, 255, 90, .14); border-color: var(--hn-green); transform: translateY(-2px); color: #fff; }
.menu-screen:not(.overlay) .main-buttons .play-now { flex: 1 0 100%; position: relative; border: none; color: #08200a; text-align: center; font: 900 26px/1 Impact, "Arial Narrow Bold", sans-serif; letter-spacing: 3px; padding: 18px 20px;
  background: linear-gradient(180deg, #b6ff7c, #4fd433); box-shadow: 0 0 0 0 rgba(141, 255, 90, .6), 0 8px 28px rgba(63, 191, 42, .35); animation: hn-pulse 2.2s infinite; text-transform: uppercase; }
.menu-screen:not(.overlay) .main-buttons .play-now::before { content: '\2620\00a0\00a0'; }
.menu-screen:not(.overlay) .main-buttons .play-now:hover { background: linear-gradient(180deg, #d0ff9f, #66e84a); color: #000; transform: translateY(-2px) scale(1.01); }
@keyframes hn-pulse { 70% { box-shadow: 0 0 0 16px rgba(141, 255, 90, 0), 0 8px 28px rgba(63, 191, 42, .35); } 100% { box-shadow: 0 0 0 0 rgba(141, 255, 90, 0), 0 8px 28px rgba(63, 191, 42, .35); } }
.menu-screen:not(.overlay) .main-buttons .squad { flex: 1 1 calc(50% - 5px); text-align: center; border-color: rgba(236, 230, 214, .35); font-weight: 700; }
.menu-screen:not(.overlay) .main-buttons .squad::before { content: '\1F465\00a0'; }
.menu-screen:not(.overlay) .main-buttons .chip { flex: 0 0 auto; padding: 6px 12px; font-size: 12px; border-radius: 999px; color: var(--hn-dim); }
.menu-screen:not(.overlay) .main-buttons button.hidden { display: none; }
.menu-screen:not(.overlay) .hn-sub { color: var(--hn-dim); font-size: 12px; max-width: 430px; }

/* ---- side card: squad identity, join by code, live squads ---- */
#hn-side { position: absolute; right: 24px; top: 70px; width: 340px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - var(--strip) - 100px); overflow: auto; }
.menu-screen.overlay #hn-side { display: none; }
.hn-card { background: var(--hn-card); border: 1px solid var(--hn-line); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(8px); }
.hn-card h3 { margin: 0 0 8px; font: 800 13px "Segoe UI", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hn-green); }
#hn-emblems { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
#hn-emblems button { color: var(--hn-bone); width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--hn-line); background: rgba(0, 0, 0, .3); font-size: 18px; padding: 0; text-align: center; cursor: pointer; }
#hn-emblems button.on { border-color: var(--hn-green); background: rgba(141, 255, 90, .18); box-shadow: 0 0 10px rgba(141, 255, 90, .3); }
.hn-card input { width: 100%; box-sizing: border-box; background: rgba(0, 0, 0, .35); border: 1px solid var(--hn-line); border-radius: 9px; color: var(--hn-bone); padding: 8px 10px; font: 600 14px "Segoe UI", sans-serif; }
.hn-card input:focus { outline: none; border-color: var(--hn-green); }
.hn-row { display: flex; gap: 8px; margin-top: 8px; }
.hn-row button { border: 1px solid var(--hn-green-2); background: rgba(63, 191, 42, .22); color: var(--hn-bone); border-radius: 9px; padding: 8px 14px; font: 700 13px "Segoe UI", sans-serif; cursor: pointer; }
.hn-row button:hover { background: rgba(63, 191, 42, .45); }
#hn-code { text-transform: uppercase; letter-spacing: 3px; }
.menu-screen:not(.overlay) #home-live { position: static; width: auto; max-height: none; background: var(--hn-card); border: 1px solid var(--hn-line); border-radius: 14px; backdrop-filter: blur(8px); padding: 14px 16px; }
.menu-screen:not(.overlay) #home-live h3 { font: 800 13px "Segoe UI", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hn-green); }
.menu-screen:not(.overlay) #home-live .msg { color: var(--hn-dim); }

/* ---- journey strip ---- */
.menu-screen:not(.overlay) #home-maps { background: linear-gradient(0deg, rgba(3, 8, 6, .92) 0%, rgba(3, 8, 6, .55) 70%, transparent 100%); }
.menu-screen:not(.overlay) #home-maps h3 { font: 800 13px "Segoe UI", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hn-green); }
.menu-screen:not(.overlay) .map-card { background: rgba(10, 22, 17, .8); border: 1px solid var(--hn-line); border-radius: 12px; }
.menu-screen:not(.overlay) .map-card .mc-name { color: var(--hn-bone); }
.menu-screen:not(.overlay) .map-card.lvl.current { border-color: var(--hn-green); box-shadow: 0 0 18px rgba(141, 255, 90, .4); }
.menu-screen:not(.overlay) .map-card.lvl.current .mc-status { color: var(--hn-green); }
.menu-screen:not(.overlay) .map-card.lvl:not(.locked):not(.current) .mc-status { color: #6fcf60; }
.menu-screen:not(.overlay) .map-card.lvl .mc-type { color: var(--hn-red); }
.menu-screen:not(.overlay) .map-card:hover { border-color: var(--hn-green); }
.menu-screen:not(.overlay) .map-card .stars { color: #ffd34a; padding: 0 8px; font-size: 12px; letter-spacing: 2px; }
.menu-screen:not(.overlay) .lang-switch select { background: var(--hn-card); border-color: var(--hn-line); color: var(--hn-bone); border-radius: 999px; }

/* ---- invite dialog ---- */
#menu-invite { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, 94vw); background: rgba(8, 18, 14, .96); border: 1px solid var(--hn-line); border-radius: 16px; color: var(--hn-bone); }
#menu-invite h2 { color: var(--hn-green); }
#invite-code { font: 900 38px Impact, sans-serif; letter-spacing: 8px; text-align: center; color: var(--hn-bone); margin: 4px 0 10px; }
#invite-link { width: 100%; box-sizing: border-box; background: rgba(0, 0, 0, .4); border: 1px solid var(--hn-line); border-radius: 9px; color: var(--hn-bone); padding: 8px 10px; font: 13px Consolas, monospace; }
#menu-invite .row { flex-wrap: wrap; justify-content: stretch; }
#menu-invite .row button { flex: 1 1 30%; border-radius: 9px; text-align: center; }

/* ---- home page layout polish: sidebar order (what people come back for first), emblem grid, "More" menu, phone header ---- */
#hn-side > * { flex-shrink: 0; }   /* when the column is too tall it scrolls; cards must not squash */
#hn-myrooms { order: 1; } #hn-joincode { order: 2; } #home-live { order: 3; } #hn-daily { order: 4; } #hn-board { order: 5; } #hn-squad { order: 6; }
#hn-emblems, .sq-emblems { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
#hn-emblems button, .sq-emblems button { width: 100%; height: 34px; font-size: 17px; }
@media (max-width: 600px) {
  body .menu-screen:not(.overlay) { padding-top: 56px; }   /* room for the language switch above the logo ("body" beats the 900px rule further down) */
  body .menu-screen:not(.overlay) .lang-switch { top: 10px; right: 12px; }
  body .menu-screen:not(.overlay) .lang-switch select { padding: 5px 10px; font-size: 13px; }
  body .menu-screen:not(.overlay) .hn-logo { font-size: 46px; }
  .menu-screen:not(.overlay) .main-buttons .chip { flex: 1 1 0; text-align: center; padding: 9px 6px; }   /* Statistics / Options / Controls share one row */
}

/* ---- "Find a squad" window: squad cards ---- */
#menu-servers { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(640px, 94vw); max-height: 88vh; overflow: auto; box-sizing: border-box; background: rgba(8, 18, 14, .96); border: 1px solid var(--hn-line); border-radius: 16px; color: var(--hn-bone); }
#menu-servers h2 { color: var(--hn-green); }
.sf-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.sf-bar button { border-radius: 9px; text-align: center; }
.sf-open { margin-left: auto; font-size: 13px; color: var(--hn-dim); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.squad-cards { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow: auto; padding-right: 2px; }
.sq-card { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--hn-line); border-radius: 12px; background: rgba(0, 0, 0, .28); }
.sq-card:hover { border-color: var(--hn-green); }
.sq-card.full { opacity: .55; }
.sq-card img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; background: #0a120e; }
.sq-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sq-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.sq-info small { color: var(--hn-dim); }
.sq-info .seats { font-size: 12px; color: var(--hn-green); letter-spacing: 1px; }
.sq-info .seats em { font-style: normal; letter-spacing: 0; color: var(--hn-bone); }
.sq-card > button { flex: none; min-width: 72px; text-align: center; border-radius: 9px; font-weight: 800; }
.sf-empty { padding: 22px 14px; text-align: center; color: var(--hn-dim); border: 1px dashed var(--hn-line); border-radius: 12px; }
.sf-empty p { margin: 0 0 12px; line-height: 1.5; }
.sf-empty .row { justify-content: center; flex-wrap: wrap; }
.sf-adv { margin-top: 12px; font-size: 13px; }
.sf-adv summary { cursor: pointer; color: var(--hn-dim); }
.sf-adv #server-list { margin: 8px 0; }
@media (max-width: 520px) { .sq-card img { width: 64px; height: 44px; } .sf-open { margin-left: 0; width: 100%; } }

/* ---- top squads tabs (All time / This week) ---- */
.hn-tabs { display: flex; gap: 6px; margin: 0 0 8px; }
.hn-tabs button { flex: 1; text-align: center; padding: 5px 8px; font: 700 12px "Segoe UI", sans-serif; border: 1px solid var(--hn-line); border-radius: 8px; background: transparent; color: var(--hn-dim); cursor: pointer; }
.hn-tabs button.on { border-color: var(--hn-green); color: var(--hn-bone); background: rgba(141, 255, 90, .14); }

/* ---- create-squad dialog and "my squads" ---- */
#menu-squad { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, 94vw); background: rgba(8, 18, 14, .96); border: 1px solid var(--hn-line); border-radius: 16px; color: var(--hn-bone); }
#menu-squad h2 { color: var(--hn-green); }
#menu-squad label { display: block; }
#menu-squad input[type=text], #sq-name { width: 100%; box-sizing: border-box; margin-top: 4px; background: rgba(0, 0, 0, .4); border: 1px solid var(--hn-line); border-radius: 9px; color: var(--hn-bone); padding: 9px 10px; font: 600 15px "Segoe UI", sans-serif; }
.sq-emblems { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.sq-emblems button { width: 38px; height: 38px; padding: 0; text-align: center; font-size: 19px; border-radius: 10px; border: 1px solid var(--hn-line); background: rgba(0, 0, 0, .3); }
.sq-emblems button.on { border-color: var(--hn-green); background: rgba(141, 255, 90, .18); box-shadow: 0 0 10px rgba(141, 255, 90, .3); }
.sq-label { margin: 10px 0 6px; font-weight: 700; }
.sq-slots { display: flex; gap: 8px; }
.sq-slots button { flex: 1; text-align: center; font-size: 18px; padding: 10px 0; border-radius: 10px; border: 1px solid var(--hn-line); background: rgba(0, 0, 0, .3); }
.sq-slots button.on { border-color: var(--hn-green); background: rgba(141, 255, 90, .2); color: #fff; }
.sq-check { margin: 12px 0 2px; font-size: 13px; color: var(--hn-dim); }
.sq-check input { width: auto; margin-right: 6px; }
#menu-squad .row { flex-wrap: wrap; justify-content: stretch; }
#menu-squad .row button, #invite-enter { flex: 1 1 auto; text-align: center; border-radius: 9px; }
button.primary { background: rgba(63, 191, 42, .35); border-color: var(--hn-green); color: #fff; }
#hn-myrooms .live-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(124, 255, 79, .12); }
#hn-myrooms .live-row:first-child { border-top: 0; }
#hn-myrooms .live-row > div { flex: 1; min-width: 0; }
#hn-myrooms .live-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#hn-myrooms .live-row small { color: var(--hn-dim); }
#hn-myrooms .live-row.closed { opacity: .55; }
#hn-myrooms .live-row button { border: 1px solid var(--hn-green-2); background: rgba(63, 191, 42, .22); color: var(--hn-bone); border-radius: 9px; padding: 6px 10px; font: 700 13px "Segoe UI", sans-serif; cursor: pointer; }
#hn-myrooms .live-row button.del { border-color: var(--hn-line); background: transparent; padding: 6px 8px; }

@media (max-width: 900px) {
  .hn-bg .horde { width: 120vw; bottom: auto; top: 30%; opacity: .35; }
  .hn-bg .moon { width: 90px; height: 90px; }
  .menu-screen:not(.overlay) { padding-left: 16px; padding-right: 16px; overflow-y: auto; justify-content: flex-start; padding-top: 18px; }
  #hn-side { position: static; width: auto; max-height: none; margin-top: 14px; }
  .menu-screen:not(.overlay) .hn-logo { font-size: 52px; }
}
@media (max-height: 800px) and (min-width: 901px) {
  .menu-screen:not(.overlay) .hn-logo { font-size: 58px; margin-bottom: 8px; }
  .menu-screen:not(.overlay) .hn-logo small { font-size: 13px; margin-top: 6px; }
  .menu-screen:not(.overlay) .main-buttons { gap: 7px; }
  .menu-screen:not(.overlay) .main-buttons .play-now { font-size: 22px; padding: 13px 16px; }
  .menu-screen:not(.overlay) .main-buttons button { padding: 8px 12px; }
  .menu-screen:not(.overlay) .main-buttons .chip { padding: 5px 10px; }
  .menu-screen:not(.overlay) .hn-sub { display: none; }
  .hn-bg .horde { bottom: 120px; }
}

/* ---- in-game squad lobby ---- */
#hn-lobby { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); width: min(420px, 90vw); background: rgba(8, 18, 14, .86); border: 1px solid rgba(124, 255, 79, .35); border-radius: 14px; padding: 14px 18px; color: #ece6d6; font: 14px "Segoe UI", Tahoma, sans-serif; text-align: center; pointer-events: none; }
#hn-lobby h3 { margin: 0 0 8px; color: #8dff5a; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
#hn-lobby .lb-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
#hn-lobby .lb-row em { font-style: normal; color: #999; } #hn-lobby .lb-row.ok em { color: #8dff5a; font-weight: bold; }
#hn-lobby .hn-lobby-hint { margin-top: 10px; color: #9db3a4; font-size: 12px; }

/* ---- daily challenge card, endless card ---- */
#hn-daily { display: block; width: 100%; text-align: left; cursor: pointer; color: var(--hn-bone); border-color: rgba(229, 69, 58, .55); background: linear-gradient(135deg, rgba(229, 69, 58, .22), rgba(10, 22, 17, .75)); }
#hn-daily b { display: block; font: 800 14px "Segoe UI", sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #ff8a70; }
#hn-daily small { display: block; margin-top: 4px; color: var(--hn-dim); font-size: 12px; }
#hn-daily:hover { border-color: #ff8a70; }
#hn-daily.done { opacity: .6; }
.menu-screen:not(.overlay) .map-card.endless { background: radial-gradient(circle at 30% 20%, rgba(141, 255, 90, .18), rgba(10, 22, 17, .85)); justify-content: center; }
.menu-screen:not(.overlay) .map-card.endless .mc-name { font-size: 20px; color: var(--hn-green); padding-top: 28px; }

/* ---- leaderboard ---- */
#hn-board .lb-line { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 13px; }
#hn-board .lb-line span { color: var(--hn-green); width: 18px; font-weight: 800; }
#hn-board .lb-line b { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#hn-board .lb-line em { font-style: normal; color: var(--hn-dim); font-size: 12px; white-space: nowrap; }

/* ---- whole-game palette: toxic green instead of CS amber (HUD, dialogs, scoreboard, pause menu) ---- */
:root {
  --hud: rgba(160, 255, 110, 0.9); --hud-dim: rgba(160, 255, 110, 0.45); --hud-red: rgba(255, 70, 55, 0.95);
  --vgui-bg: rgba(6, 14, 11, 0.84); --vgui-border: #4fa83a; --vgui-text: #9bf06a;
}
* { scrollbar-color: rgba(124, 255, 79, .5) transparent; }
.vgui { border-radius: 12px; backdrop-filter: blur(6px); }
.vgui button:hover, .main-buttons button:hover { background: rgba(79, 168, 58, .35); }

/* ---- Tab scoreboard: fits small screens; co-op shows one squad table up top instead of two CS teams ---- */
#scoreboard { width: min(720px, 94vw); max-height: 86vh; overflow: auto; box-sizing: border-box; }
#sb-coop { display: none; }
#scoreboard.coop { top: 14%; transform: translateX(-50%); width: min(560px, 94vw); background: rgba(6, 14, 11, 0.72); }
#scoreboard.coop #sb-coop { display: block; color: var(--hud); font-weight: bold; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--vgui-border); }
#scoreboard.coop .sb-team.ct, #scoreboard.coop .sb-team.t .sb-head { display: none; }
#scoreboard.coop .sb-team.t td { color: #b9f27c; }
#scoreboard.coop .sb-team tr.dead td { color: #ff7a6a; opacity: .8; }
#scoreboard.coop .sb-team tr.h td { color: var(--hud-dim) !important; }
@media (max-width: 600px) { #scoreboard .sb-team td { padding: 2px 3px; font-size: 12px; } #scoreboard.coop { top: 8%; } }

/* ---- SEO text: readable by crawlers and screen readers, not painted over the game; footer links to the guide pages ---- */
.seo-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.version a { color: var(--hn-dim); text-decoration: none; margin-right: 12px; }
.version a:hover { color: var(--hn-green); text-decoration: underline; }