:root {
  --bg: #071612;
  --bg-2: #09221d;
  --panel: rgba(13, 42, 36, 0.92);
  --panel-soft: rgba(16, 51, 44, 0.76);
  --felt: #0c493c;
  --felt-dark: #08342c;
  --gold: #f0c66b;
  --gold-2: #c69235;
  --text: #f7f0dd;
  --muted: #b4c3b8;
  --emerald: #43d58a;
  --red: #e2494d;
  --line: rgba(240, 198, 107, 0.18);
  --shadow: 0 22px 70px rgba(0,0,0,.34);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--bg); }
body {
  background:
    radial-gradient(circle at 50% 14%, rgba(41, 126, 92, .32), transparent 34rem),
    radial-gradient(circle at 94% 8%, rgba(240, 198, 107, .08), transparent 25rem),
    linear-gradient(145deg, #06120f, #09221d 48%, #071612);
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .42; cursor: not-allowed; }
#app { min-height: 100vh; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 24px 30px;
}
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .12em; }
.brand-card {
  display: grid; place-items: center; height: 52px; width: 42px;
  border-radius: 10px; color: #dc303d; background: #fdfaf1;
  font-size: 27px; box-shadow: 0 10px 22px rgba(0,0,0,.26); transform: rotate(-4deg);
}
.brand b { display: block; color: var(--gold); font-size: 22px; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.brand.compact .brand-card { width: 35px; height: 43px; font-size: 23px; }
.brand.compact b { font-size: 18px; }
.nav-actions { display: flex; gap: 10px; }
.ghost, .secondary, .primary {
  border-radius: 12px; padding: 12px 18px; transition: transform .17s ease, border-color .17s, background .17s;
  border: 1px solid var(--line); color: var(--text); background: transparent;
  font-weight: 700;
}
.ghost:hover:not(:disabled), .secondary:hover:not(:disabled), .primary:hover:not(:disabled) { transform: translateY(-1px); }
.secondary { background: rgba(255,255,255,.04); border-color: rgba(240,198,107,.3); }
.primary {
  color: #122016; border: none; background: linear-gradient(130deg, #f7d88a, #d9a94b);
  box-shadow: 0 9px 25px rgba(214, 164, 65, .21);
}
.primary:hover:not(:disabled) { box-shadow: 0 13px 30px rgba(214, 164, 65, .32); }
.full { width: 100%; }

.hero {
  max-width: 1240px; min-height: 560px; margin: 26px auto 44px; padding: 28px 30px;
  display: grid; grid-template-columns: minmax(420px, 1fr) 414px; align-items: center; gap: 70px;
}
.hero-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.2vw, 72px); font-weight: 500; line-height: .98; margin: 15px 0 23px; }
.hero-copy h1 span { color: var(--gold); }
.eyebrow { color: var(--gold); letter-spacing: .28em; font-size: 11px; font-weight: 800; margin: 0 0 14px; }
.lead { color: var(--muted); max-width: 540px; font-size: 18px; line-height: 1.65; margin-bottom: 30px; }
.feature-row { display: flex; gap: 12px; flex-wrap: wrap; }
.feature-row span {
  border: 1px solid var(--line); background: rgba(240,198,107,.06); color: #dbd6c6;
  padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.setup-card {
  border: 1px solid var(--line); border-radius: 24px; background: var(--panel);
  padding: 26px; box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; gap: 5px; background: rgba(0,0,0,.22); border-radius: 13px; margin-bottom: 24px; }
.tab { padding: 12px; color: var(--muted); border: 0; border-radius: 10px; background: transparent; font-weight: 700; }
.tab.active { color: var(--text); background: #15453c; box-shadow: 0 3px 8px rgba(0,0,0,.22); }
.field { display: block; margin: 18px 0; }
.field > span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 9px; }
.field input:not([type="radio"]), .join input {
  width: 100%; background: rgba(0,0,0,.2); color: var(--text); border: 1px solid rgba(255,255,255,.13);
  outline: none; border-radius: 11px; padding: 13px 14px;
}
.field input:not([type="radio"]):focus, .join input:focus { border-color: var(--gold); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; text-align: center; font-size: 13px; border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px; padding: 11px 8px; color: var(--muted);
}
.choice input:checked + span { border-color: rgba(240,198,107,.62); background: rgba(240,198,107,.1); color: var(--text); }
.hint { color: var(--muted); font-size: 12px; text-align: center; margin: 14px 0 0; line-height: 1.4; }
.divider { border-top: 1px solid var(--line); margin: 24px 0 20px; text-align: center; height: 1px; }
.divider span { position: relative; top: -10px; background: #0d2a24; color: var(--muted); font-size: 11px; padding: 0 10px; }
.join { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.how {
  max-width: 1180px; margin: 0 auto 60px; border-top: 1px solid var(--line); padding: 48px 0;
  display: grid; grid-template-columns: 350px 1fr; gap: 52px;
}
.how h2 { font-family: Georgia, serif; font-size: 36px; margin: 8px 0 14px; font-weight: 500; }
.how p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.how ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.how li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; color: #ddd9c9; font-size: 13px; }
.how li b { color: var(--gold); }

.modal-wrap {
  z-index: 20; position: fixed; inset: 0; display: grid; place-items: center; padding: 22px;
  background: rgba(1, 7, 6, .72); backdrop-filter: blur(7px);
}
.modal {
  position: relative; width: min(780px, 100%); border: 1px solid var(--line); border-radius: 23px;
  padding: 34px; background: #0d2a24; box-shadow: var(--shadow);
}
.close { position: absolute; right: 18px; top: 15px; background: none; color: var(--muted); font-size: 30px; border: 0; }
.modal h2 { margin: 8px 0 25px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rules-grid article { padding: 17px; border-radius: 13px; border: 1px solid var(--line); background: rgba(0,0,0,.15); }
.rules-grid h3 { margin: 0 0 9px; color: var(--gold); font-size: 15px; }
.rules-grid p, .rules-note { color: var(--muted); line-height: 1.5; font-size: 13px; margin: 0; }
.rules-note { margin-top: 20px; }

.lobby-screen { min-height: 100vh; }
.lobby-card {
  width: min(560px, calc(100% - 32px)); margin: min(13vh, 120px) auto 0; text-align: center;
  padding: 56px 46px; border-radius: 25px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow);
}
.pulse { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 30px; background: rgba(67,213,138,.22); position: relative; }
.pulse::after { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: var(--emerald); }
.lobby-card h1 { font: 500 40px Georgia, serif; margin: 10px 0 18px; }
.lobby-card > p:not(.eyebrow) { color: var(--muted); }
.code { margin: 27px 0 22px; display: flex; gap: 10px; align-items: center; justify-content: center; }
.code strong { min-width: 255px; border-radius: 12px; border: 1px dashed rgba(240,198,107,.6); padding: 15px; color: var(--gold); letter-spacing: .05em; overflow: hidden; text-overflow: ellipsis; }
.status { margin-top: 25px; color: var(--emerald) !important; }
.fineprint { margin-top: 34px; font-size: 12px; line-height: 1.55; }

.game-screen { min-height: 100vh; padding-bottom: 20px; }
.game-head {
  height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 25px;
  border-bottom: 1px solid var(--line); background: rgba(4,16,13,.5);
}
.game-head .ghost { justify-self: end; }
.online-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--emerald); }
.round-pill {
  display: flex; gap: 13px; align-items: center; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(240,198,107,.05); font-size: 13px;
}
.round-pill span { color: var(--muted); }
.round-pill b { color: var(--gold); }
.play-grid { display: grid; grid-template-columns: 250px minmax(570px, 1fr) 265px; gap: 18px; padding: 18px; max-width: 1600px; margin: auto; }
.side {
  border-radius: 18px; border: 1px solid var(--line); background: var(--panel-soft); padding: 18px;
  height: calc(100vh - 108px); overflow: auto;
}
.side h2 { font-size: 19px; margin: 2px 0 20px; }
.side h3 { margin: 27px 0 12px; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .17em; }
.score { padding: 14px; border: 1px solid transparent; border-radius: 11px; margin-bottom: 8px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.score.active { border-color: rgba(240,198,107,.32); background: rgba(240,198,107,.06); }
.score span { font-size: 13px; }
.score strong { color: var(--gold); font-size: 23px; }
.score small { grid-column: span 2; color: var(--muted); font-size: 11px; }
.contract-list { display: grid; gap: 7px; }
.contract { display: grid; grid-template-columns: 25px 1fr; gap: 9px; font-size: 12px; color: var(--muted); padding: 9px 8px; border-radius: 8px; }
.contract.live { color: var(--text); background: rgba(240,198,107,.12); }
.contract.live b { color: var(--gold); }
.contract.done { color: #68867d; text-decoration: line-through; }

.table {
  position: relative; min-height: calc(100vh - 108px); overflow: hidden; border-radius: 24px;
  border: 1px solid rgba(240,198,107,.22);
  background: radial-gradient(ellipse at center, #116151 0%, var(--felt) 48%, var(--felt-dark) 100%);
  box-shadow: inset 0 0 70px rgba(0,0,0,.22), var(--shadow);
  display: flex; flex-direction: column; align-items: center; padding: 14px 24px 18px;
}
.table::before { content:''; position:absolute; inset:14px; pointer-events:none; border:1px solid rgba(240,198,107,.16); border-radius:17px; }
.opponent { z-index: 1; width: 100%; display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 90px; }
.seat-label { display: grid; gap: 5px; text-align: right; }
.seat-label b { font-size: 13px; }
.seat-label span { color: var(--muted); font-size: 11px; }
.opponent-hand { display: flex; }
.opponent-hand .card { margin-left: -33px; }
.opponent-hand .card:first-child { margin-left: 0; }
.table-games { z-index:1; flex: 1; width: min(100%, 780px); display: grid; gap: 10px; align-content: center; padding: 10px 0; }
.meld-area { display: flex; gap: 14px; align-items: flex-start; min-height: 60px; }
.meld-area label { color: rgba(255,255,255,.6); font-size: 11px; min-width: 86px; padding-top: 11px; }
.melds { display: flex; flex-wrap: wrap; gap: 12px; }
.empty { display: inline-block; margin-top: 10px; color: rgba(255,255,255,.3); font-size: 12px; }
.meld { border-radius: 11px; padding: 5px 6px; display: flex; gap: 4px; background: rgba(0,0,0,.15); position: relative; padding-top: 19px; }
.meld em { position: absolute; top: 3px; left: 8px; font-style: normal; font-size: 8px; color: var(--gold); letter-spacing: .1em; }
.piles { z-index: 1; position: absolute; top: 43%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 23px; }
.pile { height: 100px; width: 74px; border: 0; background: transparent; padding: 0; position: relative; }
.pile.deck { border-radius: 10px; background: repeating-linear-gradient(45deg, #122b3c 0, #122b3c 7px, #193f54 7px, #193f54 14px); border: 2px solid rgba(255,255,255,.65); box-shadow: 0 5px 14px rgba(0,0,0,.3); }
.pile.deck span { position: absolute; right: -8px; top: -9px; border-radius: 20px; padding: 4px 7px; background: var(--gold); color: #192018; font-size: 11px; font-weight: 700; }
.pile small { position: absolute; bottom: -20px; left: 0; right: 0; color: rgba(255,255,255,.66); font-size: 9px; letter-spacing: .12em; }
.pile.enabled:hover { transform: translateY(-4px); }
.turn-message { z-index: 1; min-height: 35px; color: rgba(255,255,255,.65); padding: 9px 20px; background: rgba(0,0,0,.12); border-radius: 30px; font-size: 13px; margin-bottom: 8px; }
.turn-message.mine { color: var(--gold); border: 1px solid rgba(240,198,107,.22); }
.hand-zone { z-index: 1; width: 100%; margin-top: auto; }
.hand-header { display: flex; justify-content: space-between; max-width: 910px; margin: 0 auto 6px; padding: 0 15px; }
.hand-header h2 { font-size: 14px; margin: 0; }
.hand-header small, .hand-header span { color: var(--muted); font-size: 12px; font-weight: normal; }
.hand { min-height: 114px; display: flex; justify-content: center; align-items: end; padding: 10px 0; }
.hand .card { margin-left: -21px; }
.hand .card:first-child { margin-left: 0; }
.controls { z-index: 1; display: flex; justify-content: center; gap: 9px; margin-top: 4px; }
.controls button { min-width: 135px; }
.objective { border: 1px solid var(--line); border-radius: 12px; background: rgba(240,198,107,.06); padding: 15px; display: grid; gap: 10px; }
.objective span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.objective b { color: var(--gold); font-size: 14px; }
.objective small { color: var(--muted); line-height: 1.4; }
.logs { display: grid; gap: 10px; }
.logs p { color: #b7c6bd; font-size: 12px; line-height: 1.4; padding: 0 0 9px; margin: 0; border-bottom: 1px solid rgba(255,255,255,.06); }

.card {
  position: relative; width: 64px; height: 91px; flex-shrink: 0; border-radius: 8px; border: 1px solid rgba(0,0,0,.16);
  background: #fffdf6; color: #111c1b; padding: 0; box-shadow: 0 5px 13px rgba(0,0,0,.28); transition: transform .13s ease, box-shadow .13s ease;
}
button.card:hover { transform: translateY(-9px); box-shadow: 0 12px 17px rgba(0,0,0,.3); }
.card.selected { transform: translateY(-15px); box-shadow: 0 0 0 3px var(--gold), 0 13px 20px rgba(0,0,0,.32); }
.card.red { color: #d32432; }
.card.joker { color: #ae6e0b; background: linear-gradient(135deg, #fffefa, #f8edd3); }
.card .corner { position: absolute; left: 6px; top: 5px; display: grid; line-height: .9; font-weight: 800; font-size: 13px; }
.card .corner small { font-size: 12px; }
.card .corner.bottom { left: auto; right: 6px; top: auto; bottom: 5px; transform: rotate(180deg); }
.card strong { display: block; font-size: 27px; }
.card.back { display: grid; place-items: center; color: rgba(255,255,255,.75); border: 2px solid #e8e4d8; background: repeating-linear-gradient(45deg, #102c3f 0, #102c3f 6px, #174359 6px, #174359 12px); }
.card.back span { transform: rotate(-90deg); font-size: 8px; font-weight: bold; letter-spacing: .17em; }
.card.small { width: 45px; height: 64px; border-radius: 6px; }
.card.small .corner { left: 4px; top: 4px; font-size: 10px; }
.card.small .corner small { font-size: 9px; }
.card.small .corner.bottom { right: 4px; bottom: 4px; left: auto; top: auto; }
.card.small strong { font-size: 19px; }

.round-end { width: min(510px, 100%); text-align: center; }
.round-scores { display: flex; gap: 12px; margin: 22px 0 30px; }
.round-scores div { flex: 1; border: 1px solid var(--line); background: rgba(0,0,0,.13); border-radius: 12px; display: grid; gap: 8px; padding: 16px; }
.round-scores span { font-size: 13px; color: var(--muted); }
.round-scores strong { color: var(--gold); font-size: 32px; }
.round-scores small { font-size: 11px; color: var(--muted); }

.toast {
  position: fixed; z-index: 50; right: 22px; bottom: 22px; max-width: 370px;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease;
  border-radius: 12px; padding: 13px 18px; color: var(--text); background: #173c34; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-color: rgba(226,73,77,.45); }
.toast.success { border-color: rgba(67,213,138,.45); }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; gap: 38px; max-width: 650px; }
  .how { grid-template-columns: 1fr; padding: 38px 25px; }
  .play-grid { grid-template-columns: 1fr; }
  .side { height: auto; }
  .score-panel { order: 2; }
  .activity { order: 3; }
  .table { min-height: 760px; }
}
@media (max-width: 700px) {
  .topbar { padding: 17px 16px; }
  .hero { padding: 14px 16px; margin-top: 10px; }
  .hero-copy h1 { font-size: 43px; }
  .how ol { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .game-head { grid-template-columns: auto 1fr auto; gap: 8px; padding: 10px; height: auto; }
  .round-pill { padding: 8px 10px; flex-direction: column; gap: 2px; text-align: center; font-size: 11px; }
  .play-grid { padding: 8px; }
  .table { padding: 11px 8px; min-height: 675px; }
  .piles { top: 39%; }
  .hand { overflow-x: auto; justify-content: flex-start; padding-left: 22px; }
  .controls button { min-width: 0; font-size: 12px; padding: 11px 9px; }
  .meld-area label { display: none; }
}

/* Mejoras v2: música, apuestas ficticias y orden manual de cartas */
.music-toggle { white-space: nowrap; padding-inline: 14px; }
.bet-field { padding: 13px; margin: 18px 0 20px; border: 1px solid rgba(240,198,107,.22); border-radius: 13px; background: rgba(240,198,107,.045); }
.bet-field > span { color: var(--gold); }
.bet-input { position: relative; display: flex; align-items: center; }
.bet-input b { position: absolute; left: 13px; z-index: 1; color: var(--gold); }
.bet-field .bet-input input { padding-left: 36px; font-weight: 700; color: var(--gold); }
.bet-field small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.game-actions { justify-self: end; display: flex; gap: 8px; }
.wallet { margin: 18px 0; display: grid; gap: 8px; padding: 13px; border-radius: 12px; border: 1px solid rgba(240,198,107,.27); background: rgba(240,198,107,.06); }
.wallet small { color: var(--muted); letter-spacing: .14em; font-size: 9px; font-weight: 800; }
.wallet b { color: var(--gold); font-size: 22px; }
.wallet span { color: var(--muted); font-size: 12px; }
.wallet strong { font-size: 14px; margin-left: 4px; }
.wallet .win { color: var(--emerald); }
.wallet .loss { color: var(--red); }
.turn-message.thinking { color: var(--gold); border: 1px solid rgba(240,198,107,.28); }
.thinking-dots { display: inline-flex; gap: 5px; align-items: center; }
.thinking-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .25; animation: thinking 1s ease-in-out infinite; }
.thinking-dots i:nth-child(2) { animation-delay: .18s; }
.thinking-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes thinking { 0%, 80%, 100% { transform: translateY(0); opacity: .25; } 40% { transform: translateY(-4px); opacity: 1; } }
.organize { display: flex; align-items: center; gap: 6px; }
.organize span { margin-right: 4px; }
.mini { min-height: 29px; padding: 5px 9px; border: 1px solid rgba(240,198,107,.25); border-radius: 8px; color: var(--text); background: rgba(0,0,0,.18); font-weight: 800; }
.mini.sort { color: var(--gold); font-size: 11px; }
.mini:hover:not(:disabled) { border-color: var(--gold); }
.card.reorderable { cursor: grab; touch-action: manipulation; }
.card.reorderable:active, .card.dragging { cursor: grabbing; opacity: .75; }
.hand[data-hand-dropzone="true"] { border-radius: 12px; }
.bet-result { border-radius: 11px; padding: 13px; margin: -12px 0 20px; font-size: 13px; }
.bet-result.won { color: var(--emerald); border: 1px solid rgba(67,213,138,.32); background: rgba(67,213,138,.08); }
.bet-result.lost { color: #ff9a9d; border: 1px solid rgba(226,73,77,.3); background: rgba(226,73,77,.08); }
.next-bet { display: grid; text-align: left; gap: 7px; margin: 0 0 20px; }
.next-bet span { font-size: 12px; color: var(--muted); font-weight: 700; }
.next-bet input { background: rgba(0,0,0,.2); color: var(--gold); border: 1px solid rgba(240,198,107,.25); outline: none; border-radius: 11px; padding: 12px 14px; font-weight: 700; }
.next-bet input:focus { border-color: var(--gold); }

@media (max-width: 700px) {
  .nav-actions { gap: 5px; }
  .music-toggle { padding-inline: 10px; font-size: 12px; }
  .game-actions { flex-direction: column; gap: 4px; }
  .game-actions .ghost { padding: 7px 9px; font-size: 11px; }
  .hand-header { align-items: flex-start; gap: 8px; }
  .organize { flex-wrap: wrap; justify-content: flex-end; max-width: 230px; }
  .organize span { width: 100%; text-align: right; }
}

/* Mejoras v3: reloj por turno y ambientación de saloon */
.time-field { padding: 13px; margin: 18px 0 14px; border: 1px solid rgba(240,198,107,.18); border-radius: 13px; background: rgba(0,0,0,.13); }
.time-field > span { color: var(--gold); }
.time-field small { display: block; color: var(--muted); margin-top: 9px; font-size: 11px; line-height: 1.45; }
.compact-choice { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.compact-choice label span { padding: 10px 8px; font-size: 12px; text-align: center; }
.turn-clock {
  z-index: 1; display: inline-flex; align-items: center; gap: 13px; margin: 0 auto 9px;
  padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(240,198,107,.33);
  background: rgba(26,21,10,.35); color: var(--gold); box-shadow: inset 0 0 18px rgba(240,198,107,.04);
}
.turn-clock small { color: rgba(255,255,255,.7); letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.turn-clock b { font-size: 19px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.turn-clock span { color: var(--muted); font-size: 11px; }
.turn-clock.danger { color: #ffce61; border-color: rgba(226,73,77,.6); background: rgba(135,29,31,.23); animation: clockDanger .8s ease-in-out infinite alternate; }
@keyframes clockDanger { from { box-shadow: 0 0 0 rgba(226,73,77,0); } to { box-shadow: 0 0 16px rgba(226,73,77,.35); } }

@media (max-width: 700px) {
  .compact-choice { grid-template-columns: repeat(3, 1fr); }
  .turn-clock { gap: 8px; padding: 7px 10px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 16px); }
  .turn-clock span { width: 100%; text-align: center; }
}
