:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid #9bb9ff; outline-offset: 4px; }
button:disabled { cursor: progress; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body:not(.studio-home) { font-size: 14px; line-height: 1.65; }
body:not(.studio-home) header { position: sticky; top: 0; z-index: 10; background: #fafafce8; border-bottom: 1px solid #dedee3; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
body:not(.studio-home) .button:hover { background: #0077ed; }
body:not(.studio-home) .nav { max-width: 1120px; margin: auto; min-height: 68px; padding: 0 30px; display: flex; align-items: center; gap: 44px; }
body:not(.studio-home) .brand { color: #1d1d1f; font-size: 21px; font-weight: 650; }
body:not(.studio-home) nav { display: flex; gap: 24px; color: #515158; font-size: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; border-radius: 99px; padding: 12px 22px; color: #fff; background: #0071e3; }

.studio-home {
  --muted: #acacb9;
  --violet: #d3c4ff;
  color: #f7f7fb;
  background: radial-gradient(ellipse 57% 28% at 3% 38%, #201e2c 0%, transparent 90%), #101015;
  font-size: 15px;
}
.content-width, .studio-header .nav { width: min(1220px, 90%); margin-inline: auto; }
.studio-home section[id] { scroll-margin-top: 96px; }
.skip-link { position: fixed; z-index: 20; top: -5em; left: 16px; padding: 10px 18px; color: #16121b; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.studio-header {
  position: sticky; top: 0; z-index: 10;
  background: #111117ed; border-bottom: 1px solid #ffffff0e;
  -webkit-backdrop-filter: saturate(135%) blur(26px);
  backdrop-filter: saturate(135%) blur(26px);
}
.studio-header .nav { min-height: 72px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 680; white-space: nowrap; letter-spacing: -.05em; }
.brand-studio { color: #abaab5; font-size: .89em; font-weight: 460; letter-spacing: -.045em; }
.brand-mark {
  position: relative; display: inline-block; width: 30px; height: 30px; margin-right: 4px; border-radius: 9px;
  border: 1px solid #ebe7ff5a; background: linear-gradient(145deg,#ccbdfc,#8279a7 72%,#5e5879);
  box-shadow: inset 0 1px 4px #ffffff4d, 0 2px 12px #02010433;
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: 6px; width: 4px; height: 15px; background: #fff; border-radius: 2px; transform: skewX(-19deg); }
.brand-mark::before { left: 8px; } .brand-mark::after { right: 8px; }
.studio-header nav { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.studio-header nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 4px; font-size: 13px; font-weight: 530; white-space: nowrap; }
.studio-header nav a { color: #d2d0d9; }
.studio-header nav a:hover, .studio-header nav a[aria-current="page"] { color: #fff; }
.studio-header nav a[aria-current="page"]:not(.nav-account) { text-decoration: underline; text-decoration-color: #cdbcf4; text-underline-offset: 6px; }
.studio-header nav .nav-account { min-height: 36px; padding-inline: 13px; gap: 7px; border-radius: 99px; border: 1px solid #d7ceee50; background: #e9ddff0e; }
.studio-header nav .nav-account:hover, .studio-header nav .nav-account[aria-current] { background: #e2d1ff22; border-color: #ddcaff82; }
.person-glyph { position: relative; flex: none; width: 15px; height: 15px; }
.person-glyph::before, .person-glyph::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 1.3px solid currentColor; }
.person-glyph::before { top: 1px; width: 6px; height: 6px; border-radius: 50%; }
.person-glyph::after { bottom: 0; width: 11px; height: 6px; border-radius: 7px 7px 3px 3px; }
.glass-action:hover, .refresh-button:hover:not(:disabled) { background-color: #ffffff23; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; width: min(1512px, calc(100% - 32px)); margin: 14px auto 0;
  min-height: 450px; border: 1px solid #ffffff24; border-radius: 30px; background: #151723;
}
.hero-image, .hero::after { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-image { background: #181a2b url("/assets/drama-hero.webp") center 44% / cover no-repeat; }
.hero::after {
  content: ""; background:
    linear-gradient(0deg,#11121f85,transparent 35%),
    linear-gradient(90deg,#11101cf2 0%,#141323d9 26%,#15132489 45%,#18132125 64%,#16112000 86%);
}
.hero-inner {
  width: min(1220px, 93%); min-height: clamp(455px, 39vw, 585px); margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; padding-block: 56px;
}
.hero-copy { max-width: 61%; }
.hero h1 { font-size: clamp(60px,5.6vw,88px); line-height: 1.12; font-weight: 660; letter-spacing: -.075em; }
.hero h1 span { color: #ded7ff; background: linear-gradient(95deg,#d2c7ff 0%,#ede8ff 64%,#fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy > p { max-width: 33em; margin: 24px 0 0; color: #e6e3ec; font-size: clamp(15px,1.25vw,18px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.primary-action, .glass-action, .refresh-button, .release-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 99px; font-weight: 570; white-space: nowrap;
}
.primary-action, .glass-action { min-height: 46px; padding: 0 21px; font-size: 14px; }
.primary-action { color: #1b1727; background: linear-gradient(110deg,#f3f0fc,#d9cfff); border: 1px solid #fff9; box-shadow: 0 4px 18px #08071142; }
.primary-action:hover { filter: brightness(1.06); }
.icon-download { font-size: 19px; line-height: 1; }
.glass-action, .refresh-button {
  background: #ffffff10; border: 1px solid #ffffff3d; color: #f2eef7;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.radar-glyph {
  flex: none; display: inline-block; width: 18px; height: 18px; border: 1.4px solid currentColor; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 50% 50%,currentColor 0 1.2px,transparent 1.7px 32%,currentColor 34% 38%,transparent 41%);
}
.radar-glyph::after { content: ""; position: absolute; height: 1.5px; width: 53%; left: 50%; top: 49%; transform-origin: left; transform: rotate(-43deg); background: currentColor; }
.caption-glass {
  position: absolute; right: 0; bottom: 28px; width: min(280px,35%);
  padding: 14px 17px 17px; border-radius: 17px; border: 1px solid #ffffff52;
  background: linear-gradient(125deg,#38395b8f,#201e3199); box-shadow: inset 0 1px #ffffff16,0 10px 40px #06081726;
  -webkit-backdrop-filter: blur(24px) saturate(120%); backdrop-filter: blur(24px) saturate(120%);
}
.caption-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.caption-label { font-size: 11px; color: #e9e5f2; }
.caption-options { display: flex; gap: 2px; border: 1px solid #ffffff24; border-radius: 99px; padding: 2px; background: #09081245; }
.caption-options button { padding: 2px 8px; color: #e7e4ef; background: transparent; border: 0; border-radius: 99px; font-size: 11px; font-weight: 620; }
.caption-options button[aria-pressed=true] { color: #151220; background: #eeebfa; }
.caption-line { margin-top: 9px; font-size: 19px; letter-spacing: -.025em; font-weight: 530; }

.radar-section { margin-top: clamp(58px,5.6vw,90px); }
.section-heading h2 { font-size: clamp(31px,3.1vw,48px); line-height: 1.22; font-weight: 620; letter-spacing: -.065em; }
.section-heading p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.radar-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.radar-site { min-height: 100vh; min-height: 100dvh; }
.radar-site .radar-section { margin-top: clamp(32px,5.5vw,76px); }
.radar-site .radar-heading h1 { margin: 0; font-size: clamp(32px,3.9vw,58px); line-height: 1.15; font-weight: 640; letter-spacing: -.06em; }
.radar-site .radar-panel { margin-top: clamp(20px,2.5vw,32px); }
.radar-heading h1 { display: flex; align-items: center; gap: 16px; }
.radar-heading h1 .radar-glyph { width: .88em; height: .88em; border-width: 2px; color: #c9bbff; }
.radar-heading h1 .radar-glyph::after { height: 2px; }
.refresh-button { min-height: 37px; gap: 6px; padding-inline: 13px; font-size: 12px; }
.refresh-glyph { font: 19px/1 Arial,sans-serif; }
.refresh-button:disabled { opacity: .6; }
.radar-panel {
  margin-top: 26px; display: grid; grid-template-columns: minmax(164px,22%) minmax(0,1fr); overflow: hidden; min-height: 200px;
  background: linear-gradient(122deg,#292a3bba,#1a1b25f2 60%,#24222fe0);
  border: 1px solid #ffffff26; border-radius: 23px; box-shadow: inset 0 1px #ffffff08,0 18px 50px #00000017;
}
.source-rail { padding: 14px; background: linear-gradient(142deg,#ffffff07,#ffffff01); border-right: 1px solid #ffffff12; }
.source-list { display: flex; flex-direction: column; gap: 4px; }
.source-list button {
  position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 11px; width: 100%; min-height: 43px;
  padding: 8px 12px; color: #c9c8d5; border: 1px solid transparent; background: transparent; border-radius: 10px;
  text-align: left; line-height: 1.3; font-size: 13px; font-weight: 550;
}
.source-list button[aria-pressed=true] { color: #f7f4ff; background: linear-gradient(110deg,#a394e329,#bdb0f018); border-color: #bdabff38; box-shadow: inset 0 1px #ffffff08; }
.source-list button:hover { background-color: #ffffff0b; }
.source-icon { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 7px; font-size: 12px; color: #ddd6ff; background: #a08cec2b; }
.source-icon.youtube { color: #ffb5b3; background: #ee5f602b; }
.source-icon.fruit { color: #ffba9f; background: #e8866826; }
.source-icon.youtube::before { content: ""; width: 0; height: 0; margin-left: 2px; border: 4px solid transparent; border-right: 0; border-left: 6px solid currentColor; }
.chart-body { padding: 24px clamp(17px,2.4vw,35px) 16px; min-width: 0; }
.chart-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.chart-name h3 { font-size: clamp(18px,1.6vw,23px); font-weight: 600; line-height: 1.4; letter-spacing: -.03em; }
.chart-name p { color: #b6b5c2; margin-top: 5px; font-size: 12px; line-height: 1.65; }
.source-link { flex: none; margin-top: 4px; color: #d4c9fb; font-size: 12px; }
.source-link:hover, .ranking a:hover .rank-title { text-decoration: underline; text-underline-offset: 3px; }
.ranking { list-style: none; padding: 0; max-height: 318px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #5d586e transparent; }
.ranking li { border-top: 1px solid #ffffff12; }
@media (prefers-reduced-motion: no-preference) {
  .rank-reveal > li {
    animation: radar-row-enter 280ms cubic-bezier(.18,.72,.28,1) backwards;
    animation-delay: 100ms;
  }
  .rank-reveal > li:nth-child(1) { animation-delay: 0ms; }
  .rank-reveal > li:nth-child(2) { animation-delay: 25ms; }
  .rank-reveal > li:nth-child(3) { animation-delay: 50ms; }
  .rank-reveal > li:nth-child(4) { animation-delay: 75ms; }
  .rank-reveal.awaiting-view > li { animation-play-state: paused; }
  @keyframes radar-row-enter {
    from { opacity: .18; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .radar-scan .refresh-glyph {
    display: inline-block;
    animation: radar-refresh-turn 600ms cubic-bezier(.18,.7,.24,1);
  }
  .radar-scan .radar-panel { position: relative; }
  .radar-scan .radar-panel::before {
    content: ""; position: absolute; pointer-events: none; z-index: 1;
    top: 0; left: 0; width: 32%; height: 2px; opacity: 0;
    background: linear-gradient(90deg, transparent, #a5a4fc 65%, #e7ddff 85%, transparent);
    box-shadow: 0 2px 12px #b6a2ff8a;
    animation: radar-panel-scan 680ms cubic-bezier(.23,.65,.34,1);
  }
  @keyframes radar-refresh-turn { to { transform: rotate(360deg); } }
  @keyframes radar-panel-scan {
    0% { opacity: 0; transform: translateX(-100%); }
    18%, 75% { opacity: .95; }
    100% { opacity: 0; transform: translateX(315%); }
  }
}
.ranking a, .ranking .rank-entry { min-height: 47px; display: flex; gap: 13px; align-items: center; padding: 8px 3px 8px 0; }
.rank-number { color: #ada7be; width: 2.1ch; flex: none; text-align: center; font: 520 14px/1.4 "SFMono-Regular",Consolas,monospace; font-variant-numeric: tabular-nums; }
.ranking li:first-child .rank-number { color: #decdff; }
.rank-title { overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; font-weight: 520; }
.rank-metric { margin-left: auto; flex: none; color: #d1ccdd; font-size: 12px; font-variant-numeric: tabular-nums; }
.chart-footer { border-top: 1px solid #ffffff19; margin-top: 5px; padding-top: 13px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 11px; color: #bcb9c7; }
#source-status { display: inline-flex; align-items: center; gap: 7px; }
#source-status::before { content: ""; display: inline-block; flex: none; width: 6px; height: 6px; background: #a6a1ad; border-radius: 100%; }
#source-status[data-state=live]::before { background: #8ae2b6; box-shadow: 0 0 8px #85e8b338; }
#source-status[data-state=stale]::before { background: #efbd83; }
.chart-empty { padding: 32px 0 38px; font-size: 14px; color: var(--muted); }
.radar-message { margin: 9px 3px 0; color: #d1bbc2; font-size: 12px; }
.radar-message:empty { display: none; }

.features-section, .download-section { margin-top: clamp(68px,7.2vw,108px); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 25px; }
.feature-grid article { padding: 20px 6px 0 0; border-top: 1px solid #ffffff2b; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes studio-card-enter {
    from { opacity: .65; transform: translateY(9px); }
    to { opacity: 1; transform: none; }
  }
  .feature-grid article.in-view, .downloads article.in-view {
    animation: studio-card-enter 480ms cubic-bezier(.16,.8,.28,1) backwards;
  }
  @media (min-width: 641px) {
    .feature-grid article:nth-child(2), .downloads article:nth-child(2) { animation-delay: 55ms; }
    .feature-grid article:nth-child(3) { animation-delay: 110ms; }
  }
}
.feature-icon { margin-bottom: 16px; display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; color: #d2c3fd; border: 1px solid #b6a3f53b; border-radius: 11px; background: linear-gradient(145deg,#5f547c70,#39354742); }
.subtitles span { border: 1.4px solid currentColor; border-radius: 3px; font-size: 9px; line-height: 13px; padding: 0 2px; font-weight: 650; }
.waves { gap: 2px; }.waves i { width: 2px; height: 5px; border-radius: 3px; background: currentColor; }.waves i:nth-child(2), .waves i:nth-child(4) { height: 11px; }.waves i:nth-child(3) { height: 17px; }
.cover i { width: 13px; height: 17px; border: 1.4px solid currentColor; transform: rotate(9deg); border-radius: 2px; box-shadow: -3px 2px 0 -1px #302c40,-3px 2px currentColor; }
.feature-grid h3 { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.feature-grid p { margin-top: 8px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.downloads article { min-width: 0; padding: clamp(22px,2.6vw,38px); border: 1px solid #ffffff20; border-radius: 18px; background: linear-gradient(125deg,#25252f,#1c1b23); }
.system-title { display: flex; align-items: center; gap: 10px; }
.system-title h3 { font-size: 24px; font-weight: 580; letter-spacing: -.04em; }
.system-title > span:last-child { margin-left: auto; font-size: 12px; color: var(--muted); }
.mac-icon { position: relative; width: 22px; height: 15px; border-radius: 3px; border: 1.5px solid #d4cbea; }
.mac-icon::before, .mac-icon::after { position: absolute; content: ""; left: 50%; transform: translateX(-50%); background: #d4cbea; }
.mac-icon::before { top: 100%; width: 2px; height: 3px; }.mac-icon::after { top: calc(100% + 3px); width: 11px; height: 1.5px; }
.windows-icon { width: 19px; height: 19px; background: linear-gradient(to right,transparent 45%,#24232c 45% 56%,transparent 56%),linear-gradient(to bottom,transparent 45%,#24232c 45% 56%,transparent 56%),#d4cbea; }
.release-button { margin-top: 22px; min-height: 38px; padding: 7px 17px; font-size: 13px; color: #221c2c; background: #e4dcf9; }
.release-button:hover:not([aria-disabled]) { background: #f5edff; }
.release-button[aria-disabled=true] { color: #c0bfcb; background: #ffffff0c; border: 1px solid #ffffff1f; }
.downloads small { display: block; margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.install-note { padding: 18px 2px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.install-note summary { cursor: pointer; width: fit-content; color: #d2cedd; }
.install-note p { max-width: 74ch; margin-top: 11px; }
.mac-install { padding: 12px 0 0; }
.mac-install ol { margin: 10px 0; padding-inline-start: 1.6em; }
.mac-install li + li { margin-top: 6px; }
.mac-install a { color: #e4dcf9; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px 35px; margin-top: 48px; border-top: 1px solid #ffffff20; }
.site-footer .brand { font-size: 16px; }.site-footer .brand-mark { transform: scale(.8); margin-right: 0; }
.site-footer > a:last-child { font-size: 12px; color: var(--muted); }
@media (min-width: 1600px) { .hero-inner { width: min(1220px,86%); } }
@media (max-width: 840px) {
  .studio-header .nav { min-height: 64px; gap: 25px; }.studio-header nav { gap: 22px; }
  .hero-inner { min-height: 415px; width: 91%; }
  .hero h1 { font-size: clamp(48px,7vw,62px); }.hero-copy { max-width: 70%; }
  .caption-glass { right: 0; bottom: 22px; width: 224px; }
  .radar-panel { grid-template-columns: 160px minmax(0,1fr); }
  .source-rail { padding: 9px; }
}
@media (max-width: 640px) {
  body:not(.studio-home) .nav { min-height: 62px; padding-inline: 20px; gap: 24px; }
  body:not(.studio-home) nav { gap: 20px; font-size: 12px; }
  .content-width, .studio-header .nav { width: calc(100% - 36px); }
  .studio-header .nav { gap: 15px; min-height: 58px; }.studio-header nav { gap: 13px; }
  .studio-header nav a { padding-inline: 1px; font-size: 12px; }
  .studio-header nav .nav-account { padding-inline: 9px; gap: 5px; }
  .brand { gap: 4px; font-size: 17px; }.brand-mark { transform: scale(.88); margin-left: -2px; margin-right: 0; }
  .studio-home section[id] { scroll-margin-top: 77px; }
  .hero { width: calc(100% - 18px); margin-top: 6px; border-radius: 22px; }
  .hero-image { background-position: 72% center; }
  .hero::after { background: linear-gradient(180deg,#11101b48,transparent 46%,#0d0c1690),linear-gradient(90deg,#11101bc9,#12101a66 54%,#14111b17); }
  .hero-inner { min-height: 490px; display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding: 38px 0 16px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(43px,9.8vw,58px); letter-spacing: -.07em; }
  .hero-copy > p { font-size: 14px; margin-top: 17px; line-height: 1.75; max-width: 23em; }
  .hero-actions { gap: 8px; margin-top: 22px; }
  .primary-action, .glass-action { min-height: 41px; padding-inline: 14px; gap: 7px; font-size: 12px; }
  .caption-glass { position: static; align-self: flex-end; width: 218px; padding: 11px 13px 13px; border-radius: 14px; }
  .caption-line { margin-top: 5px; font-size: 17px; }
  .radar-section { margin-top: 41px; }
  .radar-heading { align-items: flex-start; gap: 7px; }.radar-heading h1 { gap: 9px; }
  .section-heading h2 { font-size: clamp(26px,6.2vw,34px); }.section-heading p { font-size: 13px; margin-top: 7px; }
  .refresh-button { min-height: 32px; gap: 4px; padding-inline: 10px; font-size: 11px; }
  .radar-panel { display: block; border-radius: 18px; margin-top: 17px; }
  .source-rail { border-right: none; border-bottom: 1px solid #ffffff16; padding: 9px; }
  .source-list { flex-direction: row; overflow-x: auto; padding: 2px; scrollbar-width: thin; scrollbar-color: #514c5e transparent; }
  .source-list button { width: auto; flex: none; min-height: 33px; gap: 6px; padding: 5px 8px; border-radius: 8px; font-size: 12px; }
  .source-icon { width: 21px; height: 21px; flex-basis: 21px; font-size: 11px; border-radius: 5px; }
  .chart-body { padding: 17px 15px 13px; }.chart-header { gap: 6px; }
  .ranking { max-height: 305px; }.ranking a, .ranking .rank-entry { gap: 8px; }.rank-title { font-size: 13px; }.rank-metric { font-size: 11px; }
  .chart-name p { font-size: 11px; }.source-link { font-size: 11px; }
  .features-section, .download-section { margin-top: 54px; }
  .feature-grid { grid-template-columns: 1fr; gap: 17px; margin-top: 20px; }
  .feature-grid article { position: relative; padding: 14px 0 0 49px; }.feature-icon { position: absolute; left: 0; top: 15px; }
  .feature-grid h3 { font-size: 17px; }.feature-grid p { margin-top: 4px; font-size: 13px; }
  .downloads { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }.downloads article { padding: 19px; }
  .site-footer { margin-top: 30px; padding-block: 18px 26px; }
}
@media (max-width: 360px) {
  .radar-site .radar-heading h1 { font-size: 25px; gap: 6px; }
  .studio-header .nav { gap: 9px; }.studio-header nav { gap: 8px; }.studio-header .brand-studio { display: none; }
  .hero-copy > p { font-size: 13px; }.section-heading h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Homepage hero and subtitle motion. */
@keyframes studio-camera-push {
  from { transform: scale(1); }
  to { transform: scale(var(--hero-zoom)); }
}
@keyframes studio-hero-arrive {
  from { opacity: .62; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    --hero-zoom: 1.055;
    transform: scale(var(--hero-zoom));
    transform-origin: 73% 54%;
    animation: studio-camera-push 4.8s cubic-bezier(.22,.55,.32,1);
  }
  .hero-copy h1, .hero-copy > p, .hero-actions, .caption-glass {
    animation: studio-hero-arrive .62s cubic-bezier(.2,.72,.25,1) backwards;
  }
  .hero-copy > p { animation-delay: 70ms; }
  .hero-actions { animation-delay: 120ms; }
  .caption-glass { animation-delay: 190ms; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .hero-image { --hero-zoom: 1.028; animation-duration: 3.6s; }
}

/* Radar movements, source tags and work history. */
.source-count { margin-left: auto; font-size: 11px; color: #c6c2d4; font-variant-numeric: tabular-nums; }
.chart-summary { display: flex; flex-wrap: wrap; gap: 14px 27px; margin: 18px 0 15px; padding: 13px 16px; background: #ffffff06; border: 1px solid #ffffff10; border-radius: 12px; }
.chart-summary div { display: flex; flex-direction: column-reverse; gap: 1px; }
.chart-summary dt, .detail-facts dt { font-size: 11px; color: #b6b1c2; }
.chart-summary dd { margin: 0; font-size: 22px; line-height: 1.12; font-weight: 560; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.tag-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 15px; }
#tag-filter-label { color: #bdb7cb; font-size: 11px; }
#tag-filter-options, .work-tags, .detail-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.work-tag, .detail-tags > span {
  border: 1px solid #cfc6f222; border-radius: 6px; background: #b3a7dd11; color: #d9d1e9;
  line-height: 1.4; padding: 3px 6px; font-size: 11px; overflow-wrap: anywhere;
}
.work-tag:hover, .work-tag[aria-pressed=true] { background: #b09ee433; border-color: #d5c2ff66; color: #f1eaff; }
.work-tag span { margin-left: 5px; color: #b3a8c5; font-variant-numeric: tabular-nums; }
#clear-filter { padding: 3px 4px; border: 0; background: transparent; color: #ddcfff; font-size: 11px; }
.ranking { max-height: 415px; overscroll-behavior-y: contain; }
.work-row { display: grid; grid-template-columns: 2.2ch minmax(0,1fr) minmax(52px,auto) 26px; gap: 10px 12px; align-items: center; padding: 12px 1px; }
.work-identity { min-width: 0; }
.work-title { display: block; text-align: left; font-size: 14px; font-weight: 580; line-height: 1.46; color: #f5f2fa; border: 0; background: transparent; padding: 3px 0; overflow-wrap: anywhere; }
.work-title:hover { color: #e1d1ff; text-decoration: underline; text-underline-offset: 3px; }
.work-tags { margin-top: 4px; }
.work-tags .work-tag { background: transparent; color: #c2bacf; padding: 2px 5px; }
.work-tags .work-tag[aria-pressed=true] { color: #f2e8ff; background: #ad94dc25; }
.work-figures { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11px; color: #aaa3b6; font-variant-numeric: tabular-nums; }
.work-figures .rank-metric { margin: 0; font-size: 12px; color: #ece7f3; text-align: right; }
.work-share { display: block; width: 48px; height: 7px; appearance: none; background: transparent; border: 0; }
.work-share::-webkit-meter-bar { background: #ffffff13; border: 0; border-radius: 8px; height: 3px; }
.work-share::-webkit-meter-optimum-value { background: #bda4ec; border-radius: 8px; }
.work-share::-moz-meter-bar { background: #bda4ec; border-radius: 8px; }
.rank-change[data-direction=up], .rank-change[data-direction=new] { color: #a9dec4; }.rank-change[data-direction=down] { color: #d6b7aa; }
.ranking a.work-link { display: grid; place-content: center; padding: 0; width: 26px; min-height: 28px; border: 1px solid #ffffff20; border-radius: 7px; color: #c9c0d8; font-size: 13px; }
.ranking a.work-link:hover { background: #ffffff12; }
.work-dialog {
  width: min(640px,calc(100% - 28px)); max-height: min(85vh,850px); max-height: min(85dvh,850px); overflow: auto;
  margin: auto; padding: 20px 25px 22px; border: 1px solid #dfd3ff40; border-radius: 23px; color: #f5f2fa;
  background: linear-gradient(155deg,#302d3bfa,#1c1b26fa 65%); box-shadow: 0 24px 110px #06051299;
  scrollbar-width: thin; scrollbar-color: #787083 transparent; overscroll-behavior: contain;
}
.work-dialog::backdrop { background: #08070dc7; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 12px; color: #c0b9cd; }
#detail-close { flex: none; width: 32px; height: 32px; border: 1px solid #ffffff2e; background: #ffffff09; border-radius: 50%; font-size: 20px; line-height: 1; color: #e8e3ef; }
.detail-intro { display: flex; align-items: center; gap: 18px; min-width: 0; }
#detail-cover { width: clamp(78px,16vw,112px); max-height: 152px; height: auto; object-fit: contain; border-radius: 8px; flex: none; box-shadow: 0 6px 24px #0004; }
.detail-intro > div { min-width: 0; }
#detail-title { font-size: clamp(21px,2.6vw,30px); line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; }
#detail-rank, .detail-notice { font-size: 12px; color: #cbc3d8; line-height: 1.65; margin-top: 7px; }
.detail-tags { margin-top: 8px; }
#detail-link { display: inline-block; margin-top: 9px; }
.detail-description { margin-top: 18px; color: #d2cbdc; font-size: 13px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.detail-facts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 22px; margin: 13px 0 0; }
.detail-facts dd { margin: 3px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.work-history { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ffffff1c; }
.history-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.history-heading h4 { font-size: 16px; margin: 0; }
.history-ranges { display: inline-flex; padding: 2px; border: 1px solid #ffffff20; background: #08071130; border-radius: 8px; }
.history-ranges button { padding: 4px 9px; border: 0; border-radius: 6px; background: transparent; font-size: 12px; color: #c5bfd0; }
.history-ranges button[aria-pressed=true] { color: #f7f3ff; background: #ada0d235; }
.history-chart { border-radius: 10px; background: #ffffff04; margin-top: 12px; }
.history-chart svg { display: block; width: 100%; height: auto; }
.trend-grid { stroke: #ffffff21; stroke-dasharray: 3 4; }
.trend-line { fill: none; stroke: #c4a9fb; stroke-width: 2.5; stroke-linejoin: round; }
.trend-dot { fill: #e9dcff; stroke: #57456f; stroke-width: 1; }
.trend-label { fill: #c4bbd3; font: 12px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
#history-caption { margin-top: 7px; color: #c9c2d2; font-size: 12px; }
.history-records { margin-top: 12px; color: #c2b8cf; font-size: 12px; }
.history-records summary { cursor: pointer; width: fit-content; }
.history-records ol { max-height: 140px; overflow: auto; padding: 0; margin-top: 7px; list-style: none; }
.history-records li { display: flex; justify-content: space-between; gap: 10px; padding-block: 5px; border-top: 1px solid #ffffff13; }
@media (max-width:640px) {
  .source-count { display: none; }
  .chart-summary { padding: 10px 12px; column-gap: 15px; margin-top: 12px; }
  .chart-summary dd { font-size: 18px; }.chart-summary dt { font-size: 10px; }
  .ranking { max-height: 380px; }
  .work-row { grid-template-columns: 2ch minmax(0,1fr) 23px; grid-template-areas: "rank title link" ". metric metric"; gap: 3px 8px; padding-block: 10px; }
  .work-row .rank-number { grid-area: rank; align-self: start; margin-top: 3px; }
  .work-identity { grid-area: title; }
  .work-title { font-size: 13px; }
  .work-figures { grid-area: metric; flex-direction: row; align-items: center; gap: 7px; flex-wrap: wrap; }
  .work-figures .rank-metric { font-size: 11px; }.ranking a.work-link { grid-area: link; width: 23px; }
  .work-dialog { padding: 14px 16px 18px; border-radius: 16px; }.detail-intro { gap: 12px; }
  .history-ranges button { padding-inline: 7px; }
  .trend-label { font-size: 18px; }
}

/* Source-specific filters keep genre, video format and store attributes separate. */
#tag-filter-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#tag-filter-options { width: 100%; gap: 6px; justify-content: flex-start; }
.facet-group { display: flex; flex: 0 0 100%; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; }
.facet-label { width: max-content; margin-right: 3px; color: #bdb7cb; font-size: 11px; }
#tag-filter-options .work-tag {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; width: fit-content; max-width: 100%;
}
.facet-more { max-width: 115px; font: inherit; font-size: 11px; color: #d8cdef; border: 1px solid #cfc6f222; border-radius: 6px; background: #2d2939; padding: 3px; }
.video-headline { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: #beb8c9; font-size: 12px; line-height: 1.5; }
.work-tags .property-tag { color: #c4d3d6; border-color: #accad020; }
.app-rating { color: #d6c9ae; }
@media (max-width:640px) {
  .video-headline { font-size: 11px; }
}

/* Translucent surfaces share a cool rim. Only the active surface catches the pointer. */
.studio-home {
  background:
    radial-gradient(ellipse 50% 17% at 1% 35%, #302a4e 0%, transparent 95%),
    radial-gradient(ellipse 51% 22% at 100% 58%, #23323e 0%, transparent 93%),
    radial-gradient(ellipse 42% 18% at 18% 90%, #2f2840 0%, transparent 94%),
    #101016;
}
.studio-home .glass-surface {
  --glass-x: 30%;
  --glass-y: 15%;
  --glass-rim: 213, 207, 255;
  isolation: isolate;
}
.studio-home .glass-surface:not(.hero)::after,
.studio-home .hero.glass-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(100deg,transparent 3%,rgba(var(--glass-rim),.8) 31%,rgba(255,255,255,.22) 55%,transparent 91%) top / 100% 1px no-repeat,
    linear-gradient(110deg,transparent 14%,rgba(var(--glass-rim),.32) 77%,transparent 98%) bottom / 100% 1px no-repeat,
    radial-gradient(ellipse 220px 135px at var(--glass-x) var(--glass-y),rgba(var(--glass-rim),.25),transparent 96%);
  opacity: .48;
}
.studio-home .studio-header.glass-surface {
  background: linear-gradient(115deg,#2e2c3c94,#181923a8 43%,#29273797);
  border-bottom-color: #cdc8f339;
  box-shadow: 0 6px 23px #05060d29,inset 0 1px #f1edff16;
  -webkit-backdrop-filter: blur(25px) saturate(145%);
  backdrop-filter: blur(25px) saturate(145%);
}
.studio-home .hero.glass-surface {
  border-color: #e9e5ff43;
  box-shadow: 0 19px 50px #05071040,inset 0 0 0 1px #ffffff0c;
}
.studio-home .hero.glass-surface::before {
  z-index: 0;
  background:
    linear-gradient(100deg,transparent 2%,#dad5ffbd 26%,transparent 55%,#e6c9e459 85%,transparent) top / 100% 1px no-repeat,
    radial-gradient(ellipse 34% 47% at var(--glass-x) var(--glass-y),#a79fec34,transparent 97%),
    linear-gradient(142deg,transparent 48%,#c5befc17 58%,transparent 69%);
}
.hero.glass-surface > .hero-inner { z-index: 1; }
.caption-glass.glass-surface {
  border-color: #eeebff80;
  background: linear-gradient(134deg,#b9afdf36,#2926387a 54%,#22283887);
  box-shadow: 0 10px 40px #03051059,inset 1px 1px #f5f1ff29,inset -1px -2px #847ba63b;
  -webkit-backdrop-filter: blur(23px) saturate(142%);
  backdrop-filter: blur(23px) saturate(142%);
}
.radar-panel.glass-surface,
.feature-grid > .glass-surface,
.downloads > .glass-surface { position: relative; }
.radar-panel.glass-surface {
  border-color: #d7d4ff45;
  background: linear-gradient(116deg,#9590ae26,#212231b0 45%,#37455279);
  box-shadow: 0 18px 50px #06051038,inset 1px 1px #e9edff1a,inset -1px -1px #c3dffb14;
}
.radar-panel.glass-surface .source-rail { background: linear-gradient(160deg,#ded2fe0f,#37374d24); border-color: #e8e2ff22; }
.radar-panel.glass-surface .chart-summary { background: linear-gradient(110deg,#f4efff0c,#b9d2ea06); border-color: #ffffff24; }
.work-dialog.glass-surface {
  background: linear-gradient(140deg,#393543ed,#242735ed 62%,#32303dec);
  border-color: #e7ddff6b;
  box-shadow: 0 28px 115px #070611b5,inset 1px 1px #ffffff28,inset -1px -1px #a49ab72b;
  -webkit-backdrop-filter: blur(21px) saturate(135%);
  backdrop-filter: blur(21px) saturate(135%);
}
.feature-grid > .glass-surface,
.downloads > .glass-surface {
  border: 1px solid #d6cfee42;
  border-radius: 19px;
  background: linear-gradient(133deg,rgba(var(--glass-rim),.125),rgba(32,32,43,.78) 66%),
              linear-gradient(50deg,#332e442f,#3d465b42);
  box-shadow: 0 12px 36px #0707102e,inset 1px 1px #f5f4ff19,inset -1px -1px #cdd1f412;
}
.feature-grid > .glass-surface { padding: clamp(18px,2.1vw,30px); }
.feature-grid > .glass-surface:nth-child(2),
.downloads > .glass-surface:nth-child(2) { --glass-rim: 173, 218, 234; }
.feature-grid > .glass-surface:nth-child(3) { --glass-rim: 235, 198, 224; }
@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .studio-home .glass-surface:not(.hero)::after, .studio-home .hero.glass-surface::before { transition: opacity 230ms ease; }
  .studio-home .glass-surface.glass-lit:not(.hero)::after, .studio-home .hero.glass-surface.glass-lit::before { opacity: .95; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero.glass-surface::before { animation: studio-glass-reflection 4.4s ease-out; }
  @keyframes studio-glass-reflection { 0% { opacity: .2; } 37% { opacity: .85; } 100% { opacity: .48; } }
}
@media (max-width:640px) {
  .caption-glass.glass-surface { position: relative; bottom: auto; right: auto; }
  .feature-grid > .glass-surface { padding: 17px 16px 17px 62px; border-radius: 15px; }
  .feature-grid > .glass-surface .feature-icon { left: 15px; top: 17px; }
}
@media (any-pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .studio-home .glass-surface:not(.hero)::after { transition: opacity 180ms ease-out; }
  .studio-home .glass-surface:not(.hero):is(:active,:focus-within)::after { opacity: .9; }
  .studio-home :is(.feature-grid,.downloads) .glass-surface.in-view::after {
    animation: studio-touch-reflection 850ms ease-in-out;
  }
  @keyframes studio-touch-reflection {
    0% { opacity: .28; background-position: top,bottom,-30px 0; }
    45% { opacity: .89; }
    100% { opacity: .48; background-position: top,bottom,0 0; }
  }
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .studio-home .studio-header.glass-surface { background: #22212cf5; }
  .caption-glass.glass-surface { background: #373346eb; }
}
@media (prefers-reduced-transparency: reduce) {
  .studio-home .glass-surface:not(.hero) { background: #25242f; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  .studio-home .glass-surface { border: 1px solid CanvasText; }
  .studio-home .glass-surface:not(.hero)::after, .studio-home .hero.glass-surface::before { display: none; }
}

