/* ============================================
   NEURO-BLAST: カオス・エントロピー
   ネオン調ダークテーマ CSS
   ============================================ */

:root {
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-green: #00ff00;
    --neon-yellow: #ffff00;
    --neon-orange: #ff8800;
    --dark-bg: #0a0a0f;
    --dark-panel: rgba(10, 10, 20, 0.8);
    --glow-intense: 0 0 20px, 0 0 40px, 0 0 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--dark-bg);
    font-family: 'Orbitron', 'Noto Sans JP', sans-serif;
    color: #fff;
    overflow: hidden;
    min-height: 100vh;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2a 50%, #0a1a2a 100%);
}

#game-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   UI オーバーレイ
   ============================================ */

#ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.ui-panel {
    background: var(--dark-panel);
    border: 2px solid var(--neon-cyan);
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3),
        inset 0 0 15px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.ui-panel .label {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.ui-panel .value {
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 0 10px currentColor;
}

/* スコアパネル（左上） */
#score-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

#score-panel .label {
    color: var(--neon-green);
}

#score-value {
    color: var(--neon-green);
}

/* コンボパネル（右上） */
#combo-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    min-width: 150px;
}

#combo-panel .label {
    color: var(--neon-pink);
}

#combo-value {
    color: var(--neon-pink);
}

#combo-bar {
    height: 4px;
    background: rgba(255, 0, 255, 0.2);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

#combo-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-orange));
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--neon-pink);
}

/* ハイパーフォーカスゲージ */
#hyperfocus-panel {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    text-align: center;
    border-color: var(--neon-yellow);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
}

/* モバイル対応：レスポンシブ調整 */
/* モバイル対応：レスポンシブ調整 (コンパクト版) */
@media (max-width: 768px) {

    /* 共通パネルスタイル圧縮 */
    .ui-panel {
        padding: 5px 10px;
        /* パディング半減 */
        border-width: 1px;
    }

    .ui-panel .label {
        font-size: 0.5rem;
        /* ラベル最小化 */
        letter-spacing: 1px;
        margin-bottom: 2px;
    }

    .ui-panel .value {
        font-size: 1rem;
        /* 数値も小さく */
        text-shadow: 0 0 5px currentColor;
    }

    /* 各パネルの配置調整 */

    /* スコア: 左上隅に極小配置 */
    #score-panel {
        top: 10px;
        left: 10px;
        min-width: auto;
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    #score-panel .label {
        display: none;
    }

    /* ラベル非表示 */
    #score-value {
        font-size: 1.2rem;
    }

    /* コンボ: 右上隅に極小配置 */
    #combo-panel {
        top: 10px;
        right: 10px;
        min-width: auto;
        padding: 5px;
        transform: none;
        /* 前回のscale削除 */
    }

    #combo-panel .label {
        display: none;
    }

    #combo-value {
        font-size: 1rem;
    }

    #combo-bar {
        height: 2px;
        margin-top: 2px;
    }

    /* HPバー: 画面上部中央へ移動 (操作エリア回避) */
    #health-panel {
        top: 10px;
        left: 50%;
        bottom: auto;
        /* 下部から撤去 */
        transform: translateX(-50%);
        width: 40%;
        /* 幅を制限 */
        min-width: auto;
        padding: 2px 5px;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    #health-panel .label {
        display: none;
    }

    #health-bar-container {
        width: 100%;
    }

    #health-bar {
        height: 8px;
        /* 細く */
        margin-top: 0;
        border: 1px solid rgba(255, 51, 102, 0.5);
    }

    #health-text {
        font-size: 0.7rem;
    }

    /* ハイパーフォーカス: HPバーの真下 */
    #hyperfocus-panel {
        bottom: auto;
        top: 30px;
        /* HPバーの下 */
        left: 50%;
        transform: translateX(-50%);
        min-width: 40%;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    #hyperfocus-panel .label {
        display: none;
    }

    #hyperfocus-bar {
        height: 4px;
        border: none;
        background: rgba(255, 255, 0, 0.1);
    }

    /* マイクロクエスト: 右上 (コンボの下) に透過表示 */
    #microquest-panel {
        top: 50px;
        right: 10px;
        width: 120px;
        padding: 5px;
        background: rgba(10, 10, 20, 0.3);
        /* 薄く */
        border: none;
        box-shadow: none;
    }

    #microquest-panel .label {
        display: none;
    }

    .microquest-item {
        padding: 4px;
        font-size: 0.6rem;
        margin-bottom: 4px;
        background: rgba(255, 136, 0, 0.1);
        border: none;
    }

    /* パワーアップ表示: 左上 (スコアの下) */
    #powerup-panel {
        bottom: auto;
        top: 40px;
        left: 10px;
        transform: none;
        flex-direction: column;
        /* 縦並び */
        gap: 5px;
    }

    .powerup-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    /* タイトル画面 */
    #title-screen h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    #title-screen h2 {
        font-size: 1rem;
        letter-spacing: 5px;
    }

    .neon-btn {
        padding: 10px 40px;
        font-size: 1.2rem;
    }
}

/* バーチャルスティック */
#virtual-controls {
    display: none;
    /* デフォルト非表示、タッチ検出で表示 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

#joystick-zone {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    pointer-events: auto;
    /* ここだけ操作可能 */
    touch-action: none;
    /* ブラウザのスクロール等を無効化 */
}

#joystick-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--neon-cyan);
    pointer-events: none;
}

#fire-hint {
    position: absolute;
    bottom: 100px;
    right: 80px;
    font-size: 1.2rem;
    color: rgba(255, 0, 255, 0.5);
    font-weight: 900;
    animation: pulse 2s infinite;
    pointer-events: none;
}

.touch-active #virtual-controls {
    display: block;
}

#hyperfocus-panel .label {
    color: var(--neon-yellow);
}

#hyperfocus-bar {
    height: 12px;
    background: rgba(255, 255, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--neon-yellow);
}

#hyperfocus-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-yellow), #fff);
    border-radius: 6px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 20px var(--neon-yellow);
}

/* WAVE進捗バー */
#wave-progress-bar {
    height: 6px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.5);
}

#wave-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ffff, #00ff88);
    border-radius: 3px;
    transition: width 0.2s ease-out;
    box-shadow: 0 0 10px #00ffff;
}

/* マイクロクエストパネル */
#microquest-panel {
    position: absolute;
    top: 120px;
    right: 20px;
    width: 220px;
    background: var(--dark-panel);
    border: 2px solid var(--neon-orange);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.3);
    pointer-events: none;
    /* ゲームプレイを邪魔しない */
    z-index: 50;
    /* 他のUIより前面に */
}

#microquest-panel .label {
    font-size: 0.65rem;
    color: var(--neon-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

#microquest-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    /* スクロールバーを非表示（機能は維持） */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

#microquest-list::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.microquest-item {
    background: rgba(255, 136, 0, 0.1);
    border: 1px solid rgba(255, 136, 0, 0.5);
    border-radius: 5px;
    padding: 10px;
    font-size: 0.75rem;
    animation: questSlideIn 0.3s ease-out;
}

.microquest-item .quest-name {
    color: #fff;
    margin-bottom: 5px;
}

.microquest-item .quest-timer {
    color: var(--neon-orange);
    font-size: 0.65rem;
}

.microquest-item .quest-progress {
    height: 8px;
    background: rgba(255, 136, 0, 0.2);
    border-radius: 4px;
    margin-top: 8px;
    border: 1px solid rgba(255, 136, 0, 0.4);
    overflow: hidden;
}

.microquest-item .quest-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-orange), #ffcc00);
    border-radius: 4px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 10px var(--neon-orange), 0 0 20px rgba(255, 136, 0, 0.5);
    animation: progressPulse 1s ease-in-out infinite;
}

@keyframes progressPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

@keyframes questSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* 散らばった情報表示 */
#floating-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-text {
    position: absolute;
    font-weight: 700;
    text-shadow: var(--glow-intense);
    animation: floatUp 1s ease-out forwards;
    pointer-events: none;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.5);
    }
}

/* フローティングアニメーション */
.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ============================================
   タイトル画面
   ============================================ */

#title-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(100, 0, 100, 0.3) 0%, transparent 70%);
    z-index: 100;
}

#title-screen h1 {
    font-size: 5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan),
        0 0 25px var(--neon-cyan);
    letter-spacing: 10px;
    margin-bottom: 10px;
}

#title-screen h2 {
    font-size: 1.5rem;
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
    letter-spacing: 15px;
    margin-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
}

#title-screen .subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    letter-spacing: 5px;
}

/* グリッチエフェクト */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch1 3s infinite;
    color: var(--neon-pink);
    z-index: -1;
    opacity: 0.5;
}

.glitch::after {
    animation: glitch2 3s infinite;
    color: var(--neon-green);
    z-index: -2;
    opacity: 0.5;
}

@keyframes glitch1 {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-5px, 2px);
    }

    94% {
        transform: translate(5px, -2px);
    }

    96% {
        transform: translate(-3px, 1px);
    }

    98% {
        transform: translate(3px, -1px);
    }
}

@keyframes glitch2 {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    91% {
        transform: translate(5px, -2px);
    }

    93% {
        transform: translate(-5px, 2px);
    }

    95% {
        transform: translate(3px, -1px);
    }

    97% {
        transform: translate(-3px, 1px);
    }
}

/* ネオンボタン */
.neon-btn {
    background: transparent;
    border: 3px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px 60px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.neon-btn:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--neon-cyan),
        0 0 60px var(--neon-cyan);
}

.neon-btn:active {
    transform: scale(0.95);
}

.controls-hint {
    margin-top: 40px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.8rem;
}

.controls-hint p {
    margin: 8px 0;
    letter-spacing: 2px;
}

/* ============================================
   ゲームオーバー画面
   ============================================ */

#gameover-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10, 10, 15, 0.95);
    z-index: 100;
}

#gameover-screen h1 {
    font-size: 3rem;
    color: var(--neon-pink);
    text-shadow: 0 0 30px var(--neon-pink);
    margin-bottom: 30px;
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

#final-score {
    font-size: 4rem;
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green);
    margin-bottom: 20px;
}

#final-stats {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    text-align: center;
    line-height: 2;
}

.hidden {
    display: none !important;
}

/* ============================================
   ハイパーフォーカスモード エフェクト
   ============================================ */

.hyperfocus-active {
    animation: hyperfocusPulse 0.5s infinite;
}

@keyframes hyperfocusPulse {

    0%,
    100% {
        box-shadow: 0 0 30px var(--neon-yellow),
            0 0 60px var(--neon-yellow),
            inset 0 0 30px rgba(255, 255, 0, 0.1);
    }

    50% {
        box-shadow: 0 0 50px var(--neon-yellow),
            0 0 100px var(--neon-yellow),
            inset 0 0 50px rgba(255, 255, 0, 0.2);
    }
}

/* スクリーンフラッシュ */
.screen-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    animation: flash 0.1s ease-out;
}

@keyframes flash {
    from {
        opacity: 0.8;
    }

    to {
        opacity: 0;
    }
}

/* ============================================
   プレイヤー体力バー
   ============================================ */

#health-panel {
    position: absolute;
    top: 100px;
    left: 20px;
    min-width: 200px;
    border-color: #ff3366;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.4),
        inset 0 0 10px rgba(255, 51, 102, 0.1);
}

#health-panel .label {
    color: #ff3366;
}

#health-bar {
    height: 30px;
    /* 太く */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    overflow: hidden;
    border: 3px solid rgba(255, 51, 102, 0.8);
    margin-top: 8px;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
    /* グロー強化 */
}

#health-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #ff0044, #ff3366, #ff0044);
    /* より鮮やかな赤 */
    background-size: 200% 100%;
    animation: healthBarFlow 2s linear infinite;
    /* 常に動かして目立たせる */
    border-radius: 2px;
    transition: width 0.1s ease-out;
    /* 反応を良くする */
    box-shadow: 0 0 15px #ff3366, inset 0 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
}

@keyframes healthBarFlow {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

#health-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 2px 2px 0 0;
}

#health-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    /* 文字大きく */
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 5px #000, 0 0 10px #ff0000;
    z-index: 1;
}

#health-bar-container {
    position: relative;
}

/* 体力が低い時のアニメーション */
.health-low #health-fill {
    animation: healthPulse 0.5s ease-in-out infinite;
}

.health-critical #health-fill {
    animation: healthCritical 0.25s ease-in-out infinite;
    background: linear-gradient(90deg, #ff0000, #ff3300, #ff0000);
}

@keyframes healthPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 15px #ff3366, 0 0 30px rgba(255, 51, 102, 0.5);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 25px #ff3366, 0 0 50px rgba(255, 51, 102, 0.8);
    }
}

@keyframes healthCritical {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ============================================
   ダメージエフェクト
   ============================================ */

.damage-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    /* 中心は透明、外側が激しい赤 */
    background: radial-gradient(circle at center, transparent 20%, rgba(255, 0, 0, 0.4) 50%, rgba(255, 0, 0, 0.9) 100%);
    animation: damageVignette 0.5s cubic-bezier(0.1, 0.7, 1.0, 0.1) forwards;
    mix-blend-mode: overlay;
    /* より攻撃的なブレンド */
}

@keyframes damageVignette {
    0% {
        opacity: 1;
        transform: scale(1.05);
    }

    10% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.damage-number {
    position: absolute;
    font-size: 2rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 2px 2px 0 #000;
    animation: damageFloat 1s ease-out forwards;
    pointer-events: none;
    z-index: 1000;
}

@keyframes damageFloat {
    0% {
        transform: translateY(0) scale(1.5);
        opacity: 1;
    }

    100% {
        transform: translateY(-80px) scale(0.8);
        opacity: 0;
    }
}

/* ============================================
   パワーアップ表示
   ============================================ */

#powerup-panel {
    position: absolute;
    bottom: 100px;
    left: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 300px;
}

.powerup-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    border: 2px solid;
    animation: powerupFloat 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.powerup-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    animation: powerupShine 2s linear infinite;
}

@keyframes powerupFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes powerupShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.powerup-icon.bullets {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.powerup-icon.speed {
    background: rgba(255, 255, 0, 0.2);
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
}

.powerup-icon.homing {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.powerup-icon.laser {
    background: rgba(255, 136, 0, 0.2);
    border-color: var(--neon-orange);
    color: var(--neon-orange);
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.5);
}

.powerup-timer {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.powerup-timer-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 768px) {
    #title-screen h1 {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    #title-screen h2 {
        font-size: 1rem;
        letter-spacing: 8px;
    }

    .ui-panel {
        padding: 10px 15px;
    }

    .ui-panel .value {
        font-size: 1.5rem;
    }

    #microquest-panel {
        width: 180px;
        padding: 10px;
    }

    #hyperfocus-panel {
        min-width: 200px;
    }
}