/* Pause, dialogue, deck, settings, looks and recap panels in the title's language: smoked glass, paper, tungsten. */

.panel-wrap {
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.panel:not(.paper-panel) {
    width: min(680px, 100%);
    border: 0;
    border-radius: 4px;
    background: rgba(13, 12, 15, 0.92);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(239, 227, 196, 0.06);
    padding: 30px 32px 26px;
    color: var(--paper);
    font: 16px/1.55 "Big Shoulders Text", "Oswald", sans-serif;
    letter-spacing: 0.02em;
}
.panel:not(.paper-panel) h2 {
    margin-bottom: 10px;
    color: var(--paper);
    font: 900 36px/1 "Big Shoulders Display", "Oswald", sans-serif;
    letter-spacing: 0.02em;
}
.panel:not(.paper-panel) .dim {
    color: rgba(239, 227, 196, 0.64);
    font: 17px/1.55 "Special Elite", "Courier New", monospace;
    letter-spacing: 0;
}

/* Dialogue */
.talk-panel .talk-role {
    color: var(--tungsten);
    font: 700 13px/1 "Big Shoulders Text", "Oswald", sans-serif;
    letter-spacing: 0.14em;
}
.talk-panel h2 { margin-top: 6px; font-size: 44px; }
.talk-panel .talk-line {
    margin: 10px 0 20px;
    color: rgba(239, 227, 196, 0.94);
    font: 18px/1.6 "Special Elite", "Courier New", monospace;
}
.talk-panel .q-options { margin-bottom: 18px; }
.panel .q-option {
    gap: 14px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 2px;
    background: rgba(239, 227, 196, 0.05);
    color: var(--paper);
    font: 600 17px/1.35 "Big Shoulders Text", "Oswald", sans-serif;
    letter-spacing: 0.02em;
    padding: 12px 14px;
}
.panel .q-option:hover,
.panel .q-option:focus-visible {
    border-left-color: var(--tungsten);
    background: rgba(239, 227, 196, 0.1);
}
.panel .q-key {
    flex: 0 0 26px;
    height: 30px;
    border: 0;
    border-radius: 2px;
    background: linear-gradient(var(--flap-top) 0 49%, #050506 49% 51%, var(--flap-bottom) 51%);
    color: var(--paper);
    font: 900 15px/1 "Big Shoulders Display", "Oswald", sans-serif;
}

/* Buttons */
.panel .btn-primary,
.panel .btn-secondary {
    min-height: 46px;
    border-radius: 2px;
    font: 800 15px/1 "Big Shoulders Display", "Oswald", sans-serif;
    letter-spacing: 0.1em;
    padding: 12px 14px;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.panel .btn-primary {
    border: 0;
    background: var(--paper);
    color: #0d0b08;
}
.panel .btn-primary:hover { background: var(--tungsten); color: #0d0b08; }
.panel .btn-secondary {
    border: 1px solid rgba(239, 227, 196, 0.26);
    background: transparent;
    color: var(--paper);
}
.panel .btn-secondary:hover {
    border-color: var(--paper);
    background: rgba(239, 227, 196, 0.08);
    color: var(--paper);
}
.panel button:focus-visible,
.panel a:focus-visible {
    outline: 2px solid var(--paper);
    outline-offset: 3px;
}

/* Pause details */
.panel .bill-line {
    color: var(--tungsten);
    font: 700 15px/1.3 "Big Shoulders Text", "Oswald", sans-serif;
    letter-spacing: 0.08em;
}
.panel .boot-dare {
    color: rgba(239, 227, 196, 0.82);
    font: 600 15px/1.45 "Big Shoulders Text", "Oswald", sans-serif;
    letter-spacing: 0.03em;
}
.panel .tip-line {
    color: rgba(239, 227, 196, 0.5);
    font: 600 13px/1.6 "Big Shoulders Text", "Oswald", sans-serif;
}
.panel .tip-line a,
.panel .footer-links a {
    color: var(--tungsten);
    font: 700 13px/1.6 "Big Shoulders Text", "Oswald", sans-serif;
    letter-spacing: 0.04em;
}
.panel .footer-links a { color: rgba(239, 227, 196, 0.62); }

/* Recap and looks */
.panel .recap-bits li {
    border-left: 2px solid var(--tungsten);
    color: var(--paper);
    font: 17px/1.5 "Special Elite", "Courier New", monospace;
    letter-spacing: 0;
}
.panel .look-list li {
    border: 1px solid rgba(239, 227, 196, 0.14);
    border-radius: 2px;
}
.panel .look-list li.have { border-color: rgba(239, 227, 196, 0.42); }
.panel .look-list li.eq { background: rgba(239, 227, 196, 0.07); border-color: var(--tungsten); }
.panel .look-list strong { font: 800 16px/1.2 "Big Shoulders Display", "Oswald", sans-serif; letter-spacing: 0.06em; }
.panel .look-list em { color: rgba(239, 227, 196, 0.55); font-size: 13px; }

/* Settings and deck */
.settings-panel label {
    color: rgba(239, 227, 196, 0.74);
    font: 700 14px/1.3 "Big Shoulders Text", "Oswald", sans-serif;
    letter-spacing: 0.08em;
}
.settings-panel .check { color: var(--paper) !important; }
.panel input[type="range"],
.panel input[type="checkbox"] { accent-color: var(--tungsten); }
.panel select {
    accent-color: var(--tungsten);
    background: rgba(239, 227, 196, 0.06);
    color: var(--paper);
    border: 1px solid rgba(239, 227, 196, 0.26);
    border-radius: 2px;
    font: 600 15px/1 "Big Shoulders Text", "Oswald", sans-serif;
    padding: 8px 10px;
}
.panel .drop-audio {
    border: 1px dashed rgba(239, 227, 196, 0.32);
    border-radius: 3px;
}
.panel .drop-audio.hot,
.panel .drop-audio:hover { border-color: var(--tungsten); background: rgba(242, 165, 65, 0.06); }
.panel .track-list li.on { color: var(--tungsten); }

@media (max-width: 720px) {
    .panel:not(.paper-panel) { padding: 22px 18px 18px; }
    .panel:not(.paper-panel) h2 { font-size: 30px; }
    .talk-panel h2 { font-size: 36px; }
}

/* Restore points in the save sheet (SQLite autosave history). */
.save-points:empty { display: none; }
.save-points { margin: 22px 0 6px; }
.save-point-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.save-point-list button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 132px; text-align: left; }
.save-point-list strong { font: 600 13px/1.2 Georgia, serif; letter-spacing: 0; }
.save-point-list small { font: 9px/1 "Space Mono", monospace; letter-spacing: 0.08em; opacity: 0.75; }
