.page-res-seat {
  background: #0a0a0a;
  color: #fff;
  min-height: 100vh;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}

.res-seat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 16px 8px;
}

.res-seat-back,
.res-seat-bell {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.res-seat-head-text span {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: #d4af37;
}

.res-seat-head-text h1 {
  margin: 2px 0 0;
  font-size: 22px;
}

.res-seat-body {
  padding: 0 12px;
}

.res-event-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 14px;
  padding: 16px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.res-event-card span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.res-event-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.res-event-card p {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.res-event-card em,
.res-event-card .res-event-ring {
  font-style: normal;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-event-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.res-event-ring .ring-bg {
  stroke: rgba(212, 175, 55, 0.18);
}

.res-event-ring .ring-fill {
  stroke: #d4af37;
  transition: stroke-dashoffset 0.45s ease;
}

.res-event-ring span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 11px;
  color: #d4af37;
  line-height: 1.1;
  text-align: center;
}

.res-event-card.has-activity-tag {
  position: relative;
}

.res-event-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.page-res-seat .table-tabs {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-res-seat .table-tabs span,
.page-res-seat .table-tabs .table-tab,
.page-res-seat .table-tab {
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #f5f5f5 !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.page-res-seat .table-tabs span.active,
.page-res-seat .table-tabs .table-tab.active,
.page-res-seat .table-tab.active {
  background: #ffb347;
  color: #1a1200 !important;
  border-color: #ffb347;
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(255, 179, 71, 0.35);
}

.res-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.res-seat-carousel {
  min-height: 520px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block;
}

.res-card-stage {
  will-change: transform, opacity;
}

.res-card-stage.slide-out-left {
  animation: resSlideOutLeft 0.24s ease forwards;
}

.res-card-stage.slide-out-right {
  animation: resSlideOutRight 0.24s ease forwards;
}

.res-card-stage.slide-in-right {
  animation: resSlideInRight 0.28s ease forwards;
}

.res-card-stage.slide-in-left {
  animation: resSlideInLeft 0.28s ease forwards;
}

@keyframes resSlideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-28px); }
}

@keyframes resSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(28px); }
}

@keyframes resSlideInRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes resSlideInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

.res-seat-carousel .res-seat-card {
  min-height: 500px;
  background: #141414;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.page-res-seat .seat-choice:not(.booked):not([disabled]):active {
  transform: scale(0.92);
  transition: transform 0.12s ease;
}

.res-seat-summary .btn-primary.is-ready {
  background: linear-gradient(135deg, #ff4d4d, #c41e3a);
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
}

.res-seat-summary .btn-primary:disabled {
  opacity: 0.45;
}

.page-res-seat .seat-map {
  height: 368px;
}

.res-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.res-carousel-nav.prev { left: 4px; }
.res-carousel-nav.next { right: 4px; }

.res-seat-card .table-card-head span { color: #666; }
.res-seat-card .table-card-head em { color: #d4af37; }

.res-purple-table {
  border-color: rgba(124, 58, 237, 0.85) !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.1), transparent 44%),
    radial-gradient(circle at 50% 64%, rgba(76, 29, 149, 0.55), transparent 55%),
    linear-gradient(155deg, #2e1065, #0f0720 68%) !important;
}

.page-res-seat .seat-choice {
  background: #222;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.page-res-seat .seat-choice.selected {
  border-color: #d4af37;
  background: #d4af37;
  color: #111;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.page-res-seat .seat-choice.booked {
  background: #3a1010;
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.page-res-seat .seat-legend { color: #888; }
.page-res-seat .seat-legend i { background: #333; border-color: #555; }
.page-res-seat .seat-legend .selected { background: #d4af37; border-color: #d4af37; }
.page-res-seat .seat-legend .booked { background: #f87171; border-color: #f87171; }

.res-seat-summary {
  background: #141414;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.res-seat-summary span { color: #888; }

.home-game-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 14px 0;
  padding: 16px 18px;
  background: #111;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-game-label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.home-game-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.home-game-meta {
  margin: 0;
  font-size: 13px;
  color: #aaa;
}

.home-game-meta em {
  font-style: normal;
  color: #fff;
  font-weight: 600;
}

.home-game-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.home-game-avatars {
  display: flex;
}

.home-game-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #8b6914);
  border: 2px solid #111;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #111;
}

.home-game-avatars span:first-child { margin-left: 0; }

.home-game-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0c14b, #c9a227);
  color: #111;
  font-size: 13px;
  font-weight: 700;
}
