/* ============================================================================
   PDFClear Web — Light Theme (Compact Claymorphism)
   Consolidated single-card layout with collapsible settings.
   ============================================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary:         #E11D48;
    --primary-light:   #FB7185;
    --primary-bg:      #FFF1F2;
    --cta:             #2563EB;
    --cta-hover:       #1D4ED8;

    --mint:            #34D399;
    --mint-bg:         rgba(52, 211, 153, 0.12);
    --amber:           #F59E0B;
    --amber-bg:        rgba(245, 158, 11, 0.10);
    --peach:           #FB923C;

    --bg:              #FEF7F0;
    --bg-card:         #FFFFFF;
    --bg-input:        #FFF5EE;
    --text:            #1E1B3A;
    --text-secondary:  #5B5678;
    --text-muted:      #9490AD;

    --border:          #E8DFD6;
    --border-thick:    3px;
    --radius:          20px;
    --radius-sm:       12px;
    --radius-xs:       8px;

    --shadow-clay:     6px 6px 12px rgba(166, 140, 100, 0.12),
                       -3px -3px 8px rgba(255, 255, 255, 0.8),
                       inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    --shadow-clay-hover: 4px 4px 8px rgba(166, 140, 100, 0.18),
                         -2px -2px 6px rgba(255, 255, 255, 0.9),
                         inset 1px 1px 3px rgba(255, 255, 255, 0.7);
    --shadow-clay-pressed: 2px 2px 4px rgba(166, 140, 100, 0.10),
                           -1px -1px 3px rgba(255, 255, 255, 0.6),
                           inset 2px 2px 6px rgba(0, 0, 0, 0.06);
}

html { font-size: clamp(14px, 0.4vw + 14px, 18px); scroll-behavior: smooth; }

body {
    font-family: 'Baloo 2', 'Comic Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle, rgba(225, 29, 72, 0.04) 1px, transparent 1px),
        radial-gradient(circle, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 48px 48px, 32px 32px;
    background-position: 0 0, 16px 16px;
}


/* ---------- App ---------- */
.app {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 24px 40px;
}

@media (max-width: 600px) {
    .app { padding: 12px 8px 20px; }
}


/* ---------- Header ---------- */
.header { margin-bottom: 20px; }

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.logo .accent { color: var(--primary); }

.tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 1px;
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #047857;
    background: var(--mint-bg);
    border: var(--border-thick) solid #A7F3D0;
    border-radius: 100px;
    box-shadow: var(--shadow-clay);
}


/* ---------- Language Toggle ---------- */
.lang-toggle {
    display: inline-flex;
    background: var(--bg-card);
    border: var(--border-thick) solid var(--border);
    border-radius: 100px;
    padding: 3px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-clay);
    transition: box-shadow 0.2s ease;
}

.lang-toggle:hover { box-shadow: var(--shadow-clay-hover); }

.lang-option {
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.lang-option.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 2px 2px 6px rgba(225, 29, 72, 0.3);
}


/* ---------- Theme Toggle ---------- */
.theme-toggle {
    display: inline-flex;
    background: var(--bg-card);
    border: var(--border-thick) solid var(--border);
    border-radius: 100px;
    padding: 3px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-clay);
    transition: box-shadow 0.2s ease;
}

.theme-toggle:hover { box-shadow: var(--shadow-clay-hover); }

.theme-option {
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 0.78rem;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    line-height: 1.2;
}

.theme-option.active {
    background: var(--primary);
    box-shadow: 2px 2px 6px rgba(225, 29, 72, 0.3);
    border-radius: 100px;
}


/* ---------- Help Button ---------- */
.btn-help {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border: var(--border-thick) solid var(--border);
    border-radius: 100px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-clay);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-help:hover {
    color: var(--primary);
    border-color: var(--primary-light);
}


/* ---------- Clay Cards ---------- */
.card {
    background: var(--bg-card);
    border: var(--border-thick) solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    box-shadow: var(--shadow-clay);
    transition: box-shadow 0.25s ease;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.card-main { animation-delay: 0.05s; }
#log-section { animation-delay: 0.1s; }

.card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    padding: 14px 20px 0;
    text-transform: uppercase;
}


/* ---------- Drop Zone ---------- */
.drop-zone {
    margin: 16px 18px 0;
    padding: 22px 18px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: var(--border-thick) dashed var(--primary-light);
    border-radius: var(--radius-sm);
    background: var(--primary-bg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(225, 29, 72, 0.06);
    transform: scale(1.005);
}

.drop-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    color: var(--primary);
    opacity: 0.6;
}

.drop-zone p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.drop-hint {
    font-size: 0.74rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

#file-list { width: 100%; }

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.82rem;
    border-bottom: 2px solid rgba(232, 223, 214, 0.4);
    animation: popIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.file-item:last-child { border-bottom: none; }

.file-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
}

.file-name {
    flex: 1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}


/* ---------- Progress Bar ---------- */
.progress-bar {
    height: 6px;
    background: #F0E6DC;
    border-radius: 100px;
    margin: 12px 18px 0;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--peach), var(--amber));
    background-size: 200% 100%;
    border-radius: 100px;
    transition: width 0.4s ease;
    animation: shimmer 2.5s linear infinite;
}

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


/* ---------- Action Row ---------- */
.action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 16px;
}

.status {
    font-size: 0.82rem;
    color: var(--text-secondary);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.status.success { color: #047857; font-weight: 700; }
.status.error   { color: var(--primary); font-weight: 700; }

.action-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}


/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: var(--border-thick) solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 9px 18px;
    line-height: 1;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    box-shadow: var(--shadow-clay);
}

/* Fix Baloo 2 vertical offset: force icon+text to same visual center */
.btn span {
    line-height: 1;
}

.btn i,
.btn svg {
    flex-shrink: 0;
    display: block;
    width: 16px;
    height: 16px;
}

.btn:active {
    transform: scale(0.95);
    box-shadow: var(--shadow-clay-pressed);
}

.btn-primary {
    background: var(--cta);
    color: #fff;
    border-color: var(--cta);
    font-weight: 700;
    padding: 10px 22px;
    font-size: 0.92rem;
    box-shadow: 3px 3px 10px rgba(37, 99, 235, 0.22),
                -2px -2px 6px rgba(255, 255, 255, 0.4),
                inset 1px 1px 2px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover:not(:disabled) {
    background: var(--cta-hover);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: #93C5FD;
    border-color: #93C5FD;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    box-shadow: none;
    border-color: transparent;
    padding: 7px 8px;
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.btn-settings {
    background: #FFF7ED;
    color: #B45309;
    border-color: #FDE68A;
}

.btn-settings:hover {
    background: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
}

.btn-settings.active {
    background: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
    box-shadow: var(--shadow-clay-pressed);
}


/* ---------- Collapsible Settings ---------- */
.settings-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.25s ease;
    opacity: 0;
}

.settings-panel.open {
    max-height: 400px;
    opacity: 1;
}

.settings-inner {
    padding: 0 18px 18px;
    border-top: 2px solid var(--border);
    margin-top: 0;
    padding-top: 14px;
}

.setting-group {
    margin-bottom: 10px;
}

.setting-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: block;
}

.setting-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-weight: 500;
}


/* -- Mode Grid -- */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

@media (max-width: 500px) {
    .mode-grid { grid-template-columns: repeat(2, 1fr); }
}

.mode-btn {
    padding: 7px 4px;
    border: var(--border-thick) solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-clay);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mode-btn:hover {
    color: var(--primary);
    border-color: var(--primary-light);
}

.mode-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 2px 2px 8px rgba(225, 29, 72, 0.25);
}


/* -- Sliders -- */
.sliders-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

@media (max-width: 500px) {
    .sliders-row { grid-template-columns: 1fr; }
}

.slider-group { display: flex; flex-direction: column; }

.dpi-hint {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    font-style: italic;
    margin-top: 2px;
    opacity: 0.7;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
}

.slider-value {
    font-weight: 800;
    color: var(--cta);
    font-variant-numeric: tabular-nums;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 7px;
    background: #F0E6DC;
    border-radius: 100px;
    margin: 8px 0 2px;
    outline: none;
    cursor: pointer;
    border: 2px solid var(--border);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cta);
    border: 3px solid #fff;
    box-shadow: 2px 2px 6px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cta);
    border: 3px solid #fff;
    box-shadow: 2px 2px 6px rgba(37, 99, 235, 0.3);
}


/* -- Size Note -- */
.size-note {
    display: block;
    margin-top: 12px;
    padding: 10px 14px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    background: var(--amber-bg);
    border: 2px solid #FDE68A;
    border-radius: var(--radius-xs);
    line-height: 1.5;
    font-weight: 500;
}

.size-note strong {
    color: #B45309;
    font-weight: 700;
}


/* ---------- Log ---------- */
.log {
    margin: 8px 18px 18px;
    padding: 12px 14px;
    min-height: 100px;
    max-height: 240px;
    overflow-y: auto;
    background: var(--bg-input);
    border: var(--border-thick) solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;
    font-size: 0.72rem;
    line-height: 1.65;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: var(--shadow-clay-pressed);
}

.log::-webkit-scrollbar { width: 5px; }
.log::-webkit-scrollbar-track { background: transparent; }
.log::-webkit-scrollbar-thumb { background: var(--border); border-radius: 100px; }

.log:empty::before {
    content: attr(data-placeholder);
    color: var(--text-muted);
    font-style: italic;
}


/* ---------- Footer ---------- */
.footer {
    text-align: center;
    padding: 18px 0 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover { text-decoration: underline; }


/* ---------- Animations ---------- */
@keyframes popIn {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.processing .progress-fill {
    animation: shimmer 1s linear infinite;
}

.processing .btn-primary {
    position: relative;
    overflow: hidden;
}

.processing .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: btnShimmer 1.5s ease infinite;
}

@keyframes btnShimmer {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}


/* ---------- Instructions Modal ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 58, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-panel {
    background: var(--bg-card);
    border: var(--border-thick) solid var(--border);
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.1),
                -4px -4px 12px rgba(255, 255, 255, 0.6);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-panel {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
    border-bottom: var(--border-thick) solid var(--border);
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: var(--border-thick) solid var(--border);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-clay);
    transition: all 0.15s ease;
}

.modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.modal-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 100px; }


/* -- Instructions Content -- */
.instr-intro {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 18px;
    font-weight: 500;
}

.instr-section { margin-bottom: 20px; }

.instr-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: var(--border-thick) solid var(--primary-bg);
}

.instr-step {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.step-num {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: var(--cta);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 6px rgba(37, 99, 235, 0.25);
    border: 2px solid #93C5FD;
}

.step-content strong {
    display: block;
    color: var(--text);
    font-size: 0.86rem;
    margin-bottom: 1px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.instr-mode {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.mode-name {
    padding: 2px 10px;
    border-radius: var(--radius-xs);
    background: #FAF5F0;
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 700;
    min-width: 78px;
    text-align: center;
    border: 2px solid var(--border);
}

.mode-name.recommended {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.mode-explain {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.instr-tip {
    padding: 12px 16px;
    background: var(--mint-bg);
    border: var(--border-thick) solid #A7F3D0;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    line-height: 1.6;
    box-shadow: var(--shadow-clay);
}

.instr-tip strong { color: #047857; }
.instr-tip ul { margin: 6px 0 0 16px; padding: 0; }
.instr-tip li { margin-bottom: 3px; }


/* ---------- Mobile Responsive ---------- */
@media (max-width: 520px) {
    .header-top {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
        flex-wrap: wrap;
    }

    .logo { font-size: 1.7rem; }
    .tagline { font-size: 0.82rem; }

    .privacy-badge { font-size: 0.68rem; padding: 4px 10px; }

    .drop-zone {
        margin: 10px 12px 0;
        padding: 18px 14px;
        min-height: 70px;
    }

    .drop-zone p { font-size: 0.82rem; }
    .drop-icon { width: 26px; height: 26px; }

    .progress-bar { margin: 10px 12px 0; }

    .action-row {
        flex-wrap: wrap;
        padding: 10px 12px 14px;
        gap: 8px;
    }

    .status {
        width: 100%;
        flex: none;
        text-align: center;
        font-size: 0.8rem;
    }

    .action-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .action-buttons .btn {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .action-buttons .btn-primary {
        flex: 1.5;
        font-size: 0.82rem;
    }

    .btn-settings,
    .btn-secondary {
        font-size: 0.78rem;
    }

    .settings-inner { padding: 0 12px 14px; padding-top: 12px; }
    .setting-label { font-size: 0.8rem; }

    .log { margin: 6px 12px 12px; padding: 10px 12px; min-height: 80px; }
    .card-label { padding: 10px 14px 0; font-size: 0.64rem; }

    .modal-panel { max-height: 90vh; }
    .modal-header { padding: 16px 18px 10px; }
    .modal-body { padding: 16px 18px 20px; font-size: 0.82rem; }

    .footer { font-size: 0.68rem; }
}

@media (max-width: 380px) {
    .app { padding: 10px 6px 16px; }
    .logo { font-size: 1.5rem; }
    .btn-help { font-size: 0.66rem; padding: 4px 10px; }
    .btn { font-size: 0.78rem; padding: 8px 12px; }
    .btn-primary { font-size: 0.82rem; }
}


/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
