/* ai-space landing page. Tokens follow the panel's default "Aurora" theme
   (ai-space src/web/styles.css): #f6f7fb ground, indigo/pink/cyan aurora,
   glass cards with a hairline border and a soft shadow, Inter / PingFang SC. */

:root {
  --bg: #f6f7fb;
  --text: #0e1116;
  --muted: rgba(14, 17, 22, 0.62);
  --faint: rgba(14, 17, 22, 0.42);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --hairline: rgba(14, 17, 22, 0.08);
  --shadow-color: rgba(31, 38, 135, 0.08);
  --solid: #ffffff;
  --accent: #8b5cf6;
  --link: #6366f1;
  --blob-a: #c7d2fe; --blob-b: #fbcfe8; --blob-c: #a5f3fc;
  --hero-a: #b9cde0; --hero-b: #cfd6f4; --hero-c: #e4f2f6;
  --dot: rgba(14, 17, 22, 0.13);
  --dark: #0e1116; --on-dark: #ffffff;
  --code-bg: #12141c; --code-fg: #e6e8ee;
  --radius: 18px;
  --shadow: 0 8px 32px var(--shadow-color);
  --glass-filter: blur(20px) saturate(180%);
  --prompt-inset: rgba(255, 255, 255, 0.6);
  --dock-bg: var(--glass-strong); --dock-border: var(--glass-border); --dock-on: var(--hairline);
  color-scheme: light;
}
/* Dark theme: data-theme is set before the first paint by the inline script in the page head
   (the stored choice, else prefers-color-scheme); the floating button in main.js switches it. */
:root[data-theme="dark"] {
  --bg: #1c2030;
  --text: #f1f4f8;
  --muted: rgba(235, 235, 245, 0.66);
  --faint: rgba(235, 235, 245, 0.42);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(40, 45, 62, 0.9);
  --glass-border: rgba(255, 255, 255, 0.14);
  --hairline: rgba(255, 255, 255, 0.11);
  --shadow-color: rgba(0, 0, 0, 0.32);
  --solid: #262b3d;
  --blob-a: #2a2872; --blob-b: #5f1642; --blob-c: #134354;
  --hero-a: #283553; --hero-b: #2f2a5a; --hero-c: #1e3a48;
  --dot: rgba(255, 255, 255, 0.12);
  --dark: #f1f4f8; --on-dark: #0e1116;
  --code-bg: #0b0d12;
  --prompt-inset: rgba(255, 255, 255, 0.06);
  --dock-bg: rgba(18, 20, 27, 0.9); --dock-border: rgba(255, 255, 255, 0.1); --dock-on: rgba(255, 255, 255, 0.12);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  background: var(--bg); color: var(--text);
  font: 500 16px/1.55 Inter, -apple-system, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); border-bottom: 1px solid var(--hairline); }
.nav-inner { max-width: 1240px; margin: 0 auto; height: 68px; padding: 0 24px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.brand.small { font-size: 15px; gap: 8px; }
.brand.small img { border-radius: 5px; }
.nav-links { display: flex; gap: 32px; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* Language menu: a <details> whose summary shows the current language and opens the list of pages. */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 14px; border-radius: 10px; border: 1px solid var(--hairline); background: var(--glass-strong); font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--text); border-color: var(--glass-border); }
.lang summary svg { color: var(--muted); flex: none; }
.lang-caret { transition: transform 0.2s; }
.lang[open] .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 140px; padding: 6px; display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--hairline); background: var(--bg); box-shadow: 0 12px 32px var(--shadow-color); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.lang-menu a:hover { color: var(--text); background: var(--glass-strong); }
.lang-menu a[aria-current="page"] { color: var(--text); font-weight: 600; }
.lang-menu a[aria-current="page"]::after { content: "\2713"; color: var(--accent); }
/* Floating corner controls: the "this page is also in …" card (bottom left, shown by main.js only when
   the browser prefers another language) and the theme button (bottom right). */
.lang-hint {
  position: fixed; z-index: 30; left: 24px; bottom: 24px; max-width: min(460px, calc(100% - 24px - 24px - 44px - 12px));
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px;
  background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: 0 12px 32px var(--shadow-color);
  backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); font-size: 14px; color: var(--muted);
}
.lang-hint[hidden] { display: none; }
.lang-hint > svg { flex: none; color: var(--accent); }
.lang-hint-text { min-width: 0; }
.lang-hint a { color: var(--link); font-weight: 600; white-space: nowrap; }
.lang-hint a:hover { text-decoration: underline; }
.lang-hint-close { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--muted); }
.lang-hint-close:hover { color: var(--text); background: var(--hairline); }
.theme-toggle {
  position: fixed; z-index: 30; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: 0 8px 24px var(--shadow-color);
  backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); color: var(--text); transition: transform 0.15s;
}
.theme-toggle:hover { transform: scale(1.06); color: var(--accent); }
.theme-toggle:focus-visible, .lang-hint-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle .i-sun, :root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.btn-dark, .btn-light { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { opacity: 0.88; }
.btn-light { background: var(--glass-strong); border: 1px solid var(--hairline); }

/* ---- hero ---- */
.hero { padding: 24px 24px 0; }
.hero-card {
  position: relative; overflow: hidden; max-width: 1880px; margin: 0 auto;
  min-height: 720px; border-radius: 28px; border: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 60% 70% at 15% 0%, var(--hero-a), transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 10%, var(--hero-b), transparent 70%),
    linear-gradient(180deg, var(--hero-a) 0%, var(--hero-c) 62%, var(--bg) 100%);
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 96px 24px 220px;
}
.hero-card::before { /* dotted grid, fading out toward the middle */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, transparent 40%, #000 85%);
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, transparent 40%, #000 85%);
}
.hero-ghost { /* the launcher seen through frosted glass */
  position: absolute; top: 50%; left: 50%; translate: -50% -55%;
  display: grid; grid-template-columns: repeat(4, 96px); gap: 34px 54px;
  filter: blur(14px); opacity: 0.32;
}
.hero-ghost img { width: 96px; height: 96px; }
.hero-cloud { position: absolute; inset: 0; filter: blur(48px); pointer-events: none; }
.hero-cloud i { position: absolute; border-radius: 50%; background: var(--bg); opacity: 0.75; }
.hero-cloud i:nth-child(1) { width: 62%; height: 52%; left: 19%; top: 22%; }
.hero-cloud i:nth-child(2) { width: 34%; height: 34%; left: 30%; top: 12%; opacity: 0.6; }
.hero-cloud i:nth-child(3) { width: 30%; height: 30%; left: 48%; top: 14%; opacity: 0.55; }
.hero-cloud i:nth-child(4) { width: 80%; height: 30%; left: 10%; top: 62%; opacity: 0.5; }
.hero-content { position: relative; text-align: center; width: 100%; max-width: 1060px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 82px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2vw, 26px); color: var(--muted); font-weight: 400; letter-spacing: -0.01em; }

.prompt {
  margin: 56px auto 0; max-width: 760px; display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 10px 10px 10px 24px; border-radius: 32px;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(31, 38, 135, 0.1), inset 0 1px 0 var(--prompt-inset);
  backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter);
}
.prompt-mark { color: var(--accent); font-weight: 700; }
/* The prompt carries the full GitHub address of the install guide, so it wraps instead of being cut off. */
.prompt code { flex: 1; min-width: 0; text-align: left; font: 400 16px/1.5 "SF Mono", ui-monospace, Menlo, monospace; color: var(--muted); overflow-wrap: anywhere; }
.prompt code .url { white-space: nowrap; }
.prompt-send { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #5f6670; color: #fff; transition: background 0.2s; }
.prompt-send:hover { background: var(--accent); }
.prompt-send .i-done { display: none; }
.prompt-send.done { background: #34c759; }
.prompt-send.done .i-copy { display: none; }
.prompt-send.done .i-done { display: block; }
.prompt-hint { margin-top: 12px; font-size: 13px; color: var(--faint); }

.platforms {
  margin: 22px auto 0; max-width: 820px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  padding: 10px; border-radius: 16px;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.6px); background-size: 8px 8px;
  border: 1px solid var(--hairline);
}
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--hairline); box-shadow: 0 1px 2px var(--shadow-color); font-size: 16px; }

/* ---- product mockup: the panel's home screen (ai-space src/web: Omnibox, launcher, widgets, dock) ---- */
.mock-wrap { position: relative; margin-top: -150px; padding: 0 24px; perspective: 1800px; height: 620px; overflow: hidden;
  mask-image: linear-gradient(180deg, #000 78%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); }
.mock {
  position: relative; isolation: isolate; max-width: 1600px; margin: 0 auto; height: 640px;
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 60px var(--shadow-color); transform: rotateX(12deg); transform-origin: 50% 0;
  overflow: hidden; font-size: 15px;
}
.p-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; filter: blur(70px) saturate(120%); }
.p-aurora i { position: absolute; border-radius: 50%; opacity: 0.55; }
.p-aurora i:nth-child(1) { width: 46%; aspect-ratio: 1; left: -8%; top: -30%; background: var(--blob-a); }
.p-aurora i:nth-child(2) { width: 38%; aspect-ratio: 1; right: -6%; top: 6%; background: var(--blob-b); }
.p-aurora i:nth-child(3) { width: 42%; aspect-ratio: 1; left: 24%; bottom: -40%; background: var(--blob-c); }
.p-shell { max-width: 1080px; margin: 0 auto; padding: 56px 64px 0; }
.p-omni {
  max-width: 640px; margin: 0 auto 40px; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 26px; box-shadow: var(--shadow);
  backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter);
}
.p-glyph { color: var(--accent); font-size: 18px; line-height: 32px; }
.p-ph { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
.p-mic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--text) 8%, transparent); }
.p-launcher { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 12px; margin-inline: -16px; }
.p-launcher figure { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.p-launcher img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow); }
.p-launcher .agent img { border-radius: 50%; }
.p-launcher figcaption { font-size: 13px; text-align: center; line-height: 1.35; }
.p-widgets { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.p-widget {
  display: flex; flex-direction: column; padding: 14px 16px; min-width: 0;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter);
}
.p-whead { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.p-whead img { width: 22px; height: 22px; border-radius: 6px; }
.p-whead time, .p-list time { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.p-hero { padding: 0 6px; font-size: 40px; line-height: 1.05; font-weight: 650; letter-spacing: -0.02em; }
.p-widget small { padding: 4px 6px 0; font-size: 12px; color: var(--muted); }
.p-spark { width: 100%; height: 28px; margin-top: 6px; }
.p-list { list-style: none; }
.p-list li { display: flex; align-items: baseline; gap: 10px; padding: 6px 4px; font-size: 13px; font-weight: 400; }
.p-list li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-status { display: flex; align-items: center; gap: 10px; padding: 4px 6px 6px; }
.p-status i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: none; }
.p-status b { font-size: 18px; font-weight: 600; line-height: 1.25; }
.p-dock {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 7px 10px;
  border-radius: 999px; background: var(--dock-bg); border: 1px solid var(--dock-border); box-shadow: var(--shadow);
  backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); color: var(--muted);
}
.p-dock span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.p-dock span.on { background: var(--dock-on); color: var(--text); }
.p-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.p-dock i { width: 1px; height: 24px; margin: 0 4px; background: var(--hairline); }
/* The desk pet: the first idle frames of the panel's sprite sheet (8 columns x 9 rows). */
.p-pet {
  position: absolute; right: 14%; bottom: 0; width: 70px; aspect-ratio: 96 / 104;
  background: url(/panel/pet.webp) 0 0 / 800% 900% no-repeat; animation: p-pet 1.1s steps(6) infinite;
}
@keyframes p-pet { to { background-position-x: calc(-6 * 70px); } }
@media (prefers-reduced-motion: reduce) { .p-pet { animation: none; } }

/* ---- sections ---- */
.section { max-width: 1160px; margin: 0 auto; padding: 110px 24px 0; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.section h2, .cta h2 { margin-top: 10px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; max-width: 820px; }
.card { position: relative; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); padding: 28px; }
.card h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.card p { margin-top: 8px; color: var(--muted); font-weight: 400; }

.section::before { /* the panel's aurora behind the glass */
  content: ""; position: absolute; z-index: -1; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none;
}
#pillars, #how { position: relative; }
#pillars::before { background: var(--blob-a); left: -10vw; top: 120px; }
#how::before { background: var(--blob-b); right: -8vw; top: 80px; }
#core { position: relative; }
#core::before { background: var(--blob-c); left: 30%; top: 160px; opacity: 0.35; }

.pillars { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-icons { display: flex; margin-bottom: 26px; }
.card-icons img { width: 64px; height: 64px; margin-right: -12px; filter: drop-shadow(0 6px 14px var(--shadow-color)); }
.card-widget { margin-bottom: 26px; height: 64px; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--hairline); font-size: 12px; color: var(--muted); }
.card-widget b { color: var(--text); font-size: 15px; font-weight: 600; }
.card-widget small { position: absolute; right: 44px; top: 50px; font-size: 12px; color: var(--accent); }

.core { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: var(--glass); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.core-item { padding: 26px 24px 30px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.core-item b { font-size: 17px; font-weight: 600; }
.core-item p { margin-top: 8px; color: var(--muted); font-size: 14.5px; font-weight: 400; }

.steps { margin-top: 44px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-weight: 700; margin-bottom: 18px; }
.code { margin-top: 20px; padding: 24px 28px; border-radius: var(--radius); background: var(--code-bg); color: var(--code-fg); font: 400 14.5px/1.7 "SF Mono", ui-monospace, Menlo, monospace; overflow-x: auto; }
.c-dim { color: #7c8496; }
.c-k { color: #a5b4fc; }
.c-s { color: #f9a8d4; }

.cta { padding: 120px 24px 0; }
.cta-card { max-width: 1160px; margin: 0 auto; text-align: center; padding: 72px 24px; border-radius: 28px; border: 1px solid var(--hairline);
  background: radial-gradient(ellipse 50% 80% at 20% 0%, var(--blob-a), transparent 70%), radial-gradient(ellipse 50% 80% at 80% 100%, var(--blob-b), transparent 70%), radial-gradient(ellipse 40% 60% at 60% 30%, var(--blob-c), transparent 70%), var(--solid); }
.cta h2 { margin: 0 auto; }
.cta p { margin-top: 14px; color: var(--muted); font-weight: 400; font-size: 18px; }
.cta-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.foot { max-width: 1160px; margin: 0 auto; padding: 56px 24px 48px; display: flex; gap: 20px; justify-content: space-between; align-items: center; color: var(--faint); font-size: 14px; flex-wrap: wrap; }
.foot .brand { color: var(--text); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .p-shell { padding-inline: 40px; }
  .core { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding: 12px 12px 0; }
  .hero-card { min-height: 0; padding: 72px 16px 190px; border-radius: 22px; }
  .hero h1 br { display: none; }
  .hero-ghost { grid-template-columns: repeat(3, 72px); gap: 24px 30px; }
  .hero-ghost img { width: 72px; height: 72px; }
  .prompt { min-height: 56px; margin-top: 40px; padding-left: 18px; border-radius: 28px; }
  .prompt code { font-size: 14px; }
  .prompt code .url { white-space: normal; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .platforms .chip:last-child:nth-child(odd) { grid-column: span 2; }
  .mock-wrap { padding: 0 12px; height: 520px; }
  .mock { transform: rotateX(8deg); }
  .p-shell { padding: 36px 18px 0; }
  .p-omni { margin-bottom: 28px; }
  .p-ph { font-size: 14px; }
  .p-launcher { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: 0; gap: 20px 8px; }
  .p-launcher figure:nth-child(n+9) { display: none; }
  .p-launcher img { width: 56px; height: 56px; }
  .p-launcher figcaption { font-size: 12px; }
  .p-widgets { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .p-widget:nth-child(n+2) { display: none; }
  .p-pet { right: 8%; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 16px 0; }
  .cta { padding: 80px 16px 0; }
}
@media (max-width: 520px) {
  .core { grid-template-columns: 1fr; }
  .lang summary { padding: 0 10px; }
  .lang summary svg:first-child { display: none; }
  .lang-hint { left: 16px; bottom: 16px; max-width: calc(100% - 16px - 16px - 44px - 10px); align-items: flex-start; }
  .lang-hint > svg { margin-top: 2px; }
  .lang-hint-text a { display: inline-block; }
  .theme-toggle { right: 16px; bottom: 16px; }
  .btn-dark { padding: 0 14px; }
}
