/* learnmingo.com - the site's own styles (DESIGN.md, owner direction 2026-09-29): the page around the product takes
   radialtimers.com's web patterns (one left-aligned column, the Sunrise photo, glass capsules, the footer capsule, the prose
   page) in ChineseCard's glass-pass palette (lib/theme.ps1: warm paper, Fg / Fg2, Current, GlassIn, radius 16), so the site
   and the extension read as one family. The product itself, the demo card, keeps the extension's own tokens and styles
   (ui/theme.css, ui/kit.css, ui/newtab.css): everything here uses its own --w-* tokens, so nothing on this page restyles
   the card. Light and dark follow the system. Home = the photo (glass capsules, reading plates); privacy, contact, 404 and
   the desk = the paper (painted glass, no blur). */

:root {
  color-scheme: light dark;
  /* ChineseCard's glass-pass palette (lib/theme.ps1, SPEC section 51): warm opaque paper, ink, two greys, Current = "this one" */
  --w-ground-0: light-dark(#fcf8f2, #221d27);
  --w-ground-1: light-dark(#f3f1ee, #17131b);
  --w-bg: light-dark(#f7f4f0, #1c1821);           /* the paper's middle, for flat fills and the theme-color */
  --w-card: light-dark(#ffffff, #34373e);          /* Field: an opaque plate */
  --w-rule: light-dark(rgba(0, 0, 0, .10), rgba(255, 255, 255, .12));
  --w-ink: light-dark(#1a1c22, #ecedf0);           /* Fg */
  --w-ink-2: light-dark(#5a5f6b, #c2c6ce);         /* Fg2, 6.2:1 on the paper */
  --w-mark-2: light-dark(#8a8f9a, #afb4be);        /* Fg3: marks, never small text */
  --w-current: light-dark(#3b6ea8, #8fb6ec);       /* Current: the primary fill, links, focus */
  --w-current-hov: light-dark(#34619a, #a6c5f0);
  --w-on-current: light-dark(#ffffff, #1a1c22);
  --w-seal: light-dark(#c62828, #ff7a70);          /* errors (radialtimers' one warm accent, at text contrast) */
  --w-seal-text: var(--w-seal);

  /* painted glass on paper (no blur: there is nothing behind it) */
  --w-in: light-dark(rgba(255, 255, 255, .55), rgba(255, 255, 255, .07));       /* GlassIn */
  --w-in-hov: light-dark(rgba(255, 255, 255, .92), rgba(255, 255, 255, .15));   /* GlassInHover */
  --w-in-brd: light-dark(rgba(0, 0, 0, .10), rgba(255, 255, 255, .10));         /* GlassInEdge */
  --w-hi: inset 0 1px 0 light-dark(#fff, rgba(255, 255, 255, .10));             /* GlassInHi */
  --w-radius: 16px;                                                              /* Theme.Radius */

  /* glass on the photo (radialtimers index.html, sky themes) */
  --wg-bg: light-dark(rgba(255, 255, 255, .50), rgba(26, 26, 34, .46));
  --wg-bg-hov: light-dark(rgba(255, 255, 255, .62), rgba(58, 58, 72, .50));
  --wg-bg-act: light-dark(rgba(255, 255, 255, .74), rgba(12, 12, 18, .60));
  --wg-plate: light-dark(rgba(252, 248, 242, .86), rgba(30, 27, 36, .84));
  --wg-in: light-dark(rgba(255, 255, 255, .40), rgba(255, 255, 255, .09));
  --wg-in-brd: light-dark(rgba(255, 255, 255, .55), rgba(255, 255, 255, .12));
  --wg-brd: light-dark(rgba(255, 255, 255, .62), rgba(255, 255, 255, .18));
  --wg-sheen: linear-gradient(180deg, light-dark(rgba(255, 255, 255, .30), rgba(255, 255, 255, .09)) 0%, rgba(255, 255, 255, 0) 55%);
  --wg-rim: inset 0 1px 0 light-dark(rgba(255, 255, 255, .85), rgba(255, 255, 255, .26)),
    inset 0 -1px 0 light-dark(rgba(255, 255, 255, .25), rgba(255, 255, 255, .05));
  --wg-shadow: 0 10px 30px -6px light-dark(rgba(70, 45, 20, .20), rgba(0, 0, 0, .45)),
    0 1px 3px light-dark(rgba(70, 45, 20, .10), rgba(0, 0, 0, .30)), var(--wg-rim);
  --wg-shadow-sm: 0 4px 14px -3px light-dark(rgba(70, 45, 20, .18), rgba(0, 0, 0, .40)),
    0 1px 2px light-dark(rgba(70, 45, 20, .08), rgba(0, 0, 0, .28)), var(--wg-rim);
  --wg-blur: blur(16px) saturate(1.7);
  --wg-plate-blur: blur(22px) saturate(1.6);
  --wg-ink-2: color-mix(in srgb, var(--w-ink) 72%, var(--w-ink-2));

  --w-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --w-zh: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', sans-serif;
  --w-ease: cubic-bezier(.2, .8, .3, 1.1);
  --w-ring: 0 0 0 3px color-mix(in srgb, var(--w-current) 28%, transparent);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --wg-bg: light-dark(rgba(250, 247, 242, .88), rgba(30, 28, 38, .88));
    --wg-bg-hov: light-dark(rgba(255, 253, 249, .94), rgba(48, 46, 58, .92));
    --wg-bg-act: light-dark(rgba(255, 255, 255, .97), rgba(20, 18, 26, .94));
    --wg-plate: light-dark(rgba(250, 247, 242, .92), rgba(30, 28, 38, .92));
  }
}
@media (prefers-reduced-transparency: reduce) {
  :root {
    --wg-bg: light-dark(rgba(250, 247, 242, .95), rgba(30, 28, 38, .95));
    --wg-bg-hov: light-dark(rgba(255, 253, 249, .98), rgba(48, 46, 58, .97));
    --wg-bg-act: light-dark(#fff, rgba(20, 18, 26, .98));
    --wg-plate: light-dark(rgba(250, 247, 242, .97), rgba(30, 28, 38, .97));
    --wg-blur: none;
    --wg-plate-blur: none;
  }
}

/* ---------- base (the pages without the extension's theme.css get the same resets) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  color: var(--w-ink);
  background: linear-gradient(180deg, var(--w-ground-0), var(--w-ground-1)) fixed var(--w-bg);
  font: 15px/1.65 var(--w-font);
  -webkit-font-smoothing: antialiased;
}
::selection { background: color-mix(in srgb, var(--w-current) 22%, transparent); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10; padding: 6px 14px; border-radius: 999px;
  background: var(--w-card); color: var(--w-ink); font-size: 13px; text-decoration: none; box-shadow: var(--wg-shadow-sm);
}
.skip:focus-visible { top: 12px; }

/* one column, left-aligned, centred in the viewport (radialtimers .wrap) */
.wrap { max-width: 860px; margin: 0 auto; padding: 36px 24px 72px; min-height: 100vh; display: flex; flex-direction: column; }
.wrap-prose { max-width: 640px; }
/* home: a wider column, so the product cards can stand two abreast (the sections grid below, by a container query on main) */
.wrap-home { max-width: 1128px; }
.wrap-home main { container: col / inline-size; }

/* ---------- header: the wordmark left, capsule buttons right ---------- */
.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  color: var(--w-ink); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1;   /* the owner likes this wordmark: a logo, not an eyebrow */
}
.wordmark img { display: block; width: 18px; height: 18px; border-radius: 4.5px; }
@media (hover: hover) and (pointer: fine) { .wordmark:hover { color: var(--w-ink); text-decoration: none; } }
.hright { display: flex; align-items: center; gap: 8px; }

/* a 30px capsule button (header) */
.hbtn {
  display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px;
  border-radius: 999px; font-size: 13px; font-weight: 400; color: var(--w-ink); text-decoration: none; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .hbtn:hover { color: var(--w-ink); text-decoration: none; } }
.hbtn-soon { cursor: default; color: var(--wg-ink-2); }

/* ---------- the store button: the one ink capsule ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px;
  border: 0; border-radius: 999px; background: var(--w-current); color: var(--w-on-current);
  font: 500 15px/1 var(--w-font); text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
@media (hover: hover) and (pointer: fine) { a.cta:hover, button.cta:hover { background: var(--w-current-hov); color: var(--w-on-current); text-decoration: none; } }
/* a press = one step deeper fill, at once (ChineseCard's Pressable: no scale, no fade) */
a.cta:active, button.cta:active:not(:disabled) { background: color-mix(in srgb, var(--w-current-hov) 84%, #000); }
.cta:focus-visible, .hbtn:focus-visible, .wordmark:focus-visible, .foot a:focus-visible, .prose a:focus-visible, .panel a:focus-visible {
  outline: none; box-shadow: var(--w-ring); border-radius: 999px;
}
/* no store page yet: a quiet capsule with the seal square, not a button that does nothing */
.cta-soon {
  gap: 10px; cursor: default; color: var(--w-ink); background: var(--wg-in);
  box-shadow: inset 0 0 0 1px var(--wg-in-brd);
}
.cta-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--w-current); }

/* ---------- Ground A: the Sunrise photo (home) ---------- */
#sky-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#sky-bg::before {
  content: ""; position: absolute; inset: -6px;
  background: url(/img/sky-sunrise.webp) 32% 50% / cover; filter: saturate(1.04) blur(1.2px);
}
#sky-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    light-dark(rgba(243, 236, 228, .64), rgba(20, 26, 54, .60)) 0%,
    light-dark(rgba(243, 236, 228, .28), rgba(20, 26, 54, .34)) 26%,
    light-dark(rgba(243, 236, 228, .22), rgba(20, 26, 54, .30)) 58%,
    light-dark(rgba(243, 236, 228, .60), rgba(20, 26, 54, .58)) 100%);
}
@media (prefers-color-scheme: dark) { #sky-bg::before { filter: brightness(.72) saturate(.92) blur(1.2px); } }
body.sky { background: none; }   /* html carries the ground (ui/theme.css); a body fill would cover the photo */

/* top-level capsules on the photo: the only elements that blur it */
.sky :is(.wordmark, .hbtn) {
  height: 30px; border-radius: 999px;
  background: var(--wg-sheen), var(--wg-bg); border: 1px solid var(--wg-brd); box-shadow: var(--wg-shadow-sm);
  -webkit-backdrop-filter: var(--wg-blur); backdrop-filter: var(--wg-blur);
}
.sky .wordmark { padding: 0 14px 0 6px; }
@media (hover: hover) and (pointer: fine) { .sky .hbtn:not(.hbtn-soon):hover { background: var(--wg-sheen), var(--wg-bg-hov); } }
.sky .hbtn:not(.hbtn-soon):active { background: var(--wg-bg-act); }

/* a reading plate: anything read at length on the photo */
.panel {
  border-radius: var(--w-radius); padding: 24px 28px;
  background: var(--wg-sheen), var(--wg-plate); border: 1px solid var(--wg-brd); box-shadow: var(--wg-shadow);
  -webkit-backdrop-filter: var(--wg-plate-blur); backdrop-filter: var(--wg-plate-blur);
}

/* ---------- hero: the name over 明o and one sentence in ONE glass panel, centred on the photo; the button under it ----------
   The hero's display face is Manrope (fonts/, OFL, weights 400-600, Latin + Latin Extended): the name in the wordmark's own
   form (600, uppercase, .14em), big; the sentence in sentence case, 400. Nothing else on the site uses it. */
@font-face {
  font-family: "Mingo Display"; font-style: normal; font-weight: 400 600; font-display: block;
  src: url(/fonts/manrope-400-600-latin.woff2) format("woff2");
}
:root {
  --w-display: "Mingo Display", var(--w-font);
  /* the hero's glass: radialtimers' --glass-panel (DESIGN.md 1.4) */
  --wg-hero: light-dark(rgba(255, 255, 255, .56), rgba(22, 22, 30, .78));   /* dark raised from .58 so the language colours hold 4.5:1 over the warm photo */
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --wg-hero: light-dark(rgba(250, 247, 242, .90), rgba(30, 28, 38, .90)); }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --wg-hero: light-dark(rgba(250, 247, 242, .96), rgba(30, 28, 38, .96)); }
}
.hero {
  --name-size: clamp(34px, 11vw, 76px);
  margin-top: clamp(36px, 6vh, 64px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-glass {
  width: min(100%, 760px);
  padding: clamp(26px, 4.4vw, 44px) clamp(16px, 4vw, 48px) clamp(30px, 4.6vw, 46px);
  border-radius: 24px;
  background: var(--wg-sheen), var(--wg-hero); border: 1px solid var(--wg-brd); box-shadow: var(--wg-shadow);
  -webkit-backdrop-filter: var(--wg-plate-blur); backdrop-filter: var(--wg-plate-blur);
}
.hero-name, .hero-ming, .hero-title { font-family: var(--w-display); }
.panel h2, .prose h1, .prose h2, .contact-done h2 { font-family: var(--w-font); }
.hero-name {
  margin: 0; padding: .12em 0 .08em .14em;   /* the left pad balances the tracking after the last letter, so the name sits centred */
  font-size: var(--name-size); font-weight: 600; line-height: 1.08; letter-spacing: .14em; text-transform: uppercase;
  color: var(--w-ink); white-space: nowrap;
}
/* 明o: constant under the rolling name, the seal's Kai 明 (Make Me a Hanzi outlines, inline SVG) + an "o" in the display face */
.hero-ming {
  margin: .1em 0 0; font-size: max(14px, calc(var(--name-size) * .24)); font-weight: 400; line-height: 1;
  color: var(--wg-ink-2); white-space: nowrap;
}
.hero-zi { display: inline-block; width: .756em; height: 1em; vertical-align: -.121em; margin-right: .06em; fill: currentColor; }
.hero-title {
  margin: clamp(18px, 2.6vw, 26px) auto 0; max-width: 34em;
  font-size: clamp(17px, 1.05vw + 12.5px, 24px); font-weight: 400; line-height: 1.36; letter-spacing: -0.005em; color: var(--w-ink);
}
.hero-roll { display: block; }
/* the rolling states share one grid cell (site.js), so the box is as wide and tall as its largest state from the start and nothing
   moves; only one state is ever visible (the owner: never a fade). A new state rises .42em into the clipped box. */
.hero-stack { display: grid; justify-items: center; align-items: start; overflow: clip; }
.hero-stack > * { grid-area: 1 / 1; visibility: hidden; }
.hero-stack > .is-on { visibility: visible; }
.hero-name-in, .hero-roll-in { display: inline-block; }
.hero-roll-in { text-wrap: balance; }
.hero-roll [class^="is-"] { font-weight: 600; }
.hero-roll .is-hok { color: var(--lang-hok-text, #A8380A); }
.hero-roll .is-ja { color: var(--lang-ja-text, #9D2B6B); }
.hero-roll .is-ko { color: var(--lang-ko-text, #0A657F); }
.hero-roll .is-vi { color: var(--lang-vi-text, #3446F0); }
.hero-cta { margin-top: 28px; min-height: 40px; }

/* ---------- the live demo: the extension's own card, unchanged ---------- */
.demo {
  margin-top: 28px;
  /* the card reads the extension's tokens and type, as on the new tab */
  font-family: var(--font-ui); font-size: var(--text-base); line-height: var(--leading); color: var(--fg);
}
.demo-langs { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; min-height: 32px; margin-bottom: 16px; }
.demo-chip[aria-pressed="false"] .mw-chip-native { color: inherit; }
/* the extension's own language chip, at the compact size (the page is not a first-run screen) */
.demo .demo-chip { min-height: 36px; padding: 0 14px; font-size: 14px; }
.demo-card { position: relative; min-height: var(--card-min, 560px); border-radius: var(--radius-xl, 16px); }
.demo-card .mc-card { min-height: var(--card-min, auto); }
.demo-card .mc-sent { flex: 1; }
.demo-card noscript img { display: block; border-radius: var(--w-radius); }
.demo-probe { position: absolute; left: -10000px; top: 0; visibility: hidden; pointer-events: none; }

/* ---------- product sections: one column of plates, two abreast when each can be >= ~460px wide ----------
   Decided by the content column's own width (a container query on main), never by the viewport or the device. Each plate is a
   flex column with its screenshot pushed to the bottom, so the plates of a row share one height and their images one baseline;
   an odd last plate spans both columns. */
.sections { display: flex; flex-direction: column; gap: 16px; margin: 56px 0 44px; }
.panel { display: flex; flex-direction: column; align-items: stretch; }
@container col (min-width: 960px) {
  .sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sections > .panel:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.panel h2 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--w-ink); }
.panel p { margin: 0 0 10px; max-width: 36em; font-size: 15px; line-height: 1.65; color: var(--w-ink); }
.panel p:last-of-type { margin-bottom: 0; }
.panel a { color: var(--w-ink); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .panel a:hover { color: var(--w-current); } }
.panel a.cta, .panel a.cta:hover { color: var(--w-on-current); text-decoration: none; }
.shot { display: block; margin-top: auto; padding-top: 16px; }
.shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  border-radius: 12px; border: 1px solid var(--wg-in-brd); background: var(--w-in);
}
.panel .cta { margin-top: 16px; align-self: flex-start; }

/* ---------- footer: one grouped capsule on the photo, a ruled block on paper ---------- */
.foot {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--w-rule);
  display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.5; color: var(--w-ink-2);
}
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.foot a { color: var(--w-ink); font-weight: 400; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--w-current); text-decoration: none; } }
.foot a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.foot-sub, .foot-sub a { color: var(--w-ink-2); }
@media (hover: hover) and (pointer: fine) { .foot-sub a:hover { color: var(--w-ink); } }
.sky .foot {
  position: relative; isolation: isolate; align-self: flex-start; max-width: 100%;
  padding: 8px 18px; border-top: 0; color: var(--w-ink);
}
.sky .foot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 19px; pointer-events: none;
  background: var(--wg-sheen), var(--wg-bg); border: 1px solid var(--wg-brd); box-shadow: var(--wg-shadow-sm);
  -webkit-backdrop-filter: var(--wg-blur); backdrop-filter: var(--wg-blur);
}
.sky .foot-sub, .sky .foot-sub a { color: var(--wg-ink-2); }

/* ---------- prose pages (privacy, contact, 404): radialtimers prose-base ---------- */
.prose h1 { margin: 44px 0 14px; font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.prose h2 { margin: 32px 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 1.3em; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--w-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .prose a:hover { color: var(--w-current); } }
.prose code { font: 500 .9em var(--w-mono); }
.prose .updated { margin-top: 28px; font-size: 13px; color: var(--w-ink-2); }
.prose main { margin-bottom: 56px; }

/* a panel on paper (painted glass) */
.paper-panel {
  border-radius: var(--w-radius); padding: 20px; background: var(--w-in); border: 1px solid var(--w-in-brd); box-shadow: var(--w-hi);
}

/* ---------- the contact form ---------- */
.contact-form, .contact-done { margin: 0; }
.contact-noscript { margin-top: 16px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--w-ink); }
.field .optional { font-weight: 400; color: var(--w-ink-2); }
.field input, .field textarea {
  width: 100%; height: 36px; padding: 0 14px; margin: 0;
  font: 15px/1.5 var(--w-font); color: var(--w-ink);
  background: var(--w-in-hov); border: 1px solid var(--w-in-brd); border-radius: 999px; box-shadow: none;
}
.field textarea { height: 160px; min-height: 96px; padding: 8px 14px; border-radius: 14px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: color-mix(in srgb, var(--w-ink) 45%, transparent); box-shadow: var(--w-ring);
}
.field [aria-invalid="true"] { border-color: var(--w-seal); }
.field-err, .form-note { margin: 0; font-size: 13px; color: var(--w-seal-text); }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-send { align-self: flex-start; height: 36px; padding: 0 18px; font-size: 14px; min-width: 96px; }
.contact-send:disabled { cursor: progress; opacity: .7; }
.contact-done:focus { outline: none; }
.contact-done h2 { margin: 0; font-size: 17px; }
.contact-done p { margin: 8px 0 0; }
.linkish {
  padding: 0; border: 0; background: none; font: inherit; color: var(--w-ink); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) { .linkish:hover { color: var(--w-current); } }
.linkish:active { color: var(--w-current-hov); }
.linkish:focus-visible { outline: none; box-shadow: var(--w-ring); border-radius: 4px; }

/* ---------- depth: the plates tilt toward a mouse pointer (site.js tilt(); hover-capable fine pointers, never reduced motion) ----
   Only transforms move: the plate itself (perspective 900px, <= 3.5deg, 2px lift) and the light inside .tilt-fx, a layer under
   the content that also carries the deeper shadow; the layer's opacity is the only other thing that changes. Leaving eases back
   on a gentle spring. will-change is set only while hovered. */
.tilt { position: relative; isolation: isolate; transition: transform .44s cubic-bezier(.3, 1.28, .56, 1); }
.tilt.is-tilting { transition: transform .14s cubic-bezier(.2, .8, .3, 1); }
.tilt.tilt-hot { will-change: transform; }
.tilt-fx {
  position: absolute; inset: -1px; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  box-shadow: 0 22px 44px -12px light-dark(rgba(70, 45, 20, .26), rgba(0, 0, 0, .55)), 0 3px 8px light-dark(rgba(70, 45, 20, .08), rgba(0, 0, 0, .25));
}
.tilt.is-tilting > .tilt-fx { opacity: 1; transition-duration: .18s; }
.tilt-light {
  position: absolute; left: -50%; top: -50%; width: 200%; height: 200%;
  background: radial-gradient(closest-side circle, light-dark(rgba(255, 255, 255, .42), rgba(255, 255, 255, .09)), rgba(255, 255, 255, 0) 62%);
  background-size: 50% 50%; background-repeat: no-repeat; background-position: 50% 50%;
}
.tilt-soft .tilt-light { opacity: .6; }
/* the demo card: its own plate is opaque, so the light rides over it, softly */
.demo-card > .tilt-fx { z-index: 1; }

/* ---------- smaller screens ---------- */
/* the card at phone width: sizes only (the extension's side panel does the same), so ‹ status › fits a 342px card */
@media (max-width: 640px) {
  .demo-card .mc-card { --word-size: 56px; padding: 20px 16px; gap: 20px; }
}
@media (max-width: 480px) {
  .demo-card .mc-foot { gap: 6px; }
  .demo-card .mc-nav { width: 44px; height: 44px; flex: none; }
  .demo-card .mg-status-btn { padding: 0 10px; }
}
@media (max-width: 480px) {
  .panel { padding: 20px 18px; }
}
@media (max-width: 430px) {
  .wordmark { font-size: 12px; letter-spacing: .1em; }
  .top .hbtn { display: none; }
  .foot-row { gap: 8px 14px; }
}


/* the owner-only Desk link (shown by owner.js after the worker confirms the owner session) */
#desk-link { margin-left: auto; }

/* the constant line: 明-o (Mingo); the reading in parentheses is the brand, set a touch lighter */
.hero-ming-rd { font-weight: 400; }
