:root {
  --cream: rgba(255, 250, 242, 0.93);
  --cream-solid: #fffaf2;
  --cream-hover: #fff0db;
  --border: #d9b8c4;
  --border-strong: #9c6b8e;
  --shadow-plum: rgba(94, 52, 92, 0.22);

  --ink: #44284a;
  --ink-muted: #7c5c82;

  --rose: #e35d8c;
  --rose-dark: #b93d6a;
  --lavender: #8c6bc8;
  --lavender-dark: #6949a3;
  --gold: #f5b942;

  --tile-correct: #3ca367;
  --tile-correct-shadow: #297a4b;
  --tile-partial: #f0ab2b;
  --tile-partial-shadow: #c28315;
  --tile-wrong: #e8dce8;
  --tile-wrong-shadow: #c7b4c9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 3rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 245, 236, 0.28) 0%,
      rgba(255, 242, 224, 0.22) 55%,
      rgba(255, 235, 225, 0.35) 100%
    ),
    url("images/Ponyville_Gallery.jpg") center bottom / cover no-repeat fixed;
}

.hidden {
  display: none !important;
}

header {
  text-align: center;
  margin: 0 auto 1.75rem auto;
  width: 100%;
  max-width: 840px;
}

.brand {
  display: inline-block;
  margin-bottom: 0.35rem;
}

header h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--rose);
  -webkit-text-stroke: 2px #fffaf2;
  paint-order: stroke fill;
  text-shadow:
    0 4px 0 #b93d6a,
    0 8px 18px rgba(84, 38, 72, 0.25);
}

.subtitle {
  display: inline-block;
  background: rgba(255, 250, 242, 0.85);
  border: 2px solid var(--border);
  padding: 0.25rem 0.95rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  box-shadow: 0 3px 0 var(--shadow-plum);
}

.controls-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.pill-group {
  display: inline-flex;
  background: var(--cream);
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 4px 0 var(--shadow-plum);
}

.mode-btn,
.playstyle-btn {
  font-family: 'Nunito', sans-serif;
  background: transparent;
  color: var(--ink-muted);
  border: none;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mode-btn:hover,
.playstyle-btn:hover {
  color: var(--ink);
  background: var(--cream-hover);
}

.mode-btn.active {
  background: var(--rose);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--rose-dark);
}

.playstyle-btn.active {
  background: var(--lavender);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--lavender-dark);
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.stat-chip {
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.3rem 0.8rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-muted);
  box-shadow: 0 3px 0 var(--shadow-plum);
}

.stat-chip strong {
  color: var(--ink);
  font-weight: 800;
}

.page-layout {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  flex: 1;
}

main {
  flex: 1;
  min-width: 0;
  max-width: 940px;
}

.side-column {
  width: 225px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1.5rem;
}

.side-card {
  background: var(--cream);
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  padding: 1.15rem 1rem;
  box-shadow: 0 5px 0 var(--shadow-plum);
}

.side-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  color: var(--rose-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.side-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.side-text:last-child {
  margin-bottom: 0;
}

.side-text strong {
  color: var(--ink);
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.mini-stat {
  background: #fff4e6;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-stat strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  color: var(--lavender-dark);
}

.mini-stat span {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.rarity-note {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 0.85rem;
}

.rarity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rarity-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.rarity-badge {
  display: inline-block;
  min-width: 48px;
  text-align: center;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  background: #f5ebf7;
  color: var(--ink);
  border: 2px solid var(--border);
}

.rarity-badge.shining {
  background: linear-gradient(135deg, #ffe29f 0%, #ffc3d8 52%, #d8c7ff 100%);
  border-color: var(--rose);
  color: var(--ink);
}

@media (max-width: 1220px) {
  .page-layout {
    flex-direction: column;
    align-items: center;
  }
  main {
    width: 100%;
    order: 1;
  }
  .right-sidebar {
    order: 2;
    width: 100%;
    max-width: 640px;
    position: static;
  }
  .left-sidebar {
    order: 3;
    width: 100%;
    max-width: 640px;
    position: static;
  }
  .rarity-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .rarity-label {
    display: none;
  }
}

.search-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 560px;
}

#search-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 16px;
  border: 2.5px solid var(--border-strong);
  background: var(--cream-solid);
  color: var(--ink);
  outline: none;
  box-shadow: 0 5px 0 var(--shadow-plum);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

#search-input::placeholder {
  color: #a68aa8;
}

#search-input:focus {
  border-color: var(--rose);
  box-shadow: 0 5px 0 rgba(227, 93, 140, 0.28);
}

#search-input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--cream-solid);
  border: 2.5px solid var(--border-strong);
  border-radius: 16px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 10px 24px rgba(84, 38, 72, 0.25);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
  border-bottom: 1.5px solid #f0e2ec;
  transition: background-color 0.12s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.highlighted {
  background-color: var(--cream-hover);
}

.dropdown-item img {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5ebf7;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

.dropdown-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}

.dropdown-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.dropdown-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.endless-actions {
  display: flex;
  gap: 0.65rem;
}

.action-btn {
  font-family: 'Fredoka', sans-serif;
  border: 2px solid transparent;
  padding: 0.55rem 1.25rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.action-btn:active {
  transform: translateY(2px);
}

.action-btn.primary {
  background: var(--rose);
  color: #ffffff;
  border-color: var(--rose-dark);
  box-shadow: 0 4px 0 var(--rose-dark);
}

.action-btn.primary:active {
  box-shadow: 0 2px 0 var(--rose-dark);
}

.action-btn.secondary {
  background: var(--cream-solid);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: 0 4px 0 var(--shadow-plum);
}

.action-btn.secondary:active {
  box-shadow: 0 2px 0 var(--shadow-plum);
}

.action-btn.success {
  background: var(--tile-correct);
  color: #ffffff;
  border-color: var(--tile-correct-shadow);
  box-shadow: 0 4px 0 var(--tile-correct-shadow);
}

.action-btn.success:active {
  box-shadow: 0 2px 0 var(--tile-correct-shadow);
}

.result-banner {
  background: var(--cream-solid);
  border: 2.5px solid var(--tile-correct);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 6px 0 rgba(41, 122, 75, 0.25);
}

.result-banner.lost {
  border-color: var(--rose);
  box-shadow: 0 6px 0 rgba(185, 61, 106, 0.25);
}

.result-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.result-thumb {
  width: 82px;
  height: 114px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--border);
  box-shadow: 0 5px 12px rgba(84, 38, 72, 0.22);
}

.result-text h2 {
  font-family: 'Fredoka', sans-serif;
  color: var(--tile-correct);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.result-banner.lost .result-text h2 {
  color: var(--rose-dark);
}

.result-text p {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.next-timer {
  color: var(--ink-muted) !important;
  font-size: 0.84rem !important;
  margin-top: 0.3rem;
}

.result-buttons {
  display: flex;
  gap: 0.6rem;
}

.anomaly-banner {
  background: #f5eeff;
  border: 2.5px solid var(--lavender);
  border-radius: 16px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 5px 0 rgba(105, 73, 163, 0.22);
  animation: tileReveal 0.3s ease;
}

.anomaly-icon {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lavender);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.anomaly-banner strong {
  font-family: 'Fredoka', sans-serif;
  color: var(--lavender-dark);
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
}

.anomaly-banner p {
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.86);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.15rem;
  width: fit-content;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 3px 0 var(--shadow-plum);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

.dot.correct { background: var(--tile-correct); }
.dot.partial { background: var(--tile-partial); }
.dot.wrong { background: var(--tile-wrong); border: 1.5px solid var(--border-strong); }

.grid-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.grid-row {
  display: grid;
  grid-template-columns: 100px 1.15fr 1.45fr 0.6fr 1.3fr 0.8fr 0.7fr;
  gap: 8px;
  min-width: 780px;
  margin-bottom: 12px;
  align-items: stretch;
}

.grid-header {
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.9);
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.55rem 0.25rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 0 var(--shadow-plum);
}

.empty-state {
  text-align: center;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 2.5rem 1rem;
  border: 2px dashed var(--border-strong);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.82);
}

.tile {
  background: var(--cream-solid);
  border-radius: 14px;
  padding: 0.65rem 0.5rem;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  animation: tileReveal 0.35s ease backwards;
}

.tile:nth-child(2) { animation-delay: 0.05s; }
.tile:nth-child(3) { animation-delay: 0.10s; }
.tile:nth-child(4) { animation-delay: 0.15s; }
.tile:nth-child(5) { animation-delay: 0.20s; }
.tile:nth-child(6) { animation-delay: 0.25s; }
.tile:nth-child(7) { animation-delay: 0.30s; }

.tile.card-cell {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 6px;
}

.tile.card-cell img {
  width: 88px;
  height: 122px;
  object-fit: cover;
  border-radius: 9px;
  border: 2.5px solid #fffaf2;
  box-shadow: 0 5px 14px rgba(84, 38, 72, 0.32);
}

.tile.card-cell span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.9);
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  border: 1.5px solid var(--border);
}

.tile.correct {
  background: var(--tile-correct);
  color: #ffffff;
  border: 2px solid var(--tile-correct-shadow);
  box-shadow: 0 5px 0 var(--tile-correct-shadow);
}

.tile.partial {
  background: var(--tile-partial);
  color: #ffffff;
  border: 2px solid var(--tile-partial-shadow);
  box-shadow: 0 5px 0 var(--tile-partial-shadow);
}

.tile.wrong {
  background: var(--tile-wrong);
  color: var(--ink);
  border: 2px solid var(--tile-wrong-shadow);
  box-shadow: 0 5px 0 var(--tile-wrong-shadow);
}

@keyframes tileReveal {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.binder-open-btn {
  font-family: 'Fredoka', sans-serif;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid #c98f1e;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(168, 114, 15, 0.35);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.binder-open-btn:hover {
  background: #f8c65c;
}

.binder-open-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(168, 114, 15, 0.35);
}

.binder-modal {
  position: fixed;
  inset: 0;
  background: rgba(54, 28, 60, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 300;
}

.binder-window {
  background: var(--cream-solid);
  border: 3px solid var(--border-strong);
  border-radius: 22px;
  width: 100%;
  max-width: 920px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 0 rgba(72, 34, 70, 0.28), 0 20px 40px rgba(45, 20, 48, 0.35);
}

.binder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.binder-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  color: var(--rose-dark);
}

.binder-count {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.binder-close-btn {
  font-family: 'Fredoka', sans-serif;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  background: #fff0db;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--shadow-plum);
}

.binder-close-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--shadow-plum);
}

.binder-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.binder-source-btn,
.binder-filter-btn {
  font-family: 'Nunito', sans-serif;
  background: transparent;
  color: var(--ink-muted);
  border: none;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.binder-source-btn:hover,
.binder-filter-btn:hover {
  color: var(--ink);
  background: var(--cream-hover);
}

.binder-source-btn.active {
  background: var(--rose);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--rose-dark);
}

.binder-filter-btn.active {
  background: var(--lavender);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--lavender-dark);
}

.binder-window {
  background: var(--cream-solid);
  border: 3px solid var(--border-strong);
  border-radius: 22px;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 12px 0 rgba(72, 34, 70, 0.28), 0 20px 40px rgba(45, 20, 48, 0.35);
  overflow-y: auto;
}

.binder-book {
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  background: #6b3e63;
  border: 4px solid #4d2947;
  border-radius: 20px;
  padding: 14px;
  position: relative;
  box-shadow:
    inset 0 0 0 2px #9c6b8e,
    0 8px 0 rgba(72, 34, 70, 0.25);
}

.binder-book::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px dashed rgba(255, 232, 240, 0.4);
  border-radius: 14px;
  pointer-events: none;
}

.binder-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #472742;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #381d34;
  box-shadow: inset 0 2px 8px rgba(25, 10, 24, 0.45);
}

.binder-spine {
  background: linear-gradient(
    90deg,
    rgba(28, 12, 26, 0.55) 0%,
    rgba(130, 82, 120, 0.25) 35%,
    rgba(22, 8, 20, 0.7) 50%,
    rgba(130, 82, 120, 0.25) 65%,
    rgba(28, 12, 26, 0.55) 100%
  );
  border-radius: 4px;
}

.binder-pocket {
  position: relative;
  aspect-ratio: 5 / 7;
  background: #361c32;
  border: 2px solid #5e3858;
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.binder-pocket::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.03) 38%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
}

.binder-pocket img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.binder-pocket-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(54, 24, 52, 0.86);
  color: #fffaf2;
  padding: 4px 5px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.binder-pocket:hover .binder-pocket-label {
  opacity: 1;
}

.binder-pocket-name {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.72rem;
  line-height: 1.15;
}

.binder-pocket-code {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  color: #f3c8dc;
}

.binder-pocket.empty {
  background: rgba(45, 22, 42, 0.65);
  border: 2px dashed #6b4365;
  color: rgba(255, 232, 242, 0.45);
  padding: 6px;
  text-align: center;
}

.binder-pocket.empty .empty-code {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
}

.binder-pocket.blank {
  background: rgba(45, 22, 42, 0.35);
  border: 2px solid #4e2d49;
}

.binder-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.binder-page-info {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  min-width: 110px;
  text-align: center;
}

.binder-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.binder-empty {
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 2.5rem 1rem;
}

@media (max-width: 760px) {
  .binder-book {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .binder-spine {
    height: 12px;
    background: linear-gradient(
      180deg,
      rgba(28, 12, 26, 0.55) 0%,
      rgba(22, 8, 20, 0.7) 50%,
      rgba(28, 12, 26, 0.55) 100%
    );
  }
}

.shop-nav-btn {
  font-family: 'Fredoka', sans-serif;
  text-decoration: none;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 0 var(--shadow-plum);
  transition: transform 0.1s ease, background 0.15s ease;
}

.shop-nav-btn:hover {
  background: var(--cream-hover);
}

.shop-main {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.set-selector-bar {
  margin-bottom: 1.5rem;
}

.set-tab-btn {
  font-family: 'Nunito', sans-serif;
  background: transparent;
  color: var(--ink-muted);
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.set-tab-btn.active {
  background: var(--rose);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--rose-dark);
}

.shop-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.15rem;
}

.shop-card {
  background: var(--cream);
  border: 2.5px solid var(--border-strong);
  border-radius: 18px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 0 var(--shadow-plum);
}

.shop-tag {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.78rem;
  background: #f5ebf7;
  border: 1.5px solid var(--border);
  color: var(--lavender-dark);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

.shop-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
}

.shop-desc {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.shop-price {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: var(--rose-dark);
  margin-bottom: 0.4rem;
}

.shop-msg {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 400;
  background: var(--cream-solid);
  border: 2.5px solid var(--rose);
  color: var(--rose-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: 14px;
  box-shadow: 0 6px 0 rgba(185, 61, 106, 0.25), 0 10px 24px rgba(68, 40, 74, 0.28);
  text-align: center;
  max-width: 90vw;
  animation: tileReveal 0.2s ease;
}

.pack-stage {
  background: var(--cream-solid);
  border: 3px solid var(--border-strong);
  border-radius: 22px;
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  box-shadow: 0 12px 0 rgba(72, 34, 70, 0.28);
}

.pack-stage-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pack-counter {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: var(--ink-muted);
}

.pack-stage-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pack-rip-view,
.pack-reveal-view,
.pack-summary-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.pack-wrapper {
  width: 240px;
  height: 360px;
  border-radius: 14px;
  border: 3px solid var(--rose-dark);
  background: linear-gradient(155deg, #ff9ebb 0%, #f5b942 50%, #9f84db 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(84, 38, 72, 0.3);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pack-wrapper.ripping .tear-strip {
  transform: translateX(120%) rotate(8deg);
  opacity: 0;
}

.tear-strip {
  background: repeating-linear-gradient(
    90deg,
    #fffaf2 0px,
    #fffaf2 12px,
    #ffe0ec 12px,
    #ffe0ec 24px
  );
  border-bottom: 3px dashed var(--rose-dark);
  padding: 0.7rem 0.5rem;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.78rem;
  color: var(--rose-dark);
  cursor: grab;
  user-select: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.pack-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(68, 40, 74, 0.45);
}

.pack-set-code {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  background: rgba(68, 40, 74, 0.4);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.pack-set-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.pack-sub {
  font-size: 0.85rem;
  font-weight: 800;
}

.pack-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
}

.pack-reveal-view {
  cursor: pointer;
  user-select: none;
}

.revealed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: #fff4e6;
  border: 2.5px solid var(--border);
  animation: tileReveal 0.28s ease;
}

.revealed-card img {
  width: 220px;
  height: 308px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(68, 40, 74, 0.3);
}

.revealed-card.glow-hit {
  border-color: var(--rose);
  box-shadow: 0 0 24px rgba(227, 93, 140, 0.45);
}

.revealed-card.glow-shining {
  border-color: var(--gold);
  box-shadow: 0 0 32px rgba(245, 185, 66, 0.75);
}

.revealed-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.revealed-meta strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.revealed-meta span {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.summary-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 0.75rem;
  max-height: 46vh;
  overflow-y: auto;
  padding: 0.25rem;
}

.summary-card {
  position: relative;
  background: #fff4e6;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem;
  text-align: center;
  cursor: pointer;
}

.summary-card img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-bottom: 0.25rem;
}

.summary-qty,
.pocket-qty-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--rose);
  color: #ffffff;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.72rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1.5px solid #fffaf2;
  z-index: 2;
}

.summary-code {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.binder-pocket.clickable {
  cursor: pointer;
}

.detail-window {
  position: relative;
  background: var(--cream-solid);
  border: 3px solid var(--border-strong);
  border-radius: 22px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 620px;
  width: 100%;
  box-shadow: 0 12px 0 rgba(72, 34, 70, 0.28);
}

.detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.detail-img {
  width: 210px;
  height: 294px;
  object-fit: cover;
  border-radius: 12px;
  border: 2.5px solid var(--border);
  box-shadow: 0 8px 18px rgba(68, 40, 74, 0.25);
}

.detail-info {
  flex: 1;
  min-width: 210px;
}

.detail-info h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: var(--rose-dark);
  margin-bottom: 0.3rem;
}

.detail-qty {
  display: inline-block;
  background: #f5ebf7;
  border: 2px solid var(--border);
  color: var(--lavender-dark);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.detail-list strong {
  color: var(--ink);
}

.shop-nav-btn {
  font-family: 'Fredoka', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4fb8e6;
  color: #ffffff;
  border: 2px solid #2d8ab5;
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 4px 0 rgba(45, 138, 181, 0.35);
  transition: transform 0.1s ease, background 0.15s ease;
}

.shop-nav-btn:hover {
  background: #66c4ee;
}

.shop-nav-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(45, 138, 181, 0.35);
}

.col-set-btn,
.col-filter-btn {
  font-family: 'Nunito', sans-serif;
  background: transparent;
  color: var(--ink-muted);
  border: none;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.col-set-btn:hover,
.col-filter-btn:hover {
  color: var(--ink);
  background: var(--cream-hover);
}

.col-set-btn.active {
  background: var(--rose);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--rose-dark);
}

.col-filter-btn.active {
  background: var(--lavender);
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--lavender-dark);
}

.shop-pack-img {
  width: 100%;
  max-width: 190px;
  height: 165px;
  object-fit: contain;
  border-radius: 10px;
  margin: 0.25rem 0;
  filter: drop-shadow(0 5px 10px rgba(84, 38, 72, 0.2));
}

.tear-strip {
  position: relative;
  overflow: hidden;
  touch-action: none;
}

.tear-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(227, 93, 140, 0.35);
  pointer-events: none;
}

.tear-strip span {
  position: relative;
  z-index: 1;
}

footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.85);
  border: 1.5px solid var(--border);
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

.tile.card-cell {
  cursor: pointer;
}

.tile.card-cell img {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile.card-cell:hover img {
  transform: scale(1.06);
  box-shadow: 0 8px 18px rgba(84, 38, 72, 0.42);
}

.dropdown-item img {
  width: 52px;
  height: 72px;
}

.dropdown-preview {
  position: absolute;
  top: calc(100% + 8px);
  left: calc(100% + 12px);
  width: 210px;
  background: var(--cream-solid);
  border: 2.5px solid var(--border-strong);
  border-radius: 16px;
  padding: 0.65rem;
  z-index: 110;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(84, 38, 72, 0.28);
  text-align: center;
}

.dropdown-preview img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 0.45rem;
}

#dropdown-preview-caption {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink-muted);
  line-height: 1.25;
}

@media (max-width: 1024px) {
  .dropdown-preview {
    display: none !important;
  }
}

.binder-tools-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.binder-search-input {
  flex: 1;
  min-width: 180px;
  padding: 0.48rem 0.9rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.binder-search-input:focus {
  border-color: var(--rose);
}

.binder-rarity-select {
  padding: 0.48rem 0.8rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.shop-layout {
  width: 100%;
  max-width: 1260px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
}

.shop-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inventory-sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  padding-top: 5.2rem;
}

.inventory-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.inventory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.inventory-header h3 {
  margin-bottom: 0;
}

.inv-total-badge {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.82rem;
  background: var(--rose);
  color: #ffffff;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

.inv-empty {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
  padding: 1rem 0.25rem;
}

.inv-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
  padding-right: 2px;
}

.inv-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff4e6;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
}

.inv-item img {
  width: 38px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.inv-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.inv-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.15;
}

.inv-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.inv-open-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .shop-layout {
    flex-direction: column;
    align-items: center;
  }
  .inventory-sidebar {
    width: 100%;
    max-width: 560px;
    position: static;
    padding-top: 0;
  }
}

.pack-choice-view,
.pack-batch-reveal-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  text-align: center;
}

.pack-choice-view h3,
.pack-batch-reveal-view h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: var(--rose-dark);
}

.choice-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.pack-wrapper.batch-stack {
  box-shadow:
    6px 6px 0 #fffaf2,
    8px 8px 0 var(--rose-dark),
    14px 14px 0 #fffaf2,
    16px 16px 0 var(--lavender-dark),
    0 14px 28px rgba(84, 38, 72, 0.32);
}

.summary-card.glow-hit {
  border-color: var(--rose);
  box-shadow: 0 0 12px rgba(227, 93, 140, 0.45);
}

.summary-card.glow-shining {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(245, 185, 66, 0.75);
}

/* === Ponydoku === */
.pd-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2.5rem;
}

.pd-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.pd-board {
  display: grid;
  grid-template-columns: 120px repeat(3, 130px);
  grid-template-rows: 74px repeat(3, 155px);
  gap: 0.65rem;
}

.pd-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: var(--rose-dark);
  background: rgba(255, 250, 242, 0.85);
  border: 2px solid var(--border);
  border-radius: 14px;
}

.pd-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.45rem;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.92rem;
  line-height: 1.15;
  color: var(--ink);
  background: #fffaf2;
  border: 2px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 3px 0 rgba(124, 92, 130, 0.12);
}

.pd-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: rgba(255, 250, 242, 0.92);
  border: 2px dashed var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}

.pd-cell:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  background: #fff4e6;
}

.pd-cell.filled {
  border-style: solid;
  border-color: #4caf7d;
  background: #f2fbf6;
  cursor: default;
}

.pd-cell.filled img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  border-radius: 8px;
}

.pd-cell-label {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink);
}

.pd-plus {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.35rem;
  color: var(--ink-muted);
}

.pd-cell.wrong-flash {
  background: #ffe3e8;
  border-color: #d9415d;
}

.pd-result {
  width: 100%;
  max-width: 530px;
  background: #fffaf2;
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pd-result-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.pd-modal-card {
  width: 92%;
  max-width: 520px;
  max-height: 82vh;
  background: #fffaf2;
  border: 3px solid var(--border);
  border-radius: 20px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pd-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.pd-modal-criteria {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--rose-dark);
}

.pd-search-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
}

.pd-search-input:focus {
  border-color: var(--rose);
}

.pd-search-results {
  overflow-y: auto;
  max-height: 48vh;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pd-answers-grid {
  overflow-y: auto;
  max-height: 55vh;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
}

@media (max-width: 600px) {
  .pd-board {
    grid-template-columns: 82px repeat(3, 1fr);
    grid-template-rows: 64px repeat(3, 125px);
    width: 100%;
    gap: 0.4rem;
  }
  .pd-header { font-size: 0.75rem; }
  .pd-cell.filled img { height: 92px; }
}

/* === Auth Modal === */
.auth-window {
  background: var(--cream-solid);
  border: 3px solid var(--border-strong);
  border-radius: 22px;
  width: 92%;
  max-width: 400px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 0 rgba(72, 34, 70, 0.28);
  text-align: center;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.auth-header h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.35rem;
  color: var(--rose-dark);
}

.auth-sub {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.auth-full-btn {
  width: 100%;
}

.auth-divider {
  margin: 0.9rem 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.auth-form input {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--rose);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  gap: 0.5rem;
}

.auth-link-btn {
  background: none;
  border: none;
  color: var(--lavender-dark);
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}

.auth-sync-status {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  color: var(--tile-correct);
  margin-bottom: 1rem;
}

.auth-signed-in-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.auth-msg {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
}