/* WEB-SKIN-V05: Summer Time Siren complete turquoise skin. */
.summer-time-siren-face { display: none; }

body[data-card-skin="summer-time-siren"] {
  --void: #031011;
  --panel: #07191a;
  --panel-2: #0d2728;
  --line: #40e0d0;
  --line-rgb: 64, 224, 208;
  --line-soft: rgba(64, 224, 208, 0.40);
  --text: #efffff;
  --muted: #9bcac5;
  --danger: #ff7994;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -18%, rgba(64, 224, 208, 0.22), transparent 46%),
    radial-gradient(circle at 14% 68%, rgba(13, 122, 122, 0.15), transparent 36%),
    linear-gradient(180deg, #0a2b2d, #020809 76%);
}

body[data-card-skin="summer-time-siren"] ::selection {
  color: #021211;
  background: rgba(120, 255, 240, 0.84);
}

body[data-card-skin="summer-time-siren"] .brand-panel,
body[data-card-skin="summer-time-siren"] .join-card,
body[data-card-skin="summer-time-siren"] .rules-card,
body[data-card-skin="summer-time-siren"] .lobby-panel,
body[data-card-skin="summer-time-siren"] .finish-panel,
body[data-card-skin="summer-time-siren"] .table-shell,
body[data-card-skin="summer-time-siren"] .game-header,
body[data-card-skin="summer-time-siren"] .player-score,
body[data-card-skin="summer-time-siren"] .capture-panel,
body[data-card-skin="summer-time-siren"] .last-move-panel,
body[data-card-skin="summer-time-siren"] .replay-panel,
body[data-card-skin="summer-time-siren"] .room-tools-panel,
body[data-card-skin="summer-time-siren"] .premium-panel,
body[data-card-skin="summer-time-siren"] .final-score {
  border-color: var(--line-soft);
  background-color: rgba(5, 18, 19, 0.95);
}

body[data-card-skin="summer-time-siren"] .brand-panel,
body[data-card-skin="summer-time-siren"] .join-card,
body[data-card-skin="summer-time-siren"] .rules-card,
body[data-card-skin="summer-time-siren"] .lobby-panel,
body[data-card-skin="summer-time-siren"] .finish-panel {
  background: linear-gradient(145deg, rgba(10, 42, 43, 0.97), rgba(2, 10, 11, 0.99));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.56), inset 0 0 0 1px rgba(120, 255, 240, 0.04);
}

body[data-card-skin="summer-time-siren"] .eyebrow,
body[data-card-skin="summer-time-siren"] h1,
body[data-card-skin="summer-time-siren"] .rules-card summary,
body[data-card-skin="summer-time-siren"] .lobby-panel h2,
body[data-card-skin="summer-time-siren"] .finish-panel h2,
body[data-card-skin="summer-time-siren"] .large-code,
body[data-card-skin="summer-time-siren"] .room-line strong,
body[data-card-skin="summer-time-siren"] .score-title,
body[data-card-skin="summer-time-siren"] .seat-status.online,
body[data-card-skin="summer-time-siren"] .stack-count b,
body[data-card-skin="summer-time-siren"] .rail-heading strong,
body[data-card-skin="summer-time-siren"] #selectionHint,
body[data-card-skin="summer-time-siren"] .final-score strong,
body[data-card-skin="summer-time-siren"] #replayIndex,
body[data-card-skin="summer-time-siren"] .premium-panel h2,
body[data-card-skin="summer-time-siren"] .system-on b,
body[data-card-skin="summer-time-siren"] .room-tools-field label {
  color: #78fff0;
}

body[data-card-skin="summer-time-siren"] label,
body[data-card-skin="summer-time-siren"] .motto,
body[data-card-skin="summer-time-siren"] .room-line,
body[data-card-skin="summer-time-siren"] .score-values,
body[data-card-skin="summer-time-siren"] .stack-count,
body[data-card-skin="summer-time-siren"] .rail-heading,
body[data-card-skin="summer-time-siren"] .diagonal-key,
body[data-card-skin="summer-time-siren"] .game-log,
body[data-card-skin="summer-time-siren"] .final-score span,
body[data-card-skin="summer-time-siren"] .rematch-status,
body[data-card-skin="summer-time-siren"] .replay-text,
body[data-card-skin="summer-time-siren"] .inspect-register,
body[data-card-skin="summer-time-siren"] .room-tools-note {
  color: #9fdad4;
}

body[data-card-skin="summer-time-siren"] .turn-message,
body[data-card-skin="summer-time-siren"] .last-move,
body[data-card-skin="summer-time-siren"] .history-slide,
body[data-card-skin="summer-time-siren"] .rules-card {
  color: #eafffc;
}

body[data-card-skin="summer-time-siren"] input,
body[data-card-skin="summer-time-siren"] .card-skin-select {
  border-color: rgba(64, 224, 208, 0.58);
  color: #efffff;
  background: #041415;
}

body[data-card-skin="summer-time-siren"] input:focus,
body[data-card-skin="summer-time-siren"] .card-skin-select:focus {
  border-color: #78fff0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.16);
}

/* UI controls only. Card buttons are deliberately excluded. */
body[data-card-skin="summer-time-siren"] button:not(.card):not(.secondary):not(.ghost):not(.end-room-button):not(.intake-button) {
  color: #021312;
  border-color: #78fff0;
  background: #40e0d0;
  box-shadow: 0 0 22px rgba(64, 224, 208, 0.21);
}

body[data-card-skin="summer-time-siren"] button.secondary {
  color: #78fff0;
  border-color: rgba(64, 224, 208, 0.72);
  background: rgba(6, 38, 39, 0.88);
}

body[data-card-skin="summer-time-siren"] button.ghost {
  color: #c7f3ee;
  border-color: rgba(48, 132, 130, 0.62);
  background: #0c2223;
}

body[data-card-skin="summer-time-siren"] .game-header {
  border-color: rgba(64, 224, 208, 0.46);
  background: rgba(3, 16, 17, 0.94);
  box-shadow: 0 0 24px rgba(64, 224, 208, 0.07);
}

body[data-card-skin="summer-time-siren"] .connection.online {
  color: #78fff0;
  background: rgba(64, 224, 208, 0.14);
}

body[data-card-skin="summer-time-siren"] .table-shell {
  border-color: rgba(64, 224, 208, 0.50);
  background: linear-gradient(180deg, rgba(5, 23, 24, 0.99), rgba(1, 7, 8, 0.99));
  box-shadow: inset 0 0 72px rgba(64, 224, 208, 0.05);
}

body[data-card-skin="summer-time-siren"] .table-shell::before {
  background-image:
    linear-gradient(rgba(3, 18, 19, 0.62), rgba(1, 8, 9, 0.92)),
    radial-gradient(circle at center, rgba(64, 224, 208, 0.14), transparent 56%),
    var(--board);
  opacity: 0.62;
  filter: grayscale(0.30) sepia(0.18) hue-rotate(120deg) saturate(2.05) contrast(1.20) brightness(0.68);
}

body[data-card-skin="summer-time-siren"] .player-score {
  border-color: rgba(52, 143, 139, 0.62);
  background: rgba(3, 17, 18, 0.92);
}

body[data-card-skin="summer-time-siren"] .player-score.active-seat {
  border-color: rgba(120, 255, 240, 0.96);
  box-shadow: 0 0 18px rgba(64, 224, 208, 0.14);
}

body[data-card-skin="summer-time-siren"] .status-panel {
  border-left-color: #40e0d0;
  background: linear-gradient(90deg, rgba(8, 74, 73, 0.90), rgba(5, 25, 26, 0.96));
}

body[data-card-skin="summer-time-siren"] h3,
body[data-card-skin="summer-time-siren"] .capture-panel summary,
body[data-card-skin="summer-time-siren"] .rail-axis .axis-name {
  color: #78fff0;
}

body[data-card-skin="summer-time-siren"] .rail-axis { color: #e2fffc; }

body[data-card-skin="summer-time-siren"] .card-back-mini {
  border-color: rgba(64, 224, 208, 0.76);
  filter: grayscale(0.24) sepia(0.22) hue-rotate(119deg) saturate(2.20) contrast(1.24) brightness(0.76);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.62), 0 0 10px rgba(64, 224, 208, 0.18);
}

body[data-card-skin="summer-time-siren"] .card:not(.empty),
body[data-card-skin="summer-time-siren"] .mini-card,
body[data-card-skin="summer-time-siren"] .replay-card,
body[data-card-skin="summer-time-siren"] #yourHand > button.card.selectable,
body[data-card-skin="summer-time-siren"] #yourHand > button.card.selectable:hover,
body[data-card-skin="summer-time-siren"] #yourHand > button.card.selectable:focus-visible,
body[data-card-skin="summer-time-siren"] #yourHand > button.card.selectable:active,
body[data-card-skin="summer-time-siren"] #yourHand > button.card.selectable:disabled {
  position: relative;
  overflow: hidden;
  border-color: rgba(64, 224, 208, 0.96);
  background-color: #071d1e !important;
  background-image: linear-gradient(155deg, #0b2a2b 0%, #061719 52%, #092122 100%) !important;
  box-shadow: 0 0 0 1px rgba(11, 91, 88, 0.88) inset, 0 0 13px rgba(64, 224, 208, 0.18), 0 7px 16px rgba(0, 0, 0, 0.64);
}

body[data-card-skin="summer-time-siren"] .card.selectable.selected {
  border-color: #d9fffb;
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.44), 0 0 30px rgba(64, 224, 208, 0.35), 0 12px 22px rgba(0, 0, 0, 0.78);
}

body[data-card-skin="summer-time-siren"] .card.empty {
  border-color: rgba(52, 143, 139, 0.62);
  color: #4f8e8a;
  background-color: rgba(8, 29, 30, 0.80);
}

body[data-card-skin="summer-time-siren"] .intake-button {
  color: #a9ded9;
  border-color: rgba(52, 143, 139, 0.68);
  background: rgba(3, 15, 16, 0.97);
}

body[data-card-skin="summer-time-siren"] .intake-button.ready {
  color: #021312;
  border-color: #78fff0;
  background: #40e0d0;
  box-shadow: 0 0 24px rgba(64, 224, 208, 0.25);
}

body[data-card-skin="summer-time-siren"] .capture-panel {
  border-color: rgba(52, 143, 139, 0.48);
  background: rgba(3, 17, 18, 0.94);
}

body[data-card-skin="summer-time-siren"] .last-move-panel {
  border-color: rgba(52, 143, 139, 0.42);
  background: rgba(2, 11, 12, 0.96);
}

body[data-card-skin="summer-time-siren"] .final-score.winner {
  border-color: #78fff0;
  box-shadow: 0 0 24px rgba(64, 224, 208, 0.18);
}

body[data-card-skin="summer-time-siren"] .toast {
  border-color: #40e0d0;
  background: rgba(4, 18, 19, 0.98);
  box-shadow: 0 10px 40px black, 0 0 18px rgba(64, 224, 208, 0.11);
}

body[data-card-skin="summer-time-siren"] .slide-result-banner {
  border-color: #78fff0;
  color: #021312;
  background: #40e0d0;
  box-shadow: 0 0 28px rgba(64, 224, 208, 0.25);
}

body[data-card-skin="summer-time-siren"] .star-trace.gold-trace {
  color: #041615;
  background: #78fff0;
  box-shadow: 0 0 14px rgba(64, 224, 208, 0.84), inset 0 0 7px rgba(255, 255, 255, 0.24);
}

body[data-card-skin="summer-time-siren"] .star-trace.black-trace {
  color: #8adbd3;
  border-color: #287f7b;
  background: rgba(1, 8, 9, 0.94);
  box-shadow: 0 0 10px rgba(64, 224, 208, 0.34);
}

body[data-card-skin="summer-time-siren"] .end-room-button {
  color: #b9f5ef;
  border-color: rgba(64, 224, 208, 0.72);
  background: rgba(5, 52, 52, 0.58);
}

/* Deterministic Summer Time Siren card face. */
body[data-card-skin="summer-time-siren"] .summer-time-siren-face {
  position: absolute;
  inset: 2.3%;
  z-index: 3;
  display: grid;
  grid-template-rows: 7% 16% 2% 31% 6% 22% 14%;
  min-width: 0;
  min-height: 0;
  padding: 3.5%;
  border: 1px solid rgba(64, 224, 208, 0.90);
  border-radius: 4%;
  color: #efffff;
  background: linear-gradient(90deg, rgba(64, 224, 208, 0.08), transparent 15%, transparent 85%, rgba(120, 255, 240, 0.07)), rgba(5, 25, 26, 0.91);
  box-shadow: 0 0 0 1px rgba(8, 75, 72, 0.94), 0 0 8px rgba(64, 224, 208, 0.14) inset;
  font-size: clamp(3.1px, 1.1vw, 6.2px);
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.025em;
  pointer-events: none;
  text-align: left;
  text-transform: uppercase;
}

body[data-card-skin="summer-time-siren"] .sts-top,
body[data-card-skin="summer-time-siren"] .sts-title,
body[data-card-skin="summer-time-siren"] .sts-stars,
body[data-card-skin="summer-time-siren"] .sts-weights,
body[data-card-skin="summer-time-siren"] .sts-gold,
body[data-card-skin="summer-time-siren"] .sts-footer { min-width: 0; }

body[data-card-skin="summer-time-siren"] .sts-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 3%;
  color: #8dcfc8;
  font-size: 0.62em;
  white-space: nowrap;
}

body[data-card-skin="summer-time-siren"] .sts-top small:last-child { color: #78fff0; text-align: right; }
body[data-card-skin="summer-time-siren"] .sts-title { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 5%; overflow: hidden; }
body[data-card-skin="summer-time-siren"] .sts-title strong { align-self: center; color: #78fff0; font-family: Georgia, "Times New Roman", serif; font-size: 4.65em; font-weight: 800; letter-spacing: -0.08em; line-height: 0.8; text-shadow: 0 0 7px rgba(64, 224, 208, 0.58); }
body[data-card-skin="summer-time-siren"] .sts-title em { overflow: hidden; padding-bottom: 4%; color: #40e0d0; font-size: 0.88em; font-style: normal; font-weight: 850; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; }
body[data-card-skin="summer-time-siren"] .sts-rule { align-self: center; height: 1px; background: linear-gradient(90deg, #40e0d0, rgba(64, 224, 208, 0.12)); }
body[data-card-skin="summer-time-siren"] .sts-stars { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 1%; }
body[data-card-skin="summer-time-siren"] .sts-channel { display: grid; grid-template-rows: 1fr auto auto; place-items: center; min-width: 0; color: #bde9e4; font-style: normal; }
body[data-card-skin="summer-time-siren"] .sts-channel b { color: #153b3b; font-family: Georgia, "Times New Roman", serif; font-size: 3.2em; font-weight: 400; line-height: 0.95; text-shadow: 0 0 1px #287f7b; }
body[data-card-skin="summer-time-siren"] .sts-channel.is-lit b { color: #78fff0; text-shadow: 0 0 2px #f0fffd, 0 0 8px rgba(64, 224, 208, 0.94); }
body[data-card-skin="summer-time-siren"] .sts-channel i { margin-top: 8%; color: #e1fffb; font-size: 0.92em; font-style: normal; font-weight: 900; }
body[data-card-skin="summer-time-siren"] .sts-channel small { overflow: hidden; width: 100%; margin-top: 8%; color: #74aaa5; font-size: 0.48em; text-align: center; white-space: nowrap; }
body[data-card-skin="summer-time-siren"] .sts-weights { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; color: #92c7c2; font-size: 0.75em; text-align: center; }
body[data-card-skin="summer-time-siren"] .sts-weights i { font-style: normal; }

body[data-card-skin="summer-time-siren"] .sts-gold {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: center;
  padding: 5% 6%;
  border: 1px solid rgba(64, 224, 208, 0.84);
  border-radius: 7%;
  background: rgba(3, 20, 21, 0.88);
  box-shadow: 0 0 7px rgba(64, 224, 208, 0.15) inset;
}

body[data-card-skin="summer-time-siren"] .sts-gold small { color: #9ff8ee; font-size: 0.86em; font-weight: 900; }
body[data-card-skin="summer-time-siren"] .sts-gold b { grid-row: 2; color: #78fff0; font-size: 2.8em; font-weight: 800; line-height: 0.8; }
body[data-card-skin="summer-time-siren"] .sts-gold code { grid-column: 2; grid-row: 1 / span 2; color: #d8fffb; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.25em; letter-spacing: 0.08em; }
body[data-card-skin="summer-time-siren"] .sts-footer { align-self: end; display: grid; gap: 10%; color: #ddfaf7; font-size: 0.72em; text-align: center; }
body[data-card-skin="summer-time-siren"] .sts-footer small { color: #7eaaa6; font-size: 0.8em; }

body[data-card-skin="summer-time-siren"] .mini-card .summer-time-siren-face,
body[data-card-skin="summer-time-siren"] .replay-card .summer-time-siren-face { grid-template-rows: 34% 4% 42% 20%; padding: 5%; font-size: 3px; }
body[data-card-skin="summer-time-siren"] .mini-card .sts-top,
body[data-card-skin="summer-time-siren"] .mini-card .sts-weights,
body[data-card-skin="summer-time-siren"] .mini-card .sts-gold,
body[data-card-skin="summer-time-siren"] .mini-card .sts-footer,
body[data-card-skin="summer-time-siren"] .mini-card .sts-title em,
body[data-card-skin="summer-time-siren"] .replay-card .sts-top,
body[data-card-skin="summer-time-siren"] .replay-card .sts-weights,
body[data-card-skin="summer-time-siren"] .replay-card .sts-footer,
body[data-card-skin="summer-time-siren"] .replay-card .sts-channel small { display: none; }
body[data-card-skin="summer-time-siren"] .mini-card .sts-title,
body[data-card-skin="summer-time-siren"] .replay-card .sts-title { display: block; }
body[data-card-skin="summer-time-siren"] .mini-card .sts-title strong,
body[data-card-skin="summer-time-siren"] .replay-card .sts-title strong { font-size: 5em; }
body[data-card-skin="summer-time-siren"] .mini-card .sts-channel b,
body[data-card-skin="summer-time-siren"] .replay-card .sts-channel b { font-size: 2.5em; }
body[data-card-skin="summer-time-siren"] .mini-card .sts-channel i { display: none; }
body[data-card-skin="summer-time-siren"] .replay-card .sts-gold { display: flex; justify-content: space-between; padding: 3% 6%; }
body[data-card-skin="summer-time-siren"] .replay-card .sts-gold b { font-size: 2em; }
body[data-card-skin="summer-time-siren"] .replay-card .sts-gold code { font-size: 0.9em; }

@media (max-width: 430px) {
  body[data-card-skin="summer-time-siren"] .card .summer-time-siren-face { font-size: clamp(2.8px, 1vw, 4.8px); }
  body[data-card-skin="summer-time-siren"] .card .sts-channel small,
  body[data-card-skin="summer-time-siren"] .card .sts-top small:first-child { display: none; }
  body[data-card-skin="summer-time-siren"] .card .sts-top { justify-content: flex-end; }
}