/* ============================================================
   NeoPlayer – Theme & shared components
   Loaded by every page. Page-specific styles override below.
   ============================================================ */

:root {
    /* Surfaces */
    --bg:        #0a0c10;
    --bg-1:      #0f1218;
    --bg-2:      #151923;
    --bg-3:      #1d2230;
    --bg-4:      #262d3d;

    /* Lines */
    --line:      #1c222e;
    --line-2:    #2a3142;

    /* Text */
    --t-1:       #f0f2f6;
    --t-2:       #a8aebc;
    --t-3:       #6a7184;
    --t-4:       #4a5160;

    /* Accent (NeoPlayer green) — used ONLY for action / focus / progress */
    --a:         #39ff14;
    --a-2:       #2cd610;
    --a-3:       #1f9b09;
    --a-soft:    rgba(57, 255, 20, 0.12);
    --a-glow:    rgba(57, 255, 20, 0.45);

    /* Status */
    --warn:      #f5a524;
    --danger:    #f43f5e;

    /* Geometry */
    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 10px;
    --r-xl: 14px;

    /* Shadow */
    --sh-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 12px -4px rgba(0,0,0,0.4);
    --sh-2: 0 8px 24px -8px rgba(0,0,0,0.6);
    --sh-3: 0 24px 60px -16px rgba(0,0,0,0.7);

    /* Layout */
    --side-w:        232px;
    --side-w-col:    62px;
    --top-h:         56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html, body { background: var(--bg); }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: var(--t-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { display: block; max-width: 100%; }

::selection { background: var(--a-soft); color: var(--a); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--bg-3);
    border: 2px solid var(--bg);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--bg-4); }

/* ============================================================
   SIDEBAR (left, collapsible)
   ============================================================ */
.neo-side {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--side-w-col);
    background: var(--bg-1);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.neo-side.is-open { width: var(--side-w); }

.neo-side-head {
    height: 60px;
    display: flex; align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
    position: relative;
}
.neo-side-toggle {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: grid; place-items: center;
    color: var(--t-2);
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}
.neo-side-toggle:hover { background: var(--bg-3); color: var(--t-1); }

.neo-side-brand {
    margin-left: 8px;
    display: flex; align-items: center; gap: 10px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.18s 0.05s, transform 0.18s 0.05s;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
}
.neo-side.is-open .neo-side-brand { opacity: 1; transform: translateX(0); pointer-events: auto; }
.neo-brand-mark {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--a) 0%, var(--a-3) 100%);
    display: grid; place-items: center;
    color: #001a00;
    font-weight: 900; font-size: 14px;
    letter-spacing: -0.05em;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.neo-brand-word {
    font-weight: 800; font-size: 15px;
    color: var(--t-1);
    letter-spacing: -0.01em;
}
.neo-brand-word b { font-weight: 800; }
.neo-brand-word span { color: var(--t-3); font-weight: 600; }

.neo-side-nav {
    flex: 1;
    padding: 14px 8px;
    overflow-y: auto;
    overflow-x: hidden;
}
.neo-side-nav::-webkit-scrollbar { width: 0; }

.neo-side-section {
    margin-top: 18px;
    padding: 0 10px 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--t-3);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.15s;
}
.neo-side.is-open .neo-side-section { opacity: 1; }
.neo-side:not(.is-open) .neo-side-section {
    height: 1px;
    margin: 14px 8px;
    background: var(--line);
    padding: 0;
    overflow: hidden;
    color: transparent;
}

.neo-side-item {
    display: flex; align-items: center; gap: 12px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    margin: 2px 0;
    color: var(--t-2);
    font-size: 13px; font-weight: 500;
    position: relative;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    overflow: hidden;
}
.neo-side-item i {
    width: 18px;
    font-size: 15px;
    text-align: center;
    flex-shrink: 0;
}
.neo-side-item-label {
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transform: translateX(-4px);
    transition: opacity 0.18s 0.04s, transform 0.18s 0.04s;
}
.neo-side.is-open .neo-side-item-label {
    opacity: 1;
    width: auto;
    transform: translateX(0);
}

.neo-side-item:hover {
    background: var(--bg-2);
    color: var(--t-1);
}
.neo-side-item.active {
    background: var(--bg-2);
    color: var(--t-1);
}
.neo-side-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 3px;
    background: var(--a);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px var(--a-glow);
}
.neo-side-item.active i { color: var(--a); }

.neo-side-foot {
    border-top: 1px solid var(--line);
    padding: 10px 8px;
    flex-shrink: 0;
}
.neo-side-user {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.15s;
    color: var(--t-1);
    white-space: nowrap;
    overflow: hidden;
}
.neo-side-user:hover { background: var(--bg-2); }
.neo-side-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a5060 0%, #232838 100%);
    display: grid; place-items: center;
    font-weight: 700; font-size: 12px;
    color: var(--t-1);
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px var(--line-2) inset;
}
.neo-side-user-info {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s 0.04s, transform 0.18s 0.04s;
    min-width: 0;
}
.neo-side.is-open .neo-side-user-info { opacity: 1; transform: translateX(0); }
.neo-side-user-name {
    font-size: 13px; font-weight: 600;
    color: var(--t-1);
    overflow: hidden; text-overflow: ellipsis;
}
.neo-side-user-mail {
    font-size: 11px;
    color: var(--t-3);
    overflow: hidden; text-overflow: ellipsis;
}

/* Collapsed sidebar — icons fully centered (kill gap+padding so they don't drift left) */
.neo-side:not(.is-open) .neo-side-item {
    justify-content: center;
    padding: 0;
    gap: 0;
}
.neo-side:not(.is-open) .neo-side-item i {
    width: auto;
    margin: 0;
}
.neo-side:not(.is-open) .neo-side-item:hover::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 8px);
    top: 50%; transform: translateY(-50%);
    background: var(--bg-3);
    color: var(--t-1);
    padding: 6px 10px;
    font-size: 12px; font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 10;
    border: 1px solid var(--line-2);
    box-shadow: var(--sh-2);
}

/* Backdrop when sidebar opens on mobile */
.neo-side-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
    backdrop-filter: blur(2px);
}
.neo-side-backdrop.show { display: block; }

/* ============================================================
   PAGE SHELL (offset for sidebar)
   ============================================================ */
.neo-shell {
    margin-left: var(--side-w-col);
    min-height: 100vh;
    transition: margin-left 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
body.side-open .neo-shell { margin-left: var(--side-w); }

/* ============================================================
   TOP BAR (slim, sits on top of shell)
   ============================================================ */
.neo-top {
    position: sticky; top: 0; z-index: 50;
    height: var(--top-h);
    display: flex; align-items: center;
    gap: 14px;
    padding: 0 28px;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.neo-top h1 {
    font-size: 15px; font-weight: 700;
    color: var(--t-1);
    letter-spacing: -0.005em;
}
.neo-top .crumb {
    font-size: 13px;
    color: var(--t-3);
    margin-left: 4px;
}
.neo-top .crumb::before { content: '/'; margin-right: 8px; color: var(--t-4); }
.neo-top-spacer { flex: 1; }

.neo-search {
    position: relative;
    width: 380px;
    max-width: 100%;
}
.neo-search input {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 36px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--t-1);
    font: 500 13px/1 inherit;
    transition: border-color 0.15s, background 0.15s;
}
.neo-search input::placeholder { color: var(--t-3); }
.neo-search input:focus {
    outline: none;
    border-color: var(--a);
    background: var(--bg-1);
    box-shadow: 0 0 0 3px var(--a-soft);
}
.neo-search > i {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--t-3); font-size: 13px;
}
.neo-search kbd {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    font: 600 10px/1 'Inter', sans-serif;
    color: var(--t-3);
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 4px;
    padding: 3px 6px;
}

.neo-icon-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    color: var(--t-2);
    display: grid; place-items: center;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
}
.neo-icon-btn:hover { background: var(--bg-2); color: var(--t-1); }

/* ============================================================
   BUTTONS
   ============================================================ */
.neo-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.005em;
    transition: transform 0.08s, background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}
.neo-btn:active { transform: translateY(1px); }
.neo-btn-primary {
    background: var(--a);
    color: #001a00;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.neo-btn-primary:hover { background: var(--a-2); }
.neo-btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--t-1);
    border-color: var(--line-2);
    backdrop-filter: blur(8px);
}
.neo-btn-ghost:hover { background: rgba(255,255,255,0.12); }
.neo-btn-line {
    background: transparent;
    border-color: var(--line-2);
    color: var(--t-1);
}
.neo-btn-line:hover { background: var(--bg-2); border-color: var(--t-3); }
.neo-btn-icon { width: 38px; padding: 0; }
.neo-btn-lg { height: 44px; padding: 0 22px; font-size: 14px; }
.neo-btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }

/* ============================================================
   CARDS / RAILS
   ============================================================ */
.neo-rail { margin-bottom: 32px; }
.neo-rail-head {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 0 28px 12px;
}
.neo-rail-title {
    font-size: 16px; font-weight: 700;
    color: var(--t-1);
    letter-spacing: -0.005em;
    display: inline-flex; align-items: baseline; gap: 8px;
}
.neo-rail-title em {
    font-style: normal;
    color: var(--t-3);
    font-weight: 500;
    font-size: 13px;
}
.neo-rail-more {
    font-size: 11px; font-weight: 600;
    color: var(--t-3);
    letter-spacing: 0.06em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color 0.15s;
}
.neo-rail-more:hover { color: var(--a); }

.neo-track-wrap { position: relative; padding: 0 28px; }
.neo-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 168px;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 0 6px;
}
.neo-track::-webkit-scrollbar { display: none; }

.neo-arrow {
    position: absolute; top: 0; bottom: 6px;
    width: 56px;
    background: linear-gradient(90deg, rgba(10,12,16,0.95), rgba(10,12,16,0));
    border: none;
    color: var(--t-1);
    display: none; align-items: center; justify-content: flex-start;
    padding-left: 14px;
    z-index: 5; font-size: 16px;
    transition: color 0.15s;
}
.neo-arrow:hover { color: var(--a); }
.neo-arrow.left  { left: 28px; }
.neo-arrow.right {
    right: 28px;
    background: linear-gradient(270deg, rgba(10,12,16,0.95), rgba(10,12,16,0));
    justify-content: flex-end;
    padding-left: 0; padding-right: 14px;
}
.neo-track-wrap:hover .neo-arrow { display: flex; }
@media (hover: none) { .neo-arrow { display: none !important; } }

/* Standard poster card */
.neo-card {
    display: block;
    position: relative;
    transition: transform 0.18s ease;
    /* Constrain to grid column width — but leave overflow visible so any
       decorative pseudo-elements / siblings (e.g. rank numerals) can show. */
    min-width: 0;
    max-width: 100%;
}
.neo-card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-2);
    box-shadow: var(--sh-1);
}
.neo-card-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.neo-card-poster::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--r-md);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    pointer-events: none;
    transition: box-shadow 0.18s ease;
}
.neo-card:hover { transform: translateY(-2px); }
.neo-card:hover .neo-card-poster img { transform: scale(1.04); }
.neo-card:hover .neo-card-poster::after {
    box-shadow: inset 0 0 0 2px var(--a), 0 0 0 4px var(--a-soft);
}
.neo-card-play {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity 0.2s;
}
.neo-card-play span {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--a);
    color: #001a00;
    display: grid; place-items: center;
    font-size: 14px;
    box-shadow: 0 6px 18px -4px var(--a-glow);
    transform: scale(0.9);
    transition: transform 0.18s;
}
.neo-card:hover .neo-card-play { opacity: 1; }
.neo-card:hover .neo-card-play span { transform: scale(1); }

.neo-card-progress {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 3px;
    background: rgba(255,255,255,0.2);
}
.neo-card-progress::after {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: var(--p, 35%);
    background: var(--a);
    box-shadow: 0 0 4px var(--a-glow);
}

.neo-card-info {
    padding: 10px 2px 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.neo-card-title {
    font-size: 12.5px; font-weight: 600;
    line-height: 1.3;
    color: var(--t-1);
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.neo-card-sub {
    font-size: 10.5px;
    color: var(--t-3);
    margin-top: 2px;
    font-weight: 500;
}
.neo-card-sub i { font-size: 8px; color: var(--a); margin-right: 4px; vertical-align: 1px; }

/* ============================================================
   TOP-10 RAIL (numbered)
   ============================================================ */
.neo-top10 .neo-track {
    grid-auto-columns: 260px;
    gap: 0;
    padding-left: 60px;
}
.neo-top10 .neo-track-wrap { padding: 0 28px; }
.neo-top10 .neo-arrow.left  { left: 28px; }
.neo-top10 .neo-arrow.right { right: 28px; }

.neo-top10-card {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 158px;
    padding-left: 62px;
}
.neo-top10-rank {
    position: absolute;
    left: -14px; top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 158px;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 2px var(--bg-4);
    text-stroke: 2px var(--bg-4);
    letter-spacing: -0.07em;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    transition: -webkit-text-stroke-color 0.2s;
}
.neo-top10-card:hover .neo-top10-rank {
    -webkit-text-stroke-color: var(--a);
}
.neo-top10-poster {
    position: relative;
    width: 105px; height: 158px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-2);
    z-index: 2;
    box-shadow: var(--sh-2);
    transition: transform 0.2s;
}
.neo-top10-card:hover .neo-top10-poster {
    transform: scale(1.03);
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.7), 0 0 0 2px var(--a);
}
.neo-top10-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.neo-top10-poster::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
    .neo-top10 .neo-track { grid-auto-columns: 200px; padding-left: 48px; }
    .neo-top10-card { height: 124px; padding-left: 50px; }
    .neo-top10-rank { font-size: 122px; left: -10px; -webkit-text-stroke-width: 1.5px; }
    .neo-top10-poster { width: 82px; height: 124px; }
}

/* ============================================================
   COMMON SECTION / EMPTY / NOTIFICATION
   ============================================================ */
.neo-section { padding: 24px 28px; }
.neo-section-head {
    margin-bottom: 18px;
    display: flex; align-items: baseline; justify-content: space-between;
}
.neo-section-title {
    font-size: 18px; font-weight: 700;
    color: var(--t-1);
    letter-spacing: -0.005em;
}
.neo-section-sub { font-size: 13px; color: var(--t-3); margin-top: 4px; }

.neo-empty {
    text-align: center;
    padding: 80px 24px 100px;
    color: var(--t-2);
}
.neo-empty i {
    font-size: 36px;
    color: var(--a);
    margin-bottom: 16px;
    opacity: 0.85;
}
.neo-empty h3 {
    font-size: 17px;
    color: var(--t-1);
    font-weight: 700;
    margin-bottom: 6px;
}
.neo-empty p { font-size: 13px; margin-bottom: 20px; }

.neo-loading {
    position: fixed; inset: 0;
    background: rgba(10,12,16,0.92);
    backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    flex-direction: column; z-index: 9000;
    opacity: 0; transition: opacity 0.3s;
}
.neo-loading.show { display: flex; opacity: 1; }
.neo-loading .spin {
    width: 30px; height: 30px;
    border: 3px solid var(--bg-3);
    border-top-color: var(--a);
    border-radius: 50%;
    animation: neo-spin 0.8s linear infinite;
    margin-bottom: 14px;
}
.neo-loading h2 { font-size: 13px; color: var(--t-2); font-weight: 500; }
@keyframes neo-spin { to { transform: rotate(360deg); } }

.neo-toast {
    position: fixed;
    bottom: 20px; right: 20px;
    background: var(--bg-2);
    border: 1px solid var(--a);
    color: var(--t-1);
    padding: 12px 18px;
    border-radius: 8px;
    display: none; align-items: center; gap: 10px;
    z-index: 9001;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s;
    font-size: 13px; font-weight: 500;
    box-shadow: var(--sh-3);
}
.neo-toast.show { display: flex; opacity: 1; transform: translateY(0); }
.neo-toast i { color: var(--a); }

/* ============================================================
   FORMS
   ============================================================ */
.neo-field { display: block; margin-bottom: 14px; }
.neo-field-label {
    display: block;
    font-size: 11px; font-weight: 700;
    color: var(--t-3);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 7px;
}
.neo-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--t-1);
    font: 500 14px/1 inherit;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.neo-input::placeholder { color: var(--t-3); }
.neo-input:focus {
    outline: none;
    border-color: var(--a);
    background: var(--bg-1);
    box-shadow: 0 0 0 3px var(--a-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .neo-side {
        transform: translateX(-100%);
        transition: transform 0.22s ease, width 0.22s ease;
        width: var(--side-w);
        box-shadow: var(--sh-3);
    }
    .neo-side.is-open { transform: translateX(0); }
    .neo-shell { margin-left: 0 !important; }
    body.side-open .neo-side-backdrop { display: block; }

    .neo-top { padding: 0 14px; gap: 8px; }
    .neo-top h1 { font-size: 14px; }
    .neo-top .crumb { display: none; }
    .neo-search { width: auto; flex: 1; max-width: none; }
    .neo-search kbd { display: none; }

    .neo-rail-head { padding: 0 16px 10px; }
    .neo-track-wrap { padding: 0 16px; }
    .neo-arrow.left  { left: 16px; }
    .neo-arrow.right { right: 16px; }
    /* Rails normais — FLEXBOX em vez de Grid pra honrar margem entre itens.
       Em Grid com grid-auto-columns fixo, a margin do filho é clipada pela borda
       da próxima coluna. Flexbox honra margin naturalmente. Suportado desde 2014. */
    .neo-track.is-normal-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 0 !important;
    }
    .neo-track.is-normal-track .neo-card {
        flex: 0 0 124px !important;
        width: 124px !important;
        margin: 0 48px 0 0 !important;
    }
    .neo-track.is-normal-track .neo-card:last-child {
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Rails normais — flexbox no breakpoint pequeno também */
    .neo-track.is-normal-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 0 !important;
    }
    .neo-track.is-normal-track .neo-card {
        flex: 0 0 108px !important;
        width: 108px !important;
        margin: 0 36px 0 0 !important;
    }
    .neo-track.is-normal-track .neo-card:last-child {
        margin-right: 0 !important;
    }
    .neo-section { padding: 18px 14px; }
}
