/* npc.quest */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #134e4a; color: #e2e8f0; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1.6; }
.pixel-frame { border: 4px solid #94a3b8; margin: 1rem; min-height: calc(100vh - 2rem); }
.title-screen { text-align: center; padding: 5rem 2rem 3rem; }
.brand { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: 0.05em; }
.blink-text { font-family: 'Fira Code', monospace; font-size: 0.75rem; color: #4ade80; margin-top: 1.5rem; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.level-tag { font-family: 'Fira Code', monospace; font-size: 0.55rem; color: #fbbf24; display: inline-block; margin-top: 1rem; }
.gallery { max-width: 480px; margin: 0 auto; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.npc-card { background: #1a1a2e; border: 4px solid #94a3b8; padding: 1rem 1.25rem; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.3rem; }
.npc-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.9rem; }
.gold-star { color: #fbbf24; font-size: 0.8rem; }
.npc-role { font-size: 0.65rem; color: #94a3b8; margin-bottom: 0.75rem; }
.stat-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.stat-label { font-family: 'Fira Code', monospace; font-size: 0.55rem; width: 24px; color: #94a3b8; }
.stat-bar { flex: 1; height: 12px; border: 2px solid #94a3b8; background: transparent; }
.stat-fill { height: 100%; }
.stat-fill.hp { background: #4ade80; }
.stat-fill.xp { background: #fbbf24; }
.quest-log { max-width: 480px; margin: 0 auto; padding: 2rem 1.5rem; }
.section-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.log-panel { background: #1a1a2e; border: 4px solid #94a3b8; padding: 1rem 1.25rem; }
.quest-entry { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; }
.quest-check { font-family: 'Fira Code', monospace; font-size: 0.7rem; color: #94a3b8; flex-shrink: 0; }
.quest-check.done { color: #4ade80; }
.quest-check.active { color: #60a5fa; }
.quest-text { font-family: 'Fira Code', monospace; font-size: 0.7rem; }
.quest-text.blue { color: #60a5fa; }
.game-over { text-align: center; padding: 3rem 2rem 4rem; }
.score { font-family: 'Fira Code', monospace; font-size: 1.2rem; color: #fbbf24; }
.complete-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; margin-top: 0.5rem; color: #4ade80; }
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
