/* ==========================================================
   Podcast Platform — Design System
   Paleta: near-black + violeta assinatura + âmbar (avaliações)
   Tipografia: pilha de sistema, peso variável para hierarquia
   Assinatura visual: waveform (barras de onda sonora)
   ========================================================== */

:root {
    --bg: #0b0c10;
    --surface: #14161d;
    --surface-2: #1c1f29;
    --border: #262a37;
    --text: #f3f4f8;
    --text-muted: #9297a8;
    --accent: #7c5cff;
    --accent-2: #52e0c4;
    --amber: #ffb648;
    --danger: #ff5d6c;
    --success: #35c98f;
    --radius: 14px;
    --radius-sm: 8px;
    --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 15px; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--text-muted); font-size: 14px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }

/* ---------- Botões ---------- */
.btn-primary, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .15s ease, opacity .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11,12,16,.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-mark { color: var(--accent); }

.search-form { position: relative; flex: 1; max-width: 420px; display: flex; }
.search-form input {
    width: 100%; padding: 10px 40px 10px 14px; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: 999px; color: var(--text);
}
.search-form button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 32px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; }
.search-suggestions {
    position: absolute; top: 46px; left: 0; right: 0; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; display: none; z-index: 60;
}
.search-suggestions a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; }
.search-suggestions a:hover { background: var(--surface); }
.search-suggestions img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

.main-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; font-size: 14px; font-weight: 500; }

.user-menu { position: relative; }
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
    border: none; font-weight: 700; cursor: pointer;
}
.user-dropdown {
    position: absolute; right: 0; top: 46px; background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius-sm); min-width: 160px; padding: 8px; display: none; flex-direction: column; z-index: 60;
}
.user-dropdown.open { display: flex; }
.user-dropdown-name { padding: 8px 10px; font-weight: 600; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.user-dropdown a { padding: 8px 10px; border-radius: 6px; }
.user-dropdown a:hover { background: var(--surface); }

/* ---------- Flash messages ---------- */
.flash { padding: 12px 0; font-size: 14px; }
.flash-success { background: rgba(53,201,143,.12); color: var(--success); }
.flash-error { background: rgba(255,93,108,.12); color: var(--danger); }
.flash-info { background: rgba(124,92,255,.12); color: var(--accent); padding: 12px 16px; border-radius: var(--radius-sm); }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: inherit; font-family: inherit; }
.btn-link:hover { opacity: .8; }

/* ---------- Hero + waveform (elemento assinatura) ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; border-bottom: 1px solid var(--border); }
.hero-inner { position: relative; }
.hero-waveform {
    position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 4px; opacity: .35; z-index: 0;
}
.hero-waveform span {
    flex: 1; background: linear-gradient(180deg, var(--accent), transparent);
    border-radius: 3px; animation: waveform 2.4s ease-in-out infinite alternate;
}
@keyframes waveform { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .hero-waveform span { animation: none; } }

.hero-text { position: relative; z-index: 1; max-width: 640px; }
.hero-text h1 { font-size: 40px; line-height: 1.15; margin-bottom: 16px; }
.hero-text p { color: var(--text-muted); font-size: 17px; margin-bottom: 28px; }

/* ---------- Chips / categorias ---------- */
.category-chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 20px 24px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--accent); }
.chip-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 40px 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-size: 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.empty-hint { color: var(--text-muted); font-size: 14px; }

/* ---------- Cards de podcast ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }

/* ---------- Em destaque: grade de cards + vídeo em destaque ---------- */
.featured-layout { display: grid; grid-template-columns: 1fr minmax(380px, 640px); gap: 32px; align-items: start; }
.featured-layout .card-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.featured-video-card {
    /* Sem fundo/borda/padding: o vídeo ocupa o card inteiro, maior e sem moldura. */
    background: transparent; border: 0; border-radius: var(--radius);
    padding: 0; align-self: start;
}
.featured-video-card .video-embed { margin: 0; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.featured-video-caption { margin: 12px 0 0; font-size: 14px; color: var(--text-muted); text-align: center; }
@media (max-width: 900px) {
    .featured-layout { grid-template-columns: 1fr; }
    .featured-video-card { max-width: 640px; margin: 0 auto; width: 100%; }
}

/* ---------- Em destaque: 3 no desktop, 4 no celular ----------
   O servidor manda 4 podcasts aleatórios; no desktop o 4º fica oculto
   (mantém o layout ao lado do vídeo em 3 colunas), no celular os 4
   aparecem. */
.featured-layout .card-grid > .podcast-card:nth-child(4) { display: none; }
@media (max-width: 900px) {
    .featured-layout .card-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-layout .card-grid > .podcast-card:nth-child(4) { display: block; }
}
.podcast-card { display: block; }
.podcast-cover { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); margin-bottom: 10px; }
.podcast-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.podcast-card:hover .podcast-cover img { transform: scale(1.05); }
.cover-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--accent); background: var(--surface-2);
}
.cover-placeholder.lg { font-size: 64px; }
.podcast-card-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.podcast-card-meta { color: var(--text-muted); font-size: 12px; }

/* ---------- Lista de episódios ---------- */
.episode-list { display: flex; flex-direction: column; gap: 4px; }
.episode-row {
    display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--radius-sm);
}
.episode-row:hover { background: var(--surface); }
.episode-row-cover { position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.episode-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.episode-row-cover .play-icon {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.35); color: #fff; opacity: 0; transition: opacity .15s ease;
}
.episode-row:hover .play-icon { opacity: 1; }
.episode-row-info { flex: 1; min-width: 0; }
.episode-row-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.episode-row-podcast { font-size: 12px; color: var(--accent); }
.episode-row-desc { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.episode-row-duration { font-size: 13px; color: var(--text-muted); flex-shrink: 0; }

/* ---------- Rankings ---------- */
.ranking-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ranking-list li { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: var(--radius-sm); }
.ranking-list li:hover { background: var(--surface); }
.rank-number { font-family: var(--font-display); font-weight: 700; color: var(--accent); width: 24px; text-align: center; }
.ranking-list a { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.ranking-list a span { font-size: 12px; color: var(--text-muted); }
.rank-count { font-size: 12px; color: var(--text-muted); }

/* ---------- Comentários ---------- */
.comment-feed, .comment-thread { display: flex; flex-direction: column; gap: 18px; }
.comment-feed-item, .comment-item { display: flex; gap: 12px; }
.avatar-sm {
    width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.comment-feed-text { color: var(--text-muted); font-size: 14px; }
.comment-body p { margin: 2px 0; font-size: 14px; }
.comment-form { margin-bottom: 24px; }
.comment-form textarea {
    width: 100%; padding: 12px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text); resize: vertical; margin-bottom: 10px;
}
.js-edit-comment-toggle {
    background: none; border: none; color: var(--accent); font-size: 12px; cursor: pointer; padding: 0; margin-left: 6px;
}
.comment-edit-form { margin-top: 8px; }
.comment-edit-form textarea {
    width: 100%; padding: 10px; background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text); resize: vertical; margin-bottom: 8px; font-size: 13px;
}

/* ---------- Autenticação ---------- */
.auth-section { display: flex; justify-content: center; padding: 64px 24px; }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.auth-card h1 { font-size: 22px; margin-bottom: 4px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--accent); }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.checkbox-row input { width: auto; }

form label { display: block; font-size: 13px; color: var(--text-muted); margin: 14px 0 6px; }
form input[type=text], form input[type=email], form input[type=password],
form input[type=url], form input[type=number], form input[type=file],
form select, form textarea {
    width: 100%; padding: 11px 12px; background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--accent); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.row-fields { display: flex; gap: 14px; }
.row-fields > div { flex: 1; }

/* ---------- Página do podcast ---------- */
.podcast-hero { position: relative; border-bottom: 1px solid var(--border); padding: 48px 0; }
.podcast-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.podcast-hero-inner { position: relative; display: flex; gap: 32px; align-items: flex-end; flex-wrap: wrap; }
.podcast-hero-cover { width: 200px; height: 200px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.podcast-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.podcast-hero-info { flex: 1; min-width: 260px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.podcast-hero-info h1 { font-size: 30px; margin: 6px 0; }
.podcast-author { color: var(--text-muted); font-size: 14px; margin: 0 0 12px; }
.podcast-desc { font-size: 14px; color: var(--text-muted); max-width: 620px; margin: 0 0 16px; }
.podcast-stats { display: flex; gap: 18px; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; flex-wrap: wrap; }
.podcast-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.rating-widget { display: flex; gap: 2px; cursor: pointer; }
.rating-widget .star { color: var(--border); font-size: 20px; transition: color .1s ease; }
.rating-widget .star-filled, .rating-widget .star:hover, .rating-widget .star:hover ~ .star { color: var(--amber); }

.share-row { display: flex; gap: 8px; margin-left: auto; }
.share-row a, .share-row button {
    width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text);
}

/* ---------- Página de episódio ---------- */
.back-link { color: var(--text-muted); font-size: 13px; display: inline-block; margin-bottom: 16px; }
.episode-detail h1 { font-size: 26px; margin-bottom: 6px; }
.episode-video { width: 100%; border-radius: var(--radius); margin: 20px 0; background: #000; }
.video-embed { position: relative; padding-top: 56.25%; margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.spotify-embed, .apple-embed { margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.spotify-embed iframe, .apple-embed iframe { display: block; border-radius: var(--radius); }
.episode-actions { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.chapters, .episode-description, .transcript { margin: 28px 0; font-size: 14px; }
.chapters ul { list-style: none; padding: 0; }
.chapters li { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.chapters li span { color: var(--accent); font-family: var(--font-display); width: 60px; }
.transcript summary { cursor: pointer; color: var(--accent); font-weight: 600; }

/* ---------- Player fixo (dock) ---------- */
.player-dock {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: var(--surface); border-top: 1px solid var(--border);
}
.player-progress { height: 3px; background: var(--border); cursor: pointer; }
.player-progress-fill { height: 100%; width: 0%; background: var(--accent); }
.player-inner { display: flex; align-items: center; gap: 20px; padding: 10px 24px; }
.player-meta { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.player-meta img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; background: var(--surface-2); }
.player-title { font-size: 13px; font-weight: 600; }
.player-podcast { font-size: 12px; color: var(--text-muted); }
.player-controls { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.player-controls button, .player-controls select { background: transparent; border: none; color: var(--text); cursor: pointer; }
.player-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
#player-toggle { font-size: 18px; }
#player-volume { width: 90px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 100px; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 28px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.footer-column h4 { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin: 0 0 12px; color: var(--text); }
.footer-column ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-column a { color: var(--text-muted); font-size: 14px; }
.footer-column a:hover { color: var(--accent); }
.footer-inner { display: flex; gap: 10px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 640px) { .footer-columns { grid-template-columns: 1fr; gap: 20px; } }
.logo-img { height: 28px; max-width: 160px; object-fit: contain; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 32px 0; }
.pagination-info { font-size: 13px; color: var(--text-muted); }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
    .two-col { grid-template-columns: 1fr; }
    .search-form { display: none; }
    .hero-text h1 { font-size: 30px; }
}
@media (max-width: 600px) {
    .player-controls { gap: 8px; }
    .player-controls select, #player-volume { display: none; }
    .podcast-hero-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   Cursos
   ========================================================== */
.course-price { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 13px; margin-top: 4px; }
.course-price-big { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin: 4px 0 14px; }

.course-hero { border-bottom: 1px solid var(--border); padding: 48px 0; }
.course-hero-inner { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.course-hero-cover { width: 220px; height: 220px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.course-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.course-hero-info { flex: 1; min-width: 280px; }
.course-hero-info h1 { font-size: 28px; margin: 4px 0; }

.access-badge { display: inline-block; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin: 10px 0; }
.access-ok { background: rgba(53,201,143,.12); color: var(--success); }
.access-pending { background: rgba(255,182,72,.12); color: var(--amber); }

.pix-checkout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-top: 18px; max-width: 420px; }
.pix-checkout h3 { margin-bottom: 4px; }
.pix-qr { display: flex; justify-content: center; padding: 12px 0; }
.pix-qr img { border-radius: var(--radius-sm); background: #fff; padding: 8px; }
.pix-key-box {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 12px 14px; margin: 12px 0 6px; word-break: break-all;
}
.pix-key-box code { font-size: 13px; color: var(--accent); }

.course-module { margin-bottom: 24px; }
.course-module h3 { font-size: 16px; margin-bottom: 10px; }
.episode-row-locked { opacity: .55; cursor: not-allowed; }

.lesson-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.lesson-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; position: sticky; top: 84px; }
.lesson-sidebar h3 { font-size: 14px; margin-bottom: 10px; }
.lesson-sidebar-module-title { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin: 14px 0 4px; }
.lesson-sidebar-item { display: block; padding: 7px 8px; border-radius: 6px; font-size: 13px; color: var(--text-muted); }
.lesson-sidebar-item:hover { background: var(--surface-2); color: var(--text); }
.lesson-sidebar-item.active { background: var(--accent); color: #fff; }

@media (max-width: 860px) {
    .lesson-layout { grid-template-columns: 1fr; }
    .lesson-sidebar { position: static; }
}

/* ---------- Minha conta: shell com menu lateral de abas ---------- */
.form-section {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; margin-bottom: 20px;
}
.form-section h3 { font-size: 15px; margin-bottom: 4px; }
.form-section .section-hint { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }

.account-shell { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }

.account-sidebar {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; position: sticky; top: 84px;
}
.account-sidebar-header { padding: 6px 10px 14px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.account-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 8px;
}
.account-sidebar-name { font-weight: 600; font-size: 14px; word-break: break-word; }
.account-sidebar-email { font-size: 12px; color: var(--text-muted); word-break: break-word; }

.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500; color: var(--text-muted);
}
.account-nav a:hover { background: var(--surface-2); color: var(--text); }
.account-nav a.nav-active { background: var(--accent); color: #fff; }
.account-nav .nav-icon { width: 18px; text-align: center; flex-shrink: 0; }

.account-content { min-width: 0; }
.account-tab-panel { display: none; }
.account-tab-panel.active { display: block; animation: account-tab-fade .15s ease; }
@keyframes account-tab-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 860px) {
    .account-shell { grid-template-columns: 1fr; }
    .account-sidebar { position: static; padding: 10px; }
    .account-nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 2px; }
    .account-nav a { white-space: nowrap; }
    .account-sidebar-header { display: none; }
}
