/* Approved concept: peach-ui-concept-v1. Components retain their existing behavior. */
:root {
    --peach-accent: #f16473;
    --peach-accent-text: #c74356;
    --peach-selected: #ffe4de;
    --peach-paper: #fff9f5;
    --peach-card: #fff;
    --peach-ink: #302628;
    --peach-muted: #807371;
    --peach-border: #f0e5df;
    --peach-header-start: #ffe0d4;
    --peach-header-end: #fff5ec;
    --peach-shadow: 0 6px 22px rgba(92, 49, 40, .045);
}
html[data-site-theme="dark"] {
    --peach-accent-text: #ff9caa;
    --peach-selected: #472a31;
    --peach-paper: #191516;
    --peach-card: #262022;
    --peach-ink: #f6ece8;
    --peach-muted: #c2afaa;
    --peach-border: #3e3135;
    --peach-header-start: #3c272d;
    --peach-header-end: #261c1f;
    --peach-shadow: 0 6px 22px rgba(0, 0, 0, .12);
}
body.peach-ui-shell .readform { background: #f4eeea; }
body.peach-ui-shell .readbox { background: var(--peach-paper); }
body.peach-ui-shell .site-compliance-footer { background: var(--peach-paper); }
body.peach-ui-shell .site-compliance-footer-links a { color: var(--peach-muted); }
body.peach-ui-shell .site-footer-copyright { color: var(--peach-muted); }

/* Three tabs share one icon vocabulary and one selected state. */
body .bottom-tabs {
    color: var(--peach-muted);
    background: var(--peach-card);
    border-color: var(--peach-border);
    box-shadow: 0 -4px 20px rgba(92, 49, 40, .035);
}
body .bottom-tabs a { gap: 1px; color: var(--peach-muted); }
body .bottom-tabs .bottom-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 35px;
    border-radius: 14px;
    transition: background-color .18s ease, color .18s ease;
}
body .bottom-tabs .bottom-tab-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.7;
}
body .bottom-tabs .nav-solid { fill: none; }
body .bottom-tabs .nav-play { fill: currentColor; stroke: none; }
body .bottom-tabs a[aria-current="page"] { color: var(--peach-accent-text); font-weight: 600; }
body .bottom-tabs a[aria-current="page"] .bottom-tab-icon { color: var(--peach-accent); background: var(--peach-selected); }
body .bottom-tabs a[aria-current="page"] .nav-solid { fill: currentColor; }
body .bottom-tabs a[aria-current="page"] .nav-profile-ring { opacity: 0; }
body .bottom-tabs a[aria-current="page"] .nav-play { fill: var(--peach-selected); }
body .bottom-tabs a:not([aria-current="page"]):hover { color: var(--peach-ink); background: rgba(241, 100, 115, .045); }
body .bottom-tabs a:focus-visible { outline-color: var(--peach-accent); }
body .bottom-tabs.bottom-tabs--dark,
html[data-site-theme="dark"] body .bottom-tabs.bottom-tabs--dark {
    background: #151215;
    border-color: #30252b;
    box-shadow: none;
}
body .bottom-tabs.bottom-tabs--dark a { color: #b9aeb2; }
body .bottom-tabs.bottom-tabs--dark a[aria-current="page"] { color: #ff8b99; }
body .bottom-tabs.bottom-tabs--dark a[aria-current="page"] .bottom-tab-icon { color: var(--peach-accent); background: #44272f; }
body .bottom-tabs.bottom-tabs--dark a[aria-current="page"] .nav-play { fill: #44272f; }
body .bottom-tabs.bottom-tabs--dark a:not([aria-current="page"]):hover { color: #fff; background: rgba(241, 100, 115, .075); }
html[data-site-theme="dark"] body .bottom-tabs { background: var(--peach-card); border-color: var(--peach-border); }
html[data-site-theme="dark"] body .bottom-tabs a { color: var(--peach-muted); }
html[data-site-theme="dark"] body .bottom-tabs a[aria-current="page"] { color: var(--peach-accent-text); }

/* Theater: peach header, cream canvas and white poster cards. */
body .theater-page.figma-ui,
html[data-site-theme="dark"] .site-theme-page .theater-page.figma-ui {
    --design-accent: var(--peach-accent-text);
    --design-selection: var(--peach-selected);
    --design-text: var(--peach-ink);
    color: var(--peach-ink);
    background: linear-gradient(180deg, transparent, var(--peach-paper) 290px),
        linear-gradient(115deg, var(--peach-header-start), var(--peach-header-end)) top / 100% 300px no-repeat,
        var(--peach-paper);
}
body .theater-page.figma-ui .theater-logo { width: 160px; flex-basis: 160px; height: 64px; }
body .theater-page.figma-ui .theater-search-button {
    width: 44px; height: 44px; flex-basis: 44px;
    background: var(--peach-card); border: 1px solid var(--peach-border); border-radius: 50%;
    box-shadow: var(--peach-shadow);
}
body .theater-page.figma-ui .theater-shortcuts { gap: 10px; margin-bottom: 16px; }
body .theater-page.figma-ui .theater-shortcuts a {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    height: 68px; min-height: 68px; border: 1px solid var(--peach-border); border-radius: 15px;
    color: var(--peach-ink); background: var(--peach-card);
    font-size: 14px; font-weight: 500; box-shadow: var(--peach-shadow);
}
body .theater-page.figma-ui .theater-shortcuts img { width: 25px; height: 25px; filter: none; }
body .theater-page.figma-ui .theater-grid { column-gap: 12px; }
body .theater-page.figma-ui .theater-grid > li { padding-bottom: 12px; }
body .theater-page.figma-ui .theater-card {
    color: var(--peach-ink); background: var(--peach-card);
    border: 1px solid var(--peach-border); border-radius: 15px;
    box-shadow: var(--peach-shadow);
}
body .theater-page.figma-ui .theater-cover { border-radius: 14px; background: var(--peach-border); }
body .theater-page.figma-ui .theater-copy { padding: 10px 10px 12px; }
body .theater-page.figma-ui .theater-copy h2 { color: var(--peach-ink); font-size: 15px; font-weight: 600; margin-bottom: 7px; }
body .theater-page.figma-ui .theater-tags span { color: var(--peach-muted); background: var(--peach-paper); border-radius: 5px; padding: 3px 5px; }
body .theater-page.figma-ui .theater-filter-tags a { color: var(--peach-muted); background: var(--peach-paper); }
body .theater-page.figma-ui .theater-filter-tags a[aria-current="true"] { color: var(--peach-accent-text); background: var(--peach-selected); }
body .theater-page.figma-ui .theater-empty,
body .theater-page.figma-ui .theater-more { color: var(--peach-muted); }

/* My: grouped cards and a champagne-on-warm-plum VIP card. */
body .my-page.figma-ui,
html[data-site-theme="dark"] body .my-page.figma-ui {
    color: var(--peach-ink);
    background: linear-gradient(180deg, transparent, var(--peach-paper) 320px),
        linear-gradient(115deg, var(--peach-header-start), var(--peach-header-end)) top / 100% 330px no-repeat,
        var(--peach-paper);
}
body .my-page.figma-ui .my-search,
body .my-page.figma-ui .my-tool-button { background: var(--peach-card); color: var(--peach-ink); border-color: var(--peach-border); box-shadow: none; }
body .my-page.figma-ui .my-search { border-radius: 18px; }
body .my-page.figma-ui .my-tool-button { border-radius: 50%; }
body .my-page.figma-ui .my-search input { color: var(--peach-ink); font-size: 13px; }
body .my-page.figma-ui .my-search input::placeholder { color: var(--peach-muted); }
body .my-page.figma-ui .my-search button { color: var(--peach-muted); }
body .my-page.figma-ui .my-card { background: var(--peach-card); border-color: var(--peach-border); border-radius: 18px; box-shadow: var(--peach-shadow); }
body .my-page.figma-ui .my-profile-card { min-height: 104px; padding: 17px; background: var(--peach-card); margin-bottom: 12px; }
body .my-page.figma-ui .my-profile-card::before { display: none; }
body .my-page.figma-ui .my-avatar { width: 64px; height: 64px; border: 0; border-radius: 50%; background: #ffe0d4; box-shadow: none; }
body .my-page.figma-ui .my-profile-top { flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 7px; }
body .my-page.figma-ui #userinfo_name { color: var(--peach-ink); font-size: 17px; line-height: 1.4; }
body .my-page.figma-ui #userinfo_id { padding: 0; color: var(--peach-muted); background: transparent; font-size: 12px; }
body .my-page.figma-ui #vip_container { color: var(--peach-muted); font-size: 12px; }
body .my-page.figma-ui .my-vip-banner {
    min-height: 108px; padding: 16px; margin-bottom: 12px; gap: 12px;
    border: 1px solid #463039; border-radius: 18px;
    background: linear-gradient(115deg, #49313a, #34252c 58%, #2a2026);
    box-shadow: 0 6px 20px rgba(62, 36, 43, .1);
}
body .my-page.figma-ui .my-vip-banner::after { display: none; }
body .my-page.figma-ui .my-vip-title { color: #f0d2a0; font-size: 14px; line-height: 1.5; }
body .my-page.figma-ui .my-vip-title img { width: 22px; height: 20px; }
body .my-page.figma-ui .my-vip-desc { color: #dfcdd0; font-size: 12px; line-height: 1.7; }
body .my-page.figma-ui #openVipBtn { width: 86px; height: 36px; color: #493022; background: linear-gradient(#f8e3bd, #e7bf83); font-size: 13px; box-shadow: none; }
body .my-page.figma-ui .my-menu-card { padding: 4px 0; }
body .my-page.figma-ui .my-menu-item { min-height: 64px; padding-inline: 18px; }
body .my-page.figma-ui .my-menu-item + .my-menu-item::before { left: 60px; background: var(--peach-border); }
body .my-page.figma-ui .my-menu-icon { width: 28px; height: 28px; filter: none; }
body .my-page.figma-ui .my-menu-text { color: var(--peach-ink); font-size: 15px; letter-spacing: 0; }
body .my-page.figma-ui .my-menu-item:hover,
body .my-page.figma-ui .my-menu-item:active { background: var(--peach-paper); }
body .my-page.figma-ui .my-chevron { opacity: .75; }
body .my-page.figma-ui .my-search:focus-within { outline: 2px solid var(--peach-accent); outline-offset: 2px; }
body .my-page.figma-ui a:focus-visible,
body .my-page.figma-ui button:focus-visible { outline: 2px solid var(--peach-accent); outline-offset: 2px; }

/* The video feed keeps its layout; only its visual accents change. */
body .feed-page .feed-primary-tag { background: #b83d51; }
body .feed-page .feed-progress::-webkit-slider-runnable-track { background: linear-gradient(to right, #f16473 0 var(--feed-progress), rgba(255,255,255,.28) var(--feed-progress) 100%); }
body .feed-page .feed-progress::-moz-range-progress { background: #f16473; }
body .feed-page .feed-progress::-webkit-slider-thumb { background: #f16473; }
body .feed-page .feed-progress::-moz-range-thumb { background: #f16473; }
body .feed-page .feed-watchbar { background: #151215; }
body .feed-page .feed-watch { margin: 7px 12px; height: 44px; padding-inline: 14px; border: 1px solid #73636b; border-radius: 15px; box-sizing: border-box; background: rgba(255,255,255,.045); }

/* Preserve the theme switch with a warm dark companion palette. */
html[data-site-theme="dark"] body.peach-ui-shell .readform { background: #151113; }
html[data-site-theme="dark"] body .my-page.figma-ui .my-card,
html[data-site-theme="dark"] body .my-page.figma-ui .my-profile-card { background: var(--peach-card); border-color: var(--peach-border); }
html[data-site-theme="dark"] body .my-page.figma-ui .my-vip-banner { background: linear-gradient(115deg, #49313a, #34252c 58%, #2a2026); border-color: #59404a; }
html[data-site-theme="dark"] body .my-page.figma-ui #userinfo_name,
html[data-site-theme="dark"] body .my-page.figma-ui .my-menu-text { color: var(--peach-ink); }
html[data-site-theme="dark"] body .my-page.figma-ui #userinfo_id { background: transparent; color: var(--peach-muted); }
html[data-site-theme="dark"] body .my-page.figma-ui #vip_container { color: var(--peach-muted); }
html[data-site-theme="dark"] body .my-page.figma-ui .my-menu-item:hover,
html[data-site-theme="dark"] body .my-page.figma-ui .my-menu-item:active { background: var(--peach-paper); }
html[data-site-theme="dark"] body .my-page.figma-ui .my-search,
html[data-site-theme="dark"] body .my-page.figma-ui .my-tool-button { background: var(--peach-card); border-color: var(--peach-border); color: var(--peach-ink); }
html[data-site-theme="dark"] body .my-page.figma-ui .my-search input { color: var(--peach-ink); }
html[data-site-theme="dark"] body .my-page.figma-ui .my-search input::placeholder { color: var(--peach-muted); }

@media (min-width: 900px) {
    body.peach-ui-shell .readbox { box-shadow: 0 24px 70px rgba(92, 49, 40, .1); border-color: var(--peach-border); }
    body .theater-page.figma-ui .theater-shortcuts a { height: 76px; }
    body .my-page.figma-ui .my-profile-card,
    body .my-page.figma-ui .my-vip-banner { margin-bottom: 0; padding: 20px 24px; }
    body .my-page.figma-ui .my-menu-card { padding: 8px 0; }
    body .my-page.figma-ui .my-menu-item { min-height: 68px; padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    body .bottom-tabs .bottom-tab-icon { transition: none; }
}
