/* DAYSTY app shell (0.5.0): red top bar, category tabs, collapsible sidebar, rooms, chat and calls. */
:root { --d-top-h: 60px; --d-tabs-h: 46px; --d-side-w: 232px; --d-side-mini: 68px; --d-topbar: linear-gradient(90deg, #8E0E25 0%, #B5122E 55%, #A10F2A 100%); --d-ink: #0B0B0E; --d-side-bg: #131318; --d-tabs-bg: #24242B; }
body.daysty-site { background: var(--d-ink); }
.d-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.d-ico { width: 20px; height: 20px; flex: none; }

/* top bar */
.d-top { position: sticky; top: 0; z-index: 60; height: var(--d-top-h); display: flex; align-items: center; gap: 14px; padding: 0 16px 0 10px; background: var(--d-topbar); border: 0; backdrop-filter: none; }
.d-burger { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.d-burger:hover { background: rgba(255,255,255,.12); }
.d-burger .d-ico { width: 24px; height: 24px; }
.d-top .d-brand { display: flex; align-items: center; }
.d-livecount { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 800 14px var(--d-font-body); letter-spacing: .02em; white-space: nowrap; padding: 6px 10px; border-radius: 8px; }
.d-livecount i { width: 9px; height: 9px; border-radius: 50%; background: #9BE15D; box-shadow: 0 0 0 3px rgba(155,225,93,.25); }
.d-livecount:hover, .d-toplink:hover { background: rgba(255,255,255,.1); }
.d-toplink { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; padding: 8px 10px; border-radius: 8px; }
.d-top .d-search { position: relative; flex: 1; max-width: 460px; margin: 0 0 0 6px; }
.d-top .d-search .d-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.75); width: 18px; height: 18px; pointer-events: none; }
.d-top .d-search input { height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.28); color: #fff; padding: 0 16px 0 42px; }
.d-top .d-search input::placeholder { color: rgba(255,255,255,.7); }
.d-top .d-search input:focus { outline: none; border-color: rgba(255,255,255,.55); background: rgba(0,0,0,.4); }
.d-topactions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.d-pillbtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px; font: 700 14px var(--d-font-body); white-space: nowrap; border: 1.5px solid transparent; transition: background .15s, color .15s; }
.d-pillbtn--light { background: #F4EFE9; color: #1A1A1F; }
.d-pillbtn--light:hover { background: #fff; }
.d-pillbtn--outline { border-color: rgba(255,255,255,.85); color: #fff; }
.d-pillbtn--outline:hover { background: rgba(255,255,255,.12); }
.d-pillbtn .d-ico { width: 18px; height: 18px; }
.d-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #F4EFE9; color: #8E0E25; font: 800 16px var(--d-font-head); }

/* category tabs */
.d-tabs { position: sticky; top: var(--d-top-h); z-index: 55; height: var(--d-tabs-h); display: flex; align-items: stretch; gap: 4px; padding: 0 20px; background: var(--d-tabs-bg); overflow-x: auto; scrollbar-width: none; }
.d-tabs::-webkit-scrollbar { display: none; }
.d-tabs a { display: flex; align-items: center; padding: 0 16px; color: #D9D6D2; font-weight: 600; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; }
.d-tabs a:hover { color: #fff; }
.d-tabs a[aria-current='page'] { color: #fff; border-bottom-color: var(--d-red); }

/* sidebar + main */
.d-app { display: flex; align-items: flex-start; min-height: calc(100vh - var(--d-top-h)); }
.d-side { position: sticky; top: calc(var(--d-top-h) + var(--d-tabs-h)); width: var(--d-side-w); flex: none; height: calc(100vh - var(--d-top-h) - var(--d-tabs-h)); overflow-y: auto; padding: 12px 10px 24px; background: var(--d-side-bg); border-right: 1px solid rgba(255,255,255,.05); transition: width .18s ease; scrollbar-width: thin; scrollbar-color: #33333d transparent; }
.d-side nav { display: grid; gap: 2px; }
.d-side a { display: flex; align-items: center; gap: 14px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: #E7E3DE; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; }
.d-side a:hover { background: rgba(255,255,255,.06); }
.d-side a[aria-current='page'] { background: #2A2A31; color: #FF5A6E; }
.d-side a[aria-current='page'] .d-ico { color: #FF5A6E; }
.d-side__h { margin: 18px 12px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #8A8A94; font-weight: 700; white-space: nowrap; }
.d-app__main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: calc(100vh - var(--d-top-h) - var(--d-tabs-h)); }
.d-app__main > main { flex: 1; }
.d-main, .d-page { padding: 20px 24px; max-width: none; width: 100%; margin: 0; }
.d-page { max-width: 1280px; }
.d-side-mini .d-side { width: var(--d-side-mini); padding-inline: 10px; }
.d-side-mini .d-side a { justify-content: center; padding: 0; }
.d-side-mini .d-side a span, .d-side-mini .d-side__h { display: none; }
.d-side-mini .d-side nav + .d-side__h + nav, .d-side-mini .d-side nav + .d-side__h { border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; margin-top: 8px; }
.d-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 64; }

/* promo banner */
.d-promo { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 18px; margin: 0 0 22px; border-radius: 10px; background: linear-gradient(90deg, #4A0716, #8E0E25 60%, #A10F2A); color: #fff; }
.d-promo[hidden] { display: none; }
.d-promo__ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.12); flex: none; }
.d-promo__ico .d-ico { width: 26px; height: 26px; color: #FFC94A; }
.d-promo__txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.d-promo__txt b { font: 800 16px var(--d-font-head); }
.d-promo__txt span { font-size: 14px; color: rgba(255,255,255,.85); }
.d-promo__cta { background: #FFB020; color: #1A1A1F; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; }
.d-promo__cta:hover { background: #FFC24F; }
.d-promo__x { border: 0; background: transparent; color: rgba(255,255,255,.8); width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.d-promo__x:hover { background: rgba(255,255,255,.12); color: #fff; }

/* sections + tiles */
.d-sec { margin-bottom: 30px; }
.d-sec .d-head { align-items: center; }
.d-head h2 { font-size: 20px; }
.d-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.d-tile { border: 0; border-radius: 8px; background: transparent; transition: transform .15s; }
.d-tile__media { position: relative; border-radius: 8px; overflow: hidden; background-size: cover; background-position: center; aspect-ratio: 16 / 10; }
.d-tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-tile:hover .d-tile__media { box-shadow: 0 0 0 2px var(--d-red); }
.d-tile__body { padding: 8px 2px 0; display: grid; gap: 1px; }
.d-tile__body b { font-size: 15px; }
.d-tile__meta { color: var(--d-muted); font-size: 13px; }
.d-badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; border-radius: 4px; }
.d-badge--demo { background: rgba(16,16,20,.82); color: #FFC94A; border: 1px solid rgba(255,201,74,.5); }
.d-badge--demo::before { background: #FFC94A; }
.d-badge--online { background: #1F8A4C; }
.d-tile__call { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,16,20,.75); color: #9BE15D; }
.d-tile__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.d-empty--one { grid-template-columns: 1fr; }

/* buttons with icons */
.d-btn { gap: 8px; }
.d-btn .d-ico { width: 18px; height: 18px; }
.d-btn[disabled] { opacity: .45; cursor: not-allowed; }
.d-btn--call { background: #1F8A4C; color: #fff; }
.d-btn--call:not([disabled]):hover { background: #25A35A; }
.d-btn--icon { padding: 0 12px; }
.d-link { background: none; border: 0; color: var(--d-text); font: 600 14px var(--d-font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* room */
.d-room { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; padding: 18px 24px; align-items: start; }
.d-player { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000 center / cover no-repeat; display: grid; place-items: center; }
.d-player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.d-player__initial { font: 800 120px var(--d-font-head); color: rgba(255,255,255,.18); }
.d-player__over { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.8)); display: grid; gap: 2px; }
.d-player__over b { font: 800 20px var(--d-font-head); }
.d-player__over span { color: rgba(255,255,255,.8); font-size: 14px; }
.d-room__bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0 6px; }
.d-room__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.d-room__av { width: 48px; height: 48px; border-radius: 50%; background: var(--d-raised) center / cover; display: grid; place-items: center; font: 800 20px var(--d-font-head); flex: none; border: 2px solid var(--d-red); }
.d-room__who h1 { font-size: 22px; font-weight: 800; }
.d-room__who p { margin: 2px 0 0; color: var(--d-muted); font-size: 14px; }
.d-room__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.d-room__hint { color: var(--d-muted); font-size: 14px; margin: 0 0 8px; }
.d-room__hint:empty { display: none; }
.d-room__about { border-top: 1px solid var(--d-line); padding-top: 14px; margin-top: 6px; }
.d-room__about h2 { font-size: 17px; margin-bottom: 6px; }
.d-room__bio p { color: #D9D6D2; margin: 0 0 10px; max-width: 75ch; }
.d-room__tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* chat */
.d-chat { position: sticky; top: calc(var(--d-top-h) + var(--d-tabs-h) + 18px); display: flex; flex-direction: column; height: min(640px, calc(100vh - var(--d-top-h) - var(--d-tabs-h) - 36px)); background: #15151B; border: 1px solid var(--d-line); border-radius: 10px; overflow: hidden; }
.d-chat__head { padding: 12px 14px; border-bottom: 1px solid var(--d-line); display: grid; gap: 2px; }
.d-chat__head b { font: 800 16px var(--d-font-head); }
.d-chat__head span { font-size: 12px; }
.d-chat__list { list-style: none; margin: 0; padding: 10px 12px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; font-size: 14px; scrollbar-width: thin; scrollbar-color: #33333d transparent; }
.d-chat__list li { line-height: 1.4; word-wrap: break-word; position: relative; padding-right: 22px; }
.d-chat__list b { color: #C9B5FF; margin-right: 6px; }
.d-chat__list li.is-host b { color: #FF5A6E; }
.d-chat__list li.is-host b::after { content: 'HOST'; margin-left: 6px; font-size: 10px; padding: 1px 5px; border-radius: 3px; background: var(--d-red); color: #fff; vertical-align: 1px; }
.d-chat__list li.is-mine b { color: #9BE15D; }
.d-chat__del { position: absolute; right: 0; top: 0; border: 0; background: transparent; color: var(--d-muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 4px; opacity: 0; }
.d-chat__list li:hover .d-chat__del, .d-chat__del:focus { opacity: 1; }
.d-chat__empty { color: var(--d-muted); text-align: center; margin: auto 0; padding-right: 0 !important; }
.d-chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--d-line); }
.d-chat__form input { flex: 1; min-width: 0; height: 42px; border-radius: 999px; border: 1px solid var(--d-line); background: #0E0E12; color: var(--d-text); padding: 0 16px; font: inherit; }
.d-chat__form input:focus { outline: none; border-color: var(--d-violet); }
.d-chat__form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--d-red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.d-chat__gate { margin: 0; padding: 14px; border-top: 1px solid var(--d-line); text-align: center; color: var(--d-muted); font-size: 14px; }
.d-chat__gate a { color: var(--d-text); text-decoration: underline; }
.d-chat__err { margin: 0; padding: 0 12px 10px; color: var(--d-alert); font-size: 13px; }

/* studio */
.d-studio { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.d-studio__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.d-studio__row p { margin: 4px 0 0; }
.d-studio__incoming { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.d-studio__incoming li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 10px; background: #1F8A4C22; border: 1px solid #1F8A4C; animation: d-ring 1.2s ease-in-out infinite; }
.d-studio__incoming li > div { display: flex; gap: 8px; }
@keyframes d-ring { 50% { box-shadow: 0 0 0 6px rgba(31,138,76,.18); } }
.d-studio__preview { width: 100%; max-width: 420px; border-radius: 10px; margin-top: 12px; background: #000; transform: scaleX(-1); }
.d-switch { position: relative; display: inline-block; width: 54px; height: 30px; flex: none; cursor: pointer; }
.d-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.d-switch span { position: absolute; inset: 0; border-radius: 999px; background: #3A3A44; transition: background .15s; }
.d-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.d-switch input:checked + span { background: #1F8A4C; }
.d-switch input:checked + span::after { transform: translateX(24px); }
.d-switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--d-violet-soft); }

/* call dialog */
.d-call { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(5,5,8,.88); padding: 16px; }
.d-call[hidden] { display: none; }
.d-call__box { width: min(960px, 100%); }
.d-call__stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.d-call__remote { width: 100%; height: 100%; object-fit: cover; background: #000; }
.d-call__local { position: absolute; right: 14px; bottom: 14px; width: 24%; min-width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 2px solid rgba(255,255,255,.7); background: #222; transform: scaleX(-1); }
.d-call__wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; }
.d-call__wait b { font: 800 26px var(--d-font-head); }
.d-call__wait span { color: var(--d-muted); }
.d-call__wait[hidden] { display: none; }
.d-call__pulse { width: 64px; height: 64px; border-radius: 50%; background: #1F8A4C; animation: d-pulse 1.4s ease-out infinite; }
@keyframes d-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,138,76,.6); } 100% { box-shadow: 0 0 0 28px rgba(31,138,76,0); } }
.d-call__timer { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.d-call__bar { display: flex; justify-content: center; gap: 14px; padding: 16px 0 8px; }
.d-cbtn { display: grid; justify-items: center; gap: 4px; min-width: 76px; padding: 10px 12px; border-radius: 12px; border: 0; background: #2A2A31; color: #fff; font: 600 13px var(--d-font-body); cursor: pointer; }
.d-cbtn[aria-pressed='true'] { background: #F4EFE9; color: #1A1A1F; }
.d-cbtn--end { background: var(--d-red); }
.d-cbtn--end .d-ico { transform: rotate(135deg); }
.d-call__note { text-align: center; color: var(--d-muted); font-size: 12px; margin: 4px 0 0; }

/* footer */
.d-foot { margin-top: auto; padding: 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--d-line); color: var(--d-muted); font-size: 14px; }
.d-foot > div { display: grid; gap: 4px; }
.d-foot small { font-size: 12px; }
.d-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.d-foot nav a:hover { color: var(--d-text); }

/* responsive */
@media (max-width: 1180px) {
  .d-hide-md { display: none !important; }
  .d-room, .d-studio { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1024px) {
  .d-side { position: fixed; top: 0; left: 0; z-index: 65; height: 100vh; width: 270px; transform: translateX(-100%); transition: transform .2s ease; padding-top: 16px; }
  .d-side-open .d-side { transform: none; }
  .d-side-mini .d-side { width: 270px; }
  .d-side-mini .d-side a { justify-content: flex-start; padding: 0 12px; }
  .d-side-mini .d-side a span, .d-side-mini .d-side__h { display: block; }
  .d-room, .d-studio { grid-template-columns: 1fr; }
  .d-chat { position: static; height: 460px; }
}
@media (max-width: 720px) {
  :root { --d-top-h: 56px; }
  .d-top { gap: 6px; padding: 0 8px 0 4px; }
  .d-top .d-logo { --w: 104px !important; }
  .d-hide-sm { display: none !important; }
  .d-top .d-search { position: absolute; left: 0; right: 0; top: 100%; margin: 0; max-width: none; padding: 8px 12px; background: #8E0E25; display: none; }
  .d-search-open .d-top .d-search { display: block; }
  .d-searchbtn { display: grid !important; }
  .d-pillbtn { height: 34px; padding: 0 12px; font-size: 13px; }
  .d-pillbtn--light { display: none; }
  .d-tabs { padding: 0 8px; }
  .d-tabs a { padding: 0 12px; font-size: 14px; }
  .d-main, .d-page { padding: 14px 16px 90px; }
  .d-room { padding: 0 0 90px; gap: 10px; }
  .d-player { border-radius: 0; }
  .d-room__stage > :not(.d-player) { margin-inline: 16px; }
  .d-room .d-chat { margin: 0 16px; }
  .d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .d-promo { flex-wrap: wrap; }
  .d-promo__txt { flex-basis: calc(100% - 110px); }
  .d-promo__cta { order: 4; width: 100%; text-align: center; }
  .d-call { padding: 0; }
  .d-call__stage { aspect-ratio: auto; height: calc(100vh - 150px); border-radius: 0; }
  .d-call__local { width: 32%; }
  .d-foot { padding-bottom: 90px; }
}
.d-searchbtn { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; place-items: center; cursor: pointer; margin-left: auto; }
.d-player .d-badge { left: auto; right: 12px; top: 12px; font-size: 12px; padding: 4px 10px; }
.daysty-site .d-avatar { color: #8E0E25; }
.daysty-site .d-pillbtn--light { color: #1A1A1F; }
.daysty-site .d-promo__cta { color: #1A1A1F; }

/* ---------- 0.6.0 ---------- */
.d-logo--white { filter: brightness(0) invert(1); }
/* bottom navigation: one row of five, phones and tablets */
@media (max-width: 1024px) {
  .d-tabbar { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: auto; background: rgba(16,16,20,.97); border-top: 1px solid var(--d-line); backdrop-filter: blur(8px); padding: 0 0 env(safe-area-inset-bottom); }
  .d-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 6px 2px; font-size: 11px; font-weight: 600; color: var(--d-muted); white-space: nowrap; }
  .d-tabbar a[aria-current='page'] { color: #fff; }
  .d-tabbar a[aria-current='page'] .d-ico { color: var(--d-red-logo); }
  .d-tabbar .d-ico { width: 23px; height: 23px; }
  .d-main, .d-page, .d-watch { padding-bottom: 92px !important; }
  .d-foot { padding-bottom: 92px; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .d-tabbar a { font-size: 12px; min-height: 62px; }
  .d-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* segmented nav, A-Z, tags */
.d-seg { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.d-seg a { padding: 8px 16px; border-radius: 999px; background: #1C1C22; border: 1px solid var(--d-line); font-weight: 600; font-size: 14px; }
.d-seg a[aria-current='page'] { background: var(--d-red); border-color: var(--d-red); color: #fff; }
.d-az { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 22px; padding: 8px; background: #15151B; border-radius: 10px; }
.d-az a { min-width: 32px; height: 32px; padding: 0 8px; display: grid; place-items: center; border-radius: 6px; font-weight: 700; font-size: 14px; color: #D9D6D2; }
.d-az a:hover { background: #24242B; }
.d-az a[aria-current='page'] { background: var(--d-red); color: #fff; }
.d-tagsec { margin: 0 0 28px; }
.d-tagsec > h2 { font-size: 22px; font-weight: 800; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--d-line); }
.d-taggroup { margin: 0 0 16px; }
.d-taggroup h3 { font: 700 13px var(--d-font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--d-muted); margin: 0 0 8px; }
.d-tagwrap { display: flex; flex-wrap: wrap; gap: 8px; }
.d-tagpill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; background: #1C1C22; border: 1px solid var(--d-line); font-size: 14px; font-weight: 600; }
.d-tagpill small { color: var(--d-muted); font-weight: 600; font-size: 12px; }
.d-tagpill:hover { border-color: var(--d-red); }
.d-tagpill.is-empty { color: #8A8A94; }
.d-pill--link:hover { border-color: var(--d-red); }
.d-onb__tags { margin: 6px 0 14px; border: 1px solid var(--d-line); border-radius: 10px; padding: 10px 14px; background: var(--d-bg); }
.d-onb__tags summary { cursor: pointer; font-weight: 700; }
.d-onb__tags summary small { color: var(--d-muted); font-weight: 400; }
.d-onb__tg { border: 0; padding: 0; margin: 12px 0 0; }
.d-onb__tg legend { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--d-muted); margin-bottom: 6px; }
.d-onb__tg .d-onb__chip span { padding: 6px 12px; font-size: 13px; }

/* video tiles */
.d-grid--v { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.d-vtile { position: relative; display: block; }
.d-vtile .d-tile__media { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000 center / cover no-repeat; }
.d-vtile .d-tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-vtile:hover .d-tile__media { box-shadow: 0 0 0 2px var(--d-red); }
.d-vtile__dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75); padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.d-vtile__play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(0,0,0,.55); }
.d-vtile__play::after { content: ''; position: absolute; left: 18px; top: 14px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.d-vtile:hover .d-vtile__play { opacity: 0; }
.d-vtile .d-tile__body { padding: 8px 2px 0; display: grid; gap: 2px; }
.d-room__videos { border-top: 1px solid var(--d-line); margin-top: 16px; padding-top: 14px; }
.d-room__videos h2 { font-size: 17px; margin-bottom: 10px; }

/* watch page */
.d-watch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; padding: 18px 24px; align-items: start; }
.d-vplayer { position: relative; background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.d-vplayer video { width: 100%; height: 100%; display: block; background: #000; }
.d-vplayer .d-badge { left: auto; right: 12px; top: 12px; }
.d-watch__title { font-size: 22px; font-weight: 800; margin: 14px 0 10px; }
.d-watch__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.d-watch__bar .d-room__who b { font: 800 16px var(--d-font-head); }
.d-watch__bar .d-room__who p { margin: 0; color: var(--d-muted); font-size: 13px; }
.d-watch__acts { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.d-chipbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: #24242B; color: var(--d-text); font: 700 14px var(--d-font-body); cursor: pointer; }
.d-chipbtn:hover { background: #2F2F37; }
.d-chipbtn .d-ico { width: 18px; height: 18px; }
.d-chipbtn[aria-pressed='true'] { background: var(--d-red); color: #fff; }
.d-watch__desc { margin-top: 14px; padding: 12px 14px; background: #15151B; border-radius: 10px; }
.d-watch__desc p { margin: 0 0 6px; }
.d-watch__more h2 { font-size: 17px; margin-bottom: 10px; }
.d-vlist { display: grid; gap: 14px; }
.d-watch__toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: #F4EFE9; color: #1A1A1F; padding: 10px 18px; border-radius: 999px; font-weight: 700; z-index: 90; box-shadow: 0 6px 24px rgba(0,0,0,.4); }

/* studio uploads */
.d-upload { margin-top: 18px; }
.d-upload__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.d-upload__preview { width: 100%; border-radius: 10px; background: #000; max-height: 320px; }
.d-upload__bar { height: 8px; border-radius: 999px; background: #24242B; overflow: hidden; margin-top: 12px; }
.d-upload__bar span { display: block; height: 100%; width: 0; background: var(--d-red); transition: width .2s; }
.d-myv { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.d-myv li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 10px; background: #15151B; border: 1px solid var(--d-line); }
.d-myv__th { aspect-ratio: 16 / 9; border-radius: 6px; background: #000 center / cover no-repeat; }
.d-myv li > div { display: grid; gap: 4px; justify-items: start; }
.d-myv small { color: var(--d-muted); }

/* detailed footer */
.d-foot { display: block; padding: 32px 24px 24px; background: #0F0F13; }
.d-foot__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.d-foot__about p { font-size: 14px; line-height: 1.6; color: var(--d-muted); margin: 12px 0 0; max-width: 520px; }
.d-foot__strong { color: #D9D6D2 !important; font-weight: 600; }
.d-foot__col { display: grid; align-content: start; gap: 9px; }
.d-foot__col h3 { font: 800 15px var(--d-font-head); color: var(--d-text); margin: 0 0 4px; }
.d-foot__col a { color: var(--d-muted); font-size: 14px; }
.d-foot__col a:hover { color: var(--d-text); }
.d-foot__app { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--d-line); border-radius: 10px; max-width: 520px; }
.d-foot__app[hidden], .d-foot__ios[hidden] { display: none; }
.d-foot__app b { display: block; }
.d-foot__app span { color: var(--d-muted); font-size: 13px; }
.d-foot__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--d-line); font-size: 12px; color: #8A8A94; }
@media (max-width: 1180px) { .d-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .d-foot__about { grid-column: 1 / -1; } }
@media (max-width: 1024px) { .d-watch { grid-template-columns: 1fr; } .d-upload__grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .d-watch { padding: 0 0 92px; gap: 12px; }
  .d-vplayer { border-radius: 0; }
  .d-watch__main > :not(.d-vplayer), .d-watch__more { margin-inline: 16px; }
  .d-watch__acts { margin-left: 0; width: 100%; }
  .d-watch__acts .d-chipbtn { flex: 1 1 auto; justify-content: center; padding: 0 10px; }
  .d-grid--v { grid-template-columns: 1fr; }
  .d-myv li { grid-template-columns: 90px minmax(0, 1fr); }
  .d-myv li form { grid-column: 1 / -1; }
  .d-foot { padding: 24px 16px 96px; }
  .d-foot__top { gap: 22px; }
  .d-az a { min-width: 30px; height: 30px; }
}
.d-foot nav.d-foot__col { display: grid; align-content: start; gap: 10px; flex-wrap: nowrap; }
.d-foot .d-foot__bottom { display: grid; gap: 4px; }
