/* ============================================
   THE LAST OUTLAW — Minecraft Blocky Theme
   ============================================ */

* {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

:root {
    --grass-dark: #2d4a1a;
    --grass: #3a6b1a;
    --grass-light: #5a8a2a;
    --stone-dark: #3a3a3a;
    --stone: #5a5a5a;
    --stone-light: #7a7a7a;
    --dirt: #6b4a2a;
    --dirt-dark: #4a3015;
    --wood: #8b6b3a;
    --wood-dark: #5a3a1a;
    --gold: #daa520;
    --gold-bright: #f0c040;
    --emerald: #2ecc71;
    --redstone: #cc2222;
    --diamond: #3aaafa;
    --panel: #1a1a1a;
    --panel-light: #2a2a2a;
    --border-dark: #1a1a1a;
    --border-light: #4a4a4a;
    --text: #e0e0e0;
    --text-dim: #888888;
}

html, body {
    width: 100%; height: 100%; overflow: hidden;
    background: #1a1a1a;
    font-family: 'VT323', monospace;
    color: var(--text);
    touch-action: none;
}

#gameCanvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; display: block; z-index: 1;
    image-rendering: pixelated;
}

/* OVERLAYS — dark blocky Minecraft background */
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
    background-color: #1a1a1a;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 39px, #232323 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, #232323 40px);
    z-index: 100; display: flex; align-items: flex-start; justify-content: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.hidden { display: none !important; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* START SCREEN — Minecraft title style */
.start-content {
    text-align: center; max-width: 520px; width: 100%;
    padding: 24px 20px 40px; margin: auto;
}

.game-title {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    color: #e0e0e0;
    text-shadow: 4px 4px 0 #1a1a1a, -2px -2px 0 #3a6b1a;
    margin-bottom: 8px; line-height: 1.2;
}
.game-title br { display: block; margin-top: 6px; }

.game-subtitle {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(0.6rem, 2.5vw, 0.9rem);
    color: var(--gold); letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 24px;
    text-shadow: 2px 2px 0 #1a1a1a;
}

.lore-text {
    font-family: 'VT323', monospace;
    font-size: 1.1rem; color: var(--text-dim);
    margin: 0 auto 28px; max-width: 420px; line-height: 1.4;
}

/* BUTTONS — Minecraft GUI style */
.btn-primary {
    font-family: 'Press Start 2P', monospace; font-size: clamp(0.7rem, 3vw, 1rem);
    letter-spacing: 1px; padding: 16px 36px;
    background: #4a4a4a; border: none;
    border-top: 3px solid #6a6a6a; border-left: 3px solid #6a6a6a;
    border-bottom: 3px solid #2a2a2a; border-right: 3px solid #2a2a2a;
    color: #e0e0e0; cursor: pointer; text-transform: uppercase;
    text-shadow: 2px 2px 0 #1a1a1a;
    transition: all 0.1s;
}
.btn-primary:hover, .btn-primary:active {
    background: #5a5a5a;
    border-top: 3px solid #7a7a7a; border-left: 3px solid #7a7a7a;
    color: var(--gold-bright);
}

.btn-secondary {
    font-family: 'Press Start 2P', monospace; font-size: 0.7rem;
    letter-spacing: 1px; padding: 12px 28px; margin-top: 12px;
    background: #3a3a3a; border: none;
    border-top: 3px solid #5a5a5a; border-left: 3px solid #5a5a5a;
    border-bottom: 3px solid #1a1a1a; border-right: 3px solid #1a1a1a;
    color: var(--text-dim); cursor: pointer; text-transform: uppercase;
    text-shadow: 2px 2px 0 #1a1a1a; transition: all 0.1s;
}
.btn-secondary:hover, .btn-secondary:active {
    background: #4a4a4a; color: var(--redstone);
}

/* MENU BUTTONS */
.menu-buttons {
    display: flex; gap: 12px; justify-content: center; margin-top: 20px;
    flex-wrap: wrap;
}
.btn-menu {
    font-family: 'Press Start 2P', monospace; font-size: 0.6rem;
    letter-spacing: 1px; padding: 12px 20px;
    background: #3a3a3a; border: none;
    border-top: 3px solid #5a5a5a; border-left: 3px solid #5a5a5a;
    border-bottom: 3px solid #1a1a1a; border-right: 3px solid #1a1a1a;
    color: var(--gold); cursor: pointer; text-transform: uppercase;
    text-shadow: 2px 2px 0 #1a1a1a; transition: all 0.1s;
}
.btn-menu:hover, .btn-menu:active {
    background: #4a4a4a; color: var(--gold-bright);
}

/* HUD — blocky pixel bars */
#hud { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; }
#playerStats { position: absolute; top: 12px; left: 12px; width: clamp(180px, 38vw, 300px); }
.stat-row { margin-bottom: 6px; }
.hp-container, .xp-container { position: relative; }
.hp-bar-bg, .xp-bar-bg {
    width: 100%; height: 22px; background: #1a1a1a;
    border: 3px solid #2a2a2a; border-top-color: #4a4a4a; border-left-color: #4a4a4a;
    overflow: hidden;
}
.hp-bar-fill { height: 100%; width: 100%; background: #cc2222; transition: width 0.3s ease; }
.xp-bar-fill { height: 100%; width: 0%; background: #2ecc71; transition: width 0.3s ease; }
.bar-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: 'Press Start 2P', monospace; font-size: 0.55rem; color: #fff; text-shadow: 2px 2px 0 #000; white-space: nowrap; }

#topRight { position: absolute; top: 12px; right: 12px; }
.level-badge { display: flex; flex-direction: column; align-items: center; background: #2a2a2a; border: 3px solid #daa520; border-top-color: #f0c040; padding: 5px 16px; }
.level-label { font-family: 'Press Start 2P', monospace; font-size: 0.5rem; letter-spacing: 1px; color: var(--gold-bright); text-shadow: 1px 1px 0 #000; }
.level-num { font-family: 'Press Start 2P', monospace; font-size: 1.2rem; color: #fff; line-height: 1; text-shadow: 2px 2px 0 #000; }

#topCenter { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); text-align: center; }
#timerDisplay { font-family: 'Press Start 2P', monospace; font-size: clamp(0.8rem,3vw,1.2rem); color: #fff; text-shadow: 2px 2px 0 #000; }
#killCount { font-family: 'VT323', monospace; font-size: 1rem; color: #cc4444; letter-spacing: 1px; margin-top: 4px; text-shadow: 1px 1px 0 #000; }

#abilityBar { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 90%; }
.ability-icon { width: 44px; height: 44px; background: #2a2a2a; border: 3px solid #3a3a3a; border-top-color: #5a5a5a; border-left-color: #5a5a5a; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }

/* BOSS BANNER — pixel font, no background, slow blink */
#bossBanner {
    position: fixed !important; top: 22% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 35 !important; pointer-events: none !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important; border-radius: 0 !important;
    box-shadow: none !important; padding: 0 !important;
    animation: bossSlowBlink 2s ease-in-out infinite !important;
}
@keyframes bossSlowBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.1; }
}
#bossName {
    font-family: 'Press Start 2P', monospace !important;
    font-size: clamp(1rem, 5vw, 2.5rem) !important;
    color: #ff2020 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    text-shadow: 3px 3px 0 #000 !important;
    line-height: 1.2 !important; white-space: nowrap !important;
    background: transparent !important;
    border: none !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 !important;
}

/* BOSS HP BAR — blocky */
#bossHpBar {
    position: absolute; top: 90px; left: 50%; transform: translateX(-50%);
    width: min(400px, 80vw); z-index: 12; text-align: center; pointer-events: none;
}
#bossHpLabel {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(0.55rem, 2.5vw, 0.85rem); color: #ff3333;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px;
    text-shadow: 2px 2px 0 #000;
}
.boss-hp-bar-bg {
    width: 100%; height: 16px;
    background: #1a1a1a;
    border: 3px solid #2a2a2a; border-top-color: #4a4a4a; border-left-color: #4a4a4a;
    overflow: hidden;
}
.boss-hp-bar-fill {
    height: 100%; width: 100%;
    background: #cc0000;
    transition: width 0.15s ease;
}

/* LEVEL UP MODAL — blocky cards */
.levelup-content { text-align: center; max-width: 700px; width: 92%; padding: 20px; animation: slideUp 0.3s ease; margin: auto; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.levelup-title { font-family: 'Press Start 2P', monospace; font-size: clamp(1rem, 4vw, 1.8rem); color: var(--gold-bright); text-shadow: 3px 3px 0 #000; margin-bottom: 8px; animation: pulseGlow 1s ease infinite; }
@keyframes pulseGlow { 0%,100% { text-shadow: 3px 3px 0 #000; } 50% { text-shadow: 3px 3px 0 #000, 0 0 15px var(--gold); } }
.levelup-subtitle { font-family: 'VT323', monospace; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; font-size: 1rem; margin-bottom: 22px; }
.choice-cards { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.choice-card { width: clamp(140px, 28vw, 200px); background: #2a2a2a; border: 3px solid; padding: 18px 14px; cursor: pointer; transition: all 0.1s; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: auto; }
.choice-card:hover, .choice-card:active { transform: translateY(-4px); background: #333; }
.choice-card.weapon { border-color: var(--gold); }
.choice-card.ability { border-color: var(--grass); }
.choice-icon { font-size: 2.6rem; line-height: 1; }
.choice-type { font-family: 'Press Start 2P', monospace; font-size: 0.5rem; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; }
.choice-card.weapon .choice-type { background: #3a3a1a; color: var(--gold-bright); }
.choice-card.ability .choice-type { background: #1a3a1a; color: var(--emerald); }
.choice-name { font-family: 'Press Start 2P', monospace; font-size: 0.7rem; color: #fff; text-align: center; text-shadow: 1px 1px 0 #000; line-height: 1.3; }
.choice-desc { font-family: 'VT323', monospace; font-size: 0.95rem; color: var(--text-dim); text-align: center; line-height: 1.2; }
.choice-level-tag { font-family: 'Press Start 2P', monospace; font-size: 0.5rem; color: var(--gold-bright); text-shadow: 1px 1px 0 #000; }

/* GAME OVER */
.gameover-content { text-align: center; max-width: 420px; padding: 20px; margin: auto; }
.gameover-title { font-family: 'Press Start 2P', monospace; font-size: clamp(1.2rem, 6vw, 2.2rem); color: var(--redstone); text-shadow: 3px 3px 0 #000; margin-bottom: 28px; letter-spacing: 2px; }
.gameover-stats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; background: #2a2a2a; border: 3px solid #3a3a3a; border-top-color: #5a5a5a; padding: 18px; }
.go-stat { display: flex; justify-content: space-between; align-items: center; }
.go-stat-label { font-family: 'VT323', monospace; font-size: 1rem; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }
.go-stat-value { font-family: 'Press Start 2P', monospace; font-size: 1rem; color: var(--gold-bright); text-shadow: 1px 1px 0 #000; }

/* VICTORY SCREEN */
.victory-content { text-align: center; max-width: 460px; padding: 24px; margin: auto; }
.victory-title { font-family: 'Press Start 2P', monospace; font-size: clamp(1.2rem, 6vw, 2.2rem); color: var(--gold-bright); text-shadow: 3px 3px 0 #000; margin-bottom: 8px; letter-spacing: 2px; animation: pulseGlow 1.5s ease infinite; }
.victory-subtitle { font-family: 'VT323', monospace; font-size: 1rem; color: var(--grass-light); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 28px; }

/* MOBILE CONTROLS */
#mobileControls { position: fixed; bottom: 0; left: 0; width: 100%; height: 200px; z-index: 20; pointer-events: none; }
body.touch-device #mobileControls.hidden { display: none; }
#joystickZone { position: absolute !important; bottom: 20px !important; left: 50% !important; transform: translateX(-50%) !important; width: 130px !important; height: 130px !important; pointer-events: auto !important; touch-action: none !important; }
#joystickBase { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 0; background: rgba(58,107,26,0.15); border: 3px solid rgba(184,150,30,0.4); display: flex; align-items: center; justify-content: center; }
#joystickKnob { width: 52px; height: 52px; border-radius: 0; background: #4a4a4a; border: 3px solid #6a6a6a; border-bottom-color: #2a2a2a; border-right-color: #2a2a2a; transition: transform 0.05s ease; }
.pause-btn { position: absolute; bottom: 25px; right: 20px; width: 48px; height: 48px; border-radius: 0; background: #3a3a3a; border: 3px solid #5a5a5a; border-bottom-color: #1a1a1a; border-right-color: #1a1a1a; color: #e0e0e0; font-size: 0.9rem; cursor: pointer; pointer-events: auto; display: flex; align-items: center; justify-content: center; }
.pause-btn:active { background: #4a4a4a; }
body:not(.touch-device) .pause-btn { display: none; }

/* PAUSE SCREEN */
.pause-content { text-align: center; margin: auto; }
.pause-content h2 { font-family: 'Press Start 2P', monospace; font-size: 2rem; color: var(--gold-bright); text-shadow: 3px 3px 0 #000; margin-bottom: 28px; letter-spacing: 3px; }
.pause-content button { display: block; margin: 10px auto; }

/* FLOATING TEXTS */
#floatingTexts { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 15; overflow: hidden; }
.float-text { position: absolute; font-family: 'Press Start 2P', monospace; font-weight: 400; font-size: 0.8rem; animation: floatUp 1.2s ease-out forwards; text-shadow: 2px 2px 0 #000; pointer-events: none; }
.float-text.damage { color: #ff5555; font-size: 0.85rem; }
.float-text.xp { color: var(--emerald); font-size: 0.7rem; text-shadow: 2px 2px 0 #000; }
.float-text.levelup { color: var(--gold-bright); font-size: 1rem; text-shadow: 2px 2px 0 #000; animation: floatUpBig 1.5s ease-out forwards; }
.float-text.boss { color: #ff3333; font-size: 0.9rem; text-shadow: 2px 2px 0 #000; }
.float-text.heal { color: #ff4488; font-size: 0.75rem; text-shadow: 2px 2px 0 #000; }
@keyframes floatUp { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-55px); opacity: 0; } }
@keyframes floatUpBig {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { transform: translateY(-10px) scale(1.2); opacity: 1; }
    100% { transform: translateY(-70px) scale(1); opacity: 0; }
}

/* MOBILE / RESPONSIVE */
.mobile-only { display: none; }
body.touch-device .mobile-only { display: flex; }

@media (max-width: 600px) {
    #playerStats { width: 42vw; min-width: 150px; top: 8px; left: 8px; }
    .hp-bar-bg, .xp-bar-bg { height: 18px; }
    .bar-text { font-size: 0.45rem; }
    .level-badge { padding: 3px 10px; }
    .level-num { font-size: 1rem; }
    #topCenter { top: 48px; }
    .choice-card { padding: 12px 8px; }
    .choice-icon { font-size: 2rem; }
    #abilityBar { bottom: 155px; }
    .docs-grid { grid-template-columns: 1fr; }
    .start-content { padding: 16px 14px; }
    .docs-content { padding: 24px 16px 32px; }
}

@media (max-height: 450px) and (orientation: landscape) {
    #joystickZone { width: 100px !important; height: 100px !important; bottom: 10px !important; left: 50% !important; transform: translateX(-50%) !important; }
    #joystickKnob { width: 42px; height: 42px; }
    .pause-btn { bottom: 15px; right: 12px; }
    #abilityBar { bottom: 115px; }
    #playerStats { top: 6px; left: 6px; }
    #topRight { top: 6px; right: 6px; }
    .start-content { padding: 10px; }
}

/* CHEST NAVIGATION ARROW — blocky chevron */
#chestNavArrow {
    position: fixed; z-index: 25;
    display: none; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    pointer-events: none;
    transform-origin: center center;
    transition: left 0.1s ease, top 0.1s ease;
}
.chest-arrow-chevron {
    width: 0; height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 24px solid #daa520;
    filter: drop-shadow(0 0 6px rgba(218,165,32,0.8));
    animation: chestArrowPulse 1.2s ease-in-out infinite;
}
@keyframes chestArrowPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* STAGE DISPLAY in HUD */
#stageDisplay {
    position: absolute; top: 55px; left: 50%; transform: translateX(-50%);
    font-family: 'Press Start 2P', monospace; font-size: 0.55rem; font-weight: 400;
    color: var(--grass-light); letter-spacing: 1px;
    text-shadow: 2px 2px 0 #000;
    text-transform: uppercase;
}

/* DOCS / GUIDE PANELS — Minecraft blocky GUI */
.docs-content {
    position: relative; max-width: 820px; width: 92%; max-height: 90dvh;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: #2a2a2a;
    border: 4px solid #1a1a1a; border-top-color: #5a5a5a; border-left-color: #5a5a5a;
    padding: 0 0 40px;
    animation: slideUp 0.3s ease; margin: auto;
}
.close-btn {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px; border-radius: 0;
    background: #4a2a2a; border: 3px solid #6a3a3a; border-bottom-color: #2a1a1a; border-right-color: #2a1a1a;
    color: #ff6666; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    pointer-events: auto; transition: all 0.1s ease; z-index: 5;
}
.close-btn:hover, .close-btn:active { background: #5a3a3a; transform: scale(1.05); }

/* Docs hero + divider */
.docs-hero { position: relative; padding: 40px 24px 28px; text-align: center; background: #1a1a1a; border-bottom: 4px solid #3a3a3a; overflow: hidden; }
.docs-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 50% 0%, rgba(218,165,32,0.06), transparent 70%); pointer-events: none; }
.docs-title { font-family: 'Press Start 2P', monospace; font-size: clamp(1rem, 5vw, 1.8rem); color: var(--gold-bright); text-shadow: 3px 3px 0 #000; margin-bottom: 6px; letter-spacing: 3px; position: relative; }
.docs-subtitle { font-family: 'VT323', monospace; font-size: 1rem; color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase; position: relative; }
.docs-body { padding: 24px; }
.docs-divider { display: flex; align-items: center; gap: 12px; margin: 0 24px; }
.docs-divider-line { flex: 1; height: 3px; background: #3a3a3a; }
.docs-divider-diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* Section headers */
.docs-section { margin-bottom: 32px; }
.docs-section h3 {
    font-family: 'Press Start 2P', monospace; font-size: 0.8rem; font-weight: 400;
    color: var(--gold-bright) !important; margin-bottom: 14px; padding-bottom: 8px;
    border-bottom: 3px solid #3a3a3a !important; letter-spacing: 1px;
    display: flex; align-items: center; gap: 10px;
}
.docs-section p { font-family: 'VT323', monospace; font-size: 1.05rem; color: #aaa; line-height: 1.5; margin-bottom: 10px; }
.docs-section strong { color: var(--gold-bright); }
.lore-quote { font-family: 'VT323', monospace; font-style: italic; color: var(--text-dim); border-left: 3px solid var(--gold); padding: 8px 0 8px 16px; margin: 14px 0; font-size: 1.05rem; line-height: 1.4; }

/* Card grid */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.docs-card {
    display: flex; flex-direction: column; gap: 8px;
    background: #1a1a1a; border: 3px solid #3a3a3a; border-top-color: #4a4a4a; border-left-color: #4a4a4a;
    padding: 14px; transition: all 0.15s ease; position: relative; overflow: hidden;
}
.docs-card:hover { transform: translateY(-3px); background: #222; border-top-color: #5a5a5a; border-left-color: #5a5a5a; }
.docs-card.enemy-card { border-color: #4a2a2a; border-top-color: #6a3a3a; border-left-color: #6a3a3a; }
.docs-card.enemy-card:hover { border-color: #cc4444; }
.docs-card.boss-card { border-color: #4a4a1a; border-top-color: #6a6a2a; border-left-color: #6a6a2a; }
.docs-card.boss-card:hover { border-color: var(--gold); }
.docs-card.locked { opacity: 0.45; border-style: dashed; }
.docs-card-top { display: flex; gap: 12px; align-items: flex-start; }
.docs-icon-svg { width: 52px; height: 52px; flex-shrink: 0; border: 2px solid #3a3a3a; background: #0a0a0a; display: flex; align-items: center; justify-content: center; }

/* Rarity badge */
.rarity-badge { display: inline-block; font-family: 'Press Start 2P', monospace; font-size: 0.45rem; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; margin-bottom: 4px; width: fit-content; }
.rarity-common { background: #2a2a2a; color: #aaa; border: 2px solid #4a4a4a; }
.rarity-rare { background: #1a2a4a; color: #5599ff; border: 2px solid #2a4a6a; }
.rarity-epic { background: #2a1a3a; color: #c46bff; border: 2px solid #4a2a5a; }
.rarity-legendary { background: #3a3a1a; color: var(--gold-bright); border: 2px solid #5a5a2a; }
.rarity-boss { background: #3a1a1a; color: #ff5555; border: 2px solid #5a2a2a; }

/* Stat pills */
.docs-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.stat-pill { font-family: 'VT323', monospace; font-size: 0.9rem; padding: 2px 8px; background: #0a0a0a; border: 2px solid #2a2a2a; color: #c8d8b8; }
.stat-pill.hp { color: #ff6655; border-color: #4a2a2a; }
.stat-pill.dmg { color: #ffaa44; border-color: #4a3a1a; }
.stat-pill.xp { color: #5cec8e; border-color: #1a3a1a; }
.stat-pill.cd { color: #66bbff; border-color: #1a2a4a; }
.stat-pill.special { color: #cc66ff; border-color: #2a1a3a; }

.guide-control { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; font-family: 'VT323', monospace; font-size: 1rem; color: #aaa; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { font-family: 'VT323', monospace; font-size: 1rem; color: #aaa; line-height: 1.4; margin-bottom: 8px; padding-left: 18px; position: relative; }
.guide-list li::before { content: '▸'; position: absolute; left: 0; color: var(--grass); }
.guide-list strong { color: var(--gold-bright); }
.guide-tip { font-family: 'VT323', monospace; font-size: 0.95rem; color: var(--gold); background: #2a2a1a; border: 2px solid #4a4a2a; padding: 10px 14px; margin-top: 10px; }

.key-badge { display: inline-block; background: #3a3a3a; border: 2px solid #5a5a5a; border-bottom-color: #1a1a1a; border-right-color: #1a1a1a; padding: 3px 9px; font-family: 'Press Start 2P', monospace; font-size: 0.55rem; color: var(--gold-bright); white-space: nowrap; min-width: 48px; text-align: center; text-shadow: 1px 1px 0 #000; }
