/* Spot the fake — full page. Builds on tokens in style.css (dark default, light via [data-theme="light"]). */
.spot { position: relative; overflow: hidden; padding: 80px 0 90px; }
.spot .aurora .a { opacity: .3; }
.spot-wrap { position: relative; z-index: 1; }
.spot-head { max-width: 760px; }
.spot-title { font: 800 clamp(2.8rem, 6.4vw, 5rem)/1 var(--sans); letter-spacing: -.045em; margin: 16px 0 20px; }
.spot-title .rose, .spot .rose { color: var(--rose); }
.spot .doc-lead b { color: var(--rose); }
.spot-src { margin-top: 18px; font-size: .78rem; color: var(--dim); }

/* game */
.game { margin-top: 44px; padding: 28px; border: 1px solid var(--rule); border-radius: 14px; background: rgba(var(--page-rgb), .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .7); }
.g-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.g-brand { display: flex; align-items: center; gap: 14px; font-size: 1.15rem; line-height: 1.35; }
.g-brand b { color: var(--ink); }
.g-ph { color: var(--dim); }
.av { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fff; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: contain; }
.av-l { background: rgba(var(--mint-rgb), .14); color: var(--mint); font: 800 1.1rem var(--sans); border: 1px solid rgba(var(--mint-rgb), .4); }
.streak { display: flex; gap: 5px; }
.streak i { width: 18px; height: 8px; border-radius: 2px; background: rgba(var(--ink-rgb), .1); transition: background .3s; }
.streak i.win { background: var(--mint); }
.streak i.miss { background: var(--rose); }

.g-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.g-opt { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.g-opt:not(:disabled):hover { border-color: rgba(var(--ink-rgb), .4); }
.g-opt:not(:disabled):active { transform: scale(.985); }
.g-letter { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: var(--page); font: 800 1rem var(--sans); }
.g-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 10px; background: rgba(var(--page-rgb), .7); border: 1px solid var(--rule); }
.g-bar svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--dim); }
.g-bar .mono { font: 600 clamp(1.05rem, 2.2vw, 1.5rem) var(--mono); word-break: break-all; }
.g-opt em { position: absolute; top: 22px; right: 22px; font: 700 .72rem var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.g-opt.is-fake { border-color: rgba(var(--rose-rgb), .6); background: rgba(var(--rose-rgb), .06); }
.g-opt.is-fake em { color: var(--rose); border: 1px solid rgba(var(--rose-rgb), .5); }
.g-opt.is-real { border-color: rgba(var(--mint-rgb), .6); background: rgba(var(--mint-rgb), .06); }
.g-opt.is-real em { color: var(--mint); border: 1px solid rgba(var(--mint-rgb), .5); }
.g-opt.hit { animation: spotPop .4s ease; }
.g-opt.miss { animation: spotShake .4s ease; }
@keyframes spotPop { 50% { transform: scale(1.02); } }
@keyframes spotShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.g-why { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule); }
.g-why > b { font-size: 1.35rem; letter-spacing: -.02em; }
.g-why .ok { color: var(--mint); }
.g-why .bad { color: var(--rose); }
.g-dom { margin-top: 10px; font-size: 1.05rem; word-break: break-all; }
mark { background: rgba(var(--rose-rgb), .2); color: var(--rose); border-radius: 3px; padding: 0 2px; }
.why { list-style: none; display: grid; gap: 10px; margin-top: 14px; color: rgba(var(--ink-rgb), .85); }
.why li { position: relative; padding-left: 18px; }
.why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 1px; background: var(--rose); }
.why b { color: var(--ink); }
.hint { margin-top: 14px; font-size: .85rem; color: var(--dim); }

.g-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.g-next, .g-share { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 10px; font: 700 .95rem var(--sans); cursor: pointer; border: 1px solid var(--rule); }
.g-next { background: var(--mint); color: var(--on-mint); border-color: transparent; }
.g-share { background: var(--card); color: var(--ink); }
.g-share svg { width: 16px; height: 16px; }
.g-next:active, .g-share:active { transform: scale(.98); }

/* tips */
.spot-tips { margin-top: 70px; }
.spot-tips h2 { font: 800 clamp(1.6rem, 3vw, 2.2rem) var(--sans); letter-spacing: -.03em; }
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid var(--rule); }
.tips > div { padding: 24px 24px 8px 0; }
.tips > div + div { border-left: 1px solid var(--rule); padding-left: 24px; }
.tips .mono { color: var(--mint); font-size: .8rem; }
.tips b { display: block; margin-top: 12px; font-size: 1.1rem; }
.tips p { margin-top: 8px; color: rgba(var(--ink-rgb), .72); font-size: .95rem; }

@media (max-width: 760px) {
  .spot { padding: 50px 0 70px; }
  .game { padding: 18px; margin-top: 30px; }
  .g-opts { grid-template-columns: 1fr; gap: 12px; }
  .g-opt { padding: 16px; gap: 12px; }
  .g-opt em { top: 16px; right: 16px; }
  .tips { grid-template-columns: 1fr; }
  .tips > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
}
@media (prefers-reduced-motion: reduce) { .g-opt.hit, .g-opt.miss { animation: none; } }
