:root {
  --bg: #070604;
  --panel: #151009;
  --panel2: #23180a;
  --text: #f7efd9;
  --muted: #bba97d;
  --gold: #d7a935;
  --gold2: #ffd66b;
  --line: #4c3716;
  --danger: #e35d49;
  --ok: #61d58b;
}
* {
  box-sizing: border-box;
}
html,body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at 20% 0%,#2b1b07 0,#090705 44%,#020202 100%);
  color: var(--text);
  font-family: Inter,ui-sans-serif,system-ui,Segoe UI,Arial,sans-serif;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg,rgba(215,169,53,.1),transparent 35%,rgba(255,255,255,.025)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M0 48h96M48 0v96' stroke='%23d7a935' stroke-opacity='.055'/%3E%3Ccircle cx='48' cy='48' r='30' fill='none' stroke='%23d7a935' stroke-opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
}
button,input,select {
  font: inherit;
}
button,select,input {
  border: 1px solid var(--line);
  background: #100b06;
  color: var(--text);
  border-radius: 15px;
  padding: 12px 14px;
}
button {
  cursor: pointer;
  transition: .18s transform,.18s border,.18s background,.18s box-shadow;
}
button:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(215,169,53,.13);
}
button:disabled {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.gold {
  background: linear-gradient(135deg,#ffe07a,#bf8425 55%,#845310);
  color: #1a1003;
  font-weight: 950;
  border: 0;
  box-shadow: 0 10px 36px rgba(215,169,53,.22);
}
.secondary {
  background: #211707;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(14px,3vw,34px);
  background: rgba(7,6,4,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(215,169,53,.22);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--gold2),#6d4710);
  color: #160e04;
  font-weight: 950;
  box-shadow: 0 0 34px rgba(215,169,53,.25);
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
nav button,.userbox button,.board button {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}
.userbox {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.shell {
  padding: clamp(12px,3vw,34px);
  max-width: 1540px;
  margin: 0 auto;
}
.card {
  background: linear-gradient(180deg,rgba(35,24,10,.94),rgba(11,9,6,.97));
  border: 1px solid rgba(215,169,53,.25);
  border-radius: 30px;
  box-shadow: 0 20px 80px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.05);
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 24px;
  padding: clamp(22px,4vw,52px);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
  min-height: 310px;
}
.hero:after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(215,169,53,.3);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(215,169,53,.04),0 0 0 76px rgba(215,169,53,.025);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold2);
  font-size: 12px;
  font-weight: 950;
  margin: .2rem 0;
}
h1 {
  font-size: clamp(36px,6.4vw,86px);
  line-height: .9;
  margin: .1em 0 .2em;
  font-weight: 1000;
  letter-spacing: -.065em;
  max-width: 900px;
}
h2 {
  font-size: clamp(22px,3vw,38px);
  line-height: 1;
  margin: 0 0 14px;
}
h3 {
  font-size: clamp(17px,2vw,22px);
}
p {
  color: var(--muted);
  line-height: 1.55;
}
.auth {
  display: grid;
  gap: 10px;
  align-content: center;
  z-index: 1;
}
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.grid {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 22px;
  align-items: start;
}
.controls {
  padding: 23px;
  position: sticky;
  top: 92px;
}
.controls label {
  display: block;
  color: var(--gold2);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 16px 0 7px;
}
.controls select,.controls button {
  width: 100%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 18px 0;
}
.stats div {
  padding: 14px;
  border-radius: 19px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(215,169,53,.16);
  text-align: center;
}
.stats b {
  display: block;
  font-size: 28px;
  color: var(--gold2);
}
.stats span {
  color: var(--muted);
  font-size: 12px;
}
.hint,.msg {
  font-size: 13px;
}
.arena {
  min-height: 620px;
  padding: clamp(16px,3vw,30px);
}
.arenaHead {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
#checkBtn {
  background: linear-gradient(135deg,#ffe07a,#a66e18);
  color: #1d1304;
  font-weight: 950;
  min-width: 136px;
  border: 0;
}
.empty {
  display: grid;
  place-items: center;
  min-height: 380px;
  border: 1px dashed rgba(215,169,53,.25);
  border-radius: 25px;
  color: var(--muted);
}
.list {
  display: grid;
  gap: 13px;
}
.eventCard {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 23px;
  background: linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
  border: 1px solid rgba(215,169,53,.22);
  box-shadow: 0 13px 30px rgba(0,0,0,.2);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.eventCard.dragging {
  opacity: .55;
  transform: scale(.99);
}
.handle {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(215,169,53,.13);
  color: var(--gold2);
  font-weight: 950;
}
.eventCard h3 {
  margin: 0 0 5px;
}
.eventCard p {
  margin: 0;
}
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #1b1204;
  background: var(--gold2);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pill {
  border: 1px solid rgba(215,169,53,.2);
  background: rgba(0,0,0,.18);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}
.result {
  margin-top: 18px;
  font-weight: 800;
}
.result.ok {
  color: var(--ok);
}
.result.bad {
  color: var(--danger);
}
.reveal {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.reveal div {
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.24);
  color: var(--muted);
  font-weight: 500;
}
.board {
  margin-top: 22px;
  padding: 23px;
}
#leaderboard table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
#leaderboard td,#leaderboard th {
  padding: 11px;
  border-bottom: 1px solid rgba(215,169,53,.13);
  text-align: left;
}
.timelineWrap {
  position: relative;
  min-height: 540px;
  padding: 28px 10px;
}
.timelineLine {
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(var(--gold),rgba(215,169,53,.1));
}
.dropSlot {
  position: relative;
  margin: 18px auto;
  width: min(760px,94%);
  min-height: 98px;
  border: 1px dashed rgba(215,169,53,.33);
  border-radius: 25px;
  background: rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  padding: 12px;
  cursor: pointer;
}
.dropSlot:before {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid rgba(215,169,53,.2);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--gold2);
  font-size: 12px;
}
.timelineBank {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(215,169,53,.16);
}
.timelineBank .eventCard {
  grid-template-columns: auto 1fr;
  min-width: min(340px,100%);
  cursor: pointer;
}
.eventCard.selected {
  outline: 3px solid rgba(255,214,107,.95);
  box-shadow: 0 0 0 7px rgba(255,214,107,.14),0 16px 44px rgba(0,0,0,.35);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9999;
  transform: translate(-50%,20px);
  opacity: 0;
  max-width: min(720px,calc(100vw - 28px));
  padding: 13px 16px;
  border-radius: 16px;
  background: #151009;
  border: 1px solid rgba(215,169,53,.35);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transition: .22s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}
.toast.ok {
  border-color: rgba(97,213,139,.55);
}
.toast.bad {
  border-color: rgba(227,93,73,.65);
}
small {
  color: var(--muted);
}
.conditionalOptions {
  display: none;
}
.timelineHorizontal {
  position: relative;
  width: 100%;
  min-height: 540px;
  padding: 28px clamp(70px,7vw,130px) 20px !important;
  overflow-x: auto;
  overflow-y: visible;
  padding-left: clamp(34px,7vw,110px) !important;
  padding-right: clamp(34px,7vw,110px) !important;
}
.timelineAxis {
  position: relative;
  min-width: max(860px,100%);
  height: 78px;
  margin: 8px 0 18px;
}
.timelineAxis:before {
  content: "";
  position: absolute;
  left: 7% !important;
  right: 7% !important;
  top: 34px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg,rgba(215,169,53,.25),var(--gold2),rgba(215,169,53,.25));
  box-shadow: 0 0 28px rgba(215,169,53,.22);
}
.timelineTick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
  max-width: 170px;
}
.timelineTick:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 27px;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold2);
  box-shadow: 0 0 0 6px rgba(255,214,107,.12),0 0 24px rgba(255,214,107,.25);
}
.timelineTick span {
  display: block;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(215,169,53,.28);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
.timelineSlots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px,1fr);
  gap: 14px;
  min-width: max(860px,100%);
  align-items: stretch;
}
.timelineSlotWrap {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 9px;
  min-width: 0;
}
.timelineDate {
  text-align: center;
  color: var(--gold2);
  font-weight: 950;
  letter-spacing: .04em;
  font-size: 13px;
}
.timelineHorizontal .dropSlot {
  width: 100%;
  min-height: 220px;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 10px;
  border-radius: 24px;
}
.timelineHorizontal .dropSlot:before {
  top: auto;
  bottom: 8px;
  opacity: .8;
}
.timelineHorizontal .dropSlot .eventCard {
  width: 100%;
  grid-template-columns: auto 1fr;
  align-self: stretch;
}
.timelineHorizontal .timelineBank {
  min-width: max(860px,100%);
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 14px;
}
.arenaActions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.arenaActions #fullscreenBtn {
  min-width: 130px;
  display: none!important;
}
.fullscreenHud {
  display: none;
  position: fixed;
  top: max(12px,env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(7,6,4,.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(215,169,53,.28);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
}
.fullscreenHud div {
  min-width: 86px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.fullscreenHud b {
  display: block;
  color: var(--gold2);
  font-size: 20px;
  line-height: 1;
}
.fullscreenHud span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
:fullscreen .fullscreenHud {
  display: flex;
}
:-webkit-full-screen .fullscreenHud {
  display: flex;
}
.timelineAxis,.timelineSlots,.timelineHorizontal .timelineBank {
  min-width: max(820px, calc(100% - 0px)) !important;
}
.timelineTick:first-child {
  transform: translateX(-18%);
}
.timelineTick:last-child {
  transform: translateX(-82%);
}
.timelineTick:first-child span,.timelineTick:last-child span {
  white-space: nowrap;
}
.dropSlot.slotCorrect {
  border-color: rgba(97,213,139,.9) !important;
  box-shadow: 0 0 0 4px rgba(97,213,139,.13),0 18px 42px rgba(0,0,0,.24);
}
.dropSlot.slotWrong {
  border-color: rgba(227,93,73,.95) !important;
  box-shadow: 0 0 0 4px rgba(227,93,73,.15),0 18px 42px rgba(0,0,0,.24);
}
.slotFlag {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: var(--text);
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 950;
}
.slotCorrect .slotFlag {
  color: var(--ok);
}
.slotWrong .slotFlag {
  color: var(--danger);
}
.timelineSolution {
  min-width: 720px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(215,169,53,.18);
}
.timelineSolution h3 {
  margin: 0 0 10px;
  color: var(--gold2);
}
.timelineSolution div {
  padding: 9px 0;
  border-bottom: 1px solid rgba(215,169,53,.12);
  color: var(--muted);
}
.eventCard[draggable="true"] {
  user-select: none;
}
:fullscreen .topbar, :-webkit-full-screen .topbar {
  display: none !important;
}
:fullscreen .shell, :-webkit-full-screen .shell {
  padding-top: 18px;
  padding-bottom: 120px;
  max-width: 1800px;
}
:fullscreen .fullscreenHud, :-webkit-full-screen .fullscreenHud {
  top: auto !important;
  bottom: max(22px,env(safe-area-inset-bottom)) !important;
  display: flex;
  transform: translateX(-50%) scale(1.08);
  padding: 12px;
  border-radius: 30px;
}
:fullscreen .fullscreenHud div, :-webkit-full-screen .fullscreenHud div {
  min-width: 140px;
  padding: 13px 22px;
}
:fullscreen .fullscreenHud b, :-webkit-full-screen .fullscreenHud b {
  font-size: 34px;
}
:fullscreen .fullscreenHud span, :-webkit-full-screen .fullscreenHud span {
  font-size: 13px;
}
.topRight {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.fxToggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(215,169,53,.25);
  background: rgba(255,255,255,.045);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  user-select: none;
}
.fxToggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold2);
  padding: 0;
}
.dangerBtn {
  border-color: rgba(227,93,73,.5)!important;
  color: #ffd0c8!important;
}
body.gameActive .hero, body.gameActive .controls, body.gameActive .board {
  display: none !important;
}
body.gameActive .grid {
  display: block !important;
  flex: 1;
  min-height: 0;
}
body.gameActive .arena {
  width: 100% !important;
  max-width: none !important;
  min-height: calc(100vh - 110px) !important;
  display: flex;
  flex-direction: column;
  padding: clamp(12px,2vw,28px);
}
body.gameActive #gameArea, body.gameActive .arenaHead {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
body.gameActive .arenaHead {
  margin-bottom: 20px;
  flex: 0 0 auto;
}
body.gameActive .shell {
  max-width: 1800px;
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  padding-top: clamp(8px,1.2vh,18px);
  padding-bottom: clamp(10px,1.5vh,22px);
}
body.gameActive #navClassic, body.gameActive #navTimeline {
  display: none !important;
}
.confettiBurst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10001;
  overflow: hidden;
}
.confettiBurst i {
  position: absolute;
  width: 9px;
  height: 15px;
  border-radius: 3px;
  animation: confettiFly .85s ease-out forwards;
  transform: translate(-50%,-50%);
}
.screenPulse {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  animation: pulseFade .5s ease-out forwards;
}
.screenPulse.ok {
  background: radial-gradient(circle,rgba(255,214,107,.18),transparent 55%);
}
.screenPulse.bad {
  background: radial-gradient(circle,rgba(227,93,73,.22),transparent 55%);
}
body.gameActive .topRight {
  display: flex!important;
}
body.gameActive .fxToggle {
  opacity: .95;
}
.highscoreControls {
  display: grid;
  grid-template-columns: 90px minmax(150px,220px) 60px minmax(130px,180px) 70px minmax(160px,220px) auto!important;
  gap: 10px;
  align-items: center;
  margin: 12px 0 18px;
}
.highscoreControls label {
  color: var(--gold2);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.highscoreControls button {
  width: max-content;
}
body.gameActive {
  min-height: 100vh;
  touch-action: pan-y;
  overflow-y: auto !important;
}
body.gameActive #gameArea {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.gameActive #gameArea > .list {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: stretch;
  gap: clamp(10px,1.5vh,18px);
}
body.gameActive #sortList {
  grid-template-rows: repeat(var(--round-count, 3), minmax(110px, 1fr));
}
body.gameActive #sortList .eventCard {
  min-height: clamp(104px, calc((100vh - 250px) / var(--round-count, 3)), 230px);
  height: 100%;
}
body.gameActive #sortList .eventCard h3 {
  font-size: clamp(18px,2.1vw,34px);
}
body.gameActive #sortList .eventCard p {
  font-size: clamp(14px,1.25vw,19px);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.gameActive #sortList .handle {
  width: clamp(38px,4vw,60px);
  height: clamp(38px,4vw,60px);
  font-size: clamp(18px,2vw,30px);
}
body.gameActive #sortList .badge {
  font-size: clamp(13px,1vw,16px);
  padding: clamp(7px,.8vw,11px) clamp(10px,1vw,15px);
}
body.gameActive .result {
  flex: 0 0 auto;
}
:fullscreen body.gameActive .shell, :-webkit-full-screen body.gameActive .shell, body.gameActive:fullscreen .shell, body.gameActive:-webkit-full-screen .shell {
  min-height: 100vh;
}
:fullscreen body.gameActive .arena, :-webkit-full-screen body.gameActive .arena, body.gameActive:fullscreen .arena, body.gameActive:-webkit-full-screen .arena {
  min-height: calc(100vh - 135px) !important;
}
body.gameActive:fullscreen #sortList .eventCard, body.gameActive:-webkit-full-screen #sortList .eventCard {
  min-height: clamp(120px, calc((100vh - 290px) / var(--round-count, 3)), 260px);
}
.timelineHorizontal .timelineBank .eventCard {
  min-width: 0 !important;
  width: 100%;
  grid-template-columns: auto minmax(0,1fr);
}
:fullscreen .timelineHorizontal, :-webkit-full-screen .timelineHorizontal {
  min-height: calc(100vh - 210px);
  padding-left: clamp(80px,7vw,150px) !important;
  padding-right: clamp(80px,7vw,150px) !important;
}
:fullscreen .timelineHorizontal .dropSlot, :-webkit-full-screen .timelineHorizontal .dropSlot {
  min-height: clamp(220px,34vh,430px);
}
.settingCheck {
  display: flex!important;
  align-items: center;
  gap: 9px;
  margin-top: 16px!important;
  color: var(--gold2);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.settingCheck input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold2);
}
body.hideExtraInfo .eventCard .meta, body.hideExtraInfo .eventCard .pill, body.hideExtraInfo .eventCard .badge {
  display: none!important;
}
body.hideExtraInfo .eventCard p {
  -webkit-line-clamp: 6!important;
}
.topbar nav {
  display: none!important;
}
body.gameActive .board {
  display: none!important;
}
.gameSideHud {
  display: none;
  position: fixed;
  right: max(16px,env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  gap: 12px;
  flex-direction: column;
  padding: 10px;
  border-radius: 28px;
  background: rgba(7,6,4,.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(215,169,53,.28);
  box-shadow: 0 18px 60px rgba(0,0,0,.42);
}
body.gameActive .gameSideHud {
  display: flex;
}
.gameSideHud div {
  min-width: 118px;
  text-align: center;
  padding: 15px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border: 1px solid rgba(215,169,53,.16);
}
.gameSideHud b {
  display: block;
  color: var(--gold2);
  font-size: 34px;
  line-height: 1;
  font-weight: 1000;
}
.gameSideHud span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
:fullscreen .gameSideHud, :-webkit-full-screen .gameSideHud {
  display: none!important;
}
.hint {
  max-width: 42ch;
}
.mobileMoveControls {
  display: none;
}
.tapHint {
  display: none;
  color: #1b1204;
  background: var(--gold2);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}
.higherLowerArena {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(16px,2vw,28px);
  min-height: calc(100vh - 250px);
}
.hlCards {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: clamp(10px,2vw,26px);
  align-items: stretch;
}
.hlSlot {
  min-height: clamp(320px,54vh,720px);
  display: flex;
}
.hlCard {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px,4vw,64px);
  border-radius: clamp(24px,3vw,44px);
  border: 1px solid rgba(215,169,53,.28);
  background: radial-gradient(circle at top left,rgba(255,214,107,.18),transparent 38%),
    linear-gradient(180deg,rgba(35,24,10,.98),rgba(8,7,4,.96));
  box-shadow: 0 24px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.hlCard.right {
  background: radial-gradient(circle at top right,rgba(255,214,107,.14),transparent 40%),
    linear-gradient(180deg,rgba(26,18,9,.98),rgba(8,7,4,.96));
}
.hlKicker {
  color: var(--gold2);
  font-size: clamp(12px,1vw,15px);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 950;
  margin-bottom: clamp(12px,1.5vw,24px);
}
.hlCard h3 {
  font-size: clamp(28px,4.8vw,74px);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 0 0 clamp(12px,1.5vw,24px);
}
.hlCard p {
  font-size: clamp(15px,1.45vw,24px);
  color: var(--muted);
  max-width: 58ch;
}
.hlDate {
  margin-top: auto;
  align-self: flex-start;
  padding: clamp(10px,1vw,16px) clamp(16px,1.5vw,24px);
  border-radius: 999px;
  color: #1b1204;
  background: var(--gold2);
  font-size: clamp(22px,3.4vw,56px);
  line-height: 1;
  font-weight: 1000;
  box-shadow: 0 12px 36px rgba(255,214,107,.18);
}
.hiddenDate {
  background: rgba(255,255,255,.07);
  color: var(--gold2);
  border: 1px dashed rgba(255,214,107,.35);
}
.hlVs {
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(48px,6vw,88px);
  height: clamp(48px,6vw,88px);
  border-radius: 50%;
  background: linear-gradient(135deg,#ffe07a,#9e6a17);
  color: #1b1204;
  font-weight: 1000;
  box-shadow: 0 0 42px rgba(255,214,107,.22);
}
.hlActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px,2vw,24px);
}
.hlChoice {
  min-height: clamp(62px,9vh,110px);
  font-size: clamp(24px,3vw,48px);
  font-weight: 1000;
  border-radius: clamp(18px,2vw,30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.higherLowerArena.slideSuccess .hlLeftSlot {
  animation: hlLeftOut .55s ease both;
}
.higherLowerArena.slideSuccess .hlRightSlot {
  animation: hlRightToLeft .55s ease both;
}
#roundCountOptions {
  display: block;
}
.hlChoice span {
  display: block;
}
.hlChoice kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.22);
  color: inherit;
  font-size: clamp(12px,1vw,16px);
  font-weight: 950;
  letter-spacing: .08em;
}
.gold kbd {
  background: rgba(27,18,4,.18);
  border-color: rgba(27,18,4,.24);
}
html, body {
  overflow-y: auto !important;
  overscroll-behavior-y: auto;
}
.arena, #gameArea, .timelineHorizontal, .timelineBank, .list {
  overscroll-behavior: auto;
}
.timelineHorizontal, .timelineBank, .tableWrap {
  overflow-x: auto !important;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,214,107,.65) rgba(255,255,255,.08);
}
.timelineHorizontal::-webkit-scrollbar, .timelineBank::-webkit-scrollbar, .tableWrap::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}
.timelineHorizontal::-webkit-scrollbar-thumb, .timelineBank::-webkit-scrollbar-thumb, .tableWrap::-webkit-scrollbar-thumb {
  background: rgba(255,214,107,.58);
  border-radius: 999px;
}
.timelineHorizontal::-webkit-scrollbar-track, .timelineBank::-webkit-scrollbar-track, .tableWrap::-webkit-scrollbar-track {
  background: rgba(255,255,255,.07);
  border-radius: 999px;
}
#sortList .mobileMoveControls {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
  justify-content: center;
}
#sortList .mobileMoveControls button {
  width: clamp(42px,3vw,54px);
  min-height: clamp(42px,3vw,54px);
  padding: 0;
  border-radius: 14px;
  background: rgba(255,214,107,.12);
  border: 1px solid rgba(255,214,107,.32);
  color: var(--gold2);
  font-size: clamp(20px,1.8vw,28px);
  font-weight: 1000;
  line-height: 1;
}
#sortList .badge {
  display: none;
}
#sortList .eventCard {
  grid-template-columns: auto minmax(0,1fr) auto;
}
.timelineBank .tapHint, .timelineHorizontal .dropSlot .tapHint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.timelineBank .mobileMoveControls, .timelineHorizontal .mobileMoveControls {
  display: none!important;
}
.dropSlot:after {
  content: "Karte anklicken, dann hier platzieren";
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  color: rgba(255,214,107,.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  pointer-events: none;
  white-space: nowrap;
}
.dropSlot:has(.eventCard):after {
  content: "";
}
button kbd, .buttonLike kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: .45em;
  padding: .16em .5em;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.22);
  color: inherit;
  font-size: .72em;
  font-weight: 950;
  letter-spacing: .06em;
  vertical-align: middle;
}
.dangerBtn kbd {
  background: rgba(227,93,73,.16);
  border-color: rgba(227,93,73,.35);
}
.mobileMoveControls button::after {
  content: attr(title);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.hotkeyHelp {
  color: var(--muted);
  font-size: 12px;
}
.hlRightColumn {
  display: flex;
  flex-direction: column;
  gap: clamp(14px,1.8vw,22px);
  min-width: 0;
}
.hlRightColumn .hlRightSlot {
  flex: 1 1 auto;
}
.hlRightActions {
  display: flex;
  flex-direction: column;
  gap: clamp(10px,1.3vw,16px);
  width: 100%;
}
.hlRightActions .hlChoice {
  width: 100%;
  min-height: clamp(64px,8vh,108px);
  font-size: clamp(22px,2.7vw,44px);
}
.higherLowerArena > .hlActions {
  display: none!important;
}
.higherLowerArena.slideSuccess .hlRightColumn {
  animation: hlRightColumnToLeft .55s ease both;
}
@keyframes confettiFly {
  0%{opacity:1;transform:translate(-50%,-50%) rotate(0) scale(1)}
  100%{opacity:0;transform:translate(calc(-50% + var(--x) * 44vw), calc(-50% + var(--y) * 52vh + 260px)) rotate(var(--r)) scale(.8)}
}
@keyframes pulseFade {
  from{opacity:1}
  to{opacity:0}
}
@keyframes hlLeftOut {
  to{transform:translateX(-45%) scale(.94);opacity:0}
}
@keyframes hlRightToLeft {
  to{transform:translateX(calc(-100% - clamp(10px,2vw,26px) - clamp(48px,6vw,88px))) scale(1.01)}
}
@keyframes hlRightColumnToLeft {
  to{
  transform:translateX(calc(-100% - clamp(10px,2vw,26px) - clamp(48px,6vw,88px))) scale(1.01);
  }
}
@media (orientation:landscape) and (max-height:760px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    min-height: auto;
  }
  h1 {
    font-size: 44px;
  }
  .arena {
    min-height: 430px;
  }
  .empty {
    min-height: 240px;
  }
}
@media (max-width:940px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .grid,.hero {
    grid-template-columns: 1fr;
  }
  .controls {
    position: relative;
    top: auto;
  }
  .arenaHead {
    flex-direction: column;
  }
  #checkBtn {
    width: 100%;
  }
}
@media (max-width:540px) {
  .shell {
    padding: 10px;
  }
  .card {
    border-radius: 22px;
  }
  .eventCard {
    grid-template-columns: auto 1fr;
    padding: 13px;
  }
  .badge {
    grid-column: 2;
  }
  nav {
    width: 100%;
    justify-content: flex-start;
  }
  .stats b {
    font-size: 21px;
  }
  h1 {
    font-size: 42px;
  }
}
@media (max-width:760px) {
  .timelineHorizontal {
    padding-bottom: 14px;
  }
  .timelineAxis,.timelineSlots,.timelineHorizontal .timelineBank {
    min-width: 860px;
  }
  .timelineSlots {
    grid-auto-columns: 240px;
  }
}
@media (max-width:760px) {
  .fullscreenHud {
    top: auto;
    bottom: max(12px,env(safe-area-inset-bottom));
    width: calc(100vw - 18px);
    justify-content: center;
    border-radius: 22px;
  }
  .fullscreenHud div {
    min-width: 0;
    flex: 1;
  }
  .timelineHorizontal {
    padding-left: 70px !important;
    padding-right: 70px !important;
  }
  .timelineAxis,.timelineSlots,.timelineHorizontal .timelineBank {
    min-width: 980px !important;
  }
}
@media (max-width:940px) {
  .arenaActions {
    width: 100%;
  }
  .arenaActions button {
    flex: 1;
  }
}
@media (max-width:760px) {
  :fullscreen .fullscreenHud, :-webkit-full-screen .fullscreenHud {
    width: calc(100vw - 20px);
    transform: translateX(-50%);
  }
  :fullscreen .fullscreenHud div, :-webkit-full-screen .fullscreenHud div {
    min-width: 0;
    padding: 12px 8px;
  }
  :fullscreen .fullscreenHud b, :-webkit-full-screen .fullscreenHud b {
    font-size: 28px;
  }
}
@media (max-width:940px) {
  .topRight {
    width: 100%;
    justify-content: space-between;
  }
  body.gameActive .topbar nav {
    display: none;
  }
}
@media (max-width:760px) {
  .highscoreControls {
    grid-template-columns: 1fr;
  }
  .highscoreControls button,.highscoreControls select {
    width: 100%;
  }
}
@media (orientation:landscape) and (max-height:760px) {
  body.gameActive .topbar {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  body.gameActive .shell {
    min-height: calc(100vh - 58px);
    padding-top: 8px;
    padding-bottom: 8px;
  }
  body.gameActive .arena {
    min-height: calc(100vh - 74px) !important;
    padding: 10px 14px;
  }
  body.gameActive .arenaHead {
    margin-bottom: 10px;
  }
  body.gameActive #sortList {
    gap: 8px;
  }
  body.gameActive #sortList .eventCard {
    min-height: clamp(82px, calc((100vh - 175px) / var(--round-count, 3)), 155px);
    padding: 10px 14px;
  }
  body.gameActive #sortList .eventCard h3 {
    font-size: clamp(16px,1.8vw,24px);
  }
  body.gameActive #sortList .eventCard p {
    font-size: clamp(12px,1vw,15px);
    -webkit-line-clamp: 2;
  }
  body.gameActive #sortList .meta {
    margin-top: 5px;
  }
}
@media (max-width:620px) {
  body.gameActive .shell {
    min-height: calc(100vh - 96px);
  }
  body.gameActive .arena {
    min-height: calc(100vh - 116px) !important;
    padding: 12px;
  }
  body.gameActive #sortList {
    grid-template-rows: repeat(var(--round-count, 3), minmax(118px, 1fr));
  }
  body.gameActive #sortList .eventCard {
    min-height: clamp(118px, calc((100vh - 280px) / var(--round-count, 3)), 210px);
  }
}
@media (max-width:760px) {
  .timelineHorizontal {
    padding-left: 70px !important;
    padding-right: 70px !important;
  }
  .timelineAxis,.timelineSlots,.timelineHorizontal .timelineBank {
    min-width: 980px;
  }
  .timelineSlots {
    grid-auto-columns: 240px;
  }
}
@media (orientation:landscape) and (max-height:760px) {
  .timelineHorizontal {
    min-height: 420px;
    padding-top: 8px !important;
  }
  .timelineAxis {
    height: 56px;
  }
  .timelineHorizontal .dropSlot {
    min-height: 160px;
  }
}
@media (max-width:980px) {
  .highscoreControls {
    grid-template-columns: 1fr!important;
  }
}
@media (min-width:1180px) {
  body.gameActive .arena {
    padding-right: 170px !important;
  }
}
@media (max-width:900px) {
  .gameSideHud {
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(12px,env(safe-area-inset-bottom));
    transform: translateX(-50%);
    flex-direction: row;
    width: calc(100vw - 22px);
    justify-content: center;
    border-radius: 24px;
  }
  .gameSideHud div {
    min-width: 0;
    flex: 1;
    padding: 10px 8px;
  }
  .gameSideHud b {
    font-size: 26px;
  }
  .gameSideHud span {
    font-size: 10px;
  }
  body.gameActive .arena {
    padding-bottom: 112px !important;
  }
}
@media (pointer:coarse) {
  .eventCard {
    touch-action: manipulation;
  }
  #sortList .eventCard {
    grid-template-columns: auto minmax(0,1fr) auto;
    padding-right: 10px;
  }
  #sortList .badge {
    display: none;
  }
  #sortList .mobileMoveControls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    justify-content: center;
  }
  .mobileMoveControls button {
    width: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 14px;
    background: rgba(255,214,107,.12);
    border: 1px solid rgba(255,214,107,.32);
    color: var(--gold2);
    font-size: 22px;
    font-weight: 1000;
    line-height: 1;
  }
  .timelineBank .tapHint, .timelineHorizontal .dropSlot .tapHint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .timelineBank .mobileMoveControls, .timelineHorizontal .mobileMoveControls {
    display: none!important;
  }
  .dropSlot {
    touch-action: manipulation;
  }
  .dropSlot:after {
    content: "Zum Ablegen antippen";
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    color: rgba(255,214,107,.72);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    pointer-events: none;
  }
  .dropSlot:has(.eventCard):after {
    content: "";
  }
}
@media (max-width:760px) {
  .topbar {
    position: sticky;
    top: 0;
    padding: 10px 12px;
  }
  .brand .mark {
    width: 38px;
    height: 38px;
  }
  .brand small {
    display: none;
  }
  .topRight {
    gap: 6px;
  }
  .fxToggle {
    padding: 7px 9px;
    font-size: 10px;
  }
  .shell {
    padding: 8px;
  }
  body.gameActive .shell {
    min-height: calc(100svh - 62px);
  }
  body.gameActive .arena {
    min-height: calc(100svh - 74px)!important;
    border-radius: 20px;
    padding: 10px 10px 108px!important;
  }
  body.gameActive .arenaHead {
    position: sticky;
    top: 58px;
    z-index: 20;
    padding: 8px;
    border-radius: 18px;
    background: rgba(12,10,7,.82);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(215,169,53,.16);
  }
  body.gameActive .arenaActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  body.gameActive .arenaActions button {
    width: 100%;
    min-height: 46px;
  }
  body.gameActive #sortList {
    gap: 10px;
    padding-bottom: 8px;
  }
  body.gameActive #sortList .eventCard {
    min-height: auto;
    height: auto;
    padding: 12px;
    border-radius: 18px;
  }
  body.gameActive #sortList .eventCard h3 {
    font-size: clamp(17px,5vw,24px);
  }
  body.gameActive #sortList .eventCard p {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
  .timelineHorizontal {
    padding-left: 16px!important;
    padding-right: 16px!important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .timelineAxis,.timelineSlots,.timelineHorizontal .timelineBank {
    min-width: max(100%, calc(var(--round-count, 3) * 260px))!important;
  }
  .timelineSlotWrap {
    scroll-snap-align: center;
  }
  .timelineHorizontal .dropSlot {
    min-height: 230px;
  }
  .timelineHorizontal .timelineBank {
    grid-template-columns: repeat(var(--round-count, 3), minmax(220px,1fr))!important;
  }
  .timelineHorizontal .timelineBank .eventCard {
    min-height: 132px;
  }
}
@media (max-width:390px) {
  .fxToggle span {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.gameActive .arenaHead h2 {
    font-size: 20px;
  }
  body.gameActive #sortList .eventCard {
    grid-template-columns: 34px minmax(0,1fr) auto;
  }
  .mobileMoveControls button {
    width: 42px;
    min-height: 42px;
  }
}
@supports (-webkit-touch-callout:none) {
  body.gameActive .arena {
    min-height: -webkit-fill-available;
  }
}
@media(max-width:820px) {
  .higherLowerArena {
    min-height: auto;
  }
  .hlCards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hlVs {
    margin: auto;
    width: 54px;
    height: 54px;
  }
  .hlSlot {
    min-height: clamp(210px,33vh,360px);
  }
  .hlCard {
    padding: 22px;
  }
  .hlCard h3 {
    font-size: clamp(28px,9vw,48px);
  }
  .hlCard p {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hlDate {
    font-size: clamp(24px,8vw,42px);
  }
  .hlActions {
    position: sticky;
    bottom: 96px;
    z-index: 25;
  }
  .hlChoice {
    min-height: 64px;
    font-size: 26px;
  }
}
@media(max-width:820px) {
  .hlChoice kbd {
    font-size: 12px;
    min-width: 58px;
  }
}
@media (hover:hover) and (pointer:fine) {
  .mobileMoveControls button:hover {
    background: rgba(255,214,107,.22);
    transform: translateY(-1px);
  }
}
@supports (-webkit-touch-callout:none) {
  html,body {
    overscroll-behavior-y: auto;
  }
}
@media(max-width:820px) {
  .hlCards {
    grid-template-columns: 1fr;
  }
  .hlRightColumn {
    gap: 12px;
  }
  .hlRightActions {
    position: sticky;
    bottom: 96px;
    z-index: 30;
    background: rgba(8,7,4,.72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(215,169,53,.18);
    border-radius: 22px;
    padding: 10px;
  }
  .hlRightActions .hlChoice {
    min-height: 62px;
    font-size: 26px;
  }
}
/* v30 rolling date reveal */
.dateRoll{display:inline-flex;align-items:center;gap:.25em;vertical-align:middle;font-variant-numeric:tabular-nums}
.dateRollDigits{display:inline-flex;gap:.05em}
.dateRollDigit{display:inline-grid;place-items:center;min-width:.72em;height:1.05em;overflow:hidden;border-radius:.18em;background:rgba(0,0,0,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -8px 16px rgba(0,0,0,.12)}
.dateRoll.isRolling .dateRollDigit{animation:dateDigitShake .16s linear infinite;animation-delay:var(--delay,0ms)}
.dateRollDigit.locked{animation:none!important;color:#1b1204;background:rgba(255,214,107,.95)}
.dateRollFull{display:none}
.dateRoll.isRevealed .dateRollFull{display:inline;margin-left:.15em}
.dateRoll.isRevealed .dateRollDigits{display:none}
.dateRoll.isHidden .dateRollFull{display:inline}
.dateRoll.isHidden .dateRollDigits{display:none}
.hlDate .dateRoll{font-size:inherit}.inlineRoll{color:inherit;font-size:1em}.result .dateRoll{color:var(--gold2)}
@keyframes dateDigitShake{0%{transform:translateY(-.08em)}50%{transform:translateY(.08em)}100%{transform:translateY(-.08em)}}
@media (prefers-reduced-motion:reduce){.dateRoll.isRolling .dateRollDigit{animation:none}}

/* v32 Date Roll polish: centered, no orange ellipse background, reveal after slide */
.hlDate{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  color:var(--gold2)!important;
  padding:0!important;
  border-radius:0!important;
  align-self:center!important;
  text-align:center!important;
  width:100%;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}

.hlDate.hiddenDate{
  background:transparent!important;
  border:0!important;
  color:rgba(255,214,107,.65)!important;
}

.dateRoll{
  justify-content:center;
  align-items:center;
  text-align:center;
  color:var(--gold2);
  line-height:1;
}

.dateRollDigits{
  justify-content:center;
  align-items:center;
}

.dateRollDigit{
  min-width:.68em!important;
  height:1.05em!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
  padding:0!important;
  margin:0 .015em;
  color:var(--gold2)!important;
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:1000;
}

.dateRollDigit.locked{
  color:var(--gold2)!important;
  background:transparent!important;
  text-shadow:0 0 18px rgba(255,214,107,.42);
}

.dateRollFull{
  color:var(--gold2)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-align:center!important;
  font-weight:1000;
  line-height:1!important;
}

.result .dateRoll,
.inlineRoll{
  color:var(--gold2)!important;
}


/* v33 Endless Next slide behavior */
.higherLowerArena.slideSuccess .hlLeftSlot{
  animation:none!important;
  transform:none!important;
  opacity:1!important;
  z-index:1;
}

.higherLowerArena.slideSuccess .hlRightSlot{
  animation:none!important;
}

.higherLowerArena.slideSuccess .hlRightColumn{
  z-index:5;
  pointer-events:none;
  animation:hlRightColumnOverlayLeft .62s cubic-bezier(.2,.8,.2,1) both!important;
}

@keyframes hlRightColumnOverlayLeft{
  0%{
    transform:translateX(0) scale(1);
  }
  100%{
    transform:translateX(calc(-100% - clamp(10px,2vw,26px) - clamp(48px,6vw,88px))) scale(1.015);
  }
}

/* Initial known date should be visible immediately, not as ???? */
.hlLeftSlot .dateRoll.isRevealed .dateRollFull{
  display:inline!important;
}
.hlLeftSlot .dateRoll.isRevealed .dateRollDigits{
  display:none!important;
}

/* v34 Endless Next: smooth Higher/Lower flow */
.hlCards{
  position:relative;
}

.hlIncomingColumn{
  display:flex;
  flex-direction:column;
  gap:clamp(14px,1.8vw,22px);
  min-width:0;
  opacity:0;
  transform:translateX(7%) scale(.985);
  pointer-events:none;
  grid-column:3;
  grid-row:1;
  z-index:2;
}

.hlIncomingColumn .hlIncomingSlot{
  flex:1 1 auto;
}

.hlIncomingColumn .ghostActions{
  visibility:hidden;
}

.higherLowerArena.smoothNext .hlRightColumn{
  z-index:5;
  pointer-events:none;
  animation:hlAnswerToLeftSmooth .72s cubic-bezier(.18,.86,.22,1) both!important;
}

.higherLowerArena.smoothNext .hlIncomingColumn{
  animation:hlIncomingAppear .72s cubic-bezier(.18,.86,.22,1) both;
}

.higherLowerArena.smoothNext .hlLeftSlot{
  animation:none!important;
  transform:none!important;
  opacity:1!important;
}

@keyframes hlAnswerToLeftSmooth{
  0%{
    transform:translateX(0) scale(1);
    filter:brightness(1);
  }
  45%{
    transform:translateX(calc(-55% - clamp(8px,1.5vw,18px))) scale(1.018);
    filter:brightness(1.08);
  }
  100%{
    transform:translateX(calc(-100% - clamp(10px,2vw,26px) - clamp(48px,6vw,88px))) scale(1.015);
    filter:brightness(1);
  }
}

@keyframes hlIncomingAppear{
  0%{
    opacity:0;
    transform:translateX(12%) scale(.965);
    filter:blur(4px);
  }
  34%{
    opacity:0;
    transform:translateX(10%) scale(.97);
    filter:blur(3px);
  }
  100%{
    opacity:1;
    transform:translateX(0) scale(1);
    filter:blur(0);
  }
}

/* Disable older v33/v27 conflicting slide animation classes when smoothNext is active */
.higherLowerArena.smoothNext.slideSuccess .hlRightSlot{
  animation:none!important;
}

.higherLowerArena.smoothNext.slideSuccess .hlRightColumn{
  animation:hlAnswerToLeftSmooth .72s cubic-bezier(.18,.86,.22,1) both!important;
}

@media(max-width:820px){
  .hlIncomingColumn{
    grid-column:1;
    grid-row:3;
  }

  .higherLowerArena.smoothNext .hlRightColumn{
    animation:hlAnswerToTopSmooth .72s cubic-bezier(.18,.86,.22,1) both!important;
  }

  .higherLowerArena.smoothNext.slideSuccess .hlRightColumn{
    animation:hlAnswerToTopSmooth .72s cubic-bezier(.18,.86,.22,1) both!important;
  }

  .higherLowerArena.smoothNext .hlIncomingColumn{
    animation:hlIncomingMobileAppear .72s cubic-bezier(.18,.86,.22,1) both;
  }

  @keyframes hlAnswerToTopSmooth{
    0%{transform:translateY(0) scale(1);filter:brightness(1)}
    50%{transform:translateY(calc(-45% - 38px)) scale(1.018);filter:brightness(1.08)}
    100%{transform:translateY(calc(-100% - 66px)) scale(1.015);filter:brightness(1)}
  }

  @keyframes hlIncomingMobileAppear{
    0%{opacity:0;transform:translateY(10%) scale(.965);filter:blur(4px)}
    34%{opacity:0;transform:translateY(8%) scale(.97);filter:blur(3px)}
    100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
  }
}

/* v35 Endless Next: reveal date, then slide, then new right question */
.higherLowerArena.revealThenSlide .hlLeftSlot{
  animation:none!important;
  transform:none!important;
  opacity:1!important;
  z-index:1;
}

.higherLowerArena.revealThenSlide .hlRightColumn{
  z-index:5;
  pointer-events:none;
  animation:hlRevealThenSlideLeft .70s cubic-bezier(.18,.86,.22,1) both!important;
}

@keyframes hlRevealThenSlideLeft{
  0%{
    transform:translateX(0) scale(1);
    filter:brightness(1);
  }
  42%{
    transform:translateX(calc(-52% - clamp(8px,1.5vw,18px))) scale(1.018);
    filter:brightness(1.08);
  }
  100%{
    transform:translateX(calc(-100% - clamp(10px,2vw,26px) - clamp(48px,6vw,88px))) scale(1.015);
    filter:brightness(1);
  }
}

.hlRightColumn.newQuestionAppear{
  animation:hlNewQuestionAppear .48s cubic-bezier(.18,.86,.22,1) both;
}

@keyframes hlNewQuestionAppear{
  0%{
    opacity:0;
    transform:translateX(9%) scale(.97);
    filter:blur(4px);
  }
  100%{
    opacity:1;
    transform:translateX(0) scale(1);
    filter:blur(0);
  }
}

/* Neutralize v34 incoming overlay because v35 reveals first and creates the next card after the slide. */
.higherLowerArena.revealThenSlide .hlIncomingColumn{
  display:none!important;
}

@media(max-width:820px){
  .higherLowerArena.revealThenSlide .hlRightColumn{
    animation:hlRevealThenSlideTop .70s cubic-bezier(.18,.86,.22,1) both!important;
  }

  @keyframes hlRevealThenSlideTop{
    0%{transform:translateY(0) scale(1);filter:brightness(1)}
    50%{transform:translateY(calc(-45% - 38px)) scale(1.018);filter:brightness(1.08)}
    100%{transform:translateY(calc(-100% - 66px)) scale(1.015);filter:brightness(1)}
  }

  .hlRightColumn.newQuestionAppear{
    animation:hlNewQuestionAppearMobile .48s cubic-bezier(.18,.86,.22,1) both;
  }

  @keyframes hlNewQuestionAppearMobile{
    0%{opacity:0;transform:translateY(8%) scale(.97);filter:blur(4px)}
    100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
  }
}

/* v36 dynamic flow + live bestscore celebration */
.bestBreakBanner{
  position:fixed;
  left:50%;
  top:16%;
  transform:translateX(-50%);
  z-index:12000;
  display:grid;
  gap:4px;
  text-align:center;
  padding:18px 26px;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,214,107,.98),rgba(215,169,53,.92));
  color:#1b1204;
  box-shadow:0 22px 90px rgba(0,0,0,.45),0 0 70px rgba(255,214,107,.28);
  animation:bestBannerIn 1.9s cubic-bezier(.18,.86,.22,1) both;
  pointer-events:none;
}
.bestBreakBanner b{
  font-size:clamp(28px,4vw,56px);
  line-height:.95;
  letter-spacing:-.05em;
}
.bestBreakBanner span{
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.bestPulse{
  animation:bestPulse 1.35s ease both;
}
@keyframes bestBannerIn{
  0%{opacity:0;transform:translateX(-50%) translateY(-22px) scale(.84)}
  18%{opacity:1;transform:translateX(-50%) translateY(0) scale(1.06)}
  35%{transform:translateX(-50%) translateY(0) scale(1)}
  78%{opacity:1}
  100%{opacity:0;transform:translateX(-50%) translateY(-8px) scale(.98)}
}
@keyframes bestPulse{
  0%,100%{transform:scale(1);box-shadow:none}
  35%{transform:scale(1.08);box-shadow:0 0 0 8px rgba(255,214,107,.16)}
}
.higherLowerArena.revealThenSlide .hlRightColumn{
  animation-duration:var(--hl-slide-duration,700ms)!important;
}
@media(max-width:760px){
  .bestBreakBanner{
    top:10%;
    width:calc(100vw - 28px);
  }
}

/* v37 highscore category filter + Endless Next extra info */
.highscoreControls{
  grid-template-columns:80px minmax(130px,190px) 56px minmax(120px,160px) 60px minmax(150px,200px) 80px minmax(150px,220px) auto!important;
}
.hlExtraInfo{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin:clamp(10px,1.2vw,18px) 0;
}
.hlExtraInfo span{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,214,107,.22);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-size:clamp(11px,.9vw,13px);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
@media(max-width:1120px){
  .highscoreControls{grid-template-columns:1fr!important}
}

/* v38 setup cleanup + current user highscore highlight */
.controls .stats{
  display:none!important;
}
#leaderboard tr.isMe{
  background:linear-gradient(90deg,rgba(255,214,107,.22),rgba(255,214,107,.07))!important;
  outline:1px solid rgba(255,214,107,.34);
}
#leaderboard tr.meSummary{
  position:sticky;
  top:0;
  z-index:2;
  font-weight:1000;
  color:var(--gold2);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
#leaderboard tr.meSummary td{
  border-bottom:1px solid rgba(255,214,107,.38);
}
#leaderboard tr.noScore td{
  color:var(--muted);
}
#leaderboard tr.scoreDivider td{
  padding:4px;
  height:8px;
  background:rgba(0,0,0,.22);
  border-bottom:1px solid rgba(215,169,53,.16);
}

/* v39 Player profile, ranks and achievements */
.userProfileBtn{
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,214,107,.22)!important;
  color:var(--text)!important;
}
#miniRank{
  margin-left:6px;
  font-weight:1000;
}
.profileDialog{
  width:min(1040px,calc(100vw - 22px));
  max-height:92vh;
  border:1px solid rgba(255,214,107,.35);
  border-radius:30px;
  background:rgba(12,10,7,.98);
  color:var(--text);
  padding:0;
}
.profileDialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(4px)}
.profileShell{position:relative;padding:22px;overflow:auto;max-height:92vh}
.dialogClose{position:absolute;right:16px;top:14px;z-index:2;border-radius:999px;width:44px;height:44px;padding:0}
.profileHero{
  display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;
  padding:24px;border-radius:28px;
  background:radial-gradient(circle at top left,var(--rankColor),transparent 36%),linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  border:1px solid rgba(255,214,107,.2);
}
.rankBadgeBig{font-size:64px;filter:drop-shadow(0 8px 24px rgba(0,0,0,.35))}
.rankLine{display:flex;flex-wrap:wrap;gap:10px;color:var(--gold2);font-weight:1000}
.rankLine span,.rankLine b{padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.22)}
.rankProgress{height:12px;border-radius:999px;background:rgba(0,0,0,.3);overflow:hidden;margin-top:12px}
.rankProgress i{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--gold2));border-radius:999px}
.profileStatsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0}
.profileStatsGrid div{padding:16px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,214,107,.16);text-align:center}
.profileStatsGrid b{display:block;color:var(--gold2);font-size:28px}
.profileStatsGrid span{color:var(--muted);font-size:12px;text-transform:uppercase;font-weight:900}
.profileSection{margin-top:18px}
.achievementGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.achievement{display:grid;gap:5px;padding:15px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,214,107,.16)}
.achievement b{font-size:30px}.achievement strong{color:var(--gold2)}.achievement span{color:var(--muted);font-size:13px}
.passwordChange{display:grid;grid-template-columns:1fr 1fr auto;gap:10px}
@media(max-width:720px){.profileHero{grid-template-columns:1fr;text-align:center}.passwordChange{grid-template-columns:1fr}}

/* v40 Profile rank explanation + motivation ladder */
.profileLayout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,280px);
  gap:18px;
}
.nextRankHint{
  margin:10px 0 0;
  color:var(--gold2);
  font-weight:900;
}
.xpExplain{
  padding:16px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,214,107,.14);
}
.xpExplain p{
  color:var(--muted);
}
.xpParts{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
}
.xpParts div{
  display:grid;
  gap:4px;
  padding:12px;
  border-radius:18px;
  background:rgba(0,0,0,.2);
  border:1px solid rgba(255,214,107,.12);
}
.xpParts b{
  color:var(--gold2);
  font-size:20px;
}
.xpParts strong{
  color:var(--text);
}
.xpParts span{
  color:var(--muted);
  font-size:12px;
}
.rankLadder{
  position:sticky;
  top:14px;
  align-self:start;
  display:grid;
  gap:8px;
  padding:14px;
  border-radius:24px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,214,107,.16);
}
.rankLadder h3{
  margin:0 0 6px;
  color:var(--gold2);
}
.rankStep{
  display:grid;
  grid-template-columns:32px 1fr auto;
  align-items:center;
  gap:8px;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  opacity:.62;
}
.rankStep b{
  font-size:22px;
}
.rankStep span{
  font-weight:1000;
}
.rankStep small{
  color:var(--muted);
  font-size:11px;
  font-weight:900;
}
.rankStep.reached{
  opacity:1;
  border-color:color-mix(in srgb,var(--stepColor) 45%,transparent);
}
.rankStep.active{
  background:linear-gradient(90deg,color-mix(in srgb,var(--stepColor) 28%,transparent),rgba(255,255,255,.04));
  box-shadow:0 0 0 2px color-mix(in srgb,var(--stepColor) 35%,transparent),0 14px 40px rgba(0,0,0,.22);
}
@media(max-width:920px){
  .profileLayout{grid-template-columns:1fr}
  .rankLadder{position:relative;top:0}
}

/* v41 full achievements and collectibles */
.achievement.locked,
.collectible.locked{
  opacity:.34;
  filter:grayscale(1);
  background:rgba(255,255,255,.025);
  border-style:dashed;
}
.achievement.unlocked,
.collectible.unlocked{
  opacity:1;
}
.achievement em{
  margin-top:4px;
  font-size:11px;
  font-style:normal;
  font-weight:1000;
  color:var(--gold2);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.achievement.locked em{
  color:var(--muted);
}
.collectibleGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
}
.collectible{
  display:grid;
  gap:5px;
  place-items:center;
  text-align:center;
  min-height:132px;
  padding:15px;
  border-radius:22px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,214,107,.16);
}
.collectible b{
  font-size:38px;
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.25));
}
.collectible strong{
  color:var(--gold2);
}
.collectible span{
  color:var(--muted);
  font-size:12px;
}

/* v42 clean profile scrolling + on-demand XP explanation */
.profileDialog,
.profileShell,
.tableWrap,
.timelineHorizontal,
.timelineBank{
  scrollbar-width:none;
}

.profileDialog::-webkit-scrollbar,
.profileShell::-webkit-scrollbar,
.tableWrap::-webkit-scrollbar,
.timelineHorizontal::-webkit-scrollbar,
.timelineBank::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

.profileShell{
  -ms-overflow-style:none;
  overscroll-behavior:contain;
}

.xpExplain{
  overflow:hidden;
}

.xpExplain summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  list-style:none;
  padding:2px 0;
}

.xpExplain summary::-webkit-details-marker{
  display:none;
}

.xpExplain summary span{
  color:var(--gold2);
  font-size:20px;
  font-weight:1000;
}

.xpExplain summary small{
  color:#1b1204;
  background:var(--gold2);
  border-radius:999px;
  padding:7px 11px;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
}

.xpExplain summary::after{
  content:"▾";
  color:var(--gold2);
  font-size:20px;
  transition:transform .2s ease;
}

.xpExplain[open] summary::after{
  transform:rotate(180deg);
}

.xpExplain:not([open]){
  background:rgba(255,255,255,.035);
}

.xpExplain:not([open]) p,
.xpExplain:not([open]) .xpParts{
  display:none;
}

.xpExplain[open]{
  animation:softOpen .22s ease both;
}

@keyframes softOpen{
  from{opacity:.82;transform:translateY(-2px)}
  to{opacity:1;transform:translateY(0)}
}

/* Keep admin/event tables scrollable but visually cleaner */
.tableWrap{
  -webkit-overflow-scrolling:touch;
  mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%);
}

@media(max-width:720px){
  .xpExplain summary{
    align-items:flex-start;
  }
  .xpExplain summary small{
    display:none;
  }
}

/* v43 account security + unique rewards + placement cards */
.authHint{
  grid-column:1/-1;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}
.passwordChange{
  grid-template-columns:1fr 1fr 1fr auto;
}
.placementGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
}
.placementCard{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  padding:14px;
  border-radius:22px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,214,107,.13);
  position:relative;
  overflow:hidden;
}
.placementCard::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.06),transparent);
  opacity:.45;
  pointer-events:none;
}
.placementMedal{
  font-size:38px;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.25));
}
.placementCard strong{
  color:var(--gold2);
  font-size:22px;
}
.placementCard span{
  display:block;
  color:var(--muted);
  font-weight:900;
}
.placementStats{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(3,auto 1fr);
  gap:4px 8px;
  align-items:baseline;
}
.placementStats b{
  color:var(--gold2);
}
.placementStats small{
  color:var(--muted);
  text-transform:uppercase;
  font-size:10px;
  font-weight:900;
}
.placementCard.first{
  border-color:rgba(255,214,107,.55);
  background:linear-gradient(135deg,rgba(255,214,107,.18),rgba(255,255,255,.04));
}
.placementCard.second{
  border-color:rgba(217,225,239,.4);
}
.placementCard.third{
  border-color:rgba(196,127,59,.45);
}
.placementCard.topten{
  border-color:rgba(142,232,255,.28);
}
.achievement.locked,
.collectible.locked{
  opacity:.28;
}
.collectible strong,
.achievement strong{
  text-align:center;
}
@media(max-width:760px){
  .passwordChange{
    grid-template-columns:1fr;
  }
  .placementStats{
    grid-template-columns:repeat(3,1fr);
    text-align:center;
  }
}

/* v44 unified achievements + full-width placements */
.achievementsPanel{
  overflow:hidden;
}
.achievementsPanel summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  list-style:none;
  padding:2px 0 12px;
}
.achievementsPanel summary::-webkit-details-marker{
  display:none;
}
.achievementsPanel summary span{
  color:var(--gold2);
  font-size:20px;
  font-weight:1000;
}
.achievementsPanel summary small{
  color:#1b1204;
  background:var(--gold2);
  border-radius:999px;
  padding:7px 11px;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
}
.achievementsPanel summary::after{
  content:"▾";
  color:var(--gold2);
  font-size:20px;
  transition:transform .2s ease;
}
.achievementsPanel[open] summary::after{
  transform:rotate(180deg);
}
.achievementsPanel:not([open]) .achievementGrid{
  display:none;
}
.achievement.isCollectible{
  border-color:rgba(142,232,255,.20);
}
.achievement.isCollectible strong::after{
  content:"  · Sammelobjekt";
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.profileMain .placementsSection{
  margin-left:0;
  margin-right:0;
}
.placementGrid{
  grid-template-columns:1fr!important;
}
.placementCard{
  grid-template-columns:auto minmax(220px,1fr) minmax(360px,1.4fr);
  width:100%;
}
.placementStats{
  grid-column:auto!important;
  display:grid;
  grid-template-columns:repeat(3,auto 1fr);
  justify-content:end;
}
@media(max-width:820px){
  .placementCard{
    grid-template-columns:auto 1fr;
  }
  .placementStats{
    grid-column:1/-1!important;
    grid-template-columns:repeat(3,1fr);
  }
  .achievementsPanel summary{
    align-items:flex-start;
  }
  .achievementsPanel summary small{
    display:none;
  }
}

/* v45 sticky close + embeddable status snippet */
.profileDialog .dialogClose{
  position:fixed!important;
  top:max(16px,env(safe-area-inset-top))!important;
  right:max(16px,env(safe-area-inset-right))!important;
  z-index:20000!important;
  width:48px!important;
  height:48px!important;
  border-radius:999px!important;
  background:rgba(8,7,4,.88)!important;
  border:1px solid rgba(255,214,107,.45)!important;
  color:var(--gold2)!important;
  box-shadow:0 12px 44px rgba(0,0,0,.38)!important;
  backdrop-filter:blur(14px);
}
.embedSection{
  border:1px solid rgba(142,232,255,.18);
  background:rgba(142,232,255,.045);
  border-radius:22px;
  padding:16px;
}
.embedControls{
  display:grid;
  grid-template-columns:minmax(120px,160px) minmax(180px,1fr) auto;
  gap:10px;
  align-items:end;
}
.embedControls label{
  display:grid;
  gap:6px;
  color:var(--gold2);
  font-weight:900;
}
.embedSnippet{
  width:100%;
  min-height:94px;
  margin-top:12px;
  border-radius:16px;
  resize:vertical;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;
}
.embedPreviewWrap{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  background:rgba(0,0,0,.2);
  overflow:hidden;
}
.embedPreviewWrap iframe{
  display:block;
  max-width:100%;
  height:230px;
  border:0;
  background:transparent;
}
@media(max-width:780px){
  .embedControls{
    grid-template-columns:1fr;
  }
}

/* v46 Login/Register split */
.registerFields{
  display:grid;
  gap:10px;
  grid-column:1/-1;
}
.registerFields[hidden],
button[hidden]{
  display:none!important;
}
.auth .row{
  flex-wrap:wrap;
}

/* v47 public polish + sharing */
.shareBox{
  margin-top:12px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,214,107,.14);
}
.shareBox h4{
  margin:0 0 4px;
  color:var(--gold2);
}
.shareBox p{
  margin:0 0 12px;
  color:var(--muted);
}
.shareActions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.shareActions a,
.shareActions button{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 12px;
  border-radius:999px;
  font-weight:1000;
}
.shareActions a{
  background:rgba(255,214,107,.12);
  border:1px solid rgba(255,214,107,.22);
  color:var(--gold2);
}
.ctaLink{
  display:block;
  margin-top:10px;
  color:var(--muted);
  overflow-wrap:anywhere;
}
.embedPreviewWrap iframe{
  height:250px;
}

/* v48 sharing fixes */
#ctaLink{
  user-select:text;
  cursor:text;
}

/* v50 AAA landing + brand icon */
.mark{
  overflow:hidden;
}
.mark img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.landingStage{
  display:grid;
  gap:clamp(16px,2vw,24px);
  margin-bottom:clamp(18px,3vw,34px);
}
.landingHero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);
  gap:clamp(18px,4vw,56px);
  align-items:center;
  padding:clamp(28px,5vw,72px);
  border-radius:36px;
  background:
    radial-gradient(circle at 76% 22%,rgba(255,214,107,.22),transparent 28%),
    radial-gradient(circle at 20% 0,rgba(142,232,255,.11),transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  border:1px solid rgba(255,214,107,.18);
  box-shadow:0 30px 120px rgba(0,0,0,.32);
}
.heroCopy h1{
  margin:.05em 0;
  max-width:780px;
  font-size:clamp(48px,8vw,112px);
  line-height:.86;
  letter-spacing:-.085em;
}
.landingLead{
  max-width:660px;
  color:var(--muted);
  font-size:clamp(17px,2vw,24px);
  line-height:1.35;
}
.landingCtas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.landingCtas button{
  min-height:52px;
  padding-inline:20px;
}
.chronoEmblem{
  position:relative;
  display:grid;
  place-items:center;
  min-height:360px;
}
.chronoEmblem img{
  width:min(340px,72vw);
  aspect-ratio:1;
  border-radius:30%;
  filter:drop-shadow(0 34px 80px rgba(0,0,0,.55)) drop-shadow(0 0 50px rgba(255,214,107,.2));
  animation:emblemFloat 5s ease-in-out infinite;
}
.orbit{
  position:absolute;
  width:min(430px,84vw);
  aspect-ratio:1;
  border-radius:50%;
  border:1px solid rgba(255,214,107,.23);
  animation:orbitSpin 12s linear infinite;
}
.orbitB{
  width:min(500px,94vw);
  transform:rotate(24deg);
  border-color:rgba(142,232,255,.18);
  animation-duration:18s;
  animation-direction:reverse;
}
@keyframes emblemFloat{
  0%,100%{transform:translateY(0) rotate(-1deg)}
  50%{transform:translateY(-12px) rotate(1deg)}
}
@keyframes orbitSpin{
  to{transform:rotate(360deg)}
}
.liveStatsGrid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.liveStatsGrid article,
.livePanel{
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  border:1px solid rgba(255,214,107,.15);
  box-shadow:0 18px 70px rgba(0,0,0,.22);
}
.liveStatsGrid article{
  padding:18px;
  display:grid;
  gap:6px;
}
.liveStatsGrid span,
.panelHead small{
  color:var(--muted);
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.08em;
  font-weight:1000;
}
.liveStatsGrid b{
  color:var(--gold2);
  font-size:clamp(30px,4vw,54px);
  line-height:1;
}
.landingPanels{
  display:grid;
  grid-template-columns:1fr 1fr .85fr;
  gap:12px;
}
.livePanel{
  padding:18px;
}
.panelHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.panelHead h2{
  margin:0;
}
.landingList{
  display:grid;
  gap:8px;
}
.landingRow{
  display:grid;
  grid-template-columns:42px 1fr auto;
  gap:8px 12px;
  align-items:center;
  padding:11px;
  border-radius:18px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,214,107,.09);
}
.landingRow b{
  color:var(--gold2);
}
.landingRow strong{
  color:var(--text);
}
.landingRow small{
  grid-column:2/-1;
  color:var(--muted);
  font-weight:800;
}
.landingEmpty{
  color:var(--muted);
  padding:14px;
}
.pulseBig{
  display:grid;
  place-items:center;
  min-height:150px;
  text-align:center;
}
.pulseBig b{
  font-size:clamp(54px,7vw,94px);
  color:var(--gold2);
  line-height:1;
}
.pulseBig span{
  color:var(--muted);
  text-transform:uppercase;
  font-weight:1000;
  letter-spacing:.08em;
}
.skeletonLine{
  height:48px;
  border-radius:18px;
  background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,214,107,.10),rgba(255,255,255,.04));
  background-size:220% 100%;
  animation:skeletonMove 1.4s linear infinite;
}
@keyframes skeletonMove{
  to{background-position:-220% 0}
}
@media(max-width:980px){
  .landingHero,
  .landingPanels{
    grid-template-columns:1fr;
  }
  .chronoEmblem{
    min-height:260px;
  }
  .liveStatsGrid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:560px){
  .landingHero{
    padding:22px;
    border-radius:28px;
  }
  .heroCopy h1{
    font-size:clamp(42px,15vw,72px);
  }
  .liveStatsGrid{
    grid-template-columns:1fr 1fr;
  }
  .landingRow{
    grid-template-columns:34px 1fr;
  }
  .landingRow strong{
    grid-column:2;
  }
}

/* v51 public homepage, gated arena, roles and messages */
.publicLore{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:12px;
  margin:clamp(18px,3vw,30px) 0;
}
.publicLore article,
.publicFeatureGrid article,
.publicModes,
.staffPanel,
.messagesPanel{
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  border:1px solid rgba(255,214,107,.14);
  padding:clamp(18px,2.2vw,26px);
  box-shadow:0 18px 70px rgba(0,0,0,.2);
}
.publicLore h2,
.publicFeatureGrid h2,
.publicModes h2{
  margin-top:0;
}
.quote{
  font-size:clamp(22px,2.4vw,34px);
  font-weight:1000;
  line-height:1.02;
  letter-spacing:-.04em;
  color:var(--gold2);
}
.publicLore span{
  color:var(--muted);
}
.publicFeatureGrid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:clamp(18px,3vw,30px);
}
.pillCloud,
.rankPreview{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pillCloud span,
.rankPreview span{
  display:inline-flex;
  gap:5px;
  padding:9px 11px;
  border-radius:999px;
  background:rgba(255,214,107,.10);
  border:1px solid rgba(255,214,107,.18);
  color:var(--gold2);
  font-weight:900;
}
.pillCloud small{
  color:var(--muted);
}
.skillStack{
  display:grid;
  gap:8px;
}
.skillStack div{
  display:grid;
  grid-template-columns:44px 1fr;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:16px;
  background:rgba(0,0,0,.18);
}
.skillStack b{
  display:grid;
  place-items:center;
  height:38px;
  width:38px;
  border-radius:12px;
  background:var(--gold2);
  color:#1b1204;
}
.publicModes{
  margin-bottom:clamp(18px,3vw,30px);
}
.publicModes>div{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.publicModes article{
  padding:15px;
  border-radius:18px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,214,107,.10);
}
.publicModes b{
  display:block;
  color:var(--gold2);
  margin-bottom:4px;
}
.publicModes span{
  color:var(--muted);
}
body:not(.isLoggedIn) #boardPanel{
  margin-top:18px;
}
.staffGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.staffGrid article{
  border-radius:18px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,214,107,.12);
  padding:16px;
}
.messagesHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.messagesLayout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  gap:14px;
}
.messageList{
  display:grid;
  gap:10px;
  max-height:380px;
  overflow:auto;
}
.msgBubble{
  padding:12px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,214,107,.12);
}
.msgBubble b{
  color:var(--gold2);
}
.msgBubble small{
  display:block;
  color:var(--muted);
  margin:2px 0 8px;
}
.msgBubble p{
  margin:0;
}
.messageForm{
  display:grid;
  gap:10px;
}
.messageForm textarea{
  min-height:145px;
}
.userProfileBtn small{
  margin-left:6px;
  color:var(--muted);
  font-weight:900;
}
@media(max-width:1040px){
  .publicLore,
  .publicFeatureGrid,
  .publicModes>div,
  .staffGrid,
  .messagesLayout{
    grid-template-columns:1fr;
  }
}

.topNav{
  display:flex;
  gap:8px;
  align-items:center;
}
.topNav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:1000;
  padding:9px 11px;
  border-radius:999px;
  border:1px solid transparent;
}
.topNav a:hover{
  color:var(--gold2);
  border-color:rgba(255,214,107,.2);
  background:rgba(255,214,107,.08);
}
body:not(.isLoggedIn) .arenaNav{
  display:none;
}
@media(max-width:820px){
  .topNav{order:3;width:100%;justify-content:center}
}

/* v52 arena as own clean screen + random landing symbols */
.arenaPage{
  margin-top:clamp(18px,3vw,30px);
}
.arenaPageHead{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin-bottom:14px;
  padding:clamp(18px,3vw,28px);
  border-radius:30px;
  background:linear-gradient(135deg,rgba(255,214,107,.12),rgba(255,255,255,.025));
  border:1px solid rgba(255,214,107,.16);
}
.arenaPageHead h1{
  margin:.08em 0 0;
  font-size:clamp(36px,5vw,72px);
  line-height:.9;
  letter-spacing:-.065em;
}
.arenaHomeLink{
  text-decoration:none;
  white-space:nowrap;
}
body.arenaView .landingStage,
body.arenaView .publicLore,
body.arenaView .publicFeatureGrid,
body.arenaView .publicModes,
body.arenaView #authPanel{
  display:none!important;
}
body.arenaView .arenaPage{
  display:block!important;
}
body:not(.arenaView) .arenaPage{
  display:none!important;
}
.symbolFeature{
  position:relative;
  overflow:hidden;
  min-height:230px;
}
.symbolRain{
  position:relative;
  min-height:108px;
  margin-top:12px;
  border-radius:22px;
  background:radial-gradient(circle at 25% 30%,rgba(255,214,107,.12),transparent 36%),rgba(0,0,0,.14);
  border:1px solid rgba(255,214,107,.10);
  overflow:hidden;
}
.symbolRain span{
  position:absolute;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:16px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,214,107,.16);
  font-size:24px;
  left:calc((var(--i) * 17%) % 92%);
  top:calc((var(--i) * 29%) % 68%);
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.22));
  animation:symbolFloat calc(4s + (var(--i) * .23s)) ease-in-out infinite;
}
.rankRain span{
  background:rgba(255,214,107,.10);
}
@keyframes symbolFloat{
  0%,100%{transform:translateY(0) rotate(-4deg) scale(1)}
  50%{transform:translateY(-10px) rotate(5deg) scale(1.07)}
}
@media(max-width:820px){
  .arenaPageHead{
    align-items:start;
    flex-direction:column;
  }
  .arenaHomeLink{
    width:100%;
    justify-content:center;
  }
}

/* v53 arena cleanup + nav update */
.arenaPageHead{
  display:none!important;
}
body.arenaView #boardPanel{
  display:block;
  margin-top:clamp(18px,3vw,30px);
}
body.gameActive #boardPanel,
body.gameOnly #boardPanel{
  display:none!important;
}
.messagesPanel{
  display:none!important;
}
body:not(.isLoggedIn) .arenaNav{
  display:none;
}
body.isLoggedIn .arenaNav{
  display:inline-flex;
}
body.isLoggedIn #homeNav{
  display:inline-flex;
}

/* v54 navigation visibility fix */
.topNav{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  flex-wrap:wrap;
}
.topNav a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
}
body:not(.isLoggedIn) .arenaNav{
  display:none!important;
}
body.isLoggedIn .arenaNav{
  display:inline-flex!important;
}
body.isLoggedIn #homeNav,
body.isLoggedIn #scoresNav{
  display:inline-flex!important;
}

/* v54 chat inbox + admin role login */
.messagesPanel{
  display:block;
  margin-top:clamp(18px,3vw,30px);
}
.messagesLayout{
  grid-template-columns:minmax(0,1fr) minmax(220px,320px)!important;
}
.chatWindow{
  display:grid;
  gap:12px;
  min-width:0;
}
.chatTitle{
  color:var(--gold2);
  font-weight:1000;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,214,107,.08);
  border:1px solid rgba(255,214,107,.16);
}
.chatContacts{
  padding:12px;
  border-radius:20px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,214,107,.12);
}
.chatContacts h3{
  margin-top:0;
}
.chatContactList{
  display:grid;
  gap:8px;
  margin-top:10px;
}
.chatContactBtn{
  justify-content:flex-start;
  text-align:left;
  border-radius:14px;
  background:rgba(255,255,255,.055);
}
.msgBubble{
  max-width:min(76%,680px);
}
.msgBubble.mine{
  margin-left:auto;
  background:linear-gradient(135deg,rgba(255,214,107,.18),rgba(255,214,107,.07));
  border-color:rgba(255,214,107,.28);
}
.msgBubble.theirs{
  margin-right:auto;
}
.replyBtn{
  margin-top:8px;
  min-height:30px;
  padding:6px 10px;
  font-size:12px;
}
.messageForm{
  grid-template-columns:130px minmax(160px,260px) 1fr auto!important;
  align-items:end;
}
.messageForm textarea{
  min-height:58px!important;
}
.adminRole{
  color:var(--gold2);
  font-weight:1000;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,214,107,.1);
  border:1px solid rgba(255,214,107,.2);
}
@media(max-width:920px){
  .messagesLayout,
  .messageForm{
    grid-template-columns:1fr!important;
  }
  .msgBubble{
    max-width:100%;
  }
}

/* v55 nav fixed beside logo + admin helper fix */
.topbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
.topLeft{
  display:flex!important;
  align-items:center!important;
  gap:clamp(10px,1.5vw,18px)!important;
  min-width:0;
}
.topLeft .brand{
  flex:0 0 auto;
}
.topNav{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  opacity:1!important;
  visibility:visible!important;
}
.topNav a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:38px;
  white-space:nowrap;
}
body.isLoggedIn #homeNav,
body.isLoggedIn #arenaNav,
body.isLoggedIn #scoresNav{
  display:inline-flex!important;
}
body:not(.isLoggedIn) #arenaNav{
  display:none!important;
}
@media(max-width:880px){
  .topbar{
    align-items:flex-start!important;
    flex-direction:column;
  }
  .topLeft{
    width:100%;
    flex-wrap:wrap;
  }
  .topRight{
    width:100%;
    justify-content:flex-start;
  }
}

/* v56 bulletproof nav + distributed symbol clouds */
.quickNav{
  position:sticky;
  top:0;
  z-index:9000;
  display:flex;
  gap:8px;
  padding:8px clamp(12px,2vw,24px);
  background:rgba(8,7,4,.82);
  border-bottom:1px solid rgba(255,214,107,.16);
  backdrop-filter:blur(14px);
}
.quickNav button{
  min-height:38px;
  padding:8px 13px;
  border-radius:999px;
}
body:not(.isLoggedIn) #quickArenaBtn{
  display:none!important;
}
body.isLoggedIn #quickArenaBtn,
body.isLoggedIn #quickHomeBtn,
body.isLoggedIn #quickScoresBtn{
  display:inline-flex!important;
}
.topNav{
  background:rgba(255,214,107,.08);
  border:1px solid rgba(255,214,107,.16);
  border-radius:999px;
  padding:4px;
}
.topNav a{
  color:var(--gold2)!important;
  background:rgba(0,0,0,.18)!important;
  border-color:rgba(255,214,107,.18)!important;
}
.symbolRain span{
  left:var(--x)!important;
  top:var(--y)!important;
  transform:translate(-50%,-50%);
}
@keyframes symbolFloat{
  0%,100%{transform:translate(-50%,-50%) translateY(0) rotate(-4deg) scale(1)}
  50%{transform:translate(-50%,-50%) translateY(-10px) rotate(5deg) scale(1.07)}
}

/* v57 functional CTAs + compact mobile game UI */
.quickNav{
  top:0!important;
  z-index:12000!important;
}
.quickNav button{
  cursor:pointer;
}
body:not(.isLoggedIn) #quickArenaBtn{
  display:inline-flex!important;
}
body:not(.isLoggedIn) #quickArenaBtn::after{
  content:"";
}
@media(max-width:720px){
  :root{
    --mobile-pad:10px;
  }
  #app{
    padding:8px!important;
  }
  .shell{
    gap:10px!important;
  }
  .topbar{
    gap:8px!important;
    padding:8px!important;
    border-radius:18px!important;
  }
  .brand small{
    display:none!important;
  }
  .brand b{
    font-size:15px!important;
  }
  .mark{
    width:38px!important;
    height:38px!important;
  }
  .topRight{
    gap:6px!important;
  }
  .fxToggle{
    padding:6px 8px!important;
    font-size:11px!important;
  }
  .userbox button,
  .userbox span{
    font-size:12px!important;
    padding:7px 9px!important;
  }
  .quickNav{
    padding:6px 8px!important;
    gap:6px!important;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .quickNav::-webkit-scrollbar{
    display:none;
  }
  .quickNav button{
    min-height:34px!important;
    padding:6px 10px!important;
    font-size:12px!important;
    white-space:nowrap;
  }
  .hero.card,
  .landingHero,
  .publicLore article,
  .publicFeatureGrid article,
  .publicModes,
  .card{
    border-radius:18px!important;
    padding:12px!important;
  }
  .hero h1,
  .heroCopy h1{
    font-size:clamp(34px,12vw,56px)!important;
    line-height:.9!important;
  }
  .landingLead,
  .hero p{
    font-size:14px!important;
    line-height:1.3!important;
  }
  .landingCtas{
    gap:8px!important;
    margin-top:12px!important;
  }
  .landingCtas button{
    min-height:38px!important;
    padding:8px 11px!important;
    font-size:12px!important;
  }
  .chronoEmblem{
    min-height:160px!important;
  }
  .chronoEmblem img{
    width:min(190px,58vw)!important;
  }
  .orbit{
    width:min(230px,68vw)!important;
  }
  .liveStatsGrid{
    gap:8px!important;
  }
  .liveStatsGrid article{
    padding:10px!important;
    border-radius:16px!important;
  }
  .liveStatsGrid b{
    font-size:28px!important;
  }
  .liveStatsGrid span,
  .panelHead small{
    font-size:10px!important;
  }
  .landingPanels,
  .publicLore,
  .publicFeatureGrid,
  .publicModes>div{
    gap:8px!important;
  }
  .symbolFeature{
    min-height:170px!important;
  }
  .symbolRain{
    min-height:82px!important;
  }
  .symbolRain span{
    width:32px!important;
    height:32px!important;
    font-size:19px!important;
    border-radius:12px!important;
  }
  .controls{
    gap:7px!important;
  }
  .controls h2{
    margin:0 0 4px!important;
    font-size:20px!important;
  }
  label{
    font-size:12px!important;
  }
  select,input,textarea,button{
    font-size:14px!important;
  }
  select,input{
    min-height:36px!important;
  }
  .controls button.gold{
    min-height:42px!important;
  }
  .hint{
    font-size:11px!important;
    line-height:1.25!important;
  }
  .arenaHead{
    gap:8px!important;
    align-items:flex-start!important;
  }
  .arenaHead h2{
    font-size:20px!important;
  }
  .arenaActions{
    width:100%;
    gap:6px!important;
  }
  .arenaActions button{
    flex:1 1 auto;
    min-height:36px!important;
    padding:7px 9px!important;
  }
  #gameArea{
    min-height:0!important;
  }
  .gameSideHud{
    right:6px!important;
    top:auto!important;
    bottom:8px!important;
    gap:5px!important;
  }
  .gameSideHud div{
    padding:6px 8px!important;
    border-radius:12px!important;
  }
  .gameSideHud b{
    font-size:18px!important;
  }
  .gameSideHud span{
    font-size:9px!important;
  }
  .higherLowerArena{
    gap:8px!important;
  }
  .hlCard{
    min-height:180px!important;
    padding:13px!important;
    border-radius:20px!important;
  }
  .hlCard h3{
    font-size:clamp(22px,7vw,34px)!important;
  }
  .hlCard p{
    font-size:13px!important;
    line-height:1.25!important;
  }
  .hlDate{
    font-size:clamp(28px,12vw,52px)!important;
  }
  .timelineWrap,
  .timelineHorizontal{
    min-height:240px!important;
  }
  .dropZone{
    min-height:54px!important;
  }
  .sortList{
    gap:7px!important;
  }
  .sortCard{
    padding:10px!important;
    border-radius:15px!important;
  }
  .sortCard h3{
    font-size:16px!important;
  }
  .sortCard p{
    font-size:12px!important;
  }
  .board{
    padding:12px!important;
  }
  .highscoreControls{
    gap:7px!important;
  }
}
@media(max-width:420px){
  .topLeft{
    gap:6px!important;
  }
  .topNav{
    padding:3px!important;
    gap:4px!important;
    overflow-x:auto;
    max-width:100%;
  }
  .topNav a{
    min-height:32px!important;
    padding:6px 8px!important;
    font-size:11px!important;
  }
  .publicLore,
  .publicFeatureGrid,
  .landingPanels{
    grid-template-columns:1fr!important;
  }
  .liveStatsGrid{
    grid-template-columns:repeat(2,1fr)!important;
  }
}
