/* Games hub page */

.hub-body {
  min-height: 100vh;
  position: relative;
}

.hub-body:not(.my-room-body) {
  background: transparent;
}

.hub-body.my-room-body {
  background: transparent;
}

.hub-body .memphis-bg.hub-memphis-bg {
  display: block;
  opacity: 0.82;
}

/* Decorative shapes — spaced apart, no overlap */
.hub-memphis-sticker {
  position: absolute;
  border: 3px solid var(--shape-tq-line);
  box-shadow: none;
  animation: memphis-float 9s ease-in-out infinite;
  pointer-events: none;
}

.hub-memphis-sticker--purple {
  width: clamp(64px, 9vw, 88px);
  height: clamp(64px, 9vw, 88px);
  top: 10%;
  left: 3%;
  background: var(--shape-tq-deep);
  border-radius: 50%;
  animation-delay: -1s;
}

.hub-memphis-sticker--yellow {
  width: clamp(56px, 8vw, 80px);
  height: clamp(56px, 8vw, 80px);
  top: 10%;
  right: 3%;
  background: var(--shape-tq-soft);
  border-radius: 18px;
  rotate: 14deg;
  animation-delay: -2.5s;
}

.hub-memphis-sticker--pink {
  width: clamp(52px, 7vw, 76px);
  height: clamp(52px, 7vw, 76px);
  bottom: 10%;
  left: 3%;
  background: var(--shape-tq-pale);
  border-radius: 50%;
  animation-delay: -3.5s;
}

.hub-memphis-sticker--teal {
  width: clamp(48px, 7vw, 68px);
  height: clamp(48px, 7vw, 68px);
  bottom: 10%;
  right: 3%;
  background: var(--shape-tq-mid);
  border-radius: 14px;
  rotate: -10deg;
  animation-delay: -0.5s;
}

.hub-memphis-sticker--orange {
  width: clamp(40px, 5.5vw, 54px);
  height: clamp(40px, 5.5vw, 54px);
  top: 40%;
  left: 2%;
  background: var(--shape-tq-accent);
  border-radius: 12px;
  rotate: -16deg;
  animation-delay: -4s;
}

.hub-memphis-sticker--lime {
  width: clamp(36px, 5vw, 48px);
  height: clamp(36px, 5vw, 48px);
  top: 36%;
  right: 2%;
  background: var(--shape-tq-soft);
  border-radius: 50%;
  animation-delay: -1.8s;
}

.hub-memphis-sticker--mint {
  width: clamp(34px, 4.5vw, 44px);
  height: clamp(34px, 4.5vw, 44px);
  top: 24%;
  left: 14%;
  background: var(--shape-tq-pale);
  border-radius: 10px;
  rotate: 22deg;
  animation-delay: -3s;
}

.hub-memphis-sticker--coral {
  width: clamp(32px, 4vw, 42px);
  height: clamp(32px, 4vw, 42px);
  top: 66%;
  right: 5%;
  background: var(--shape-tq-deep);
  border-radius: 50%;
  animation-delay: -2.2s;
}

@media (max-width: 768px) {
  .hub-memphis-sticker--mint,
  .hub-memphis-sticker--coral {
    display: none;
  }
}

.hub-main {
  position: relative;
  z-index: 1;
  padding: 108px 28px 72px;
  max-width: 1100px;
}

.hub-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.hub-back:hover {
  background: var(--memyellow);
  transform: translateY(-1px);
}

.hub-back--home {
  margin-bottom: 12px;
}

@media (min-width: 900px) {
  .hub-back--home {
    display: none;
  }
}

.hub-hero {
  text-align: center;
  margin-bottom: clamp(56px, 10vw, 88px);
}

.hub-body .hub-title.font-cartoon,
.hub-body .teacher-room-name.font-cartoon,
.hub-body .hub-custom-header h2.font-cartoon {
  line-height: 1.15;
}

.hub-body .hub-lead,
.hub-body .hub-custom-header p {
  color: var(--body);
}

.hub-body .teacher-empty {
  color: var(--muted);
}

.hub-title {
  font-size: clamp(32px, 7vw, 52px);
  margin: 16px 0 0;
}

.hub-body .hero-badge {
  margin-bottom: 24px;
}

.hub-lead {
  font-size: clamp(16px, 3.5vw, 20px);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.hub-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: clamp(28px, 5vw, 40px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .hub-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hub-tab {
  padding: 16px 14px;
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 900;
  font-family: inherit;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sticker);
  transition: transform 0.12s, background 0.12s;
  rotate: 0deg;
}

.hub-tab:hover {
  transform: translateY(-2px);
  rotate: 0deg;
}

.hub-tab.active {
  background: var(--memteal);
  color: var(--white);
  transform: none;
  rotate: 0deg;
  box-shadow: var(--shadow-sticker);
}

.hub-body:not(.my-room-body) .hub-tab.active {
  background: #00b8a9;
  color: var(--white);
}

.hub-tab.is-disabled,
.hub-tab:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #e4e6eb;
  color: #5a5f6b;
  box-shadow: 2px 2px 0 var(--ink);
}

.hub-tab.is-disabled:hover,
.hub-tab:disabled:hover {
  transform: none;
}

.hub-skill-filters {
  max-width: 720px;
  margin: 0 auto clamp(28px, 5vw, 44px);
  text-align: center;
}

.hub-skill-filters-label {
  margin: 0 0 12px;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 900;
  line-height: 1.15;
}

.hub-skill-filters-panel {
  padding: 14px 18px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sticker);
}

.hub-skill-filters-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.hub-skill-filter {
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.hub-skill-filter:not(.is-active) {
  opacity: 0.82;
}

.hub-skill-filter:hover {
  opacity: 1;
  transform: translate(-1px, -1px);
}

.hub-skill-filter.is-active {
  box-shadow: inset 0 0 0 2px var(--ink), 2px 2px 0 var(--ink);
  transform: translate(1px, 1px);
  opacity: 1;
}

.hub-grid-empty {
  max-width: 520px;
  margin: 0 auto clamp(48px, 8vw, 72px);
  padding: 20px 24px;
  text-align: center;
  font-weight: 800;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sticker);
}

.hub-body .hub-grid.cards {
  gap: 28px;
  margin-top: clamp(8px, 2vw, 16px);
  margin-bottom: 56px;
}

.hub-game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  min-height: clamp(240px, 34vw, 320px);
  padding: 52px 20px 20px;
  text-decoration: none;
  color: inherit;
  rotate: 0deg !important;
  animation: none !important;
  box-shadow: var(--shadow-sticker) !important;
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  overflow: visible;
}

.hub-body:not(.my-room-body) :is(.hub-title).font-cartoon {
  -webkit-text-fill-color: #fff;
  color: #fff;
}

.hub-body:not(.my-room-body) .hero-badge {
  background: #00c9b7;
  color: var(--white);
}

/* Game cards — turquoise palette only */
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-purple { background: #008f84 !important; --modal-fill: #008f84; }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-pink { background: #00a89a !important; --modal-fill: #00a89a; }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-teal { background: #00c9b7 !important; --modal-fill: #00c9b7; }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-orange { background: #3ebdb2 !important; --modal-fill: #3ebdb2; color: var(--white); }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-lime { background: #52c7be !important; --modal-fill: #52c7be; color: var(--ink); }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-blue { background: #00b8a9 !important; --modal-fill: #00b8a9; color: var(--white); }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-green { background: #7adbd4 !important; --modal-fill: #7adbd4; color: var(--ink); }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-white { background: #9ee8e0 !important; --modal-fill: #9ee8e0; color: var(--ink); }
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-yellow { background: #6ecfc7 !important; --modal-fill: #6ecfc7; color: var(--ink); }

.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-lime .hub-game-title.font-cartoon,
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-green .hub-game-title.font-cartoon,
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-white .hub-game-title.font-cartoon,
.hub-body:not(.my-room-body) .hub-grid .hub-game-card.sticker-yellow .hub-game-title.font-cartoon {
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}

.hub-body:not(.my-room-body) .hub-game-play-btn.btn-primary {
  background: var(--memyellow) !important;
  color: var(--ink) !important;
}

.hub-body:not(.my-room-body) .hub-game-info-btn:hover,
.hub-body:not(.my-room-body) .hub-game-info-btn:focus-visible {
  outline-color: #00c9b7;
}

.hub-body:not(.my-room-body) .hub-game-card:focus-within {
  outline-color: #00c9b7;
}

/* Skill filter pills — turquoise shades */
.hub-body:not(.my-room-body) .game-info-tag--pink { background: #7adbd4; color: var(--ink); }
.hub-body:not(.my-room-body) .game-info-tag--teal { background: #00c9b7; color: var(--white); }
.hub-body:not(.my-room-body) .game-info-tag--purple { background: #008f84; color: var(--white); }
.hub-body:not(.my-room-body) .game-info-tag--orange { background: #52c7be; color: var(--ink); }
.hub-body:not(.my-room-body) .game-info-tag--lime { background: #9ee8e0; color: var(--ink); }
.hub-body:not(.my-room-body) .game-info-tag--blue { background: #00b8a9; color: var(--white); }
.hub-body:not(.my-room-body) .game-info-tag--green { background: #3ebdb2; color: var(--white); }

.hub-body:not(.my-room-body) .hub-skill-filters-panel {
  background: rgba(255, 255, 255, 0.72);
}

.hub-body:not(.my-room-body) .hub-grid-empty {
  background: rgba(255, 255, 255, 0.85);
}

.hub-game-info-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 2;
  transition: transform 0.12s ease;
}

.hub-game-info-btn:hover,
.hub-game-info-btn:focus-visible {
  transform: scale(1.08);
  outline: 3px solid var(--memyellow);
  outline-offset: 2px;
}

.hub-game-title {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0 8px;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.15;
  cursor: pointer;
  width: 100%;
}

.hub-body .hub-game-card .hub-game-title.font-cartoon {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.hub-game-play-btn {
  margin-top: 4px;
  font-size: clamp(15px, 2.5vw, 17px);
}

.hub-game-play-btn:hover {
  transform: translateY(-2px);
}

.hub-game-card:focus-within {
  outline: 4px solid var(--memyellow);
  outline-offset: 3px;
}

.hub-game-card:focus-visible {
  outline: none;
}

.hub-body .hub-grid .sticker-card,
.hub-body .hub-grid .pitch-card,
.hub-body .hub-custom-form.sticker-card {
  rotate: 0deg !important;
  animation: none !important;
  box-shadow: var(--shadow-sticker) !important;
}

.hub-body .hub-grid .pitch-card:hover,
.hub-body .hub-game-card:hover {
  rotate: 0deg !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-sticker) !important;
}

.hub-game-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(96px, 18vw, 132px);
  padding: 12px;
  border: 3px solid rgba(26, 10, 46, 0.18);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.hub-game-thumb-img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  max-height: clamp(88px, 16vw, 120px);
  object-fit: contain;
}

.hub-game-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(72px, 14vw, 104px);
  font-size: clamp(3rem, 10vw, 4.5rem);
  line-height: 1;
}

.hub-game-thumb-fallback[hidden] {
  display: none !important;
}

.hub-game-icon {
  display: none;
}

.hub-game-card > p,
.hub-game-tags {
  display: none;
}

.hub-tag {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(26, 10, 46, 0.2);
}

.sticker-card.sticker-white {
  background: var(--white) !important;
  color: var(--ink);
  --modal-fill: var(--white);
}

.hub-custom-cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: clamp(170px, 24vw, 240px);
  margin: 0 auto 56px;
  padding: clamp(32px, 5vw, 44px) clamp(28px, 4vw, 52px);
  border: none;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #fff4b8 0%, #ffb8e8 28%, #9ee8ff 58%, #c8ff9e 100%);
  box-shadow:
    0 0 0 3px #ffd700,
    0 0 18px rgba(255, 215, 0, 0.55),
    0 8px 0 #c9a020,
    0 14px 28px rgba(26, 10, 46, 0.12) !important;
  rotate: 0deg !important;
  animation: hub-custom-gold-pulse 2.8s ease-in-out infinite;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-custom-cta-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius) + 3px);
  padding: 3px;
  background: linear-gradient(
    120deg,
    #ffd700,
    #fff9c4,
    #ffb300,
    #ffffff,
    #ffe566,
    #ffd700,
    #fff8dc,
    #ffb800
  );
  background-size: 400% 100%;
  animation: hub-custom-gold-shimmer 2.2s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 0;
  pointer-events: none;
}

.hub-custom-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.45), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.35), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.hub-custom-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hub-custom-confetti span {
  position: absolute;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  opacity: 0.9;
  animation: hub-confetti-drift 3.6s ease-in-out infinite;
}

.hub-custom-confetti span:nth-child(1) { top: 12%; left: 8%; background: #ff6b9d; animation-delay: 0s; transform: rotate(18deg); }
.hub-custom-confetti span:nth-child(2) { top: 18%; left: 22%; background: #ffd700; animation-delay: 0.4s; transform: rotate(-12deg); width: 7px; height: 11px; }
.hub-custom-confetti span:nth-child(3) { top: 8%; left: 42%; background: #6ee7f7; animation-delay: 0.8s; transform: rotate(32deg); }
.hub-custom-confetti span:nth-child(4) { top: 14%; left: 62%; background: #b8f070; animation-delay: 0.2s; transform: rotate(-24deg); }
.hub-custom-confetti span:nth-child(5) { top: 10%; left: 78%; background: #c084fc; animation-delay: 1.1s; transform: rotate(8deg); width: 8px; height: 12px; }
.hub-custom-confetti span:nth-child(6) { top: 22%; left: 90%; background: #ffb347; animation-delay: 0.6s; transform: rotate(-18deg); }
.hub-custom-confetti span:nth-child(7) { bottom: 16%; left: 6%; background: #60a5fa; animation-delay: 1.4s; transform: rotate(22deg); }
.hub-custom-confetti span:nth-child(8) { bottom: 12%; left: 28%; background: #f472b6; animation-delay: 0.3s; transform: rotate(-8deg); width: 7px; height: 10px; }
.hub-custom-confetti span:nth-child(9) { bottom: 18%; left: 48%; background: #fde047; animation-delay: 0.9s; transform: rotate(14deg); }
.hub-custom-confetti span:nth-child(10) { bottom: 10%; left: 68%; background: #34d399; animation-delay: 1.6s; transform: rotate(-20deg); }
.hub-custom-confetti span:nth-child(11) { bottom: 20%; left: 84%; background: #fb7185; animation-delay: 0.5s; transform: rotate(28deg); width: 8px; height: 13px; }
.hub-custom-confetti span:nth-child(12) { bottom: 8%; left: 52%; background: #a78bfa; animation-delay: 1.2s; transform: rotate(-14deg); }

.hub-custom-cta-card:hover,
.hub-custom-cta-card:focus-visible {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 0 0 4px #ffe566,
    0 0 28px rgba(255, 215, 0, 0.75),
    0 10px 0 #c9a020,
    0 18px 36px rgba(26, 10, 46, 0.16) !important;
  outline: none;
}

.hub-custom-cta-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.1;
  color: var(--memyellow);
  -webkit-text-fill-color: var(--memyellow);
  paint-order: stroke fill;
  -webkit-text-stroke: clamp(4px, 0.7vw, 6px) var(--ink);
  text-shadow: none;
}

.hub-custom-cta-text {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 560px;
  font-size: clamp(16px, 2.8vw, 20px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

@keyframes hub-custom-gold-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

@keyframes hub-custom-gold-pulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.06);
  }
}

@keyframes hub-confetti-drift {
  0%, 100% {
    translate: 0 0;
    rotate: 0deg;
  }
  25% {
    translate: 4px -6px;
    rotate: 8deg;
  }
  50% {
    translate: -3px -10px;
    rotate: -6deg;
  }
  75% {
    translate: 5px -4px;
    rotate: 12deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-custom-cta-card,
  .hub-custom-cta-card::before,
  .hub-custom-confetti span {
    animation: none !important;
  }
}

.modal-custom-game {
  width: min(820px, 96vw);
  overflow: visible;
  padding: clamp(24px, 4vw, 36px);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-candy);
  --modal-fill: var(--memteal);
  background: var(--memteal) !important;
}

.modal-custom-game .modal-custom-title {
  text-align: center;
  margin: 0 0 clamp(20px, 4vw, 28px);
  font-size: clamp(1.55rem, 4.8vw, 2.05rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--memyellow);
  -webkit-text-fill-color: var(--memyellow);
  -webkit-text-stroke: 5px var(--ink);
  -webkit-text-stroke-color: var(--ink);
  paint-order: stroke fill;
  text-shadow: none;
}

.modal-custom-game .modal-desc {
  text-align: center;
  margin: 0 0 16px;
  color: var(--ink);
  white-space: nowrap;
  font-size: clamp(13px, 2.6vw, 16px);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-custom-game .hub-custom-form {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.hub-custom-simple {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 28px);
}

.hub-custom-input-box {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sticker);
  overflow: hidden;
}

.hub-custom-input-box.is-dragover {
  outline: 3px solid var(--memyellow);
  outline-offset: -3px;
}

.hub-custom-input-box textarea {
  width: 100%;
  box-sizing: border-box;
  display: block;
  margin: 0;
  min-height: clamp(200px, 32vh, 260px);
  height: clamp(200px, 32vh, 260px);
  padding: 16px 18px 48px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.6;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  resize: none;
  vertical-align: top;
}

.hub-custom-input-box textarea:focus {
  outline: none;
}

.hub-custom-attach-btn {
  position: absolute;
  left: 12px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 2px;
  color: var(--ink);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  opacity: 0.78;
  line-height: 0;
}

.hub-custom-attach-btn svg {
  display: block;
  overflow: visible;
}

.hub-custom-attach-btn:hover {
  opacity: 1;
  transform: none;
  background: none;
}

.hub-custom-attach-btn:active {
  transform: scale(0.94);
  box-shadow: none;
}

.hub-custom-file-name {
  position: absolute;
  left: 50px;
  right: 12px;
  bottom: 20px;
  z-index: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.hub-custom-file-name:empty {
  display: none;
}

.hub-custom-create-btn {
  margin-top: 0;
  font-size: clamp(17px, 2.5vw, 20px);
  padding: 16px 24px;
}

.hub-custom-create-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hub-custom-quota {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

.hub-custom-quota strong {
  color: var(--ink);
}

.hub-custom-quota.is-limit {
  color: var(--ink);
}

.hub-custom-quota a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.teacher-room-sub-action {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hub-custom-advanced {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 3px solid var(--line-strong);
}

.hub-custom-advanced-heading {
  margin: 0 0 14px;
  font-size: 1.15rem;
  text-align: center;
  color: var(--ink);
}

.hub-custom {
  margin-top: 20px;
}

.hub-custom-header {
  text-align: center;
  margin-bottom: 24px;
}

.hub-custom-header h2 {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 8px;
}

.hub-custom-header p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin: 0;
}

.hub-custom-form {
  padding: 28px;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-candy);
}

.hub-custom-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-weight: 800;
}

.hub-custom-form input,
.hub-custom-form select,
.hub-custom-form textarea:not(#customContent) {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
}

.hub-custom-form textarea:not(#customContent) {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.hub-custom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hub-custom-meta {
  margin-bottom: 16px;
}

.hub-custom-meta label {
  margin-bottom: 0;
}

.hub-custom-field {
  margin-bottom: 12px;
}

.hub-custom-field-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
}

.modal-custom-game .hub-custom-field input,
.modal-custom-game .hub-custom-field select,
.modal-custom-game .hub-custom-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sticker);
}

.modal-custom-game .hub-custom-field textarea {
  resize: none;
  min-height: clamp(96px, 16vh, 128px);
  max-height: clamp(96px, 16vh, 128px);
  line-height: 1.6;
}

.hub-custom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin: 8px 0 16px;
}

.hub-custom-actions .btn-ai {
  width: auto;
  margin: 0;
}

.room-material-ai-hint {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.82;
}

.btn-ai {
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(135deg, #e9d5ff 0%, #c4b5fd 45%, #a78bfa 100%);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

.btn-ai:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-ai:disabled {
  opacity: 0.72;
  cursor: wait;
}

.btn-ai.hidden {
  display: none;
}

.hub-preview {
  padding: 16px;
  background: var(--memteal);
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-weight: 700;
}

.hub-preview-empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.hub-preview-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.hub-preview-list li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(26, 10, 46, 0.2);
}

.nav-auth-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sticker);
  transition: transform 0.12s;
}

#authLoginBtn {
  background: var(--mempink);
}

.nav-auth-btn:hover { transform: translateY(-2px); }

.nav-auth-btn--primary {
  background: var(--memyellow);
}

.nav-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-user-name {
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  font-size: 15px;
}

.navbar.scrolled .nav-user-name { color: var(--ink); }

/* Google sign-in */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow-sticker);
}

.btn-google:hover { transform: translateY(-2px); }
.btn-google:disabled { opacity: 0.6; cursor: wait; }

.btn-google-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.login-hint {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

/* Teacher room */
.teacher-room {
  margin: 12px 0 64px;
}

.teacher-room-shell {
  padding: clamp(20px, 4vw, 36px);
  border-radius: calc(var(--radius) + 4px);
}

.teacher-room-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.07);
}

.teacher-room-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.teacher-room-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--memyellow);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  flex-shrink: 0;
  overflow: hidden;
}

.teacher-room-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-room-kicker {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.teacher-room-name {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
}

.teacher-room-logout {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sticker);
  transition: transform 0.15s ease, background 0.15s ease;
}

.teacher-room-logout:hover {
  background: #ffe8ee;
  transform: translateY(-1px);
}

.teacher-room-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: color-mix(in srgb, var(--memyellow) 55%, #fff);
  box-shadow: var(--shadow-sticker);
}

.teacher-room-sub.is-premium {
  background: color-mix(in srgb, #c8b6ff 45%, #fff);
}

.teacher-room-sub-label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.teacher-room-sub-title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.teacher-room-sub-meta {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--body);
}

.teacher-room-sub-action {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teacher-room-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.teacher-room-nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.teacher-room-nav-link:hover {
  background: var(--memyellow);
  transform: translateY(-1px);
}

.teacher-room-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.teacher-room-section {
  scroll-margin-top: 100px;
}

.teacher-room-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.teacher-room-section-title {
  margin: 0;
  font-size: clamp(20px, 3.5vw, 26px);
}

.teacher-room-count {
  min-width: 28px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  color: var(--ink);
  background: var(--memyellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.teacher-room-badge-free {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
  background: #b8f5c8;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.teacher-room-section-hint {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.teacher-room-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.teacher-game-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #fff;
}

.teacher-game-row.is-starred {
  background: color-mix(in srgb, var(--memyellow) 18%, #fff);
}

.teacher-game-star {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  font-family: inherit;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.teacher-game-star.is-active {
  color: var(--ink);
}

.teacher-game-info {
  flex: 1 1 180px;
  min-width: 0;
}

.teacher-game-info h4 {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 900;
}

.teacher-game-info p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.teacher-game-info time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.teacher-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teacher-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  min-height: 36px;
}

.teacher-btn-play {
  color: var(--ink);
  background: var(--memyellow);
  box-shadow: 2px 2px 0 var(--ink);
}

.teacher-btn-ghost {
  color: var(--ink);
  background: #fff;
}

.teacher-btn-danger {
  color: var(--ink);
  background: #fff;
  padding-inline: 10px;
}

.teacher-btn-danger:hover {
  background: #ff6b8a;
}

.teacher-empty {
  margin: 0;
  padding: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.teacher-lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.teacher-lesson-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  text-align: right;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.teacher-lesson-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sticker);
}

.teacher-lesson-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.teacher-lesson-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.teacher-lesson-card p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.45;
}

.teacher-lesson-meta {
  font-size: 12px;
  font-weight: 800;
  color: var(--body);
}

.teacher-lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.teacher-lesson-actions .teacher-btn {
  flex: 1 1 auto;
  font-size: 12px;
  padding: 7px 10px;
}

@media (max-width: 640px) {
  .teacher-room-top {
    align-items: flex-start;
  }

  .teacher-room-logout {
    width: 100%;
  }

  .teacher-room-sub {
    flex-direction: column;
    align-items: flex-start;
  }

  .teacher-game-row {
    padding-inline-start: 12px;
  }

  .teacher-game-actions {
    width: 100%;
  }
}

.hub-custom-form input[type="text"] {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
}

.nav-pill.active {
  background: var(--memyellow);
}

@media (max-width: 640px) {
  .hub-custom-row { grid-template-columns: 1fr; }
  .nav-auth-btn { padding: 8px 12px; font-size: 13px; }
  .hub-main { padding-top: 88px; }
}

/* Play setup modal */
.modal-play-setup,
.modal-game-info {
  max-width: 400px;
}

.modal-play-setup {
  max-width: 420px;
  padding-top: 28px;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-candy);
}

.modal-play-setup h2.play-setup-title {
  margin: 0 0 10px;
  padding: 0 16px 4px;
  text-align: center;
  font-size: clamp(1.55rem, 4.8vw, 2.05rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--memyellow);
  -webkit-text-fill-color: var(--memyellow);
  -webkit-text-stroke: 5px var(--ink);
  -webkit-text-stroke-color: var(--ink);
  paint-order: stroke fill;
  text-shadow: none;
}

.modal-play-setup .modal-desc {
  text-align: center;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink, #1a0a2e);
}

.modal-play-setup .modal-close {
  top: 10px;
  left: 10px;
  z-index: 6;
  min-width: 40px;
  min-height: 40px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 22px;
  color: var(--ink);
}

.modal-play-setup .modal-close:hover {
  background: var(--memyellow);
}

.modal-game-info {
  max-width: 460px;
  padding: 28px 22px 22px;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-candy);
}

.modal-game-info h2.game-info-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.45rem, 4.2vw, 1.95rem);
  line-height: 1.12;
  color: var(--memyellow);
  -webkit-text-fill-color: var(--memyellow);
}

.game-info-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-top: 4px;
}

.game-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 14vw, 72px);
  height: clamp(56px, 14vw, 72px);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
}

.game-info-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.game-info-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 3px 3px 0 rgba(26, 10, 46, 0.28);
  text-align: right;
}

.game-info-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.game-info-panel-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
  background: var(--memyellow);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--ink);
}

.game-info-panel h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.game-info-panel p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.88;
}

.game-info-panel--skills {
  padding-bottom: 12px;
}

.game-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.game-info-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.game-info-tag--pink { background: var(--mempink); }
.game-info-tag--teal { background: var(--memteal); }
.game-info-tag--purple { background: var(--mempurple); color: var(--white); }
.game-info-tag--orange { background: var(--memorange); color: var(--white); }
.game-info-tag--lime { background: var(--memlime); }
.game-info-tag--blue { background: var(--electric); color: var(--white); }
.game-info-tag--green { background: #6bbf8a; }

.game-info-tag--muted {
  opacity: 0.72;
  background: var(--white);
  color: var(--ink);
}

.modal-game-info .modal-close {
  top: 10px;
  left: 10px;
  z-index: 6;
  min-width: 40px;
  min-height: 40px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 22px;
}

.modal-game-info .modal-close:hover {
  background: var(--memyellow);
  color: var(--ink);
}

.modal-play-setup h2:not(.play-setup-title),
.modal-game-info h2:not(.game-info-title) {
  text-align: center;
  margin: 0 0 8px;
  color: var(--electric);
}

.modal-game-info h2:not(.game-info-title) {
  margin-bottom: 20px;
}

.modal-play-setup.sticker-pink h2:not(.play-setup-title),
.modal-play-setup.sticker-purple h2:not(.play-setup-title),
.modal-play-setup.sticker-yellow h2:not(.play-setup-title),
.modal-play-setup.sticker-teal h2:not(.play-setup-title),
.modal-play-setup.sticker-lime h2:not(.play-setup-title),
.modal-play-setup.sticker-orange h2:not(.play-setup-title),
.modal-play-setup.sticker-blue h2:not(.play-setup-title),
.modal-play-setup.sticker-green h2:not(.play-setup-title),
.modal-game-info.sticker-pink h2,
.modal-game-info.sticker-purple h2,
.modal-game-info.sticker-yellow h2,
.modal-game-info.sticker-teal h2,
.modal-game-info.sticker-lime h2,
.modal-game-info.sticker-orange h2,
.modal-game-info.sticker-blue h2 {
  color: var(--ink, #1a0a2e);
}

.modal-play-setup.sticker-pink h2.play-setup-title,
.modal-play-setup.sticker-purple h2.play-setup-title,
.modal-play-setup.sticker-yellow h2.play-setup-title,
.modal-play-setup.sticker-teal h2.play-setup-title,
.modal-play-setup.sticker-lime h2.play-setup-title,
.modal-play-setup.sticker-orange h2.play-setup-title,
.modal-play-setup.sticker-blue h2.play-setup-title,
.modal-play-setup.sticker-green h2.play-setup-title {
  color: var(--memyellow);
  -webkit-text-fill-color: var(--memyellow);
}

.modal-play-setup.sticker-pink .modal-desc,
.modal-play-setup.sticker-purple .modal-desc,
.modal-play-setup.sticker-yellow .modal-desc,
.modal-play-setup.sticker-teal .modal-desc,
.modal-play-setup.sticker-lime .modal-desc,
.modal-play-setup.sticker-orange .modal-desc,
.modal-play-setup.sticker-blue .modal-desc,
.modal-play-setup.sticker-green .modal-desc {
  color: var(--ink, #1a0a2e);
}

.modal-play-setup.sticker-pink label span,
.modal-play-setup.sticker-purple label span,
.modal-play-setup.sticker-yellow label span,
.modal-play-setup.sticker-teal label span,
.modal-play-setup.sticker-lime label span,
.modal-play-setup.sticker-orange label span,
.modal-play-setup.sticker-blue label span,
.modal-game-info.sticker-pink .game-info-body h3,
.modal-game-info.sticker-purple .game-info-body h3,
.modal-game-info.sticker-yellow .game-info-body h3,
.modal-game-info.sticker-teal .game-info-body h3,
.modal-game-info.sticker-lime .game-info-body h3,
.modal-game-info.sticker-orange .game-info-body h3,
.modal-game-info.sticker-blue .game-info-body h3,
.modal-game-info.sticker-green .game-info-body h3 {
  color: var(--ink, #1a0a2e);
}

.modal-game-info.sticker-pink .game-info-body p,
.modal-game-info.sticker-purple .game-info-body p,
.modal-game-info.sticker-yellow .game-info-body p,
.modal-game-info.sticker-teal .game-info-body p,
.modal-game-info.sticker-lime .game-info-body p,
.modal-game-info.sticker-orange .game-info-body p,
.modal-game-info.sticker-blue .game-info-body p,
.modal-game-info.sticker-green .game-info-body p {
  color: var(--ink, #1a0a2e);
}

.modal-play-setup label {
  display: block;
  margin-bottom: 16px;
}

.modal-play-setup label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
}

.modal-play-setup select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
