:root {
  color-scheme: light;
  --primary: #b58adb;
  --primary-strong: #9c67ca;
  --primary-soft: #eee5f7;
  --primary-pale: #f7f1fb;
  --iris-pink: #df88bd;
  --iris-blush: #f7d8e9;
  --iris-grape: #3d245d;
  --page: #f2f3f5;
  --surface: #fff;
  --text: #18191c;
  --muted: #9499a0;
  --line: #e4e5e7;
  --shadow: 0 7px 24px rgba(50, 38, 61, .12);
  --radius: 7px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  padding-bottom: 66px;
  background: var(--page);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.fullscreen-loading { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(241, 237, 244, .55); -webkit-backdrop-filter: blur(10px) saturate(.82); backdrop-filter: blur(10px) saturate(.82); }
.fullscreen-loading-panel { display: flex; min-width: 184px; min-height: 58px; align-items: center; justify-content: center; gap: 12px; padding: 12px 19px; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; background: rgba(255,255,255,.88); color: #60466b; box-shadow: 0 18px 52px rgba(54,37,63,.18); font-size: 14px; font-weight: 650; }
.fullscreen-loading-spinner { width: 23px; height: 23px; flex: none; border: 3px solid #e5d9eb; border-top-color: #995eb8; border-radius: 50%; animation: spin .72s linear infinite; }
.theme-toggle { position:fixed;z-index:1200;right:22px;bottom:22px;display:grid;width:46px;height:46px;place-items:center;border:1px solid rgba(154,103,190,.3);border-radius:50%;background:rgba(255,255,255,.9);color:#754493;box-shadow:0 12px 32px rgba(51,32,61,.18);cursor:pointer;backdrop-filter:blur(14px);transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease; }
.theme-toggle:hover { transform:translateY(-2px) rotate(-8deg);box-shadow:0 16px 36px rgba(51,32,61,.24); }
.theme-toggle:focus-visible { outline:3px solid rgba(181,122,213,.3);outline-offset:3px; }
.theme-toggle svg { width:21px;height:21px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1400px, 100%); margin-inline: auto; padding-inline: 20px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 9px 13px; border-radius: 6px; background: #211b27; color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 30;
  height: 60px;
  border-bottom: 1px solid rgba(181, 138, 219, .12);
  background: linear-gradient(100deg, #fbf2fc 0%, #f7f4fc 44%, #eff8fb 100%);
  box-shadow: 0 1px 5px rgba(42, 32, 52, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 38px; }
.site-logo { display: inline-flex; min-width: max-content; align-items: center; gap: 10px; }
.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.82);
  background: #e7a3ca;
  color: white;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(154, 100, 201, .2);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-copy { display: flex; align-items: baseline; gap: 9px; }
.logo-copy strong { font-size: 20px; font-weight: 720; letter-spacing: .02em; }
.logo-copy em { color: #8f8797; font-size: 14px; font-style: normal; }
.header-search { position: relative; width: min(500px, 48vw); height: 40px; margin-left: 8px; }
.header-search input {
  width: 100%; height: 100%; padding: 0 48px 0 16px; border: 1px solid rgba(173, 145, 194, .28); border-radius: 8px;
  outline: none; background: rgba(255, 255, 255, .86); color: var(--text); transition: border-color .18s, box-shadow .18s, background .18s;
}
.header-search input::placeholder { color: #aaa5af; }
.header-search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(181, 138, 219, .12); }
.header-search button { position: absolute; inset: 0 0 0 auto; width: 43px; border: 0; background: transparent; color: #7d7784; cursor: pointer; }
.header-search button:hover { color: var(--primary-strong); }
.page-main { padding-bottom: 30px; }

.channel-nav { display: flex; min-height: 108px; align-items: center; gap: 22px; overflow: hidden; }
.channel-label { display: flex; min-width: 54px; flex-direction: column; align-items: center; gap: 7px; color: #756e7d; }
.channel-label svg { width: 22px; height: 22px; }
.channel-label strong { font-size: 13px; font-weight: 600; }
.channel-list { display: flex; min-width: 0; flex: 1; align-items: center; gap: 20px; overflow-x: auto; padding: 10px 4px; scrollbar-width: none; }
.channel-list::-webkit-scrollbar { display: none; }
.streamer-chip { display: grid; min-width: 62px; justify-items: center; gap: 6px; border: 0; background: none; cursor: pointer; }
.streamer-avatar { display: grid; width: 51px; height: 51px; place-items: center; overflow: hidden; border: 2px solid transparent; border-radius: 50%; background: #e7e0ec; color: #82609b; font-size: 15px; font-weight: 700; transition: transform .18s, border-color .18s, box-shadow .18s; }
.streamer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.streamer-name { display: block; width: 74px; overflow: hidden; font-size: 14px; font-weight: 550; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.streamer-chip:hover .streamer-avatar { transform: translateY(-2px); }
.streamer-chip.active .streamer-avatar { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(181, 138, 219, .14); }
.streamer-chip.active .streamer-name { color: var(--primary-strong); font-weight: 650; }

.filter-line { display: flex; min-height: 58px; align-items: center; gap: 10px; border-top: 1px solid rgba(0, 0, 0, .035); }
.select-pill { position: relative; display: inline-flex; height: 33px; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #656069; }
.select-pill svg { width: 15px; height: 15px; }
.select-pill select { height: 100%; border: 0; outline: none; background: transparent; color: inherit; cursor: pointer; }
.select-pill.solid { border-color: var(--primary); background: var(--primary); color: #fff; }
.select-pill.solid select { padding-inline: 7px; color: #fff; }
.select-pill.solid option { color: #27232b; }
.result-toolbar { display: flex; height: 50px; align-items: center; justify-content: space-between; }
.result-toolbar p { margin: 0; color: #86818b; font-size: 13px; }
.result-toolbar strong { color: var(--text); }
.result-toolbar small { margin: 0; color: var(--primary-strong); }
.toolbar-actions { display: flex; gap: 9px; }
.segmented { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.segmented button { display: grid; width: 35px; height: 31px; place-items: center; border: 0; border-left: 1px solid var(--line); background: transparent; color: #96919b; cursor: pointer; }
.segmented button:first-child { border-left: 0; }
.segmented button.active { background: var(--primary-soft); color: var(--primary-strong); }
.segmented button:hover { color: var(--primary-strong); }
.segmented svg { width: 16px; height: 16px; }

.video-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.video-card { min-width: 0; overflow: hidden; border-radius: var(--radius); background: #fff; transition: transform .18s, box-shadow .18s; }
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video-card > a { display: block; height: 100%; }
.card-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(145deg, #302b35, #161419); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-card:hover .card-cover img { transform: scale(1.025); }
.cover-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); }
.cover-placeholder svg { width: 36px; height: 36px; fill: currentColor; stroke: none; }
.card-info { min-height: 86px; padding: 11px 12px 12px; }
.card-info h2 { display: -webkit-box; min-height: 40px; overflow: hidden; margin: 0; color: #252229; font-size: 14px; font-weight: 520; line-height: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.card-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta b { flex: none; padding: 3px 6px; border-radius: 3px; background: var(--primary-pale); color: #9a6fbd; font-size: 12px; letter-spacing: .05em; }

.video-grid.list-view { display: flex; flex-direction: column; gap: 12px; }
.list-view .video-card { height: 157px; }
.list-view .video-card > a { display: grid; grid-template-columns: 280px 1fr; }
.list-view .card-cover { height: 157px; aspect-ratio: auto; }
.list-view .card-info { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 24px; }
.list-view .card-info h2 { min-height: auto; font-size: 16px; -webkit-line-clamp: 3; }
.list-view .card-meta { justify-content: flex-start; gap: 12px; }

.empty-state { grid-column: 1 / -1; display: grid; min-height: 240px; place-items: center; color: var(--muted); text-align: center; }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { margin-bottom: 7px; color: #5c5661; font-size: 16px; }
.pagination { display: flex; min-height: 74px; align-items: center; justify-content: center; gap: 6px; }
.pagination button { min-width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; }
.pagination button.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.pagination button:disabled { opacity: .42; cursor: default; }
.pagination-gap { display: grid; width: 25px; height: 33px; place-items: center; color: var(--muted); font-weight: 700; line-height: 1; user-select: none; }
.site-footer { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; height: 47px; place-items: center; border-top: 1px solid #e8e8ea; background: rgba(255, 255, 255, .94); color: #89838d; font-size: 14px; backdrop-filter: blur(10px); }

.notice-mask { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(30, 25, 35, .32); backdrop-filter: blur(3px); }
.notice-dialog { width: min(420px, 100%); overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(39, 29, 47, .2); }
.notice-dialog header { display: flex; height: 50px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); }
.notice-dialog h2 { margin: 0; font-size: 16px; }
.notice-dialog header button { border: 0; background: none; color: #8e8992; font-size: 22px; cursor: pointer; }
.notice-dialog p { margin: 0; padding: 23px 20px; color: #5e5962; line-height: 1.8; white-space: pre-wrap; }
.notice-dialog > div { padding: 0 20px 20px; text-align: right; }
.notice-confirm { min-width: 90px; height: 34px; border: 0; border-radius: 6px; background: var(--primary); color: #fff; cursor: pointer; }
.toast-region { position: fixed; z-index: 200; right: 20px; bottom: 68px; display: grid; gap: 8px; }
.toast { max-width: min(360px, calc(100vw - 32px)); padding: 11px 15px; border-radius: 7px; background: #28242d; color: #fff; box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.error { background: #a64863; }

/* Recording page */
.compact-header .header-inner { justify-content: space-between; }
.home-button { display: inline-flex; height: 34px; align-items: center; gap: 6px; padding: 0 13px; border: 1px solid rgba(181,138,219,.25); border-radius: 18px; background: rgba(255,255,255,.68); color: #706678; }
.home-button:hover { border-color: var(--primary); color: var(--primary-strong); }
.home-button svg { width: 15px; height: 15px; }
.watch-container { padding-bottom: 30px; }
.breadcrumb { display: flex; height: 54px; min-width: 0; align-items: center; gap: 8px; overflow: hidden; color: #817b85; font-size: 14px; white-space: nowrap; }
.breadcrumb a:hover { color: var(--primary-strong); }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 20px; }
.watch-main { min-width: 0; }
.watch-info { padding: 15px 4px 0; }
.watch-info h1 { margin: 0; font-size: 20px; font-weight: 560; line-height: 1.45; }
.watch-meta { display: flex; min-height: 38px; align-items: center; gap: 8px; margin-top: 7px; color: #858990; font-size: 14px; }
.meta-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-size: 12px; font-weight: 700; }
.watch-streamer-link { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
.watch-streamer-link:hover .streamer { color: var(--primary-strong); }
.watch-streamer-link:focus-visible { outline: 3px solid rgba(181,138,219,.2); outline-offset: 2px; }
.watch-meta .streamer { color: #69646d; }
.watch-meta .date { color: var(--primary-strong); }
.meta-dot::before { content: "|"; }
.watch-actions { display: flex; min-height: 46px; align-items: center; gap: 4px; border-bottom: 1px solid #e5e6e8; }
.watch-actions button, .watch-actions a { display: inline-flex; height: 34px; align-items: center; gap: 6px; padding: 0 10px; border: 0; background: transparent; color: #77727c; cursor: pointer; }
.watch-actions button:hover, .watch-actions a:hover { color: var(--primary-strong); }
.watch-actions svg { width: 17px; height: 17px; }
.watch-actions .like-button { padding-left: 0; cursor: default; }
.clip-export { margin-top: 16px; padding: 18px 20px 16px; border: 1px solid #e6ddea; border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(58,40,68,.06); }
.clip-export > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.clip-export h2 { margin: 0; font-size: 17px; font-weight: 680; }
.clip-export header p { margin: 5px 0 0; color: #948b98; font-size: 13px; line-height: 1.55; }
.clip-export header > button { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border: 0; border-radius: 8px; background: #f6f1f8; color: #85778b; font-size: 20px; line-height: 1; cursor: pointer; }
.clip-export form { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr) auto; align-items: end; gap: 10px; margin-top: 16px; }
.clip-export label { display: grid; min-width: 0; gap: 7px; color: #746979; font-size: 12px; font-weight: 650; }
.clip-export label > div { display: flex; min-width: 0; overflow: hidden; border: 1px solid #ded5e3; border-radius: 8px; background: #fff; }
.clip-export input { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #403846; font-variant-numeric: tabular-nums; }
.clip-export label > div:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(181,138,219,.1); }
.clip-export label button { min-width: 66px; border: 0; border-left: 1px solid #ebe5ee; background: #faf7fb; color: #866193; font-size: 12px; cursor: pointer; }
.clip-export label button:hover { background: var(--primary-pale); color: var(--primary-strong); }
.clip-range-mark { display: grid; height: 40px; place-items: center; color: #aaa1ad; }
.clip-submit { display: inline-flex; height: 42px; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; border: 0; border-radius: 8px; background: linear-gradient(115deg,#9d62c4,#c57bbf); color: #fff; font-weight: 680; cursor: pointer; box-shadow: 0 6px 15px rgba(137,77,164,.18); }
.clip-submit:hover { filter: brightness(1.04); }
.clip-submit svg { width: 16px; height: 16px; }
.clip-export > small { display: block; margin-top: 10px; color: #9b929e; font-size: 12px; line-height: 1.55; }
.comment-box, .video-list-box { border-radius: 8px; background: #fff; }
.comment-box { margin-top: 20px; padding: 19px 20px 8px; }
.box-title { display: flex; align-items: center; justify-content: space-between; }
.box-title h2 { margin: 0 0 16px; font-size: 17px; font-weight: 600; }
.box-title span { color: var(--muted); font-size: 12px; font-weight: 400; }
.comment-form { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: 10px 12px; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; outline: none; background: #fbfbfc; }
.comment-form input { height: 36px; padding: 0 11px; }
.comment-form textarea { grid-column: 1 / -1; min-height: 90px; resize: vertical; padding: 11px 12px; line-height: 1.65; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(181,138,219,.1); }
.time-insert { display: flex; align-items: center; gap: 9px; color: #928c96; font-size: 13px; }
.time-insert button { display: inline-flex; height: 34px; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--primary-strong); cursor: pointer; }
.time-insert svg { width: 15px; height: 15px; }
.comment-submit { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; }
.comment-submit span { color: #928c96; font-size: 13px; }
.comment-submit button { min-width: 88px; height: 35px; border: 0; border-radius: 6px; background: var(--primary); color: white; cursor: pointer; }
.comment-submit button:disabled { opacity: .55; }
.comment-list { border-top: 1px solid #f0f0f1; }
.comment-item { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 11px; padding: 16px 2px; border-bottom: 1px solid #f0f0f1; }
.comment-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-size: 12px; }
.comment-item strong { font-size: 13px; font-weight: 600; }
.comment-item p { margin: 6px 0 0; color: #545057; line-height: 1.7; white-space: pre-wrap; }
.comment-item time { color: #928c96; font-size: 12px; }
.timecode { margin-top: 7px; border: 0; border-radius: 4px; background: var(--primary-pale); color: var(--primary-strong); cursor: pointer; }
.video-list-box { position: sticky; top: 18px; max-height: calc(100vh - 86px); overflow: hidden; }
.video-list-head { display: flex; height: 54px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.video-list-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.video-list-head span { color: var(--muted); font-size: 13px; }
.video-list { max-height: calc(100vh - 140px); overflow-y: auto; padding: 8px 7px 11px; }
.video-list-item { display: grid; min-height: 43px; grid-template-columns: 31px minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 5px; color: #56515a; }
.video-list-item:hover { background: #f7f5f9; }
.video-list-item.active { background: var(--primary-soft); color: var(--primary-strong); }
.video-list[aria-busy="true"] .video-list-item.active { box-shadow: inset 3px 0 var(--primary); }
.video-index { color: #aaa5ad; font: 12px "Segoe UI", sans-serif; text-align: center; }
.video-list-item.active .video-index { color: var(--primary-strong); }
.video-title { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.video-size { color: #98929c; font-size: 12px; }
.lights-out::after { position: fixed; z-index: 31; inset: 0; background: rgba(0,0,0,.82); content: ""; pointer-events: none; }

/* Collapsible archive filters and calendar controls */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }
.filter-studio { margin: 3px 0 10px; }
.filter-console { position: relative; overflow: visible; border: 1px solid #e5e0e8; border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(63,45,74,.06); }
.filter-console-head { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; }
.filter-console:not(.collapsed) .filter-console-head { border-bottom: 1px solid #eeeaf0; }
.filter-console-title { min-width: 0; }
.filter-console-title small, .calendar-head small { display: block; color: #9a6ab8; font: 700 12px/1.2 "Segoe UI", sans-serif; letter-spacing: .16em; }
.filter-console-title strong { display: block; margin-top: 5px; color: #403646; font-size: 18px; font-weight: 680; }
.filter-console-title > span { display: block; margin-top: 6px; color: #8f8792; font-size: 13px; line-height: 1.5; }
.filter-collapse-button { display: flex; min-width: 108px; height: 38px; align-items: center; justify-content: center; gap: 9px; border: 1px solid #e1d8e7; border-radius: 9px; background: #fbf9fc; color: #705b79; font-size: 13px; cursor: pointer; }
.filter-collapse-button:hover { border-color: var(--primary); color: var(--primary-strong); }
.filter-collapse-button i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(2px) rotate(225deg); transition: transform .18s ease; }
.filter-console.collapsed .filter-collapse-button i { transform: translateY(-2px) rotate(45deg); }
.filter-console-body { display: grid; grid-template-columns: minmax(310px,1.35fr) minmax(220px,.8fr) minmax(330px,1fr); align-items: end; gap: 20px; padding: 15px 20px 18px; }
.control-label { display: block; margin-bottom: 8px; color: #7f7483; font-size: 13px; }
.date-picker { position: relative; z-index: 8; }
.date-picker.open { z-index: 60; }
.date-trigger { display: grid; width: 100%; height: 46px; grid-template-columns: 25px minmax(0,1fr) 10px; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #e3dce7; border-radius: 8px; background: #fff; color: #625568; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.date-trigger:hover, .date-picker.open .date-trigger { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(181,122,205,.1); }
.date-trigger svg { width: 20px; height: 20px; fill: none; stroke: var(--primary-strong); stroke-width: 1.7; }
.date-trigger span { display: grid; gap: 2px; min-width: 0; }
.date-trigger strong { overflow: hidden; font-size: 14px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.date-trigger small { color: #958c99; font-size: 12px; }
.date-trigger > i { width: 7px; height: 7px; border-right: 1.5px solid #8a7c90; border-bottom: 1.5px solid #8a7c90; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.date-picker.open .date-trigger > i { transform: translateY(2px) rotate(225deg); }
.date-calendar { position: absolute; z-index: 2; top: calc(100% + 9px); left: 0; width: 100%; overflow: hidden; padding: 16px 18px 14px; border: 1px solid rgba(202,185,211,.84); border-radius: 12px; background: rgba(255,255,255,.99); box-shadow: 0 18px 46px rgba(69,45,78,.18); transform-origin: top left; animation: calendar-drop .16s ease-out both; backdrop-filter: blur(16px); }
.calendar-head { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 14px; }
.calendar-head strong { display: block; margin-top: 4px; color: #403646; font-size: 16px; font-weight: 680; }
.calendar-close { display: grid; width: 34px; height: 34px; flex: none; place-items: center; border: 1px solid #e5dce8; border-radius: 8px; background: #fbf8fc; color: #8a758f; font-size: 22px; line-height: 1; cursor: pointer; }
.calendar-close:hover, .calendar-close:focus-visible { border-color: var(--primary); color: var(--primary-strong); outline: 0; }
.native-date-picker-shell { width: 100%; margin-top: 10px; padding-top: 5px; border-top: 1px solid #eee8f0; }
.native-date-picker-shell > div { width: 100% !important; }
.native-date-picker-shell [role="button"] { cursor: pointer; }
.native-date-picker-shell [role="button"]:focus-visible { outline: 3px solid rgba(181,122,205,.24); outline-offset: 1px; }
.calendar-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 9px; border-top: 1px solid #f0ecf2; }
.calendar-foot > div { display: flex; gap: 6px; }
.calendar-foot button { height: 34px; padding: 0 12px; border: 1px solid #e2d8e9; border-radius: 7px; background: #fff; color: #776b7e; font-size: 13px; cursor: pointer; }
.calendar-foot button.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.calendar-foot span { color: #958c99; font-size: 12px; }
.calendar-foot .calendar-confirm { align-items: center; }
.calendar-foot .calendar-confirm button { border-color: transparent; background: linear-gradient(135deg,var(--primary),var(--iris-pink)); color: #fff; font-weight: 680; box-shadow: 0 5px 13px rgba(181,122,205,.2); }
.format-filter { min-width: 0; }
.format-filter > span { color: #7f7483; font-size: 13px; }
.format-filter > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.format-filter button { min-width: 60px; height: 38px; border: 1px solid #e3dce7; border-radius: 7px; background: #fff; color: #6d6272; font-size: 13px; cursor: pointer; }
.format-filter button:hover, .format-filter button.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.selection-card { position: relative; min-width: 0; min-height: 76px; overflow: hidden; padding: 11px 12px 11px 16px; border: 1px solid #e9e1ed; border-radius: 10px; background: linear-gradient(112deg, #fbf7fd 0%, #fff8fc 100%); }
.selection-card::before { position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: #d9c5e4; content: ""; }
.selection-card.active::before { background: linear-gradient(180deg, var(--primary), var(--iris-pink)); }
.selection-label { display: block; color: #8a7d8e; font-size: 12px; line-height: 1; }
.selection-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.selection-values { display: flex; min-width: 0; align-items: center; gap: 6px; overflow: hidden; }
.selection-values strong { flex: none; color: #4a3d50; font-size: 15px; font-weight: 680; white-space: nowrap; }
.selection-values > span { overflow: hidden; padding: 3px 7px; border: 1px solid rgba(181,138,219,.18); border-radius: 999px; background: rgba(255,255,255,.8); color: #8e6298; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.clear-filter { display: inline-flex; height: 34px; flex: none; align-items: center; gap: 5px; padding: 0 11px; border: 1px solid #dfd3e5; border-radius: 8px; background: #fff; color: #7d5688; font-size: 13px; cursor: pointer; box-shadow: 0 3px 9px rgba(77,51,87,.05); }
.clear-filter > span { font: 17px/1 "Segoe UI Symbol", sans-serif; }
.clear-filter:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }

/* XGPlayer */
.player-stage { position: relative; z-index: 2; }
.iris-player, .player-placeholder { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 11px; background: #0d0b11; box-shadow: 0 10px 30px rgba(28,19,34,.2); }
.xgplayer-host, .xgplayer-host > .xgplayer { width: 100% !important; height: 100% !important; }
.player-watermark { position: absolute; z-index: 6; top: 15px; left: 15px; max-width: calc(100% - 30px); overflow: hidden; padding: 6px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 7px; background: rgba(16,11,20,.48); color: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.5); pointer-events: none; backdrop-filter: blur(6px); }
.player-access-error { display: grid; place-items: center; color: #e9e1eb; text-align: center; }
.player-access-error > div { display: grid; max-width: 460px; justify-items: center; gap: 9px; padding: 24px; }
.player-access-error strong { font-size: 18px; }
.player-access-error span { color: #bcb2c0; line-height: 1.7; }
.player-access-error button { height: 36px; margin-top: 4px; padding: 0 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.player-access-error button:hover { background: rgba(255,255,255,.17); }
.lights-out .player-stage { position: relative; z-index: 32; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes calendar-drop { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .watch-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .filter-console-body { grid-template-columns: minmax(260px,1.15fr) minmax(210px,.85fr); }
  .selection-card { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .watch-layout { grid-template-columns: 1fr; }
  .video-list-box { position: static; max-height: none; }
  .video-list { max-height: none; }
  .list-view .video-card > a { grid-template-columns: 235px 1fr; }
  .filter-console-body { grid-template-columns: 1fr 1fr; gap: 14px; }
  .selection-card { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { padding-bottom: 53px; }
  .container { padding-inline: 16px; }
  .archive-page .site-header { height: 98px; }
  .archive-page .header-inner { align-content: center; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .archive-page .site-logo { height: 34px; }
  .logo-copy strong { font-size: 18px; }
  .logo-copy em { display: none; }
  .header-search { order: 2; width: 100%; height: 39px; margin: 0; }
  .channel-nav { min-height: 89px; gap: 11px; }
  .channel-label { min-width: 43px; }
  .channel-list { gap: 11px; }
  .streamer-avatar { width: 47px; height: 47px; }
  .streamer-name { width: 58px; }
  .filter-line { min-height: 52px; }
  .select-pill { max-width: calc(50vw - 22px); }
  .select-pill select { min-width: 0; max-width: 115px; }
  .result-toolbar { height: 49px; }
  .result-toolbar p { font-size: 13px; }
  .result-toolbar small { display: none; }
  .toolbar-actions { gap: 6px; }
  .segmented button { width: 31px; height: 29px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .video-card:hover { transform: none; box-shadow: none; }
  .card-info { min-height: 88px; padding: 9px 10px 11px; }
  .card-info h2 { min-height: 40px; font-size: 14px; line-height: 20px; }
  .card-meta { margin-top: 7px; font-size: 12px; }
  .list-view .video-card { height: 102px; }
  .list-view .video-card > a { grid-template-columns: 160px 1fr; }
  .list-view .card-cover { height: 102px; }
  .list-view .card-info { padding: 12px; }
  .list-view .card-info h2 { font-size: 14px; }
  .filter-console-head { min-height: 62px; padding: 12px 14px; }
  .filter-console-body { grid-template-columns: 1fr; gap: 13px; padding: 14px; }
  .selection-card { grid-column: auto; }
  .selection-values { flex-wrap: wrap; overflow: visible; }
  .selection-row { align-items: flex-end; }
  .filter-collapse-button { min-width: 104px; }
  .date-calendar { left: 0; width: 100%; padding: 13px 11px 11px; }
  .calendar-head { align-items: center; flex-direction: row; }
  .native-date-picker-shell { margin-top: 8px; }
  .calendar-foot { align-items: flex-start; flex-direction: column; }
  .site-footer { height: 42px; }
  .toast-region { right: 16px; bottom: 56px; }

  .compact-header { height: 52px; }
  .compact-header .logo-mark { width: 31px; height: 31px; }
  .compact-header .logo-copy strong { font-size: 17px; }
  .home-button { height: 31px; padding: 0 11px; font-size: 12px; }
  .breadcrumb { height: 45px; }
  .watch-container { padding-inline: 16px; }
  .watch-layout { gap: 14px; }
  .iris-player, .player-placeholder { width: calc(100% + 32px); margin-left: -16px; border-radius: 0; }
  .watch-info { padding-inline: 1px; }
  .watch-info h1 { font-size: 17px; line-height: 1.5; }
  .watch-meta { flex-wrap: wrap; gap: 6px; }
  .watch-actions { overflow-x: auto; }
  .watch-actions button, .watch-actions a { flex: none; padding-inline: 8px; }
  .clip-export { margin-top: 12px; padding: 15px 13px 14px; }
  .clip-export form { grid-template-columns: 1fr; align-items: stretch; }
  .clip-range-mark { display: none; }
  .clip-submit { width: 100%; }
  .player-watermark { top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 5px 8px; font-size: 12px; }
  .comment-box { margin-top: 14px; padding: 16px 14px 5px; }
  .comment-form { grid-template-columns: 1fr; }
  .comment-form textarea, .comment-submit { grid-column: auto; }
  .time-insert { min-height: 34px; }
  .comment-submit { align-items: flex-end; }
  .comment-submit span { max-width: 200px; }
  .comment-item { grid-template-columns: 31px minmax(0,1fr); }
  .comment-item time { grid-column: 2; }
  .video-list-head { height: 49px; }
  .video-list-item { min-height: 45px; }
}

@media (max-width: 370px) {
  .container { padding-inline: 12px; }
  .video-grid { gap: 9px; }
  .card-info { padding-inline: 8px; }
  .result-toolbar p span { display: none; }
  .sort-switch { display: none; }
  .list-view .video-card > a { grid-template-columns: 140px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* 2026 single-channel interface */
:root { --ink:#24152f; --ink-soft:#5d5365; --lavender:#aa72d4; --lavender-deep:#75419e; --lavender-wash:#f5edfb; --paper:#fffefe; }
body.archive-page { padding-bottom:0; background: radial-gradient(circle at 12% 4%, #fbf5ff 0, transparent 28%), linear-gradient(180deg,#f8f7fa 0,#f1f2f5 55%,#f7f5f8 100%); color:var(--ink); font-size:16px; }
body.watch-page { padding-bottom:0; }
.archive-page .container { width:min(1280px,100%); padding-inline:28px; }
.archive-page .site-header { position:sticky;top:0;height:60px;border-bottom:1px solid rgba(181,138,219,.12);background:linear-gradient(100deg,#fbf2fc 0%,#f7f4fc 44%,#eff8fb 100%);backdrop-filter:none; }
.archive-page .site-header .header-inner { width:min(1400px,100%);padding-inline:20px;gap:38px; }
.archive-page .logo-mark { width:34px;height:34px;border-radius:9px; }
.archive-page .logo-copy { display:flex;align-items:baseline;gap:9px; }
.archive-page .logo-copy strong { font-size:20px; }
.archive-page .logo-copy em { font-size:14px; }
.header-tools { display:flex; align-items:center; gap:10px; flex:1; justify-content:flex-end; }
.archive-page .header-search { width:min(500px,48vw);height:40px;margin:0; }
.archive-page .header-search input { display:block;height:100%;padding-block:0;border-radius:8px;font-size:14px;line-height:1.4; }
.archive-page .header-search button { top:0;right:0;bottom:0;display:grid;width:43px;height:100%;place-items:center;padding:0;line-height:0; }
.archive-page .header-search button svg { display:block;width:19px;height:19px; }
.identity-chip,.access-logout { height:36px; display:inline-flex; align-items:center; border-radius:999px; border:1px solid #e7d7f0; background:#faf5fd; color:#74448f; font-size:13px; padding:0 13px; }
.access-logout { cursor:pointer; background:white; }
.archive-page .page-main { min-height:calc(100vh - 130px); padding-top:24px; }
.archive-zones { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:0 0 20px; }
.archive-zones button { position:relative; min-height:90px; display:flex; align-items:center; gap:16px; padding:17px 22px; border:1px solid #e5dce9; border-radius:20px; background:rgba(255,255,255,.85); text-align:left; cursor:pointer; transition:.2s; }
.archive-zones button:only-child { grid-column:1/-1; }
.archive-zones button:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(61,38,72,.09); }.archive-zones button.active { border-color:#b47bd5; box-shadow:inset 0 0 0 1px #c797e1; background:#fbf6fe; }
.archive-zones .fleet-zone { background:linear-gradient(120deg,#34203f,#5d3771); border-color:#58336c; color:white; }.archive-zones .fleet-zone.active { border-color:#e1b9f5; box-shadow:inset 0 0 0 1px #e1b9f5,0 12px 30px rgba(54,29,68,.2); }
.zone-icon { display:grid; place-items:center; flex:none; width:48px;height:48px;overflow:hidden;border-radius:15px;background:#f1e6f8;color:#8350a2;font-size:17px;font-weight:800; }.zone-icon img { width:100%;height:100%;object-fit:cover; }.fleet-zone .zone-icon { background:rgba(255,255,255,.12);color:#eccafb; }
.archive-zones button>span:nth-child(2) { display:grid;gap:5px; }.archive-zones strong { font-size:18px; }.archive-zones small { color:#8b7f90;font-size:14px; }.fleet-zone small { color:#d8c3df; }.archive-zones b { margin-left:auto;padding:6px 11px;border-radius:99px;background:rgba(255,255,255,.12);font-size:12px; }
.archive-page .filter-studio { margin:0 0 24px; border:1px solid #e5dee9; border-radius:22px; background:rgba(255,255,255,.94); overflow:visible; box-shadow:0 12px 34px rgba(55,39,63,.05); }
.archive-page .filter-studio>header { min-height:94px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 24px; border-bottom:1px solid #eee8f1; }
.archive-page .filter-studio.collapsed>header { border:0; }.filter-studio>header small,.result-toolbar small { color:#a160c4;font-size:12px;font-weight:800;letter-spacing:.16em; }.filter-studio>header h2 { margin:4px 0;font-size:21px; }.filter-studio>header p { margin:0;color:#8a7e8f;font-size:14px; }
.filter-studio>header>.filter-toggle { display:inline-flex; min-width:86px; height:36px; flex:none; align-items:center; justify-content:center; gap:7px; padding:0 13px; border:1px solid #ded1e5; border-radius:10px; background:#faf7fc; color:#6e5479; font-size:13px; line-height:1; cursor:pointer; }
.filter-studio>header>.filter-toggle svg { display:block; width:14px; height:14px; transform:rotate(180deg); transition:transform .18s ease; }
.filter-studio.collapsed>header>.filter-toggle svg { transform:none; }
.filter-studio>header>.filter-toggle:hover { border-color:#b982d6; background:#f7effb; color:#774693; }
.archive-page .filter-console-body { display:grid; grid-template-columns:minmax(300px,1.2fr) minmax(260px,.9fr) minmax(250px,.85fr); gap:20px; padding:22px 24px 24px; align-items:end; }
.control-label,.format-filter>.control-label { display:block;margin-bottom:9px;color:#685c6c;font-size:14px;font-weight:650; }
.archive-page .date-trigger { width:100%;height:38px;display:flex;align-items:center;gap:11px;padding:0 13px;border:1px solid #d9cce1;border-radius:10px;background:white;text-align:left;cursor:pointer;box-shadow:0 4px 12px rgba(50,30,60,.03); }.archive-page .date-trigger svg { color:#9c5ec4;font-size:19px; }.archive-page .date-trigger>span { display:grid;gap:1px;flex:1; }.archive-page .date-trigger strong { font-size:14px;line-height:1.1; }.archive-page .date-trigger small { color:#a194a8;font-size:11px;line-height:1.1; }.archive-page .date-trigger i { width:7px;height:7px;border-right:1px solid #8f7d98;border-bottom:1px solid #8f7d98;transform:rotate(45deg); }
.archive-page .format-filter>div { height:38px;min-height:38px;display:flex;align-items:center;gap:7px;flex-wrap:nowrap; }.archive-page .format-filter button { min-width:54px;height:32px;min-height:32px;padding:0 11px;border:1px solid #e0d7e5;border-radius:8px;background:#fff;color:#695c70;font-size:13px;cursor:pointer; }.archive-page .format-filter button.active { border-color:#ac70d1;background:#f2e8f9;color:#8247a5;font-weight:700; }
.selection-filter { min-width:0; }
.archive-page .selection-card { position:relative; min-width:0; min-height:38px; height:38px; display:flex; align-items:center; justify-content:space-between; gap:10px; overflow:hidden; padding:0 10px 0 13px; border:1px solid #d9cce1; border-radius:10px; background:#fff; box-shadow:0 4px 12px rgba(50,30,60,.03); }
.archive-page .selection-card::before { content:none; }
.archive-page .selection-card>div { min-width:0; }
.archive-page .selection-card strong { display:block; overflow:hidden; color:#4d3d54; font-size:14px; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }
.archive-page .selection-card p { overflow:hidden; margin:1px 0 0; color:#8e7897; font-size:11px; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }
.archive-page .selection-card>button { min-width:50px; height:30px; flex:none; padding:0 10px; border:1px solid #e0d2e7; border-radius:8px; background:#f8f1fb; color:#805195; font-size:12px; cursor:pointer; }
.archive-page .selection-card>button:hover { border-color:#b981d6; background:#f1e4f8; }
.archive-page .result-toolbar { height:auto;min-height:76px;border:0;background:transparent; }
.result-toolbar>div:first-child { display:flex; flex-direction:column; align-items:flex-start; }
.result-toolbar>div:first-child small { margin:0; padding:0; }
.result-toolbar>div:first-child p { margin:5px 0 0; padding:0; font-size:20px; }.result-toolbar>div:first-child p strong { color:#7f45a2; }.archive-page .segmented { padding:4px;border:1px solid #e1d8e6;border-radius:13px;background:white; }.archive-page .segmented button { width:40px;height:36px;border:0;border-radius:9px; }.archive-page .segmented button.active { background:#ede0f6;color:#754397; }
.archive-page .video-grid { grid-template-columns:repeat(4,minmax(0,1fr));gap:20px; }.archive-page .video-card { overflow:hidden;border:1px solid #e8e3eb;border-radius:18px;background:white;box-shadow:0 8px 22px rgba(44,32,50,.04); }.archive-page .video-card:hover { transform:translateY(-5px);box-shadow:0 18px 38px rgba(53,35,62,.13); }.archive-page .card-cover { height:auto;aspect-ratio:16/9;background:linear-gradient(145deg,#241e28,#151219); }.archive-page .card-info { min-height:132px;padding:15px 17px 17px; }.card-date { display:block;color:#a074b4;font:700 12px/1.2 Georgia,serif;letter-spacing:.06em; }.archive-page .card-info h2 { min-height:48px;margin:8px 0 13px;font-size:16px;line-height:1.5; }.archive-page .card-meta { font-size:13px; }.fleet-card-badge { position:absolute;top:12px;left:12px;padding:5px 9px;border-radius:999px;background:rgba(83,43,103,.88);color:white;font-size:12px;backdrop-filter:blur(6px); }
.archive-page .list-view { grid-template-columns:1fr; }
.archive-page .list-view .video-card { height:156px; }
.archive-page .list-view .video-card>a { height:100%;grid-template-columns:250px minmax(0,1fr);align-items:stretch; }
.archive-page .list-view .card-cover { width:100%;height:100%;aspect-ratio:auto; }
.archive-page .list-view .card-cover img { width:100%;height:100%;object-fit:cover;object-position:center; }
.archive-page .list-view .card-info { height:100%;min-height:0;justify-content:center;padding:20px; }
.archive-page .list-view .card-info h2 { min-height:auto;margin:8px 0 13px; }
.archive-page .empty-state { grid-column:1/-1;min-height:240px;border:1px dashed #dccde4;border-radius:22px;background:rgba(255,255,255,.62); }
.meta-avatar { overflow:hidden; }.meta-avatar img { width:100%;height:100%;object-fit:cover; }
.archive-page .site-footer,.watch-page .site-footer { position:static; }
.archive-page .site-footer { height:70px;display:flex;justify-content:center;gap:16px;font-size:14px; }.site-footer small { color:#aaa0ae;font-size:10px;letter-spacing:.14em; }

/* full-screen date lens */
body.calendar-open { overflow:hidden; }.calendar-mask { position:fixed;z-index:1100;inset:0;display:grid;place-items:center;padding:24px;background:rgba(25,15,31,.46);backdrop-filter:blur(8px);animation:toast-in .18s ease-out; }
.date-lens { width:min(820px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;border:1px solid rgba(255,255,255,.7);border-radius:28px;background:#fff;box-shadow:0 35px 90px rgba(24,12,31,.32); }.date-lens>header { display:flex;justify-content:space-between;padding:26px 30px 20px;border-bottom:1px solid #ede7f0; }.date-lens header small { color:#a35fc5;font-size:12px;font-weight:800;letter-spacing:.2em; }.date-lens h2 { margin:5px 0;font-size:25px; }.date-lens header p { margin:0;color:#948799;font-size:14px; }.lens-close { width:42px;height:42px;border:1px solid #e5dbe9;border-radius:50%;background:white;color:#796c7f;font-size:25px;cursor:pointer; }
.lens-body { display:grid;grid-template-columns:130px 1fr;min-height:510px; }.year-rail { display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px 16px;border-right:1px solid #eee8f1;background:#fbf8fc; }.year-rail>span { margin-bottom:8px;color:#9a8ba0;font-size:12px;letter-spacing:.15em; }.year-rail button { width:80px;height:35px;border:0;border-radius:10px;background:transparent;color:#75677b;cursor:pointer; }.year-rail button.active { background:#744393;color:white;font-weight:800;box-shadow:0 7px 16px rgba(101,55,126,.24); }.lens-main { padding:22px 28px; }.month-grid { display:grid;grid-template-columns:repeat(6,1fr);gap:7px;padding-bottom:20px;border-bottom:1px solid #eee8f1; }.month-grid button { height:36px;border:1px solid #e5dce8;border-radius:10px;background:white;color:#746779;cursor:pointer; }.month-grid button.active { border-color:#b57ad5;background:#f0e3f7;color:#784398;font-weight:750; }.calendar-title-row { display:grid;grid-template-columns:42px 1fr 42px;align-items:center;margin:19px 0 12px;text-align:center; }.calendar-title-row button { width:38px;height:38px;border:1px solid #e5dbe9;border-radius:11px;background:white;font-size:24px;cursor:pointer; }.calendar-title-row strong { font-size:18px; }.day-grid { display:grid;grid-template-columns:repeat(7,1fr);gap:6px; }.weekdays span { height:30px;text-align:center;color:#aa9aae;font-size:13px; }.days button,.days .blank { position:relative;height:49px;border:0;border-radius:13px;background:transparent;color:#6e6373;cursor:pointer; }.days button:hover { background:#f6eff9; }.days button.available { background:#faf5fc;color:#5a376b;font-weight:750; }.days button.selected { background:#7d499b;color:white;box-shadow:0 7px 17px rgba(104,58,129,.28); }.days button i { position:absolute;left:50%;bottom:5px;width:4px;height:4px;border-radius:50%;background:#d278c7; }.days button.selected i { background:white; }.date-lens>footer { min-height:76px;display:flex;align-items:center;justify-content:space-between;padding:15px 28px;border-top:1px solid #eee8f1;color:#8c7f91;font-size:13px; }.legend-dot { display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#cb73c5; }.lens-actions { display:flex;gap:8px; }.lens-actions button { height:40px;padding:0 16px;border:1px solid #dfd3e5;border-radius:11px;background:white;color:#76547f;cursor:pointer; }.lens-actions button:last-child { border-color:#754392;background:#754392;color:white; }

/* access and fleet dialogs */
.access-gate { position:relative;min-height:100vh;display:grid;place-items:center;overflow:hidden;padding:24px;background:radial-gradient(circle at 15% 18%,#f1d9f4 0,transparent 28%),radial-gradient(circle at 85% 78%,#dce8fb 0,transparent 30%),linear-gradient(145deg,#fbf8fc,#eee9f3); }.gate-orbit { position:absolute;border:1px solid rgba(112,64,137,.13);border-radius:50%; }.gate-orbit.one { width:650px;height:650px;left:-230px;top:-300px; }.gate-orbit.two { width:520px;height:520px;right:-180px;bottom:-240px; }.gate-card { position:relative;z-index:1;width:min(470px,100%);padding:42px 44px;border:1px solid rgba(255,255,255,.9);border-radius:30px;background:rgba(255,255,255,.84);box-shadow:0 28px 80px rgba(54,30,66,.16);backdrop-filter:blur(22px); }.gate-logo { width:78px;height:78px;margin-bottom:24px;border-radius:24px;object-fit:cover;box-shadow:0 12px 28px rgba(112,62,138,.24); }.gate-kicker { display:flex;align-items:center;gap:9px;color:#a060bf;font-size:11px;font-weight:800;letter-spacing:.18em; }.gate-kicker span { width:22px;height:2px;background:#c685d1; }.gate-card h1 { margin:9px 0 7px;font-size:34px; }.gate-card>p { margin:0 0 30px;color:#887b8d;font-size:15px; }.gate-card label { display:block;margin-bottom:9px;color:#5f5264;font-size:14px;font-weight:700; }.gate-input { height:56px;display:flex;align-items:center;gap:11px;padding:0 16px;border:1px solid #d9cce0;border-radius:15px;background:white; }.gate-input span { color:#a468bf; }.gate-input input { flex:1;min-width:0;border:0;outline:0;font-size:16px; }.gate-card form>button,.fleet-dialog form>button { width:100%;height:54px;margin-top:15px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:15px;background:linear-gradient(110deg,#684086,#9b63bb);color:white;font-weight:750;cursor:pointer;box-shadow:0 12px 24px rgba(106,61,132,.22); }.gate-card>small { display:block;margin-top:18px;text-align:center;color:#a095a3;font-size:12px; }.gate-error { margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff0f4;color:#a83f61;font-size:13px; }
.notice-mask { position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(28,17,35,.48);backdrop-filter:blur(7px); }.fleet-dialog,.notice-dialog { position:relative;width:min(470px,100%);padding:36px;border-radius:26px;background:white;box-shadow:0 30px 75px rgba(32,18,39,.3); }.fleet-dialog { background:radial-gradient(circle at 100% 0,#f0dafa,transparent 32%),#fff; }.modal-close { position:absolute;right:18px;top:18px;width:36px;height:36px;border:1px solid #e8deec;border-radius:50%;background:white;font-size:21px;cursor:pointer; }.fleet-seal { display:grid;place-items:center;width:52px;height:52px;margin-bottom:18px;border-radius:17px;background:#4c2b5e;color:#f1cafa;font-size:22px; }.fleet-dialog>small { color:#9e60bd;font-size:11px;font-weight:800;letter-spacing:.17em; }.fleet-dialog h2 { margin:6px 0 9px;font-size:28px; }.fleet-dialog>p { margin:0 0 22px;color:#837687;font-size:14px;line-height:1.7; }.fleet-dialog label { display:grid;gap:7px;margin-top:13px;color:#615466;font-size:14px;font-weight:700; }.fleet-dialog input { height:48px;padding:0 14px;border:1px solid #dccfe2;border-radius:12px;outline:0;font-size:15px; }.fleet-dialog input:focus { border-color:#a86bca;box-shadow:0 0 0 3px #f1e6f7; }.notice-dialog header small { color:#a15fc0;font-size:11px;letter-spacing:.17em; }.notice-dialog h2 { margin:4px 0;font-size:25px; }.notice-dialog p { color:#6e6373;line-height:1.8; }.notice-dialog>button { float:right;height:42px;padding:0 22px;border:0;border-radius:12px;background:#754493;color:white;cursor:pointer; }
.fleet-watch-badge { padding:3px 8px;border-radius:99px;background:#f0e2f6;color:#754293;font-size:12px; }

@media(max-width:900px){.archive-page .filter-console-body{grid-template-columns:1fr 1fr}.selection-filter{grid-column:1/-1}.archive-page .video-grid{grid-template-columns:repeat(3,1fr)}.archive-page .list-view{grid-template-columns:1fr}}
@media(max-width:650px){body.archive-page{font-size:15px}.archive-page .container{padding-inline:14px}.archive-page .site-header{height:auto;min-height:70px}.archive-page .header-inner{padding-block:10px;flex-wrap:wrap}.archive-page .header-tools{width:100%;flex:1 0 100%;}.archive-page .header-search{order:0;width:auto;flex:1;min-width:0}.archive-page .access-logout{height:46px;flex:none;padding-inline:14px;white-space:nowrap}.identity-chip{display:none}.archive-zones{grid-template-columns:1fr}.archive-page .filter-console-body{grid-template-columns:1fr;padding:16px}.selection-filter{grid-column:auto}.archive-page .filter-studio>header{padding:17px;}.archive-page .video-grid{grid-template-columns:repeat(2,1fr);gap:12px}.archive-page .card-info{min-height:115px;padding:12px}.archive-page .card-info h2{font-size:14px}.lens-body{grid-template-columns:1fr}.year-rail{display:grid;grid-template-columns:repeat(5,1fr);border-right:0;border-bottom:1px solid #eee8f1;padding:12px}.year-rail>span,.year-rail button:first-of-type,.year-rail button:last-child{display:none}.year-rail button{width:auto}.month-grid{grid-template-columns:repeat(4,1fr)}.lens-main{padding:18px 14px}.date-lens>header{padding:20px}.date-lens>footer{align-items:flex-start;gap:12px;flex-direction:column;padding:15px 18px}.gate-card{padding:34px 24px}.compact-header .header-tools{margin-left:auto}}
@media(max-width:650px){.archive-page .list-view .video-card{height:112px}.archive-page .list-view .video-card>a{grid-template-columns:160px minmax(0,1fr)}.archive-page .list-view .card-info{height:100%;min-height:0;padding:12px}.archive-page .list-view .card-info h2{margin:5px 0 8px;font-size:14px}}
@media(max-width:370px){.archive-page .list-view .video-card>a{grid-template-columns:140px minmax(0,1fr)}}

.days button i { transform:translateX(-50%); }

@media(max-width:650px){.archive-page .site-header{height:60px;min-height:60px}.archive-page .site-header .header-inner{height:60px;flex-wrap:nowrap;gap:12px;padding-block:0;padding-inline:14px}.archive-page .header-tools{width:auto;flex:1 1 auto}.archive-page .header-search{order:0;width:auto;height:38px;flex:1 1 auto}.archive-page .access-logout{height:34px;padding-inline:12px}.compact-header{height:60px}.compact-header .logo-mark{width:34px;height:34px}}
@media(max-width:480px){.archive-page .logo-copy{display:none}}

html[data-theme="dark"] { color-scheme:dark;--page:#17151a;--surface:#252128;--text:#f5eff7;--muted:#aca3b0;--line:#403944;--shadow:0 9px 30px rgba(0,0,0,.32);--ink:#f6eef9;--ink-soft:#c6bbc9;--paper:#252128;--primary-soft:#3a2945;--primary-pale:#312638; }
html[data-theme="dark"] body { background:#17151a;color:var(--text); }
html[data-theme="dark"] body.archive-page { background:radial-gradient(circle at 12% 4%,#2a1c31 0,transparent 29%),linear-gradient(180deg,#1b181e 0,#151419 58%,#1b181d 100%); }
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .archive-page .site-header { border-bottom-color:#3d3145;background:linear-gradient(100deg,#2a1d2c 0%,#211d29 46%,#19262c 100%);box-shadow:0 1px 8px rgba(0,0,0,.3); }
html[data-theme="dark"] .logo-copy em,
html[data-theme="dark"] .archive-zones small,
html[data-theme="dark"] .filter-studio>header p { color:#b1a5b5; }
html[data-theme="dark"] .control-label,
html[data-theme="dark"] .format-filter>.control-label { color:#c1b5c5; }
html[data-theme="dark"] .header-search input { border-color:#493e50;background:rgba(31,28,35,.92);color:#f6f1f8; }
html[data-theme="dark"] .header-search input:focus { background:#252129; }
html[data-theme="dark"] .header-search input::placeholder { color:#8f8594; }
html[data-theme="dark"] .header-search button { color:#b8aabd; }
html[data-theme="dark"] .home-button,
html[data-theme="dark"] .identity-chip,
html[data-theme="dark"] .access-logout { border-color:#503c5b;background:rgba(37,31,41,.86);color:#d8c5e0; }
html[data-theme="dark"] .archive-zones button,
html[data-theme="dark"] .archive-page .filter-studio,
html[data-theme="dark"] .archive-page .video-card,
html[data-theme="dark"] .comment-box,
html[data-theme="dark"] .video-list-box { border-color:#403745;background:rgba(37,32,40,.96);box-shadow:0 12px 32px rgba(0,0,0,.14); }
html[data-theme="dark"] .archive-zones button.active { border-color:#9662b5;background:#322439;box-shadow:inset 0 0 0 1px #76508c; }
html[data-theme="dark"] .archive-page .filter-studio>header,
html[data-theme="dark"] .video-list-head,
html[data-theme="dark"] .watch-actions,
html[data-theme="dark"] .comment-list { border-color:#403945; }
html[data-theme="dark"] .filter-studio>header>.filter-toggle,
html[data-theme="dark"] .archive-page .date-trigger,
html[data-theme="dark"] .archive-page .format-filter button,
html[data-theme="dark"] .archive-page .selection-card,
html[data-theme="dark"] .archive-page .segmented,
html[data-theme="dark"] .pagination button { border-color:#4a404f;background:#28232b;color:#d6cbd9; }
html[data-theme="dark"] .archive-page .format-filter button.active,
html[data-theme="dark"] .archive-page .segmented button.active,
html[data-theme="dark"] .pagination button.active { border-color:#a56bc5;background:#4a3158;color:#f1d9ff; }
html[data-theme="dark"] .archive-page .selection-card strong,
html[data-theme="dark"] .archive-page .card-info h2,
html[data-theme="dark"] .filter-studio>header h2,
html[data-theme="dark"] .result-toolbar p,
html[data-theme="dark"] .watch-info h1 { color:#f6f0f8; }
html[data-theme="dark"] .archive-page .selection-card p,
html[data-theme="dark"] .archive-page .date-trigger small,
html[data-theme="dark"] .card-meta,
html[data-theme="dark"] .watch-meta { color:#ada3b0; }
html[data-theme="dark"] .archive-page .selection-card>button { border-color:#573f63;background:#392a42;color:#d8b7e8; }
html[data-theme="dark"] .archive-page .empty-state { border-color:#4b3d53;background:rgba(37,31,41,.62); }
html[data-theme="dark"] .site-footer { border-color:#3b3540;background:rgba(28,25,31,.94);color:#aaa0ad; }
html[data-theme="dark"] .video-list-item { color:#d1c9d4; }
html[data-theme="dark"] .video-list-item:hover { background:#302b33; }
html[data-theme="dark"] .video-list-item.active { background:#3b2b46;color:#d9b7ee; }
html[data-theme="dark"] .comment-form input,
html[data-theme="dark"] .comment-form textarea,
html[data-theme="dark"] .time-insert button { border-color:#48404c;background:#211e24;color:#eee8f0; }
html[data-theme="dark"] .clip-export { border-color:#433a47;background:rgba(37,32,40,.96);box-shadow:0 12px 30px rgba(0,0,0,.16); }
html[data-theme="dark"] .clip-export header p,
html[data-theme="dark"] .clip-export>small { color:#aaa0ae; }
html[data-theme="dark"] .clip-export header>button { background:#332c37;color:#cbbfd0; }
html[data-theme="dark"] .clip-export label { color:#c8bdcb; }
html[data-theme="dark"] .clip-export label>div { border-color:#4a404f;background:#211e24; }
html[data-theme="dark"] .clip-export input { color:#f1ebf3; }
html[data-theme="dark"] .clip-export label button { border-color:#48404c;background:#2b252e;color:#d5b8df; }
html[data-theme="dark"] .comment-item p { color:#d4ccd7; }
html[data-theme="dark"] .date-lens { border-color:#4b414f;background:#252128;box-shadow:0 35px 90px rgba(0,0,0,.58); }
html[data-theme="dark"] .date-lens>header,
html[data-theme="dark"] .month-grid,
html[data-theme="dark"] .date-lens>footer { border-color:#413944; }
html[data-theme="dark"] .year-rail { border-color:#413944;background:#201c23; }
html[data-theme="dark"] .month-grid button,
html[data-theme="dark"] .calendar-title-row button,
html[data-theme="dark"] .lens-actions button,
html[data-theme="dark"] .lens-close { border-color:#4a404f;background:#2b262e;color:#d8cfdc; }
html[data-theme="dark"] .days button { color:#cfc4d2; }
html[data-theme="dark"] .days button:hover { background:#302737; }
html[data-theme="dark"] .days button.available { background:#34283b;color:#eadcf0; }
html[data-theme="dark"] .days button.selected { background:#8550a3;color:#fff; }
html[data-theme="dark"] .notice-dialog,
html[data-theme="dark"] .fleet-dialog { background:#29242c;color:#f6eff8; }
html[data-theme="dark"] .notice-dialog p,
html[data-theme="dark"] .fleet-dialog>p { color:#c3b8c6; }
html[data-theme="dark"] .access-gate { background:radial-gradient(circle at 15% 18%,#3b263f 0,transparent 28%),radial-gradient(circle at 85% 78%,#223745 0,transparent 30%),linear-gradient(145deg,#1f1a22,#17151a); }
html[data-theme="dark"] .gate-card { border-color:#4a3d50;background:rgba(39,33,42,.9); }
html[data-theme="dark"] .gate-card>p,
html[data-theme="dark"] .gate-card label { color:#c3b8c6; }
html[data-theme="dark"] .gate-input { border-color:#514456;background:#201d23; }
html[data-theme="dark"] .gate-input input { color:#f5eff7;background:transparent; }
html[data-theme="dark"] .fullscreen-loading { background:rgba(16,14,18,.6); }
html[data-theme="dark"] .fullscreen-loading-panel { border-color:#4b414f;background:rgba(41,35,44,.92);color:#ebdff0;box-shadow:0 18px 52px rgba(0,0,0,.38); }
html[data-theme="dark"] .theme-toggle { border-color:#5e4969;background:rgba(42,35,46,.92);color:#efd4ff;box-shadow:0 12px 32px rgba(0,0,0,.32); }
