:root {
    --bg: #eff7ff;
    --panel: #ffffff;
    --panel-soft: #f8fbff;
    --panel-2: #0d3a78;
    --line: #c8ddf4;
    --blue: #1261d6;
    --blue-dark: #082e63;
    --cyan: #1ea7df;
    --yellow: #ffbd22;
    --yellow-soft: #fff5c9;
    --text: #102241;
    --muted: #526b91;
    --danger: #ff536d;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Poppins, system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% -4%, rgba(255, 189, 34, .28), transparent 24%),
        radial-gradient(circle at 88% 4%, rgba(18, 97, 214, .16), transparent 28%),
        linear-gradient(180deg, #fafdff 0%, var(--bg) 100%);
    min-height: 100vh;
}
main,
.admin-main {
    animation: pageIn .28s ease both;
}
.page-entering {
    animation: pageIn .28s ease both;
}
.page-leaving {
    animation: pageOut .16s ease both;
}
.reveal-ready {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .42s ease, transform .42s ease;
}
.reveal-ready.revealed {
    opacity: 1;
    transform: translateY(0);
}
.admin-main .reveal-ready {
    opacity: 1;
    transform: none;
}
.modal-backdrop .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
}
.modal-backdrop.show .modal-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    display: grid !important;
    z-index: 1001 !important;
}
@keyframes pageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pageOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(6px); }
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
button, input, textarea, select { font: inherit; }

.shell { width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; }
.panel {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(13, 58, 120, .10);
}
.topbar {
    position: relative;
    top: auto;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px 18px;
    margin-bottom: 14px;
    border: 1px solid #174b8e;
    border-radius: 12px;
    background: var(--panel-2);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 26px rgba(13, 58, 120, .20);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand strong { display: block; font-size: 1rem; letter-spacing: .2px; }
.brand small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.topbar .brand strong { color: #ffffff; }
.topbar .brand small { color: rgba(255, 255, 255, .76); }
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    box-shadow: 0 10px 18px rgba(31, 101, 213, .24);
}
.brand-mark svg { width: 23px; height: 23px; }
.logo-slot {
    overflow: hidden;
    background: #ffffff;
}
.logo-slot img {
    width: 100%;
    height: 100%;
    padding: 2px;
    object-fit: contain;
    border-radius: inherit;
}
.logo-slot img + svg,
.logo-slot img + strong {
    display: none;
}
.topbar .brand-mark {
    color: var(--blue);
    background: #ffffff;
    box-shadow: none;
}
.nav { display: flex; justify-content: center; flex: 1; gap: 22px; font-size: .86rem; color: rgba(255, 255, 255, .86); }
.nav a {
    position: relative;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
}
.nav a:hover, .nav a.active { color: #ffffff; font-weight: 600; }
.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--yellow), #ffdf5c);
}
.nav-dropdown {
    position: relative;
    z-index: 101;
    display: none;
}
.nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 38px;
    width: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    color: var(--blue);
    background: #ffffff;
    cursor: pointer;
    font-weight: 700;
}
.nav-dropdown svg { width: 22px; height: 22px; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 102;
    display: none;
    width: min(240px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid #174b8e;
    border-radius: var(--radius);
    background: var(--panel-2);
    box-shadow: 0 18px 34px rgba(13, 58, 120, .28);
}
.nav-dropdown.open .dropdown-menu { display: grid; }
.dropdown-menu a {
    padding: 10px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, .86);
}
.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, .14);
}
.login-pill, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border: 0;
    border-radius: 7px;
    padding: 0 20px;
    color: white;
    cursor: pointer;
    background: var(--blue);
    box-shadow: 0 8px 18px rgba(33, 103, 214, .16);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover, .login-pill:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(33, 103, 214, .22); }
.btn svg { width: 17px; height: 17px; }
.primary, .login-pill { background: var(--blue); font-weight: 700; }
.flash {
    margin: 14px 0;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 211, 78, .42);
    color: #1a1400;
    background: var(--yellow);
    transition: opacity .32s ease, transform .32s ease;
}
.flash-error { border-color: rgba(255, 83, 109, .5); color: white; background: var(--danger); }
.flash-hide { opacity: 0; transform: translateY(-8px); }
.admin-toast {
    position: fixed;
    top: 22px;
    right: 26px;
    z-index: 1300;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(370px, calc(100vw - 32px));
    margin: 0;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(12, 36, 77, .18);
}
.admin-toast svg {
    flex: none;
    width: 19px;
    height: 19px;
}
.admin-toast.flash-success {
    border-color: #a9ddc7;
    background: #13855c;
}
.admin-toast.flash-error {
    border-color: #ff98ab;
}

.hero {
    min-height: 318px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    overflow: hidden;
    background: #ffffff;
}
.hero-copy { padding: clamp(26px, 4vw, 56px); align-self: center; }
.eyebrow, .section-label {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(2.25rem, 5vw, 4.3rem); line-height: .98; letter-spacing: 0; }
h1 span { color: var(--yellow); text-shadow: none; }
h2 { margin-bottom: 16px; color: var(--text); font-size: 1.15rem; }
.hero p { color: var(--muted); max-width: 680px; font-size: 1.04rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.live-badge, .listener-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    color: white;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(255, 83, 109, .9);
}
.live-badge.off-air {
    color: #6b7280;
    background: #eef2f7;
}
.listener-badge { background: rgba(31, 117, 255, .12); border: 1px solid var(--line); color: var(--text); }
.live-badge svg, .listener-badge svg { width: 14px; height: 14px; }
.hero-art {
    position: relative;
    min-height: 320px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.06), rgba(8,46,99,.72)),
        url("https://images.unsplash.com/photo-1590602847861-f357a9332bbc?auto=format&fit=crop&w=1200&q=80") center/cover;
}
.hero-art::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(transparent, rgba(8, 46, 99, .54));
}
.wave {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 58%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), var(--cyan), transparent);
    box-shadow: none;
}
.wave-b { top: 48%; opacity: .5; transform: scaleX(.82); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 18px 0 26px;
}
.feature {
    padding: 20px;
    min-height: 126px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(31, 101, 213, .08);
}
.feature svg { color: var(--yellow); margin-bottom: 10px; filter: drop-shadow(0 4px 7px rgba(255, 189, 34, .24)); }
.feature strong, .feature span { display: block; }
.feature span { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.page-menu .feature { transition: border-color .18s ease, background .18s ease; }
.page-menu .feature:hover { border-color: var(--blue); background: #ffffff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(31, 101, 213, .14); }

.page-stack {
    display: grid;
    gap: 18px;
}
.page-heading {
    padding: 18px 0 6px;
}
.page-heading h1 {
    margin: 6px 0 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
}
.page-heading p {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--muted);
}
.page-panel { padding: 24px; }
.narrow-page { max-width: 760px; margin-inline: auto; }
.span-2 { grid-column: span 2; }

.stream-layout {
    display: grid;
    grid-template-columns: 1.35fr .72fr;
    gap: 18px;
    margin-bottom: 26px;
}
.player { position: relative; min-height: 360px; padding: 28px; overflow: hidden; color: white; background: linear-gradient(135deg, #073169 0%, #0d58bc 100%); }
.player .section-label { position: relative; z-index: 3; color: #ffffff; }
.offair-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
    background: #061f45;
}
.offair-video-placeholder {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    color: rgba(255,255,255,.82);
}
.offair-video-placeholder svg { width: 44px; height: 44px; }
.offair-sound-button {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(4, 18, 44, .62);
    backdrop-filter: blur(10px);
    font-weight: 800;
    cursor: pointer;
}
.offair-sound-button svg { width: 18px; height: 18px; }
body.is-off-air .offair-sound-button { display: inline-flex; }
body.offair-sound-on .offair-sound-button {
    color: #12315c;
    background: rgba(255,255,255,.9);
}
body.is-off-air .offair-video { opacity: 1; }
body.is-off-air .visualizer,
body.is-off-air .play-button {
    opacity: 0;
    pointer-events: none;
}
.player::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 20, 48, .44), rgba(3, 20, 48, .18) 42%, rgba(3, 20, 48, .52));
    opacity: 0;
    transition: opacity .28s ease;
}
body.is-off-air .player::after { opacity: 1; }
.player-brand {
    position: relative;
    z-index: 3;
    display: inline-block;
    margin-top: 34px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    font-size: 1.65rem;
    font-weight: 800;
}
.player-brand small { display: block; color: rgba(255,255,255,.78); font-size: .75rem; text-transform: uppercase; }
.visualizer {
    position: absolute;
    inset: 38% 24px auto 24px;
    z-index: 2;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: .85;
}
.visualizer span {
    width: 3px;
    height: var(--h);
    border-radius: 8px;
    background: rgba(255,255,255,.82);
    animation: none;
    animation-delay: calc(var(--h) * -8ms);
    opacity: .35;
}
.visualizer.is-playing span {
    animation: pulse 1.1s ease-in-out infinite alternate;
    opacity: 1;
}
@keyframes pulse { from { transform: scaleY(.45); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
.play-button {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 50%;
    color: var(--blue);
    background: #ffffff;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(33, 103, 214, .28);
}
.play-button.is-playing {
    background: #0f9f6e;
    color: #ffffff;
}
.play-button.is-disabled,
.global-play.is-disabled {
    cursor: not-allowed;
    opacity: .62;
}
.play-button svg { width: 34px; height: 34px; }
.player-meta { position: absolute; z-index: 3; bottom: 22px; left: 26px; display: flex; gap: 10px; }
.schedule-mini, .now-card, .studio-card { padding: 22px; }
.mt { margin-top: 20px; }
.current-on-air {
    margin-bottom: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 201, 40, .42);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff9dd, #f7fbff);
}
.mini-row, .program-row, .admin-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.mini-row:last-child, .program-row:last-child, .admin-row:last-child { border-bottom: 0; }
.mini-row span, .program-row span, small { color: var(--muted); }
.now-card { display: flex; align-items: center; gap: 16px; }
.now-card img { width: 74px; height: 74px; border-radius: 50%; border: 3px solid var(--yellow); }
.now-card span, .now-card strong, .now-card small { display: block; }
.studio-card p { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 10px; }

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr .95fr;
    gap: 16px;
}
.schedule, .news, .request-form, .chat, .gallery { padding: 22px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: #f8fbff;
    cursor: pointer;
}
.tabs button.active { color: #111827; background: var(--yellow); border-color: var(--yellow); font-weight: 700; box-shadow: 0 8px 16px rgba(255, 201, 40, .22); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Jadwal siaran dinamis */
.schedule-page {
    max-width: 1220px;
    margin-inline: auto;
}
.schedule-heading {
    max-width: 760px;
}
.schedule-heading p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--muted);
}
.schedule-showcase {
    display: grid;
    gap: 22px;
}
.schedule-day-tabs {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(31, 117, 255, .18);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 48, 90, .09);
}
.schedule-day-tabs button {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 58px;
    padding: 7px 5px;
    border: 0;
    border-right: 1px solid rgba(31, 117, 255, .12);
    border-radius: 0;
    color: var(--text);
    background: #ffffff;
    box-shadow: none;
}
.schedule-day-tabs button:last-child {
    border-right: 0;
}
.schedule-day-tabs button span {
    font-size: .84rem;
    font-weight: 700;
}
.schedule-day-tabs button small {
    color: var(--muted);
    font-size: .57rem;
}
.schedule-day-tabs button:hover {
    background: #f3f8ff;
}
.schedule-day-tabs button.active {
    color: #ffffff;
    border-color: var(--blue);
    background: linear-gradient(145deg, #0f4388, var(--blue));
    box-shadow: inset 0 -4px 0 var(--yellow);
}
.schedule-day-tabs button.active small {
    color: rgba(255,255,255,.75);
}
.schedule-showcase .tab-panel {
    padding: 22px;
    border: 1px solid rgba(31, 117, 255, .18);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 20px 48px rgba(15, 48, 90, .1);
}
.schedule-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.schedule-panel-head h2 {
    margin: 3px 0 0;
}
.schedule-today-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #805500;
    background: #fff2bd;
    font-size: .74rem;
    font-weight: 800;
}
.schedule-today-badge svg {
    width: 17px;
    height: 17px;
}
.program-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.program-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(31, 117, 255, .16);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 48, 90, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.program-card:hover {
    border-color: rgba(31, 117, 255, .38);
    box-shadow: 0 20px 38px rgba(15, 48, 90, .15);
    transform: translateY(-4px);
}
.program-card.on-air {
    border-color: rgba(255, 177, 0, .78);
    box-shadow: 0 18px 42px rgba(255, 177, 0, .18);
}
.program-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #dcecff;
}
.program-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.program-card:hover .program-card-media > img {
    transform: scale(1.035);
}
.program-card-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 15%, rgba(255,201,40,.95) 0 9%, transparent 10%),
        linear-gradient(145deg, #0c376f, #176bd4 64%, #4caeff);
}
.program-card-fallback::before,
.program-card-fallback::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
}
.program-card-fallback::before {
    width: 160px;
    height: 160px;
    left: -45px;
    bottom: -85px;
}
.program-card-fallback::after {
    width: 105px;
    height: 105px;
    right: -34px;
    top: -44px;
}
.program-card-fallback span {
    font-size: 4rem;
    font-weight: 900;
    opacity: .24;
}
.program-card-fallback svg {
    position: absolute;
    width: 42px;
    height: 42px;
}
.program-time,
.program-live-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
}
.program-time {
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    color: #ffffff;
    background: rgba(8, 25, 55, .82);
    backdrop-filter: blur(8px);
}
.program-live-badge {
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    color: #ffffff;
    background: #e11d48;
    box-shadow: 0 8px 18px rgba(225,29,72,.3);
}
.program-time svg,
.program-live-badge svg {
    width: 15px;
    height: 15px;
}
.program-card-body {
    padding: 13px;
}
.program-day-label {
    color: var(--blue);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.program-card-body h3 {
    margin: 5px 0 7px;
    overflow: hidden;
    color: var(--text);
    font-size: .94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.program-card-body > p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: .69rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.program-host {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid rgba(31,117,255,.12);
}
.program-host > span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    color: var(--blue);
    background: rgba(31,117,255,.1);
}
.program-host svg {
    width: 17px;
    height: 17px;
}
.program-host small,
.program-host strong {
    display: block;
}
.program-host small {
    color: var(--muted);
    font-size: .62rem;
}
.program-host strong {
    color: var(--text);
    font-size: .7rem;
}
.schedule-empty {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    min-height: 230px;
    padding: 28px;
    border: 1px dashed rgba(31,117,255,.3);
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
    background: #f7fbff;
}
.schedule-empty svg {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    color: var(--blue);
}
.schedule-empty strong {
    color: var(--text);
}
.program-admin-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.program-admin-title > div {
    min-width: 0;
}
.program-admin-fallback {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--blue);
    background: rgba(31,117,255,.1);
}
.program-admin-fallback svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 1160px) {
    .program-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 980px) {
    .schedule-day-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .schedule-day-tabs button:nth-child(4) {
        border-right: 0;
    }
    .schedule-day-tabs button:nth-child(-n+4) {
        border-bottom: 1px solid rgba(31,117,255,.12);
    }
    .program-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .program-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .schedule-day-tabs {
        display: flex;
        overflow-x: auto;
        border-radius: 15px;
        scroll-snap-type: x mandatory;
    }
    .schedule-day-tabs button {
        flex: 0 0 94px;
        min-height: 54px;
        border-right: 1px solid rgba(31,117,255,.12);
        border-bottom: 0 !important;
        scroll-snap-align: start;
    }
    .schedule-showcase .tab-panel {
        padding: 14px;
    }
    .schedule-panel-head {
        align-items: flex-start;
    }
    .program-card-grid {
        grid-template-columns: 1fr;
    }
}
.program-row { grid-template-columns: 110px 1fr auto; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.news article {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(33, 103, 214, .08);
}
.news img { height: 210px; }
.news article span, .news article strong, .news article small { display: block; margin: 10px 12px; }
.news article span { color: var(--yellow); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.news article strong { min-height: 58px; font-size: .9rem; }
.news article p { margin: 0 12px 12px; color: var(--muted); font-size: .86rem; }
.news-photo-link {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.news-photo-link img { transition: transform .22s ease; }
.news-photo-link:hover img { transform: scale(1.035); }
.news-expanded {
    margin: 0 12px 12px;
    padding: 12px 0 2px;
    border-top: 1px solid var(--line);
}
.news-expanded p { margin: 0; line-height: 1.7; }
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 12px 14px;
    color: var(--blue);
    font-size: .8rem;
    font-weight: 700;
}
.read-more svg { width: 14px; height: 14px; }
.news-detail-page { max-width: 960px; margin-inline: auto; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    color: var(--blue);
    font-weight: 600;
}
.back-link svg { width: 18px; height: 18px; }
.news-detail { padding: clamp(20px, 4vw, 40px); }
.news-detail h1 { margin: 10px 0 10px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; }
.news-detail > small { display: block; margin-bottom: 24px; }
.news-detail > p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-top: 26px; }
.news-detail-image {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: zoom-in;
}
.news-detail-image img { max-height: 560px; }
.news-detail-image span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(8, 46, 99, .82);
    font-size: .8rem;
    font-weight: 600;
}
.news-detail-image span svg { width: 15px; height: 15px; }
.related-news { padding: 24px; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: auto;
    padding: 72px 20px 24px;
    background: rgba(6, 22, 46, .9);
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: min(920px, calc(100vw - 96px));
    max-height: min(70vh, 620px);
    width: auto;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 18px 50px rgba(4, 19, 43, .32);
}
.lightbox button {
    position: absolute;
    top: 18px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255,255,255,.15);
    cursor: pointer;
}
.lightbox button svg { width: 18px; height: 18px; }

.request-song-page { max-width: 1180px; margin-inline: auto; }
.request-song-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
}
.request-form {
    display: grid;
    align-content: start;
    gap: 11px;
    min-height: 100%;
}
.request-form-head h2 { margin-bottom: 0; }
.request-form textarea { min-height: 138px; resize: vertical; }
.top-request-panel {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 100%;
}
.top-request-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.top-request-head h2 { margin-bottom: 0; }
.top-request-head > svg {
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 50%;
    color: #8a5d00;
    background: #fff1b8;
}
.top-request-list { display: grid; gap: 10px; }
.top-request-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f7fbff);
}
.top-request-rank {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-weight: 800;
}
.top-request-item:first-child .top-request-rank {
    color: #7a4f00;
    background: linear-gradient(135deg, #ffd75a, #fff2b8);
}
.top-request-item strong,
.top-request-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-request-item strong { color: var(--text); }
.top-request-item small { color: var(--muted); }
.top-request-count {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--blue);
    background: rgba(31, 117, 255, .1);
    font-weight: 800;
}
.top-request-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    color: var(--muted);
    background: var(--panel-soft);
}
.top-request-empty svg { width: 20px; height: 20px; }

/* Request lagu: pencarian katalog dan kartu top request */
.request-song-heading {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}
.request-song-heading p {
    max-width: 650px;
    margin: 8px auto 0;
    color: var(--muted);
}
.request-song-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    align-items: start;
    gap: 22px;
}
.request-form,
.top-request-panel {
    border: 1px solid rgba(31, 117, 255, .18);
    box-shadow: 0 22px 50px rgba(15, 48, 90, .1);
}
.request-form {
    position: sticky;
    top: 18px;
    gap: 14px;
}
.request-field {
    display: grid;
    gap: 7px;
}
.request-field > span:first-child {
    color: var(--text);
    font-size: .82rem;
    font-weight: 700;
}
.request-field input,
.request-field textarea {
    width: 100%;
}
.request-song-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}
.song-search-box {
    position: relative;
    z-index: 8;
}
.song-search-input {
    position: relative;
    display: block;
}
.song-search-input > svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--blue);
    transform: translateY(-50%);
    pointer-events: none;
}
.song-search-input input {
    padding-left: 42px;
    padding-right: 42px;
}
.song-search-spinner {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid rgba(31, 117, 255, .22);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: song-search-spin .7s linear infinite;
}
@keyframes song-search-spin {
    to { transform: rotate(360deg); }
}
.song-search-help {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .72rem;
}
.song-search-results {
    position: absolute;
    z-index: 20;
    top: calc(100% - 20px);
    right: 0;
    left: 0;
    max-height: 330px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgba(31, 117, 255, .22);
    border-radius: 15px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 44px rgba(15, 48, 90, .2);
}
.song-search-result {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 11px;
    color: var(--text);
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.song-search-result:hover,
.song-search-result:focus-visible {
    outline: none;
    background: rgba(31, 117, 255, .09);
}
.song-search-result img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--panel-soft);
}
.song-search-result strong,
.song-search-result small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.song-search-result small {
    margin-top: 3px;
    color: var(--muted);
}
.song-search-result > svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}
.song-search-message {
    padding: 14px;
    color: var(--muted);
    text-align: center;
    font-size: .82rem;
}
.selected-song-card {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(31, 117, 255, .18);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(31,117,255,.09), rgba(84,204,255,.08));
}
.selected-song-card:not([hidden]) { display: grid; }
.selected-song-card img {
    width: 54px;
    height: 54px;
    border-radius: 11px;
    object-fit: cover;
}
.selected-song-card strong,
.selected-song-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.selected-song-card small {
    margin-top: 3px;
    color: var(--muted);
}
.selected-song-card > svg {
    width: 22px;
    height: 22px;
    color: #16a34a;
}
.request-submit {
    width: 100%;
    justify-content: center;
}
.top-request-list { gap: 12px; }
.top-request-item {
    grid-template-columns: 42px 64px minmax(0, 1fr) auto;
    min-height: 88px;
    padding: 10px 12px;
    border-color: rgba(31, 117, 255, .14);
    background:
        linear-gradient(120deg, rgba(31,117,255,.09), rgba(255,255,255,.94) 48%, rgba(21,172,255,.08));
    box-shadow: 0 10px 25px rgba(15, 48, 90, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.top-request-item:hover {
    border-color: rgba(31, 117, 255, .35);
    box-shadow: 0 15px 30px rgba(15, 48, 90, .12);
    transform: translateY(-2px);
}
.top-request-rank {
    width: 42px;
    height: 42px;
    font-size: 1.12rem;
}
.top-request-cover {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 13px;
    color: var(--blue);
    background: linear-gradient(145deg, #dceaff, #f2f7ff);
}
.top-request-cover-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--blue);
    font-size: 1.35rem;
    font-weight: 800;
}
.top-request-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 3px;
    border-radius: inherit;
    background: #eef5ff;
    object-fit: contain;
}
.top-request-cover img[hidden] {
    display: none !important;
}
.top-request-cover.has-cover .top-request-cover-fallback {
    display: none;
}
.top-request-info {
    min-width: 0;
}
.top-request-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 66px;
    padding: 7px 10px;
    text-align: center;
}
.top-request-count strong {
    color: var(--blue);
    font-size: 1rem;
}
.top-request-count small {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 600;
}
.top-request-placeholder {
    border-style: dashed;
    box-shadow: none;
    opacity: .7;
}
.top-request-placeholder:hover {
    border-color: rgba(31, 117, 255, .14);
    box-shadow: none;
    transform: none;
}
.top-request-placeholder .top-request-rank {
    color: var(--muted);
    background: #e8eef7;
}
@media (max-width: 820px) {
    .request-song-layout {
        grid-template-columns: 1fr;
    }
    .request-form {
        position: static;
    }
}
@media (max-width: 560px) {
    .request-song-fields {
        grid-template-columns: 1fr;
    }
    .top-request-item {
        grid-template-columns: 34px 54px minmax(0, 1fr) auto;
        gap: 9px;
        min-height: 76px;
        padding: 9px;
    }
    .top-request-rank {
        width: 34px;
        height: 34px;
    }
    .top-request-cover {
        width: 54px;
        height: 54px;
    }
    .top-request-count {
        min-width: 52px;
        padding: 6px;
    }
    .top-request-count small {
        display: none;
    }
}
.advertisement-page {
    max-width: 1180px;
    margin-inline: auto;
}
.advertisement-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 400px);
    align-items: start;
    gap: 18px;
}
.ad-submission-form,
.ad-payment-panel {
    height: auto;
}
.ad-submission-form {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 0;
    padding: 20px;
}
.ad-submission-form .form-group-validation {
    margin-bottom: 0;
}
.ad-submission-form label {
    margin-bottom: 6px;
}
.ad-submission-form input,
.ad-submission-form select {
    min-height: 40px;
}
.ad-submission-form textarea {
    min-height: 144px;
}
.ad-submission-form .btn {
    margin-top: 3px;
}
.ad-submission-form h2,
.ad-payment-panel h2 {
    margin: 0 0 7px;
    font-size: 1.35rem;
}
.ad-payment-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ad-payment-title h2 {
    margin: 0;
}
.discount-badge {
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: #0f9f6e;
    font-size: .76rem;
    font-weight: 700;
}
.ad-field {
    display: grid;
    gap: 8px;
}
.ad-payment-panel {
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 16px;
}
.ad-rate,
.ad-calculation {
    display: grid;
    gap: 2px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.ad-rate {
    background: #f4f8ff;
}
.ad-rate span,
.ad-calculation span {
    color: var(--muted);
    font-size: .78rem;
}
.ad-rate strong {
    color: var(--blue);
    font-size: 1.08rem;
}
.ad-rate small,
.ad-calculation small {
    color: var(--muted);
    font-size: .76rem;
}
.ad-rate-example {
    margin-top: 4px;
    padding-top: 5px;
    border-top: 1px dashed var(--line);
    font-weight: 600;
}
.ad-calculation {
    border-color: #ffd65c;
    background: #fffaf0;
}
.ad-calculation strong {
    color: var(--text);
    font-size: 1.18rem;
}
.ad-calculation s {
    color: var(--muted);
    font-size: .88rem;
}
.payment-steps {
    display: grid;
    gap: 6px;
}
.payment-steps h3 {
    margin: 0 0 2px;
    font-size: .94rem;
}
.payment-steps p {
    margin: 0;
    color: var(--muted);
    font-size: .79rem;
    line-height: 1.38;
}
.payment-account {
    display: grid;
    justify-self: center;
    width: min(100%, 318px);
    gap: 2px;
    margin: 3px 0;
    padding: 11px 13px;
    border-radius: 9px;
    color: #ffffff;
    background: #11377a;
    box-shadow: 0 8px 18px rgba(13, 58, 120, .14);
}
.payment-account > strong {
    display: block;
    margin-bottom: 1px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .4px;
}
.payment-account span {
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: .3px;
}
.account-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}
.copy-account {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 7px;
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
}
.copy-account svg { width: 13px; height: 13px; }
.copy-account.copied {
    border-color: #80e4bd;
    background: rgba(15, 159, 110, .28);
}
.payment-account small {
    color: rgba(255, 255, 255, .8);
    font-size: .75rem;
    font-weight: 500;
}
.payment-account.pending {
    color: var(--text);
    background: #f4f8ff;
}
.payment-account.pending span {
    font-size: .87rem;
}
.payment-account.pending small {
    color: var(--muted);
}
.payment-note {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--muted);
    background: #f4f8ff;
    font-size: .76rem;
}
.confirmation-contact {
    display: grid;
    gap: 6px;
    padding-top: 9px;
    border-top: 1px solid var(--line);
}
.confirmation-contact p {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}
.confirmation-contact .btn {
    justify-content: center;
}
.copy-contact {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--primary);
    background: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.copy-contact svg {
    width: 16px;
    height: 16px;
}
.copy-contact.copied {
    border-color: #71cba9;
    color: #087b55;
    background: #ecfbf4;
}
input, textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text);
    background: rgba(255,255,255,.82);
    outline: 0;
}
input, select { min-height: 42px; padding: 0 12px; }
textarea { min-height: 94px; padding: 12px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 211, 78, .14); }
.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.file-picker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(255,255,255,.82);
}
.file-picker.field-error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(255, 83, 109, .14);
}
.file-trigger {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #b8d1f2;
    border-radius: 7px;
    color: var(--blue);
    background: #eff6ff;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.file-trigger:hover { background: #e5f0ff; }
.file-name {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-picker.has-file .file-name {
    color: var(--text);
    font-weight: 600;
}
.file-preview {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px;
    border-radius: 7px;
    color: var(--muted);
    background: #f4f8ff;
    font-size: .76rem;
}
.file-preview[hidden] { display: none; }
.file-preview img {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
}
input.field-error,
textarea.field-error,
select.field-error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(255, 83, 109, .14);
}
.field-error-message {
    display: block;
    margin-top: -4px;
    color: var(--danger);
    font-size: .76rem;
    font-weight: 600;
}

.chat { grid-column: span 1; }
.gallery { grid-column: span 2; }
.chat-room-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 18px;
}
.chat-room {
    padding: 24px;
    overflow: hidden;
}
.chat-room-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.chat-room-head h2 {
    margin: 12px 0 0;
    font-size: 1.4rem;
}
.chat-bubbles {
    min-height: 176px;
    height: 260px;
    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    scrollbar-gutter: stable;
    align-items: start;
}
.chat-list { display: grid; gap: 10px; margin-bottom: 14px; }
.chat-item {
    position: relative;
    padding: 12px 54px 12px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
}
.chat-bubble {
    display: inline-flex;
    gap: 10px;
    align-items: start;
    height: auto;
    min-height: 0;
    width: fit-content;
    max-width: min(72%, 430px);
    justify-self: start;
    padding: 10px 12px;
    box-shadow: 0 8px 18px rgba(13, 58, 120, .05);
}
.chat-bubbles .chat-bubble {
    align-self: start;
    padding-right: 12px;
}
.chat-bubble > div:nth-child(2) {
    flex: 0 1 auto;
    min-width: 0;
    width: max-content;
    max-width: min(285px, calc(100vw - 210px));
}
.chat-bubbles .chat-bubble:nth-child(odd) {
    border-color: #b8d5fa;
    background: #eef6ff;
}
.chat-bubbles .chat-bubble:nth-child(even) {
    border-color: #f6dc8e;
    background: #fff9e9;
}
.chat-bubbles .chat-bubble:nth-child(even) .chat-avatar {
    color: var(--blue-dark);
    background: var(--yellow);
}
.chat-bubbles .chat-bubble.is-own {
    flex-direction: row-reverse;
    justify-self: end;
    border-color: #b8d5fa;
    background: #e7f1ff;
}
.chat-bubble.is-own .chat-avatar {
    color: #ffffff;
    background: var(--blue);
}
.chat-bubble.is-own > div:nth-child(2) {
    text-align: right;
}
.chat-bubble.is-own small {
    order: 3;
}
.chat-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--blue);
    font-weight: 800;
}
.chat-info-card {
    padding: 24px;
    align-self: stretch;
    height: 100%;
}
.chat-info-card p {
    color: var(--muted);
    line-height: 1.65;
}
.info-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.info-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fbff;
    color: var(--muted);
    font-size: .9rem;
}
.info-list svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}
.empty-state {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 260px;
    color: var(--muted);
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: #f8fbff;
}
.empty-state svg {
    width: 42px;
    height: 42px;
    color: var(--blue);
}
.empty-state strong {
    color: var(--text);
}
.chat-compose {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.chat-compose > input[name="name"] {
    grid-column: 1;
    grid-row: 1;
}
.chat-compose > input[name="message"] {
    grid-column: 2;
    grid-row: 1;
}
.chat-compose > button[type="submit"] {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
}
.chat-compose .field-error-message {
    margin: -2px 2px 0;
    line-height: 1.35;
    font-size: .72rem;
}
.chat-compose .field-error-message[data-for="name"] {
    grid-column: 1;
    grid-row: 2;
}
.chat-compose .field-error-message[data-for="message"] {
    grid-column: 2;
    grid-row: 2;
}
.chat-submit-status {
    grid-column: 1 / 3;
    grid-row: 2;
    color: #d53d57;
    font-size: .76rem;
    font-weight: 500;
}
.chat-closed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #f8fbff;
    font-size: .9rem;
}
.chat-closed svg { width: 17px; height: 17px; }
.chat-item strong, .chat-item span { display: block; }
.chat-item span { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.chat-item small {
    flex: none;
    position: static;
    color: var(--muted);
    font-size: .74rem;
}
.chat-form { display: grid; grid-template-columns: .5fr 1fr auto; gap: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-page .gallery { grid-column: auto; align-self: start; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #ffffff; }
.gallery img { height: 210px; }
.gallery figcaption { padding: 12px; color: var(--muted); font-size: .86rem; }
.gallery figcaption strong, .gallery figcaption span, .gallery figcaption small { display: block; }
.gallery figcaption strong { color: var(--text); font-size: .95rem; }
.gallery figcaption span { color: var(--blue); font-weight: 700; margin-top: 2px; }
.gallery figcaption small { margin-top: 6px; line-height: 1.45; }
.page-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.page-pagination p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}
.pagination-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.pagination-links a,
.pagination-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 38px;
    min-width: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--blue);
    background: #ffffff;
    font-size: .82rem;
    font-weight: 600;
}
.pagination-links a:hover,
.pagination-links a.current {
    border-color: var(--blue);
    color: #ffffff;
    background: var(--blue);
}
.pagination-links span.disabled {
    color: #9aaac3;
    background: #f4f7fc;
}
.pagination-links svg { width: 15px; height: 15px; }
footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 22px;
    padding: 16px 20px 58px;
    border: 1px solid #174b8e;
    color: rgba(255, 255, 255, .82);
    background: var(--panel-2);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 24px rgba(13, 58, 120, .12);
}
footer p { margin: 0; }
footer p strong { color: #ffffff; }
.footer-brand .brand-mark {
    color: var(--blue);
    background: #ffffff;
    box-shadow: none;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}
.social-links {
    justify-self: end;
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 80;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 54px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    font-size: .78rem;
    font-weight: 700;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.social-links a:hover {
    transform: translateY(-2px);
    border-color: var(--yellow);
    color: #ffffff;
    background: rgba(255, 189, 34, .18);
}
.social-links svg { width: 18px; height: 18px; }

.global-player {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    display: grid;
    grid-template-columns: auto minmax(150px, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: min(420px, calc(100% - 36px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(33, 103, 214, .18);
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.global-player.dragging {
    cursor: grabbing;
    box-shadow: 0 18px 34px rgba(29, 95, 191, .22);
}
.global-play {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), #174fb1);
    cursor: pointer;
}
.radio-playing .global-play {
    background: #0f9f6e;
}
.global-player strong,
.global-player small {
    display: block;
}
.global-player small,
.global-status {
    color: var(--muted);
    font-size: .78rem;
}
.global-status {
    padding: 6px 8px;
    border-radius: 6px;
    background: #f4f8fc;
}

.auth-page { display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(460px, 100%); padding: 30px; }
.auth-card h1 { font-size: 2rem; margin: 24px 0; text-align: center; }
.auth-card form { display: grid; gap: 10px; }
.auth-brand {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    text-align: center;
}
.auth-brand .brand-mark { width: 68px; height: 68px; border-radius: 50%; font-weight: 800; }
.full { width: 100%; margin-top: 10px; }

.admin-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 100vh; background: #f2f7fd; }
.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 18px;
    border-right: 0;
    color: #ffffff;
    background: linear-gradient(180deg, #062f67 0%, #053d78 100%);
    box-shadow: 14px 0 30px rgba(8, 46, 99, .14);
}
.admin-sidebar .brand strong,
.admin-sidebar .brand small { color: #ffffff; }
.admin-sidebar .brand-mark { background: #ffffff; color: var(--blue); box-shadow: none; }
.admin-sidebar nav { display: grid; gap: 7px; margin-top: 28px; }
.admin-sidebar a, .admin-sidebar button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, .78);
    background: transparent;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
}
.admin-sidebar a.active, .admin-sidebar a:hover, .admin-sidebar button:hover { color: #ffffff; background: rgba(18, 97, 214, .62); }
.admin-main { min-width: 0; padding: 30px; background: #f2f7fd; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-header h1 { font-size: clamp(1.75rem, 3vw, 2.65rem); margin-bottom: 0; }
.admin-user { padding: 10px 16px; border-radius: 10px; background: #dfeeff; color: #102344; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat-grid article {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 112px;
    padding: 18px 18px 18px 72px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(13, 58, 120, .06);
}
.stat-grid article > svg {
    position: absolute;
    left: 18px;
    top: 20px;
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 10px;
    color: var(--blue);
    background: #e8f2ff;
}
.stat-grid span, .stat-grid small, .stat-grid strong { display: block; }
.stat-grid span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.stat-grid strong { margin: 2px 0; font-size: 1.65rem; }
.chart-card { margin-bottom: 16px; }
.chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.chart-head p { margin: 0; color: var(--muted); }
.chart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.trend-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    color: #075f43;
    background: rgba(15, 159, 110, .14);
    font-weight: 700;
}
.trend-pill.down {
    color: #9f1239;
    background: rgba(255, 83, 109, .14);
}
.line-chart { display: grid; gap: 10px; }
.chart-scale-note {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .78rem;
}
.line-chart svg {
    width: 100%;
    height: auto;
    min-height: 220px;
    overflow: visible;
}
.grid-line {
    fill: none;
    stroke: #dfe9f5;
    stroke-width: 1;
}
.axis-title {
    fill: var(--muted);
    font-size: 11px;
    font-weight: 600;
}
.axis-label {
    fill: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-anchor: end;
}
.line-area {
    fill: url(#listenerArea);
}
.line-path {
    fill: none;
    stroke: var(--blue);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 8px 12px rgba(29, 95, 191, .18));
}
.line-point circle {
    fill: #ffffff;
    stroke: var(--yellow);
    stroke-width: 4;
}
.line-point text {
    fill: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-anchor: middle;
}
.line-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    color: var(--text);
    font-size: .8rem;
    font-weight: 700;
}
.line-labels small {
    display: block;
    font-weight: 500;
}
.admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: minmax(270px, 1fr) minmax(320px, 1.12fr) minmax(250px, .92fr);
    gap: 16px;
    align-items: stretch;
}
.dashboard-summary-card {
    display: flex;
    flex-direction: column;
    height: 492px;
    overflow: hidden;
}
.dashboard-list-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-height: 62px;
    margin-bottom: 10px;
}
.dashboard-list-head h2 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.35;
}
.dashboard-list-head .mini-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 0 7px;
    border: 1px solid #cfe2fb;
    border-radius: 7px;
    color: var(--blue);
    background: #f2f7ff;
    font-size: .67rem;
    white-space: nowrap;
}
.dashboard-list-head .mini-action svg {
    width: 12px;
    height: 12px;
}
.dashboard-summary-card .table-list,
.dashboard-summary-card .system-info {
    flex: 1;
    min-height: 0;
    align-content: start;
}
.dashboard-summary-card.info-card > h2 {
    min-height: 62px;
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.35;
}
.dashboard-summary-card .dashboard-empty {
    display: grid;
    place-items: center;
    height: 100%;
}
.table-list { display: grid; gap: 4px; }
.admin-row { grid-template-columns: 1fr auto; }
.dashboard-empty {
    margin: 0;
    padding: 20px 12px;
    border: 1px dashed var(--line);
    border-radius: 9px;
    color: var(--muted);
    font-size: .84rem;
    text-align: center;
    background: #f8fbff;
}
.recent-chat-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: start;
    gap: 11px;
    padding: 12px 0;
}
.recent-chat-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--blue);
    font-size: .82rem;
    font-weight: 700;
}
.recent-chat-content {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.recent-chat-content strong {
    color: var(--text);
    font-size: .87rem;
    line-height: 1.35;
}
.recent-chat-content small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.recent-chat-row time {
    padding-top: 2px;
    color: var(--muted);
    font-size: .78rem;
    white-space: nowrap;
}
.admin-message-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 18px;
}
.message-detail {
    display: grid;
    gap: 5px;
}
.message-detail span {
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}
.message-detail strong {
    font-size: 1rem;
}
.message-detail small {
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.admin-card { padding: 22px; border-radius: 12px; }
.admin-card h2 { margin-bottom: 14px; }
.admin-form, .manage-item {
    display: grid;
    gap: 10px;
}
.admin-form input,
.admin-form textarea,
.admin-form select,
.manage-item input,
.manage-item textarea,
.manage-item select {
    min-width: 0;
}
.manage-item {
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(13, 58, 120, .05);
}
.inline-edit {
    display: none;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}
.inline-edit.show {
    display: grid;
}
.manage-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}
.manage-summary strong,
.manage-summary small,
.manage-summary span {
    display: block;
}
.manage-summary small,
.manage-summary span {
    color: var(--muted);
}
.form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.manage-item .form-pair {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.admin-field {
    display: grid;
    gap: 6px;
}
.admin-field label {
    color: var(--text);
    font-size: .78rem;
    font-weight: 700;
}
.admin-field small {
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.4;
}
.payment-upload-field {
    padding: 12px;
    border: 1px dashed #9cc3f2;
    border-radius: 8px;
    background: #f4f8ff;
}
.item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.inline-action-form {
    display: inline-flex;
    margin: 0;
}
.item-actions .btn {
    min-height: 36px;
    padding-inline: 14px;
}
.danger {
    background: rgba(255, 83, 109, .88);
}
.mini-action {
    padding: 8px 10px;
    border-radius: 6px;
    color: #101827;
    background: var(--yellow);
    font-weight: 700;
    font-size: .82rem;
}
.thumb-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: start;
}
.thumb-row img {
    height: 82px;
    border-radius: var(--radius);
}
.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}
.check-row input {
    width: auto;
    min-height: auto;
}
.request-admin-row {
    grid-template-columns: 1fr 160px auto;
}
.admin-sidebar svg {
    width: 17px;
    height: 17px;
}
.manage-panel { overflow: hidden; }
.manage-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.manage-tabs {
    display: flex;
    gap: 8px;
}
.manage-tabs button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    color: var(--blue);
    background: #edf5ff;
    cursor: pointer;
    font-weight: 700;
}
.manage-tabs button.active {
    color: #ffffff;
    background: var(--blue);
}
.manage-search {
    max-width: 240px;
    min-height: 36px;
    border-radius: 999px;
    background: #ffffff;
}
.archive-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}
.archive-filter {
    display: flex;
    align-items: center;
    gap: 7px;
}
.archive-filter label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
}
.archive-filter select {
    min-height: 36px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: #ffffff;
    font-size: .82rem;
    font-weight: 500;
}
.archive-filter select[name="tahun"] {
    min-width: 86px;
}
.archive-filter select[name="bulan"] {
    min-width: 132px;
}
.archive-period {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 9px;
    color: var(--blue);
    background: #e8f2ff;
    font-size: .82rem;
}
.archive-period svg { width: 16px; height: 16px; }
.archive-period span {
    padding-left: 9px;
    border-left: 1px solid #bfd9fa;
    color: var(--muted);
}
.archive-divider {
    margin: 14px 0 4px;
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--blue);
    background: #edf5ff;
    font-size: .85rem;
}
.archive-divider:first-child { margin-top: 0; }
.archive-empty {
    min-height: 160px;
    margin-top: 12px;
}
.admin-pagination {
    margin-top: 18px;
}
.manage-note {
    margin: -7px 0 0;
    color: var(--muted);
    font-size: .82rem;
}
.listener-history-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.listener-history-panel {
    margin-top: 16px;
}
.selection-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #f2f7fd;
}
.select-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 600;
}
.select-toggle input,
.row-check {
    width: 17px;
    height: 17px;
    accent-color: var(--blue);
    cursor: pointer;
}
.selection-delete {
    min-height: 36px;
    padding: 0 14px;
    font-size: .82rem;
}
.selection-delete:disabled {
    opacity: .48;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.create-form {
    margin-bottom: 16px;
}
.admin-table {
    min-width: 930px;
    overflow: visible;
}
.table-scroll {
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    padding-top: 23px;
    scrollbar-color: #b9d4f6 #edf4fd;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.table-scroll:focus {
    outline: 2px solid rgba(29, 95, 191, .18);
    outline-offset: 4px;
    border-radius: 8px;
}
.table-scroll::-webkit-scrollbar { height: 9px; }
.table-scroll::-webkit-scrollbar-track { border-radius: 999px; background: #edf4fd; }
.table-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: #b9d4f6; }
.table-scroll-hint {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 600;
}
.table-scroll-hint svg { width: 14px; height: 14px; }
.admin-table-head,
.admin-table .manage-summary {
    display: grid;
    grid-template-columns: 44px minmax(180px, 1.4fr) minmax(120px, .8fr) 92px 96px 104px 92px 120px;
    gap: 12px;
    align-items: center;
}
.admin-table-head {
    padding: 10px 14px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: .74rem;
    font-weight: 700;
}
.admin-table .manage-item {
    margin: 0;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
}
.is-filtered-hidden {
    display: none !important;
}
.admin-table .manage-summary {
    padding: 4px 0;
}
.news-admin-table .admin-table-head,
.news-admin-table .manage-summary {
    grid-template-columns: 44px minmax(240px, 1.4fr) 120px 120px 84px 92px;
}
.gallery-admin-table .admin-table-head,
.gallery-admin-table .manage-summary {
    grid-template-columns: 44px minmax(220px, 1.4fr) 150px 80px 84px 92px;
}
.ads-admin-table .admin-table-head,
.ads-admin-table .manage-summary {
    grid-template-columns: 44px 180px 120px 104px minmax(190px, 1fr) 210px 152px 150px 104px 96px 122px;
}
.ads-admin-table { min-width: 1725px; }
.request-table .admin-table-head,
.request-table .manage-summary {
    grid-template-columns: 44px minmax(150px, 1fr) minmax(170px, 1.15fr) minmax(220px, 1.35fr) 128px 96px;
}
.chat-admin-table .admin-table-head,
.chat-admin-table .manage-summary {
    grid-template-columns: 44px minmax(150px, .8fr) minmax(320px, 1.6fr) 150px 62px;
}
.listener-history-table {
    min-width: 720px;
}
.listener-history-table .admin-table-head,
.listener-history-table .manage-summary {
    grid-template-columns: 46px 44px minmax(190px, 1fr) minmax(120px, .65fr) 130px 62px;
}
.listener-count-pill {
    display: inline-flex !important;
    justify-content: center;
    width: max-content;
    min-width: 84px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--blue) !important;
    background: #e8f2ff;
    font-weight: 700;
}
.table-thumb {
    width: 58px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
}
.message-cell {
    color: var(--muted);
    line-height: 1.45;
    overflow-wrap: anywhere;
    font-size: .84rem;
}
.admin-table select {
    min-height: 34px;
    border-radius: 8px;
    font-size: .82rem;
}
.table-audio {
    display: block;
    width: 208px;
    height: 34px;
}
.audio-cell,
.edit-audio-box {
    display: grid;
    gap: 7px;
    justify-items: start;
}
.download-audio {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 600;
}
.download-audio svg { width: 14px; height: 14px; }
.contract-cell {
    color: var(--blue);
    font-size: .8rem;
    font-weight: 600;
}
.description-cell {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.5;
}
.description-cell > span {
    overflow-wrap: anywhere;
}
.description-cell > p {
    margin: 4px 0 0;
    padding: 8px;
    border-radius: 7px;
    background: #f4f8ff;
    color: var(--text);
    overflow-wrap: anywhere;
}
.payment-cell {
    display: grid;
    justify-items: start;
    gap: 6px;
    font-size: .8rem;
}
.payment-cell strong {
    color: var(--text);
}
.payment-cell s {
    color: var(--muted);
    font-size: .73rem;
}
.discount-inline {
    color: #047857;
    font-weight: 700;
}
.payment-pill {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 999px;
    color: #9a6700;
    background: #fff1c7;
    font-size: .7rem;
    font-weight: 700;
    text-transform: capitalize;
}
.payment-pill.verified {
    color: #047857;
    background: #dff8ec;
}
.payment-pill.rejected {
    color: #9f1239;
    background: #ffe4e8;
}
.payment-proof-cell {
    display: grid;
    justify-items: start;
    gap: 7px;
    color: var(--muted);
    font-size: .76rem;
}
.proof-preview {
    width: 76px;
    height: 58px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
    cursor: zoom-in;
}
.proof-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.verify-payment-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 31px;
    padding: 0 9px;
    border: 0;
    border-radius: 7px;
    color: #ffffff;
    background: #0f9f6e;
    font: inherit;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
}
.verify-payment-btn svg { width: 14px; height: 14px; }
.verify-payment-btn:disabled {
    cursor: not-allowed;
    opacity: .48;
}
.proof-help {
    color: var(--muted);
    line-height: 1.35;
}
.payment-verified-note {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #047857;
    font-weight: 700;
}
.payment-verified-note svg {
    width: 14px;
    height: 14px;
}
.table-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    padding: 0;
    border: 0;
    color: var(--blue);
    background: transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.table-more svg { width: 13px; height: 13px; }
.edit-audio {
    width: min(360px, 100%);
    height: 40px;
}
.airing-count {
    display: inline-flex;
    justify-content: center;
    min-width: 52px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--blue);
    background: #e8f2ff;
    font-weight: 700;
}
.daily-airing-count {
    display: grid;
    justify-items: center;
    gap: 2px;
    width: max-content;
    min-width: 88px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--blue);
    background: #e8f2ff;
}
.daily-airing-count strong {
    font-size: .86rem;
}
.daily-airing-count small {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
}
.row-number {
    color: var(--muted);
    font-size: .82rem;
}
.program-title strong {
    font-size: .86rem;
}
.program-title span {
    overflow: hidden;
    max-width: 320px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .78rem;
}
.status-pill {
    display: inline-flex;
    justify-content: center;
    width: max-content;
    min-width: 58px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #0f4f9f;
    background: #e8f2ff;
    font-size: .72rem;
    font-weight: 700;
}
.status-pill.active {
    color: #047857;
    background: #dff8ec;
}
.icon-action {
    display: inline-grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 7px;
    color: #ffffff;
    background: var(--blue);
    cursor: pointer;
}
.icon-action svg { width: 15px; height: 15px; }
.icon-action.onair { background: #0f9f6e; }
.icon-action.verify { background: #f3a500; }
.icon-action.danger { background: var(--danger); }
.icon-action:disabled {
    cursor: not-allowed;
    opacity: .42;
}
.compact-action {
    min-height: 33px;
    padding: 0 10px;
    gap: 5px;
    font-size: .77rem;
    font-weight: 600;
}
.compact-action svg {
    width: 14px;
    height: 14px;
}
.system-info {
    display: grid;
    gap: 10px;
}
.system-info span {
    display: grid;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.system-info span:last-child { border-bottom: 0; }
.system-info strong { font-size: .9rem; }
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(16, 33, 61, .42);
}
.modal-backdrop.show { display: grid !important; }
.modal-card {
    width: min(640px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
    padding: 22px;
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.modal-head h2 { margin: 0; }
.icon-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
}

@media (max-width: 1180px) {
    .nav { display: none; }
    .nav-dropdown { display: block; margin-left: auto; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .stream-layout, .content-grid, .chat-room-layout { grid-template-columns: 1fr 1fr; }
    .dashboard-bottom-grid { grid-template-columns: 1fr; }
    .request-form, .chat, .gallery, .span-2 { grid-column: span 1; }
    .news-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-shell { grid-template-columns: 252px minmax(0, 1fr); }
    .admin-sidebar { padding: 20px 14px; }
    .admin-main { padding: 22px; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .manage-panel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 760px) {
    .shell { width: min(100% - 24px, 1420px); padding-top: 14px; }
    .topbar { position: relative; top: auto; z-index: 100; }
    .hero { grid-template-columns: 1fr; }
    .hero-art { min-height: 220px; }
    .feature-grid, .stream-layout, .content-grid, .chat-room-layout, .news-grid, .gallery-grid, .stat-grid, .admin-grid, .form-pair, .request-admin-row, .thumb-row, .manage-summary, .dashboard-bottom-grid, .advertisement-layout, .request-song-layout { grid-template-columns: 1fr; }
    .line-labels { gap: 4px; font-size: .68rem; }
    .chart-head { align-items: flex-start; flex-direction: column; }
    .chart-actions { width: 100%; justify-content: space-between; }
    footer { grid-template-columns: 1fr; gap: 12px; padding: 16px 16px 86px; }
    .footer-brand { flex-direction: row; justify-content: center; text-align: left; }
    .social-links { justify-self: center; }
    .ad-submission-form, .ad-payment-panel { height: auto; }
    .feature { min-height: auto; }
    .program-row, .mini-row { grid-template-columns: 1fr; gap: 4px; }
    .chat-form { grid-template-columns: 1fr; }
    .chat-compose.chat-form { grid-template-columns: minmax(64px, .56fr) minmax(78px, 1fr) auto; }
    .chat-bubble { max-width: 94%; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: static;
        height: auto;
        padding: 16px;
    }
    .admin-sidebar .brand {
        justify-content: center;
        margin-bottom: 12px;
    }
    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }
    .admin-sidebar a,
    .admin-sidebar button {
        min-height: 42px;
        justify-content: flex-start;
        font-size: .86rem;
    }
    .admin-main { padding: 18px; }
    .admin-header { align-items: flex-start; gap: 12px; flex-direction: column; }
    .admin-header h1 { font-size: clamp(1.7rem, 10vw, 2.2rem); }
    .admin-message-row { grid-template-columns: 1fr; }
    .global-player { left: 12px; right: 12px; bottom: 12px; width: auto; }
    .news img { height: 220px; }
    .manage-toolbar { align-items: stretch; flex-direction: column; }
    .manage-tabs { overflow-x: auto; padding-bottom: 4px; }
    .manage-tabs button { white-space: nowrap; }
    .archive-toolbar { align-items: stretch; flex-direction: column; }
    .archive-filter { flex-wrap: wrap; }
    .archive-filter select { flex: 1; }
    .manage-search { max-width: none; }
    .listener-history-stats { grid-template-columns: 1fr; }
    .selection-toolbar { align-items: stretch; flex-direction: column; }
    .selection-delete { width: 100%; }
    .manage-panel {
        overflow-x: auto;
        padding: 16px;
        -webkit-overflow-scrolling: touch;
    }
    .admin-table {
        min-width: 760px;
    }
    .news-admin-table,
    .gallery-admin-table,
    .ads-admin-table,
    .request-table,
    .chat-admin-table {
        min-width: 820px;
    }
    .ads-admin-table {
        min-width: 1725px;
    }
    .inline-edit {
        min-width: 0;
    }
    .inline-edit .form-pair {
        grid-template-columns: 1fr;
    }
    .stat-grid article {
        min-height: 98px;
        padding: 16px 16px 16px 66px;
    }
    .chart-card {
        overflow-x: auto;
    }
    .line-chart {
        min-width: 620px;
    }
}

@media (max-width: 520px) {
    .admin-sidebar nav {
        grid-template-columns: 1fr;
    }
    .admin-user {
        width: 100%;
        text-align: center;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
    .admin-main {
        padding: 14px;
    }
    .admin-card {
        padding: 14px;
    }
    .manage-panel {
        border-radius: 10px;
    }
    .admin-table {
        min-width: 700px;
    }
    .item-actions {
        gap: 6px;
    }
}
/* Tambahkan blok ini di bagian bawah public_html/css/app.css */

.hero-art.has-slides,
.hero-art[data-home-slider] {
    overflow: hidden;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .5s ease, transform 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(8, 46, 99, .46);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

.hero-slide-control.prev {
    left: 14px;
}

.hero-slide-control.next {
    right: 14px;
}

.hero-slide-control svg {
    width: 19px;
    height: 19px;
}

.hero-slide-dots {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 7px;
}

.hero-slide-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .56);
    cursor: pointer;
}

.hero-slide-dots button.active {
    width: 22px;
    background: var(--yellow);
}

.home-content-card {
    margin: 16px 0;
}

.home-content-card .dashboard-list-head {
    margin-bottom: 16px;
}

.home-slide-admin {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.home-slide-list {
    display: grid;
    gap: 10px;
}

.home-slide-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fbff;
}

.home-slide-item img {
    height: 74px;
    border-radius: 8px;
}

.home-slide-item strong,
.home-slide-item small {
    display: block;
}

.home-slide-item small {
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .hero-slide-control {
        width: 34px;
        height: 34px;
    }

    .home-slide-item {
        grid-template-columns: 1fr;
    }

    .home-slide-item img {
        height: 160px;
    }
}
/* Tambahkan blok ini di bagian bawah public_html/css/app.css */

.hero-art.has-slides,
.hero-art[data-home-slider] {
    overflow: hidden;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .5s ease, transform 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(8, 46, 99, .46);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

.hero-slide-control.prev {
    left: 14px;
}

.hero-slide-control.next {
    right: 14px;
}

.hero-slide-control svg {
    width: 19px;
    height: 19px;
}

.hero-slide-dots {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 7px;
}

.hero-slide-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .56);
    cursor: pointer;
}

.hero-slide-dots button.active {
    width: 22px;
    background: var(--yellow);
}

.home-content-card {
    margin: 16px 0;
}

.home-content-card .dashboard-list-head {
    margin-bottom: 16px;
}

.home-slide-admin {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.home-content-card .file-preview {
    position: absolute;
    left: 10px;
    top: calc(100% + 8px);
    width: 136px;
    margin-top: 8px;
    z-index: 3;
    box-shadow: 0 8px 18px rgba(13, 58, 120, .12);
}

.home-content-card .file-preview img {
    width: 100%;
    height: 86px;
    border-radius: 8px;
    object-fit: cover;
}

.home-content-card .file-preview span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.25;
}

.home-content-card .file-picker {
    position: relative;
}

.home-content-card .home-slide-admin > form > .form-pair {
    align-items: start;
    margin-bottom: 108px;
}

.home-slide-list {
    display: grid;
    gap: 10px;
}

.home-slide-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fbff;
}

.home-slide-item img {
    height: 74px;
    border-radius: 8px;
}

.home-slide-item strong,
.home-slide-item small {
    display: block;
}

.home-slide-item small {
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .hero-slide-control {
        width: 34px;
        height: 34px;
    }

    .home-slide-item {
        grid-template-columns: 1fr;
    }

    .home-slide-item img {
        height: 160px;
    }
}
/* Tambahkan blok ini di bagian paling bawah public_html/css/app.css */

.admin-menu-toggle,
.admin-sidebar-overlay,
.admin-sidebar-mobile-head {
    display: none;
}

@media (max-width: 760px) {
    body.admin-menu-open {
        overflow: hidden;
    }

    .admin-shell {
        grid-template-columns: 1fr !important;
    }

    .admin-menu-toggle {
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 1202;
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #b8d1f2;
        border-radius: 12px;
        color: var(--blue);
        background: #ffffff;
        box-shadow: 0 12px 28px rgba(13, 58, 120, .16);
        cursor: pointer;
    }

    .admin-menu-toggle svg {
        width: 23px;
        height: 23px;
    }

    .admin-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 1198;
        display: block;
        border: 0;
        background: rgba(7, 25, 52, .38);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    body.admin-menu-open .admin-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        z-index: 1199;
        width: min(304px, 84vw);
        height: 100dvh;
        overflow-y: auto;
        padding: 16px 14px 22px !important;
        transform: translateX(-104%);
        transition: transform .24s ease;
        box-shadow: 18px 0 34px rgba(8, 46, 99, .22);
    }

    body.admin-menu-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
        color: #ffffff;
        font-size: .8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .6px;
    }

    .admin-sidebar-mobile-head button {
        display: inline-grid;
        place-items: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 9px;
        color: #ffffff;
        background: rgba(255, 255, 255, .12);
        cursor: pointer;
    }

    .admin-sidebar-mobile-head svg {
        width: 18px;
        height: 18px;
    }

    .admin-sidebar .brand {
        justify-content: flex-start !important;
        margin-bottom: 14px !important;
    }

    .admin-sidebar nav {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .admin-sidebar a,
    .admin-sidebar button {
        min-height: 44px !important;
        justify-content: flex-start !important;
        font-size: .9rem !important;
    }

    .admin-main {
        padding: 76px 14px 18px !important;
    }

    .admin-header {
        align-items: flex-start !important;
        gap: 12px !important;
        flex-direction: column !important;
    }
}
.nav-dropdown > button {
    justify-content: center;
    place-items: center;
}

.nav-dropdown > button svg {
    display: block;
    margin: 0;
}
