.mobile-header-actions .desktop-register{display:none}.mobile-header-actions>.action-button{padding:7px 10px;font-size:12px;white-space:nowrap}.home-weekly-ranking>div{min-height:260px;border:1px solid var(--accent-edge);border-radius:24px;padding:20px;background:var(--surface)}.home-weekly-ranking>div h2{margin-bottom:18px}.checkout-timer strong{white-space:nowrap}.checkout-order-details>div{display:flex;gap:20px;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--pay-border)}.checkout-order-details dt{color:var(--pay-muted)}.checkout-order-details dd{text-align:right;overflow-wrap:anywhere}.payment-qr{display:block;width:min(100%,280px);height:auto;border-radius:16px;margin:0 auto 22px}.payment-detail{overflow-wrap:anywhere}.home-premium-card .action-button{justify-content:center}.story-card-title{overflow-wrap:anywhere}
@media(max-width:420px){.mobile-header-actions>.action-button{padding:7px 8px;font-size:11px}.site-brand__domain{letter-spacing:0!important}}
@media(min-width:1280px){header nav>a,header nav>div>button{white-space:nowrap}header .h-16>div.hidden form{width:clamp(150px,15vw,256px)}header .h-16>div.hidden form input{width:100%!important}}
@media(min-width:1280px){header .h-16>div.hidden>a,header .h-16>div.hidden>[data-theme-toggle]{white-space:nowrap;flex-shrink:0}header .h-16>div.hidden{gap:10px}header .h-16>div.hidden form{min-width:120px}}
@media(min-width:1280px) and (max-width:1399px){header nav>a,header nav>div>button{font-size:13px;padding-left:8px;padding-right:8px}header .h-16>div.hidden{gap:8px}header .h-16>div.hidden form{width:150px}}
html.light[data-accent] .theme-soft.text-white{color:var(--accent)!important}
html.light[data-accent] [data-theme-toggle]{background:#e4f2e9!important;border-color:#9dbdab!important}
html.light[data-accent] [data-theme-toggle] .theme-moon{color:#075c40!important}
.php-admin-content>section+section,.php-admin-content>div+section{margin-top:24px}
/* Brighten the cover itself without washing out the featured title or controls. */
.home-featured-story{isolation:isolate;background-image:none!important}
.home-featured-story::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:var(--featured-cover);background-size:cover;background-position:center;filter:brightness(.82);transition:filter .3s ease}
.home-featured-story>div:first-child{z-index:1;transition:opacity .3s ease}
.home-featured-story:is(:hover,:focus-visible)::before{filter:brightness(1.12)}
.home-featured-story:is(:hover,:focus-visible)>div:first-child{opacity:.68}
html.light[data-accent] .story-card:not(.home-featured-story):is(:hover,:focus-visible){border-color:#c2410c!important;box-shadow:0 0 0 1px #c2410c40}
html.light[data-accent] .story-card:not(.home-featured-story):is(:hover,:focus-visible) .story-card-title{color:#9a3412!important}
html[data-accent] .story-card .story-thumb-play,html[data-accent] .story-card .story-thumb-play svg,html[data-accent] .story-card .story-thumb-play svg path,html[data-accent] .home-featured-play,html[data-accent] .home-featured-play svg,html[data-accent] .home-featured-play svg path{color:#fff!important;fill:#fff!important;-webkit-text-fill-color:#fff!important}
html.light[data-accent=forest] body .story-card .story-thumb-play,html.light[data-accent=forest] body .story-card .story-thumb-play svg,html.light[data-accent=forest] body .story-card .story-thumb-play svg path{color:#fff!important;fill:#fff!important;-webkit-text-fill-color:#fff!important}
/* Keep the source ranking card, decoration and detail link intact. */
.home-weekly-ranking>div{border:0;border-radius:0;background:transparent;padding:0;min-height:0}
.weekly-ranking-card{display:flex;flex:1;flex-direction:column;min-height:250px}
.weekly-ranking-rows{flex:1}.weekly-ranking-more{position:relative;z-index:1;flex-shrink:0}
.weekly-ranking-row{display:flex;align-items:center;gap:10px;padding:11px 8px;border-radius:12px;background:color-mix(in srgb,var(--surface) 80%,var(--accent-soft))}
.weekly-ranking-position{font-size:18px;font-weight:800;color:var(--readable-muted);min-width:24px}.weekly-ranking-position.rank-1,.weekly-ranking-position.rank-2,.weekly-ranking-position.rank-3{color:#f0b444}
.weekly-ranking-avatar{width:36px;height:36px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:700;overflow:hidden}.weekly-ranking-avatar img{width:100%;height:100%;object-fit:cover}
.weekly-ranking-member{min-width:0}.weekly-ranking-member strong{display:block;overflow-wrap:anywhere;font-size:13px;color:var(--readable-text)}.weekly-ranking-member span{font-size:11px;color:var(--readable-muted)}
.weekly-ranking-empty{border:1px dashed var(--accent-edge);border-radius:12px;padding:24px 12px;text-align:center;font-size:13px;line-height:1.8;color:var(--readable-muted)}
html.light .weekly-ranking-position.rank-1,html.light .weekly-ranking-position.rank-2,html.light .weekly-ranking-position.rank-3{color:#92500a}
.site-partners{margin-top:18px}.site-partners h4{font-size:14px;font-weight:600;margin-bottom:12px}.partner-links{display:flex;flex-wrap:wrap;gap:10px}
.site-icon-link{--icon-bg:#334155;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:var(--icon-bg)!important;color:#fff!important;border:1px solid #ffffff35;box-shadow:0 3px 10px #0002;transition:transform .18s,box-shadow .18s;text-decoration:none!important}
.site-icon-link svg{width:24px;height:24px;overflow:visible}.site-icon-link:is(:hover,:focus-visible){transform:translateY(-2px);box-shadow:0 5px 16px #0003;color:#fff!important}
html[data-accent] footer .site-icon-link:is(:hover,:focus-visible){color:#fff!important}
.site-icon-youtube{--icon-bg:#db1027}.site-icon-facebook{--icon-bg:#1877f2}.site-icon-zalo{--icon-bg:#0068ff}.site-icon-telegram{--icon-bg:#1683b8}.site-icon-whatsapp{--icon-bg:#168249}.site-icon-email{--icon-bg:#b54b0b}
.contact-shortcuts{position:fixed;right:16px;bottom:110px;z-index:40;display:flex;flex-direction:column;gap:10px;max-height:min(500px,60dvh);overflow-y:auto;padding:6px;scrollbar-width:thin}
body:has(#player[data-docked="1"]:not([hidden])) .contact-shortcuts{bottom:230px;max-height:calc(100dvh - 350px)}
.site-links-editor{margin-top:28px;padding:24px;border:1px solid var(--accent-edge);border-radius:16px;background:var(--surface);scroll-margin-top:160px}
.site-links-editor h2{font-size:20px;font-weight:700;margin-bottom:10px;color:var(--readable-text)}
.site-link-row{display:grid;grid-template-columns:110px 150px minmax(150px,1fr) 104px;gap:12px;padding:16px 0;border-bottom:1px solid var(--accent-edge);align-items:end}
.site-link-row label{font-size:12px;color:var(--readable-muted);min-width:0}.site-link-row .form-input{font-size:13px;padding:10px}
.site-link-visible{display:flex;align-items:center;gap:8px;font-size:13px}.site-link-tools>div{display:flex;gap:5px;margin-top:10px}.site-link-tools button{width:29px;height:29px;border:1px solid var(--accent-edge);border-radius:6px;color:var(--readable-text)}
.site-links-save{padding:10px 18px;border-radius:10px;background:#086347;color:#fff;font-size:13px;font-weight:700}.site-links-save:hover{background:#064d35}.site-links-editor [data-links-error]:empty{display:none}
@media(max-width:1000px){.site-link-row{grid-template-columns:1fr 1fr}.site-link-url{grid-column:1/-1}.site-link-tools{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.site-link-tools>div{margin-top:0}}
@media(max-width:639px){.site-links-editor{padding:18px}.contact-shortcuts{right:10px;bottom:82px;gap:8px}.site-icon-link{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.home-featured-story::before,.home-featured-story>div:first-child,.site-icon-link{transition:none}}
.recent-listening-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.recent-listening-heading h2{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;line-height:1.5;color:var(--readable-text)}
.recent-listening-heading h2>span{width:6px;height:24px;border-radius:9px;background:linear-gradient(#14b8a6,#22d3ee);flex-shrink:0}
.recent-listening-heading>a{font-size:13px;font-weight:600;white-space:nowrap;color:var(--accent)}.recent-listening-heading>a:hover{text-decoration:underline;text-underline-offset:4px}
.recent-listening-card{min-width:0;display:flex}.recent-listening-card>.story-card{width:100%;height:100%}
.recent-continue{margin:0 0 12px;padding:10px 12px;background:linear-gradient(135deg,#06130f,#091018);border:1px solid #285344;border-radius:10px;line-height:1.5}
.recent-continue>span{display:block;font-size:10px;font-weight:800;color:#83e6c3;letter-spacing:.04em}.recent-continue>strong{display:block;font-size:12px;font-weight:500;color:#f3faf6;overflow-wrap:anywhere}.recent-continue>small{display:block;font-size:10px;color:#aec6bc;margin-top:3px}
.recent-listening-empty{padding:24px;border:1px dashed var(--accent-edge);border-radius:16px;color:var(--readable-muted);font-size:14px;line-height:1.8}.recent-listening-empty>a{display:inline-block;color:var(--accent);font-weight:600;margin-top:10px}
html.light .recent-continue{background:linear-gradient(135deg,#e2f4e9,#f5faf7);border-color:#b4d5c1}html.light .recent-continue>span{color:#075c40}html.light .recent-continue>strong{color:#193d2b}html.light .recent-continue>small{color:#4b6356}
.admin-story-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:20px;margin-bottom:24px}
.admin-story-add,.admin-story-search-button,.admin-story-edit{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:13px;font-weight:700;line-height:1.4;border-radius:10px;text-decoration:none!important;color:#fff!important}
.admin-story-add{min-height:44px;padding:10px 18px;background:#086347;box-shadow:0 3px 9px #08634720}
.admin-story-search{display:flex;align-items:flex-end;gap:12px;flex:1;max-width:580px;margin-left:auto}
.admin-story-search-field{flex:1;min-width:0;max-width:400px;font-size:12px;color:var(--readable-muted)}
.admin-story-search-field .form-input{height:44px;margin-top:8px;font-size:13px;padding:10px 12px;box-sizing:border-box}
.admin-story-search-button{height:44px;min-width:150px;padding:10px 20px;border:1px solid #268b69;background:#08714f;box-shadow:0 4px 10px #08634726;transition:background .2s,box-shadow .2s}
.admin-story-search-button:hover,.admin-story-add:hover{background:#065b40;box-shadow:0 5px 14px #08634738}
.admin-story-search-button svg,.admin-story-edit svg{width:17px;height:17px;flex-shrink:0;stroke-width:1.8}
.admin-story-table{min-width:720px;table-layout:fixed}.admin-story-genre-col{width:160px}.admin-story-audio-col{width:100px}.admin-story-action-col{width:124px}
.admin-story-table td{vertical-align:middle}.admin-story-table th:nth-child(1){color:#b9edd1!important}.admin-story-table th:nth-child(2){color:#93c5fd!important}.admin-story-table th:nth-child(3){color:#fdba74!important}.admin-story-table th:nth-child(4){color:#c4b5fd!important}
.admin-story-name{display:block;font-size:13px;line-height:1.7;font-weight:600;overflow-wrap:anywhere;color:#c9f0dc}.admin-story-author{display:block;font-size:11px;line-height:1.6;color:#c4b5fd;margin-top:6px}
.admin-story-genre{display:inline-block;font-size:12px;line-height:1.6;padding:5px 9px;border:1px solid #3b82f64d;border-radius:8px;background:#1d4ed81a;color:#93c5fd}
.admin-story-audio{display:block;font-size:12px;white-space:nowrap;color:#fdba74}.admin-story-audio strong{font-size:18px;font-weight:700;margin-right:3px}
.admin-story-hidden{display:inline-block;margin-top:6px;font-size:10px;color:#fda4af}.admin-story-edit{min-height:40px;min-width:90px;padding:9px 13px;background:#0369a1;border:1px solid #38bdf84d;box-shadow:0 3px 8px #0369a126;transition:background .2s}.admin-story-edit:hover{background:#075985}
.admin-story-no-results{text-align:center;padding:32px!important;color:var(--readable-muted)}
.admin-story-editor-heading{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:24px;scroll-margin-top:160px}.admin-story-editor-heading h2{font-size:22px;font-weight:700;color:var(--readable-text)}
html.light .admin-story-name{color:#1b4332}html.light .admin-story-author{color:#6d28d9}html.light .admin-story-genre{color:#075985;background:#eff6ff;border-color:#bfdbfe}html.light .admin-story-audio{color:#9a3412}html.light .admin-story-hidden{color:#9f1239}
html.light .admin-story-table th:nth-child(1){color:#166534!important}html.light .admin-story-table th:nth-child(2){color:#075985!important}html.light .admin-story-table th:nth-child(3){color:#9a3412!important}html.light .admin-story-table th:nth-child(4){color:#6d28d9!important}
@media(max-width:760px){.admin-story-toolbar{align-items:stretch;gap:16px}.admin-story-search{margin-left:0;max-width:none;flex-basis:100%}.admin-story-search-field{max-width:none}}
@media(max-width:639px){.recent-listening-heading{align-items:flex-start;gap:10px}.recent-listening-heading h2{font-size:20px}.recent-listening-heading>a{padding-top:4px;font-size:12px}}
@media(max-width:420px){.admin-story-search{flex-wrap:wrap}.admin-story-search-field{flex-basis:100%}.admin-story-search-button{width:100%}}
/* Account and integration controls remain readable in both themes. */
.google-auth-block{margin:26px 0 22px}.google-auth-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:12px 18px;border:1px solid #d0d7e2;border-radius:11px;background:#fff!important;color:#172033!important;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none!important;box-shadow:0 2px 4px #0001;transition:box-shadow .2s,border-color .2s}
.google-auth-button svg{width:20px;height:20px;flex-shrink:0}.google-auth-button:not(:disabled):hover{border-color:#8f9bad;box-shadow:0 3px 10px #0002}.google-auth-button:focus-visible{outline:3px solid #4285f4;outline-offset:3px}.google-auth-button:disabled{cursor:not-allowed;opacity:1}.google-auth-note{margin:10px 0 0;font-size:12px;line-height:1.7;text-align:center;color:var(--readable-muted)}.google-auth-error{margin-top:14px;padding:12px;border-radius:9px;background:#4c1721;color:#ffc5cd;font-size:13px;line-height:1.7}
.google-profile-link{margin-top:28px;padding-top:24px;border-top:1px solid var(--accent-edge)}.google-profile-link h3{font-weight:700;font-size:18px;margin-bottom:12px}.google-profile-link p{font-size:13px;color:var(--readable-muted);margin-bottom:18px}.google-profile-link form{display:grid;gap:16px}.google-profile-link button{justify-self:start}.google-link-state{padding:16px;border:1px solid var(--accent-edge);border-radius:12px;margin-top:20px;line-height:1.8;color:var(--readable-text)}
.user-role-badge{display:inline-flex;align-items:center;white-space:nowrap;font-size:12px;font-weight:750;line-height:1.5;padding:6px 10px;border:1px solid;border-radius:8px;margin-bottom:8px}.user-role-super{color:#fde68a;background:#78350f55;border-color:#d995395c}.user-role-admin{color:#93c5fd;background:#1e40af33;border-color:#60a5fa55}.user-role-member{color:#cbd5e1;background:#33415533;border-color:#64748b55}.admin-profile-role{margin:0 0 12px}
html.light .user-role-super{color:#854d0e;background:#fef3c7;border-color:#e6c77d}html.light .user-role-admin{color:#1e40af;background:#dbeafe;border-color:#93c5fd}html.light .user-role-member{color:#475569;background:#f1f5f9;border-color:#cbd5e1}html.light .google-auth-error{color:#9f1239;background:#ffe4e6}
.connection-test{margin-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.connection-test-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:10px;background:#0369a1;border:1px solid #38bdf84d;color:#fff!important;font-size:13px;font-weight:700;box-shadow:0 3px 8px #0369a126}.connection-test-button:hover{background:#075985}.connection-test-button:disabled{cursor:wait;opacity:.75}.connection-test [data-connection-result]{font-size:13px;line-height:1.8;padding:12px 14px;border-radius:10px;overflow-wrap:anywhere}.connection-test [data-connection-result]:empty{display:none}.connection-success{color:#a7f3d0;background:#064e3b66;border:1px solid #34d39955}.connection-warning{color:#fde68a;background:#78350f55;border:1px solid #fbbf2455}.connection-error{color:#fecdd3;background:#88133744;border:1px solid #fb718555}
html.light .connection-success{color:#065f46;background:#ecfdf5;border-color:#6ee7b7}html.light .connection-warning{color:#854d0e;background:#fffbeb;border-color:#fcd34d}html.light .connection-error{color:#9f1239;background:#fff1f2;border-color:#fda4af}.integration-callback{font-size:13px;line-height:1.8;overflow-wrap:anywhere;margin-bottom:24px;color:var(--readable-muted)}.integration-callback code{display:block;color:var(--readable-text);margin-top:8px}
/* Space actions away from neighboring forms, columns and report cards. */
.php-admin-content .admin-table :is(th,td){padding:16px 18px;line-height:1.75;vertical-align:middle}.php-admin-content .admin-table{width:100%;margin-top:8px}.php-admin-content .admin-table td .action-button{min-height:40px;padding:9px 14px;white-space:nowrap}.php-admin-content section>form+[data-action]{margin-top:22px}.php-admin-content .admin-export-action{margin-top:24px;margin-bottom:20px;min-height:44px;padding:11px 18px;background:#086347;color:#fff!important;box-shadow:0 3px 8px #08634726}.php-admin-content fieldset{padding-top:22px}.php-admin-content fieldset legend{padding:0 10px 6px 0;font-weight:650;line-height:1.7}.php-admin-content form>label.flex{align-items:flex-start;line-height:1.7}.php-admin-content form>label.flex input[type=checkbox]{margin-top:5px;flex-shrink:0}.php-admin-content>section+div{margin-top:24px}.php-admin-content .form-input{margin-top:8px}.php-admin-content form[data-api] p:empty{display:none}
.genre-discovery-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 16px;border:1px solid currentColor;border-radius:18px;color:#6ee7b7;background:#064e3b44;box-shadow:0 4px 15px #0001;transition:transform .2s,box-shadow .2s}.genre-discovery-icon svg{width:30px;height:30px;stroke-width:1.7}.genre-discovery-card:hover .genre-discovery-icon{transform:translateY(-3px);box-shadow:0 6px 16px #0002}
html.light .genre-discovery-icon{color:#047857;background:#ecfdf5;border-color:#a7d7c3}
html[data-accent] .promotion-label{display:inline-block;margin-bottom:16px;padding:6px 16px;border-radius:999px;background:#e51528!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:14px;font-weight:800;line-height:1.6;box-shadow:0 4px 14px #e5152833}
@media(max-width:639px){.php-admin-content .admin-table :is(th,td){padding:14px}.connection-test-button{max-width:100%}.genre-discovery-icon{width:58px;height:58px;border-radius:16px}}
.genre-discovery-eyebrow{color:#7cddba}html.light .genre-discovery-eyebrow{color:#126a4a}.php-admin-content>section+[data-action]{margin-top:24px}.php-admin-content .action-button[data-method=DELETE]{color:#fecdd3;border-color:#fb718566;background:#88133733}html.light .php-admin-content .action-button[data-method=DELETE]{color:#9f1239;border-color:#fda4af;background:#fff1f2}
.premium-plans-heading{display:flex;flex-direction:column;align-items:center;gap:18px;font-size:clamp(26px,4vw,48px);line-height:1.35;letter-spacing:-.025em;background:none}
html[data-accent] .premium-plans-heading-intro{display:block;color:#fff!important;-webkit-text-fill-color:#fff!important}
.premium-plans-heading-title{display:block;color:#fbbf24;background:linear-gradient(100deg,#fcd34d,#f59e0b);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;padding-bottom:4px}
html.light .premium-plans-heading{padding:28px 16px;border-radius:24px;background:#0b3529;border:1px solid #27634e}
@media(max-width:639px){.premium-plans-heading{gap:16px;font-size:clamp(24px,6.6vw,36px)}html.light .premium-plans-heading{padding:24px 10px;border-radius:18px}}
html.light[data-accent] body main .premium-price{background:none!important;color:#075c40!important;-webkit-text-fill-color:#075c40!important}
