:root {
    --bg-color: #f4f4f4;
    --dot-color: #d8d8d8;
    --card-bg: rgba(255, 255, 255, 0.7);
    --text-color: #333;
    --highlight-cyan: #00e5ff;
}

body.theme-dark {
    --bg-color: #0e0e12;
    --dot-color: #22222e;
    --card-bg: rgba(20, 20, 30, 0.7);
    --text-color: #fff;
}

body.theme-ocean {
    --bg-color: #e7f7f8;
    --dot-color: #b9dfe4;
    --card-bg: rgba(235, 255, 255, 0.72);
    --text-color: #14343b;
    --highlight-cyan: #00a8c6;
}

body.theme-sunset {
    --bg-color: #fff0e7;
    --dot-color: #f2c8b2;
    --card-bg: rgba(255, 247, 240, 0.75);
    --text-color: #4a2630;
    --highlight-cyan: #ed6a5a;
}

body.theme-forest {
    --bg-color: #edf5e9;
    --dot-color: #c4d8bc;
    --card-bg: rgba(245, 252, 240, 0.75);
    --text-color: #203b27;
    --highlight-cyan: #4d9f58;
}

body.theme-rose {
    --bg-color: #fff0f6;
    --dot-color: #efc5d8;
    --card-bg: rgba(255, 246, 251, 0.75);
    --text-color: #48253b;
    --highlight-cyan: #dd4f9a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    user-select: none;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(var(--dot-color) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-color);
    transition: background-color 0.3s;
}

.view-section {
    width: 100%;
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-section:not(.hidden) {
    animation: page-enter 0.42s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.hidden { display: none !important; }

/* --- HOME GRID (2x4) --- */
.rom-pages {
    position: relative;
    display: flex;
    align-items: center;
    width: min(90vw, 980px);
    padding: 0 34px;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
    height: calc((min(80vw, 900px) - 60px) / 2 + 20px);
}

.rom-page-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.48);
    color: var(--text-color);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.92);
    transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.2, 0.85, 0.25, 1), background 0.24s ease;
    backdrop-filter: blur(14px);
    font-size: 1.8rem;
}

.rom-page-prev { left: 0; }
.rom-page-next { right: 0; }

.rom-page-arrow.is-visible:not(:disabled) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.rom-page-arrow:hover:not(:disabled) {
    background: var(--highlight-cyan);
    transform: translateY(-50%) scale(1.06);
}

.rom-page-arrow:disabled { display: none; }

.rom-slot {
    min-width: 0;
    min-height: 0;
    font: inherit;
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
}

.empty-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed rgba(120, 130, 150, 0.45);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.32);
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.28s ease, background 0.28s ease, transform 0.32s cubic-bezier(0.2, 0.85, 0.25, 1), box-shadow 0.28s ease;
}

.empty-slot:hover {
    border-color: var(--highlight-cyan);
    background: rgba(0, 229, 255, 0.12);
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(0, 168, 198, 0.16);
}

.rom-slot-plus {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    opacity: 0.65;
}

.empty-state {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--card-bg);
    border-radius: 24px;
    border: 2px dashed #ccc;
}

.game-tile {
    background: #fff;
    border-radius: 20px;
    box-shadow: none;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.32s cubic-bezier(0.2, 0.85, 0.25, 1), box-shadow 0.32s ease;
    padding: 15px;
    text-align: center;
}

.game-tile:hover {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
    transform: translateY(-5px) scale(1.02);
}

.game-tile-image {
    width: 100%;
    max-width: 220px;
    min-width: 0;
    flex: 0 1 auto;
    aspect-ratio: 1;
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 16px;
    border: 0;
    outline: 0;
    background: #111;
}

.game-tile-image .tile-title {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 3;
    overflow: hidden;
    padding: 7px 8px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.68);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.favorite-mark {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 3;
    color: #ffd166;
    font-size: 1.6rem;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.favorite-button {
    width: 32px;
    height: 30px;
    flex: 0 0 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8993a4;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.game-tile > .favorite-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
}

.favorite-button:hover,
.favorite-button.is-favorite { color: #e6a700; }

.game-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 0;
    outline: 0;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.2, 0.85, 0.25, 1), filter 0.35s ease;
}

.game-tile:hover .game-cover,
.game-tile:focus-visible .game-cover {
    transform: translate(-50%, -50%) scale(1.045);
    filter: saturate(1.08) contrast(1.03);
}

.game-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    object-fit: fill;
    object-position: center;
    border: 0;
    outline: 0;
    border-radius: 0;
}

.tile-console {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--highlight-cyan);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tile-title {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.emulator-error {
    color: #fff;
    font: 600 1rem sans-serif;
}

/* --- PAGES GLASS CARD --- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 30px;
    width: 75vw;
    max-width: 850px;
    height: 65vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow-y: auto;
}

.console-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.console-block {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 12px;
}

.console-block h3 {
    border-bottom: 2px solid var(--highlight-cyan);
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.console-block ul { list-style: none; }
.console-block li {
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.console-block li:hover { color: var(--highlight-cyan); }

.console-block li > span { overflow: hidden; text-overflow: ellipsis; }

.cover-settings {
    margin-left: auto;
    width: 30px;
    height: 30px;
    padding: 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.cover-settings:hover { background: rgba(0, 229, 255, 0.2); }

.cover-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-list-image {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    background: #eee;
}

.achievement-list,
.achievement-page-list { list-style: none; margin-top: 10px; }
.achievement-list li,
.achievement-page-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 0;
    border-top: 1px solid rgba(120, 130, 150, 0.18);
    opacity: 0.55;
}
.achievement-list li.earned,
.achievement-page-list li.earned { opacity: 1; }
.achievement-list small,
.achievement-page-list small { font-size: 0.74rem; opacity: 0.72; }
.achievement-page-list li span { font-size: 0.85rem; opacity: 0.78; }

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.setting-status {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.setting-row input {
    width: min(320px, 55%);
    padding: 9px 11px;
    border: 1px solid rgba(120, 130, 150, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    color: #333;
    font: inherit;
}

.setting-row input:focus {
    outline: 2px solid var(--highlight-cyan);
    outline-offset: 1px;
}

.setting-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.setting-toggle input {
    accent-color: var(--highlight-cyan);
}

.action-btn {
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    background: var(--highlight-cyan);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.2, 0.85, 0.25, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 18px rgba(0, 168, 198, 0.2);
    filter: brightness(1.04);
}

.action-btn:active,
.game-header-button:active,
.iisu-btn:active,
.empty-slot:active,
.game-tile:active {
    transform: scale(0.97);
}

/* --- BARRE LIQUID GLASS & ICÔNES 600x600 --- */
.bottom-controls {
    position: fixed;
    bottom: 20px;
    z-index: 100;
}

.liquid-glass {
    display: flex;
    gap: 30px;
    padding: 14px 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(250, 240, 255, 0.4));
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.iisu-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Redimensionnement propre des icônes 600x600px */
.iisu-btn img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    object-fit: contain;
    image-rendering: auto;
    transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.iisu-btn .icon-hover { opacity: 0; }

.iisu-btn:hover .icon-hover,
.iisu-btn.active .icon-hover { opacity: 1; }

.iisu-btn:hover .icon-default,
.iisu-btn.active .icon-default { opacity: 0; }

.iisu-btn:hover img { transform: translate(-50%, -58%); }

@keyframes page-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes panel-enter {
    from { opacity: 0; transform: translateY(-5px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- EMULATEUR --- */
#screen-wrapper,
#canvas-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-player {
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 600px;
}

#game-player canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.game-active {
    overflow: hidden;
}

body.game-active #emulator-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: #000;
}

body.game-active #screen-wrapper,
body.game-active #canvas-container,
body.game-active #game-player {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
}

body.game-active .bottom-controls {
    z-index: 1100;
    right: 22px;
    left: auto;
    bottom: 22px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.2s ease;
}

body:not(.game-active) .bottom-controls {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.game-active .bottom-controls .iisu-nav-bar {
    gap: 8px;
    padding: 8px 12px;
}

body.game-active .bottom-controls .iisu-btn {
    width: 48px;
    height: 48px;
}

body.game-active .ejs_menu,
body.game-active .ejs_buttons,
body.game-active .ejs_control_bar,
body.game-active [class*="accessibility"] {
    display: none !important;
}

body.game-active.hud-disabled .game-header,
body.game-active.hud-disabled .bottom-controls {
    display: none !important;
}

.game-header {
    position: fixed !important;
    top: 22px;
    z-index: 2147483000 !important;
}

.game-header-left { left: 22px; }
.game-header-right { right: 22px; }
.game-header-center {
    left: 50%;
    transform: translateX(-50%);
}

body.game-active .game-header-center {
    display: none;
}

.game-title-glass {
    min-width: min(360px, 34vw);
    justify-content: center;
}

#active-game-title {
    max-width: min(330px, 30vw);
    overflow: hidden;
    color: #343743;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-header-glass {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(190, 215, 235, 0.34));
    box-shadow: 0 10px 28px rgba(42, 57, 78, 0.18), inset 0 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.game-header-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.28);
    color: #343743;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.85, 0.25, 1);
    font: inherit;
    position: relative;
    z-index: 1;
}

.game-header-button:hover,
.game-header-button[aria-expanded="true"] {
    border-color: var(--highlight-cyan);
    background: rgba(0, 229, 255, 0.28);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.18), inset 0 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #42e695;
    box-shadow: 0 0 8px #42e695;
}

.profile-button {
    width: 38px;
    min-width: 38px;
    padding: 6px;
    justify-content: center;
}

.profile-avatar {
    position: relative;
    display: block;
    width: 21px;
    height: 21px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    width: 6px;
    height: 6px;
    transform: translateX(-50%);
    border: 1px solid currentColor;
    border-radius: 50%;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 11px;
    height: 5px;
    transform: translateX(-50%);
    border: 1px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.game-header-panel {
    position: absolute;
    top: calc(100% + 10px);
    min-width: 220px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(190, 215, 235, 0.52));
    color: #343743;
    box-shadow: 0 12px 28px rgba(42, 57, 78, 0.2), inset 0 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    animation: panel-enter 0.28s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.game-header-panel p {
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.72;
}

.game-header-left .game-header-panel { left: 0; }
.game-header-right .game-header-panel { right: 0; }

.profile-panel-button {
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9px;
    background: rgba(0, 229, 255, 0.18);
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.profile-form { display: grid; gap: 8px; margin-top: 10px; }
.profile-form input {
    width: 100%;
    padding: 8px 9px;
    border: 1px solid rgba(120, 130, 150, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
    color: #343743;
    font: inherit;
}
.profile-form-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-panel-button.secondary { background: rgba(255, 255, 255, 0.38); }
.friend-search-results { display: grid; gap: 6px; margin-top: 10px; font-size: 0.85rem; }
.friend-result { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.friend-result button {
    padding: 5px 8px;
    border: 0;
    border-radius: 7px;
    background: var(--highlight-cyan);
    color: #000;
    cursor: pointer;
    font: inherit;
}
.online-friend { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.online-friend small { opacity: 0.72; }

.exit-confirmation-actions button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    font: inherit;
}
.exit-confirmation-actions button:hover {
    background: var(--highlight-cyan);
    color: #000;
}

.exit-confirmation {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.65);
}

.exit-confirmation-panel {
    width: min(420px, 100%);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    background: rgba(20, 20, 30, 0.94);
    color: #fff;
    text-align: center;
    backdrop-filter: blur(18px);
}

.exit-confirmation-panel p {
    margin-top: 10px;
    opacity: 0.75;
}

.exit-confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

@media (max-width: 720px) {
    .rom-pages {
        width: min(92vw, 560px);
        padding: 0 24px;
    }
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        width: min(88vw, 520px);
        height: calc((min(88vw, 520px) - 20px) * 2 + 60px);
    }

    .rom-page-prev { left: 0; }
    .rom-page-next { right: 0; }

    .game-header { top: 10px; }
    .game-header-left { left: 10px; }
    .game-header-right { right: 10px; }
    .game-header-center { left: 50%; }
    .game-header-button { padding: 8px; font-size: 0.78rem; }
    .game-header-button span:not(.status-dot) { display: none; }
    .game-title-glass { min-width: 34vw; }
    #active-game-title { max-width: 30vw; font-size: 0.75rem; }
    body.game-active .bottom-controls {
        right: 10px;
        bottom: 10px;
    }
}

.cover-picker {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
}

.cover-picker-panel {
    position: relative;
    width: min(900px, 100%);
    max-height: 85vh;
    padding: 28px;
    overflow-y: auto;
    color: var(--text-color);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

.cover-picker-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.8rem;
    cursor: pointer;
}

.cover-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.cover-upload {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
}

.cover-upload input { max-width: 180px; }

.cover-choice {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.cover-choice:hover {
    border-color: var(--highlight-cyan);
}

.cover-choice img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.15);
}

.cover-choice span {
    font-size: 0.85rem;
    font-weight: bold;
}

.cover-choice small { opacity: 0.7; }

.cover-picker-status {
    margin-top: 16px;
    opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
