/* ================================================
   PREMIUM KIOSK UI — Ultra-Modern Design System
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Core palette */
    --bg: #0d1117;
    --surface: #161b22;
    --surface-2: #21262d;
    --surface-3: #30363d;
    --card: #1c2128;

    /* Accent */
    --accent: #58a6ff;
    --accent-glow: rgba(88, 166, 255, 0.25);
    --accent-dim: rgba(88, 166, 255, 0.12);
    --violet: #bc8cff;
    --violet-glow: rgba(188, 140, 255, 0.2);
    --emerald: #3fb950;
    --emerald-glow: rgba(63, 185, 80, 0.2);

    /* Text */
    --text-1: #f0f6fc;
    --text-2: #8b949e;
    --text-3: #484f58;

    /* Borders */
    --border: rgba(240, 246, 252, 0.1);
    --border-hover: rgba(88, 166, 255, 0.5);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);
    --shadow-glow-lg: 0 0 40px var(--accent-glow), 0 0 80px rgba(88, 166, 255, 0.08);

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-full: 9999px;

    /* Motion */
    --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 0.15s;
    --t-base: 0.25s;
    --t-slow: 0.4s;
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --surface-2: #f0f3f7;
    --surface-3: #e2e8f0;
    --card: #ffffff;
    --text-1: #0f172a;
    --text-2: #64748b;
    --text-3: #94a3b8;
    --border: rgba(0, 0, 0, 0.09);
    --border-hover: rgba(59, 130, 246, 0.5);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
    --shadow-glow-lg: 0 0 40px rgba(59, 130, 246, 0.1);
}

[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse 60% 50% at 20% -10%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 110%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100dvh;
    overflow: hidden;
    transition: background var(--t-slow) var(--ease-smooth), color var(--t-slow) var(--ease-smooth);
}

/* Subtle animated gradient background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% -10%, rgba(88, 166, 255, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 110%, rgba(188, 140, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.app-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

/* =====================
   INSTALL BANNER
   ===================== */
.install-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.15), rgba(188, 140, 255, 0.15));
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
    animation: slideDown 0.4s var(--ease-smooth);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.install-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.install-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: white;
    border-radius: var(--r-sm);
    padding: 0.2rem;
}

.install-text {
    display: flex;
    flex-direction: column;
}

.install-text strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-1);
}

.install-text span {
    font-size: 0.72rem;
    color: var(--text-2);
}

.install-btn {
    background: linear-gradient(135deg, var(--accent), var(--violet));
    color: white;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t-base) var(--ease-smooth);
    box-shadow: 0 2px 8px rgba(88, 166, 255, 0.3);
}

.install-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 4px 16px rgba(88, 166, 255, 0.4);
}

/* =====================
   TOP HEADER
   ===================== */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* Shimmering header bottom border accent */
.top-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--violet), transparent);
    opacity: 0.6;
}

.app-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

.time-display {
    text-align: right;
}

.date-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-2);
    letter-spacing: 0.01em;
}

.time-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* Header right cluster */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme toggle button */
.theme-toggle-btn {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-2);
    transition: all var(--t-base) var(--ease-smooth);
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* =====================
   LOAD SECTION
   ===================== */
.load-section {
    background: var(--surface);
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* Date + Load # row */
.date-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.load-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.date-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 0.2rem 0.35rem;
}

.date-nav-btn {
    background: transparent;
    border: none;
    border-radius: var(--r-full);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    cursor: pointer;
    color: var(--text-2);
    transition: all var(--t-fast) var(--ease-smooth);
}

.date-nav-btn:hover:not(:disabled) {
    background: var(--accent-dim);
    color: var(--accent);
}

.date-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.schedule-date-display {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-1);
    min-width: 7.5rem;
    text-align: center;
    transition: all var(--t-base) var(--ease-smooth);
    letter-spacing: 0.01em;
}

.schedule-date-display.date-is-custom {
    color: var(--accent);
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

/* Load buttons grid */
.load-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
}

.load-btn {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 0.6rem 0.4rem;
    border-radius: var(--r-md);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-2);
    cursor: pointer;
    transition: all var(--t-base) var(--ease-smooth);
    overflow: hidden;
}

/* Shine sweep animation on hover */
.load-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-15deg);
    transition: left var(--t-slow) var(--ease-smooth);
}

.load-btn:hover:not(:disabled)::after {
    left: 150%;
}

.load-btn:hover:not(:disabled) {
    border-color: var(--border-hover);
    color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.load-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.load-btn.active {
    background: linear-gradient(135deg, var(--accent), #1d6fd6);
    border-color: var(--accent);
    color: white;
    font-weight: 800;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
    animation: activePop 0.3s var(--ease-elastic);
}

@keyframes activePop {
    0% {
        transform: translateY(0) scale(0.95);
    }

    60% {
        transform: translateY(-4px) scale(1.04);
    }

    100% {
        transform: translateY(-2px) scale(1);
    }
}

/* =====================
   LIST CONTAINER
   ===================== */
.list-container {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
.list-container::-webkit-scrollbar {
    width: 4px;
}

.list-container::-webkit-scrollbar-track {
    background: transparent;
}

.list-container::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: var(--r-full);
}

.list-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Empty / loading state */
.empty-state {
    text-align: center;
    color: var(--text-3);
    padding: 4rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeIn 0.4s var(--ease-smooth);
}

/* List item */
.list-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 0.9rem 1.25rem;
    height: 60px;
    /* Uniform height for all items */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all var(--t-base) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    animation: itemSlideIn var(--t-base) var(--ease-smooth) both;
}

@keyframes itemSlideIn {
    from {
        transform: translateX(-12px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Stagger list items */
.list-item:nth-child(1) {
    animation-delay: 0.03s;
}

.list-item:nth-child(2) {
    animation-delay: 0.06s;
}

.list-item:nth-child(3) {
    animation-delay: 0.09s;
}

.list-item:nth-child(4) {
    animation-delay: 0.12s;
}

.list-item:nth-child(5) {
    animation-delay: 0.15s;
}

.list-item:nth-child(6) {
    animation-delay: 0.18s;
}

.list-item:nth-child(7) {
    animation-delay: 0.21s;
}

.list-item:nth-child(8) {
    animation-delay: 0.24s;
}

.list-item:nth-child(9) {
    animation-delay: 0.27s;
}

.list-item:nth-child(10) {
    animation-delay: 0.30s;
}

.list-item:nth-child(11) {
    animation-delay: 0.33s;
}

.list-item:nth-child(12) {
    animation-delay: 0.36s;
}

/* Left accent bar */
.list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--violet));
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0);
    transition: all var(--t-base) var(--ease-smooth);
}

.list-item:hover::before,
.list-item.selected::before {
    opacity: 1;
    transform: scaleY(1);
}

.list-item:hover {
    border-color: var(--border-hover);
    background: rgba(88, 166, 255, 0.06);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.list-item.selected {
    border-color: var(--accent);
    background: rgba(88, 166, 255, 0.1);
    box-shadow: 0 0 0 1px var(--accent-glow), var(--shadow-md);
}

/* Printed item — dimmed to indicate already done, still clickable for reprint */
.list-item.printed {
    opacity: 0.45;
    cursor: pointer;
    filter: grayscale(55%);
    border-style: dashed;
}

.list-item.printed .item-number {
    color: var(--text-3);
}

.list-item.printed .item-name {
    color: var(--text-3);
}

.item-number {
    font-weight: 800;
    color: var(--accent);
    width: 3.5rem;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.item-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-1);
    letter-spacing: -0.01em;
}

/* =====================
   POPUP
   ===================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base) var(--ease-smooth);
}

.popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    width: 92%;
    max-width: 460px;
    box-shadow: var(--shadow-glow-lg), 0 24px 64px rgba(0, 0, 0, 0.7);
    transform: translateY(24px) scale(0.94);
    transition: transform 0.35s var(--ease-elastic), background 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    position: relative;
}

/* Reprinted (already-printed) popup variant — warm amber tint */
.popup-content.popup-reprinted {
    background: #1e1608;
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.15), 0 24px 64px rgba(0, 0, 0, 0.7);
}

.popup-content.popup-reprinted::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Reprint notice banner */
.reprint-notice {
    margin: 0 1.5rem 1rem;
    padding: 0.65rem 0.85rem;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: var(--r-md);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fbbf24;
    line-height: 1.4;
    animation: fadeIn 0.3s var(--ease-smooth);
}

/* Top accent gradient line */
.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--violet));
}

.popup-overlay.show .popup-content {
    transform: translateY(0) scale(1);
}

.popup-header {
    padding: 1.25rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-titles {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.popup-item-name {
    background: linear-gradient(135deg, var(--accent), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.popup-header h2 {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-2);
    margin: 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.close-icon-btn {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-2);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease-smooth);
    flex-shrink: 0;
}

.close-icon-btn:hover {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.4);
    color: #ff6b6b;
    transform: rotate(90deg) scale(1.1);
}

/* Popup body */
.popup-body {
    padding: 0 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Divider */
.popup-body::before {
    content: '';
    display: block;
    height: 1px;
    background: var(--border);
    margin-bottom: 1rem;
}

.box-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.box-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
}

.box-btn {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease-smooth);
    overflow: hidden;
}

.box-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--violet));
    opacity: 0;
    transition: opacity var(--t-fast) var(--ease-smooth);
}

.box-btn .btn-num {
    position: absolute;
    top: 4px;
    left: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-3);
    z-index: 1;
    transition: color var(--t-fast);
}

.box-btn .btn-letter {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-2);
    z-index: 1;
    transition: all var(--t-fast) var(--ease-smooth);
    letter-spacing: -0.02em;
}

.box-btn:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.box-btn:hover .btn-letter {
    color: var(--accent);
}

.box-btn:hover .btn-num {
    color: var(--text-2);
}

.box-btn:active,
.box-btn.active-btn {
    transform: scale(0.93);
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.box-btn.active-btn::after {
    opacity: 1;
}

.box-btn.active-btn .btn-letter,
.box-btn:active .btn-letter {
    color: white;
}

.box-btn.active-btn .btn-num,
.box-btn:active .btn-num {
    color: rgba(255, 255, 255, 0.7);
}

/* =====================
   POPUP FOOTER
   ===================== */
.popup-footer {
    padding: 1rem 1.5rem;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.footer-input-display {
    flex: 1;
    max-width: 130px;
}

.footer-input-display .box-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--accent);
    background: var(--surface);
    outline: none;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    transition: border-color var(--t-fast);
}

.footer-input-display .box-input:focus {
    border-color: var(--accent);
}

.box-input {
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-1);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.footer-actions {
    display: flex;
    gap: 0.6rem;
}

.footer-btn {
    padding: 0.55rem 1.2rem;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t-base) var(--ease-smooth);
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}

.action-primary {
    background: linear-gradient(135deg, var(--accent), #1d6fd6);
    color: white;
    box-shadow: 0 2px 8px rgba(88, 166, 255, 0.3);
}

.action-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.45);
}

.action-primary:active {
    transform: scale(0.96);
}

/* =====================
   ANIMATIONS (global)
   ===================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 480px) {
    .top-header {
        padding: 0.75rem 1rem;
    }

    .load-section {
        padding: 0.7rem 1rem;
    }

    .load-btn {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }

    .box-btn {
        min-height: 52px;
    }

    .box-btn .btn-letter {
        font-size: 1.2rem;
    }

    .list-container {
        padding: 0.75rem 1rem;
    }
}

/* =====================
   SCREEN SAVER
   ===================== */
.screen-saver {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.screen-saver.active {
    opacity: 1;
    pointer-events: auto;
}

.screen-saver-content {
    text-align: center;
    position: absolute;
    /* JS will set left/top dynamically */
    transition: none;
}

/* No ssDrift keyframes — JS handles movement */

.screen-saver-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #58a6ff, #bc8cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(88, 166, 255, 0.5));
    animation: ssPulse 3s ease-in-out infinite;
}

@keyframes ssPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.screen-saver-hint {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 500;
    letter-spacing: 0.05em;
    animation: ssPulse 3s ease-in-out infinite;
}