/* Recursive: Linear untuk prosa, Mono untuk kode, Casual miring untuk catatan. Fraunces untuk judul. */
@font-face { font-family: "Recursive"; font-weight: 300 1000; font-style: oblique 0deg 15deg; font-display: swap; src: url("../fonts/recursive-latin-full-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2"); }

:root {
  --bg: #F4F2F5;
  --panel: #FFFFFF;
  --panel-2: #EBE8EE;
  --ink: #231C27;
  --muted: #625A69;
  --line: #DCD7E0;
  --plum: #714B67;
  --plum-soft: #F1E8EF;
  --teal: #017E84;
  --teal-soft: #DDF0F0;
  --amber: #9A6200;
  --amber-soft: #F6EACF;
  --rose: #B3372B;
  --rose-soft: #F8E1DD;
  --on-accent: #FFFFFF;
  --code-bg: #1E1A22;
  --code-ink: #EAE6EE;
  --code-muted: #9189A0;
  --shadow: 0 18px 40px -18px rgba(35, 28, 39, .35);
  --font: "Recursive", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #151218; --panel: #1E1A22; --panel-2: #29242E; --ink: #EDE9F0; --muted: #A59DAD; --line: #342E3A;
    --plum: #D4A1C9; --plum-soft: #3A2736; --teal: #4CC3C7; --teal-soft: #14343A;
    --amber: #E7B560; --amber-soft: #3A2C12; --rose: #F08A7E; --rose-soft: #40211E;
    --on-accent: #1E1A22; --code-bg: #0F0D12; --code-ink: #EAE6EE; --code-muted: #948CA3;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151218; --panel: #1E1A22; --panel-2: #29242E; --ink: #EDE9F0; --muted: #A59DAD; --line: #342E3A;
  --plum: #D4A1C9; --plum-soft: #3A2736; --teal: #4CC3C7; --teal-soft: #14343A;
  --amber: #E7B560; --amber-soft: #3A2C12; --rose: #F08A7E; --rose-soft: #40211E;
  --on-accent: #1E1A22; --code-bg: #0F0D12; --code-ink: #EAE6EE; --code-muted: #948CA3;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
}

/* Sumbu font diatur lewat custom property supaya elemen anak bisa mengubah satu sumbu saja.
   Sumbu yang tidak dimiliki sebuah font diabaikan: SOFT dan WONK hanya untuk Fraunces. */
*, *::before, *::after {
  box-sizing: border-box;
  font-variation-settings: "MONO" var(--mono, 0), "CASL" var(--casl, 0), "slnt" var(--slnt, 0), "CRSV" var(--crsv, 0.5), "SOFT" 50, "WONK" 0;
}
html, body { height: 100%; }
body {
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
code, kbd, pre, .mono { --mono: 1; --casl: 0; --slnt: 0; font-family: var(--font); }
code { font-size: .92em; }
em { font-style: normal; --slnt: -9; --crsv: 1; }

/* header: tab bagian dengan garis bawah warna bagian */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: flex-end; gap: 8px 32px; flex-wrap: wrap;
  padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(20px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.brand { padding-bottom: 13px; font-family: var(--display); font-size: 20px; font-weight: 680; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.tabs { display: flex; gap: 4px 26px; flex: 1; }
.tab {
  position: relative; border: 0; background: transparent; padding: 0 0 14px;
  font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--tab, var(--ink)); transform: scaleX(0); transition: transform .25s ease;
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); font-weight: 650; }
.tab.on::after { transform: scaleX(1); }
.tab[data-sec="odoo"], .prog i[data-sec="odoo"], .prog i[data-sec="intro"] { --tab: var(--plum); }
.tab[data-sec="docker"], .prog i[data-sec="docker"] { --tab: var(--amber); }
.tab[data-sec="sf101"], .prog i[data-sec="sf101"] { --tab: var(--teal); }
.tab[data-sec="js"], .prog i[data-sec="js"] { --tab: var(--rose); }
.count { padding-bottom: 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .top { gap: 10px 16px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .brand, .count { padding-bottom: 0; }
  .brand { font-size: 17px; }
  .tabs { order: 3; flex: 1 0 100%; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .tab { padding-bottom: 12px; font-size: 13px; }
  .count { margin-left: auto; }
}

/* stage */
#stage { --pad-top: clamp(28px, 5vh, 52px); position: relative; z-index: 1; overflow: auto; padding-block: var(--pad-top) 40px; padding-inline: clamp(20px, 4vw, 56px); }
/* link #scene menggulir scene ke tepi atas; margin ini menjaga jarak yang sama dengan padding */
.scene { scroll-margin-block-start: var(--pad-top); max-width: 1180px; margin: 0 auto; display: grid; gap: 26px; animation: enter .25s ease both; }
@keyframes enter { from { opacity: 0; } }
.scene[data-sec="intro"], .scene[data-sec="odoo"] { --sec: var(--plum); --sec-soft: var(--plum-soft); }
.scene[data-sec="docker"] { --sec: var(--amber); --sec-soft: var(--amber-soft); }
.scene[data-sec="sf101"] { --sec: var(--teal); --sec-soft: var(--teal-soft); }
.scene[data-sec="js"] { --sec: var(--rose); --sec-soft: var(--rose-soft); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 640; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.1; }
h3 { font-size: 17px; line-height: 1.25; letter-spacing: -0.005em; }
.chapter { margin: 0; font-size: 15px; color: var(--muted); }
.chapter b { margin-right: .35em; color: var(--sec); font-weight: 700; }
.lede { margin: 0; max-width: 66ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.head { display: grid; gap: 14px; }

/* langkah build */
[data-s] { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
[data-s].in { opacity: 1; transform: none; }
.stack { display: grid; }
.stack > [data-only] { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.stack > [data-only].in { opacity: 1; visibility: visible; }

/* layout */
.cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split-r { grid-template-columns: .9fr 1.1fr; }
}
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.note { max-width: 70ch; font-size: 14.5px; color: var(--muted); }
.note b, .lede b { color: var(--ink); font-weight: 650; }
body > *, .cols > *, .stack > *, .cards > *, .lab > *, .head, .scene > * { min-width: 0; }
.note code, .ctr-box code, .lede code { overflow-wrap: anywhere; }

/* catatan mentor: tulisan tangan, bukan kotak peringatan */
.remember {
  --casl: 1; --slnt: -9; --crsv: 1;
  margin: 0; max-width: 64ch; padding: 2px 0 2px 16px;
  border-left: 3px solid var(--sec, var(--plum));
  font-size: 18px; line-height: 1.5; color: var(--ink);
}
.remember b { color: var(--sec, var(--plum)); font-weight: 700; }

/* node diagram */
.node {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; transition: border-color .3s, box-shadow .3s;
}
.node.hit { border-color: color-mix(in srgb, var(--sec) 45%, var(--line)); }
.node.now { border-color: var(--sec); box-shadow: 0 0 0 3px var(--sec-soft); }
.node .k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--sec); }
.node h3 { margin-top: 2px; }
.node p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.node code { font-size: 12.5px; }
.pill {
  display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 600;
  background: var(--sec-soft, var(--panel-2)); color: var(--sec, var(--ink)); white-space: nowrap;
}
.pill.plum { background: var(--plum-soft); color: var(--plum); }
.pill.teal { background: var(--teal-soft); color: var(--teal); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.rose { background: var(--rose-soft); color: var(--rose); }

/* penanda jalur request */
.flow { position: relative; }
.tok {
  position: absolute; left: 0; top: 0; z-index: 3; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--sec); box-shadow: 0 0 0 5px var(--sec-soft); pointer-events: none;
  opacity: 0; transition: opacity .3s; animation: glow 1.8s ease-in-out infinite;
}
@keyframes glow { 50% { box-shadow: 0 0 0 9px var(--sec-soft); } }
.tok.on { opacity: .9; }
.has-wires { padding-top: 48px; }
svg.wires { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
svg.wires path { fill: none; stroke: var(--sec); stroke-width: 2; stroke-linecap: round; opacity: .5; }
svg.wires path:last-child { opacity: .95; }
.w { display: inline-block; }

/* kode: --pt dan --lh dipakai juga oleh bar highlight baris */
.file { --mono: 1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
pre.code {
  --pt: 44px; --lh: 1.65;
  position: relative; margin: 0; padding: var(--pt) 18px 16px; overflow-x: auto;
  background: var(--code-bg); color: var(--code-ink); border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); border-radius: 12px;
  font-size: 13px; line-height: var(--lh); tab-size: 4;
}
pre.code code { position: relative; z-index: 1; font: inherit; background: none; padding: 0; }
.hl-bar {
  position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none;
  top: calc(var(--pt) + var(--from) * var(--lh) * 1em); height: calc(var(--n) * var(--lh) * 1em);
  background: rgba(127, 211, 200, .13); border-left: 3px solid #7FD3C8;
  transition: top .35s ease, height .35s ease;
}
.hljs-keyword, .hljs-selector-tag, .hljs-name, .hljs-tag { color: #D8A6CD; }
.hljs-string, .hljs-regexp { color: #A7D8A0; }
.hljs-title, .hljs-title.function_, .hljs-section { color: #7FD3C8; }
.hljs-attr, .hljs-attribute, .hljs-meta, .hljs-variable { color: #E9C47F; }
.hljs-number, .hljs-literal, .hljs-built_in { color: #F2A48E; }
.hljs-comment { --casl: 1; --slnt: -9; --crsv: 1; color: var(--code-muted); }
.hljs-params { color: var(--code-ink); }
.copy-code, .copy-command {
  border: 1px solid color-mix(in srgb, var(--code-ink) 28%, transparent); border-radius: 7px; background: var(--code-bg);
  color: var(--code-ink); font-size: 12px; font-weight: 600; line-height: 1.4; cursor: pointer; padding: 4px 10px;
}
.copy-code { position: absolute; top: 9px; right: 10px; z-index: 2; }
.copy-command { margin-left: 14px; padding-block: 2px; vertical-align: middle; }
.copy-code:hover, .copy-command:hover { border-color: #D8A6CD; color: #D8A6CD; }
.copy-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* terminal */
.term {
  --mono: 1;
  background: var(--code-bg); color: var(--code-ink); border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent);
  border-radius: 12px; padding: 16px 18px; font-size: 13.5px; line-height: 1.7; overflow-x: auto;
}
.term .ln { white-space: pre; min-height: 1.7em; }
.term .p { color: #7FD3C8; user-select: none; }
.term .o { color: var(--code-muted); }
.term .c { --casl: 1; --slnt: -9; --crsv: 1; color: var(--code-muted); }
.term .ok { color: #A7D8A0; }
.cmd.typing::after {
  content: ""; display: inline-block; width: .55em; height: 1.15em; margin-left: 1px; vertical-align: text-bottom;
  background: #7FD3C8; animation: blink .8s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
kbd { --mono: 1; font-size: 12px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; background: var(--panel); color: var(--ink); }

/* intro: tujuh baris Python menjadi form dan tabel */
.hero { display: grid; gap: 32px 40px; align-items: start; padding-block: 4px 8px; }
@media (min-width: 1000px) { .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.hero h1 { font-size: clamp(38px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.02em; }
.hero .lede { max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.start-course { border: 0; border-radius: 12px; padding: 14px 26px; background: var(--plum); color: var(--on-accent); font-size: 16px; font-weight: 650; cursor: pointer; transition: background .2s; }
.start-course:hover { background: color-mix(in srgb, var(--plum) 85%, var(--ink)); }
.resume { display: inline-flex; gap: 8px; align-items: center; padding: 13px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); cursor: pointer; font-weight: 600; transition: border-color .2s; }
.resume:hover { border-color: var(--plum); }
.keys { margin: 0; font-size: 13px; line-height: 2; color: var(--muted); }

.demo { --lh: 1.7; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-code { grid-column: 1 / -1; overflow: hidden; border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); border-radius: 14px; background: var(--code-bg); }
.demo-file {
  --mono: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px 8px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); color: var(--code-muted); font-size: 12.5px;
}
.demo-replay {
  --mono: 0; visibility: hidden; padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--code-ink) 28%, transparent); border-radius: 7px;
  background: none; color: var(--code-ink); font-size: 12px; font-weight: 600; cursor: pointer;
}
.demo[data-state="done"] .demo-replay { visibility: visible; }
.demo-replay:hover { border-color: #D8A6CD; color: #D8A6CD; }
.demo-src { margin: 0; padding: 12px 16px 14px; overflow-x: auto; color: var(--code-ink); font-size: 13px; line-height: var(--lh); }
.demo-src code { display: block; white-space: normal; }
.demo-src .ln { display: block; min-height: calc(var(--lh) * 1em); margin-inline: -8px; padding-inline: 8px; border-radius: 5px; white-space: pre; transition: background .25s; }
.demo-src .ln.lit { background: rgba(127, 211, 200, .16); }
.demo-src .ln.typing::after {
  content: ""; display: inline-block; width: .55em; height: 1.15em; margin-left: 1px; vertical-align: text-bottom;
  background: #7FD3C8; animation: blink .8s steps(1) infinite;
}
.demo-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: 13px; transition: border-color .3s, background .3s; }
.demo-panel.off { border-style: dashed; background: transparent; }
.demo-panel.off > * { visibility: hidden; }
.demo-panel.lit { border-color: var(--teal); }
.demo-bar { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; padding: 8px 12px; background: var(--plum); color: var(--on-accent); }
.demo-bar b { font-weight: 700; }
.demo-bar span { opacity: .85; }
.demo-sheet { display: grid; gap: 2px; padding: 10px; }
.demo-row, .demo-col { border-radius: 6px; transition: opacity .35s ease, transform .35s ease, background .25s; }
.demo-row { display: grid; grid-template-columns: 7.4em minmax(0, 1fr); gap: 8px; align-items: center; padding: 5px 6px; }
.demo-label { color: var(--muted); }
.demo-row[data-field="name"] .demo-label { color: var(--ink); font-weight: 650; }
.demo-input { min-height: 1.6em; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.demo-check { position: relative; width: 16px; height: 16px; min-height: 0; border: 1.5px solid var(--muted); border-radius: 4px; transition: background .2s, border-color .2s; }
.demo-check.on { background: var(--teal); border-color: var(--teal); }
.demo-check.on::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 9px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.demo-save { justify-self: end; margin-top: 8px; padding: 4px 14px; border-radius: 8px; background: var(--plum); color: var(--on-accent); font-size: 12.5px; font-weight: 650; }
.demo-tname { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--panel-2); }
.demo-tname code { font-weight: 600; }
.demo-rows { color: var(--teal); font-size: 12.5px; font-weight: 650; }
.demo-table { padding-bottom: 6px; }
.demo-col { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(4.2em, auto); gap: 8px; align-items: baseline; margin: 2px 4px 0; padding: 4px 4px; }
.demo-col code { overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.demo-col > span { --mono: 1; font-size: 12px; color: var(--muted); }
.demo-col > .demo-cell { text-align: right; color: var(--teal); font-size: 12.5px; }
.demo-cell, .demo-rows { opacity: 0; transition: opacity .4s ease; }
.demo.saved .demo-cell, .demo.saved .demo-rows { opacity: 1; }
.demo-row.off, .demo-col.off { opacity: 0; transform: translateX(-6px); }
.demo-row.lit, .demo-col.lit { background: var(--teal-soft); }
.demo-row.fresh, .demo-col.fresh { animation: fresh 1.1s ease-out; }
.demo-save.fresh { animation: press .45s ease; }
@keyframes fresh { from { background-color: var(--teal-soft); } }
@keyframes press { 35% { transform: scale(.92); } }

/* rute empat bagian: urutan belajar, bukan kartu fitur */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route li { position: relative; min-width: 0; }
/* setiap perhentian punya lintasan sendiri yang terisi sesuai scene yang sudah dibuka */
.route li::after {
  content: ""; position: absolute; top: 15px; left: 46px; right: 14px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--part) calc(var(--done, 0) * 100%), var(--line) 0);
}
.route button { display: grid; justify-items: start; gap: 3px; width: 100%; padding: 0 24px 0 0; border: 0; background: none; text-align: left; cursor: pointer; }
.route [data-sec="odoo"] { --part: var(--plum); }
.route [data-sec="docker"] { --part: var(--amber); }
.route [data-sec="sf101"] { --part: var(--teal); }
.route [data-sec="js"] { --part: var(--rose); }
.route-n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--part); color: var(--on-accent); font-size: 15px; font-weight: 750; }
.route b { font-family: var(--display); font-size: 20px; font-weight: 640; letter-spacing: -0.01em; transition: color .2s; }
.route button:hover b { color: var(--part); }
.route button > span:not(.route-n) { font-size: 14px; color: var(--muted); }
.route button > .route-count { font-size: 13px; }
@media (max-width: 720px) {
  .route { grid-template-columns: 1fr; gap: 18px; }
  .route li::after {
    top: 40px; bottom: -14px; left: 15px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--part) calc(var(--done, 0) * 100%), var(--line) 0);
  }
  .route button { grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; padding: 0; }
  .route-n { grid-row: span 3; margin: 0; }
  .route li:last-child::after { bottom: 0; }
}
@media (max-width: 640px) {
  .hero .lede { font-size: 16px; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-src { font-size: 12px; padding-inline: 12px; }
}

/* tier */
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tier ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.tier.t-web { --sec: var(--plum); --sec-soft: var(--plum-soft); }
.tier.t-py { --sec: var(--amber); --sec-soft: var(--amber-soft); }
.tier.t-db { --sec: var(--teal); --sec-soft: var(--teal-soft); }

/* rantai request */
.chain { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.chain .node h3 { font-size: 15.5px; }
.detail { min-height: 150px; }

/* pohon folder */
.tree { --mono: 1; font-size: 13px; line-height: 1.75; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; overflow-x: auto; white-space: pre; }
.tree .d { color: var(--sec); font-weight: 650; }
.tree .m { --casl: 1; --slnt: -9; --crsv: 1; color: var(--muted); }

/* tabel */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; font-weight: 650; color: var(--muted); background: var(--panel-2); }
tr:last-child td { border-bottom: 0; }
td code { font-size: 12.5px; }
tr[data-s] { transform: none; }

/* mount */
.mounts { display: grid; gap: 10px; }
.mount {
  display: grid; gap: 6px 14px; align-items: center; grid-template-columns: 1fr;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
}
.mhead { display: none; padding: 0 14px; font-size: 13px; font-weight: 650; color: var(--muted); }
@media (min-width: 760px) {
  .mount, .mhead { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) minmax(0, 1.1fr); }
  .mhead { display: grid; gap: 14px; }
}
.mount .host { --mono: 1; font-size: 13px; font-weight: 500; color: var(--amber); overflow-wrap: anywhere; }
.mount .ctr { --mono: 1; font-size: 13px; font-weight: 500; color: var(--plum); overflow-wrap: anywhere; }
.mount .why { font-size: 13.5px; color: var(--muted); }
.wire { height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: wire 1s linear infinite; }
@keyframes wire { to { background-position: 22px 0; } }
@media (max-width: 759px) { .wire { width: 60px; } }
.ports { display: flex; gap: 10px; flex-wrap: wrap; }
.port { display: grid; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.port b { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.port span { font-size: 13px; color: var(--muted); }

/* diagram container */
.box-host { display: grid; gap: 14px; border: 1.5px dashed var(--amber); border-radius: 16px; padding: 16px; }
.box-host > .k { font-size: 13px; font-weight: 650; color: var(--amber); }
.ctrs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ctr-box { display: grid; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.ctr-box h3 { font-size: 16px; }
.layers { display: grid; gap: 4px; }
.layers div { font-size: 13px; padding: 5px 10px; border-radius: 6px; background: var(--panel-2); }
.layers div.top-l { background: var(--plum-soft); color: var(--plum); }

/* pipeline bernomor */
.pipe { display: grid; gap: 8px; }
.pipe .node { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.pipe .num {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--panel-2); color: var(--muted); transition: background .3s, color .3s;
}
.pipe .node.hit .num { background: var(--sec); color: var(--panel); }
.pipe h3 { font-size: 15.5px; }

/* kartu */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { display: grid; gap: 8px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card pre.code { font-size: 12.5px; padding-inline: 14px; }

/* peta chapter */
.road { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.ch {
  position: relative; display: grid; gap: 2px; align-content: start; text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); padding: 11px 13px; transition: opacity .45s ease, transform .45s ease, border-color .2s;
}
.ch:hover { border-color: var(--ph); }
.ch .n { font-size: 13px; font-weight: 700; color: var(--ph); font-variant-numeric: tabular-nums; }
.ch b { font-family: var(--display); font-size: 16.5px; font-weight: 640; }
.ch span { font-size: 13px; color: var(--muted); }
.ch-state { position: absolute; top: 11px; right: 13px; display: flex; gap: 5px; align-items: center; font-size: 12.5px; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.ch.done { border-color: color-mix(in srgb, var(--ph) 55%, var(--line)); background: color-mix(in srgb, var(--ph) 5%, var(--panel)); }
.ch.done .ch-state { color: var(--ph); }
.ch.done .ch-state::before { content: ""; width: 4px; height: 8px; margin: -3px 2px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ph-a { --ph: var(--plum); } .ph-b { --ph: var(--amber); } .ph-c { --ph: var(--teal); } .ph-d { --ph: var(--rose); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.sw-plum { background: var(--plum); } .sw-amber { background: var(--amber); }
.sw-teal { background: var(--teal); } .sw-rose { background: var(--rose); }

/* jendela tiruan Odoo */
.win { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; font-size: 13.5px; }
.win h3 { font-family: var(--font); font-weight: 700; letter-spacing: 0; }
.win-bar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 8px 14px; background: var(--plum); color: var(--on-accent); font-weight: 500; }
.win-bar b { font-weight: 700; }
.win-bar span { opacity: .8; }
.win-body { display: grid; gap: 10px; padding: 12px; }
.win table { font-size: 13px; }
.win th, .win td { padding: 6px 8px; }
.num-r { text-align: right; font-variant-numeric: tabular-nums; }
.fgrid { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.fgrid label { color: var(--muted); font-size: 13px; }
.fval { min-height: 22px; padding: 2px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-variant-numeric: tabular-nums; transition: background .4s; }
.fval.flash { background: var(--teal-soft); }
.searchbar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.facet { padding: 2px 8px; border-radius: 4px; background: var(--teal-soft); color: var(--teal); font-size: 12.5px; font-weight: 600; }
.status { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.status span { padding: 4px 10px; font-size: 12.5px; color: var(--muted); border-right: 1px solid var(--line); transition: background .3s, color .3s; }
.status span:last-child { border-right: 0; }
.status span.now { background: var(--teal); color: var(--panel); }
/* tiruan UI Owl dan dashboard */
.mbtn { display: inline-block; padding: 3px 10px; border-radius: 6px; background: var(--plum); color: var(--on-accent); font-size: 12.5px; font-weight: 600; }
.mcheck { display: inline-block; flex: none; width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 3px; }
.mcheck.on { border-color: var(--plum); background: var(--plum); }
.struck { color: var(--muted); text-decoration: line-through; }
.mpanel { padding: 18px 12px; border-radius: 8px; background: var(--panel-2); color: var(--muted); }
.mdialog { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.dash { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); grid-auto-flow: dense; }
.dash .wide { grid-column: 1 / -1; }
.bignum { font-size: 26px; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
.pie { flex: none; width: 110px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--plum) 0 34%, var(--teal) 0 70%, var(--amber) 0); }
.tagc { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 99px; background: var(--plum-soft); color: var(--plum); font-size: 12px; }

/* relasi */
.rel { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .rel { grid-template-columns: 1fr 1.1fr 1fr; grid-template-areas: "a c b" "d c e"; align-items: center; }
  .rel .r-a { grid-area: a; } .rel .r-b { grid-area: b; } .rel .r-c { grid-area: c; }
  .rel .r-d { grid-area: d; } .rel .r-e { grid-area: e; }
}
.rel .r-c { background: var(--teal-soft); border-color: var(--teal); }
.rel .r-c h3 { font-size: 21px; }
.rel .field { --mono: 1; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.rel .shape { font-size: 13px; color: var(--muted); }

/* state */
.states { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.states .node { padding: 10px 14px; }
.states .arr { color: var(--muted); }
.err, .okb { --mono: 1; border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 500; }
.err { border: 1px solid var(--rose); background: var(--rose-soft); color: var(--rose); }
.okb { border: 1px solid var(--teal); background: var(--teal-soft); color: var(--teal); }

/* gerbang constraint */
.gates { display: grid; gap: 12px; }
.gate { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gate { grid-template-columns: 1.1fr 1fr 1.2fr; align-items: center; } }
.gate .in-v { --mono: 1; font-size: 13px; font-weight: 500; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }

/* lapisan inheritance */
.cake { display: grid; gap: 6px; }
.cake div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-radius: 8px; padding: 10px 14px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.cake div code { color: var(--muted); font-size: 12px; }
.cake .final { background: var(--teal-soft); border-color: var(--teal); font-weight: 650; }

/* kanban */
.kan { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.kcol { display: grid; gap: 8px; align-content: start; background: var(--panel-2); border-radius: 12px; padding: 10px; }
.kcol h3 { display: flex; justify-content: space-between; font-family: var(--font); font-size: 14.5px; font-weight: 700; letter-spacing: 0; }
.kcard { display: grid; gap: 3px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 13px; }
.kcard b { font-size: 14px; }
.kcard .m { color: var(--muted); font-variant-numeric: tabular-nums; }

/* graph dependency + invoice */
.graph { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; }
.graph .node { --mono: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 10px; }
.graph .node.link { background: var(--teal-soft); border-color: var(--teal); }
.graph .full { grid-column: 1 / -1; justify-self: center; min-width: 50%; }
.graph .down { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 12px; }
.inv { display: grid; gap: 6px; }
.inv .line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.inv .line span:last-child { font-variant-numeric: tabular-nums; }
.inv .tot { font-weight: 650; border-bottom: 0; }

/* praktik: tugas, tanda berhasil, dan jalan keluar */
.lab {
  display: grid; gap: 18px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
}
@media (min-width: 900px) { .lab { grid-template-columns: 1.25fr 1fr 1.15fr; } }
.lab-col { display: grid; gap: 8px; align-content: start; font-size: 14.5px; }
.lab-col h4 { margin: 0; display: flex; gap: 7px; align-items: center; font-family: var(--display); font-size: 17px; font-weight: 640; letter-spacing: -0.005em; }
.lab-col:nth-child(1) h4 { color: var(--sec); }
.lab-col:nth-child(2) h4 { color: var(--teal); }
.lab-col:nth-child(3) h4 { color: var(--rose); }
.lab-col ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.lab-col ol:has(.task) { list-style: none; padding-left: 0; gap: 8px; }
.task { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.task-box { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sec); cursor: pointer; }
.task-box:checked { animation: tick .3s ease; }
.task-box:checked + span { color: var(--muted); }
@keyframes tick { 50% { transform: scale(1.25); } }
.lab-col p { margin: 0; }
.lab-col dl { margin: 0; display: grid; gap: 2px; }
.lab-col dt { margin-top: 6px; font-weight: 650; }
.lab-col dt:first-child { margin-top: 0; }
.lab-col dd { margin: 0; color: var(--muted); }
.lab code { font-size: 12.5px; overflow-wrap: anywhere; }

/* glosarium */
dfn { font-style: normal; cursor: help; border-bottom: 1.5px dotted var(--sec, var(--plum)); }
dfn:hover, dfn:focus-visible { background: var(--sec-soft, var(--plum-soft)); }
.pop {
  position: fixed; z-index: 30; max-width: min(340px, calc(100vw - 32px)); padding: 12px 14px;
  background: var(--ink); color: var(--bg); border-radius: 12px; font-size: 14px; line-height: 1.5; box-shadow: var(--shadow);
}
.pop b { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 16px; font-weight: 640; }
/* selebrasi: busur pelangi digambar satu per satu, lalu pudar */
.cheer {
  position: fixed; left: 50%; bottom: calc(var(--footer, 80px) + 16px); z-index: 25;
  display: grid; justify-items: center; gap: 2px; padding: 16px 28px 14px; transform: translateX(-50%);
  border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow);
  text-align: center; pointer-events: none; transition: opacity .3s ease;
}
.cheer svg { width: 96px; height: 52px; margin-bottom: 4px; overflow: visible; }
.cheer path { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cheer .a1 { stroke: var(--rose); } .cheer .a2 { stroke: var(--amber); } .cheer .a3 { stroke: var(--teal); } .cheer .a4 { stroke: var(--plum); }
.cheer b { font-family: var(--display); font-size: 22px; font-weight: 640; }
.cheer span { font-size: 14px; color: var(--muted); }
.cheer.go { animation: cheer-in .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.cheer.go path { animation: draw .7s ease-out both; }
.cheer.go .a2 { animation-delay: .1s; } .cheer.go .a3 { animation-delay: .2s; } .cheer.go .a4 { animation-delay: .3s; }
.cheer.out { opacity: 0; }
@keyframes cheer-in { from { opacity: 0; transform: translateX(-50%) translateY(14px) scale(.92); } }
@keyframes draw { from { stroke-dashoffset: 1; } }

.gloss { display: grid; gap: 10px; }
.gloss h3 { display: flex; gap: 8px; align-items: center; font-size: 16px; }
.gloss dl { margin: 0; display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.gloss dl div { display: grid; gap: 2px; }
.gloss dt { font-weight: 650; }
.gloss dd { margin: 0; font-size: 14px; color: var(--muted); }

/* kuis */
.quiz { display: grid; gap: 16px; max-width: 860px; }
.q { display: grid; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.q h3 { font-family: var(--font); font-size: 16.5px; font-weight: 650; letter-spacing: 0; line-height: 1.45; text-wrap: pretty; }
.opts { display: grid; gap: 8px; }
.opt {
  text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--bg);
  border-radius: 10px; padding: 11px 14px; font-size: 15px; transition: border-color .2s, background .2s;
}
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt:disabled { cursor: default; }
.opt.right { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.opt.wrong { border-color: var(--rose); background: var(--rose-soft); color: var(--ink); }
.q .why { margin: 0; padding-left: 12px; border-left: 3px solid var(--sec); font-size: 14.5px; color: var(--muted); }
.score { margin: 0; font-size: 14px; color: var(--muted); }

/* kontrol bawah: segmen progres berwarna per bagian */
.ctl {
  position: relative; z-index: 5; display: grid; gap: 10px;
  padding: 10px clamp(20px, 4vw, 56px) calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); background: var(--bg);
}
.prog { display: flex; gap: 3px; height: 5px; }
.prog i { flex: 1; position: relative; overflow: hidden; cursor: pointer; border-radius: 3px; background: var(--line); }
.prog i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p, 0) * 100%); background: var(--tab, var(--plum)); transition: width .35s ease; }
.btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 12px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 10px; cursor: pointer; font-size: 14px;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn.play { min-width: 96px; background: var(--ink); color: var(--bg); border-color: var(--ink); }
#b-auto[aria-pressed="true"] { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.cap { max-width: 46ch; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .cap { display: none; }
  .btns { gap: 5px; }
  .btn { padding-inline: 9px; }
  .ctl { padding-inline: 12px; }
}

/* ikhtisar */
.ov { position: fixed; inset: 0; z-index: 20; overflow: auto; padding: calc(24px + env(safe-area-inset-top, 0px)) 20px 24px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); }
.ov-in { max-width: 1000px; margin: 0 auto; display: grid; gap: 22px; }
.ov-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ov-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ov-grid h3 { margin-bottom: 6px; font-size: 16px; }
.ov-grid button { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14.5px; }
.ov-grid button:hover, .ov-grid button.on { background: var(--panel); }
.ov-grid button span { min-width: 22px; padding-top: 1px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ov-grid button .seen { margin-left: auto; color: var(--teal); }

/* ikon */
[data-icon] { display: inline-flex; flex: none; width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
[data-icon] svg { width: 100%; height: 100%; }

/* resep siap salin */
.copy-fallback { width: min(720px, calc(100% - 32px)); max-height: 85vh; overflow: auto; padding: 24px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.copy-fallback::backdrop { background: #151218AA; backdrop-filter: blur(4px); }
.copy-fallback p { color: var(--muted); }
.copy-fallback textarea { --mono: 1; display: block; width: 100%; height: 260px; margin-block: 16px; padding: 12px; resize: vertical; background: var(--code-bg); color: var(--code-ink); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; line-height: 1.6; }
.recipe-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.recipe-links a { text-decoration: none; color: var(--ink); }
.recipe-list { display: grid; gap: 12px; }
.recipe { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.recipe summary { padding: 18px 20px; cursor: pointer; font-weight: 650; }
.recipe[open] summary { border-bottom: 1px solid var(--line); }
.recipe-body { display: grid; gap: 14px; min-width: 0; padding: 20px; }
.recipe-body p { margin: 0; color: var(--muted); }
.recipe-body pre.code { min-width: 0; max-width: 100%; }
.recipe-number { display: inline-block; margin-inline: 8px 12px; color: var(--amber); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.recipe-number [data-icon] { color: var(--teal); }
.recipe-body a, .recipe-sources a { color: var(--plum); }
@media (max-width: 640px) {
  .recipe-body { padding: 12px; }
  .recipe summary { padding: 16px 12px; }
}

/* kartu file dari files/: perintah aman (tidak menimpa) dan unduhan */
.filecard { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--code-bg); }
.fc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.fc-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); }
.fc-name code { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.fc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.fc-btn { height: 32px; font-size: 13px; }
.filecard pre.code { max-height: 340px; overflow: auto; border: 0; border-radius: 0; }

/* progres centang di daftar resep */
.ck-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.ck-bar { flex: 1 1 160px; height: 6px; overflow: hidden; border-radius: 99px; background: var(--line); }
.ck-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--teal); transition: width .35s ease; }
.ck-progress.complete .ck-count { color: var(--teal); }
.btn.ck-reset { height: 30px; font-size: 13px; }
.ck-box { width: 18px; height: 18px; margin: 0 4px 0 0; vertical-align: -3px; accent-color: var(--teal); cursor: pointer; }
.recipe.is-done > summary { color: var(--muted); }
.recipe.is-done > summary .recipe-number { color: var(--teal); }
.expect { padding-left: 12px; border-left: 3px solid var(--teal); }
.expect b { color: var(--ink); }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--plum); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* panggung 3D: di belakang konten, memudar ke arah kolom teks */
#stage3d {
  position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  opacity: 0; transition: opacity .8s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 44%, #000 70%), linear-gradient(180deg, #000 36%, transparent 66%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 44%, #000 70%), linear-gradient(180deg, #000 36%, transparent 66%);
  mask-composite: intersect;
}
.has-3d #stage3d { opacity: 1; }
.has-3d[data-part="content"] #stage3d { opacity: .28; }
[data-part="intro"] #stage3d { opacity: 0; }
@media (max-width: 759px) { #stage3d { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
