:root {
  color-scheme: dark;
  --bg: #151713;
  --paper: #1d211b;
  --ink: #f4f5ee;
  --body: #b5baae;
  --forest: #10130f;
  --green: #d7f576;
  --green-2: #bce65b;
  --lime: #d7f576;
  --soft: #262d22;
  --line: #353b31;
  --warn: #f0c985;
  --radius: 16px;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: var(--sans);
  --rail-width: 208px;
  --dock-height: 84px;
  --mobile-nav-height: 60px;
  --mobile-dock-height: 70px;
}

[hidden] { display: none !important; }
body { background: var(--bg); }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { font-size: clamp(2.45rem, 5.6vw, 4.55rem); font-weight: 760; }
h2 { font-size: clamp(1.55rem, 2.85vw, 2.45rem); font-weight: 730; }
h3 { font-size: 1.06rem; font-weight: 700; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: var(--lime); }
.skip:focus { color: #10130f; }

.app-rail {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: var(--rail-width);
  padding: 28px 15px 20px;
  background: #11130f;
  border-right: 1px solid #2c3028;
  z-index: 8;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.catalog .app-rail { bottom: var(--dock-height); }
.app-rail .wordmark { margin: 0 7px 28px; }
.wordmark { font: 800 2.05rem/.95 var(--sans); letter-spacing: -.1em; }
.brand-mark { width: 31px; height: 32px; margin-right: .45rem; border-radius: 9px; }
.brand-dot { margin-left: .02em; }
.rail-group { display: grid; gap: 4px; }
.rail-group a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--body);
  font-size: .91rem;
  font-weight: 650;
}
.rail-group a:hover, .rail-group a[aria-current] { color: var(--ink); background: #252b22; text-decoration: none; }
.rail-group a[aria-current] { color: var(--lime); border-color: #343d29; }
.rail-group.formats { margin-top: 20px; padding-top: 16px; border-top: 1px solid #2c3128; }
.rail-bottom { margin-top: auto; }
.rail-group.rail-bottom a { font-size: .85rem; }
.app-stage { margin-left: var(--rail-width); min-height: 100dvh; display: flex; flex-direction: column; }
.catalog .app-stage { padding-bottom: var(--dock-height); }
.app-bar {
  position: sticky;
  inset: 0 0 auto;
  z-index: 7;
  min-height: 64px;
  padding: 12px clamp(20px, 3vw, 42px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #151713f4;
  border-bottom: 1px solid #2a2f25;
  backdrop-filter: blur(16px);
}
.bar-search, .browse-search {
  display: flex;
  gap: .7rem;
  align-items: center;
  min-width: 0;
  color: var(--body);
  border: 1px solid #3a4135;
  background: #20241e;
  border-radius: 999px;
}
.bar-search { padding-inline: 8px 15px; width: min(425px, 55%); }
.bar-search button { color: inherit; background: none; border: 0; min-width: 30px; min-height: 37px; display: grid; place-items: center; }
.bar-search input, .browse-search input {
  width: 100%;
  min-width: 0;
  padding: .65rem 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: .9rem;
}
.bar-search input:focus, .browse-search input:focus { outline: none; }
.bar-search:focus-within, .browse-search:focus-within { outline: 2px solid #a7ba91; outline-offset: 2px; }
.bar-actions { display: flex; align-items: center; gap: .7rem; }
.bar-action { display: grid; place-items: center; width: 38px; height: 38px; color: var(--body); border: 1px solid #3a4135; border-radius: 50%; }
.bar-action:hover { color: var(--lime); }
.bar-context { color: var(--ink); font-size: .98rem; font-weight: 700; }
.mobile-brand, .mobile-nav { display: none; }
.app-stage .shell, .app-stage .footer-inner { width: min(calc(100% - clamp(40px, 6vw, 84px)), 1320px); }
.app-stage .shell { padding-bottom: 3.5rem; }
.app-stage .site-footer { background: var(--bg); border-color: #2e332c; padding: 1.2rem 0; }
.site-footer nav { gap: .8rem 1.3rem; }
.site-footer nav a { color: var(--body); }

.button { gap: .58rem; font-weight: 730; border-radius: 999px; }
.button.primary, .button.pale { background: var(--lime); color: #151b0c; border-color: var(--lime); }
.button.primary:hover, .button.pale:hover { filter: none; background: #e3ff8b; }
.button.secondary { color: var(--ink); background: #252a24; border-color: #41483d; }
.button.secondary:hover { background: #333b30; filter: none; }
.button.ghost { background: #181c16a0; color: #f0f2ea; border-color: #d3dbcb59; }
.button.ghost:hover { background: #262c23; }
.button:disabled { cursor: wait; }
.thin-link, .text-action { color: var(--lime); }
.text-action, .shelf-head .thin-link { display: inline-flex; align-items: center; gap: .4rem; }
.kicker { font-size: .75rem; letter-spacing: .115em; color: var(--lime); font-weight: 790; }
.kicker:has(.icon) { display: flex; align-items: center; gap: .42rem; }
.kicker .icon { font-size: 15px; }

.discovery-head { padding: 22px 0 14px; }
.discovery-head h1 { font-size: clamp(2rem, 3.65vw, 3.35rem); }
.format-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .82rem; }
.format-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .38rem .85rem;
  border-radius: 999px;
  background: #262b22;
  color: #e1e5da;
  font-size: .9rem;
  font-weight: 680;
}
.format-tabs a:hover { background: #353d30; text-decoration: none; }
.format-tabs a[aria-current] { background: var(--lime); color: #182010; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(250px, 1fr); gap: 18px; }
.spotlight-grid.single-spotlight { grid-template-columns: minmax(0, 1fr); }
.spotlight, .cinema-spotlight { position: relative; overflow: hidden; border: 1px solid #363f33; border-radius: var(--radius); }
.spotlight {
  min-height: 310px;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  background: #233123;
}
.spotlight-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 47%; z-index: -2; }
.spotlight-image.artist-image { object-position: 65% 47%; }
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0c130df5, #11180eae 44%, transparent 83%), linear-gradient(0deg, #0c130cd4, transparent 58%);
}
.spotlight-copy { padding: 27px clamp(22px, 3.3vw, 42px); max-width: min(610px, 93%); }
.spotlight-label { margin: 0 0 .2rem; }
.spotlight h2 { font-size: clamp(3.15rem, 6.15vw, 6rem); line-height: .98; letter-spacing: -.075em; }
.spotlight h2 a, .cinema-spotlight h2 a { color: var(--ink); }
.spotlight-byline { font-weight: 650; color: #eef2e5; margin: .48rem 0 .55rem; }
.spotlight-byline span { color: var(--lime); margin-inline: .2em; }
.spotlight-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #d2dbce; max-width: 31rem; margin: 0 0 1rem; font-size: .92rem; }
.spotlight .button { min-height: 42px; }
.cinema-spotlight { min-height: 310px; isolation: isolate; display: flex; align-items: flex-end; background: #222a26; }
.cinema-cover { position: absolute; inset: 0; z-index: -2; }
.cinema-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 43%; }
.cinema-spotlight::after { position: absolute; content: ''; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, #101712 7%, #121a16e6 20%, #171d1690 52%, transparent 90%); }
.cinema-copy { padding: 18px 21px; }
.cinema-copy h2 { font-size: clamp(1.4rem, 2.4vw, 2.35rem); }
.cinema-copy p:not(.kicker) { color: #d0d8ce; font-size: .84rem; margin: .45rem 0 .6rem; }
.cinema-copy .text-action { font-size: .87rem; font-weight: 730; }

.shelf { margin-top: 1.85rem; }
.shelf-head { align-items: center; margin-bottom: .85rem; }
.shelf-head h2 { font-size: clamp(1.34rem, 2.5vw, 2.05rem); }
.shelf-head .thin-link { white-space: nowrap; color: var(--body); font-size: .84rem; }
.shelf-head .thin-link:hover { color: var(--lime); }
.media-shelf, .media-grid { display: grid; gap: clamp(10px, 1.45vw, 21px); }
.music-shelf, .media-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.video-shelf, .media-grid.video-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.release-card { padding: 0; min-width: 0; }
.media-poster { position: relative; }
.media-poster .card-art { position: relative; display: block; height: auto; background: #2c342c; border-radius: 12px; aspect-ratio: 1; }
.media-poster .card-art img { object-fit: cover; }
.music-shelf .media-poster .card-art { aspect-ratio: 1.12; }
.video-tile .media-poster .card-art { aspect-ratio: 16/9; }
.media-play, .icon-button {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #272e24;
  color: var(--ink);
}
.media-play:hover, .icon-button:hover { text-decoration: none; background: #3b4636; }
.media-poster .media-play { position: absolute; right: 9px; bottom: 9px; color: #151a0f; border: 1px solid #141b0f40; background: var(--lime); box-shadow: 0 4px 14px #090c08aa; }
.media-play[data-playing] { background: var(--lime); color: #11190a; }
.media-duration { position: absolute; pointer-events: none; left: 8px; bottom: 8px; padding: .16rem .42rem; color: #f5f6f1; background: #141913db; border-radius: 5px; font-size: .72rem; font-weight: 710; }
.media-card-body { padding: .7rem .1rem .42rem; }
.media-card-body h3 { font-size: clamp(.96rem, 1.35vw, 1.13rem); }
.media-card-body h3 a { color: var(--ink); }
.media-card-body p, .media-byline { margin: .26rem 0 0; color: var(--body); font-size: .86rem; }
.media-byline { display: flex; align-items: flex-start; justify-content: space-between; gap: .4rem; }
.media-byline a { color: var(--body); }
.media-price { color: var(--lime); white-space: nowrap; font-size: .8rem; font-weight: 720; }
.media-card-body p:has(+ .card-download) { margin-bottom: .48rem; }
.media-grid .release-card { margin-bottom: .6rem; }
.media-grid.video-grid .release-card { margin-bottom: 1rem; }
.result-section { margin: 1.85rem 0 2.55rem; }
.result-section h2 { margin-bottom: .9rem; }
.media-heading { padding: 2.25rem 0 1.1rem; }
.media-heading h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); }
.media-heading p:not(.kicker) { margin: .55rem 0 0; }
.browse-search { width: min(100%, 650px); padding: 5px 5px 5px 15px; }
.browse-search .button { min-height: 40px; }
.browse-tabs { margin: .9rem 0 1.4rem; }
.profile-heading, .library-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.profile-heading { justify-content: flex-start; align-items: center; padding-bottom: 1.55rem; }
.profile-symbol { display: grid; place-items: center; width: 75px; height: 75px; flex: none; border-radius: 50%; background: #2a362a; color: var(--lime); }
.profile-symbol .icon { font-size: 24px; }
.creator-directory { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: .85rem; }
.creator-tile { display: grid; justify-items: center; gap: .5rem; padding: 1rem .5rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.creator-tile small { color: var(--body); }

.breadcrumbs { gap: .52rem; padding: 1.1rem 0 .95rem; }
.breadcrumbs a { color: #c7cdbf; }
.breadcrumbs .icon { font-size: .75rem; }
.title-hero { overflow: hidden; position: relative; border: 1px solid #3b483c; border-radius: 17px; }
.record-hero {
  background: linear-gradient(125deg,#2f3e2d,#192419 57%,#182019);
  display: grid;
  grid-template-columns: minmax(150px,250px) minmax(0,1fr);
  align-items: end;
  gap: clamp(1.25rem,3.35vw,3rem);
  padding: clamp(1.1rem,3.2vw,2.5rem);
}
.record-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 15px 32px #0a100d70; }
.title-copy { padding-bottom: .1rem; }
.title-copy h1 { font-size: clamp(2.25rem, 5.8vw, 5.8rem); letter-spacing: -.07em; }
.title-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; margin: .65rem 0 .65rem; font-size: .89rem; color: #d4ddcf; }
.title-meta a { color: #f4f5ee; font-weight: 760; }
.title-meta > span:not(.tag)::before { content: '·'; margin-right: .55rem; color: #a8b8a3; }
.title-description { margin: .45rem 0 1.13rem; color: #e2e7dc; max-width: 41rem; }
.title-actions .share-action { border: 1px solid #81917b66; }
.film-hero { min-height: clamp(300px,39vw,510px); display: flex; align-items: flex-end; isolation: isolate; background: #242d27; }
.title-backdrop { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% 46%; }
.film-hero::after { position: absolute; content: ''; inset: 0; z-index: -1; background: linear-gradient(0deg,#101611f4 5%,#1420184d 68%,#18221815 100%), linear-gradient(90deg,#101611bc,transparent 78%); }
.film-hero .title-copy { padding: 25px clamp(23px,5vw,62px) 35px; max-width: min(800px,100%); }
.track-section { margin-top: 1.85rem; }
.track-section h2, .release-info h2 { font-size: 1.5rem; }
.track-table { border: 1px solid var(--line); border-radius: 13px; padding: .2rem .7rem; background: #1c2019; }
.track-row { display: grid; grid-template-columns: 37px minmax(0,1fr) 45px minmax(44px,auto); align-items: center; gap: .55rem; min-height: 64px; padding: .32rem .55rem; border-top: 1px solid #30362d; }
.track-row:first-child { border-top: 0; }
.track-labels { min-height: 36px; color: var(--body); font-size: .81rem; }
.track-number, .track-time { color: var(--body); font-size: .86rem; font-variant-numeric: tabular-nums; }
.track-title small { display: block; }
.track-actions { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; }
.track-actions .media-play { width: 38px; height: 38px; }
.track-actions .button { min-width: 59px; }
.release-info { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.release-info .facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.ai-label { display: inline-block; max-width: 100%; margin-block: .2rem .4rem; padding: .18rem .48rem; border: 1px solid #a98456; border-radius: 4px; background: #362b20; color: #ffe2bb; font-weight: 650; font-size: .76rem; line-height: 1.35; }
.demo-disclosure { margin: .15rem 0 .7rem; font-size: var(--small, .875rem); }
.origin-filter { margin-top: -.45rem; }
.caption-editor { min-height: 18rem; font-family: ui-monospace, monospace; }

.library-heading .button { margin-bottom: .25rem; }
.library-shelf, .continue-shelf { margin-top: 1.2rem; }
.resume-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .72rem; }
.resume-item { display: grid; grid-template-columns: 56px minmax(0,1fr) 37px; gap: .67rem; align-items: center; padding: .53rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.resume-item img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; }
.resume-item small { display: block; }
.resume-item .media-play { width: 36px; height: 36px; }
.resume-info progress { width: 100%; height: .28rem; }
progress { appearance: none; border: 0; border-radius: .25rem; background: #485142; accent-color: var(--lime); }
progress::-webkit-progress-bar { background: #485142; border-radius: .25rem; }
progress::-webkit-progress-value { background: var(--lime); border-radius: .25rem; }
progress::-moz-progress-bar { background: var(--lime); border-radius: .25rem; }
.media-progress { position: absolute; inset: auto 7px 3px; width: calc(100% - 14px); height: 3px; }
.owned-tile .media-poster .media-play { bottom: 10px; }
.unavailable-art { filter: grayscale(.85); opacity: .7; }
.card-download { display: inline-flex; align-items: center; gap: .41rem; padding: .28rem .57rem; border: 1px solid #495444; border-radius: .8rem; color: var(--ink); font-size: .82rem; }
.card-download .icon { font-size: .89rem; }
.collection-empty { display: grid; grid-template-columns: minmax(0,260px) minmax(0,1fr); align-items: center; gap: clamp(1rem,4vw,2.8rem); padding: clamp(1.1rem,4vw,2.5rem); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(130deg,#293829,#1c211c 65%); }
.empty-art { position: relative; height: 140px; }
.empty-art img { position: absolute; top: 12px; left: 5%; width: clamp(65px,10vw,120px); border-radius: .6rem; border: 2px solid #adb9a655; box-shadow: 0 6px 15px #121712b4; transform: rotate(-13deg); }
.empty-art img:nth-child(2) { left: 28%; top: 3px; z-index: 1; transform: rotate(-2deg); }
.empty-art img:nth-child(3) { left: 53%; transform: rotate(12deg); }
.watch-page { margin: 0 auto; }
.record-player { display: grid; grid-template-columns: minmax(165px,310px) minmax(0,1fr); align-items: center; gap: clamp(1.2rem,3.4vw,3rem); padding: clamp(1.05rem,3.05vw,2.3rem); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 5% 30%,#334633,#1a211a 67%); }
.audio-deck audio { width: 100%; max-width: 550px; margin: .4rem 0; }
.audio-deck h1 { font-size: clamp(2.05rem,4.4vw,4.3rem); }
.watch-frame { position: relative; border-radius: 15px; overflow: hidden; background: #090b09; border: 1px solid #42473e; }
.watch-frame video { display: block; width: 100%; max-height: 68vh; aspect-ratio: 16/9; }
.watch-frame [data-player-status]:not(:empty) { padding: 0 .7rem; }
.watch-caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 1.05rem 0 .65rem; }
.watch-caption h1 { font-size: clamp(2rem,4.2vw,3.85rem); }
.watch-caption p { margin: .32rem 0; }
.player-options { margin-top: .6rem; }

.playback-dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 11;
  height: var(--dock-height);
  display: grid;
  grid-template-columns: minmax(150px,1fr) minmax(245px,430px) minmax(130px,1fr);
  align-items: center;
  padding: 8px 24px;
  gap: 20px;
  border-top: 1px solid #3b4538;
  background: #181c17f9;
  box-shadow: 0 -9px 28px #080a084f;
}
.dock-identity { display: flex; gap: 11px; min-width: 0; align-items: center; }
.dock-art { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 7px; background: #293327; color: #b9c9ad; overflow: hidden; }
.dock-art > * { grid-area: 1/1; }
.dock-art img { width: 100%; height: 100%; object-fit: cover; }
.dock-text { min-width: 0; }
.dock-text a, .dock-text p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-text a { font-size: .93rem; font-weight: 750; color: var(--ink); }
.dock-text p { font-size: .75rem; color: var(--body); margin: .12rem 0 0; }
.dock-transport { min-width: 0; }
.dock-controls { display: flex; justify-content: center; align-items: center; gap: .65rem; }
.dock-controls .icon-button, .dock-options .icon-button { width: 36px; height: 36px; background: none; color: var(--body); }
.dock-controls .icon-button:not(:disabled):hover, .dock-options .icon-button:not(:disabled):hover { color: var(--lime); background: #2b3428; }
.dock-controls .dock-play { width: 37px; height: 37px; background: var(--lime); color: #141a0d; }
.dock-controls .dock-play:not(:disabled):hover { background: #e9ff9c; color: #141a0d; }
.dock-controls .icon-button:disabled, .dock-options .icon-button:disabled { cursor: default; }
.dock-controls .icon-button:not(.dock-play):disabled, .dock-options .icon-button:disabled { opacity: .48; }
.dock-seek { display: grid; grid-template-columns: 33px minmax(0,1fr) 35px; align-items: center; gap: 7px; margin-top: .15rem; color: var(--body); font-size: .68rem; font-variant-numeric: tabular-nums; }
.dock-seek span:first-child { text-align: right; }
.dock-seek input, .dock-options input { accent-color: var(--lime); min-width: 0; width: 100%; height: 15px; cursor: pointer; }
.dock-seek input:disabled, .dock-options input:disabled { cursor: default; opacity: .56; }
.dock-options { display: flex; justify-content: flex-end; align-items: center; gap: 5px; }
.dock-options input { max-width: 86px; }
.dock-feedback { position: fixed; right: 1rem; bottom: calc(var(--dock-height) + 12px); max-width: min(400px,90vw); border: 1px solid #667257; padding: .55rem .95rem; background: #283423; border-radius: 10px; color: var(--ink); z-index: 12; }

.card, .auth-card, .list-panel, .empty { background: var(--paper); border-color: var(--line); }
.auth-wrap { padding-top: clamp(1.55rem,5vw,4rem); }
.auth-card { box-shadow: 0 18px 50px #10130f6b; }
.auth-card h1 { letter-spacing: -.055em; }
.auth-card .method, .auth-card .demo-accounts { border-radius: 10px; }
.method-icon { background: #343e2d; }
.field>input, .field>select, .field>textarea, .search-form>input {
  background: #151914;
  border-color: #4b5547;
  color: var(--ink);
}
.list-panel > a.list-row:hover, .list-panel > a.list-row:focus-visible { background: #262e24; }
.order-summary { background: linear-gradient(150deg,#303c2a,#22291e); }
.inline-note, .demo-accounts { background: #2b3728; color: #e1ead9; }
.inline-note.warn { background: #403524; color: #ffdfac; }
.tag, .tag.state-paid, .tag.state-published, .tag.state-approved, .tag.state-ready,
.tag.state-confirmed, .tag.state-enabled, .tag.state-closed, .tag.state-resolved, .tag.state-on { color: #e3f2d9; background: #374b31; }
.tag.state-unknown, .tag.state-failed, .tag.state-review, .tag.state-delayed, .tag.state-changes,
.tag.state-disabled, .tag.state-restricted, .tag.state-declined, .tag.state-reviewing { color: #ffe0b2; background: #55452e; }
.status-icon { background: #33462b; color: var(--lime); }
.tabs a { background: #242a21; color: var(--body); border-color: #40483d; border-radius: 999px; }
.tabs a[aria-current], .workspace-nav nav a[aria-current] { background: var(--lime); border-color: var(--lime); color: #141c0f; }
.workspace-nav { background: #1e251e; }
.workspace-nav nav a { color: var(--body); }
.table-scroll thead { background: #293427; color: var(--ink); }
.table-scroll tbody tr:nth-child(even) { background: #242c23; }
.metric strong { color: var(--lime); }
.finance-row .field { width: 100%; }

.icon {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  font-size: 17px;
  pointer-events: none;
}
.icon::before, .icon::after { position: absolute; content: ''; box-sizing: border-box; }
.i-play::before { left: .34em; top: .15em; border-block: .35em solid transparent; border-left: .48em solid currentColor; }
.i-pause::before { left: .23em; top: .17em; width: .19em; height: .66em; border-radius: 1px; background: currentColor; box-shadow: .34em 0 currentColor; }
.i-next::before { left: .24em; top: .2em; border-block: .3em solid transparent; border-left: .45em solid currentColor; }
.i-next::after { top: .2em; left: .71em; width: .1em; height: .6em; background: currentColor; border-radius: 1px; }
.i-previous { transform: rotate(180deg); }
.i-previous::before { left: .24em; top: .2em; border-block: .3em solid transparent; border-left: .45em solid currentColor; }
.i-previous::after { top: .2em; left: .71em; width: .1em; height: .6em; background: currentColor; border-radius: 1px; }
.i-search::before { top: .07em; left: .04em; width: .65em; height: .65em; border: .104em solid currentColor; border-radius: 50%; }
.i-search::after { top: .7em; left: .59em; width: .36em; height: .1em; transform: rotate(45deg); border-radius: 1px; background: currentColor; }
.i-home::before { top: .3em; left: .14em; width: .72em; height: .62em; border: .105em solid currentColor; border-top: 0; border-radius: .07em; }
.i-home::after { width: .63em; height: .63em; left: .19em; top: .14em; transform: rotate(45deg); border-top: .105em solid currentColor; border-left: .105em solid currentColor; border-radius: 1px; }
.i-library::before { width: .13em; height: .75em; left: .12em; top: .13em; border-radius: 1px; box-shadow: .24em 0 currentColor; background: currentColor; }
.i-library::after { width: .15em; height: .73em; left: .66em; top: .15em; transform: rotate(-16deg); border-radius: 1px; background: currentColor; }
.i-music::before { inset: .06em; border: .096em solid currentColor; border-radius: 50%; }
.i-music::after { inset: .38em; border-radius: 50%; background: currentColor; }
.i-film::before { inset: .14em .02em; border: .10em solid currentColor; border-radius: .12em; }
.i-film::after { inset: .30em .21em; border-inline: .10em dashed currentColor; }
.i-account::before { top: .09em; left: .32em; width: .36em; height: .36em; border: .09em solid currentColor; border-radius: 50%; }
.i-account::after { top: .51em; left: .13em; width: .74em; height: .37em; border: .09em solid currentColor; border-radius: .35em .35em .12em .12em; }
.i-studio::before { top: .29em; left: .12em; width: .11em; height: .46em; border-radius: .1em; background: currentColor; box-shadow: .64em 0 currentColor; }
.i-studio::after { top: .12em; left: .34em; width: .11em; height: .80em; border-radius: .1em; background: currentColor; box-shadow: .23em 0 currentColor; }
.i-shield::before { inset: .10em .14em; border: .1em solid currentColor; border-radius: .12em .12em .42em .42em; }
.i-shield::after { top: .3em; left: .42em; width: .27em; height: .16em; border-left: .085em solid currentColor; border-bottom: .085em solid currentColor; transform: rotate(-45deg); }
.i-help::before { inset: .06em; border: .095em solid currentColor; border-radius: 50%; }
.i-help::after { content: '?'; inset: 0; display: grid; place-items: center; font-size: .73em; font-weight: 780; }
.i-receipt::before { inset: .08em .16em; border: .1em solid currentColor; border-radius: .12em; }
.i-receipt::after { top: .34em; left: .34em; width: .32em; height: .074em; background: currentColor; box-shadow: 0 .17em currentColor; }
.i-chevron::before { top: .3em; left: .24em; width: .39em; height: .39em; transform: rotate(-45deg); border-right: .10em solid currentColor; border-bottom: .10em solid currentColor; }
.i-download::before { bottom: .08em; left: .11em; width: .78em; height: .29em; border: .09em solid currentColor; border-top: 0; border-radius: .06em; }
.i-download::after { content: '↓'; font: 800 .9em/1 var(--sans); top: -.04em; left: .25em; }
.i-share::before { top: .42em; left: .22em; width: .58em; height: .13em; background: currentColor; transform: rotate(-31deg); box-shadow: -.20em .35em currentColor; }
.i-share::after { top: .41em; left: .06em; width: .25em; height: .25em; border-radius: 50%; background: currentColor; box-shadow: .60em -.31em currentColor,.60em .31em currentColor; }
.i-sound::before { top: .23em; left: .03em; width: .58em; height: .55em; background: currentColor; clip-path: polygon(0 27%,38% 27%,100% 0,100% 100%,38% 73%,0 73%); }
.i-sound::after { top: .18em; left: .58em; width: .30em; height: .64em; border: .1em solid transparent; border-right-color: currentColor; border-radius: 50%; }
.i-muted::before { top: .23em; left: .03em; width: .58em; height: .55em; background: currentColor; clip-path: polygon(0 27%,38% 27%,100% 0,100% 100%,38% 73%,0 73%); }
.i-muted::after { top: .22em; left: .62em; content: '×'; font-size: .72em; font-weight: 820; }
.i-close::before, .i-close::after { top: .45em; left: .12em; width: .76em; height: .105em; background: currentColor; transform: rotate(45deg); }
.i-close::after { transform: rotate(-45deg); }

@media (min-width: 1300px) {
  .pane-wide .music-shelf { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 1050px) {
  :root { --rail-width: 177px; }
  .app-rail { padding-inline: .55rem; }
  .spotlight-grid { grid-template-columns: minmax(0, 1.85fr) minmax(190px,1fr); gap: 12px; }
  .spotlight-copy { padding: 20px 20px 22px; }
  .music-shelf, .media-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .spotlight, .cinema-spotlight { min-height: 275px; }
  .resume-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .checkout-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-block-start: 68px; }
  html:has(.catalog) { scroll-padding-block-end: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 12px); }
  html:has(.catalog.has-playback) { scroll-padding-block-end: calc(var(--mobile-nav-height) + var(--mobile-dock-height) + env(safe-area-inset-bottom) + 12px); }
  .app-rail { display: none; }
  .app-stage { margin-left: 0; }
  .app-stage .shell, .app-stage .footer-inner { width: calc(100% - 32px); }
  .catalog .app-stage { padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom)); }
  .catalog.has-playback .app-stage { padding-bottom: calc(var(--mobile-nav-height) + var(--mobile-dock-height) + env(safe-area-inset-bottom)); }
  .app-bar { padding: .5rem 1rem; min-height: 58px; gap: .65rem; }
  .mobile-brand { display: inline-flex; font-size: 1.65rem; }
  .mobile-brand .brand-mark { width: 25px; height: 25px; margin-right: .38rem; }
  .bar-search { display: none; }
  .bar-context { margin-right: auto; min-width: 0; font-size: .91rem; }
  .app-bar .avatar, .app-bar .bar-action { width: 44px; height: 44px; flex: none; }
  .app-bar .bar-actions .button { min-height: 44px; }
  .app-stage :is(.field input, .field textarea, .field select, input[type=search]) { font-size: 1rem; }
  .app-stage :is(.checkout-card, .receipt, .auth-card) .button { min-height: 44px; }
  .auth-card .demo-accounts summary { min-height: 44px; align-content: center; }
  .mobile-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    inset: auto 0 0;
    z-index: 11;
    height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #111510;
    border-top: 1px solid #333b2f;
  }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .34rem; min-width: 0; color: #c5c9bd; font-size: .7rem; font-weight: 650; }
  .mobile-nav a:hover, .mobile-nav a[aria-current] { color: var(--lime); text-decoration: none; }
  .mobile-nav .icon { font-size: 18px; }
  .playback-dock { display: none; }
  .has-playback .playback-dock {
    display: grid;
    inset: auto 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    height: var(--mobile-dock-height);
    padding: 4px 10px 17px;
    gap: 4px;
    grid-template-columns: minmax(0,1fr) auto;
  }
  .dock-options, .dock-skip { display: none !important; }
  .dock-controls { gap: 0; }
  .dock-controls .icon-button { width: 44px; height: 44px; }
  .dock-art { width: 38px; height: 38px; }
  .dock-identity { gap: 8px; }
  .dock-seek { position: absolute; inset: auto 10px 0; display: block; pointer-events: none; }
  .dock-seek span { display: none; }
  .dock-seek input { appearance: none; display: block; margin: 0; height: 16px; pointer-events: auto; background: transparent; }
  .dock-seek input::-webkit-slider-runnable-track { background: #687a5a; height: 2px; }
  .dock-seek input::-webkit-slider-thumb { appearance: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: -3px; }
  .dock-seek input::-moz-range-track { background: #687a5a; height: 2px; }
  .dock-seek input::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); border: 0; }
  .dock-feedback { bottom: calc(var(--mobile-nav-height) + var(--mobile-dock-height) + env(safe-area-inset-bottom) + 8px); }
  .spotlight-grid { grid-template-columns: minmax(0,1fr); }
  .spotlight, .cinema-spotlight { min-height: 235px; }
  .cinema-spotlight { min-height: 155px; }
  .cinema-copy { padding: 14px 17px; }
  .cinema-cover img { object-position: 56% 43%; }
  .media-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .record-hero { grid-template-columns: minmax(130px,190px) minmax(0,1fr); }
  .media-heading { padding-top: 1.4rem; }
}
@media (max-width: 525px) {
  .bar-actions { gap: .5rem; }
  .discovery-head { padding-top: 14px; }
  .discovery-head h1 { font-size: 2.18rem; }
  .format-tabs { margin-top: .62rem; }
  .format-tabs a { min-height: 34px; }
  .spotlight { min-height: 266px; }
  .spotlight-copy { padding: 18px 15px; max-width: 96%; }
  .spotlight h2 { font-size: clamp(2.85rem,12vw,4.25rem); }
  .spotlight-byline { font-size: .86rem; }
  .spotlight-description { font-size: .83rem; margin-bottom: .8rem; max-width: 26ch; }
  .spotlight .button { min-height: 40px; padding-inline: .77rem; font-size: .83rem; }
  .cinema-spotlight { min-height: 143px; }
  .cinema-copy h2 { font-size: 1.36rem; }
  .cinema-copy p:not(.kicker) { margin: .25rem 0 .35rem; }
  .media-shelf { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 45%; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: .4rem; }
  .media-shelf::-webkit-scrollbar { display: none; }
  .video-shelf { grid-auto-columns: 75%; }
  .media-shelf .release-card { scroll-snap-align: start; }
  .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .media-grid.video-grid { grid-template-columns: 1fr; }
  .shelf { margin-top: 1.4rem; }
  .release-card .media-play { width: 44px; height: 44px; right: 6px; bottom: 6px; }
  .library-heading { align-items: flex-start; flex-wrap: wrap; }
  .library-heading .button { min-height: 36px; padding: .42rem .66rem; }
  .profile-heading { align-items: flex-start; }
  .profile-heading .profile-symbol { width: 54px; height: 54px; }
  .record-hero, .record-player { grid-template-columns: 1fr; }
  .record-hero .record-cover, .record-player .record-cover { width: min(65%,230px); margin-inline: auto; }
  .title-copy h1 { font-size: clamp(2.18rem,9.4vw,3.5rem); }
  .record-hero .title-copy, .record-player .audio-deck { text-align: center; }
  .record-hero .title-meta, .record-hero .title-actions, .audio-deck .player-options, .record-player .kicker { justify-content: center; }
  .film-hero { min-height: 345px; }
  .film-hero .title-copy { padding: 1.1rem; }
  .track-table { padding-inline: .3rem; }
  .track-row { grid-template-columns: 20px minmax(0,1fr) 35px minmax(35px,auto); gap: .25rem; padding-inline: .23rem; }
  .track-row strong { font-size: .88rem; }
  .track-actions { gap: .22rem; }
  .track-actions .media-play { width: 44px; height: 44px; }
  .track-actions .button { min-width: 44px; min-height: 44px; padding: .35rem .38rem; }
  .resume-grid, .collection-empty { grid-template-columns: 1fr; }
  .empty-art { height: 100px; max-width: 215px; }
  .empty-art img { width: 90px; }
  .watch-caption { align-items: flex-start; flex-direction: column; }
  .receipt .section-head h1 { font-size: clamp(1.2rem,5.65vw,1.7rem); margin: 0; overflow-wrap: anywhere; }
  .receipt .price-list > div { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: .65rem; }
}
@media print {
  :root { color-scheme: light; }
  .app-rail, .app-bar, .mobile-nav, .playback-dock, .site-footer { display: none !important; }
  .app-stage { margin: 0; padding: 0 !important; }
  .receipt { background: #fff; border-color: #fff; }
  .receipt, .receipt dt, .receipt p, .receipt h1, .receipt .kicker { color: #121212; }
}

.share-action[data-copied] .icon::before {
  top: .32em;
  left: .15em;
  width: .7em;
  height: .36em;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  background: none;
  box-shadow: none;
  transform: rotate(-45deg);
}
.share-action[data-copied] .icon::after { display: none; }
@media (min-width: 526px) {
  .video-shelf:has(.release-card:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .dock-options { display: flex !important; }
  .dock-options input, .dock-options button:not([data-dock-clear]) { display: none; }
  .dock-options { gap: 0; }
  .has-playback .playback-dock { grid-template-columns: minmax(0,1fr) auto auto; }
}

.dock-art:has(img:not([hidden])) > .icon { display: none; }
.dock-options [data-dock-queue][aria-expanded=true] { color: var(--lime); }
.i-queue::before { top: .17em; left: .10em; width: .78em; height: .1em; background: currentColor; border-radius: 1px; box-shadow: 0 .25em currentColor, 0 .5em currentColor; }
.queue-panel {
  position: fixed;
  right: 17px;
  bottom: calc(var(--dock-height) + 8px);
  z-index: 12;
  width: min(calc(100vw - 34px),335px);
  max-height: min(65vh,440px);
  overflow: auto;
  padding: .8rem;
  background: #20271e;
  border: 1px solid #4b5843;
  border-radius: 14px;
  box-shadow: 0 12px 36px #070b07ab;
}
.queue-heading { display: flex; align-items: center; justify-content: space-between; padding: .05rem .25rem .5rem; }
.queue-heading h2 { font-size: 1.35rem; }
.queue-heading .icon-button { width: 37px; height: 37px; }
.queue-list { padding: 0; margin: 0; list-style: none; }
.queue-list button { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: .65rem; width: 100%; padding: .4rem; color: var(--ink); background: none; border: 0; border-radius: 8px; text-align: left; }
.queue-list button[aria-current], .queue-list button:hover { background: #313d2a; }
.queue-list button[aria-current] strong { color: var(--lime); }
.queue-list img { width: 38px; height: 38px; object-fit: cover; border-radius: 5px; }
.queue-list small { display: block; }
.order-release, .workspace-release { display: flex; align-items: center; gap: .7rem; }
.order-release .square-thumb { width: 68px; height: 68px; }
.order-release h2 { margin: 0; }
.order-release p { margin: .25rem 0 0; }
.price-list dd { min-width: 0; overflow-wrap: anywhere; }
.checkout-card .rail-option:has(:checked) { background: #2b3626; border-color: #819467; }
@media (min-width: 761px) {
  .catalog.watch-mode:not(.has-playback) .playback-dock { display: none; }
  .catalog.watch-mode:not(.has-playback) .app-stage { padding-bottom: 0; }
  .catalog.watch-mode:not(.has-playback) .app-rail { bottom: 0; }
}
@media (max-width: 760px) {
  .dock-options button[data-dock-queue], .dock-options button[data-dock-clear] { display: grid; }
  .dock-options [data-dock-queue], .dock-options [data-dock-clear], .queue-heading .icon-button { width: 44px; height: 44px; }
  .queue-panel { bottom: calc(var(--mobile-nav-height) + var(--mobile-dock-height) + env(safe-area-inset-bottom) + 8px); }
}

.wallet-amount { font-size: clamp(1.6rem, 5vw, 2.5rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.voucher-code { font-family: ui-monospace, monospace; max-width: 22rem; }
.commercial-release .row form { max-width: 100%; }
