.home-view, .film-view {
  --display: "Bahnschrift", "Segoe UI", Arial, sans-serif;
  --muted: #c4b4ad;
  --ice: #b2e3d8;
  --copper: #efae78;
}

.site-head .header-mark { position: relative; display: block; width: clamp(12.5rem, 19.7vw, 18.5rem); height: calc(var(--head) - 9px); margin-left: -.45rem; overflow: hidden; }
.site-head .header-mark img { position: absolute; top: 50%; left: 0; width: 100%; height: auto; transform: translateY(-50%); }

.home-view .hero { --chapter-height: 0px; --chapter-exit: 0; }
.hero-stage {
  --stage-height: clamp(29rem, calc(100svh - var(--head) - var(--chapter-height) - 4rem), 48rem);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: var(--stage-height);
  padding-block: clamp(1.8rem, 4.9svh, 4.2rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 76% 46%, #4a2923 0%, #23171a 50%, #120e11 79%);
}
.hero-avatar {
  position: absolute;
  z-index: 0;
  inset: 0 max(0px, calc((100% - 1850px) * .35)) 0 auto;
  width: min(63vw, calc(var(--stage-height) * 1.075));
  background: transparent;
}
.hero-avatar .portrait-frame {
  --portrait-position-y: 39%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  mask-image: linear-gradient(90deg, transparent, #0006 9%, #000 29%);
}
.hero-avatar .portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-avatar .portrait-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #180d1126, transparent 15%, transparent 87%, #230f13a0); }
.hero-avatar .hero-avatar-actions { inset: auto 18px 16px auto; }
.hero-caption { position: relative; z-index: 1; pointer-events: none; }
.hero-story { width: min(49vw, 42rem); pointer-events: auto; }
.hero-heading { color: #fff0dd; font: 545 clamp(2.4rem, 4.2vw, 4.1rem) / 1.025 var(--display); letter-spacing: -.037em; }
.hero-edition { display: inline-block; white-space: nowrap; }
.hero-claim { margin-top: .77rem; color: #e7ba98; font: 440 clamp(1.22rem, 1.9vw, 1.78rem) / 1.2 var(--display); letter-spacing: -.015em; }
.hero-message { margin-top: .9rem; max-width: 46ch; color: #d1c0b7; font: 400 clamp(1rem, 1.16vw, 1.14rem) / 1.56 "Segoe UI", Arial, sans-serif; }
.hero-benefit { margin-top: .6rem; color: #f4c396; font: 600 clamp(1rem, 1.26vw, 1.13rem) / 1.38 var(--display); text-wrap: balance; }
.hero-product { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem clamp(1rem, 1.9vw, 1.85rem); margin-top: clamp(1.2rem, 3svh, 2rem); }
.hero-demo-link { display: inline-flex; align-items: center; gap: 1.25rem; min-height: 46px; padding: .55rem 1rem; color: #231612; background: linear-gradient(135deg, #f4c08b, #dc925a); border: 1px solid #ffd8a8; border-radius: 2px 9px 2px 2px; font: 650 .97rem var(--display); white-space: nowrap; transition: background .2s ease; }
.hero-demo-link:hover { background: #ffe1b7; }
.hero-proof { position: relative; isolation: isolate; overflow: hidden; flex: 0 0 auto; width: clamp(12.9rem, 20vw, 17.8rem); aspect-ratio: 2.25; border: 1px solid #8f5d48; border-radius: 2px 13px 2px 2px; background: #211519; transform: translateY(calc(var(--chapter-exit) * 15px)) scale(calc(1 + var(--chapter-exit) * .12)); transform-origin: left bottom; }
.hero-proof img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-proof img:nth-child(2) { position: absolute; top: 9px; right: 9px; width: 64%; height: auto; }
.hero-proof figcaption { position: absolute; inset: auto 0 0; padding: .38rem .64rem; background: #0d1715d1; color: #e6f1ed; font-size: .76rem; }
.home-view .signal-rail { background: #151014; border-color: #5b3930; }
.home-view .signal-rail::before { background: #eba16e; box-shadow: 0 0 10px #d761365e; }
.home-view .signal-inner { display: block; }
.home-view .chapter-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-view .signal-link { display: flex; justify-content: space-between; gap: .65rem; padding: .5rem 1.25rem; border-color: #4a3331; color: #ecdfd6; }
.home-view .signal-link:hover { background: #2a1c21; color: #ffcc9d; }
.home-view .signal-link .chapter-arrow { color: #f0aa76; }
@media (min-width: 1851px) {
  .hero-avatar .portrait-frame { mask-image: linear-gradient(90deg, transparent, #0006 9%, #000 28%, #000 92%, transparent); }
}

.demo-section { --chapter-entry: 1; padding-block: clamp(2rem, 3.5vw, 3.8rem) clamp(3.4rem, 6.1vw, 7rem); background: radial-gradient(ellipse at 82% 5%, #33201e, transparent 40%), #151116; color: #f4ebe3; }
#gameplay-heading, #appearance-heading, #author-heading { scroll-margin-top: 1.7rem; }
#author-scene { scroll-margin-top: .45rem; }
.demo-head, .client-head { display: flex; align-items: end; justify-content: space-between; gap: 1.45rem 2.6rem; margin-bottom: clamp(1.4rem, 2.55vw, 2.65rem); }
.demo-head h2, .client-head h2, .home-view .author-story h2 { font: 535 clamp(2.25rem, 3.75vw, 3.65rem) / 1.055 var(--display); letter-spacing: -.036em; }
.demo-head p, .client-head p { margin-top: .72rem; max-width: 58ch; color: #cbb8af; font-size: clamp(.99rem, 1.15vw, 1.12rem); }
.demo-head { margin-bottom: clamp(1rem, 1.6vw, 1.9rem); }
.demo-head-actions { text-align: right; white-space: nowrap; }
.demo-head-actions p { font-size: .89rem; margin-top: .55rem; }
.demo-head-actions kbd { display: inline-block; margin-left: .28rem; padding: .2rem .43rem; color: #ddf5ee; background: #202d2c; border: 1px solid #476761; border-radius: 4px; font: .85rem var(--mono); }
.quiet-link { display: inline-flex; align-items: center; justify-content: space-between; gap: .65rem; flex: none; min-height: 44px; width: fit-content; white-space: nowrap; color: #eed0b3; border-bottom: 1px solid #8d634b; transition: color .2s ease, border-color .2s ease; }
.quiet-link:hover { color: #fafdfb; border-color: currentColor; }
.quiet-link span { color: #eda874; font-size: 1.07em; }
.clan-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .7rem clamp(1.35rem, 4vw, 3.8rem); margin-top: clamp(1.25rem, 2.45vw, 2.5rem); padding: 1.05rem clamp(1rem, 2.1vw, 1.75rem); border-block: 1px solid #71503f; background: linear-gradient(90deg, #34231f, #1e161b 56%, transparent); }
.clan-note :is(h2, h3) { color: #ffdfbd; font: 545 clamp(1.2rem, 1.85vw, 1.65rem) / 1.15 var(--display); letter-spacing: -.02em; }
.clan-note p { margin-top: .35rem; max-width: 76ch; color: #d1c1b5; font-size: .94rem; line-height: 1.5; }
.film-view .clan-note + .feature-notes { margin-top: clamp(2.2rem, 4vw, 3.75rem); }
.license-invite { margin-block: clamp(2rem, 3.8vw, 3.9rem); }
.license-invite-inner { padding: clamp(1.05rem, 2.5vw, 2.2rem); border: 1px solid #77513d; border-radius: 2px 16px 2px 2px; background: radial-gradient(ellipse at 92% 0%, #422820 0%, transparent 56%), #1b141a; }
.license-invite-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; }
.license-invite-head h2 { color: #fff0dd; font: 540 clamp(1.65rem, 2.9vw, 2.75rem) / 1.12 var(--display); letter-spacing: -.028em; text-wrap: balance; }
.license-invite-head p { margin-top: .35rem; color: #cab9ad; font-size: .92rem; }
.license-invite-head > .button { flex: 0 0 auto; border-radius: 2px 9px 2px 2px; }
.license-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(1rem, 1.95vw, 1.65rem); border-block: 1px solid #5a3e34; }
.license-options a { position: relative; display: grid; align-content: start; gap: .2rem; padding: .78rem clamp(.65rem, 1.65vw, 1.4rem) .86rem; border-right: 1px solid #5a3e34; transition: background-color .24s ease; }
.license-options a:first-child { border-left: 1px solid #5a3e34; }
.license-options a::before { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: #edab75; transform: scaleX(0); transform-origin: left; transition: transform .28s ease; pointer-events: none; }
.license-options a:is(:hover, :focus-visible) { background: #3a2424; }
.license-options a:is(:hover, :focus-visible)::before { transform: scaleX(1); }
.license-options a:focus-visible { outline-offset: -3px; }
.license-options span { color: #e8ccba; font: 545 .96rem var(--display); }
.license-options strong { color: #ffce9e; font: 560 clamp(1.4rem, 2.55vw, 2.4rem) / 1.08 var(--display); font-variant-numeric: tabular-nums; }
.license-options small { color: #c4b2a5; font-size: .82rem; line-height: 1.38; }
.film-view .license-invite { margin-bottom: 0; }
.demo-console { overflow: hidden; border-radius: 2px 18px 2px 2px; background: #1e171c; border: 1px solid #7d5140; box-shadow: 0 18px 52px #090609a8; }
.demo-controls, .client-controls { display: flex; justify-content: space-between; align-items: end; gap: .9rem clamp(.63rem, 2.25vw, 2.1rem); padding: .95rem clamp(.85rem, 2vw, 1.9rem) 1rem; }
.demo-controls legend, .client-controls legend, .demo-scale { color: #cebbb0; font-size: .78rem; font-weight: 650; margin-bottom: .34rem; }
.demo-options { display: flex; gap: 2px; padding: 2px; width: fit-content; background: #111316; border-radius: 4px 8px 4px 4px; border: 1px solid #45524f; }
.demo-options label { position: relative; display: flex; min-width: 0; cursor: pointer; }
.demo-options input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.demo-options label > span { display: grid; place-items: center; min-height: 38px; padding-inline: clamp(.52rem, .9vw, .93rem); border-radius: 5px; color: #c1d1d0; font-size: clamp(.82rem, 1.05vw, .98rem); line-height: 1; white-space: nowrap; pointer-events: none; transition: background .2s ease, color .2s ease; }
.demo-options input:checked + span { color: #0c2421; background: #a7dfd1; }
.demo-options label:hover input:not(:checked) + span { color: #fff; background: #23383e; }
.demo-options input:focus-visible + span { outline: 2px solid #c5ffeb; outline-offset: 2px; }
.demo-scale { display: grid; gap: .34rem; margin: 0; }
.demo-scale select { width: 76px; height: 44px; padding: 0 .5rem 0 .68rem; color: #e5fbef; background: #0b171b; border: 1px solid #355053; border-radius: 8px; font: 550 .97rem var(--display); }
.demo-scale select:focus-visible { outline: 2px solid #c5ffeb; outline-offset: 2px; }
.corner-options label > .corner-icon { width: clamp(31px, 3vw, 46px); padding: 0; position: relative; }
.corner-icon::before { content: ""; width: 15px; height: 11px; border: 1px solid currentColor; border-radius: 2px; }
.corner-icon::after { content: ""; width: 4px; height: 3px; background: currentColor; border-radius: 1px; position: absolute; inset: 0; margin: auto; transform: translate(var(--corner-x), var(--corner-y)); }
.corner-icon.nw { --corner-x: -3px; --corner-y: -2px; }
.corner-icon.ne { --corner-x: 3px; --corner-y: -2px; }
.corner-icon.sw { --corner-x: -3px; --corner-y: 2px; }
.corner-icon.se { --corner-x: 3px; --corner-y: 2px; }

.demo-screen { --panel-proportion: .292; --pad: clamp(.65rem, 1.25vw, 1.5rem); position: relative; isolation: isolate; overflow: hidden; overflow-anchor: none; height: clamp(300px, calc(100svh - 340px), 665px); background: #162327; }
.demo-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.demo-screen img { position: absolute; z-index: 1; right: var(--pad); top: var(--pad); width: calc(100% * var(--panel-proportion)); height: auto; max-height: calc(100% - var(--pad) * 2); object-fit: contain; object-position: top right; filter: drop-shadow(0 6px 14px #050a12ac); }
.demo-screen[data-corner="nw"] img, .demo-screen[data-corner="sw"] img { right: auto; left: var(--pad); object-position: top left; }
.demo-screen[data-corner="sw"] img, .demo-screen[data-corner="se"] img { top: auto; bottom: var(--pad); }
.demo-screen-tools { display: flex; position: absolute; z-index: 2; right: var(--pad); bottom: var(--pad); }
.demo-screen[data-corner="se"] .demo-screen-tools { right: auto; left: var(--pad); }
.demo-screen .media-toggle { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; padding: .56rem .9rem; min-height: 44px; border-radius: 9px; color: #e4f3f0; border: 1px solid #a8c8c986; background: #091518e8; }
.demo-screen .media-toggle:hover { background: #25383c; }
.media-toggle > span:first-child { display: block; width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; margin-left: 1px; }
.media-toggle[data-playing="true"] > span:first-child { width: 11px; height: 12px; border: 0; border-inline: 3px solid currentColor; }
.demo-bottom { display: flex; justify-content: space-between; gap: 2rem; padding: .78rem clamp(.85rem, 2vw, 1.9rem); color: #d8ece5; font-size: .89rem; }
.demo-bottom > span { color: #bfaaa1; }
.demo-frame { clip-path: inset(0 calc((1 - var(--chapter-entry)) * 7.5%) 0 calc((1 - var(--chapter-entry)) * 7.5%) round calc((1 - var(--chapter-entry)) * 22px)); }
.demo-frame:focus-within { clip-path: none; }

.client-section { color: #f7eadf; background: radial-gradient(ellipse at 21% 39%, #2b1d21, transparent 52%), #181217; padding-block: clamp(3.4rem, 6.25vw, 6.6rem); }
.client-head { margin-bottom: 1.5rem; }
.client-compare { --detail-x: 79.6%; --detail-y: 55.8%; --detail-w: 6%; --detail-h: 6%; --detail-color: #18eece; color: #ecf6f3; background: #1e171c; border-radius: 2px; border: 1px solid #64463e; overflow: hidden; }
.client-compare[data-detail="channel"] { --detail-x: 48%; --detail-y: 22.7%; --detail-w: 93%; --detail-h: 7%; }
.client-compare[data-detail="mute"] { --detail-x: 93%; --detail-y: 66.1%; --detail-w: 7.5%; --detail-h: 6.5%; }
.client-controls { justify-content: space-between; }
.client-zoom { min-height: 44px; padding: .55rem .95rem; border-radius: 8px; border: 1px solid #789e94; background: #254347; color: #e4fbf0; white-space: nowrap; }
.client-zoom:hover, .client-zoom[aria-pressed="true"] { color: #112827; background: #b3e8d9; }
.client-windows { --window-height: clamp(270px, calc(100svh - 400px), 500px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.9rem); padding: clamp(.9rem, 1.65vw, 1.85rem); background: #100d11; }
.client-compare[data-mode="dark"] .client-windows, .client-compare[data-mode="light"] .client-windows { grid-template-columns: minmax(0, 650px); justify-content: center; }
.client-compare[data-mode="dark"] [data-client="light"], .client-compare[data-mode="light"] [data-client="dark"] { display: none; }
.client-window { display: grid; place-items: center; height: var(--window-height); overflow: hidden; position: relative; border-radius: 8px; border: 1px solid #4d6765; background: #131a1b; }
.client-capture { position: relative; width: min(100%, calc((var(--window-height) - 2px) * 1.2375)); transform-origin: var(--detail-x) var(--detail-y); transition: transform .38s cubic-bezier(.16,.77,.2,1), transform-origin .38s cubic-bezier(.16,.77,.2,1); }
.client-compare[data-zoom="true"] .client-capture { transform: scale(1.52); }
.client-capture img { display: block; width: 100%; height: auto; }
.client-marker { position: absolute; inset: var(--detail-y) auto auto var(--detail-x); width: var(--detail-w); height: var(--detail-h); translate: -50% -50%; border: 2px solid var(--detail-color); border-radius: 4px; box-shadow: 0 0 0 3px #04111449, 0 0 14px #11e3b661; pointer-events: none; }
.client-view[data-client="light"] .client-marker { --detail-color: #008079; }
.client-view figcaption { margin-top: .58rem; font-size: .89rem; color: #cbddda; }
.client-feedback { padding: .9rem clamp(.85rem, 2vw, 1.9rem); color: #e0f2ed; }

.client-lab { display: grid; grid-template-columns: clamp(10rem, 16vw, 13.9rem) minmax(0, 1fr); color: #f3e7dd; background: #1b151a; border-radius: 2px 16px 2px 2px; border: 1px solid #765043; overflow: hidden; }
.client-scenarios { display: flex; flex-direction: column; align-items: stretch; padding-block: .6rem; background: linear-gradient(180deg, #251c21, #151116); border-right: 1px solid #533831; }
.client-scenarios button { position: relative; min-height: 49px; padding: .55rem .9rem; text-align: left; background: transparent; border: 0; border-bottom: 1px solid #443131; color: #d9c8bf; font: 545 clamp(.85rem, 1.05vw, 1rem) var(--display); }
.client-scenarios button:hover { background: #35262c; }
.client-scenarios button[aria-selected="true"] { color: #c8fff0; background: #253536; box-shadow: inset 2px 0 #8ee6d5; }
.client-scenarios button:focus-visible { outline-offset: -3px; }
.client-case { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.9vw, 2.8rem); align-items: center; padding: clamp(1.15rem, 2.1vw, 2.25rem); min-height: clamp(21.5rem, 32vw, 27rem); }
.case-stage { min-width: 0; display: grid; place-items: center; min-height: clamp(250px, 44svh, 340px); }
.case-shot, .mute-window { width: 100%; min-width: 0; overflow: hidden; position: relative; border-radius: 7px; box-shadow: 0 14px 27px #080f10b0; }
.case-shot img, .mute-window img { display: block; width: 100%; height: auto; }
.case-crop { aspect-ratio: 594 / 332; }
.case-crop img { position: absolute; inset: 0 0 auto; }
.case-caption h3 { color: #fff0e2; font: 540 clamp(1.4rem, 2.25vw, 2.15rem) / 1.12 var(--display); letter-spacing: -.023em; text-wrap: balance; }
.case-caption p { margin-top: .7rem; color: #c8b5b0; font-size: 1rem; }
.case-caption small { display: block; margin-top: .7rem; color: #c1ada5; font-size: .86rem; line-height: 1.5; }
.case-caption .case-result { color: #e4f6ec; min-height: 48px; padding-inline-start: .77rem; border-left: 2px solid #94cdbd; }
.case-action { margin: .85rem 0 .2rem; padding: .58rem .78rem; min-height: 44px; border: 1px solid #8fbcac; border-radius: 7px; color: #122c2a; background: #bde7d9; font-size: .93rem; text-align: left; }
.case-action:hover { background: #e3fbf0; }
.case-theme { color: #dcece7; background: #2d494a; }
.case-theme:hover { background: #456461; }
.case-choices { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.case-choices button { min-height: 42px; border: 1px solid #668b83; border-radius: 7px; background: #203439; color: #dbeee7; padding: .4rem .78rem; }
.case-choices button[aria-pressed="true"] { color: #142c2b; background: #bde7d9; }
.case-choices button:hover { border-color: #c1ecdc; }
.client-case-themes .client-compare { border: 0; border-radius: 0 0 21px 21px; }

.mute-window { background: #221e21; max-width: 594px; }
.mute-window-top { aspect-ratio: 594 / 100; overflow: hidden; }
.mute-window-viewer { padding: .5rem .65rem; color: #f1e6d6; background: #2b2529; border-block: 1px solid #51413e; font-size: .94rem; }
.mute-room { color: #ffe0ae; padding: .35rem .65rem; background: #5a3929; font-size: .91rem; }
.mute-tree { min-height: 7rem; padding-block: 4px 10px; }
.mute-tree-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; min-height: 40px; gap: .52rem; padding-inline: clamp(.5rem, 1.25vw, 1.1rem); color: #f5ece8; font-size: clamp(.8rem, 1.15vw, 1rem); }
.mute-tree-row small { color: #dfd0c1; font-weight: 400; }
.mute-self { border-left: 2px solid #c8944e; background: #302724; }
.mute-cl { color: #dfb77c; font-size: .84rem; white-space: nowrap; }
.mute-member[data-muted="true"] { background: #452c32; }
.user-dot { width: 8px; height: 8px; border-radius: 50%; background: #62b57c; }
.muted-indicator { display: inline-flex; align-items: center; gap: .35rem; color: #ffc9c8; font-size: .88rem; }
.muted-indicator img { width: 19px; height: 19px; }

.case-hotspot { position: absolute; appearance: none; background: #ffc87815; border: 2px solid #ffd392; border-radius: 4px; box-shadow: 0 0 0 3px #442916b0, 0 0 14px #ffd78369; transition: background-color .2s ease; }
.case-hotspot:hover, .case-hotspot:focus-visible { background: #ffc87837; }
.case-hotspot.pin-star { left: 83%; top: 32.6%; width: 5.2%; height: 12%; min-width: 29px; }
.case-hotspot.pin-return { left: 51.7%; top: 32.6%; width: 31.5%; height: 12%; }
.count-channel, .count-server { top: 28.7%; height: 9.1%; }
.count-channel { left: 66.6%; width: 13.5%; }
.count-server { left: 80.3%; width: 19.15%; }
.case-hotspot[aria-pressed="false"] { opacity: .52; }
.case-hotspot[aria-pressed="false"]:is(:hover, :focus-visible) { opacity: 1; }
.l2-spot { position: absolute; inset: 77.7% auto auto 77.45%; width: 4.7%; height: 5.3%; background: #252425; }
.l2-shot[data-running="true"] .l2-spot { background: transparent; box-shadow: 0 0 0 2px #ffd391, 0 0 13px #ffd891; border-radius: 3px; }
.roles-window { width: 100%; max-width: 594px; overflow: hidden; padding-bottom: .65rem; border-radius: 7px; background: #221f24; box-shadow: 0 14px 27px #080f10b0; }
.roles-window-top { aspect-ratio: 594 / 100; overflow: hidden; }
.roles-window-top img { display: block; width: 100%; height: auto; }
.roles-room { padding: .38rem .66rem; margin-bottom: .43rem; color: #ffe0ae; background: #543c30; font-size: .91rem; }
.role-stage[data-theme="light"] .roles-window { background: #f2ece0; }
.role-stage[data-theme="light"] .roles-room { color: #583b25; background: #e7dcce; }
.role-shot { width: calc(100% - 1rem); margin-inline: auto; aspect-ratio: 600 / 61; background: #221f24; border-radius: 3px; box-shadow: none; }
.role-shot img { position: absolute; width: 106%; left: -2.6667%; top: -88.5246%; }
.role-outline { position: absolute; inset: 0 .4% auto; height: 45%; border: 2px solid #d4a766; border-radius: 4px; pointer-events: none; }
.role-stage[data-role="pl"] .role-outline { top: 54%; border-color: #78ccbb; }
.role-stage[data-theme="light"] .role-outline { border-color: #87621e; }
.role-stage[data-theme="light"][data-role="pl"] .role-outline { border-color: #087f75; }

.home-view .author-section { color: #faeee4; background: radial-gradient(ellipse at 67% 73%, #3e2520, transparent 63%), #1b1418; }
.home-view .author-layout { grid-template-columns: minmax(0, min(48%, 565px)) minmax(0, 1fr); gap: clamp(2.55rem, 6vw, 6.5rem); padding-block: clamp(2.55rem, 5.7svh, 5.3rem); }
.home-view .author-portrait { position: relative; width: 100%; max-width: 620px; justify-self: start; }
.home-view .author-portrait .portrait-frame { border: 1px solid #795447; border-radius: 2px 19px 2px 2px; }
.home-view .author-portrait img { aspect-ratio: 1; border-radius: 0; }
.portrait-frame { --portrait-position-y: 50%; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1; border-radius: 24px; background: #271b17; }
.portrait-plane { position: absolute; inset: 0; }
.portrait-plane :is(img, video, canvas) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--portrait-position-y); }
.portrait-plane :is(video, canvas) { pointer-events: none; }
.portrait-plane video { opacity: 0; }
[data-portrait-player][data-portrait="video"] [data-portrait-video], .portrait-plane [data-portrait-idle][data-active="true"] { opacity: 1; }
.portrait-actions { display: flex; flex-wrap: wrap; gap: .42rem; position: absolute; z-index: 1; inset: auto .72rem .72rem; width: fit-content; max-width: calc(100% - 1.44rem); }
.portrait-actions button { min-height: 42px; padding: .46rem .68rem; border-radius: 6px; border: 1px solid #e9ceae76; background: #261a16ee; color: #fff0db; font-size: .83rem; line-height: 1.24; }
.portrait-actions button:hover:not(:disabled) { background: #513529; }
.portrait-actions button:focus-visible { outline-offset: 2px; }
.portrait-actions button:disabled { color: #e6c8a9; background: #261a16e8; cursor: default; }
.portrait-actions :is([data-portrait-play], [data-portrait-replay], [data-portrait-photo]) { display: none !important; }
.portrait-actions .portrait-sound { display: grid; place-items: center; width: 36px; min-height: 36px; padding: 0; border: 0; border-radius: 0; color: #ebd3bc; background: transparent; opacity: .77; }
.portrait-actions .portrait-sound:hover { color: #fff0d9; background: transparent; opacity: 1; }
.portrait-actions .portrait-sound[aria-pressed="true"] { color: #d0f4e6; }
.sound-glyph { position: relative; display: block; width: 18px; height: 16px; filter: drop-shadow(0 1px 2px #10080bdd); }
.sound-glyph::before { content: ""; position: absolute; inset: 1px auto 1px 0; width: 11px; background: currentColor; clip-path: polygon(0 33%, 40% 33%, 100% 0, 100% 100%, 40% 67%, 0 67%); }
.sound-glyph::after { content: ""; position: absolute; inset: 2px 1px 2px 8px; border-right: 2px solid currentColor; border-radius: 50%; }
.sound-glyph span { position: absolute; z-index: 1; top: 7px; left: -1px; height: 2px; width: 20px; transform: rotate(-42deg); background: currentColor; box-shadow: 0 1px #20171c; }
.portrait-sound[aria-pressed="true"] .sound-glyph span { display: none; }
.author-avatar-actions { inset: auto 18px 16px auto; }
.home-view .author-story h2 { margin-block: 0 .3em; color: #fff1df; font-size: clamp(2.6rem, 4.3vw, 4.45rem); font-weight: 485; }
.home-view .author-story > p:not(.index-label) { color: #e4d3c2; }
.home-view .author-story > p > strong { color: #ffe9cc; font-weight: 680; }
.home-view .author-story p.author-servers { margin-top: .55rem; font-size: 1rem; line-height: 1.64; }
.home-view .author-story p.author-order { color: #ffe0a7; font-size: clamp(1.07rem, 1.47vw, 1.41rem); font-weight: 600; margin-bottom: 1rem; }
.order-name { display: inline-flex; align-items: center; vertical-align: middle; white-space: nowrap; }
.author-story .quiet-link { margin-top: .8rem; color: #ffdbb2; border-color: #9e7557; }
.author-story .quiet-link span { color: #ffdbb2; }
.order-bolt { flex: none; display: inline-block; width: 26px; height: 32px; margin-inline: 2px; overflow: visible; }
.bolt-body { fill: #ffbd46; stroke: #ffdf84; stroke-width: 1px; filter: drop-shadow(0 0 5px #f4a53c95); }
.bolt-sparks { fill: none; opacity: .33; stroke: #ffe7a0; stroke-width: 1.6px; stroke-linecap: round; transform-origin: 16px 18px; animation: order-spark 7.7s infinite; }
@keyframes order-spark { 0%, 15%, 23%, 67%, 70%, 100% { opacity: .17; scale: .87; } 17%, 21%, 68% { opacity: 1; scale: 1.16; } 19%, 69% { opacity: .28; scale: .97; } }
.party-player { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; margin-top: 1.4rem; padding: .7rem; width: min(100%, 470px); border-radius: 2px 12px 2px 2px; border: 1px solid #8c624d; background: #27191e; }
.party-player + .party-player { margin-top: .6rem; }
.party-cover { display: block; border-radius: 5px; }
.party-player .media-toggle { display: grid; place-content: center; width: 45px; height: 45px; border: 0; border-radius: 50%; color: #2b1a14; background: #ffdc9b; }
.party-player .media-toggle:hover { background: #fff0cc; }
.party-player strong { display: block; font-size: .9rem; font-weight: 650; color: #ffe4be; }
.party-player output { color: #e9cdb1; font: .86rem var(--mono); font-variant-numeric: tabular-nums; }
.party-progress { display: flex; align-items: center; height: 23px; gap: 1px; margin-top: .24rem; }
.party-progress i { width: 2px; flex: 1 1 2px; height: calc(100% * var(--amp)); background: #8e654a; }
.party-progress i.is-played { background: #ffd18b; }
.party-progress:empty { height: 4px; margin-block: 11px 8px; background: linear-gradient(90deg, #ffd18b var(--played, 0%), #8e654a var(--played, 0%)); }

.film-view { --line: #5e4035; color: #f1e8df; padding-block: clamp(1.3rem, 2.55vw, 2.65rem) clamp(3.8rem, 6.4vw, 5.7rem); }
.film-view .mumble-layout { display: block; }
.film-view .mumble-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.4rem 2.25rem; padding-bottom: 1.25rem; }
.film-view .mumble-intro .breadcrumb { margin-bottom: .1rem; }
.film-view .mumble-intro h1 { font: 520 clamp(2.75rem, 4.65vw, 5.15rem) / 1.05 var(--display); margin: 0; letter-spacing: -.035em; }
.film-view .mumble-intro h1 span { display: inline-block; white-space: nowrap; color: #d5c1a9; font-size: .45em; font-weight: 400; letter-spacing: -.02em; }
.film-view .mumble-summary { margin-bottom: .2rem; }
.film-links { display: flex; gap: 1.3rem; }
.film-view .recording-section { display: grid; grid-template-columns: minmax(0, 1fr) clamp(210px, 22vw, 326px); gap: .7rem clamp(.8rem, 2vw, 1.8rem); grid-template-areas: "head head" "film chapters" "error chapters"; align-items: start; animation: none; }
.film-view .recording-head { grid-area: head; border-top-color: #8f5e42; min-height: 50px; }
.film-view .recording-head h2 { font-size: 1.2rem; font-weight: 600; }
.film-view .recording-title { min-width: 0; padding-block: .85rem .45rem; }
.film-view .recording-title h2 { margin: 0 0 .65rem; }
.clan-client-example { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; margin: 0; color: #c9b8ac; font-size: .95rem; line-height: 1.5; }
.clan-client-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .6rem; color: #f1d4ad; }
.clan-client-brand img { display: block; width: 48px; height: 24px; object-fit: contain; image-rendering: pixelated; }
.clan-client-brand strong { font-weight: 650; font-size: 1.06rem; }
.film-view .full-film { grid-area: film; margin: 0; }
.film-view #recording-error { grid-area: error; }
.film-media { position: relative; }
.film-view video { max-height: min(64svh, 660px); border: 1px solid #855b49; border-radius: 2px 13px 0 0; }
.film-view video:fullscreen { border-radius: 0; }
.film-start { display: inline-flex; align-items: center; gap: .65rem; min-height: 50px; position: absolute; z-index: 1; inset: auto auto 5rem 1rem; padding: .55rem .86rem; border: 1px solid #e7be99; border-radius: 2px 8px 2px 2px; color: #fff0d8; background: #25171bed; }
.film-start:hover { background: #543229; }
.film-start .film-duration { color: #e8c3a3; font-size: .9rem; }
.film-view .film-progress { background: #2b4142; }
.film-view .film-progress span { background: #a3dacb; }
.film-view .recording-chapters { grid-area: chapters; grid-template-columns: minmax(0, 1fr); gap: 1px; margin: 0; padding: 3px; border: 1px solid #765043; border-radius: 2px 11px 2px 2px; background: #3b292b; }
.film-view .recording-chapters button { align-items: center; min-height: clamp(42px, 4.95svh, 52px); border: 0; border-radius: 2px; color: #efe3d9; background: #21181e; font-size: .93rem; text-wrap: balance; }
.film-view .recording-chapters button span { color: #e4ad7f; }
.film-view .recording-chapters button:hover { background: #3c2a2b; }
.film-view .recording-chapters button[aria-current="true"] { background: #263434; box-shadow: inset 2px 0 #a0e2d3; }
.film-view .recording-chapters button[aria-current="true"] span { color: #b8e8db; }
.film-view .feature-notes { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr); gap: clamp(1.8rem, 5vw, 5.4rem); align-items: start; padding-top: 1.7rem; }
.film-view .feature-notes h2 { padding-top: .28rem; max-width: 12ch; font-size: clamp(2.1rem, 3.3vw, 3.45rem); line-height: 1.06; }
.film-view .feature-list { border-top: 1px solid #744c3a; }
.film-view .feature-notes h2, .interior:not(.film-view) .page-intro h1 { font-family: "Bahnschrift", "Segoe UI", Arial, sans-serif; font-weight: 480; letter-spacing: -.04em; }
.interior:not(.film-view) { --ice: #b0e5d8; --copper: #efae78; --line: #583e38; --muted: #c9b8ac; }
.interior:not(.film-view) .page-intro h1 { font-size: clamp(2.65rem, 4.75vw, 4.75rem); }
.interior:not(.film-view) .product-row h3 { font-family: "Bahnschrift", "Segoe UI", Arial, sans-serif; font-weight: 500; letter-spacing: -.03em; }
.home-view .next-release .product-row { border-top: 1px solid #85573e; gap: 1.75rem; }
.home-view .next-release .product-row h2 { font: 510 clamp(2.15rem, 3.8vw, 3.65rem) / 1.05 var(--display); }
.patch-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.4rem, 4.6vw, 4.75rem); }
.patch-scene { position: relative; overflow: hidden; aspect-ratio: 2.35; border: 1px solid #8f5e47; border-radius: 2px 19px 2px 2px; background: #21171b; }
.patch-scene img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .86; }
.patch-scene figcaption { position: absolute; inset: auto 0 0; padding: .5rem .75rem; color: #ebd6c0; background: #180f15d9; font-size: .85rem; }
.patch-view .patch-filters { margin-block: .8rem 1.5rem; }
.patch-view .product-row { align-items: center; padding-block: 1.3rem; }
.patch-view .product-row:hover { background: #23191d; }
.patch-detail-view .spec-list { max-width: 67rem; border-top: 1px solid #a56e4b; }
.patch-detail-view .spec-list > div { grid-template-columns: minmax(9rem, .3fr) minmax(0, 1fr); }
.tariff-view.frame { width: min(100%, 1320px); --gutter: clamp(2rem, 4.4vw, 3.75rem); }
.tariff-station { display: grid; grid-template-columns: clamp(12.5rem, 19vw, 16rem) minmax(0, 1fr); border: 1px solid #84563f; border-radius: 2px 18px 2px 2px; overflow: hidden; background: #1a1319; }
.tariff-navigation { padding: clamp(1.1rem, 2.3vw, 1.65rem); background: linear-gradient(160deg, #332126, #1a1318); border-right: 1px solid #624339; }
.tariff-navigation .tabs { display: grid; grid-template-columns: 1fr; width: 100%; gap: .27rem; }
.tariff-navigation .tabs button { width: 100%; }
.tariff-navigation .pricing-preview { margin-block: .85rem .1rem; font-size: .92rem; }
.tariff-content { padding-inline: clamp(1.1rem, 2.35vw, 1.9rem); }
.tariff-content [role="tabpanel"] { animation: tariff-appear .29s ease-out both; }
@keyframes tariff-appear { from { opacity: .46; } to { opacity: 1; } }
.tariff-view .rate-lead { padding-block: 1.45rem 1.15rem; border-top: 0; }
.tariff-view .rate-lead h2 { font-size: clamp(1.7rem, 2.65vw, 2.55rem); }
.tariff-view .rate-lead p { max-width: 40ch; }
.tariff-view .rate-action strong { color: #ffd1a4; font-size: clamp(1.9rem, 3.25vw, 3.2rem); font-variant-numeric: tabular-nums; }
.tariff-view .rate-row { grid-template-columns: minmax(0, 1fr) minmax(5rem, auto) minmax(6rem, auto); }
.tariff-view :is(.rate-row, .rate-lead) { transition: background-color .22s ease, box-shadow .22s ease; }
.tariff-view :is(.rate-row, .rate-lead):is(:hover, :focus-within) { background: #2b1c22; box-shadow: inset 2px 0 #bf805d; }
.tariff-view .rate-choice { padding-inline: .6rem; }
.tariff-view .rate-choice strong { color: #ffc99b; font-size: clamp(1.15rem, 1.85vw, 1.55rem); font-variant-numeric: tabular-nums; }
.tariff-view .rate-choice.is-requested { background: #392427; box-shadow: inset 2px 0 #efab78; }
.tariff-view .rate-row:last-child { border-bottom: 0; }
.account-view .account-entry, .account-view #demo-account { max-width: 66rem; border: 1px solid #805740; border-radius: 2px 14px 2px 2px; padding-inline: clamp(1.2rem, 3vw, 2.4rem); background: #21161d; }
.account-view .account-entry { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding-block: 1.45rem; }
.account-view .account-entry p { margin: 0; max-width: 41ch; }
.account-view #demo-account .rate-lead { border-top: 0; }
.account-view #demo-account .rate-row:last-child { border-bottom: 0; }
.missing-view .page-intro { max-width: 56rem; border-top: 1px solid #8f5d42; }
.missing-view .page-intro .button { margin-top: .5rem; }

@media (prefers-reduced-motion: reduce) {
  .demo-frame { clip-path: none; }
  .bolt-sparks { animation: none; }
}
