@font-face {
  font-family: "Geologica";
  src: url("assets/fonts/geologica.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Display";
  src: url("assets/fonts/noto-sans-display.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #F6F6FB;
  --paper-2: #EDEDF7;
  --card: #FFFFFF;
  --ink: #25243D;
  --ink-2: #55547A;
  --ink-3: #85849F;
  --line: #DCDBEE;
  --violet: #706FA6;
  --violet-deep: #3A3786;
  --lavender: #E1E3F8;
  --orange: #FF9D00;
  --orange-hover: #FFB02E;
  --night: #22232B;
  --night-2: #2B2C35;
  --night-3: #33343F;
  --night-line: #444553;
  --night-ink: #ECECF4;
  --night-ink-2: #ABABC0;

  --display: "Noto Sans Display", "Geologica", system-ui, sans-serif;
  --body: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 10px;
  --wrap: 1160px;
  --night-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M23 0v46M0 23h46' stroke='%23fff' stroke-opacity='.045' stroke-dasharray='4 4'/%3E%3Cpath d='M23 18v10M18 23h10' stroke='%23fff' stroke-opacity='.14' stroke-width='1.4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--violet-deep); }
a:hover { color: var(--violet); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }

code {
  font-family: var(--mono);
  font-size: .86em;
  padding: .08em .35em;
  border-radius: 4px;
  background: var(--lavender);
  color: var(--violet-deep);
}

h1, h2 {
  font-family: var(--display);
  font-stretch: 78%;
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.2vw, 46px); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 36px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 0 0 8px; }
p { margin: 0 0 12px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 6px;
}
.skip:focus { top: 12px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet);
}
.dots {
  flex: none; width: 34px; height: 4px;
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px);
}
.eyebrow::after {
  content: ""; flex: 0 1 120px; height: 1px; background: currentColor; opacity: .45;
}

.btn {
  --cut: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 0;
  background: var(--orange);
  color: #20192B;
  font: 600 16px/1.2 var(--body);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--orange-hover); color: #20192B; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--violet-deep);
  box-shadow: inset 0 0 0 1.5px var(--violet);
  clip-path: none;
  border-radius: 2px;
}
.btn-ghost:hover { background: var(--lavender); color: var(--violet-deep); }
.btn-small { --cut: 8px; padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

a[aria-disabled="true"] { pointer-events: none; opacity: .55; }
.soon { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }

.section { position: relative; padding: 104px 0; }
.section-tint { background: var(--paper-2); }
.section-lead { max-width: 640px; color: var(--ink-2); margin: -16px 0 40px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.nav-logo { flex: none; }
.nav-logo img { display: block; width: 122px; height: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 15px;
}
.nav-links a:hover { color: var(--violet-deep); }

.hero {
  position: relative; overflow: hidden; padding: 72px 0 112px;
  min-height: calc(100vh - 65px); min-height: calc(100svh - 65px);
  display: flex; flex-direction: column; justify-content: center;
}
.halftone {
  position: absolute; inset: -10% -5% 0;
  background-image: radial-gradient(circle, #B4B2DA 1.15px, transparent 1.7px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(70% 62% at 78% 34%, #000 0%, rgba(0,0,0,.35) 45%, transparent 72%),
                      radial-gradient(48% 40% at 8% 96%, rgba(0,0,0,.5), transparent 70%);
          mask-image: radial-gradient(70% 62% at 78% 34%, #000 0%, rgba(0,0,0,.35) 45%, transparent 72%),
                      radial-gradient(48% 40% at 8% 96%, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center;
}
.hero-mark { width: 200px; height: auto; margin: 0 0 18px; }
.hero h1 { margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-family: var(--mono); font-size: 13px; color: var(--ink-3);
}
.hero-meta span { color: var(--line); }

.hero-cards { position: relative; height: 470px; }
.mini-card {
  position: absolute; margin: 0; width: 250px;
  padding: 10px 10px 14px;
  background: var(--card);
  border-top: 4px solid var(--accent);
  box-shadow: 0 18px 40px -18px rgba(58, 55, 134, .35), 0 2px 6px rgba(37, 36, 61, .08);
  border-radius: 4px;
}
.mini-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.mini-card figcaption { display: grid; gap: 2px; padding: 12px 4px 0; }
.mini-card b {
  font-family: var(--display); font-stretch: 75%; font-size: 24px; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em;
}
.mini-card span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.mini-card-1 { left: 22%; top: 60px; transform: rotate(-3deg); z-index: 3; }
.mini-card-2 { left: 48%; top: 0; transform: rotate(6deg); z-index: 2; }
.mini-card-3 { left: 0; top: 18px; transform: rotate(-11deg); z-index: 1; }
.js .hero-cards .mini-card { opacity: 0; }
.hero-cards.is-live .mini-card { left: 0; right: auto; top: 0; transform: none; will-change: transform, opacity; }

.stripes { position: absolute; width: 96px; height: 22px; }
.stripes::before {
  content: ""; position: absolute; inset: 0; background: var(--violet);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M12 0h5L5 22H0zM25 0h5L18 22H13zM38 0h5L31 22H26zM51 0h5L44 22H39zM64 0h5L57 22H52zM77 0h5L70 22H65zM90 0h5L83 22H78z'/%3E%3C/svg%3E") no-repeat 0 0 / 96px 22px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M12 0h5L5 22H0zM25 0h5L18 22H13zM38 0h5L31 22H26zM51 0h5L44 22H39zM64 0h5L57 22H52zM77 0h5L70 22H65zM90 0h5L83 22H78z'/%3E%3C/svg%3E") no-repeat 0 0 / 96px 22px;
}
.stripes::after {
  content: ""; position: absolute; top: 0; height: 2px; width: 38vw; background: var(--violet);
}
.stripes-left { left: max(16px, 50% - 600px); top: 22px; }
.stripes-left::after { left: 104px; }
.stripes-right { right: max(16px, 50% - 600px); bottom: 26px; }
.stripes-right::after { right: 104px; top: auto; bottom: 0; }

.why { padding-top: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.why-item {
  grid-column: span 2;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why-item h3 { margin: 0 0 4px; padding-right: 64px; font-size: 22px; line-height: 1.25; }
.why-item h3 .nowrap { white-space: nowrap; }
.why-item > p:not([class]) { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.why-num {
  position: absolute; top: 8px; right: 18px;
  font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 56px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--violet); opacity: .45;
}

.why-cast {
  grid-column: span 4;
  background-color: var(--night); background-image: var(--night-grid);
  border-color: var(--night); color: var(--night-ink);
}
.why-cast h3 { color: #fff; }
.why-cast > p:not([class]) { color: var(--night-ink-2); max-width: 540px; }
.why-cast .why-num { -webkit-text-stroke-color: var(--orange); opacity: .85; }
a.why-cast { text-decoration: none; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
a.why-cast:hover { background-color: var(--night-2); border-color: var(--night-2); color: var(--night-ink); transform: translateY(-2px); }
.why-cast-wrap { margin-top: auto; padding-top: 14px; pointer-events: none; user-select: none; }
.why-cast-row { display: flex; align-items: center; }
.why-cast-row img, .why-cast-more {
  flex: none; width: 78px; height: 78px; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--night);
}
.why-cast-row img {
  object-fit: cover; object-position: 50% 18%;
  border: 3px solid var(--accent); background: var(--night-2);
}
.why-cast-row > * + * { margin-left: -14px; }
.why-cast-more {
  display: grid; place-items: center;
  background: var(--night-3); color: var(--orange);
  font: 700 24px/1 var(--display); font-stretch: 75%;
}
.why-cast-note {
  margin: 12px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--night-ink-2);
}

.why-story { background: var(--lavender); border-color: transparent; }
.why-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: auto; padding-top: 22px; }
.why-levels span {
  position: relative; display: grid; place-items: center; height: 34px; border-radius: 6px;
  background: rgba(255, 255, 255, .7); color: var(--ink-3);
  font: 600 13px/1 var(--mono);
}
.why-levels .is-on { background: var(--violet); color: #fff; }
.why-levels .is-now { background: var(--orange); color: #20192B; }
.why-levels .is-now::after {
  content: "\2665"; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  color: var(--orange); font-size: 15px;
  animation: why-beat 1.4s ease-in-out infinite;
}
@keyframes why-beat { 0%, 100% { transform: translateX(-50%) scale(1); } 30% { transform: translateX(-50%) scale(1.25); } }
.why-caption { margin: 6px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }

.why-home { width: 112px; height: 80px; margin-top: auto; color: var(--violet); }
.why-nots { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0 0; }
.why-nots li {
  padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-3); font-size: 14px;
  text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px;
}

.why-quote {
  align-self: flex-start; max-width: 100%;
  margin: auto 0 0; padding: 10px 14px;
  border-radius: 10px; border-bottom-left-radius: 2px;
  background: var(--night); color: var(--night-ink); font-size: 15px; line-height: 1.45;
}
.why-quote b {
  display: block; margin-bottom: 2px;
  font: 400 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
}

.why-cta {
  --cut: 18px;
  background: var(--orange); border: 0; color: #20192B; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .15s ease, transform .15s ease;
}
.why-cta:hover { background: var(--orange-hover); color: #20192B; transform: translateY(-2px); }
.why-cta h3 { color: #20192B; }
.why-cta > p:not([class]) { color: rgba(32, 25, 43, .78); }
.why-cta .why-num { -webkit-text-stroke-color: #20192B; opacity: .35; }
.why-steps { display: grid; gap: 8px; list-style: none; margin: auto 0 0; padding: 14px 0 0; counter-reset: why-step; }
.why-steps li { counter-increment: why-step; display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; }
.why-steps li::before {
  content: counter(why-step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #20192B; color: var(--orange); font: 700 12px/1 var(--mono);
}

@media (prefers-reduced-motion: reduce) { .why-levels .is-now::after { animation: none; } }

.features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.feature {
  position: relative;
  padding: 28px 28px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 0;
  background: var(--orange);
}
.feature > p:not([class]), .feature-text p:not([class]) { color: var(--ink-2); font-size: 16px; }
.feature-wide {
  grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center;
}
.feature-wide .feature-text p { margin: 0; }

.chat {
  display: grid; gap: 10px;
  padding: 20px;
  background: var(--night);
  border-radius: 8px;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.4px);
  background-size: 8px 8px;
}
.bubble { margin: 0; max-width: 88%; padding: 10px 14px; font-size: 15px; line-height: 1.5; border-radius: 10px; }
.bubble-user { justify-self: end; background: var(--violet); color: #fff; border-bottom-right-radius: 2px; }
.bubble-maid { justify-self: start; background: var(--night-3); color: var(--night-ink); border-bottom-left-radius: 2px; }
.bubble-maid i {
  padding: 0 6px; border-radius: 4px;
  background: rgba(255, 255, 255, .08); color: #CFCBDF;
}
.chat-note { margin: 0 0 4px; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: #8C8CA3; }
.bubble-maid b {
  display: block; margin-bottom: 2px;
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange);
}

.rings { display: flex; gap: 14px; margin-top: 18px; }
.ring { flex: 1; display: grid; justify-items: center; gap: 6px; }
.ring svg { width: 100%; max-width: 76px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--lavender); stroke-width: 6; }
.ring .ring-value {
  stroke: var(--violet); stroke-linecap: round;
  stroke-dasharray: var(--p) 100;
}
.ring span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

.toast {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding: 12px 14px;
  background: #FBFBFE;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px -14px rgba(37, 36, 61, .4);
}
.toast img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.toast b { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.toast span { font-size: 15px; }

.outfits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.outfits figure { margin: 0; }
.outfits img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.outfits figcaption { margin-top: 6px; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.feature-wardrobe { grid-template-columns: .8fr 1.2fr; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.chips li {
  padding: 5px 11px; border-radius: 999px;
  background: var(--lavender); color: var(--violet-deep); font-size: 13px;
}

.traits { display: grid; gap: 12px; margin-top: 20px; }
.trait {
  display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
}
.trait span:last-child { text-align: right; }
.trait i { position: relative; height: 4px; border-radius: 2px; background: var(--lavender); }
.trait i::before {
  content: ""; position: absolute; top: 0; bottom: 0; border-radius: 2px;
  left: calc(var(--from) * 1%); width: calc((var(--to) - var(--from)) * 1%);
  background: linear-gradient(90deg, transparent, var(--violet));
}
.trait i::after {
  content: ""; position: absolute; top: 50%; left: calc(var(--to) * 1%);
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 3px var(--card);
}

.unlocks { display: grid; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.unlocks li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border: 1px dashed var(--line); border-radius: 8px;
  font-size: 14px; color: var(--ink-3);
}
.unlocks small { margin-left: auto; font-family: var(--mono); font-size: 11px; }
.unlocks .is-open { border: 1px solid var(--orange); color: var(--ink); }
.unlocks .is-open small { color: var(--orange); }
.lock { flex: none; width: 14px; height: 14px; }
.lock rect { fill: currentColor; }
.lock path { fill: none; stroke: currentColor; stroke-width: 1.6; }

.pat { display: grid; justify-items: center; gap: 12px; margin-top: 18px; }
.pat-photo { position: relative; width: 150px; }
.pat-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.pat-hand {
  position: absolute; left: 50%; top: 2px; width: 40px; height: 40px; margin-left: -20px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--violet-deep);
  box-shadow: 0 6px 14px -6px rgba(37, 36, 61, .6);
  animation: pat 1.6s ease-in-out infinite;
}
.pat-hand svg { width: 24px; height: 24px; }
@keyframes pat { 0%, 100% { transform: translate(-6px, 0) rotate(-8deg); } 50% { transform: translate(6px, 4px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .pat-hand { animation: none; } }
.pat-chip {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 6px 12px; border-radius: 999px;
  background: var(--violet); color: #fff; font-size: 14px;
}
.pat-chip svg { width: 16px; height: 16px; flex: none; }

#game .feature {
  --tone: var(--violet);
  isolation: isolate; overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--tone) 10%, transparent), transparent 70%), var(--card);
}
#game .feature::after {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 170px; height: 130px;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--tone) 55%, transparent) 1.2px, transparent 1.7px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
#game .feature h3::before { display: none; }
.g-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--tone) 82%, #1d1b33);
}
.g-tag::before { content: ""; width: 7px; height: 7px; background: var(--tone); transform: rotate(45deg); }
.g-caption { margin: 8px 0 0; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.g-memory { align-items: stretch; }
.g-memory .feature-text { display: flex; flex-direction: column; }
.mem-past { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; }
.mem-past .bubble { max-width: 92%; }
.mem-day { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mem-day-dark { color: #8C8CA3; margin-bottom: 2px; }

.mem-hint { justify-self: end; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.mem-hint b { color: var(--orange); }
.diary {
  position: relative; display: grid; gap: 7px; margin-top: 14px; padding: 12px 14px 14px;
  background: var(--paper); border: 1px dashed color-mix(in srgb, var(--tone) 45%, var(--line)); border-radius: 8px;
}
.diary-head { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.diary i { display: block; width: var(--w); height: 8px; border-radius: 4px; background: #C9C8DE; filter: blur(2px); }
.diary-lock {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px; background: var(--tone); color: #fff; font-size: 12.5px; font-weight: 600;
}
.diary-lock svg { width: 13px; height: 13px; }
.diary-lock rect { fill: currentColor; }
.diary-lock path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.stat-bars { display: grid; gap: 14px; margin-top: 20px; }
.stat { display: grid; grid-template-columns: 82px 1fr 30px; align-items: center; gap: 10px; }
.stat span { font-size: 14px; color: var(--ink-2); }
.stat i { position: relative; height: 8px; border-radius: 4px; background: var(--lavender); overflow: hidden; }
.stat i::before, .stat i::after { content: ""; position: absolute; top: 0; bottom: 0; }
.stat i::before { left: 0; width: calc(var(--v) * 1%); background: var(--violet); }
.stat i::after { left: calc(var(--v) * 1%); width: calc(var(--d) * 1%); background: var(--orange); }
.stat b { font: 700 13px/1 var(--mono); color: #C77700; text-align: right; }
.addr { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-weight: 600; }
.addr span { padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-3); }
.addr .is-new { background: var(--orange); color: #20192B; }
.addr svg { width: 26px; height: 13px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.date {
  display: grid; justify-items: center; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 16px -12px rgba(37, 36, 61, .45);
}
.date span {
  justify-self: stretch; padding: 4px 0; text-align: center;
  background: var(--tone); color: #fff;
  font: 600 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.date b { padding: 6px 0 0; font: 700 30px/1 var(--display); font-stretch: 75%; color: var(--ink); }
.date em { padding: 2px 6px 9px; font-style: normal; font-size: 12.5px; line-height: 1.25; text-align: center; color: var(--ink-2); }

.desk { margin-top: 18px; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 26px -18px rgba(37, 36, 61, .7); }
.desk-screen {
  position: relative; height: 120px; padding: 12px;
  display: flex; align-items: flex-end; justify-content: flex-end;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .16) 1px, transparent 1.5px) 0 0 / 8px 8px,
    linear-gradient(135deg, #3A3786 0%, #706FA6 55%, #C98A3C 120%);
}
.desk-screen .toast { margin: 0; width: min(100%, 250px); }
.desk-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #1E1F27; }
.desk-bar i { width: 12px; height: 12px; border-radius: 3px; background: #3B3C48; }
.desk-bar i:first-child { background: var(--violet); }
.desk-bar span { margin-left: auto; font: 500 11px/1 var(--mono); color: #ABABC0; }

.feature-full { grid-column: 1 / -1; }
.g-adapt { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; gap: 34px; }
.adapt-text { display: flex; flex-direction: column; }
.adapt-text > p:not([class]) { margin: 0; color: var(--ink-2); font-size: 16px; }
.same { margin-top: auto; padding-top: 22px; }
.same-scale { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; }
.same-scale i {
  grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 55%, #fff) 62%, color-mix(in srgb, var(--tone) 16%, var(--paper-2)) 62%);
}
.same-scale i::after {
  content: ""; position: absolute; top: 50%; left: 62%;
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 2px var(--card);
}
.same-scale b {
  position: absolute; left: 62%; bottom: 10px; transform: translateX(-50%);
  font: 700 11px/1 var(--mono); color: #C77700;
}
.same .g-caption { margin: 12px 0 8px; }
.same-list { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.same-list li {
  display: grid; grid-template-columns: 26px 64px minmax(0, 1fr); column-gap: 10px; align-items: center;
  padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
}
.same-list img {
  width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%; border: 2px solid var(--accent);
}
.same-list b { font-size: 13.5px; line-height: 1.2; color: var(--ink); }
.same-list span { font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }

.adapt-cap { margin: 0 0 8px !important; }
.adapt-switch { display: flex; gap: 3px; padding: 3px; margin-bottom: 16px; border-radius: 12px; background: var(--paper-2); }
.adapt-switch button {
  flex: 1 1 0; padding: 6px 6px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; white-space: nowrap;
  font: 600 12.5px/1.2 var(--body); color: var(--ink-3); transition: background .3s ease, color .3s ease;
}
.adapt-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 6px -3px rgba(37, 36, 61, .45); }
.abars { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.abar { --v: var(--v0); display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; }
.abar-name { grid-column: 1 / -1; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.abar i {
  grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px;
  background: color-mix(in srgb, var(--tone) 16%, var(--paper-2));
}
.abar i::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px;
  width: calc(var(--v) * 1%); background: color-mix(in srgb, var(--tone) 55%, #fff);
  transition: width 1.1s cubic-bezier(.22, .8, .24, 1);
}
.abar i::after {
  content: ""; position: absolute; top: 50%; left: calc(var(--v) * 1%);
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 2px var(--card);
  transition: left 1.1s cubic-bezier(.22, .8, .24, 1);
}
.abar-lo, .abar-hi { font-size: 11.5px; color: var(--ink-3); }
.abar-hi { text-align: right; }
.abar em {
  position: absolute; top: 50%; left: calc(var(--v0) * 1%);
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  border: 2px solid var(--ink-3); background: var(--card);
}
.adapt.is-p1 .abar { --v: var(--v1); }
.adapt.is-p2 .abar { --v: var(--v2); }
.adapt.is-p3 .abar { --v: var(--v3); }
.abar-key { display: inline-block; width: 9px; height: 9px; margin-right: 8px; vertical-align: -1px; border-radius: 50%; border: 2px solid var(--ink-3); }

.trait-card {
  --c: #2E8B74;
  display: grid; gap: 4px; align-content: start; padding: 11px 14px 12px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 8px;
  box-shadow: 0 10px 20px -16px rgba(37, 36, 61, .5);
}
.trait-card.is-vuln { --c: #C4452F; }
.trait-card small { font: 600 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.tc-say {
  justify-self: start; margin: 2px 0 4px; padding: 6px 11px;
  border-radius: 9px; border-bottom-right-radius: 2px;
  background: var(--violet); color: #fff; font-size: 13.5px; line-height: 1.35;
}
.trait-card b { font-size: 15px; line-height: 1.3; color: var(--ink); }
.trait-card span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.trait-card em {
  justify-self: start; margin-top: 3px; padding: 2px 8px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-3); font: 500 10.5px/1.4 var(--mono); font-style: normal;
  letter-spacing: .06em; text-transform: uppercase;
}
.g-trace .vcar { margin-top: 16px; }

.vcar-track { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.vcar-scale { display: none; }
.vcar.is-live { --pad: 10px; --gap: 10px; --visible: 1; }
.vcar.is-live .vcar-track {
  display: block; position: relative; overflow: hidden;
  height: calc(var(--visible) * var(--item-h, 120px) + (var(--visible) - 1) * var(--gap) + 2 * var(--pad));
  -webkit-mask-image: linear-gradient(transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
          mask-image: linear-gradient(transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
}
.vcar.is-live .vcar-item {
  position: absolute; left: 2px; right: 2px; top: var(--pad); min-height: var(--item-h, 120px);
  transform: translateY(calc(var(--slot, 0) * (var(--item-h, 120px) + var(--gap))));
  opacity: 0; pointer-events: none;
  transition: transform .9s cubic-bezier(.22, .8, .24, 1), opacity .7s ease;
}
.vcar.is-live .vcar-item.is-shown { opacity: 1; pointer-events: auto; }
.vcar.is-measuring .vcar-track { height: auto; -webkit-mask-image: none; mask-image: none; }
.vcar.is-measuring .vcar-item { position: static; min-height: 0; transform: none; transition: none; opacity: 1; }
.vcar.is-live .vcar-scale {
  display: block; margin-top: 2px; padding: 12px 9px;
  cursor: pointer; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.vcar-scale:focus-visible { outline: 2px solid var(--orange); outline-offset: 0; border-radius: 6px; }
.vcar-rail { position: relative; height: 18px; }
.vcar-rail::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  border-radius: 1px; background: var(--line);
}
.vcar-tick {
  position: absolute; top: 50%; left: calc(var(--x) * 100%);
  width: 2px; height: 10px; margin: -5px 0 0 -1px; border-radius: 1px;
  background: var(--c); opacity: .45; transition: opacity .3s ease;
}
.vcar-scale:hover .vcar-tick { opacity: .8; }
.vcar-scale .vcar-tick.is-active { opacity: 0; }
.vcar-timer {
  position: absolute; top: 50%; height: 2px; margin-top: -1px;
  left: calc(var(--at, 0) * 100%); width: calc(100% / (var(--n, 2) - 1));
  background: var(--c); transform-origin: left; transform: scaleX(0);
}
.vcar-timer.is-run { animation: vcar-fill var(--vcar-interval, 6000ms) linear forwards; }
.vcar.is-paused .vcar-timer { animation-play-state: paused; }
.vcar.is-static .vcar-timer, .vcar-scale.is-last .vcar-timer { display: none; }
@keyframes vcar-fill { to { transform: scaleX(1); } }
.vcar-thumb {
  position: absolute; top: 50%; left: calc(var(--at, 0) * 100%);
  width: 10px; height: 18px; margin: -9px 0 0 -5px; border-radius: 5px;
  background: #fff; border: 2px solid var(--c); box-shadow: 0 2px 6px -2px rgba(37, 36, 61, .4);
  transition: left .45s cubic-bezier(.22, .8, .24, 1), border-color .3s ease, transform .2s ease;
}
.vcar-scale:hover .vcar-thumb { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .vcar.is-live .vcar-item, .abar i::before, .abar i::after { transition: none; }
}
.feature-full.feature-wardrobe { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); }

.mood { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; align-items: center; margin-top: 18px; }
.g-mood { container-type: inline-size; }
@container (max-width: 312px) {
  .mood { grid-template-columns: minmax(0, 1fr); }
  .mood-portrait { width: min(100%, 200px); margin: 0 auto; }
  .mood-say { display: flex; flex-wrap: wrap; }
}
.mood-portrait { display: grid; justify-items: center; gap: 10px; }
.mood-photo {
  position: relative; width: 100%; aspect-ratio: 1; margin: 0;
  border-radius: 14px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 16px 28px -20px rgba(37, 36, 61, .6);
}
.mood-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.mood-photo img.is-on { opacity: 1; }
.mood-label {
  padding: 5px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--tone) 14%, #fff); color: color-mix(in srgb, var(--tone) 80%, #1d1b33);
  font: 600 13px/1.2 var(--body);
}
.mood-label.is-pop { animation: mood-pop .4s ease; }
@keyframes mood-pop { 0% { transform: scale(.85); opacity: .3; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
.mood .g-caption { margin: 0 0 6px; }
.mood-say { display: grid; justify-items: start; gap: 5px; }
.mood-say button { padding: 4px 9px; font-size: 12px; text-align: left; white-space: nowrap; }
.mood-say button, .photo-ask button {
  padding: 5px 11px; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  background: var(--lavender); color: var(--violet-deep); font: 500 13px/1.3 var(--body);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.mood-say button:hover, .photo-ask button:hover { border-color: var(--violet); }
.mood-say button[aria-pressed="true"], .photo-ask button[aria-pressed="true"] { background: var(--violet); color: #fff; }

.g-photo { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; }
.photo-ask { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.g-photo .g-caption { margin-top: 12px; padding-top: 10px; }
.photo-chat {
  display: grid; gap: 10px; align-content: start; min-height: 330px; padding: 18px;
  border-radius: 10px; background: var(--night);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1.4px); background-size: 8px 8px;
}
.photo-chat .bubble-user { min-height: calc(2 * 1.5em + 20px); display: flex; align-items: center; transition: opacity .3s ease; }
.photo-chat .bubble-user.is-fade { opacity: 0; }
.photo-msg {
  justify-self: start; display: grid; gap: 6px; width: min(100%, 210px); padding: 8px 8px 10px;
  border-radius: 10px; border-bottom-left-radius: 2px; background: var(--night-3);
}
.photo-msg b {
  padding: 0 4px; font: 400 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
}
.photo-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--night-2); }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.photo-frame img.is-on { opacity: 1; }
.photo-typing {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  opacity: 0; transition: opacity .25s ease;
}
.photo-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--night-ink-2); animation: typing 1s ease-in-out infinite; }
.photo-typing i:nth-child(2) { animation-delay: .15s; }
.photo-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.photo-msg.is-typing .photo-typing { opacity: 1; }
.photo-msg.is-typing .photo-frame img.is-on { opacity: 0; }

.g-gacha { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; }
.gacha-ui { display: none; }
html.js .gacha-ui { display: grid; justify-items: start; gap: 10px; margin-top: 18px; }
.gacha-pull[disabled] { opacity: .6; pointer-events: none; }
.gacha-count { margin: 0; font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.gacha { display: grid; justify-items: center; gap: 14px; perspective: 900px; }
.gcard {
  --g: linear-gradient(160deg, #A3A2CC, #7F7EB1);
  position: relative; width: 190px; height: 250px; border-radius: 12px;
  background: var(--g); color: #fff;
  box-shadow: 0 18px 30px -18px rgba(37, 36, 61, .75);
  transition: transform .28s ease-in, box-shadow .3s ease;
  transform-style: preserve-3d;
}
.gcard::before, .gcard::after {
  content: ""; position: absolute; bottom: 44px; width: 18px; height: 18px; border-radius: 50%; background: var(--card);
}
.gcard::before { left: -9px; }
.gcard::after { right: -9px; }
.gcard.is-rare { --g: linear-gradient(160deg, #6372DA, #3B44A0); box-shadow: 0 18px 34px -16px rgba(59, 68, 160, .8); }
.gcard.is-legendary { --g: linear-gradient(160deg, #FFC15C, #FF8A00); color: #3A2300; box-shadow: 0 18px 40px -14px rgba(255, 138, 0, .85); }
.gcard.is-back {
  --g: radial-gradient(circle, rgba(255, 255, 255, .14) 1.2px, transparent 1.7px) 0 0 / 10px 10px, linear-gradient(160deg, #4B4994, #2D2B6B);
}
.gcard.is-flip { transform: rotateY(90deg); }
.gcard-face { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 18px 16px 0; overflow: hidden; border-radius: inherit; }
.gcard-rarity { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.gcard b {
  align-self: center; min-width: 0; overflow: hidden; white-space: nowrap;
  font: 700 30px/1.08 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .01em;
}
.gcard b.is-two { white-space: normal; overflow-wrap: normal; }
.gcard small {
  padding: 12px 0 14px; border-top: 1.5px dashed rgba(255, 255, 255, .55);
  font: 500 12px/1 var(--mono); opacity: .9;
}
.gcard.is-legendary small { border-top-color: rgba(58, 35, 0, .35); }
.gcard.is-back b { font-size: 64px; text-align: center; opacity: .9; }
.gcard-face::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 60%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: translateX(-120%) skewX(-12deg); opacity: 0; pointer-events: none;
}
.gcard.is-shine .gcard-face::after { animation: gshine 1s ease-out forwards; }
@keyframes gshine {
  0% { transform: translateX(-120%) skewX(-12deg); opacity: 1; }
  100% { transform: translateX(260%) skewX(-12deg); opacity: 1; }
}
.gacha-log { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; min-height: 26px; }
.gacha-log li {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2); font-size: 12.5px; animation: mood-pop .35s ease;
}
.gacha-log li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9B9AC6; }
.gacha-log li.is-rare::before { background: #4E5AC4; }
.gacha-log li.is-legendary::before { background: #FF9D00; }
@media (prefers-reduced-motion: reduce) {
  .gcard, .mood-photo img, .photo-frame img { transition: none; }
  .gcard.is-shine .gcard-face::after, .mood-label.is-pop, .gacha-log li { animation: none; }
}

.shots { --shots-gap: 28px; margin-top: 64px; }
.shots-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--shots-gap); }
.shots.is-drifting {
  container-type: inline-size; overflow: hidden; padding: 8px 0 48px; margin-bottom: -48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.shots.is-drifting .shots-track {
  display: flex; gap: 0; width: max-content;
  animation: shots-drift var(--shots-loop, 60s) linear infinite;
}
.shots.is-drifting .shot { flex: 0 0 calc((100cqi - 2 * var(--shots-gap)) / 3); margin-right: var(--shots-gap); }
.shots.is-paused .shots-track { animation-play-state: paused; }
@keyframes shots-drift { to { transform: translateX(-50%); } }
@media (max-width: 900px) { .shots.is-drifting .shot { flex-basis: calc((100cqi - var(--shots-gap)) / 2); } }
@media (max-width: 560px) { .shots.is-drifting .shot { flex-basis: 74cqi; } }
@media (prefers-reduced-motion: reduce) {
  .shots.is-drifting { overflow: visible; padding: 0; margin-bottom: 0; -webkit-mask-image: none; mask-image: none; }
  .shots.is-drifting .shots-track { display: grid; width: auto; animation: none; gap: var(--shots-gap); }
  .shots.is-drifting .shot { margin-right: 0; }
  .shots.is-drifting .shot[aria-hidden] { display: none; }
}
.shot { margin: 0; }
.shot a { display: block; cursor: zoom-in; }
.shot img { width: 100%; height: auto; filter: drop-shadow(0 20px 28px rgba(37, 36, 61, .28)); transition: transform .2s ease; }
.shot a:hover img { transform: translateY(-3px); }
.shot figcaption { margin-top: 14px; text-align: center; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

.h-tile { display: flex; flex-direction: column; }
.h-tile h3::before { display: none; }
.h-icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 12px; background: var(--lavender); color: var(--violet-deep);
}
.h-icon svg { width: 22px; height: 22px; }
.h-demo {
  display: grid; gap: 8px; align-content: start; padding: 14px;
  border-radius: 10px; background: var(--paper);
  background-image: radial-gradient(circle, #DCDBEE 1px, transparent 1.4px); background-size: 9px 9px;
  border: 1px solid var(--line);
}
.h-tile > p { flex: 1 0 auto; margin: 0; padding-bottom: 18px; }
.h-ask { justify-self: end; max-width: 92%; padding: 7px 12px; font-size: 13.5px; }
.h-file { display: inline-flex; align-items: center; gap: 7px; }
.h-file small { margin-left: 4px; opacity: .75; font-size: 12px; }
.h-mini { width: 15px; height: 15px; flex: none; }
.h-card {
  justify-self: start; width: 92%; padding: 10px 12px;
  border-radius: 10px; border-bottom-left-radius: 3px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 8px 16px -14px rgba(37, 36, 61, .55);
}
.h-card small {
  display: flex; align-items: center; gap: 6px;
  font: 600 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.h-card b { color: var(--ink); }

.h-remind { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.h-card-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #FFF1D6; color: #C77700; }
.h-card-icon svg { width: 19px; height: 19px; }
.h-remind div { display: grid; gap: 1px; }
.h-remind b { font-size: 14.5px; }
.h-remind span { font-size: 12.5px; color: var(--ink-2); }
.h-timer { display: grid; grid-template-columns: 15px auto 1fr auto; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12.5px; color: var(--ink-2); }
.h-timer i { position: relative; height: 5px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.h-timer i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); background: var(--orange); }
.h-timer b { font: 600 12.5px/1 var(--mono); }

.h-weather { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.h-sun { width: 40px; height: 40px; color: #E0A93A; }
.h-weather div { display: grid; }
.h-weather b { font: 700 26px/1 var(--display); font-stretch: 75%; }
.h-weather span { font-size: 12.5px; color: var(--ink-2); }
.h-plan { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; color: var(--ink-2); }
.h-plan b { margin-right: 4px; font-family: var(--mono); font-size: 12px; color: var(--violet-deep); }

.h-note b { display: block; margin: 2px 0 6px; font-size: 14.5px; }
.h-note ul { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.h-note li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.h-note li svg {
  width: 15px; height: 15px; padding: 1px; flex: none; border-radius: 4px;
  border: 1.5px solid var(--line); color: transparent;
}
.h-note li.is-done { color: var(--ink-3); text-decoration: line-through; }
.h-note li.is-done svg { border-color: var(--violet); background: var(--violet); color: #fff; }

.h-search { display: grid; gap: 8px; }
.h-result { display: grid; grid-template-columns: 14px 1fr; column-gap: 8px; row-gap: 5px; align-items: center; }
.h-result i { grid-row: span 2; width: 14px; height: 14px; border-radius: 4px; background: var(--lavender); }
.h-result span { display: block; width: var(--w); height: 6px; border-radius: 3px; background: #D9D8EA; }
.h-result span + span { height: 5px; background: var(--paper-2); }

.h-doc { display: grid; gap: 6px; }
.h-doc span { display: block; width: var(--w); height: 6px; border-radius: 3px; background: var(--paper-2); }
.h-doc span.is-mark { background: #FFD58A; box-shadow: 0 0 0 3px #FFF1D6; }

.h-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 92%; }
.h-art-pic {
  display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 8px;
  background: linear-gradient(160deg, var(--a), var(--b)); color: rgba(255, 255, 255, .8);
}
.h-art-pic svg { width: 22px; height: 22px; }
.h-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.h-tags span { padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 11px/1.5 var(--mono); color: var(--ink-3); }

#future .feature h3::before { display: none; }
.f-keep { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 30px; }
.keep { display: grid; gap: 16px; }
.keep-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.keep-steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 21px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
}
.keep-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; text-align: center; }
.keep-dot {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line); color: var(--violet-deep);
  box-shadow: 0 8px 16px -12px rgba(37, 36, 61, .5);
}
.keep-steps li:first-child .keep-dot { background: var(--violet); border-color: var(--violet); color: #fff; }
.keep-dot svg { width: 21px; height: 21px; }
.keep-steps b { font-size: 13.5px; line-height: 1.25; color: var(--ink); }
.keep-steps small { font-size: 12px; color: var(--ink-3); }
.keep-thread {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  border-radius: 999px; background: linear-gradient(90deg, #FFF1D6, #FFE0A6);
  border: 1px solid #F2C66D;
}
.keep-thread::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(-120%); animation: keep-run 4.5s ease-in-out infinite;
}
@keyframes keep-run { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(380%); } }
.keep-thread img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  border: 2px solid #fff; box-shadow: 0 0 0 2px #F2C66D;
}
.keep-thread p { display: grid; margin: 0; }
.keep-thread b { font-size: 14.5px; color: #3A2300; }
.keep-thread span { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8A5A00; }

.f-addons { display: flex; flex-direction: column; }
.f-icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px;
  border-radius: 12px; background: var(--lavender); color: var(--violet-deep);
}
.f-icon svg { width: 22px; height: 22px; }
.addon-drop {
  display: grid; justify-items: center; gap: 8px; margin-top: 16px; padding: 16px 12px;
  border: 1.5px dashed #BDBCD8; border-radius: 10px; background: var(--paper);
}
.addon-file {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 16px -12px rgba(37, 36, 61, .5);
  font: 600 13px/1.2 var(--mono); color: var(--violet-deep);
  animation: addon-drop 3.2s ease-in-out infinite;
}
.addon-file svg { width: 16px; height: 16px; }
@keyframes addon-drop { 0%, 15% { transform: translateY(-10px); opacity: 0; } 35%, 80% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.addon-hint { font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.addon-kinds { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.addon-kinds li { padding: 4px 10px; border-radius: 999px; background: var(--lavender); color: var(--violet-deep); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .keep-thread::after, .addon-file { animation: none; } }

.community { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.c-card {
  display: flex; flex-direction: column; align-items: flex-start;
  isolation: isolate; overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--tone) 10%, transparent), transparent 70%), var(--card);
}
.c-card::after {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 150px; height: 120px;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--tone) 55%, transparent) 1.2px, transparent 1.7px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.c-card h3 { margin: 18px 0 8px; }
.c-card h3::before { display: none; }
.c-card > p:not([class]) { flex: 1 0 auto; margin: 0; padding-bottom: 22px; font-size: 15.5px; }
.c-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--tone); color: #fff;
  box-shadow: 0 10px 20px -12px var(--tone);
}
.c-icon svg { width: 26px; height: 26px; }
.c-icons { display: flex; gap: 10px; }
.c-icon-logo { overflow: hidden; background: #fff; }
.c-icon-logo svg { width: 100%; height: 100%; }
.c-link { padding: 11px 20px; font-size: 15px; }
.c-card .n-status { margin: -2px 0 16px; }
.c-closed { flex: 1 0 auto; display: grid; align-content: start; gap: 9px; width: 100%; padding-bottom: 6px; }
.c-closed span { display: block; width: var(--w); height: 7px; border-radius: 4px; background: #E4E3F0; }
.c-closed i { margin-top: 12px; width: 150px; height: 40px; border-radius: 8px; border: 1.5px dashed #D3D2E6; }
.c-discord .c-closed { max-width: 520px; }
.c-discord .c-closed span { background: var(--night-line); }
.c-discord .c-closed i { border-color: var(--night-line); }
.c-discord:has(.c-closed) .c-server { opacity: .6; }
.c-card.c-discord {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px; align-items: center;
  background: var(--night) var(--night-grid);
  border-color: var(--night); color: var(--night-ink);
}
.c-discord::after { display: none; }
.c-discord-text { display: flex; flex-direction: column; align-items: flex-start; }
.c-discord h3 { color: #fff; }
.c-discord-text > p:not([class]) { margin: 0; padding-bottom: 22px; max-width: 520px; color: var(--night-ink-2); font-size: 15.5px; }
.c-server {
  padding: 14px; border: 1px solid var(--night-line); border-radius: 10px; background: var(--night-2);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
}
.c-server-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 6px 12px; border-bottom: 1px solid var(--night-line); }
.c-server-head b { color: #fff; font-size: 15px; }
.c-server-head span { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-ink-2); }
.c-server ul { display: grid; gap: 2px; list-style: none; margin: 10px 0 0; padding: 0; }
.c-server li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; color: var(--night-ink-2); font-size: 14px; }
.c-server li::before { content: ""; flex: none; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); opacity: .5; }
.c-server li.is-on { background: color-mix(in srgb, var(--tone) 28%, transparent); color: #fff; }
.c-server li.is-on::before { background: var(--orange); opacity: 1; }
@media (max-width: 720px) {
  .c-card.c-discord { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

#next .feature h3::before { display: none; }
.n-tile { display: flex; flex-direction: column; }
.n-tile > p:not([class]) { flex: 1 0 auto; margin: 0; padding-bottom: 18px; }
.n-status {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px;
  padding: 4px 11px; border-radius: 999px; font: 600 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.n-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.n-status.is-soon { background: #FFF1D6; color: #B36A00; }
.n-status.is-soon::before { animation: n-blink 1.6s ease-in-out infinite; }
.n-status.is-plan { background: var(--lavender); color: var(--violet-deep); }
.n-status.is-open { background: #E3F3EE; color: #23735F; }
@keyframes n-blink { 50% { opacity: .25; } }

.butler-card {
  align-self: center; display: grid; gap: 4px; width: 150px; padding: 8px 8px 12px;
  border-radius: 8px; background: var(--night); border: 1.5px dashed var(--night-line);
}
.butler-photo {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #4A4B5E, #2B2C35 75%);
  box-shadow: inset 0 0 0 1px #444553;
}
.butler-sil { position: absolute; inset: 14% 10% 0; width: 80%; height: 86%; fill: #6A6C84; }
.butler-sil .butler-tie { fill: #8A8CA6; }
.butler-photo span { position: relative; font: 700 44px/1 var(--display); font-stretch: 75%; color: var(--orange); }
.butler-card .carousel-num { color: #8C8CA3; }
.butler-kind { font: 700 18px/1 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; color: #fff; }

.lang { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 10px 20px -16px rgba(37, 36, 61, .5); }
.lang-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.lang-head span { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lang-head b { font-size: 14px; color: var(--ink); }
.lang-head b::after { content: "▾"; margin-left: 6px; color: var(--ink-3); }
.lang ul { list-style: none; margin: 0; padding: 6px; }
.lang li { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 7px; font-size: 14px; color: var(--ink-3); }
.lang li.is-on { background: var(--lavender); color: var(--violet-deep); font-weight: 600; }
.lang small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.ideas { display: grid; gap: 6px; margin-bottom: 14px; }
.idea {
  justify-self: start; display: flex; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 10px; border-bottom-left-radius: 2px;
  background: #EEF0FF; color: var(--ink-2); font-size: 13.5px;
}
.idea:nth-child(2) { justify-self: end; border-bottom-left-radius: 10px; border-bottom-right-radius: 2px; }
.idea b { font-weight: 400; }
.n-discord { align-self: flex-start; gap: 9px; }
.n-discord svg { width: 18px; height: 18px; color: #5865F2; }
.n-tile .soon { margin: 8px 0 0; }
@media (prefers-reduced-motion: reduce) { .n-status.is-soon::before { animation: none; } }

.bureau {
  background-color: var(--night);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M23 0v46M0 23h46' stroke='%23fff' stroke-opacity='.045' stroke-dasharray='4 4'/%3E%3Cpath d='M23 18v10M18 23h10' stroke='%23fff' stroke-opacity='.14' stroke-width='1.4'/%3E%3C/svg%3E");
  color: var(--night-ink);
}
.bureau h2 { color: #fff; }
.eyebrow-dark { color: var(--orange); }
.bureau-intro { max-width: 680px; margin: -12px 0 48px; color: var(--night-ink-2); }
.bureau-intro code { background: var(--night-3); color: var(--night-ink); }
.bureau-fine { font-family: var(--mono); font-size: 13px; color: #8C8CA3; margin-top: 18px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.catalog-filters { display: grid; gap: 12px; margin-bottom: 14px; }
.catalog-filters-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.catalog-group {
  flex: none; width: 82px; align-self: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #86869B;
}
.catalog-search input {
  width: 230px; padding: 10px 14px;
  background: var(--night-2); color: var(--night-ink);
  border: 1px solid var(--night-line); border-radius: 6px;
  font: 15px/1.3 var(--body);
}
.catalog-search input::placeholder { color: #7E7E94; }
.catalog-search input:focus { outline: none; border-color: var(--orange); }
.catalog-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--night-line); background: var(--night-2); color: var(--night-ink-2);
  font: 14px/1.2 var(--body); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tag:hover { border-color: #6A6B7C; color: var(--night-ink); }
.tag[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #20192B; }
.catalog-count { margin: 0 0 0 auto; font-family: var(--mono); font-size: 13px; color: #8C8CA3; }

.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 12px 6px 16px;
  --fade-l: 0px; --fade-r: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 148px; scroll-snap-align: center;
  display: grid; gap: 2px; padding: 8px 8px 12px;
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: 6px;
  color: var(--night-ink); text-align: left; font: inherit; cursor: pointer;
  opacity: .7;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.carousel-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; margin-bottom: 8px; }
.carousel-num { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #86869B; }
.carousel-name {
  font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 21px; line-height: 1.05;
  text-transform: uppercase; letter-spacing: .02em;
}
.carousel-card:hover { opacity: 1; }
.carousel-card[aria-selected="true"] {
  opacity: 1; transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 14px 26px -14px rgba(0, 0, 0, .7);
}
.carousel-card[hidden] { display: none; }
.carousel-card { align-content: start; }
.carousel-soon {
  justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 999px;
  background: #FFF1D6; color: #B36A00; font: 600 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.dossier.is-soon { grid-template-areas: "photo head" "photo main"; grid-template-rows: auto 1fr; }
.dossier-soon { margin: 6px 0 0; }
.dossier-soon span {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px 12px 20px; border-radius: 999px;
  background: #FFF1D6; color: #B36A00;
  font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 28px; line-height: 1;
  text-transform: uppercase; letter-spacing: .04em;
}
.dossier-soon span::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor;
  animation: n-blink 1.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .dossier-soon span::before { animation: none; } }
.carousel-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0 0 3px;
  border: 1px solid var(--night-line); border-radius: 50%;
  background: var(--night-3); color: var(--night-ink);
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: opacity .2s ease, border-color .15s ease, color .15s ease;
}
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }
@media (max-width: 1200px) {
  .carousel-prev { left: -14px; }
  .carousel-next { right: -14px; }
}
.carousel-arrow:hover { border-color: var(--orange); color: var(--orange); }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
.carousel-fits .carousel-arrow { display: none; }
html:not(.js) .catalog-filters, html:not(.js) .carousel-arrow { display: none; }

.catalog-empty {
  margin: 6px 0 0; padding: 26px; text-align: center;
  border: 1.5px dashed var(--night-line); border-radius: 6px; color: var(--night-ink-2);
}
.is-empty .dossiers { display: none; }

.dossiers { display: grid; gap: 18px; margin-top: 12px; }
.js .dossier:not(.is-active) { display: none; }
.dossier {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 36px; align-items: start;
  grid-template-areas:
    "photo head"
    "photo main"
    "facts main"
    "tags main"
    "actions main";
  grid-template-rows: auto auto auto auto 1fr;
  padding: 26px;
  background: var(--night-2);
  border: 1px solid var(--night-line); border-top: 3px solid var(--accent);
  border-radius: 6px;
}
.js .dossier.is-active { animation: dossier-in .35s ease; }
@keyframes dossier-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dossier-photo { grid-area: photo; }
.dossier-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.dossier-head { grid-area: head; min-width: 0; }
.dossier-main { grid-area: main; min-width: 0; }
.card-meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 0 0 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #86869B;
}
.dossier-name {
  margin: 0;
  font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 46px; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em; color: #fff;
}
.dossier-title {
  margin: 10px 0 2px;
  font-family: var(--display); font-stretch: 85%; font-weight: 600; font-size: 22px; line-height: 1.2;
  color: #FFC46B;
}
.dossier-subtitle { margin: 4px 0 16px; font-family: var(--mono); font-size: 13px; color: #A9A8C8; }
.dossier-warnings { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: -4px 0 18px; padding: 0; }
.dossier-warnings li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 8px; border-radius: 4px;
  background: rgba(255, 157, 0, .1); border: 1px solid rgba(255, 157, 0, .55);
  color: #FFC46B; font-size: 14px;
}
.dossier-warnings li::before {
  content: "!"; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange); color: #20192B;
  font: 700 12px/1 var(--body);
}
.dossier-facts {
  grid-area: facts;
  display: grid; gap: 9px;
  margin: 16px 0 0; padding: 14px 16px;
  background: var(--night-3); border-radius: 6px;
}
.dossier-facts div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.dossier-facts dt {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #86869B;
}
.dossier-facts dd { margin: 0; font-size: 15px; line-height: 1.35; color: var(--night-ink); }
.hint {
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; padding: 0;
  border: 1px solid #6A6B7C; border-radius: 50%;
  background: transparent; color: var(--night-ink-2);
  font: 600 10px/1 var(--body); letter-spacing: 0; text-transform: none; cursor: help;
}
.hint:hover, .hint:focus-visible { border-color: var(--orange); color: var(--orange); }
.hint::after {
  content: attr(data-tip);
  position: absolute; left: -8px; bottom: calc(100% + 10px); z-index: 5;
  width: 230px; padding: 10px 12px;
  background: #F6F6FB; color: var(--ink); border-radius: 6px;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .7);
  font: 400 13px/1.45 var(--body); text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  pointer-events: none;
}
.hint:hover::after, .hint:focus::after { opacity: 1; visibility: visible; transform: none; }
.dossier-quote {
  position: relative; max-width: 560px;
  margin: 4px 0 22px; padding: 12px 16px;
  background: var(--night-3); border-radius: 10px 10px 10px 2px;
  font-size: 16px; line-height: 1.5; color: var(--night-ink);
}
.dossier-quote b {
  display: block; margin-bottom: 2px;
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange);
}
.dossier-prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.dossier-prefs h4 {
  margin: 0 0 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: #86869B;
}
.dossier-prefs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dossier-prefs li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; color: var(--night-ink-2); }
.dossier-prefs li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; }
.dossier-likes li::before { background: var(--orange); }
.dossier-dislikes li::before { background: transparent; border: 1.5px solid #86869B; }
.dossier-text { max-width: 680px; color: var(--night-ink-2); font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
.dossier-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.dossier-tags li { padding: 3px 10px; border-radius: 999px; background: var(--night-3); color: var(--night-ink-2); font-size: 13px; }
.dossier-actions { grid-area: actions; display: grid; gap: 8px; justify-items: center; margin-top: 18px; }
.dossier-actions .btn { width: 100%; }
.dossier-size { font-family: var(--mono); font-size: 12px; color: #8C8CA3; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item {
  padding: 26px 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-item p { color: var(--ink-2); font-size: 16px; }
.trust-item .soon { font-size: 12px; }
.trust-item:last-child {
  grid-column: 1 / -1;
  border-left: 4px solid var(--orange);
}
.link { font-weight: 500; }
.link .soon { display: block; margin-top: 2px; }

.install { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 72px 1fr; column-gap: 8px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 44px; line-height: .9;
  color: var(--violet);
}
.steps p { color: var(--ink-2); margin: 0; font-size: 16px; }

.reqs {
  position: sticky; top: 88px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
}
.reqs dl { margin: 6px 0 22px; }
.reqs dl div { padding: 10px 0; border-top: 1px dashed var(--line); }
.reqs dl div:first-child { border-top: 0; }
.reqs dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.reqs dd { margin: 2px 0 0; font-size: 15px; color: var(--ink); }
.reqs .soon { margin: 10px 0 0; text-align: center; }
.dl-terms { margin: 10px 0 0; font-size: 12px; line-height: 1.5; text-align: center; color: var(--ink-3); }
.dl-terms a { color: var(--violet-deep); }

.legal-home { margin-left: auto; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 8px; }
.legal-edition { margin: 0 0 32px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.legal h2 { font-size: 20px; text-transform: none; letter-spacing: 0; margin: 30px 0 10px; }
.legal p:not([class]) { margin: 0 0 10px; line-height: 1.6; color: var(--ink-2); }

.footer { background: var(--night); color: var(--night-ink-2); padding: 48px 0 56px; font-size: 14px; }
.footer p { margin: 0; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.footer-brand { max-width: 380px; }
.footer-brand img { display: block; width: 112px; height: auto; margin-bottom: 14px; }
.footer-brand p { line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 1px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--night-line);
  font: 12px/1.5 var(--mono); letter-spacing: .02em; color: #8C8CA3;
}
.footer .footer-note { margin-top: 10px; max-width: 760px; font: 12px/1.5 var(--mono); letter-spacing: .02em; color: #6F6F86; }
.footer-links a { color: var(--night-ink); text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

@media (max-width: 820px) {
  .dossier {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "head" "facts" "main" "tags" "actions";
    grid-template-rows: none;
    padding: 18px;
  }
  .dossier.is-soon { grid-template-areas: "photo" "head" "main"; }
  .dossier-photo { max-width: 220px; margin-bottom: 18px; }
  .dossier-facts { margin: 0 0 18px; }
  .dossier-actions { justify-items: start; }
  .dossier-actions .btn { width: auto; }
  .dossier-name { font-size: 38px; }
  .carousel-arrow { display: none; }
}

@media (max-width: 540px) {
  .catalog-search, .catalog-search input { width: 100%; }
  .catalog-count { margin-left: 0; }
  .carousel-card { flex-basis: 118px; }
  .carousel-name { font-size: 18px; }
  .dossier-prefs { grid-template-columns: 1fr; }
  .catalog-group { width: 100%; }
}

@media (max-width: 1080px) {
  .nav-inner { gap: 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner .btn-small { margin-left: auto; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards { height: 400px; max-width: 520px; width: 100%; margin: 8px auto 0; }
  .features, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item { grid-column: span 1; }
  .why-cast { grid-column: span 2; }
  .features { grid-auto-flow: row dense; }
  .g-adapt { grid-template-columns: minmax(0, 1fr); }
  .trust-item:last-child { grid-column: auto; }
  .feature-wide { grid-column: 1 / -1; }
  .install { grid-template-columns: 1fr; }
  .reqs { position: static; }
  .footer-links { gap: 8px 22px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .eyebrow::after { display: none; }
  .hero { padding: 40px 0 80px; }
  .hero-mark { width: 160px; margin-top: 24px; }
  .lead { font-size: 17px; }
  .hero-cards { height: 330px; }
  .mini-card { width: 190px; }
  .mini-card b { font-size: 20px; }
  .mini-card-1 { left: 20%; top: 50px; }
  .mini-card-2 { left: auto; right: 0; }
  .features, .trust, .shots-track, .community { grid-template-columns: minmax(0, 1fr); }
  .g-photo, .g-gacha { grid-template-columns: minmax(0, 1fr); }
  .f-keep { grid-template-columns: minmax(0, 1fr); }
  .keep-steps { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .keep-steps::before { display: none; }
  .photo-chat { min-height: 0; }
  .feature-full.feature-wardrobe { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-item, .why-cast { grid-column: auto; padding: 22px 20px 20px; }
  .why-num { font-size: 52px; }
  .why-cast-row img, .why-cast-more { width: 54px; height: 54px; }
  .why-cast-row > * + * { margin-left: -12px; }
  .feature-wide { grid-template-columns: minmax(0, 1fr); }
  .outfits { gap: 6px; }
  .steps li { grid-template-columns: 56px 1fr; padding: 18px; }
  .steps li::before { font-size: 36px; }
  .footer-links { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .stripes::after { width: 50vw; }
}

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