/* ===================================================================
   Hlubina: Trojrozměrné hordy – rozhraní hry
   Studená modrá hlubina, tyrkysové akcenty, HUD nad 3D plátnem.
   =================================================================== */
:root {
  --hl-ink: #e6f0f5;
  --hl-panel: #141d28;
  --hl-panel-2: #1d2a39;
  --hl-line: rgba(230, 240, 245, 0.16);
  --hl-cyan: #4fd1d9;
  --hl-gold: #f2c14e;
  --hl-red: #e2584a;
  --hl-green: #67d68d;
  --hl-violet: #9b7ce0;
}

.hlubina-page {
  color: var(--hl-ink);
  background:
    radial-gradient(1100px 640px at 50% -8%, rgba(79, 209, 217, 0.16), transparent 62%),
    linear-gradient(180deg, #101a24 0%, #0b131b 58%, #070c12 100%);
}

.hlubina-page .site-header {
  color: var(--hl-ink);
  background: rgba(15, 24, 33, 0.94);
  border-bottom-color: rgba(79, 209, 217, 0.22);
}

.hlubina-page .site-brand-mark {
  color: #08131a;
  background: var(--hl-cyan);
  box-shadow: 5px 5px 0 #1c5f68;
}

.hlubina-page .site-brand-text span {
  color: rgba(230, 240, 245, 0.6);
}

.hlubina-page .site-nav a:hover,
.hlubina-page .site-nav a.active,
.hlubina-page .site-back-link:hover {
  background: rgba(79, 209, 217, 0.16);
}

.hlubina-page .site-footer {
  color: rgba(230, 240, 245, 0.7);
  background: #08111a;
  border-top-color: rgba(79, 209, 217, 0.18);
}

.hlubina-page .site-footer strong {
  color: var(--hl-cyan);
}

.hl-main {
  width: 100%;
  padding: 0;
}

/* --------------------------------------------------------------- */
/* Herní plocha                                                     */
/* --------------------------------------------------------------- */
.hl-stage {
  position: relative;
  padding: clamp(10px, 1.6vw, 20px);
}

.hl-marquee {
  width: min(1320px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 auto 12px;
}

.hl-title-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hl-sigil {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #07121a;
  background: linear-gradient(160deg, var(--hl-cyan), #2f8f9b);
  border-radius: 14px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.45);
}

.hl-title-lockup p {
  margin: 0 0 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-cyan);
}

.hl-title-lockup h1 {
  margin: 0;
  font: 800 clamp(1.4rem, 3.4vw, 2.2rem)/1 Georgia, "Times New Roman", serif;
}

.hl-title-lockup h1 span {
  display: block;
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(230, 240, 245, 0.68);
}

.hl-marquee-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hl-marquee-actions button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--hl-ink);
  font: 700 0.86rem/1 system-ui, sans-serif;
  background: var(--hl-panel-2);
  border: 2px solid var(--hl-line);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.hl-marquee-actions button:hover {
  background: #26374a;
  transform: translateY(-1px);
}

.hl-marquee-actions .round-tool {
  width: 40px;
  padding: 0;
  font-size: 1.05rem;
}

.hl-frame {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  overflow: hidden;
  border: 3px solid rgba(79, 209, 217, 0.32);
  border-radius: 16px;
  background: #05090d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6);
  touch-action: none;
}

#hl-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------- */
/* HUD                                                              */
/* --------------------------------------------------------------- */
.hl-hud {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  pointer-events: none;
}

.hl-hud.hidden {
  display: none;
}

.hud-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.hud-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  font: 700 0.9rem/1 system-ui, sans-serif;
  background: rgba(8, 15, 22, 0.78);
  border: 2px solid var(--hl-line);
  border-radius: 999px;
  backdrop-filter: blur(3px);
}

.hud-chip span {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 240, 245, 0.6);
}

.hud-chip.is-gold strong {
  color: var(--hl-gold);
}

.hud-bars {
  flex: 1 1 240px;
  min-width: 220px;
  display: grid;
  gap: 5px;
}

.hud-bar {
  position: relative;
  height: 16px;
  overflow: hidden;
  background: rgba(8, 15, 22, 0.8);
  border: 2px solid var(--hl-line);
  border-radius: 999px;
}

.hud-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 0;
  border-radius: 999px;
  transition: width 0.12s linear;
}

.hud-bar.is-xp i {
  background: linear-gradient(90deg, #4fd1d9, #9b7ce0);
}

.hud-bar.is-hp i {
  background: linear-gradient(90deg, #e2584a, #f0925a);
}

.hud-bar b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 0.66rem/1 system-ui, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.hud-pause {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  color: var(--hl-ink);
  font-size: 1rem;
  background: rgba(8, 15, 22, 0.8);
  border: 2px solid var(--hl-line);
  border-radius: 10px;
  cursor: pointer;
}

.hud-boss {
  justify-self: center;
  width: min(560px, 92%);
  text-align: center;
}

.hud-boss.hidden {
  display: none;
}

.hud-boss strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb0a6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hud-boss .hud-bar {
  height: 13px;
  border-color: rgba(226, 88, 74, 0.6);
}

.hud-boss .hud-bar i {
  background: linear-gradient(90deg, #ff5b46, #ffa04a);
}

.hud-bottom {
  grid-row: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.hud-dock {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dock-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 0 9px;
  font-size: 0.78rem;
  background: rgba(8, 15, 22, 0.82);
  border: 2px solid rgba(79, 209, 217, 0.4);
  border-radius: 8px;
}

.dock-item i {
  font-style: normal;
  font-size: 0.98rem;
  color: var(--hl-cyan);
}

.dock-item b {
  color: rgba(230, 240, 245, 0.85);
}

.dock-item.is-passive {
  border-color: rgba(155, 124, 224, 0.45);
}

.dock-item.is-passive i {
  color: var(--hl-violet);
}

.hud-jump {
  pointer-events: auto;
  min-width: 88px;
  min-height: 52px;
  padding: 0 18px;
  color: #07121a;
  font: 800 0.92rem/1 system-ui, sans-serif;
  background: linear-gradient(160deg, var(--hl-cyan), #2f8f9b);
  border: none;
  border-radius: 14px;
  box-shadow: 0 5px 0 #1a5b63;
  cursor: pointer;
}

.hud-jump:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #1a5b63;
}

.hl-banner {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px;
  font: 800 clamp(1rem, 2.4vw, 1.5rem)/1.2 Georgia, serif;
  text-align: center;
  color: #07121a;
  background: var(--hl-cyan);
  border-radius: 12px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.hl-toast {
  position: absolute;
  right: 14px;
  bottom: 78px;
  max-width: 300px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(8, 15, 22, 0.94);
  border: 2px solid var(--hl-cyan);
  border-radius: 10px;
}

.hl-joystick {
  position: absolute;
  width: 118px;
  height: 118px;
  margin: -59px 0 0 -59px;
  border: 3px solid rgba(230, 240, 245, 0.3);
  border-radius: 50%;
  background: rgba(8, 15, 22, 0.3);
  pointer-events: none;
}

.hl-joystick i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(79, 209, 217, 0.7);
  border-radius: 50%;
}

/* --------------------------------------------------------------- */
/* Překryvné obrazovky                                              */
/* --------------------------------------------------------------- */
.hl-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
  overflow-y: auto;
  background: rgba(5, 10, 15, 0.82);
  backdrop-filter: blur(3px);
}

.hl-overlay.hidden,
.hidden {
  display: none;
}

.hl-card {
  width: min(880px, 100%);
  padding: clamp(16px, 2.6vw, 28px);
  background: linear-gradient(180deg, var(--hl-panel), #0d151d);
  border: 3px solid rgba(79, 209, 217, 0.35);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.62);
}

.hl-card.is-narrow {
  width: min(460px, 100%);
  text-align: center;
}

.hl-card .card-eyebrow {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-cyan);
}

.hl-card h2 {
  margin: 0 0 10px;
  font: 800 clamp(1.5rem, 3.4vw, 2.2rem)/1.05 Georgia, serif;
}

.hl-card p.lead {
  margin: 0 0 16px;
  color: rgba(230, 240, 245, 0.78);
  line-height: 1.5;
}

.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
}

@media (max-width: 720px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

.stage-strip {
  display: grid;
  gap: 8px;
}

.stage-chip {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 10px;
  padding: 8px 12px;
  text-align: left;
  color: var(--hl-ink);
  background: var(--hl-panel-2);
  border: 2px solid var(--hl-line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.stage-chip:hover:not(:disabled) {
  transform: translateX(2px);
  border-color: rgba(79, 209, 217, 0.55);
}

.stage-chip.is-active {
  border-color: var(--hl-cyan);
  background: #17323a;
}

.stage-chip.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.chip-index {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 800;
  color: #07121a;
  background: var(--hl-cyan);
  border-radius: 9px;
}

.stage-chip strong {
  font-size: 0.98rem;
}

.stage-chip small {
  font-size: 0.74rem;
  color: rgba(230, 240, 245, 0.62);
}

.stage-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-detail h3 {
  margin: 0;
  font: 800 1.4rem/1.1 Georgia, serif;
}

.stage-detail .detail-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hl-violet);
}

.stage-detail p {
  margin: 0;
  color: rgba(230, 240, 245, 0.78);
  line-height: 1.5;
}

.detail-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.detail-facts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(5, 10, 15, 0.55);
  border: 2px solid var(--hl-line);
  border-radius: 10px;
}

.detail-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 240, 245, 0.6);
}

.detail-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.hero-field {
  display: grid;
  gap: 5px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 240, 245, 0.6);
}

.hero-field input {
  min-height: 42px;
  padding: 0 12px;
  color: var(--hl-ink);
  font: 700 1rem/1 system-ui, sans-serif;
  background: rgba(5, 10, 15, 0.7);
  border: 2px solid var(--hl-line);
  border-radius: 10px;
}

.big-button {
  width: 100%;
  min-height: 60px;
  display: grid;
  gap: 2px;
  place-items: center;
  padding: 10px 18px;
  color: #07121a;
  font: 800 1.12rem/1 system-ui, sans-serif;
  background: linear-gradient(160deg, var(--hl-cyan), #2f8f9b);
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 0 #1a5b63;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.big-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #1a5b63;
}

.big-button:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #1a5b63;
}

.big-button small {
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.82;
}

.ghost-button {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 16px;
  color: var(--hl-ink);
  font: 700 0.94rem/1 system-ui, sans-serif;
  background: var(--hl-panel-2);
  border: 2px solid var(--hl-line);
  border-radius: 12px;
  cursor: pointer;
}

.ghost-button:hover {
  border-color: rgba(79, 209, 217, 0.5);
}

.resume-button {
  border-color: rgba(103, 214, 141, 0.5);
}

.resume-button small {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(230, 240, 245, 0.66);
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed var(--hl-line);
}

.meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.8rem;
  background: rgba(5, 10, 15, 0.55);
  border: 2px solid var(--hl-line);
  border-radius: 999px;
}

.meta-strip b {
  color: var(--hl-cyan);
}

.levelup-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 14px;
}

@media (max-width: 720px) {
  .levelup-cards {
    grid-template-columns: 1fr;
  }
}

.upgrade-card {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 16px 12px;
  text-align: center;
  color: var(--hl-ink);
  background: linear-gradient(180deg, #1e2c3b, #131d28);
  border: 2px solid rgba(79, 209, 217, 0.32);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.14s, border-color 0.14s;
}

.upgrade-card:hover {
  transform: translateY(-4px);
  border-color: var(--hl-cyan);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.7rem;
  color: #07121a;
  background: linear-gradient(160deg, var(--hl-cyan), #2f8f9b);
  border-radius: 14px;
}

.card-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hl-violet);
}

.upgrade-card strong {
  font: 800 1.02rem/1.2 Georgia, serif;
}

.card-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(230, 240, 245, 0.75);
}

.card-pips {
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--hl-cyan);
}

.result-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

@media (max-width: 560px) {
  .result-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.result-facts div {
  padding: 10px;
  text-align: center;
  background: rgba(5, 10, 15, 0.55);
  border: 2px solid var(--hl-line);
  border-radius: 12px;
}

.result-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 240, 245, 0.6);
}

.result-facts dd {
  margin: 4px 0 0;
  font: 800 1.3rem/1 Georgia, serif;
  color: var(--hl-cyan);
}

.result-build {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.pause-mark {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  color: var(--hl-cyan);
}

.nogl-card {
  text-align: center;
}

.nogl-card h2 {
  color: var(--hl-gold);
}

/* --------------------------------------------------------------- */
/* Dialogy                                                          */
/* --------------------------------------------------------------- */
.hl-dialog {
  width: min(760px, calc(100% - 24px));
  max-height: min(86svh, 780px);
  margin: auto;
  padding: 0;
  color: var(--hl-ink);
  background: linear-gradient(180deg, var(--hl-panel), #0d151d);
  border: 3px solid rgba(79, 209, 217, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.hl-dialog::backdrop {
  background: rgba(4, 8, 12, 0.78);
  backdrop-filter: blur(4px);
}

.hl-dialog > div,
.hl-dialog > form {
  padding: clamp(16px, 3vw, 26px);
}

.hl-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--hl-line);
}

.hl-dialog header span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hl-cyan);
}

.hl-dialog header h2 {
  margin: 2px 0 0;
  font: 800 clamp(1.4rem, 3.4vw, 2rem)/1 Georgia, serif;
}

.hl-dialog header button {
  width: 38px;
  height: 38px;
  color: var(--hl-ink);
  font-size: 1.2rem;
  background: var(--hl-panel-2);
  border: 2px solid var(--hl-line);
  border-radius: 10px;
  cursor: pointer;
}

.hl-dialog ol {
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

.hl-dialog ol li {
  margin-bottom: 8px;
}

.dialog-confirm {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  color: #07121a;
  font: 800 1rem/1 system-ui, sans-serif;
  background: var(--hl-cyan);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.forge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(5, 10, 15, 0.55);
  border: 2px solid var(--hl-line);
  border-radius: 12px;
}

.forge-head b {
  color: var(--hl-gold);
  font-size: 1.1rem;
}

.forge-list {
  display: grid;
  gap: 8px;
}

.forge-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(5, 10, 15, 0.5);
  border: 2px solid var(--hl-line);
  border-radius: 12px;
}

.forge-row.is-maxed {
  border-color: rgba(103, 214, 141, 0.45);
}

.forge-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  color: #07121a;
  background: linear-gradient(160deg, var(--hl-cyan), #2f8f9b);
  border-radius: 12px;
}

.forge-copy strong {
  display: block;
  font-size: 0.98rem;
}

.forge-copy small {
  display: block;
  margin: 2px 0 4px;
  font-size: 0.8rem;
  color: rgba(230, 240, 245, 0.7);
}

.forge-pips {
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--hl-cyan);
}

.forge-buy {
  min-height: 42px;
  min-width: 92px;
  padding: 0 14px;
  color: #07121a;
  font: 800 0.92rem/1 system-ui, sans-serif;
  background: var(--hl-gold);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.forge-buy:disabled {
  color: rgba(230, 240, 245, 0.5);
  background: var(--hl-panel-2);
  border: 2px solid var(--hl-line);
  cursor: not-allowed;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.stats-grid div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(5, 10, 15, 0.5);
  border: 2px solid var(--hl-line);
  border-radius: 10px;
}

.stats-grid dt {
  font-size: 0.78rem;
  color: rgba(230, 240, 245, 0.7);
}

.stats-grid dd {
  margin: 0;
  font-weight: 800;
  color: var(--hl-cyan);
}

.hl-table-wrap {
  overflow-x: auto;
}

.hl-dialog table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.hl-dialog th,
.hl-dialog td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--hl-line);
  white-space: nowrap;
}

.hl-dialog th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230, 240, 245, 0.6);
}

.hl-dialog tr.is-win td {
  color: var(--hl-green);
}

.ach-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ach-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(5, 10, 15, 0.5);
  border: 2px solid var(--hl-line);
  border-radius: 12px;
  opacity: 0.62;
}

.ach-item.is-done {
  opacity: 1;
  border-color: rgba(79, 209, 217, 0.5);
}

.ach-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  color: rgba(230, 240, 245, 0.5);
  background: var(--hl-panel-2);
  border-radius: 12px;
}

.ach-item.is-done .ach-icon {
  color: #07121a;
  background: linear-gradient(160deg, var(--hl-cyan), #2f8f9b);
}

.ach-item strong {
  display: block;
  font-size: 0.96rem;
}

.ach-item small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: rgba(230, 240, 245, 0.7);
}

.ach-flag {
  font-size: 1.1rem;
  color: var(--hl-green);
}

.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 2px dashed var(--hl-line);
  font-size: 0.8rem;
  color: rgba(230, 240, 245, 0.65);
}

.dialog-footer button {
  min-height: 40px;
  padding: 0 14px;
  color: #ffd7cf;
  font: 700 0.86rem/1 system-ui, sans-serif;
  background: rgba(226, 88, 74, 0.22);
  border: 2px solid rgba(226, 88, 74, 0.55);
  border-radius: 10px;
  cursor: pointer;
}

/* --------------------------------------------------------------- */
/* Popis hry pod plochou                                            */
/* --------------------------------------------------------------- */
.hl-info {
  width: min(1320px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  padding: clamp(16px, 3vw, 28px);
  background: rgba(20, 29, 40, 0.7);
  border: 2px solid var(--hl-line);
  border-radius: 18px;
}

@media (max-width: 860px) {
  .hl-info {
    grid-template-columns: 1fr;
  }
}

.hl-info .eyebrow {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-cyan);
}

.hl-info h2 {
  margin: 0 0 10px;
  font: 800 clamp(1.4rem, 3vw, 2rem)/1.15 Georgia, serif;
}

.hl-info p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: rgba(230, 240, 245, 0.82);
}

.hl-info ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
  color: rgba(230, 240, 245, 0.82);
}

.hl-info dl {
  display: grid;
  gap: 8px;
  align-content: start;
  margin: 0;
}

.hl-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(5, 10, 15, 0.5);
  border: 2px solid var(--hl-line);
  border-radius: 10px;
}

.hl-info dt {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 240, 245, 0.6);
}

.hl-info dd {
  margin: 0;
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .upgrade-card,
  .big-button,
  .stage-chip {
    transition: none;
  }
}
