:root {
    --bg-dark: #0f0a19;
    --sidebar-bg: #161020;
    --panel-bg: #1f162b;
    --accent-purple: #9d34ff;
    --accent-pink: #d500f9;
    --text-main: #ffffff;
    --text-muted: #8b81a3;
    --border-color: #2d243a;
    --input-bg: #2a2038;
    
    --sidebar-width: 340px;
    --header-height: 60px;
    --footer-height: 80px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden; 
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sidebar-bg); }
::-webkit-scrollbar-thumb { background: #3d3052; border-radius: 3px; }

#fullscreenBtn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
}

#fullscreenBtn:hover { color: #ccc; }

/* --- SIDEBAR --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.locked {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(0.6);
}

.brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
}

.brand i { color: var(--accent-purple); margin-right: 6px; }
.brand span { color: #fff; }

.scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* --- PANELS (Accordion Style) --- */
.panel {
    margin-bottom: 20px;
    background: var(--panel-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.panel-header {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 12px;
    transition: background 0.2s;
    border: 1px solid var(--border-color);
}

.panel:not(.collapsed) .panel-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.panel-header:hover { background: rgba(255, 255, 255, 0.05); }
.header-title i { margin-right: 10px; color: var(--accent-purple); }
.toggle-icon { color: var(--text-muted); transition: transform 0.3s ease; }

.panel-body {
    background-color: var(--sidebar-bg);
    border-radius: 0 0 12px 12px;
    padding: 15px 20px 20px;
    border: 1px solid var(--border-color);
    border-top: none;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    max-height: 1200px;
    opacity: 1;
}

.panel.collapsed .panel-body {
/* Collapsed state rules */
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    opacity: 0;
    border: none;
    pointer-events: none;
}

.panel.collapsed .toggle-icon {
    transform: rotate(180deg);
}


/* --- INPUTS & UPLOAD ZONES --- */
.upload-zone {
    position: relative;
    border: 2px dashed #3d3052;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 12px;
    transition: all 0.2s;
    background: rgba(0,0,0,0.2);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.upload-zone:hover { border-color: var(--accent-purple); background: rgba(157, 52, 255, 0.05); }

.upload-zone label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    margin: 0;
}

.upload-zone i { font-size: 1.5rem; color: var(--text-muted); margin-bottom: 5px; }
.upload-zone span { 
    font-weight: 600; 
    font-size: 0.9rem; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    padding: 0 10px;
}
.upload-zone small { color: var(--text-muted); font-size: 0.75rem; }
.upload-zone input { display: none; }

/* Form Controls */
.input-group { margin-bottom: 14px; }
.control-row { display: flex; gap: 10px; }
.control-row .input-group { flex: 1; }

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    height: 20px;
    display: flex;
    align-items: center;
}

/* Track */
input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(
        to right,
        var(--accent-purple) 0%,
        var(--accent-purple) var(--range-progress, 0%),
        #2d243a var(--range-progress, 0%),
        #2d243a 100%
    );
    border-radius: 2px;
    border: none;
}

input[type="range"]::-moz-range-track {
    height: 4px;
    background: #2d243a;
    border-radius: 2px;
    border: none;
}

input[type="range"]::-moz-range-progress {
    height: 4px;
    background: var(--accent-purple);
    border-radius: 2px;
}

/* Thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent-purple);
    box-shadow: 0 0 8px rgba(157, 52, 255, 0.6);
    margin-top: -5px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background-color: var(--accent-blue);
}

input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent-purple);
    box-shadow: 0 0 8px rgba(157, 52, 255, 0.6);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover & Focus */
input[type="range"]:hover::-webkit-slider-thumb {
    transform: scale(1.25);
    box-shadow: 0 0 14px rgba(157, 52, 255, 0.85);
}

input[type="range"]:hover::-moz-range-thumb {
    transform: scale(1.25);
    box-shadow: 0 0 14px rgba(157, 52, 255, 0.85);
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(157, 52, 255, 0.2), 0 0 14px rgba(157, 52, 255, 0.85);
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(213, 0, 249, 0.9);
}

label {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
}

select, input[type="number"], input[type="text"] {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid #3d3052;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

select {
    -webkit-appearance: none;
    appearance: none;
}

select:focus, input[type="number"]:focus, input[type="text"]:focus {
    border-color: var(--accent-purple);
}

input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    width: 100%;
    height: 40px;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: none; }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.color-picker-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.swatch:hover {
    transform: scale(1.15);
    border-color: rgba(255,255,255,0.5);
}

.custom-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.custom-color-swatch:hover {
    transform: scale(1.15);
    border-color: rgba(255,255,255,0.5);
}

.custom-color-swatch input[type="color"] {
    width: 200%;
    height: 200%;
    cursor: pointer;
}

.effect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 16px;
}

.effect-box {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 10px 4px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    color: var(--text-muted);
}

.effect-box:hover {
    background: #3d3052;
    border-color: var(--accent-purple);
    color: #fff;
    transform: translateY(-2px);
}

.effect-box.active {
    background: rgba(157, 52, 255, 0.2);
    border-color: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 12px rgba(157, 52, 255, 0.3);
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* --- MAIN CONTENT --- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: radial-gradient(circle at center, #1b1229 0%, #0f0a19 100%);
}

.top-bar {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.project-title {
    background: var(--input-bg);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.status-indicator {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.dot { width: 6px; height: 6px; background-color: #00e676; border-radius: 50%; }

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(157, 52, 255, 0.3);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-gradient:hover { transform: scale(1.05); }
.btn-primary-gradient:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(1); }

/* --- WORKSPACE / CANVAS --- */
.workspace {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.canvas-wrapper {
    position: relative;
    max-width: 80%;
    max-height: 100%;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 8px;
}

.resolution-badge {
    position: absolute;
    top: -30px;
    left: 0;
    background: #2a2038;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

/* --- BOTTOM CONTROLS --- */
.bottom-bar {
    height: var(--footer-height);
    background: #150f1f;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

.timeline-track {
    border-radius: 8px;
    width: 100%;
    height: 8px;
    background: rgba(45, 36, 58, 0.7);
    margin-top: -6px; 
    position: relative;
    cursor: pointer;
    transition: background 0.15s ease;
}

.timeline-track:hover, .timeline-track:active {
    background: rgba(45, 36, 58, 1);
}

.timeline-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--progress-width, 0%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s ease;
    box-shadow: 0 0 10px rgba(157, 52, 255, 0.5);
    pointer-events: none;
}

.timeline-track:hover::after, .timeline-track:active::after {
    transform: translate(-50%, -50%) scale(1);
}

.timeline-progress {
    width: var(--progress-width, 0%); 
    height: 100%;
    border-radius: 8px;
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
    pointer-events: none; /* Let clicks pass through to the track */
}

.controls-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.time-display {
    color: var(--text-muted);
    font-size: 0.8rem;
    width: 100px;
}

.playback-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
}
.icon-btn:hover { color: #fff; }

.play-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #000;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.play-circle-btn:hover { transform: scale(1.1); }
.play-circle-btn:disabled { background: #444; color: #888; transform: none; }

.volume-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    width: 150px;
    justify-content: flex-end;
}
.vol-bar { width: 60px; height: 4px; background: #3d3052; border-radius: 2px; }

.status-text {
    font-size: 0.8rem;
    color: #888;
}

#fontSizeInput {
    width: 65px;
    text-align: center;
    margin: 0;
    font-weight: 600;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

#fontSizeInput:focus {
    border-color: var(--accent-purple);
    outline: none;
}

/* Recording State */
.recording .timeline-progress { background: #ff4081; box-shadow: 0 0 10px #ff4081; }

@media only screen and (max-width: 768px) {
    body { flex-direction: column; overflow-y: auto; height: auto; display: flex; }
    .main-content { order: 1; position: sticky; top: 0; z-index: 50; background: var(--bg-dark); flex: none; height: auto; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
    .brand {display: none;}
    .sidebar { order: 2; width: 100%; border-right: none; height: auto; border-bottom: 1px solid var(--border-color); }
    .scroll-content { overflow: visible; padding-bottom: 50px; }
    .top-bar { gap: 5px; height: auto; padding: 12px; }
    .status-indicator { display: none; }
    .actions { gap: 10px; }
    .workspace { padding: 5px; }
    .canvas-wrapper { width: 100%; max-width: none; margin: 0 auto; max-height: 50vh; }
    .project-title { margin-left: 0; }
    .actions { margin-right: 0; }
}


/* --- Toast Notifications --- */
.toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 10000; display: flex; flex-direction: column; gap: 12px; }
.toast { background: rgba(30, 20, 45, 0.95); backdrop-filter: blur(8px); color: #fff; padding: 14px 20px; border-radius: 8px; border-left: 4px solid var(--accent-pink); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); font-family: 'Inter', sans-serif; font-size: 14px; display: flex; align-items: center; gap: 10px; animation: toastSlideIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 1; transition: opacity 0.3s ease, transform 0.3s ease; }
.toast.error { border-left-color: #ff1744; }
.toast.success { border-left-color: #00e676; }
.toast.info { border-left-color: var(--accent-blue); }
.toast.fade-out { opacity: 0; transform: translateX(20px); }
@keyframes toastSlideIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* --- Layout Container --- */
.volume-slider { display: flex; align-items: center; gap: 10px; width: auto; }

/* --- LRCLIB Modal --- */
.lrclib-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.75); display: flex; justify-content: center; align-items: center; z-index: 10000; }
.lrclib-modal { background: var(--surface-light, #252538); border-radius: 12px; padding: 24px; width: 90%; max-width: 400px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); color: var(--text-main, #fff); text-align: left; font-family: 'Inter', sans-serif; }
.lrclib-modal h2 { margin-top: 0; color: var(--accent-pink, #ff2a6d); margin-bottom: 24px; font-size: 20px; text-align: center; }
.lrclib-modal .match-info { margin-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--text-muted, #aaa); }
.lrclib-modal .match-info span { font-weight: 600; color: var(--text-main, #fff); }
.lrclib-modal-actions { display: flex; justify-content: flex-end; gap: 12px; }
.lrclib-modal-btn { padding: 10px 20px; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.lrclib-modal-btn.cancel { background: #444; color: white; }
.lrclib-modal-btn.cancel:hover { background: #555; }
.lrclib-modal-btn.confirm { background: var(--accent-pink, #ff2a6d); color: white; }
.lrclib-modal-btn.confirm:hover { filter: brightness(1.2); }

/* Modal Styles */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(9, 9, 11, 0.85); backdrop-filter: blur(8px); animation: fadeIn 0.3s ease-out; align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-content { background-color: var(--panel-bg); padding: 30px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; width: 90%; max-width: 800px; box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1); position: relative; animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.format-modal-content { max-width: 500px; padding: 25px; }
.close-modal { color: var(--text-muted); position: absolute; top: 15px; right: 20px; font-size: 24px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.close-modal:hover { color: #fff; }
.modal-header-container { text-align: left; margin-bottom: 20px; }
.modal-header-container h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.modal-header-container p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0; }
.modal-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.modal-upload-zone { border: 1px dashed rgba(255, 255, 255, 0.15); border-radius: 10px; padding: 20px 10px; text-align: center; cursor: pointer; transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.2); }
.modal-upload-zone:hover, .modal-upload-zone.dragover { border-color: var(--primary-color); background: rgba(255, 64, 129, 0.05); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.modal-upload-zone i { color: var(--primary-color); margin-bottom: 10px; font-size: 2rem; transition: 0.3s; }
.modal-upload-zone:hover i { transform: scale(1.1); text-shadow: var(--neon-glow); }
.modal-upload-zone span { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 4px; color: var(--text-light); }
.modal-upload-zone small { color: var(--text-muted); font-size: 0.8rem; }
.modal-upload-zone input[type=file] { position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer; }
.orientation-selector { display: flex; justify-content: flex-start; gap: 15px; margin-top: 10px; }
.orientation-card { flex: 1; min-width: 100px; max-width: 140px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; padding: 15px 10px; text-align: center; cursor: pointer; transition: all 0.2s ease; display: flex; flex-direction: column; align-items: center; height: 100px; justify-content: space-between; }
.orientation-card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255,255,255,0.1); }
.orientation-card.active { border-color: var(--primary-color); background: rgba(255, 64, 129, 0.08); box-shadow: 0 0 0 1px var(--primary-color), inset 0 0 15px rgba(255, 64, 129, 0.1); }
.orientation-card .text-wrap { display: flex; flex-direction: column; align-items: center; }
.orientation-card span { font-weight: 500; font-size: 0.9rem; color: var(--text-light); margin-top: 8px; line-height: 1.2; }
.orientation-card small { color: var(--text-muted); font-size: 0.75rem; }
.icon-wrap { height: 40px; display: flex; align-items: center; justify-content: center; }
.aspect-icon { margin: 0 auto; border: 2px solid var(--text-muted); border-radius: 3px; transition: 0.3s; }
.orientation-card.active .aspect-icon { border-color: var(--primary-color); box-shadow: 0 0 8px rgba(255,64,129,0.4); }
.aspect-icon.horizontal { width: 36px; height: 20px; }
.aspect-icon.vertical { width: 20px; height: 36px; }
.aspect-icon.square { width: 26px; height: 26px; }
.export-settings-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.modal-footer { display: flex; justify-content: flex-end; margin-top: 25px; }
.modal-footer .btn-primary-gradient { padding: 12px 24px; font-size: 1rem; width: auto; border-radius: 8px; }
@keyframes modalPop { 0% { opacity: 0; transform: scale(0.95) translateY(15px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 768px) { .modal-upload-grid, .export-settings-wrap { grid-template-columns: 1fr; } .orientation-selector { flex-wrap: wrap; } .modal-content { padding: 20px; max-height: 90vh; overflow-y: auto; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

body.modal-open { overflow: hidden; } .modal-content { border-color: rgba(255,255,255,0.1); } .orientation-card .text-wrap { margin-top: auto; }

.exp-full { grid-column: 1 / -1; }

/* Orientation and file input adjustments */
.modal-upload-zone i { margin-bottom: 5px; font-size: 1.5rem; }
.orientation-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.orientation-card { max-width: none; position: relative; height: 110px; }
.orientation-card .text-wrap { position: absolute; bottom: 12px; left: 0; right: 0; margin-top: 0; }
.icon-wrap { height: 50px; margin-top: 5px; }
#assetsModal h3 { margin-bottom: 20px !important; }

@media (max-width: 768px) { .orientation-selector { grid-template-columns: 1fr; } }
