/* Midokoko Studios — public site */
:root {
  --accent: #7c6cff;
  --accent-ink: #fff;
  --accent-2: #ff6cab;
  --bg: #0b0b10;
  --bg-2: #12121a;
  --card: #15151f;
  --card-hover: #1b1b28;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f2f7;
  --muted: #9a9aae;
  --radius: 16px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7fb;
    --bg-2: #ffffff;
    --card: #ffffff;
    --card-hover: #fbfbff;
    --line: rgba(15, 15, 40, 0.08);
    --line-2: rgba(15, 15, 40, 0.16);
    --text: #14141f;
    --muted: #64647a;
    --shadow: 0 1px 2px rgba(15, 15, 40, 0.05), 0 10px 30px -14px rgba(15, 15, 40, 0.18);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
/* the hidden attribute must always win (search, filters and steps rely on it) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.9em; background: var(--line); padding: 0.1em 0.4em; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; font-size: 1.05rem; }
.brand svg { flex: none; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--text); background: var(--line); }

.banner { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); border-bottom: 1px solid var(--line); font-size: 0.925rem; }
.banner .wrap { padding: 10px 0; text-align: center; }
.banner a { color: var(--accent); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 56px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1;
  background:
    radial-gradient(40% 60% at 35% 50%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%),
    radial-gradient(35% 55% at 65% 40%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%);
  filter: blur(30px); opacity: 0.8;
}
.hero--small { padding: 64px 0 24px; }
.hero__in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; max-width: 16ch; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 56ch; }

.search {
  margin-top: 10px; display: flex; align-items: center; gap: 10px;
  width: min(460px, 100%); padding: 0 16px; height: 50px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow);
  color: var(--muted);
}
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; height: 100%; }

/* sections */
.section { padding: 24px 0 80px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section__head h2 { font-size: 1.35rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--muted);
}
.chip:hover { color: var(--text); }
.chip.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* app grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--app) 45%, var(--line)); background: var(--card-hover); }
.card__link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card__head { display: flex; align-items: center; gap: 14px; }
.card__title { min-width: 0; flex: 1; }
.card__title h3 { font-size: 1.1rem; }
.card__title .muted { font-size: 0.85rem; }
.card__tag { color: var(--muted); font-size: 0.95rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__foot .btn { position: relative; z-index: 2; }
.badge { vertical-align: 2px; margin-left: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; color: var(--app); background: color-mix(in srgb, var(--app) 15%, transparent); }

.icon { width: 56px; height: 56px; border-radius: 14px; flex: none; object-fit: cover; background: var(--line); }
.icon--letter {
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--app), color-mix(in srgb, var(--app) 55%, #000));
}
.icon--xl { width: 112px; height: 112px; border-radius: 26px; font-size: 3rem; box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--app) 60%, transparent); }

.empty, .empty-state { text-align: center; color: var(--muted); padding: 40px 0; }
.empty-state h3 { color: var(--text); margin-bottom: 6px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink, #fff);
  transition: filter .15s ease, transform .1s ease;
}
.card .btn, .app-hero .btn:not(.btn--ghost) { background: var(--app, var(--accent)); color: var(--app-ink, #fff); }
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 34px; padding: 0 14px; font-size: 0.9rem; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 1.08rem; border-radius: 14px; }
.btn--ghost, .card .btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--line); filter: none; }
.btn--disabled { opacity: .55; cursor: default; filter: none !important; }
.btn .muted { font-weight: 400; }

/* app page */
.app-hero { position: relative; overflow: hidden; padding: 28px 0 44px; border-bottom: 1px solid var(--line); }
.app-hero::before {
  content: ""; position: absolute; inset: -60% -20% auto; height: 560px; z-index: -1;
  background: radial-gradient(45% 55% at 25% 50%, color-mix(in srgb, var(--app) 30%, transparent), transparent 70%);
  filter: blur(30px);
}
.back { display: inline-block; text-decoration: none; color: var(--muted); font-size: 0.925rem; margin-bottom: 26px; }
.back:hover { color: var(--text); }
.app-hero__in { display: flex; gap: 28px; align-items: flex-start; }
.app-hero__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.app-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.dl { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.dl__meta { color: var(--muted); font-size: 0.925rem; }
.dl__more { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.dl__hint { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 0.925rem; }
.dl__set { flex-basis: 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.dl__set li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.dl__file { display: flex; flex-direction: column; min-width: 0; }
.dl__file b { overflow-wrap: anywhere; }
.dl__file .muted { overflow-wrap: anywhere; }

.app-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 40px 0 88px; }
.app-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }

.shots { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.shot { flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--card); scroll-snap-align: start; }
.shot img, .shot video { display: block; height: 300px; width: auto; max-width: none; object-fit: cover; }
.shot--video { position: relative; cursor: pointer; }
.shot--video video { pointer-events: none; background: #000; }
.shot__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.55); border: 2px solid rgba(255, 255, 255, 0.85); backdrop-filter: blur(4px); padding-left: 4px; transition: transform .2s ease; }
.shot--video:hover .shot__play { transform: scale(1.08); }
.shots:has(.shot:only-child) .shot img, .shots:has(.shot:only-child) .shot video { height: auto; width: 100%; max-height: 520px; object-fit: contain; }
.shots:has(.shot:only-child) .shot { flex: 1; }

.prose h2 { font-size: 1.3rem; margin-bottom: 14px; }
.prose h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.prose h4 { font-size: 1rem; margin: 18px 0 6px; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 14px; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 4px 0; }
.prose a { color: var(--accent); }
.prose blockquote { border-left: 3px solid var(--line-2); padding-left: 14px; color: var(--muted); }
.prose > :last-child { margin-bottom: 0; }

.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 56px; margin: 0 !important; overflow-wrap: anywhere; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: color-mix(in srgb, var(--app, var(--accent)) 18%, transparent); color: var(--app, var(--accent)); }

.versions { display: grid; gap: 10px; }
.version { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.version summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.version summary::-webkit-details-marker { display: none; }
.version__files { display: flex; flex-wrap: wrap; gap: 8px; }
.version__notes { padding: 0 16px 14px; font-size: 0.95rem; }

.app-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; align-self: start; }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.side-links { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.side-links a { color: var(--accent); text-decoration: none; font-weight: 500; }
.side-links a:hover { text-decoration: underline; }
.hash { font-size: 0.85rem; color: var(--muted); padding: 0 4px; }
.hash summary { cursor: pointer; }
.hash code { display: block; margin-top: 8px; word-break: break-all; font-size: 0.78rem; padding: 8px 10px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.lightbox img, .lightbox video { display: block; max-width: 94vw; max-height: 92vh; width: auto; height: auto; border-radius: 12px; }
.lightbox video { min-width: min(94vw, 640px); background: #000; }
.lightbox__close { position: fixed; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 1.1rem; cursor: pointer; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 0.925rem; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.foot__brand svg { width: 22px; height: 22px; }
.foot__links { display: flex; gap: 18px; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--text); }
.foot__copy { color: var(--muted); }

@media (max-width: 860px) {
  .app-body { grid-template-columns: 1fr; gap: 32px; }
  .app-side { position: static; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 0 36px; }
  .grid { grid-template-columns: 1fr; }
  .app-hero__in { flex-direction: column; gap: 18px; }
  .icon--xl { width: 88px; height: 88px; border-radius: 22px; font-size: 2.4rem; }
  .dl .btn--lg { width: 100%; }
  .shot img, .shot video { height: 210px; }
  .foot__in { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* customisation */
.brand__logo { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.foot__brand .brand__logo { width: 22px; height: 22px; }
.hero--image::before { display: none; }
.hero--image {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent), var(--bg)),
    var(--hero) center / cover no-repeat;
}
.md-img { display: block; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); margin: 10px 0; }
/* ---- send to my PC (phones only) ---- */
.sendpc { display: none; margin: 18px 0 6px; padding: 18px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--app, #7c6cff) 45%, var(--line)); background: color-mix(in srgb, var(--app, #7c6cff) 10%, var(--card)); }
.is-phone .sendpc { display: block; }
.is-phone .dl__main { display: none; }
.sendpc__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; color: var(--app, #9d85ff); }
.sendpc__head svg { flex: 0 0 auto; }
.sendpc__head div { display: grid; gap: 2px; color: var(--text); }
.sendpc__head b { font-size: 1.08rem; }
.sendpc__head span { color: var(--muted, #a3a3b5); font-size: .95rem; line-height: 1.4; }
.sendpc__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sendpc__btns .btn--lg { flex: 1 1 100%; justify-content: center; }
.sendpc__btns .btn--sm { flex: 1 1 0; justify-content: center; }
.sendpc__type { margin: 12px 0 0; font-size: .92rem; color: var(--muted, #a3a3b5); }
.sendpc__type b { color: var(--text); overflow-wrap: anywhere; }

/* ---- "Windows protected your PC" helper (Windows, after a download starts) ---- */
.ss-help { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(380px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto; padding: 18px 18px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2, var(--line)); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); font-size: .92rem; }
.ss-help.is-in { animation: ss-in .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ss-in { from { opacity: 0; transform: translateY(20px); } }
.ss-help__x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: inherit; cursor: pointer; }
.ss-help__title { margin: 0 30px 10px 0; font-weight: 800; font-size: 1.05rem; }
.ss-help__steps { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; line-height: 1.4; }
.ss-help__step3 { margin: 10px 0 6px; }
.ss-help__why { margin: 0; color: var(--muted, #a3a3b5); font-size: .82rem; line-height: 1.4; }
.ss-mock { padding: 14px 14px 12px; border-radius: 6px; background: #1f5fae; color: #fff; font-family: 'Segoe UI', system-ui, sans-serif; }
.ss-mock__title { font-size: 1.15rem; font-weight: 300; margin-bottom: 6px; }
.ss-mock__text { font-size: .74rem; opacity: .9; line-height: 1.35; }
.ss-mock__more { display: inline-block; margin-top: 6px; font-size: .78rem; text-decoration: underline; border-radius: 4px; animation: ss-hl 4s infinite; }
.ss-mock__btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.ss-mock__btns span { padding: 4px 12px; font-size: .74rem; border: 1px solid rgba(255, 255, 255, .7); }
.ss-mock__run { animation: ss-hl 4s 2s infinite; opacity: .25; }
@keyframes ss-hl { 0%, 10% { box-shadow: 0 0 0 0 rgba(255, 212, 71, 0); } 15%, 45% { box-shadow: 0 0 0 3px #ffd447; opacity: 1; } 55%, 100% { box-shadow: 0 0 0 0 rgba(255, 212, 71, 0); } }
@media (prefers-reduced-motion: reduce) { .ss-mock__more, .ss-mock__run { animation: none; opacity: 1; } .ss-help.is-in { animation: none; } }

.md-video { display: block; width: 100%; max-height: 70vh; border-radius: 14px; border: 1px solid var(--line); margin: 10px 0; background: #000; }
.page-body { padding: 8px 0 88px; }
.foot__copy a { color: var(--muted); }

/* ------------------------------------------------------------------ animations
   Everything below only runs when "Animate the website" is on (body.anim) and
   the visitor hasn't asked their system for reduced motion. Entrance animations
   use fill-mode "backwards" so hover effects still work once they finish. */

/* smooth cross-page transitions (Chrome / Edge); the header stays put and app
   icons fly from their card into the app page */
@view-transition { navigation: auto; }
.top { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }
@keyframes card-in { from { opacity: 0; transform: translateY(34px) scale(.96); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(60px); } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6) rotate(-8deg); } 60% { transform: scale(1.06) rotate(2deg); } }
@keyframes drift-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.12); } 100% { transform: translate(-6%, 4%) scale(1.04); } }
@keyframes drift-b { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30%, 20%) scale(1.2); } 100% { transform: translate(20%, -10%) scale(.9); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--app, var(--accent)) 0%, transparent), 0 10px 30px -12px color-mix(in srgb, var(--app, var(--accent)) 60%, transparent); }
                  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--app, var(--accent)) 18%, transparent), 0 14px 40px -10px color-mix(in srgb, var(--app, var(--accent)) 75%, transparent); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: no-preference) {
  /* home: moving glow behind the headline */
  .anim .hero::before { animation: drift-a 14s ease-in-out infinite alternate; }
  .anim .hero:not(.hero--image)::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 460px; height: 460px; left: 55%; top: -120px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 65%);
    filter: blur(40px); animation: drift-b 18s ease-in-out infinite alternate;
  }
  .anim .hero--image { animation: fade-in 1.2s ease backwards; }

  /* headline words rise one after another, then the rest follows */
  .anim .words .w { display: inline-block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(60ms + var(--i) * 90ms); }
  .anim .hero .lead { animation: rise .9s .35s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .search { animation: rise .9s .5s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .section__head, .anim .chips { animation: fade-in .8s .45s ease backwards; }
  .anim .banner { animation: fade-in .6s ease backwards; }
  .anim .banner .wrap {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent) 0 0 / 50% 100% no-repeat;
    animation: shimmer 6s linear infinite;
  }

  /* app cards glide in one by one */
  .anim .card { isolation: isolate; animation: card-in .8s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.4s + var(--i) * 90ms); }
  /* glow that follows the mouse (position set by site.js) */
  .anim .card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--app) 16%, transparent), transparent 45%);
    opacity: 0; transition: opacity .25s ease;
  }
  .anim .card:hover::before { opacity: 1; }
  .anim .card:hover { transform: translateY(-5px); box-shadow: var(--shadow), 0 22px 50px -24px color-mix(in srgb, var(--app) 70%, transparent); }
  .anim .card .icon { transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
  .anim .card:hover .icon { transform: scale(1.1) rotate(-5deg); }

  /* light sweep across buttons on hover */
  .anim .btn { position: relative; overflow: hidden; }
  .anim .btn::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .6s ease;
  }
  .anim .btn:hover::after { transform: translateX(120%); }

  /* app page */
  .anim .app-hero .icon--xl { animation: pop .9s .05s cubic-bezier(.2, .8, .2, 1) backwards, float 5s 1.2s ease-in-out infinite; }
  .anim .app-hero .lead, .anim .app-hero .muted { animation: rise .8s .3s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .app-hero .dl { animation: rise .8s .45s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .app-hero .btn--lg { animation: glow 2.8s 1.4s ease-in-out infinite; }
  .anim .back { animation: fade-in .6s ease backwards; }
  .anim .shot { animation: slide-in .8s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.5s + var(--i) * 120ms); transition: transform .25s ease, border-color .25s ease; }
  .anim .shot:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--app) 50%, var(--line)); }
  .anim .app-main .prose { animation: rise .9s .6s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .app-side { animation: fade-in 1s .6s ease backwards; }
  .anim .steps li { transition: transform .2s ease, border-color .2s ease; }
  .anim .steps li:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--app, var(--accent)) 45%, var(--line)); }

  /* pages + about */
  .anim .page-body { animation: rise .9s .25s cubic-bezier(.2, .8, .2, 1) backwards; }

  /* lightbox */
  .anim .lightbox[open] img, .anim .lightbox[open] video { animation: zoom-in .28s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .lightbox[open]::backdrop { animation: fade-in .28s ease backwards; }
}

/* release status + badges */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  color: var(--muted); background: var(--line); border: 1px solid var(--line);
}
.tag--release { color: #34d399; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .25); }
.tag--beta { color: #fbbf24; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .28); }
.tag--alpha { color: #fb923c; background: rgba(251, 146, 60, .12); border-color: rgba(251, 146, 60, .28); }
.tag--early-access { color: #60a5fa; background: rgba(96, 165, 250, .12); border-color: rgba(96, 165, 250, .28); }
.tag--coming-soon { color: #c084fc; background: rgba(192, 132, 252, .12); border-color: rgba(192, 132, 252, .28); }
.tag--discontinued { color: #f87171; background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .28); }
.app-hero .tags { margin: 2px 0 4px; }
.facts dd .tag { vertical-align: 1px; }
.dl__beta { align-items: center; gap: 10px; }
.notice { margin-top: 10px; padding: 10px 14px; border-radius: 12px; font-size: 0.925rem; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .25); color: color-mix(in srgb, var(--text) 85%, #f87171); max-width: 60ch; }
.notice--beta { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .28); color: color-mix(in srgb, var(--text) 85%, #fbbf24); }
@media (prefers-color-scheme: light) {
  .tag--release { color: #047857; } .tag--beta { color: #b45309; } .tag--alpha { color: #c2410c; }
  .tag--early-access { color: #1d4ed8; } .tag--coming-soon { color: #7e22ce; } .tag--discontinued { color: #b91c1c; }
}
@media (prefers-reduced-motion: no-preference) {
  .anim .app-hero .tags { animation: rise .8s .2s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .notice { animation: rise .8s .55s cubic-bezier(.2, .8, .2, 1) backwards; }
}

/* ------------------------------------------------------------------ accounts + crosshairs */
.nav__account { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; border: 1px solid var(--line-2); color: var(--text) !important; }
.avatar { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .75rem; font-weight: 800; color: var(--accent-ink, #fff); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.avatar--xl { width: 72px; height: 72px; font-size: 2rem; }
.center { text-align: center; justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.section-title { font-size: 1.3rem; margin: 8px 0 16px; }
.section-title:not(:first-child) { margin-top: 44px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 600; font-size: .92rem; }
.field small { color: var(--muted); font-size: .8rem; }
.field input, .field textarea, .search--sm input {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 11px 13px; outline: none; width: 100%;
}
.field textarea { resize: none; max-width: 100%; box-sizing: border-box; display: block; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form-error { color: #f87171; font-size: .9rem; min-height: 1.3em; margin: 0; }
.form-error.form-ok { color: #34d399; }
.btn--block { width: 100%; }
.btn--danger { background: transparent; color: #f87171; border-color: rgba(248, 113, 113, .45); }
.btn--danger:hover { background: rgba(248, 113, 113, .1); filter: none; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; margin-top: 10px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

.auth { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 48px 20px; }
.auth__card {
  width: min(430px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.auth__card h1 { font-size: 1.7rem; }
/* bot trap: people never see it, form-filling bots do */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rules-box { border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 14px 16px; font-size: .9rem; }
.rules { margin: 8px 0 0; padding-left: 1.2em; color: var(--muted); }
.rules li { margin: 4px 0; }

.panel-x { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.panel-x h2 { font-size: 1.15rem; margin-bottom: 8px; }
.panel-x__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.account { padding-bottom: 80px; }
.mines { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mine { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.mine__img { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #1d2333, #0b0d14 70%); }
.mine__img img { width: 100%; height: 100%; }
.mine__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mine__text a { text-decoration: none; }
.reject-reason { color: #f87171; }
.xstatus { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.xstatus--pending { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.xstatus--approved { color: #34d399; background: rgba(52, 211, 153, .12); }
.xstatus--rejected { color: #f87171; background: rgba(248, 113, 113, .12); }

.gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.gallery-bar .chips { margin: 0; }
.chip { text-decoration: none; }
.search--sm { width: min(300px, 100%); }
.search--sm input { border-radius: 999px; padding: 9px 16px; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.xcard { position: relative; isolation: isolate; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.xcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.xcard__preview, .xhero__preview {
  display: grid; place-items: center; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, #1d2333, #0b0d14 70%);
}
.xcard__preview img { width: 70%; height: auto; }
.xcard__body { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 2px; }
.xcard__body h3 { font-size: 1rem; }
.xcard__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 14px; }
.xcard__foot .btn { position: relative; z-index: 2; }
.xhero { display: flex; gap: 28px; align-items: flex-start; }
.xhero__preview { width: 180px; flex: none; border-radius: 26px; border: 1px solid var(--line); }
.xhero__preview img { width: 80%; height: auto; }
.app-hero .notice { margin: 0 0 18px; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.slot { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.slot canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, #1d2333, #0b0d14 70%); }
.slot__name { padding: 8px 12px; font-size: .85rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
kbd { font: 700 .72rem ui-monospace, Consolas, monospace; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); color: var(--muted); }
.slots--pick .slot { cursor: pointer; transition: border-color .15s, transform .15s; }
.slots--pick .slot:hover { transform: translateY(-2px); }
.slots--pick .slot.is-cover { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }

.drop { border: 2px dashed var(--line-2); border-radius: 16px; padding: 34px 20px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over, .drop:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
#upload-form textarea { resize: none; }

@media (max-width: 600px) {
  .xhero { flex-direction: column; }
  .xgrid { grid-template-columns: repeat(2, 1fr); }
  .mine { flex-wrap: wrap; }
  .nav__account { margin-left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .anim .xcard { animation: card-in .7s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .xcard:nth-child(2) { animation-delay: .06s; } .anim .xcard:nth-child(3) { animation-delay: .12s; }
  .anim .xcard:nth-child(4) { animation-delay: .18s; } .anim .xcard:nth-child(n+5) { animation-delay: .24s; }
  .anim .auth__card, .anim .panel-x { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .slot { animation: card-in .6s cubic-bezier(.2, .8, .2, 1) backwards; }
  .anim .xhero__preview { animation: pop .8s cubic-bezier(.2, .8, .2, 1) backwards; }
}

/* profiles */
.author { position: relative; z-index: 2; color: var(--text); font-weight: 600; text-decoration: none; }
.author:hover { text-decoration: underline; }
.author--big { display: inline-flex; align-items: center; gap: 6px; }
.xgame { margin-top: 6px; align-self: flex-start; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.bio { white-space: pre-line; }
.pstats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 6px 0 4px; }
.pstats div { display: flex; flex-direction: column; align-items: center; min-width: 110px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.pstats b { font-size: 1.15rem; }
.pstats span { color: var(--muted); font-size: .8rem; }

/* phone menu */
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 760px) {
  .top__in { position: relative; }
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 64px; left: -20px; right: -20px; flex-direction: column; gap: 2px; padding: 10px 14px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
  .top.is-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
  .nav__account { margin: 6px 0 0; justify-content: center; }
  .top.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .top.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .top.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .brand span { font-size: 1rem; }
}
.search.search--sm { padding: 0; border: 0; background: none; box-shadow: none; height: auto; margin: 0; }

/* official account badge */
.official { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 4px; border-radius: 50%; background: var(--accent); color: var(--accent-ink, #fff); font-size: 9px; font-weight: 900; vertical-align: 1px; }
.official--big { width: 26px; height: 26px; font-size: 15px; vertical-align: 6px; margin-left: 8px; }

/* ---------- gallery pages + small pop-up ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.pager > span:empty { width: 90px; }
.modal-x { border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); color: var(--text); padding: 26px; width: min(430px, 92vw); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal-x::backdrop { background: rgba(0, 0, 0, .7); }
.modal-x form { display: flex; flex-direction: column; gap: 14px; }
.modal-x h2 { margin: 0; font-size: 1.3rem; }
.modal-x p { margin: 0; }
.modal-x .row-buttons { justify-content: flex-end; margin-top: 4px; }
.bio { white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- ratings & reviews ---------- */
.stars { --size: 1rem; position: relative; display: inline-block; font-size: var(--size); line-height: 1; letter-spacing: 2px; color: var(--line-2); white-space: nowrap; vertical-align: -1px; }
.stars::before { content: "★★★★★"; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #fbbf24; }
.stars__fill::before { content: "★★★★★"; }
.stars--sm { --size: .82rem; letter-spacing: 1px; }
.stars--lg { --size: 1.35rem; }
.card__rating { display: flex; align-items: center; gap: 8px; margin-top: -4px; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--text); text-decoration: none; font-size: .95rem; }
.hero-rating:hover b { text-decoration: underline; }
.reviews { scroll-margin-top: 90px; }
.rsum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 22px; }
.rsum__big { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 120px; }
.rsum__big b { font-size: 3rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.rsum__bars { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.rbar { display: grid; grid-template-columns: 14px minmax(0, 1fr) 32px; gap: 10px; align-items: center; font-size: .85rem; }
.rbar__track { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rbar__track i { display: block; height: 100%; border-radius: 99px; background: #fbbf24; }
.rform, .rsignin { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; }
.rform { display: flex; flex-direction: column; gap: 12px; }
.rform__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rform textarea, .rreplyform textarea { width: 100%; resize: vertical; min-height: 70px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.rform textarea:focus, .rreplyform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.rform__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rform__btns { display: flex; gap: 8px; }
.rsignin { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rstars { display: flex; align-items: center; gap: 2px; }
.rstar { background: none; border: 0; padding: 2px 3px; font-size: 1.9rem; line-height: 1; color: var(--line-2); cursor: pointer; transition: transform .12s ease, color .12s ease; }
.rstar.on, .rstar.hover { color: #fbbf24; }
.rstar:hover { transform: scale(1.12); }
.rstar:focus-visible { outline: 2px solid var(--accent); border-radius: 6px; }
.rstars__hint { margin-left: 10px; }
.rsort { margin: 6px 0 14px; }
.rlist { display: flex; flex-direction: column; gap: 12px; }
.rcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.rcard--mine { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.rhead { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.ravatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: hsl(var(--h) 55% 45%); color: #fff; font-size: .8rem; font-weight: 800; flex: none; }
.reviews .rname { color: var(--text); font-weight: 700; text-decoration: none; }
.reviews a.btn--ghost { color: var(--text); }
.reviews .rname:hover { text-decoration: underline; }
.rstars-static { color: var(--line-2); letter-spacing: 1px; font-size: .9rem; }
.rstars-static .on { color: #fbbf24; }
.rmine { margin-left: auto; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.rtext { margin: 10px 0 0 !important; white-space: pre-line; overflow-wrap: anywhere; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.rnote { margin: 10px 0 0 !important; font-size: .85rem; color: #fbbf24; }
.ractions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.rlink { background: none; border: 0; padding: 2px 0; font: inherit; font-size: .85rem; color: var(--muted); cursor: pointer; }
.rlink:hover:not(:disabled) { color: var(--text); }
.rlink.is-on { color: var(--accent); font-weight: 600; }
.rlink:disabled { cursor: default; opacity: .7; }
.rerr { font-size: .85rem; color: #f87171; }
.rreplyform { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.rreplies { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.rreplies:empty { display: none; }
.rreply { border-left: 2px solid var(--line-2); padding: 2px 0 2px 14px; }
.rreply--dev { border-left-color: var(--accent); }
.rreply .ravatar { width: 22px; height: 22px; font-size: .68rem; }
.rdev { font-size: .7rem; font-weight: 800; padding: 1px 8px; border-radius: 99px; color: var(--accent-ink); background: var(--accent); }
@media (max-width: 600px) {
  .rsum { grid-template-columns: 1fr; gap: 16px; }
  .rsum__big { flex-direction: row; justify-content: flex-start; gap: 12px; }
  .rsum__big b { font-size: 2.4rem; }
}

/* account safety: email + two-step sign-in */
.xstatus:not([class*="xstatus--"]) { color: var(--muted); background: rgba(255, 255, 255, .06); }
.notice-x { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); }
.tfa-body { display: flex; flex-direction: column; gap: 14px; }
.tfa-body h2 { margin: 0; font-size: 1.3rem; }
.tfa-body p { margin: 0; }
.tfa-qr { display: grid; place-items: center; }
.tfa-qr svg { width: 220px; height: 220px; border-radius: 12px; }
.tfa-key { overflow-wrap: anywhere; user-select: all; }
.backup-codes { margin: 0; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font: 600 1.05rem/1.9 ui-monospace, Consolas, monospace; columns: 2; text-align: center; user-select: all; }
.auth__card[hidden] { display: none; }

/* official accounts: verified seal, glowing pill, ringed avatar */
.vseal { display: inline-block; vertical-align: middle; line-height: 0; }
.vseal svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(167, 139, 250, .55)); }
.vseal--sm { width: 15px; height: 15px; margin: -2px 0 0 4px; }
.vseal--lg { width: 30px; height: 30px; margin: -6px 0 0 10px; }
.opill { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 6px; padding: 5px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(110deg, #7c6cff, #a78bfa 30%, #ec4899 55%, #7c6cff 80%); background-size: 220% 100%; animation: opill 5s linear infinite;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 6px 24px rgba(124, 108, 255, .45); }
@keyframes opill { to { background-position: -220% 0; } }
.avatar--official { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px #a78bfa, 0 0 34px rgba(167, 139, 250, .55); }
@media (prefers-reduced-motion: reduce) { .opill { animation: none; } }
