/* Vector SVG Slot Cabinet (Renderer C) */
.ghh-cabinet-shell {
  background: var(--ghh-cabinet);
  color: #F7F6FA;
  border: 2px solid var(--ghh-brass);
  border-radius: var(--ghh-radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 18, 41, 0.2);
}
.ghh-cabinet-shell:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  border-radius: 0;
}
.ghh-cabinet-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.72rem 1rem;
  background: var(--ghh-cabinet-mid);
  border-bottom: 1px solid rgba(242, 203, 82, 0.28);
}
.ghh-cabinet-ident { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.ghh-cabinet-ident strong { font-family: var(--ghh-font-display); font-size: 1.05rem; color: #FFFFFF; }
.ghh-cabinet-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--ghh-radius-pill);
  background: rgba(242, 203, 82, 0.16);
  color: var(--ghh-brass-bright);
  border: 1px solid rgba(242, 203, 82, 0.4);
}
.ghh-cabinet-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ghh-cab-btn {
  min-height: 36px;
  padding: 0.3rem 0.72rem;
  border-radius: var(--ghh-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #F7F6FA;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.ghh-cab-btn:hover { background: rgba(242, 203, 82, 0.22); border-color: var(--ghh-brass-bright); }
.ghh-cab-btn.is-on { background: var(--ghh-brass-bright); color: var(--ghh-ink); border-color: var(--ghh-brass-bright); }

.ghh-svg-stage-wrap {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #272059 0%, #141229 75%);
  padding: 0.65rem;
}
.ghh-slot-svg {
  width: 100%;
  height: auto;
  border-radius: var(--ghh-radius-md);
  display: block;
}
.ghh-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 41, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  gap: 0.75rem;
}
.ghh-lock-overlay[hidden] { display: none; }
.ghh-lock-overlay h3 { color: #FFFFFF; margin: 0; }
.ghh-lock-overlay p { color: #D7D3E6; max-width: 44ch; margin: 0; font-size: 0.94rem; }
.ghh-lock-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }

.ghh-cabinet-hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: #1A1635;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ghh-hud-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ghh-radius-sm);
  padding: 0.45rem 0.7rem;
}
.ghh-hud-box span { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: #C2BCE0; }
.ghh-hud-box strong { font-size: 1.05rem; color: var(--ghh-brass-bright); }

.ghh-cabinet-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: #121024;
  border-top: 1px solid rgba(242, 203, 82, 0.25);
}
.ghh-bet-stepper { display: inline-flex; align-items: center; gap: 0.35rem; }
.ghh-spin-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.ghh-spin-btn {
  min-height: 46px;
  min-width: 132px;
  padding: 0.55rem 1.35rem;
  border-radius: var(--ghh-radius-pill);
  border: 2px solid var(--ghh-brass-bright);
  background: linear-gradient(180deg, #F5D569 0%, #CFA119 100%);
  color: #16142B;
  font-family: var(--ghh-font-body);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.ghh-spin-btn:hover { filter: brightness(1.06); }
.ghh-spin-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ghh-cabinet-status {
  padding: 0.5rem 1rem;
  background: #0D0B1B;
  font-size: 0.84rem;
  color: #D7D3E6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 36px;
}

/* Harbour Table Games */
.ghh-table-arena {
  background: var(--ghh-cabinet);
  color: #F7F6FA;
  border: 2px solid var(--ghh-brass);
  border-radius: var(--ghh-radius-lg);
  padding: 1.35rem;
  position: relative;
}
.ghh-table-arena h3 { color: #FFFFFF; }
.ghh-roulette-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: center;
}
.ghh-bet-board { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.75rem 0; }
.ghh-bet-chip-btn {
  min-height: 40px;
  padding: 0.4rem 0.78rem;
  border-radius: var(--ghh-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}
.ghh-bet-chip-btn.is-active {
  background: var(--ghh-brass-bright);
  color: var(--ghh-ink);
  border-color: var(--ghh-brass-bright);
}
.ghh-card-hand { display: flex; flex-wrap: wrap; gap: 0.6rem; min-height: 98px; align-items: center; margin: 0.65rem 0; }
.ghh-play-card {
  width: 68px;
  height: 94px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #16142B;
  border: 2px solid var(--ghh-brass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.35rem 0.45rem;
  font-weight: 800;
  font-size: 0.95rem;
}
.ghh-play-card.is-red { color: #9C2434; }
.ghh-play-card.is-back { background: var(--ghh-primary); color: var(--ghh-brass-bright); align-items: center; justify-content: center; }

.ghh-dice-bar {
  position: relative;
  height: 18px;
  border-radius: var(--ghh-radius-pill);
  background: #2C2656;
  overflow: hidden;
  margin: 1rem 0 0.65rem;
}
.ghh-dice-fill { height: 100%; background: var(--ghh-brass-bright); transition: width 0.14s ease; }

/* Daily Three Brass Chests */
.ghh-chest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.ghh-chest-card {
  background: var(--ghh-surface-warm);
  border: 2px solid #D9BE6A;
  border-radius: var(--ghh-radius-lg);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ghh-chest-card:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--ghh-primary); }
.ghh-chest-card:disabled { opacity: 0.72; cursor: default; }

/* Account Locker Tabs */
.ghh-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-bottom: 1px solid var(--ghh-rule);
  padding-bottom: 0.75rem;
  margin-bottom: 1.35rem;
}
.ghh-tab-btn {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--ghh-radius-pill);
  border: 1px solid var(--ghh-rule-strong);
  background: var(--ghh-surface);
  color: var(--ghh-ink);
  font-weight: 600;
  cursor: pointer;
}
.ghh-tab-btn.is-active { background: var(--ghh-primary); border-color: var(--ghh-primary); color: #FFFFFF; }
.ghh-avatar-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.65rem; margin: 0.75rem 0 1.2rem; }
.ghh-avatar-pick {
  padding: 0.45rem;
  border: 2px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-md);
  background: var(--ghh-surface);
  cursor: pointer;
  text-align: center;
}
.ghh-avatar-pick.is-selected { border-color: var(--ghh-primary); background: var(--ghh-primary-soft); }
.ghh-avatar-pick img { width: 54px; height: 54px; margin: 0 auto 0.25rem; }
.ghh-avatar-pick span { display: block; font-size: 0.72rem; color: var(--ghh-ink-muted); }

.ghh-progress-track {
  height: 10px;
  border-radius: var(--ghh-radius-pill);
  background: var(--ghh-surface-alt);
  overflow: hidden;
  margin: 0.5rem 0;
}
.ghh-progress-fill { height: 100%; background: var(--ghh-primary); }

@media (max-width: 820px) {
  .ghh-roulette-grid, .ghh-chest-grid, .ghh-cabinet-hud { grid-template-columns: 1fr; }
  .ghh-avatar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ghh-avatar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ghh-cabinet-controls { justify-content: center; }
}
