/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #0e0c11;
  --bg-2: #17131c;
  --card: #1d1824;
  --line: rgba(232, 184, 109, 0.16);
  --gold: #e8b86d;
  --gold-2: #c4893a;
  --mint: #8fd0c4;
  --rose: #e08b8b;
  --text: #f4eee4;
  --muted: #9b9186;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(232, 184, 109, 0.16), transparent 58%),
    radial-gradient(760px 480px at 96% 4%, rgba(143, 208, 196, 0.11), transparent 52%),
    radial-gradient(700px 420px at 70% 110%, rgba(224, 139, 139, 0.07), transparent 50%),
    linear-gradient(180deg, #120f16 0%, var(--bg) 40%, #0c0a0f 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
.shell::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: auto -10% -18% auto;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,208,196,.09), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 12, 17, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
          backdrop-filter: blur(16px) saturate(1.15);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0.12em;
  font-size: 22px;
  text-shadow: 0 0 28px rgba(232,184,109,.18);
}
.brand span { color: var(--gold); }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-right > a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.topbar-right > a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  color: var(--text); border-radius: 999px; padding: 4px 10px 4px 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.user-chip:hover { border-color: var(--gold); background: rgba(232,184,109,.08); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #2a2430; display: grid; place-items: center;
  overflow: hidden; border: 1px solid var(--line);
  flex-shrink: 0;
}
.avatar-lg { width: 56px; height: 56px; font-size: 22px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(260px, 320px);
  grid-gap: 20px;
  gap: 20px;
  padding: 24px 28px 28px;
  align-items: start;
}
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  }
  .activity-side {
    grid-column: 1 / -1;
    max-height: 280px;
  }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}

.card {
  background:
    linear-gradient(165deg, rgba(255,255,255,0.045), transparent 42%),
    linear-gradient(180deg, rgba(232,184,109,0.035), transparent 30%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,184,109,.35), transparent);
  opacity: .7;
}
.card h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.leaderboard {
  padding: 20px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  position: -webkit-sticky;
  position: sticky;
  top: 78px;
}
.activity-side {
  padding: 18px 16px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  position: -webkit-sticky;
  position: sticky;
  top: 78px;
  margin: 0 !important;
}
.nick-hit {
  background: none;
  color: var(--mint);
  border-radius: 0;
  padding: 0;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(143, 208, 196, 0.35);
}
.nick-place-1 {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(232, 184, 109, 0.5);
}
.nick-place-2 {
  color: #c9d2de;
  text-shadow: 0 0 10px rgba(201, 210, 222, 0.35);
}
.nick-place-3 {
  color: #d19a68;
  text-shadow: 0 0 10px rgba(209, 154, 104, 0.4);
}
.place-row {
  display: grid;
  grid-template-columns: 36px 40px 1fr auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.place-row:hover, .place-row.active {
  background: rgba(232, 184, 109, 0.08);
  border-color: var(--line);
  transform: translateY(-1px);
}
.place-num {
  font-family: "Unbounded", sans-serif;
  color: var(--gold);
  display: grid;
  place-items: center;
  min-height: 28px;
  font-size: 13px;
}
.place-crown {
  width: 26px;
  height: 26px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.place-crown.gold { color: #e8c57a; }
.place-crown.silver { color: #cfd5df; }
.place-crown.bronze { color: #c9966a; }
.place-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #2a2430; display: grid; place-items: center;
  overflow: hidden; border: 1px solid var(--line);
  flex-shrink: 0; font-weight: 800; font-size: 14px;
}
.place-avatar img { width: 100%; height: 100%; object-fit: cover; }
.place-row.top-1 .place-avatar { border-color: #efd08a; box-shadow: 0 0 0 2px rgba(239,208,138,.22); }
.place-row.top-2 .place-avatar { border-color: #c9d2de; }
.place-row.top-3 .place-avatar { border-color: #d19a68; }
.place-name { font-weight: 700; }
.place-sub { color: var(--muted); font-size: 12px; }
.place-pts {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  color: var(--mint);
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(143,208,196,.1);
  border: 1px solid rgba(143,208,196,.18);
}

.wheel-wrap { padding: 22px; display: grid; justify-items: center; grid-gap: 18px; gap: 18px; }
.wheel-stage {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
}
.wheel-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,184,109,.22), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.wheel-stage.is-spinning .wheel-glow {
  animation: wheel-pulse 1.2s ease-in-out infinite;
}
@keyframes wheel-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.wheel-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(145deg, #2a2430, #141117 55%, #1c1822);
  box-shadow:
    inset 0 0 0 1px rgba(232,184,109,.2),
    0 18px 40px rgba(0,0,0,.45),
    0 0 40px rgba(232,184,109,.08);
  z-index: 1;
}
.pointer {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.45));
}
.pointer span {
  display: block;
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 28px solid var(--gold);
  position: relative;
}
.pointer span::after {
  content: "";
  position: absolute;
  top: -28px;
  left: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f0d19a, #c4893a);
  box-shadow: 0 0 0 2px rgba(16,14,18,.55);
}
.wheel-svg {
  width: 100%;
  height: 100%;
  transition-property: transform;
  border-radius: 50%;
}
.hub {
  position: absolute;
  inset: 43%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #2c2533, #141117 70%);
  border: 2px solid var(--gold);
  box-shadow:
    inset 0 0 18px rgba(232,184,109,.18),
    0 8px 20px rgba(0,0,0,.4);
  display: grid;
  place-items: center;
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
  z-index: 3;
  color: var(--gold);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, opacity .15s ease;
}
.hub:hover:not(:disabled) {
  transform: scale(1.04);
  border-color: #f0d19a;
  color: #f0d19a;
}
.hub:active:not(:disabled) { transform: scale(0.97); }
.hub:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--line);
}
.hub-label { pointer-events: none; }

.row-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn {
  border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  background: linear-gradient(180deg, #f0d19a, var(--gold-2));
  color: #1a140c; font-weight: 800;
  box-shadow: 0 8px 18px rgba(196,137,58,.22);
  transition: transform .12s ease, filter .12s ease, opacity .12s ease;
}
.btn:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(0.98); filter: brightness(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.btn.ghost {
  background: rgba(255,255,255,.03); color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--gold);
  background: rgba(232,184,109,.08);
  filter: none;
}
.btn.danger {
  background: linear-gradient(180deg, #f0a8a8, #d97878);
  color: #2a1212;
  box-shadow: 0 8px 18px rgba(224,139,139,.2);
}
.btn.mint {
  background: linear-gradient(180deg, #b6e4db, #6fb8ac);
  color: #10221e;
  box-shadow: 0 8px 18px rgba(143,208,196,.2);
}

.lots { width: 100%; display: grid; grid-gap: 8px; gap: 8px; max-height: 280px; overflow: auto; }
.lot {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 11px 13px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent), #17131c;
  border: 1px solid var(--line);
  transition: border-color .15s ease, background .15s ease;
}
.lot:hover { border-color: rgba(232,184,109,.28); }
.lot.is-clickable { cursor: pointer; }
.lot.is-clickable:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent), #1b1620;
}
.lot small { color: var(--muted); }
.lot-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.source-sq {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: #141117;
  color: var(--muted);
  flex-shrink: 0;
  text-decoration: none;
}
.source-sq.is-link {
  cursor: pointer;
}
.source-sq.is-link:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}
.source-sq.hltb {
  color: #8fd0c4;
  border-color: rgba(143, 208, 196, 0.4);
  background: rgba(143, 208, 196, 0.1);
}
.source-sq.cubiq {
  color: #e8b86d;
  border-color: rgba(232, 184, 109, 0.4);
  background: rgba(232, 184, 109, 0.1);
}
.source-sq.manual {
  color: var(--muted);
}

.grid-diff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}
.diff {
  border: 1px solid var(--line);
  background: #17131c;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.diff:hover:not(.off) { transform: translateY(-1px); }
.diff.on { border-color: var(--gold); background: rgba(232,184,109,.12); }
.diff.off { opacity: 0.45; cursor: default; }
.diff b { display: block; font-size: 13px; }
.diff span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.diff input {
  width: 100%;
  margin-top: 6px;
  background: #141117;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 8px;
}
.invite-banner {
  width: 100%;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.invite-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(143, 208, 196, 0.12);
  border: 1px solid var(--line);
}

.modal-back {
  position: fixed; inset: 0; background: rgba(8,6,10,.72);
  display: grid; place-items: center; z-index: 30; padding: 20px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.modal-back.sheet {
  z-index: 21;
  place-items: stretch end;
  padding: 12px;
  justify-items: end;
}
.modal-back.nested { z-index: 40; }
.modal {
  width: min(560px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 22;
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  align-content: start;
}
.modal h3 { font-family: "Unbounded", sans-serif; margin: 0; }
.modal .field {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 0;
}
.modal .field > label:first-child {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal .row-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
}
.modal .row-actions input { width: 100%; min-width: 0; }
.modal .search-hit {
  margin: 0;
}
.modal .grid-diff { margin: 0; }
.field.scroll {
  max-height: 160px;
  overflow: auto;
  padding: 10px 12px;
  border-radius: 14px;
  background: #141117;
  border: 1px solid var(--line);
}
.field input, .field select {
  background: #141117; border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 10px 12px;
}
.field input:disabled {
  opacity: 0.45;
  cursor: default;
}
.field input.is-miss {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(224, 139, 139, 0.2);
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  color: var(--text);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  line-height: 1.35;
}
.check input {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(232, 184, 109, 0.38);
  background: #141117;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.check input[type="radio"] { border-radius: 50%; }
.check input:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 109, 0.12);
}
.check input:checked {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f0d19a, var(--gold-2));
  box-shadow: 0 0 0 3px rgba(232, 184, 109, 0.16);
}
.check input:checked::after {
  content: "";
  width: 11px;
  height: 6px;
  border: 2px solid #141117;
  border-top: 0;
  border-right: 0;
  transform: rotate(-46deg) translate(0, -1px);
}
.check input[type="radio"]:checked::after {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #141117;
  transform: none;
}
.check input:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}
.check:has(input:disabled) {
  cursor: default;
  color: var(--muted);
}

.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  position: relative;
}
.login-page::before {
  content: "";
  position: absolute;
  width: min(480px, 80vw);
  height: min(480px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,184,109,.16), transparent 70%);
  filter: blur(8px);
}
.login-card {
  width: min(420px, 100%);
  padding: 36px 28px;
  text-align: center;
  position: relative;
}
.login-card p { color: var(--muted); }
.login-card .btn { width: 100%; margin-top: 8px; }

.player-card {
  width: min(460px, 100%);
  max-height: calc(100vh - 24px);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 22%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.player-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,184,109,.35), transparent);
}
.player-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 19, 28, 0.92);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}
.player-card-head h3 {
  margin: 0 0 8px;
  font-family: "Unbounded", sans-serif;
  font-size: 20px;
  line-height: 1.15;
}
.player-card-body {
  padding: 16px 18px 22px;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  align-content: start;
}
.player-card section { display: grid; grid-gap: 8px; gap: 8px; }
.player-card h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.pc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #2a2430;
  border: 2px solid var(--line);
  flex-shrink: 0;
  font-weight: 800;
  font-size: 22px;
}
.pc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pc-avatar.top-1 { border-color: #efd08a; box-shadow: 0 0 0 3px rgba(239,208,138,.22); }
.pc-avatar.top-2 { border-color: #c9d2de; box-shadow: 0 0 0 3px rgba(201,210,222,.18); }
.pc-avatar.top-3 { border-color: #d19a68; box-shadow: 0 0 0 3px rgba(209,154,104,.2); }
.pc-identity { min-width: 0; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.pc-chip.gold {
  color: #1a140c;
  background: linear-gradient(180deg, #f0d19a, var(--gold-2));
  border-color: transparent;
}
.pc-chip.mint {
  color: #10221e;
  background: linear-gradient(180deg, #b6e4db, #6fb8ac);
  border-color: transparent;
}
.pc-chip.rose {
  color: #2a1212;
  background: linear-gradient(180deg, #f0a8a8, #d97878);
  border-color: transparent;
}
.pc-nick { margin: 0; }
.player-card .field {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.player-card .field > label:first-child {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pc-nick-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 8px;
  gap: 8px;
}
.pc-nick-row input { width: 100%; min-width: 0; }
.pc-add { width: 100%; justify-content: center; }
.history-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.history-item.is-playing {
  background: linear-gradient(180deg, rgba(143, 208, 196, .16), rgba(23, 19, 28, .94)), #17131c;
  border-color: rgba(143, 208, 196, .32);
}
.pc-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.pc-fold {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent), #17131c;
  padding: 4px 10px 10px;
}
.pc-fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 4px;
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.pc-fold > summary::-webkit-details-marker { display: none; }
.pc-fold > summary::after {
  content: "▾";
  float: right;
  color: var(--muted);
  font-size: 12px;
}
.pc-fold[open] > summary::after { content: "▴"; }
.pc-fold .history-item,
.pc-fold .lot,
.pc-fold .activity-row,
.pc-fold .drawn-card {
  margin-top: 8px;
}
.active-strip { margin: 0 28px 36px; padding: 20px; }
.current-play { margin: 0 28px 20px; padding: 20px; }
.current-play-body {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.active-list { display: flex; flex-wrap: wrap; gap: 10px; }
.active-chip {
  display: grid; grid-gap: 2px; gap: 2px; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent), #17131c;
  color: var(--text);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; cursor: pointer; min-width: 180px;
  transition: border-color .15s ease, transform .12s ease;
}
.active-chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.active-chip span { font-weight: 700; }
.active-chip small { color: var(--muted); }
.profile-panel { padding: 20px; display: grid; grid-gap: 16px; gap: 16px; }
.history-item {
  padding: 12px; border-radius: 16px; background: #17131c;
  border: 1px solid var(--line);
}
.history-item.is-done {
  background: linear-gradient(180deg, rgba(104, 164, 118, .18), rgba(23, 19, 28, .94)), #17131c;
  border-color: rgba(104, 164, 118, .32);
}
.history-item.is-dropped {
  background: linear-gradient(180deg, rgba(176, 92, 92, .18), rgba(23, 19, 28, .94)), #17131c;
  border-color: rgba(176, 92, 92, .32);
}
.history-item h4 { margin: 0 0 6px; }
.history-item-top h4 { margin: 0; }
.game-info-modal { max-width: 560px; }
.hltb-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}
.hltb-cell {
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(111, 184, 172, .2), rgba(23, 19, 28, .92));
  border: 1px solid rgba(143, 208, 196, .32);
}
.hltb-cell strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 20px;
  line-height: 1.1;
}
.hltb-cell span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
}
.game-info-head {
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: start;
}
.game-cover {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #120f16;
}
.game-cover-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 22px;
}
.genre-list { display: flex; flex-wrap: wrap; gap: 6px; }
.genre-chip {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(232, 184, 109, .12);
  border: 1px solid rgba(232, 184, 109, .22);
  font-size: 12px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  grid-gap: 4px;
  gap: 4px;
  margin-top: 8px;
}
.mini-cell {
  border-radius: 8px; padding: 6px 4px; text-align: center;
  background: #120f16; border: 1px solid transparent; font-size: 10px; color: var(--muted);
}
.mini-cell.on { border-color: var(--gold); color: var(--gold); background: rgba(232,184,109,.1); }

.search-hit {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  width: 100%;
  padding: 10px 12px; border-radius: 12px; cursor: pointer;
  background: transparent; color: var(--text); border: 1px solid transparent;
  text-align: left;
}
.search-hit:hover { background: rgba(255,255,255,.04); border-color: var(--line); }
.search-results { max-height: 220px; }
.source-pill {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
}
.player-pick-btn,
.player-pick {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #17131c;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.player-pick-btn:hover,
.player-pick:hover:not(:disabled) {
  border-color: rgba(232, 184, 109, .4);
  background: #1b1620;
}
.player-pick.on,
.player-pick-btn {
  border-color: rgba(232, 184, 109, .32);
}
.player-pick.on {
  background: rgba(232, 184, 109, .1);
}
.player-pick:disabled {
  opacity: 0.45;
  cursor: default;
}
.player-pick-count {
  font-weight: 800;
  color: var(--gold);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.player-pick-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  max-height: 52vh;
  overflow: auto;
}
.player-pick-modal { max-width: 440px; }
.picked-game {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(143,208,196,.1);
  border: 1px solid rgba(143,208,196,.28);
}

.lots-panel { margin: 0 28px 20px; padding: 18px 20px; }
.lots-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.spin-settings {
  width: min(520px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: flex-end;
  justify-content: center;
}
.spin-settings label {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.spin-settings input {
  width: 88px;
  background: #141117;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
}
.spin-reveal {
  width: min(520px, 100%);
  text-align: center;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(232,184,109,.22), rgba(23,19,28,.4));
  border: 1px solid rgba(232,184,109,.55);
  box-shadow: 0 0 28px rgba(232,184,109,.18);
  animation: reveal-pop .35s ease;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  justify-items: center;
}
.spin-reveal strong {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
  color: #f6efe6;
}
.drawn-card {
  width: 100%;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(232,184,109,.14), rgba(23,19,28,.96)),
    #17131c;
  border: 1px solid rgba(232,184,109,.38);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.drawn-head {
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
}
.drawn-cover {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(232,184,109,.3);
  background: #120f16;
}
.drawn-cover-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 24px;
}
.drawn-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}
.drawn-title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.08;
  margin: 4px 0 0;
}
.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
}
.drawn-start {
  width: 100%;
  justify-content: center;
}
.person-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.person-chip small {
  color: var(--muted);
  font-weight: 600;
}
.coop-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
@keyframes reveal-pop {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.activity-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.activity-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 14px;
  background: #17131c;
  border: 1px solid var(--line);
  font-size: 14px;
}
.activity-row small {
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.activity-row.is-you {
  background: linear-gradient(180deg, rgba(232, 184, 109, .2), rgba(23, 19, 28, .94)), #17131c;
  border-color: rgba(232, 184, 109, .42);
}

.scroll-panel { max-height: 70vh; overflow: auto; }
.notice { color: var(--muted); text-align: center; }
.error { color: var(--rose); font-size: 13px; }

