/**
 * JigsawStation Game Page Styles
 * Extends design-system.css with game-specific overrides
 */

/* Game-specific body overrides */
body {
    overflow: hidden;
    background-image: url('/pattern/wine-cork.png');
}

/* Puzzle Container - Full screen, toolbar overlays it */
/* Cork texture lives here so it's always visible, even before the canvas renders */
.puzzle-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: default;
    z-index: 1;
    background-image: url('/pattern/wine-cork.png');
}

/* Promote canvas to its own GPU compositor layer for smooth rendering */
#puzzleCanvas {
    will-change: contents;
    transform: translateZ(0);
}

.puzzle-container.dragging-piece {
    cursor: grabbing;
}

/* When a dragged piece overlaps the toolbar, fade it so the piece shows through */
body.piece-overlaps-toolbar .toolbar {
    opacity: 0.3;
    pointer-events: none;
}

#puzzleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Toolbar - Matches main site header */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: opacity 0.15s ease;
}

body.dark-mode .toolbar {
    background: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* Logo in toolbar */
.toolbar .logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark-mode .toolbar .logo {
    color: #f5f5f5;
}

.toolbar .logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.toolbar .logo-text {
    display: block;
}

@media (max-width: 600px) {
    .toolbar .logo-text {
        display: none;
    }
}

/* Divider between logo and controls */
.toolbar-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.15);
    margin: 0 12px;
}

body.dark-mode .toolbar-divider {
    background: rgba(255, 255, 255, 0.15);
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-center {
    flex: 1;
    text-align: center;
}

.puzzle-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

body.dark-mode .puzzle-title {
    color: #f5f5f5;
}

.tool-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 7px 12px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 500;
    color: #0f172a;
}

.tool-btn:hover {
    background: #f0fafd;
    border-color: var(--cyan-500);
    color: var(--cyan-600);
}

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

body.dark-mode .tool-btn {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5f5f5;
}

body.dark-mode .tool-btn:hover {
    background: #2a2a2a;
    border-color: var(--cyan-500);
    color: var(--cyan-500);
}

.progress {
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    color: #374151;
}

.timer {
    font-size: 18px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #0f172a;
    background: none;
    padding: 0;
    border-radius: 0;
    margin-right: 8px;
    letter-spacing: 0.01em;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}

body.dark-mode .progress {
    color: #d1d1d1;
}

body.dark-mode .timer {
    color: #f5f5f5;
    background: none;
}

.separator {
    color: #555;
    margin: 0 8px;
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar-bg {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

body.dark-mode .progress-bar-bg {
    background: #2a2a2a;
}

.progress-bar-fill {
    height: 100%;
    background: var(--cyan-500);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    color: #0f172a;
    min-width: 45px;
    text-align: right;
}

body.dark-mode .progress-text {
    color: #f5f5f5;
}

.tool-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Theme Toggle Button */
/* Background colour picker — styled as a tool-btn with colour dot */
.bg-color-btn {
    position: relative;
    gap: 6px;
    cursor: pointer;
}

.bg-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    display: inline-block;
    flex-shrink: 0;
    background: #e8e8e8;
}

body.dark-mode .bg-color-dot {
    border-color: rgba(255, 255, 255, 0.25);
}

.bg-color-btn input[type="color"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: #0f172a;
}

/* Show sun in dark mode, moon in light mode */
.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

body.dark-mode .theme-toggle svg {
    stroke: #f5f5f5;
}

body.dark-mode .theme-toggle .sun-icon {
    display: block;
}

body.dark-mode .theme-toggle .moon-icon {
    display: none;
}

/* Status Bar - Removed (moved to toolbar) */
.status-bar {
    display: none;
}

.status-left,
.status-center,
.status-right {
    flex: 1;
}

.status-center {
    text-align: center;
}

.status-right {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.zoom-btn {
    background: #3a3a3a;
    border: 1px solid #4a4a4a;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    transition: all 0.2s;
    min-width: 30px;
}

.zoom-btn:hover {
    background: #4a4a4a;
}

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

/* Preview Overlay */
.preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.preview-overlay[hidden] {
    display: none;
}

.preview-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.preview-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Pause Overlay */
.pause-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 250;
    backdrop-filter: blur(5px);
}

.pause-overlay[hidden] {
    display: none;
}

.pause-content {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .pause-content {
    background: rgba(42, 42, 42, 0.95);
}

.pause-content h2 {
    font-family: var(--font-display);
    font-size: 48px;
    margin-bottom: 16px;
    color: #0f172a;
}

body.dark-mode .pause-content h2 {
    color: #f5f5f5;
}

.pause-content p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 24px;
}

body.dark-mode .pause-content p {
    color: #ccc;
}

.pause-content .resume-btn {
    background: var(--cyan-600);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 16px;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pause-content .resume-btn:hover {
    background: var(--cyan-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.pause-content .resume-btn:active {
    transform: translateY(0);
}

/* Completion Modal */
.completion-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
}

.completion-modal[hidden] {
    display: none;
}

.modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .modal-content {
    background: #2a2a2a;
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 16px;
    color: #0f172a;
}

body.dark-mode .modal-content h2 {
    color: #f5f5f5;
}

.modal-content p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 12px;
}

body.dark-mode .modal-content p {
    color: #aaa;
}

.completion-time {
    font-size: 24px;
    font-family: var(--font-display);
    font-weight: bold;
    color: var(--cyan-600) !important;
    margin: 20px 0;
}

.primary-btn {
    background: var(--cyan-600);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-display);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.primary-btn:hover {
    background: var(--cyan-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.primary-btn:active {
    transform: translateY(0);
}

/* Completion modal — widen to fit 4-column grid */
.completion-modal .modal-content {
    max-width: 560px;
    width: calc(100vw - 32px);
    overflow: hidden;
}

/* Completion — related puzzles */
.completion-related {
    margin: 24px 0 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

body.dark-mode .completion-related,
body:not(.light-mode) .completion-related {
    border-color: #444;
}

.completion-related-label {
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af !important;
    margin-bottom: 12px !important;
}

.completion-related-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.completion-related-item {
    width: calc(25% - 6px);
}

.completion-related-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.completion-related-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    transition: opacity 0.15s;
}

.completion-related-item:hover img {
    opacity: 0.8;
}

.completion-related-item span {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.dark-mode .completion-related-item span,
body:not(.light-mode) .completion-related-item span {
    color: #9ca3af;
}

/* Completion — photographer credit */
.completion-credit {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin: 4px 0 16px !important;
}

.completion-credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.completion-credit a:hover {
    color: var(--cyan-600);
}

/* Loading screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 400;
}

body.dark-mode .loading-screen {
    background: #1a1a1a;
}

.loading-screen[hidden] {
    display: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--cyan-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

body.dark-mode .loading-spinner {
    border-color: #333;
    border-top-color: var(--cyan-500);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: #4b5563;
    font-size: 16px;
    margin: 0;
}

body.dark-mode .loading-text {
    color: #888;
}

/* Start screen */
.start-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
}

.start-screen[hidden] {
    display: none;
}

.start-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .start-content {
    background: #2a2a2a;
}

.puzzle-preview {
    margin-bottom: 20px;
}

.puzzle-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.start-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 24px;
    color: #0f172a;
}

body.dark-mode .start-content h2 {
    color: #f5f5f5;
}

/* Piece Selector */
.piece-selector {
    margin: 24px 0;
}

.piece-selector h3 {
    color: #4b5563;
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-mode .piece-selector h3 {
    color: #888;
}

.piece-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.piece-option {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 80px;
}

body.dark-mode .piece-option {
    background: #3a3a3a;
    border: 2px solid #4a4a4a;
}

.piece-option:hover {
    border-color: var(--cyan-500);
    transform: translateY(-2px);
}

.piece-option.selected {
    border-color: var(--cyan-600);
    background: rgba(6, 182, 212, 0.1);
}

body.dark-mode .piece-option.selected {
    background: #3a4a5a;
}

.piece-option .count {
    font-size: 20px;
    font-family: var(--font-display);
    font-weight: bold;
    color: #0f172a;
    display: block;
}

body.dark-mode .piece-option .count {
    color: #f5f5f5;
}

.piece-option .difficulty {
    font-size: 11px;
    color: #4b5563;
    margin-top: 4px;
    display: block;
}

body.dark-mode .piece-option .difficulty {
    color: #888;
}

.grid-size {
    color: #4b5563;
    font-size: 14px;
}

body.dark-mode .grid-size {
    color: #666;
}

.start-info {
    margin: 16px 0;
}

.start-btn {
    background: var(--cyan-600);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-display);
    font-weight: bold;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.2s;
    width: 100%;
    max-width: 200px;
}

.start-btn:hover {
    background: var(--cyan-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.start-btn:active {
    transform: translateY(0);
}

/* Resume Option */
.resume-option {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

body.dark-mode .resume-option {
    border-top: 1px solid #3a3a3a;
}

.resume-option[hidden] {
    display: none;
}

.resume-option p {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 12px;
}

body.dark-mode .resume-option p {
    color: #aaa;
}

.resume-option span {
    color: var(--cyan-600);
    font-weight: bold;
}

.resume-option .resume-btn {
    background: var(--cyan-600);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    transition: all 0.2s;
}

.resume-option .resume-btn:hover {
    background: var(--cyan-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.resume-option .resume-btn:active {
    transform: translateY(0);
}

/* Mobile bottom bar */
.toolbar-bottom {
    display: none;
}

body.dark-mode .toolbar-bottom {
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.timer-bottom {
    font-size: 13px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
}

body.dark-mode .timer-bottom {
    color: #f5f5f5;
}

.progress-text-bottom {
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--cyan-600);
}

body.dark-mode .progress-text-bottom {
    color: var(--cyan-500);
}

/* Responsive Design */
@media (max-width: 768px) {
    .toolbar {
        padding: 0 8px;
    }

    .puzzle-title {
        font-size: 16px;
    }

    .tool-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }

    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }

    .start-content {
        padding: 24px;
    }

    .piece-options {
        gap: 6px;
    }

    .piece-option {
        min-width: 70px;
        padding: 10px 12px;
    }

    .piece-option .count {
        font-size: 18px;
    }

    .modal-content {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    /* Show the bottom bar */
    .toolbar-bottom {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        z-index: 100;
        box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
    }

    /* Hide timer and progress bar from top toolbar */
    .toolbar-center {
        display: none;
    }

    .toolbar-right .timer {
        display: none;
    }

    /* Hide "Color" text label, keep just the dot */
    .bg-color-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .piece-option {
        min-width: 60px;
        padding: 8px 10px;
    }

    .piece-option .count {
        font-size: 16px;
    }

    .piece-option .difficulty {
        font-size: 10px;
    }
    .completion-related-item {
        width: calc(50% - 4px);
    }
}

/* System preference dark mode auto-detection */
@media (prefers-color-scheme: dark) {
    body:not(.light-mode) {
        background-color: #3a3a3a;
        background-image: url('/pattern/wine-cork.png');
        color: #fff;
    }

    body:not(.light-mode) .toolbar {
        background: #111111;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    body:not(.light-mode) .tool-btn {
        background: #1e1e1e;
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #f5f5f5;
    }

    body:not(.light-mode) .tool-btn:hover {
        background: #2a2a2a;
        border-color: var(--cyan-500);
        color: var(--cyan-500);
    }

    body:not(.light-mode) .theme-toggle {
        background: rgba(255, 255, 255, 0.1);
    }

    body:not(.light-mode) .theme-toggle:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    body:not(.light-mode) .theme-toggle svg {
        stroke: #f5f5f5;
    }

    body:not(.light-mode) .theme-toggle .sun-icon {
        display: block;
    }

    body:not(.light-mode) .theme-toggle .moon-icon {
        display: none;
    }

    body:not(.light-mode) .progress-bar-bg {
        background: #2a2a2a;
        border: 1px solid #4a4a4a;
    }

    body:not(.light-mode) .progress-text {
        color: #f5f5f5;
    }

    body:not(.light-mode) .timer {
        color: #f5f5f5;
        background: none;
    }

    body:not(.light-mode) .toolbar-bottom {
        background: #111111;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    body:not(.light-mode) .timer-bottom {
        color: #f5f5f5;
    }

    body:not(.light-mode) .progress-text-bottom {
        color: var(--cyan-500);
    }

    body:not(.light-mode) .toolbar .logo {
        color: #f5f5f5;
    }

    body:not(.light-mode) .toolbar-divider {
        background: rgba(255, 255, 255, 0.15);
    }

    body:not(.light-mode) .modal-content,
    body:not(.light-mode) .start-content,
    body:not(.light-mode) .pause-content {
        background: #2a2a2a;
    }

    body:not(.light-mode) .modal-content h2,
    body:not(.light-mode) .start-content h2,
    body:not(.light-mode) .pause-content h2 {
        color: #f5f5f5;
    }

    body:not(.light-mode) .modal-content p,
    body:not(.light-mode) .pause-content p {
        color: #aaa;
    }

    body:not(.light-mode) .piece-option {
        background: #3a3a3a;
        border: 2px solid #4a4a4a;
    }

    body:not(.light-mode) .piece-option.selected {
        background: #3a4a5a;
    }

    body:not(.light-mode) .piece-option .count {
        color: #f5f5f5;
    }

    body:not(.light-mode) .piece-option .difficulty,
    body:not(.light-mode) .piece-selector h3 {
        color: #888;
    }

    body:not(.light-mode) .loading-screen {
        background: #1a1a1a;
    }

    body:not(.light-mode) .loading-spinner {
        border-color: #333;
        border-top-color: var(--cyan-500);
    }

    body:not(.light-mode) .loading-text {
        color: #888;
    }

    body:not(.light-mode) .resume-option {
        border-top: 1px solid #3a3a3a;
    }

    body:not(.light-mode) .resume-option p {
        color: #aaa;
    }
}
