/* HSS Game UI — Arena Layout */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* ═══ TOP HUD (in-game) ═══ */
.hud {
  background: rgba(3, 3, 6, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(138, 79, 255, 0.25);
  padding: 16px 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hud-logo {
  height: 42px;
  vertical-align: middle;
}

.exit-btn {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--bcsh-white);
  background: transparent;
  border: 2px solid #444;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.exit-btn:hover {
  border-color: var(--bcsh-yellow);
  color: var(--bcsh-yellow);
}

.turn-pill {
  background: var(--bcsh-red);
  border: 3px solid var(--bcsh-black);
  padding: 10px 24px;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: 3px;
  box-shadow: 3px 3px 0 var(--bcsh-black);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hud-right {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.bitszen-counter, .glory-counter {
  background: rgba(3, 3, 6, 0.8);
  border: 1px solid rgba(77, 227, 255, 0.3);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.glory-counter {
  border-color: rgba(255, 220, 0, 0.3);
  flex-direction: column;
  gap: 2px;
}

.bitszen-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}

.bitszen-info {
  display: flex;
  flex-direction: column;
}

.bitszen-label {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1.5px;
  font-weight: 500;
}

.bitszen-value {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: var(--bcsh-yellow);
  letter-spacing: 2px;
  line-height: 1;
}

/* ═══ TURN STATUS BAR ═══ */
.turn-status {
  text-align: center;
  padding: 10px 20px;
  background: var(--bcsh-black);
  border-top: 2px solid var(--bcsh-red);
  border-bottom: 2px solid var(--bcsh-yellow);
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ═══ PHASE DOTS ═══ */
.phase-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 8px 0;
  background: var(--bcsh-dark);
}

.phase-dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
}

.phase-dot.active {
  background: var(--bcsh-yellow);
  border-color: var(--bcsh-yellow);
}

.phase-dot.done {
  background: var(--bcsh-red);
  border-color: var(--bcsh-red);
}

/* ═══ PRE-GAME TOP BAR ═══ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--bcsh-yellow);
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--bcsh-yellow);
  text-transform: uppercase;
}

.topbar-info { display: flex; align-items: center; gap: 1rem; }

.topbar-turn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--bcsh-red);
  letter-spacing: 0.1em;
}

.topbar-bitszen {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--bcsh-yellow);
  letter-spacing: 0.1em;
}

/* ═══ SCREENS ═══ */
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 5rem 1.5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.screen.active { display: flex; }

/* Game screen is full-width */
#screenGame {
  max-width: 100%;
  padding: 0;
  min-height: auto;
  justify-content: flex-start;
}

/* ═══ INTRO SCREEN ═══ */
.intro-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.intro-sub {
  color: rgba(255,255,255,0.6);
  text-align: center;
  max-width: 560px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.grad-text {
  color: var(--bcsh-yellow);
}

/* ═══ TUTORIAL ═══ */
.tut-box {
  background: var(--bcsh-dark);
  border: 3px solid rgba(255,255,255,0.08);
  padding: 2rem;
  max-width: 640px;
  width: 100%;
  text-align: center;
  position: relative;
}

.tut-step {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--bcsh-red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tut-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.tut-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tut-visual {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bcsh-black);
  border: 2px solid rgba(255,255,255,0.06);
}

/* ═══ BUTTONS ═══ */
.btn {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3px;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  text-transform: uppercase;
}

.btn-primary { background: var(--bcsh-yellow); color: var(--bcsh-black); border: 3px solid var(--bcsh-yellow); box-shadow: var(--shadow-pop); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-pop-hover); }
.btn-cyan { background: var(--bcsh-blue); color: var(--bcsh-white); border: 3px solid var(--bcsh-blue); box-shadow: 5px 5px 0 var(--bcsh-black); }
.btn-cyan:hover { transform: translate(-2px, -2px); }
.btn-secondary { background: var(--bcsh-dark); color: var(--bcsh-white); border: 2px solid rgba(255,255,255,0.1); }
.btn-secondary:hover { border-color: var(--bcsh-yellow); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-disabled { opacity: 0.4; pointer-events: none; }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* ═══ DECK SELECT ═══ */
.deck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 700px;
}

.deck-option {
  background: var(--bcsh-dark);
  border: 3px solid rgba(255,255,255,0.06);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.deck-option:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.deck-option.selected { border-color: var(--bcsh-yellow); box-shadow: 0 0 20px rgba(253, 200, 47, 0.15); }
.deck-name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; margin-bottom: 0.2rem; text-transform: uppercase; }
.deck-sub { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.deck-strat { font-size: 0.75rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ═══ DECK BUILDER ═══ */
.db-status {
  display: flex; gap: 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap;
  font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem;
  background: rgba(0,0,0,0.3); padding: 0.5rem 1rem; border-radius: 6px;
}
.db-status span { white-space: nowrap; }
.db-filters {
  display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.75rem;
}
.db-filter-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6); padding: 0.3rem 0.7rem; font-size: 0.7rem;
  cursor: pointer; transition: all 0.2s; border-radius: 4px; font-family: inherit;
}
.db-filter-btn:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.db-filter-btn.active { border-color: var(--bcsh-yellow); color: var(--bcsh-yellow); background: rgba(253,200,47,0.08); }
.db-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 1rem;
  width: 100%; max-width: 900px; min-height: 340px;
}
.db-pool, .db-deck {
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px; padding: 0.75rem; overflow-y: auto; max-height: 400px;
}
.db-pool-label {
  font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; text-transform: uppercase;
}
.db-pool-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.5rem;
}
.db-card {
  background: var(--bcsh-dark); border: 2px solid rgba(255,255,255,0.08);
  padding: 0.5rem; cursor: pointer; transition: all 0.2s; border-radius: 4px;
  position: relative;
}
.db-card:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-1px); }
.db-card.in-deck { border-color: var(--bcsh-yellow); background: rgba(253,200,47,0.06); }
.db-card.maxed { opacity: 0.4; pointer-events: none; }
.db-card-name { font-size: 0.75rem; font-weight: 600; color: #fff; margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-card-info { font-size: 0.6rem; color: rgba(255,255,255,0.5); }
.db-card-info span { margin-right: 0.4rem; }
.db-card-ability { font-size: 0.55rem; color: rgba(255,255,255,0.35); margin-top: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-card-qty {
  position: absolute; top: 4px; right: 6px; font-size: 0.6rem;
  color: var(--bcsh-yellow); font-weight: 700;
}
.db-deck-list { display: flex; flex-direction: column; gap: 0.35rem; }
.db-deck-item {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 0.35rem 0.5rem; border-radius: 4px; font-size: 0.7rem;
}
.db-deck-item .db-item-name { color: #fff; flex: 1; }
.db-deck-item .db-item-cost { color: var(--gold); font-size: 0.6rem; margin-right: 0.5rem; }
.db-deck-item .db-item-qty { color: rgba(255,255,255,0.5); font-size: 0.6rem; margin-right: 0.5rem; }
.db-deck-item .db-remove {
  background: none; border: none; color: var(--bcsh-red); cursor: pointer;
  font-size: 0.8rem; padding: 0 0.3rem; font-family: inherit;
}
.db-deck-item .db-remove:hover { color: #ff6666; }

@media (max-width: 700px) {
  .db-layout { grid-template-columns: 1fr; }
  .db-pool, .db-deck { max-height: 250px; }
  .db-pool-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ═══ DIFFICULTY SELECT ═══ */
.diff-select { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.diff-btn {
  padding: 0.5rem 1.2rem;
  background: var(--bcsh-dark);
  border: 2px solid rgba(255,255,255,0.1);
  color: var(--bcsh-white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}

.diff-btn:hover { border-color: rgba(255,255,255,0.3); }
.diff-btn.active { border-color: var(--bcsh-yellow); background: rgba(253, 200, 47, 0.1); color: var(--bcsh-yellow); }

/* ═══ ARENA GRID ═══ */
.arena {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 16px;
  padding: 20px 30px;
  max-width: 1440px;
  margin: 0 auto;
}

/* ═══ PORTRAITS ═══ */
.portrait {
  position: relative;
  display: flex;
  flex-direction: column;
}

.portrait-frame {
  position: relative;
  border: 2px solid;
  background: var(--bcsh-black);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.portrait-bot .portrait-frame {
  border-color: rgba(255, 60, 60, 0.6);
  background: linear-gradient(180deg, rgba(255,60,60,0.12), rgba(3,3,6,0.9));
}

.portrait-you .portrait-frame {
  border-color: rgba(138, 79, 255, 0.6);
  background: linear-gradient(180deg, rgba(138,79,255,0.12), rgba(3,3,6,0.9));
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-nametag {
  background: rgba(3, 3, 6, 0.9);
  padding: 8px 10px;
  text-align: center;
  border: 1px solid;
  border-top: none;
}

.portrait-bot .portrait-nametag { border-color: rgba(255, 60, 60, 0.4); }
.portrait-you .portrait-nametag { border-color: rgba(138, 79, 255, 0.4); }

.portrait-name {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
}

.portrait-bot .portrait-name { color: var(--bcsh-red); }
.portrait-you .portrait-name { color: var(--bcsh-yellow); }

.portrait-sub {
  font-family: var(--font-display);
  font-size: 10px;
  color: #888;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.hp-bar {
  background: var(--bcsh-black);
  border: 2px solid;
  padding: 5px;
  margin-top: 4px;
  position: relative;
}

.portrait-bot .hp-bar { border-color: var(--bcsh-red); }
.portrait-you .hp-bar { border-color: var(--bcsh-yellow); }

.hp-fill {
  height: 14px;
  background: var(--bcsh-red);
  width: 100%;
  transition: width 0.5s ease;
}

.portrait-you .hp-fill { background: var(--bcsh-yellow); }

.hp-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  color: var(--bcsh-white);
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 var(--bcsh-black);
  z-index: 2;
}

.portrait-you .hp-text { color: var(--bcsh-black); }

/* ═══ NODES (center column) ═══ */
.nodes-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nodes-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.node {
  position: relative;
  border: 1px dashed rgba(138, 79, 255, 0.35);
  min-height: 120px;
  background: rgba(3, 3, 6, 0.7);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.node-you.deploy-target {
  border: 2px solid rgba(138, 79, 255, 0.7);
  box-shadow:
    0 0 0 3px rgba(138, 79, 255, 0.12),
    inset 0 0 20px rgba(138, 79, 255, 0.08);
}

.node-bot {
  border-color: rgba(255, 60, 60, 0.3);
}

.node-empty {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 4px;
  color: rgba(253, 200, 47, 0.45);
  text-align: center;
  z-index: 1;
  text-shadow: 0 0 8px rgba(253, 200, 47, 0.15);
}

.node-bot .node-empty {
  color: rgba(227, 6, 19, 0.4);
  text-shadow: 0 0 8px rgba(227, 6, 19, 0.1);
}

/* Node result badge */
.node-result-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  z-index: 10;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.node-result-badge.you-win {
  background: rgba(253, 200, 47, 0.2);
  color: var(--bcsh-yellow);
  border: 1px solid var(--bcsh-yellow);
}

.node-result-badge.you-lose {
  background: rgba(227, 6, 19, 0.2);
  color: var(--bcsh-red);
  border: 1px solid var(--bcsh-red);
}

.node-result-badge.tie {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Cards row inside node — side by side */
.node-cards-row {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  z-index: 2;
}

/* Played card in node — inline, smaller */
.played-card {
  position: relative;
  width: 85px;
  aspect-ratio: 3/4.3;
  background: rgba(3, 3, 6, 0.9);
  border: 1px solid rgba(138, 79, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  overflow: hidden;
  flex-shrink: 0;
  animation: card-land 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.node-bot .played-card {
  border-color: rgba(255, 60, 60, 0.5);
}

.played-card.hidden-card {
  border-color: #444;
}

@keyframes card-land {
  0% { transform: translateY(-30px) scale(1.1); opacity: 0; }
  60% { transform: translateY(3px) scale(0.95); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.played-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.played-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.played-card-cost {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--bcsh-yellow);
  color: var(--bcsh-black);
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bcsh-black);
  z-index: 3;
}

.played-card-power {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  background: var(--bcsh-red);
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bcsh-black);
  z-index: 3;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.played-card-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(3, 3, 6, 0.92);
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 2px;
  text-align: center;
  letter-spacing: 0.5px;
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.played-card-elem {
  position: absolute;
  bottom: 20px;
  left: 2px;
  z-index: 3;
}

.played-card-elem .elem-icon {
  width: 18px;
  height: 18px;
  filter: brightness(1.1) saturate(1.2);
}

/* Hidden enemy card */
.played-card.hidden-card .played-card-inner {
  background: var(--bcsh-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-back-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bonus burst */
.bonus-burst {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  animation: wobble 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50% { transform: rotate(-2deg) scale(1.08); }
}

.bonus-burst svg {
  width: 50px;
  height: 60px;
}

/* ═══ LOCATION STRIP ═══ */
.location-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.location-card {
  background: rgba(8, 4, 18, 0.85);
  border: 1px solid rgba(138, 79, 255, 0.3);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.location-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.location-info {
  flex: 1;
  min-width: 0;
}

.location-name {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  color: var(--bcsh-yellow);
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.location-effect {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1.5px;
  margin-top: 3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.location-scores {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
}

.score-bot { color: var(--bcsh-red); text-shadow: 0 0 6px rgba(255,60,60,0.4); }
.score-divider { color: rgba(255,255,255,0.35); }
.score-you { color: var(--bcsh-yellow); text-shadow: 0 0 6px rgba(253,200,47,0.4); }

/* ═══ BOTTOM BAR: Hand + Actions ═══ */
.bottom-bar {
  padding: 20px 30px 20px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.hand {
  position: relative;
}

.hand-label {
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  color: var(--bcsh-yellow);
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-align: center;
}

.hand-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0;
}

/* ═══ HAND CARDS (flat, side by side) ═══ */
.hand-card {
  width: 110px;
  aspect-ratio: 3/4.3;
  background: rgba(3, 3, 6, 0.9);
  border: 2px solid rgba(138, 79, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
  flex-shrink: 0;
}

.hand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 20px rgba(138, 79, 255, 0.3);
  border-color: rgba(138, 79, 255, 0.7);
  z-index: 10;
}

.hand-card.selected-card {
  transform: translateY(-12px);
  box-shadow: 0 4px 20px rgba(138, 79, 255, 0.4);
  border-color: rgba(138, 79, 255, 0.9);
  z-index: 10;
}

.hand-card.selected-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(138, 79, 255, 0.8);
  box-shadow: 0 0 20px rgba(138, 79, 255, 0.5);
  animation: pulse-border 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-border {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hand-card.unaffordable {
  opacity: 0.35;
  border-color: #444;
}

.hand-card-img {
  width: 100%;
  height: 62%;
  object-fit: contain;
  object-position: center;
  background: var(--bcsh-dark);
}

.hand-card-placeholder {
  width: 100%;
  height: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  color: rgba(255,255,255,0.15);
}

.hand-card-cost {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: var(--bcsh-yellow);
  color: var(--bcsh-black);
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bcsh-black);
  z-index: 3;
}

.hand-card-power {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: var(--bcsh-red);
  color: var(--bcsh-white);
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bcsh-black);
  z-index: 3;
}

.hand-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: var(--bcsh-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.hand-card-name {
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 1px;
  text-align: center;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.hand-card-element {
  margin-top: 3px;
}

.hand-card-element .elem-icon {
  width: 22px;
  height: 22px;
  filter: brightness(1.1) saturate(1.2);
}

/* ═══ AWAKENED — NFT HOLDER PREMIUM VISUALS ═══ */
.hand-card.awakened,
.played-card.awakened {
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(255, 220, 0, 0.3), 0 0 32px rgba(255, 220, 0, 0.1);
  animation: awakened-glow 3s ease-in-out infinite;
  overflow: hidden;
}
.hand-card.awakened::before,
.played-card.awakened .played-card-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 220, 0, 0.08), transparent, rgba(180, 123, 255, 0.06), transparent);
  animation: awakened-rotate 6s linear infinite;
  z-index: 1;
  pointer-events: none;
}
.hand-card.awakened::after,
.played-card.awakened .played-card-inner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: awakened-shimmer 4s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

/* Awakened name glow */
.hand-card.awakened .hand-card-name {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 220, 0, 0.5);
}
.played-card.awakened .played-card-name {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 220, 0, 0.5);
}

/* Rarity-specific colors */
.hand-card.awakened.rarity-legendary,
.played-card.awakened.rarity-legendary {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.15);
}
.hand-card.awakened.rarity-epic,
.played-card.awakened.rarity-epic {
  border-color: #a878ba;
  box-shadow: 0 0 20px rgba(168, 120, 186, 0.35), 0 0 40px rgba(168, 120, 186, 0.15);
}
.hand-card.awakened.rarity-rare,
.played-card.awakened.rarity-rare {
  border-color: #5b8fb9;
  box-shadow: 0 0 16px rgba(91, 143, 185, 0.3), 0 0 32px rgba(91, 143, 185, 0.1);
}

/* Awakened deploy animation — extra particle burst */
@keyframes awakened-deploy {
  0% { transform: translateY(-30px) scale(1.2); opacity: 0; box-shadow: 0 0 40px rgba(255, 220, 0, 0.6); }
  50% { transform: translateY(3px) scale(0.95); opacity: 1; box-shadow: 0 0 25px rgba(255, 220, 0, 0.4); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.played-card.awakened {
  animation: awakened-deploy 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2), awakened-glow 3s ease-in-out 0.5s infinite;
}

@keyframes awakened-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 220, 0, 0.25), 0 0 32px rgba(255, 220, 0, 0.1); }
  50% { box-shadow: 0 0 24px rgba(255, 220, 0, 0.4), 0 0 48px rgba(255, 220, 0, 0.15); }
}
@keyframes awakened-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes awakened-shimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* ═══ HOLOGRAPHIC FOIL — LEGENDARY + EPIC CARDS ═══ */
.hand-card.awakened.rarity-legendary::before,
.played-card.awakened.rarity-legendary .played-card-inner::before {
  background: conic-gradient(
    from 0deg,
    rgba(255, 215, 0, 0.12),
    rgba(255, 100, 50, 0.08),
    rgba(255, 215, 0, 0.12),
    rgba(100, 255, 218, 0.08),
    rgba(255, 215, 0, 0.12)
  );
}
.hand-card.awakened.rarity-epic::before,
.played-card.awakened.rarity-epic .played-card-inner::before {
  background: conic-gradient(
    from 0deg,
    rgba(168, 120, 186, 0.12),
    rgba(91, 143, 185, 0.08),
    rgba(168, 120, 186, 0.12),
    rgba(255, 220, 0, 0.06),
    rgba(168, 120, 186, 0.12)
  );
}

/* Holographic rainbow sweep on legendary hand cards */
.hand-card.awakened.rarity-legendary {
  background-image: linear-gradient(
    125deg,
    rgba(255, 0, 0, 0.04) 0%,
    rgba(255, 165, 0, 0.04) 15%,
    rgba(255, 255, 0, 0.04) 30%,
    rgba(0, 255, 0, 0.04) 45%,
    rgba(0, 0, 255, 0.04) 60%,
    rgba(128, 0, 255, 0.04) 75%,
    rgba(255, 0, 0, 0.04) 100%
  );
  background-size: 300% 300%;
  animation: awakened-glow 3s ease-in-out infinite, holo-shift 5s ease-in-out infinite;
}

@keyframes holo-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ═══ SCREEN SHAKE ═══ */
@keyframes screen-shake {
  0%, 100% { transform: translate(0, 0); }
  8% { transform: translate(-6px, 3px); }
  16% { transform: translate(5px, -5px); }
  24% { transform: translate(-5px, 2px); }
  32% { transform: translate(4px, -3px); }
  40% { transform: translate(-3px, 4px); }
  50% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, 3px); }
  70% { transform: translate(2px, -2px); }
  80% { transform: translate(-1px, 1px); }
  90% { transform: translate(1px, -1px); }
}
.screen-shake {
  animation: screen-shake 0.6s ease-out;
}

/* ═══ NODE WIN FLASH ═══ */
@keyframes node-win-flash {
  0% { box-shadow: 0 0 0 rgba(255, 220, 0, 0); }
  20% { box-shadow: 0 0 50px rgba(255, 220, 0, 0.7), 0 0 100px rgba(255, 220, 0, 0.35); }
  50% { box-shadow: 0 0 35px rgba(255, 220, 0, 0.5), 0 0 70px rgba(255, 220, 0, 0.2); }
  100% { box-shadow: 0 0 10px rgba(255, 220, 0, 0.1); }
}
@keyframes node-lose-flash {
  0% { box-shadow: 0 0 0 rgba(255, 60, 60, 0); }
  20% { box-shadow: 0 0 50px rgba(255, 60, 60, 0.6), 0 0 100px rgba(255, 60, 60, 0.25); }
  50% { box-shadow: 0 0 30px rgba(255, 60, 60, 0.4), 0 0 60px rgba(255, 60, 60, 0.15); }
  100% { box-shadow: 0 0 10px rgba(255, 60, 60, 0.1); }
}
.node-flash-win { animation: node-win-flash 1.2s ease-out; }
.node-flash-lose { animation: node-lose-flash 1.2s ease-out; }

/* ═══ VICTORY SPLASH EFFECTS ═══ */
@keyframes victory-glow {
  0% { text-shadow: 0 0 10px rgba(255, 220, 0, 0.3); }
  50% { text-shadow: 0 0 30px rgba(255, 220, 0, 0.6), 0 0 60px rgba(255, 220, 0, 0.3); }
  100% { text-shadow: 0 0 10px rgba(255, 220, 0, 0.3); }
}
.match-result-title.victory {
  animation: victory-glow 2s ease-in-out infinite;
}

/* ═══ PARTICLE CANVAS OVERLAY ═══ */
#vfxCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ═══ ACTION BUTTONS ═══ */
.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 12px 22px;
  border: 3px solid var(--bcsh-black);
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-end-turn {
  background: rgba(138, 79, 255, 0.9);
  color: #fff;
  box-shadow: 0 4px 15px rgba(138, 79, 255, 0.3);
  border-color: rgba(138, 79, 255, 0.6);
}

.btn-end-turn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0 6px 25px rgba(138, 79, 255, 0.45);
  background: rgba(138, 79, 255, 1);
}

.btn-undo {
  background: transparent;
  color: var(--bcsh-white);
  border-color: #666;
}

.btn-undo:hover { border-color: var(--bcsh-white); }

.btn-sync {
  background: var(--bcsh-red);
  color: var(--bcsh-white);
}

.btn-sync:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--bcsh-black);
}

.btn-surrender {
  background: transparent;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 9px;
  padding: 6px 10px;
}
.btn-surrender:hover {
  color: var(--bcsh-red);
  border-color: var(--bcsh-red);
}

.btn-action.btn-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ═══ LOG PANEL ═══ */
.log-panel {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px 40px;
}

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

.log-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(138, 79, 255, 0.7);
  letter-spacing: 0.2em;
}

.log-line {
  height: 1px;
  background: rgba(138, 79, 255, 0.2);
  flex: 1;
}

.log-entries {
  background: rgba(3, 3, 6, 0.6);
  border: 1px solid rgba(138, 79, 255, 0.15);
  padding: 12px 18px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  max-height: 130px;
  overflow-y: auto;
}

.log-entry {
  padding: 3px 0;
  line-height: 1.5;
}

.log-entry .turn-num {
  color: var(--bcsh-yellow);
  font-weight: 500;
  margin-right: 6px;
}

.log-entry.sync-log { color: var(--bcsh-yellow); font-weight: 600; }
.log-entry.ability-log { color: var(--bcsh-blue); }
.log-entry.important { color: var(--bcsh-red); font-weight: 600; }

/* ═══ SYNC OVERLAY ═══ */
.sync-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.9);
  z-index: 200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

.sync-overlay.active { display: flex; }

.sync-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--bcsh-yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: sync-pulse 1s ease-in-out infinite;
}

@keyframes sync-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.sync-desc {
  color: rgba(255,255,255,0.6);
  text-align: center;
  max-width: 400px;
  font-size: 0.9rem;
}

.sync-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
  width: 100%;
}
.sync-option {
  background: rgba(138, 79, 255, 0.1);
  border: 1px solid rgba(138, 79, 255, 0.3);
  border-radius: 8px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.sync-option:hover {
  background: rgba(138, 79, 255, 0.25);
  border-color: rgba(138, 79, 255, 0.6);
}
.sync-option strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.sync-option span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.sync-option.sync-retreat {
  border-color: rgba(255, 60, 60, 0.3);
  background: rgba(255, 60, 60, 0.05);
}
.sync-option.sync-retreat:hover {
  border-color: rgba(255, 60, 60, 0.6);
  background: rgba(255, 60, 60, 0.15);
}

/* ═══ MATCH END OVERLAY ═══ */
.match-end-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 6, 0.96);
  backdrop-filter: blur(16px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.match-end-overlay.active { display: flex; }

/* Cinematic result splash image */
.result-splash-img {
  width: clamp(200px, 40vw, 360px);
  margin-bottom: 0.5rem;
  animation: result-icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.result-splash-img.victory { filter: drop-shadow(0 0 40px rgba(255, 220, 0, 0.5)); }
.result-splash-img.defeat { filter: drop-shadow(0 0 40px rgba(255, 60, 60, 0.4)); }
.result-splash-img.draw { filter: drop-shadow(0 0 30px rgba(180, 123, 255, 0.4)); }

/* Fallback icon for draw (no image) */
.result-icon {
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: result-icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  display: none;
}
.result-icon.draw { display: block; filter: drop-shadow(0 0 20px rgba(180, 123, 255, 0.5)); }

@keyframes result-icon-pop {
  0% { transform: scale(0.2) rotate(-15deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.match-result-title {
  font-family: 'Bebas Neue', var(--font-display), sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 40px currentColor;
}
.match-result-title.victory { color: #ffdc00; }
.match-result-title.defeat { color: #ff3c3c; }
.match-result-title.draw { color: rgba(180, 123, 255, 0.9); }

.match-result-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.match-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding: 1.2rem 2rem;
  background: rgba(138, 79, 255, 0.06);
  border: 1px solid rgba(138, 79, 255, 0.15);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.match-stat { text-align: center; }
.match-stat-val {
  font-family: 'Bebas Neue', var(--font-display), sans-serif;
  font-size: 2.2rem;
  color: var(--bcsh-yellow);
}
.match-stat-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.result-splash { display: none; } /* deprecated — replaced by .result-icon */

@keyframes splash-pop {
  0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ═══ TOOLTIP ═══ */
.card-tooltip {
  display: none;
  position: fixed;
  z-index: 500;
  background: var(--bcsh-black);
  border: 3px solid var(--bcsh-yellow);
  box-shadow: 8px 8px 0 var(--bcsh-red);
  padding: 1rem;
  max-width: 260px;
  pointer-events: none;
}

.card-tooltip.visible { display: block; }

.tooltip-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--bcsh-yellow); letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.tooltip-type { font-size: 0.65rem; color: var(--bcsh-red); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.tooltip-stats { display: flex; gap: 1rem; margin-bottom: 0.5rem; }
.tooltip-stat { font-family: var(--font-display); font-size: 0.85rem; color: var(--bcsh-white); }
.tooltip-stat span { color: rgba(255,255,255,0.5); font-size: 0.6rem; }
#ctElement { align-items: center; gap: 6px; padding: 4px 8px; font-size: 0.75rem; }
#ctElement .elem-icon { width: 26px; height: 26px; }
#ctAffinity .elem-icon { width: 20px; height: 20px; }
.tooltip-ability { font-size: 0.75rem; color: rgba(255,255,255,0.7); line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.5rem; }

/* ═══ ELEMENT ICON ═══ */
.elem-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  display: inline-block;
}

/* ═══ MINI CARDS (for tutorial) ═══ */
.card-mini {
  width: 56px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 600;
  cursor: default;
  position: relative;
  flex-shrink: 0;
}

.card-mini.hero {
  background: linear-gradient(135deg, rgba(253,200,47,0.15), rgba(253,200,47,0.05));
  border: 2px solid rgba(253,200,47,0.35);
  color: var(--bcsh-yellow);
}

.card-mini.foundation {
  background: linear-gradient(135deg, rgba(30,156,230,0.15), rgba(30,156,230,0.05));
  border: 2px solid rgba(30,156,230,0.3);
  color: var(--bcsh-blue);
}

.c-pwr { font-size: 1rem; font-weight: 700; }
.c-name { font-size: 0.45rem; letter-spacing: 0.04em; margin-top: 2px; text-align: center; }
.c-cost { position: absolute; top: 2px; right: 3px; font-size: 0.5rem; opacity: 0.6; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .arena {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portrait {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .portrait-frame {
    width: 100px;
    aspect-ratio: 3/4;
  }

  .portrait-nametag {
    flex: 1;
    border: 2px solid;
    padding: 10px;
  }

  .portrait-bot .portrait-nametag { border-color: var(--bcsh-red); }
  .portrait-you .portrait-nametag { border-color: var(--bcsh-yellow); }

  .nodes-row { grid-template-columns: 1fr; }
  .location-strip { grid-template-columns: 1fr; }
  .hud { padding: 12px 16px; }
  .bottom-bar { grid-template-columns: 1fr; padding: 16px; }
  .hand-cards { height: 160px; }
  .hand-card { width: 88px; }
  .played-card { width: 70px; }
  .node { min-height: 100px; }
}

@media (max-width: 560px) {
  .hud { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .hud-left { justify-content: center; }
  .hud-right { justify-content: center; }
  .deck-grid { grid-template-columns: 1fr; }
  .match-stats { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; justify-content: center; padding: 1rem 1.5rem; }
}

/* ═══ PLAYER IDENTITY MODAL ═══ */
.identity-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.identity-box {
  background: #111;
  border: 2px solid var(--bcsh-yellow);
  border-radius: 0;
  padding: 2rem 2.5rem;
  max-width: 380px;
  width: 100%;
  box-shadow: 6px 6px 0 rgba(253,200,47,0.2);
}
.identity-input {
  width: 100%;
  padding: 12px 16px;
  background: #0a0a0a;
  border: 2px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
}
.identity-input:focus {
  border-color: var(--bcsh-yellow);
}
.identity-input::placeholder {
  color: rgba(255,255,255,0.3);
}
.identity-link {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Inter', sans-serif;
}
.identity-link:hover {
  color: var(--bcsh-yellow);
}
.player-code-display {
  background: #0a0a0a;
  border: 2px solid var(--bcsh-yellow);
  color: var(--bcsh-yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 4px;
  text-align: center;
  padding: 12px;
  margin-bottom: 0.75rem;
  user-select: all;
}
