/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #fff8e7;
  --surface: #fff;
  --surface-2: #f5f0e0;
  --border: #e8e2cf;
  --text: #1e1b2e;
  --text-muted: #6b6580;
  --primary: #7c3aed;
  --primary-hover: #6928d6;
  --primary-soft: #f1eafe;
  --danger: #ef4444;
  --success: #10b981;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 6px #1e1b2e0a;
  --shadow: 0 4px 16px #1e1b2e0f;
  --shadow-lg: 0 12px 32px #1e1b2e14;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

@media (min-width: 760px) {
  html, body {
    font-size: 16px;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

h1, h2, h3 {
  letter-spacing: -.01em;
  margin: .6em 0 .4em;
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  letter-spacing: -.02em;
  font-size: 2rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: .4em 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  padding: 24px;
}

.muted {
  color: var(--text-muted);
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.col {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

label {
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: .9rem;
  font-weight: 500;
  display: block;
}

input[type="text"], input[type="password"], input[type="number"], textarea, select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  transition: border-color .12s, box-shadow .12s;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  opacity: .7;
}

button, .btn {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: none;
  padding: 14px 20px;
  font-weight: 600;
  transition: background-color .12s, transform .12s, box-shadow .12s;
  display: inline-block;
}

button:hover, .btn:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

button:active, .btn:active {
  transform: scale(.97);
}

button:disabled, .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

button.secondary, .btn.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

button.secondary:hover, .btn.secondary:hover {
  background: var(--surface-2);
}

.error {
  color: var(--danger);
  font-size: .9rem;
}

.success {
  color: var(--success);
  font-size: .9rem;
}

.status-dot {
  vertical-align: middle;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  display: inline-block;
}

.status-dot.ok {
  background: var(--success);
}

.status-dot.bad {
  background: var(--danger);
}

nav.admin-nav {
  border-bottom: 1px solid var(--border);
  gap: 20px;
  margin-bottom: 24px;
  padding: 12px 0;
  display: flex;
}

nav.admin-nav a {
  color: var(--text-muted);
  font-weight: 500;
}

nav.admin-nav a:hover, nav.admin-nav a.active {
  color: var(--text);
  text-decoration: none;
}

.game-status {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  display: flex;
}

.game-grid {
  grid-template-columns: 1fr 240px;
  align-items: start;
  gap: 20px;
  display: grid;
}

@media (max-width: 760px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}

.puzzle-image {
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
  display: block;
}

.scoreboard ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scoreboard li {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  padding: 10px 0;
  display: flex;
}

.scoreboard li:last-child {
  border-bottom: none;
}

.scoreboard li.me {
  color: var(--primary);
  font-weight: 600;
}

.tag {
  background: var(--primary-soft);
  color: var(--primary);
  letter-spacing: .02em;
  border: 1px solid #0000;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .85rem;
  font-weight: 600;
  display: inline-block;
}

.spinner {
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  vertical-align: middle;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  animation: .7s linear infinite spin;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

input.big-guess {
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 1.4rem;
  font-weight: 500;
}

@media (min-width: 760px) {
  input.big-guess {
    font-size: 1.5rem;
  }
}

input.flash-red, input.flash-red:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px #ef44442e;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-7px);
  }

  40% {
    transform: translateX(7px);
  }

  60% {
    transform: translateX(-5px);
  }

  80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: .28s ease-in-out shake;
}

.glow-green {
  border-color: var(--success);
  box-shadow: 0 0 0 4px #10b9814d,
    var(--shadow);
  transition: box-shadow .24s, border-color .24s;
}

.reveal-line {
  text-align: center;
  color: var(--text);
  margin: 20px 0 4px;
  font-size: 1.4rem;
  font-weight: 600;
}

.reveal-line strong {
  color: var(--success);
}

.guesser-meta {
  text-align: center;
  margin: 0 0 12px;
}

.guesser-byline {
  text-align: center;
  margin: 10px 0 0;
}

.hint-line {
  text-align: center;
  min-height: 1.2em;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.modal-backdrop {
  z-index: 100;
  background: #1e1b2e66;
  justify-content: center;
  align-items: flex-end;
  animation: .2s fade-in;
  display: flex;
  position: fixed;
  inset: 0;
}

@media (min-width: 600px) {
  .modal-backdrop {
    align-items: center;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal {
  background: var(--surface);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  border-radius: 24px 24px 0 0;
  padding: 28px 24px 32px;
  animation: .28s cubic-bezier(.16, 1, .3, 1) slide-up;
}

@media (min-width: 600px) {
  .modal {
    border-radius: var(--radius);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.modal-skip {
  color: var(--text-muted);
  box-shadow: none;
  background: none;
  padding: 8px 12px;
  font-weight: 500;
}

.modal-skip:hover {
  background: var(--surface-2);
  color: var(--text);
}

.cat-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  font-weight: 600;
  transition: transform .12s, border-color .12s, box-shadow .12s, background .12s;
  display: flex;
}

.cat-card:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: var(--shadow);
}

.cat-card:active {
  transform: scale(.97);
}

.cat-emoji {
  font-size: 2.4rem;
  line-height: 1;
}

.cat-label {
  font-size: 1.05rem;
}

.step-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.link-btn {
  color: var(--text-muted);
  box-shadow: none;
  background: none;
  padding: 6px 10px;
  font-size: .95rem;
  font-weight: 500;
}

.link-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.image-frame {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  box-shadow: var(--shadow);
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.image-frame.placeholder {
  height: 160px;
}

@media (min-width: 760px) {
  .image-frame.placeholder {
    height: 200px;
  }
}

.image-frame.has-image {
  aspect-ratio: 1;
  max-height: 70vh;
}

.image-frame img.real-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.image-frame .qmark-placeholder {
  object-fit: contain;
  opacity: .9;
  width: 72px;
  height: 72px;
}

@keyframes qmark-pulse {
  0%, 100% {
    opacity: .7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.image-frame.pulsing .qmark-placeholder {
  animation: 1.3s ease-in-out infinite qmark-pulse;
}

input.big-input, textarea.big-input {
  padding: 16px 18px;
  font-size: 1.15rem;
}

.hint {
  color: var(--text-muted);
  margin: 6px 4px 0;
  font-size: .85rem;
}

button.secondary.subtle {
  color: var(--text-muted);
  box-shadow: none;
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
}

button.secondary.subtle:hover {
  background: var(--surface-2);
}

.idea-row {
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  display: flex;
}

.idea-row .link-btn {
  color: var(--primary);
  padding: 8px 10px;
  font-size: .92rem;
  font-weight: 600;
}

.idea-row .link-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.picker-backdrop {
  z-index: 200;
  background: #1e1b2e73;
  justify-content: center;
  align-items: flex-end;
  animation: .18s fade-in;
  display: flex;
  position: fixed;
  inset: 0;
}

@media (min-width: 600px) {
  .picker-backdrop {
    align-items: center;
  }
}

.picker-sheet {
  background: var(--surface);
  width: 100%;
  max-width: 520px;
  height: 80vh;
  max-height: 720px;
  box-shadow: var(--shadow-lg);
  border-radius: 24px 24px 0 0;
  flex-direction: column;
  animation: .28s cubic-bezier(.16, 1, .3, 1) slide-up;
  display: flex;
  overflow: hidden;
}

@media (min-width: 600px) {
  .picker-sheet {
    border-radius: var(--radius);
    height: 70vh;
  }
}

.picker-header {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  display: flex;
}

.picker-search {
  flex: 1;
  padding: 10px 14px;
  font-size: 1rem;
}

.picker-list {
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding: 6px 0 12px;
  overflow-y: auto;
}

.picker-item {
  width: 100%;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: none;
  background: none;
  border: none;
  border-radius: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  font-weight: 400;
  transition: background-color 80ms;
  display: flex;
}

.picker-item:hover, .picker-item:focus-visible {
  background: var(--primary-soft);
  outline: none;
}

.picker-item:active {
  background: var(--primary-soft);
  transform: none;
}

.picker-item-title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.picker-item-hint {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.35;
}

/*# sourceMappingURL=src_app_globals_0p2ml0n.css.map*/