/* --- CSS変数定義（カラーパレット） --- */
:root {
    /* 基本カラー */
    --primary-color: #e63946;
    --secondary-color: #ffcb05;
    --accent-color: #2a75bb;

    /* 背景・カード・テキスト */
    --bg-color: #f0f4f8;
    --bg-pattern: #d1e1f0;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.12);
    --text-main: #333333;
    --text-muted: #555555;
    --text-sub: #777777;

    /* UIパーツ（通常モード） */
    --border-color: #ddd;
    --input-bg: #ffffff;
    --howto-bg: #f8f9fa;
    --howto-border: #e9ecef;
    --howto-summary-hover: #f1f3f5;
}

/* ダークモード時の変数上書き */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --bg-pattern: rgba(255, 255, 255, 0.05);
        --card-bg: #1e1e1e;
        --card-shadow: rgba(0, 0, 0, 0.5);
        --text-main: #e0e0e0;
        --text-muted: #cccccc;
        --text-sub: #aaaaaa;

        --border-color: #444444;
        --input-bg: #2a2a2a;
        --howto-bg: #2c2c2c;
        --howto-border: #444444;
        --howto-summary-hover: #333333;
    }
}

/* --- 全体レイアウト --- */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(var(--bg-pattern) 20%, transparent 20%),
        radial-gradient(var(--bg-pattern) 20%, transparent 20%);
    background-size: 20px 20px;
    background-position:
        0 0,
        10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 20px 16px;
    margin: 0;
    box-sizing: border-box;
    color: var(--text-main);
    width: 100%;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--card-shadow);
    text-align: center;
    max-width: 460px;
    width: 92%;
    position: relative;
    box-sizing: border-box;
}

h1,
#pokemon-name-display,
.score-badge {
    font-family: "DotGothic16", sans-serif;
    letter-spacing: 2px;
}

h1 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.hidden {
    display: none !important;
}

/* --- 音量コントロール --- */
.volume-control {
    position: absolute;
    top: 3px;
    right: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(128, 128, 128, 0.1);
    padding: 4px 8px;
    border-radius: 20px;
}
.audio-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
#volume-slider {
    width: 65px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

/* --- フォーム群 --- */
.form-group {
    margin-bottom: 1.1rem;
    text-align: left;
}
label {
    display: block;
    font-weight: bold;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}
select,
#answer-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-size: 0.95rem;
    font-weight: bold;
    background: var(--input-bg);
    color: var(--text-main);
    box-sizing: border-box;
}
#answer-input {
    text-align: center;
}
#answer-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* --- 出題範囲設定（囲み枠） --- */
.range-setting-box {
    border: 2.5px solid var(--accent-color);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1.1rem;
    background: rgba(42, 117, 187, 0.04);
    text-align: left;
    position: relative;
}
.range-setting-header {
    font-family: "DotGothic16", sans-serif;
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--accent-color);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px dashed rgba(42, 117, 187, 0.3);
    padding-bottom: 0.4rem;
    letter-spacing: 1px;
}
.range-setting-guide {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    background: var(--input-bg);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    line-height: 1.5;
}
.range-setting-guide ul {
    margin: 4px 0 0 0;
    padding-left: 1.2rem;
}
.range-setting-guide li {
    margin-bottom: 2px;
}

/* --- 地方複数選択チップUI --- */
.region-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}
.mini-btn-group {
    display: flex;
    gap: 6px;
}
.mini-btn {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.1s;
}
.mini-btn:hover {
    background: var(--howto-summary-hover);
}
.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.chip-checkbox {
    position: relative;
}
.chip-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.chip-label {
    display: block;
    padding: 8px 4px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    color: var(--text-muted);
}
.chip-checkbox input[type="checkbox"]:checked + .chip-label {
    background: rgba(42, 117, 187, 0.12);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* 遊び方アコーディオン */
.howto-box {
    background: var(--howto-bg);
    border: 1px solid var(--howto-border);
    border-radius: 10px;
    margin-bottom: 1.2rem;
    text-align: left;
    overflow: hidden;
}
.howto-summary {
    padding: 10px 14px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--accent-color);
    cursor: pointer;
    user-select: none;
    outline: none;
}
.howto-summary:hover {
    background-color: var(--howto-summary-hover);
}
.howto-content {
    padding: 0 14px 12px 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    border-top: 1px solid var(--howto-border);
    margin-top: 4px;
}
.howto-content p {
    margin: 8px 0 4px 0;
}
.howto-content ul {
    margin: 0;
    padding-left: 1.2rem;
}
.howto-content li {
    margin-bottom: 4px;
}

/* 注意書き・エラー表示 */
.sound-warning {
    font-size: 0.8rem;
    color: #d9534f;
    text-align: center;
    margin: 1.2rem 0 0.8rem 0;
    font-weight: bold;
    line-height: 1.4;
}
.error-msg {
    color: #e63946;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 0.5rem;
}
@media (prefers-color-scheme: dark) {
    .sound-warning {
        color: #ff6b6b;
    }
    .error-msg {
        color: #ff6b6b;
    }
}

/* --- スコア・状態バッジ --- */
.quiz-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent-color);
}
.score-badge {
    background: rgba(42, 117, 187, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.95rem;
}

/* --- ボタン基本スタイル --- */
.main-btn {
    background: linear-gradient(to bottom, #ff5e6d 0%, #e63946 100%);
    color: white;
    border: 1px solid #b32a35;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 5px 0 #b32a35,
        0 8px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.1s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}
.main-btn:hover {
    background: linear-gradient(to bottom, #ff7a87 0%, #d62839 100%);
}
.main-btn:active {
    transform: translateY(5px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0px 0 #b32a35,
        0 2px 3px rgba(0, 0, 0, 0.2);
}
.main-btn:disabled {
    background: linear-gradient(to bottom, #e0e0e0 0%, #cccccc 100%);
    border-color: #999;
    color: #777;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        0 5px 0 #999999;
    text-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* キミに決めた！ボタン（リッチ） */
#submit-btn {
    background: linear-gradient(to bottom, #ff4d4d 0%, #cc0000 100%);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
    border-color: #990000;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 5px 0 #880000,
        0 8px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.8rem;
}
#submit-btn:hover {
    background: linear-gradient(to bottom, #ff6666 0%, #e60000 100%);
}
#submit-btn:active {
    transform: translateY(5px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0px 0 #880000,
        0 2px 3px rgba(0, 0, 0, 0.2);
}
#submit-btn:disabled {
    color: #777;
    text-shadow: none;
}

/* タイトルへボタン（緑） */
#back-title-btn,
.green-btn {
    background: linear-gradient(to bottom, #4caf50 0%, #2e7d32 100%);
    border-color: #1b5e20;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 5px 0 #1b5e20,
        0 8px 10px rgba(0, 0, 0, 0.2);
}
#back-title-btn:hover,
.green-btn:hover {
    background: linear-gradient(to bottom, #66bb6a 0%, #388e3c 100%);
}
#back-title-btn:active,
.green-btn:active {
    transform: translateY(5px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0px 0 #1b5e20,
        0 2px 3px rgba(0, 0, 0, 0.2);
}

/* シェアボタン共通のベーススタイル */
.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.btn-share {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition:
        opacity 0.2s,
        transform 0.1s;
}
.btn-share:hover {
    opacity: 0.85;
}
.btn-share:active {
    transform: scale(0.98);
}

/* X (旧Twitter) のブランドカラー */
.btn-x {
    background-color: #000000;
}
/* Bluesky のブランドカラー */
.btn-bsky {
    background-color: #1185fe;
}

/* --- 選択肢ボタン --- */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0.8rem;
}
.option-btn {
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
    color: #333;
    border: 1px solid #ccc;
    padding: 12px 6px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 1),
        0 4px 0 #cccccc,
        0 5px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.1s;
    word-break: break-all;
}
.option-btn:hover {
    background: linear-gradient(to bottom, #f0f7ff 0%, #e0f0ff 100%);
    border-color: var(--accent-color);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 1),
        0 4px 0 #8cbdf0,
        0 5px 5px rgba(0, 0, 0, 0.1);
}
.option-btn:active {
    transform: translateY(4px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 1),
        0 0px 0 #cccccc,
        0 2px 2px rgba(0, 0, 0, 0.1);
}
.option-btn.selected {
    background: linear-gradient(to bottom, #4ea3f8 0%, var(--accent-color) 100%);
    border-color: #1e5a96;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 4px 0 #1e5a96,
        0 5px 5px rgba(0, 0, 0, 0.2);
}
.option-btn.selected:active {
    transform: translateY(4px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0px 0 #1e5a96,
        0 2px 2px rgba(0, 0, 0, 0.2);
}

/* --- サブボタン --- */
.sub-btn-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.2rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.sub-btn {
    background: linear-gradient(to bottom, #ffffff 0%, #e9ecef 100%);
    color: #555;
    border: 1px solid #ced4da;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow:
        0 3px 0 #adb5bd,
        0 4px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.1s;
}
.sub-btn:active {
    transform: translateY(3px);
    box-shadow:
        0 0px 0 #adb5bd,
        0 1px 2px rgba(0, 0, 0, 0.05);
}

#giveup-btn {
    background: linear-gradient(to bottom, #fff5f5 0%, #ffe3e3 100%);
    color: #d9534f;
    border-color: #ffc9c9;
    box-shadow:
        0 3px 0 #ffa8a8,
        0 4px 4px rgba(0, 0, 0, 0.05);
}
#giveup-btn:active {
    box-shadow:
        0 0px 0 #ffa8a8,
        0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 見えない（再出題）ボタン：明るいオレンジ系 */
#invisible-btn {
    background: linear-gradient(to bottom, #fff9e6 0%, #ffe0b2 100%);
    color: #d97706;
    border-color: #f6ad55;
    box-shadow:
        0 3px 0 #ed8936,
        0 4px 4px rgba(0, 0, 0, 0.05);
}
#invisible-btn:active {
    transform: translateY(3px);
    box-shadow:
        0 0px 0 #ed8936,
        0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ゲームをやめるボタン：落ち着いたスレートグレー系 */
#quit-btn {
    background: linear-gradient(to bottom, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    border-color: #cbd5e1;
    box-shadow:
        0 3px 0 #94a3b8,
        0 4px 4px rgba(0, 0, 0, 0.05);
}
#quit-btn:active {
    transform: translateY(3px);
    box-shadow:
        0 0px 0 #94a3b8,
        0 1px 2px rgba(0, 0, 0, 0.05);
}

/* --- クイズ画面表示エリア --- */
.image-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 1.2rem auto;
    border: 4px solid var(--text-main);
    border-radius: 16px;
    overflow: hidden;
    background-color: #ffffff;
}
.fade-target {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 5s ease-in-out;
}
.fade-target.show {
    opacity: 1;
}
#pokemon-name-display {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    min-height: 1.5em;
}

/* --- リザルト画面カード --- */
.result-box {
    background: var(--howto-bg);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
}
.result-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.result-score {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.5rem 0;
}

/* --- フッター --- */
.disclaimer-footer {
    margin-top: 1.8rem;
    padding-top: 1rem;
    font-size: 0.72rem;
    color: var(--text-sub);
    line-height: 1.5;
    text-align: left;
    border-top: 1px solid var(--border-color);
}
.disclaimer-title {
    font-weight: bold;
    margin: 0 0 0.3rem 0;
    color: var(--text-muted);
}
.disclaimer-footer p {
    margin: 0;
}

.data-source-box {
    margin-top: 0.8rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.6rem;
}
.data-source-summary {
    font-size: 0.7rem;
    color: var(--text-sub);
    cursor: pointer;
    outline: none;
}
.data-source-summary:hover {
    color: var(--accent-color);
}
.data-source-content {
    margin-top: 0.4rem;
    font-size: 0.68rem;
    line-height: 1.4;
}
.data-source-content a {
    color: var(--accent-color);
    text-decoration: none;
}
.data-source-content a:hover {
    text-decoration: underline;
}

/* --- ダークモード上書き --- */
@media (prefers-color-scheme: dark) {
    .image-container {
        background-color: #2a2a2a;
    }

    .range-setting-box {
        background: rgba(42, 117, 187, 0.12);
        border-color: #3b82f6;
    }
    .range-setting-header {
        color: #60a5fa;
        border-bottom-color: rgba(96, 165, 250, 0.3);
    }

    .main-btn {
        background: linear-gradient(to bottom, #d63031 0%, #b32a2a 100%);
        border-color: #8b1e1e;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 5px 0 #8b1e1e,
            0 8px 10px rgba(0, 0, 0, 0.5);
    }
    .main-btn:hover {
        background: linear-gradient(to bottom, #e24545 0%, #c93434 100%);
    }
    .main-btn:active {
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 0px 0 #8b1e1e,
            0 2px 3px rgba(0, 0, 0, 0.5);
    }
    .main-btn:disabled {
        background: linear-gradient(to bottom, #444 0%, #333 100%);
        border-color: #222;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.05),
            0 5px 0 #222;
    }

    #submit-btn {
        background: linear-gradient(to bottom, #cc0000 0%, #990000 100%);
        border-color: #660000;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 5px 0 #550000,
            0 8px 10px rgba(0, 0, 0, 0.5);
    }
    #submit-btn:hover {
        background: linear-gradient(to bottom, #e60000 0%, #b30000 100%);
    }
    #submit-btn:active {
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 0px 0 #550000,
            0 2px 3px rgba(0, 0, 0, 0.5);
    }

    #back-title-btn,
    .green-btn {
        background: linear-gradient(to bottom, #388e3c 0%, #1b5e20 100%);
        border-color: #0a330c;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 5px 0 #0a330c,
            0 8px 10px rgba(0, 0, 0, 0.5);
    }
    #back-title-btn:hover,
    .green-btn:hover {
        background: linear-gradient(to bottom, #43a047 0%, #2e7d32 100%);
    }
    #back-title-btn:active,
    .green-btn:active {
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 0px 0 #0a330c,
            0 2px 3px rgba(0, 0, 0, 0.5);
    }

    .option-btn {
        background: linear-gradient(to bottom, #3a3a3a 0%, #2a2a2a 100%);
        color: #e0e0e0;
        border-color: #111;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.05),
            0 4px 0 #111,
            0 5px 5px rgba(0, 0, 0, 0.4);
    }
    .option-btn:hover {
        background: linear-gradient(to bottom, #4a4a4a 0%, #3a3a3a 100%);
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.05),
            0 4px 0 #1a4269,
            0 5px 5px rgba(0, 0, 0, 0.4);
    }
    .option-btn:active {
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.05),
            0 0px 0 #111,
            0 2px 2px rgba(0, 0, 0, 0.4);
    }
    .option-btn.selected {
        background: linear-gradient(to bottom, #2c6eb5 0%, #1e528a 100%);
        border-color: #0d2c4f;
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 4px 0 #0d2c4f,
            0 5px 5px rgba(0, 0, 0, 0.4);
    }
    .option-btn.selected:active {
        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.1),
            0 0px 0 #0d2c4f,
            0 2px 2px rgba(0, 0, 0, 0.4);
    }

    .sub-btn {
        background: linear-gradient(to bottom, #333 0%, #222 100%);
        color: #bbb;
        border-color: #111;
        box-shadow:
            0 3px 0 #111,
            0 4px 4px rgba(0, 0, 0, 0.3);
    }
    .sub-btn:hover {
        background: linear-gradient(to bottom, #444 0%, #333 100%);
        color: #eee;
    }
    .sub-btn:active {
        box-shadow:
            0 0px 0 #111,
            0 1px 2px rgba(0, 0, 0, 0.3);
    }

    #giveup-btn {
        background: linear-gradient(to bottom, #4a2a2a 0%, #3a1a1a 100%);
        color: #ff8a8a;
        border-color: #2a0a0a;
        box-shadow:
            0 3px 0 #2a0a0a,
            0 4px 4px rgba(0, 0, 0, 0.3);
    }
    #giveup-btn:hover {
        background: linear-gradient(to bottom, #5a3a3a 0%, #4a2a2a 100%);
    }
    #giveup-btn:active {
        box-shadow:
            0 0px 0 #2a0a0a,
            0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* ダークモード：見えない（再出題）ボタン */
    #invisible-btn {
        background: linear-gradient(to bottom, #422f18 0%, #2e2010 100%);
        color: #ffb74d;
        border-color: #5c3a1e;
        box-shadow:
            0 3px 0 #2e2010,
            0 4px 4px rgba(0, 0, 0, 0.3);
    }
    #invisible-btn:hover {
        background: linear-gradient(to bottom, #523a1f 0%, #3d2b16 100%);
    }
    #invisible-btn:active {
        box-shadow:
            0 0px 0 #2e2010,
            0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* ダークモード：ゲームをやめるボタン */
    #quit-btn {
        background: linear-gradient(to bottom, #2b3544 0%, #1e293b 100%);
        color: #cbd5e1;
        border-color: #0f172a;
        box-shadow:
            0 3px 0 #0f172a,
            0 4px 4px rgba(0, 0, 0, 0.3);
    }
    #quit-btn:hover {
        background: linear-gradient(to bottom, #334155 0%, #2b3544 100%);
    }
    #quit-btn:active {
        box-shadow:
            0 0px 0 #0f172a,
            0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .chip-label {
        background: #2a2a2a;
        border-color: #444;
        color: #bbb;
    }
    .chip-checkbox input[type="checkbox"]:checked + .chip-label {
        background: rgba(42, 117, 187, 0.3);
        border-color: #4ea3f8;
        color: #64b5f6;
    }
}
