:root {
  --background: #111019;
  --text: #f7f4fc;
  --accent: #d8c9ff;
  --rule: #393449;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 600 14px/1.4 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  gap: 12px;
  padding-inline: clamp(12px, 3vw, 32px);
  border-bottom: 1px solid var(--rule);
}
a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a:hover { color: var(--accent); }
.back span { font-size: 20px; }
.brand img { border-radius: 6px; }
main { min-height: 0; }
iframe { display: block; width: 100%; height: 100%; border: 0; background: white; color-scheme: normal; }
noscript p { margin: 8px 16px; }
