:root {
  --bg-top: #091a3f;
  --bg-bottom: #102959;
  --panel-soft: #173772;
  --panel-border: #5b7ec1;
  --text-main: #f2f7ff;
  --text-soft: #bfd3f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Trebuchet MS, Segoe UI, sans-serif;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

.game-page {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 0 14px 18px;
  flex: 1 0 auto;
}

.top-row {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 4px 12px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
}

.home-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  text-decoration: none;
  color: #f8fbff;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.home-brand-icons { display: inline-flex; gap: 5px; font-size: clamp(1.1rem, 2.1vw, 1.5rem); }
.home-brand-icon.spade, .home-brand-icon.club { color: #c9a063; }
.home-brand-icon.heart, .home-brand-icon.diamond { color: #ff2a2a; }

.game-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: none;
}

.hud-row {
  margin-top: -6px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
}

.hud-strip {
  display: flex;
  gap: 8px;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: 100%;
}

.hud-box {
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: var(--panel-soft);
  text-align: center;
  padding: 8px 10px;
}

.score-box, .connections-box { min-width: 140px; }
.game-name-inline {
  display: flex;
  align-items: center;
  padding: 0 6px 0 2px;
  color: #eef4ff;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.linked-cards-box { min-width: 330px; text-align: left; }
.linked-cards-box .hud-label { text-align: center; }
.missed-links-box { min-width: 330px; text-align: left; }
.missed-links-box .hud-label { text-align: center; }
.linked-cards-box,
.missed-links-box {
  min-height: 176px;
}
.timer-box, .stage-box { min-width: 120px; }
.hud-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hud-value {
  display: block;
  margin-top: 4px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hud-value-small {
  font-size: 1.6rem;
}

.timer-box.warning {
  border-color: #f3cf42;
  background: #5e4b0f;
  animation: timerWarnBlink 0.55s steps(1, end) infinite;
}

.timer-box.warning .hud-label,
.timer-box.warning .hud-value {
  color: #ffe37a;
}

.linked-cards-strip {
  --mini-slot-w: 78px;
  --mini-slot-h: 114px;
  --mini-card-w: 66px;
  --mini-card-h: 96px;
  --mini-corner-rank-size: 1.28rem;
  --mini-corner-suit-size: 1.12rem;
  --mini-center-size: 2rem;
  --mini-corner-top-offset: 6px;
  --mini-corner-side-offset: 6px;
  --mini-corner-bottom-offset: 6px;
  --mini-scale: 1;
  margin-top: 6px;
  min-height: 114px;
  display: flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
}

.linked-cards-row {
  margin-top: 6px;
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
}

.linked-cards-row .linked-cards-strip {
  margin-top: 0;
  flex: 1 1 auto;
}

.linked-type-text {
  flex: 0 0 auto;
  min-width: 120px;
  text-align: right;
  color: #d8e8ff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.linked-points-text {
  flex: 0 0 auto;
  min-width: 96px;
  text-align: right;
  color: #64e388;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.linked-confetti {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  width: 88px;
  height: 62px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
  z-index: 8;
}

.linked-confetti-piece {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: 1;
  animation: linkedConfettiPop 780ms ease-out forwards;
}

.linked-card-slot {
  border: none;
  background: transparent;
  border-radius: 7px;
  height: calc(var(--mini-slot-h) * var(--mini-scale));
  width: calc(var(--mini-slot-w) * var(--mini-scale));
  min-height: calc(var(--mini-slot-h) * var(--mini-scale));
  min-width: calc(var(--mini-slot-w) * var(--mini-scale));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.linked-card-prototype {
  width: calc(var(--mini-card-w) * var(--mini-scale));
  height: calc(var(--mini-card-h) * var(--mini-scale));
  border-radius: 6px;
  background: #f3f4f6;
  border: 1px solid rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.linked-card-prototype.red {
  color: #dc2626;
}

.linked-card-prototype.black {
  color: #0f172a;
}

.linked-card-corner {
  position: absolute;
  left: calc(var(--mini-corner-side-offset) * var(--mini-scale));
  top: calc(var(--mini-corner-top-offset) * var(--mini-scale));
  font-size: calc(var(--mini-corner-rank-size) * var(--mini-scale));
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
}

.linked-card-suit {
  font-size: calc(var(--mini-corner-suit-size) * var(--mini-scale));
}

.linked-card-corner-bottom {
  left: auto;
  right: calc(var(--mini-corner-side-offset) * var(--mini-scale));
  top: auto;
  bottom: calc(var(--mini-corner-bottom-offset) * var(--mini-scale));
  transform: rotate(180deg);
}

.linked-card-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: calc(var(--mini-center-size) * var(--mini-scale));
  font-weight: 800;
  line-height: 1;
}

.missed-links-list {
  margin-top: 6px;
  min-height: 114px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.missed-row {
  min-height: 114px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.missed-row-cards {
  --mini-slot-w: 78px;
  --mini-slot-h: 114px;
  --mini-card-w: 66px;
  --mini-card-h: 96px;
  --mini-corner-rank-size: 1.28rem;
  --mini-corner-suit-size: 1.12rem;
  --mini-center-size: 2rem;
  --mini-corner-top-offset: 6px;
  --mini-corner-side-offset: 6px;
  --mini-corner-bottom-offset: 6px;
  --mini-scale: 1;
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.missed-row-type {
  flex: 0 0 auto;
  min-width: 96px;
  text-align: right;
  color: #d8e8ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lives-box { min-width: 154px; }
.lives-track { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.heart { color: #f23434; font-size: 1.18rem; text-shadow: 0 0 6px rgba(242, 52, 52, 0.44); transition: opacity 0.2s ease; }
.heart.lost { opacity: 0.2; text-shadow: none; }
.heart.critical-blink { animation: criticalHeartBlink 0.22s ease-in-out 3; }

.settings-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: var(--panel-soft);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  align-self: center;
}

.board-wrap { margin-top: 8px; }

.links-status-row {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.link-info-panel {
  margin-top: 10px;
  border: 2px solid #3f6fb5;
  border-radius: 12px;
  background: rgba(16, 38, 80, 0.82);
  padding: 12px 14px;
}

.link-info-panel h2 {
  margin: 0 0 8px;
  color: #f2f7ff;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.link-info-panel p {
  margin: 6px 0;
  color: #dce9ff;
  font-size: 0.94rem;
  line-height: 1.35;
}

.link-info-panel strong {
  color: #fef08a;
}

.link-info-panel a,
.link-info-panel a:link,
.link-info-panel a:visited,
.link-info-panel a:hover,
.link-info-panel a:focus,
.link-info-panel a:active {
  color: #ffffff !important;
}

.game-board {
  position: relative;
  height: min(64vh, 700px);
  min-height: 470px;
  border: 2px solid var(--panel-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 38, 80, 0.9), rgba(8, 21, 45, 0.96));
  overflow: hidden;
  touch-action: none;
}

.board-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(149,182,236,0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(149,182,236,0.16) 1px, transparent 1px);
  background-size: 20% 100%, 100% 16.66%;
}

.attract-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.attract-card {
  position: absolute;
  width: 120px;
  height: 176px;
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.36);
  opacity: 0.92;
  animation: attractCardFloat 2.6s ease-in-out infinite;
}

.attract-card.c1 { left: 14%; top: 20%; animation-delay: 0s; }
.attract-card.c2 { left: 31%; top: 34%; animation-delay: 0.18s; }
.attract-card.c3 { left: 48%; top: 25%; animation-delay: 0.36s; }
.attract-card.c4 { left: 65%; top: 38%; animation-delay: 0.54s; }

.attract-chain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.attract-chain-line {
  fill: none;
  stroke: rgba(143, 215, 255, 0.95);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 10;
  filter: drop-shadow(0 0 8px rgba(143, 215, 255, 0.78));
  animation: attractLineFlow 1.5s linear infinite;
}

.attract-hint {
  position: absolute;
  left: 50%;
  bottom: 24%;
  transform: translateX(-50%);
  border: 1px solid rgba(152, 196, 255, 0.58);
  border-radius: 999px;
  background: rgba(16, 45, 98, 0.72);
  color: #eaf3ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  animation: attractHintPulse 1.6s ease-in-out infinite;
}

.drop-card {
  position: absolute;
  z-index: 3;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.12s ease, filter 0.12s ease;
}

.drop-card.selected {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px #7fd2ff, 0 0 20px rgba(127, 210, 255, 0.5);
}

.drop-card.interference-fade {
  opacity: 0.38;
  filter: saturate(0.65);
}

.drop-card.interference-pulse {
  animation: interferencePulse 0.14s ease-out 1;
}

.drop-card.valid-chain {
  box-shadow: 0 0 0 2px #6ccfff, 0 0 16px rgba(108, 207, 255, 0.58);
}

.drop-card.invalid-chain {
  opacity: 0.35;
}

.drop-card.linked-resolve-pulse {
  animation: linkedResolvePulse 0.26s ease-out 1;
}

.drop-card.invalid-flash {
  animation: invalidCardFlash 0.42s ease-in-out 1;
}

.chain-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.chain-line {
  fill: none;
  stroke: #8fd7ff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(143, 215, 255, 0.7));
}

.chain-line.resolve-flash {
  animation: resolveTrailFlash 0.26s ease-out 1;
}

.chain-line.interference-dash {
  stroke-dasharray: 10 8;
  opacity: 0.72;
}

.chain-spark {
  fill: #fff7b0;
  filter: drop-shadow(0 0 8px rgba(255, 236, 140, 0.95));
}

.combo-banner {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  z-index: 6;
  background: #ffd84a;
  color: #14243f;
  border: 1px solid #f7b500;
  border-radius: 10px;
  font-weight: 800;
  padding: 8px 14px;
}

.mobile-feedback-overlay {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 7;
  width: min(92%, 440px);
  pointer-events: none;
}

.mobile-feedback-card {
  border: 1px solid rgba(147, 180, 238, 0.65);
  border-radius: 10px;
  background: rgba(11, 31, 71, 0.93);
  padding: 8px 10px;
  display: grid;
  gap: 6px;
}

.mobile-feedback-title {
  text-align: center;
  color: #dcebff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.mobile-feedback-title.good {
  color: #64e388;
}

.mobile-feedback-title.missed {
  color: #ffd889;
}

.mobile-feedback-cards {
  --mini-slot-w: 50px;
  --mini-slot-h: 102px;
  --mini-card-w: 42px;
  --mini-card-h: 82px;
  --mini-corner-rank-size: 1.06rem;
  --mini-corner-suit-size: 0.94rem;
  --mini-center-size: 1rem;
  --mini-corner-top-offset: 6px;
  --mini-corner-side-offset: 4px;
  --mini-corner-bottom-offset: 6px;
  --mini-scale: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}

.center-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  padding: 14px 32px;
  cursor: pointer;
}

.play-btn { background: #dc2626; }
.resume-btn { background: #306dd7; }
.hidden { display: none !important; }

.game-over-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: min(420px, 92%);
  border: 1px solid #8fb2ef;
  border-radius: 12px;
  background: #f4f8ff;
  color: #13213a;
  padding: 16px;
  text-align: center;
}

.game-over-panel h2 { margin: 0 0 12px; letter-spacing: 0.06em; }
.game-over-stats { display: grid; gap: 7px; margin-bottom: 12px; }
.game-over-stats p { margin: 0; border: 1px solid #afc7ee; border-radius: 9px; background: #eaf2ff; padding: 8px 10px; display: flex; justify-content: space-between; }
.game-over-actions { display: flex; flex-direction: column; gap: 8px; }
.action-btn { border: none; border-radius: 9px; background: #1d57be; color: #fff; font-weight: 700; padding: 11px 14px; cursor: pointer; width: 100%; }
.action-btn.secondary { background: #3f6fb5; }

.site-footer { border-top: 1px solid rgba(154, 186, 239, 0.4); padding: 12px 14px 16px; text-align: center; }
.footer-game-links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; }
.footer-game-btn { text-decoration: none; border: 1px solid #5f88cc; border-radius: 999px; color: #dceaff; background: #1a3a76; padding: 8px 12px; font-weight: 700; font-size: 0.92rem; }
button.footer-game-btn { cursor: pointer; }
.report-bug-btn { border-color: #f59e0b; background: #6a2b08; color: #ffedd5; }
.burst-word { color: #f13838; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.footer-legal-links a { color: #dce9ff; }
.footer-meta { margin: 10px 0 0; color: #b8cbef; font-size: 0.9rem; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  display: grid;
  place-items: center;
  z-index: 20;
}

.modal-panel {
  width: min(340px, 92vw);
  border: 1px solid #7ca1dc;
  border-radius: 12px;
  background: #f4f8ff;
  color: #13213a;
  padding: 14px;
}

.bug-report-modal-panel {
  width: min(580px, 95vw);
  max-height: 86vh;
  overflow: auto;
}

.bug-report-form {
  display: grid;
  gap: 8px;
}

.bug-form-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e3a8a;
}

.bug-report-form input[type="text"],
.bug-report-form select,
.bug-report-form textarea {
  width: 100%;
  border: 1px solid rgba(124, 161, 220, 0.72);
  border-radius: 8px;
  background: #ffffff;
  color: #13213a;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-family: inherit;
}

.bug-report-form textarea {
  min-height: 76px;
  resize: vertical;
}

.bug-report-status {
  margin: 4px 0 0;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.bug-report-status.ok {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(5, 150, 105, 0.45);
  color: #065f46;
}

.bug-report-status.error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.42);
  color: #7f1d1d;
}

.bug-form-actions {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.bug-submit-btn {
  min-width: 148px;
}

.settings-row { margin: 12px 0; display: flex; align-items: center; justify-content: space-between; }
.sfx-toggle, .modal-close { border: none; border-radius: 8px; background: #1e57ba; color: #fff; padding: 8px 10px; font-weight: 700; cursor: pointer; }

@keyframes attractCardFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes attractLineFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -44; }
}

@keyframes attractHintPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(0.98); }
  50% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes timerWarnBlink {
  0%, 49% {
    box-shadow: 0 0 0 rgba(255, 216, 74, 0);
  }
  50%, 100% {
    box-shadow: 0 0 14px rgba(255, 216, 74, 0.48);
  }
}

@keyframes invalidCardFlash {
  0% {
    filter: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
  50%, 85% {
    filter: saturate(1.45) brightness(0.82) hue-rotate(-12deg);
    box-shadow: 0 0 0 2px #ff6d6d, 0 0 18px rgba(255, 80, 80, 0.55);
  }
  100% {
    filter: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
    transform: translateX(0);
  }
}

@keyframes criticalHeartBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes linkedResolvePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes resolveTrailFlash {
  0% { stroke-width: 5; opacity: 0.85; }
  50% { stroke-width: 8; opacity: 1; }
  100% { stroke-width: 5; opacity: 0.92; }
}

@keyframes linkedConfettiPop {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(0.9);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx, -18px), var(--dy, -34px)) rotate(var(--rot, 180deg)) scale(0.7);
    opacity: 0;
  }
}

@keyframes interferencePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (max-width: 900px) {
  .top-row { display: flex; justify-content: flex-start; align-items: center; position: relative; padding-right: 42px; }
  .top-row { margin-bottom: 10px; }
  .game-title {
    display: block;
    position: static;
    transform: none;
    margin-left: auto;
    margin-right: 44px;
    text-align: right;
    font-size: clamp(0.95rem, 3.8vw, 1.2rem);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .hud-row { flex-direction: column; align-items: center; margin-bottom: 8px; }
  .hud-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: calc(108px * 3 + 16px);
    margin: 0 auto;
  }
  .game-name-inline { display: none; }
  .score-box { grid-column: 1; grid-row: 1; }
  .connections-box { grid-column: 2; grid-row: 1; }
  .lives-box { grid-column: 3; grid-row: 1; min-width: 108px; }
  .timer-box { grid-column: 1; grid-row: 2; min-width: 108px; justify-self: center; }
  .stage-box { grid-column: 3; grid-row: 2; min-width: 108px; justify-self: center; }
  .score-box,
  .connections-box,
  .lives-box,
  .timer-box,
  .stage-box {
    flex: 0 0 108px;
    min-width: 108px;
  }
  .score-box { order: 1; }
  .connections-box { order: 2; }
  .lives-box { order: 3; }
  .timer-box { order: 4; }
  .stage-box { order: 5; }
  .connections-box {
    flex-basis: 128px;
    min-width: 128px;
  }
  .settings-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .score-box, .connections-box { min-width: 108px; }
  .linked-cards-box { min-width: min(96vw, 360px); width: 100%; }
  .missed-links-box { min-width: min(96vw, 360px); width: 100%; }
  .links-status-row { display: none; }
  .game-board { min-height: 420px; }
  .linked-cards-strip,
  .missed-row-cards {
    --mini-slot-w: 50px;
    --mini-slot-h: 76px;
    --mini-card-w: 42px;
    --mini-card-h: 60px;
    --mini-corner-rank-size: 1.06rem;
    --mini-corner-suit-size: 0.94rem;
    --mini-center-size: 1rem;
    --mini-corner-top-offset: 4px;
    --mini-corner-side-offset: 4px;
    --mini-corner-bottom-offset: 4px;
  }
  .linked-type-text { min-width: 96px; font-size: 0.8rem; }
  .linked-points-text { min-width: 78px; font-size: 0.78rem; }
  .attract-card { width: 96px; height: 140px; }
  .attract-hint { bottom: 22%; font-size: 0.76rem; }
  .mobile-feedback-overlay { z-index: 1; }
  .mobile-feedback-overlay.hidden { display: none !important; }
}
