/* Glance download site. The page is a desktop: the wallpaper Glance's own
   pictures are drawn over, and on it, frosted glass like the panel's. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00B0, U+00B7, U+2013-2014, U+2019, U+2192;
}

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.8);
  --ink-3: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.3);
  --glass: rgba(255, 255, 255, 0.09);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --glass-edge: rgba(255, 255, 255, 0.24);
  --link: #a8dcff;
  --button: #ffffff;
  --button-ink: #16182a;
  --shadow: 0 1px 1px rgba(10, 12, 40, 0.12), 0 24px 60px -24px rgba(10, 12, 40, 0.55);
  --radius: 16px;
  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* No scrollbar at the window's edge: the edge is where the panel comes from,
   and the pointer pushed against it must meet the page, not a scrollbar. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #2b2f5c; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }

/* The wallpaper: the blue, orange and violet of the pictures, held still
   behind the page as the desktop is behind the panel. */
body::before {
  content: "";
  position: fixed;
  inset: -10vmax;
  z-index: -1;
  background:
    radial-gradient(60vmax 50vmax at 8% 12%, #1d5fd0 0%, transparent 70%),
    radial-gradient(50vmax 45vmax at 50% 55%, #c7733a 0%, transparent 70%),
    radial-gradient(60vmax 55vmax at 95% 20%, #9a3f9e 0%, transparent 70%),
    radial-gradient(55vmax 50vmax at 90% 95%, #7a48d6 0%, transparent 70%),
    radial-gradient(50vmax 45vmax at 5% 95%, #1c8a9c 0%, transparent 70%),
    #3a3a78;
  filter: saturate(0.9);
}
/* A veil over it, so text reads anywhere on it. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 14, 34, 0.42), rgba(12, 14, 34, 0.3) 40%, rgba(12, 14, 34, 0.5));
  pointer-events: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em;
  background: var(--glass-strong); padding: 0.1em 0.35em; border-radius: 5px; }
kbd { font-family: var(--sans); font-size: 0.86em; padding: 0.05em 0.45em; border-radius: 6px;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; background: var(--glass-strong);
  white-space: nowrap; }

:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: #20223f; padding: 6px 12px; }

/* Frosted glass, as the panel's lanes. */
.glass, .feature, .stats, .faq, .release, .phone, .repo, .top-bar {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow);
}

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 5; padding: 12px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(20, 22, 48, 0.28); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  opacity: 0; transition: opacity .2s; }
.top.scrolled::before { opacity: 1; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
  text-decoration: none; font-family: "Archivo", var(--sans); font-weight: 600; font-size: 19px;
  letter-spacing: -0.01em; }
.mark img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 2px; font-size: 14.5px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--glass-strong); }
.nav .lang { border: 1px solid var(--line-strong); margin-left: 8px; }
@media (max-width: 719px) { .nav .sec { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 40px 0 64px; text-align: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } }
.hero-text { max-width: 760px; margin: 0 auto; }
.pill { display: inline-block; margin: 0 0 22px; padding: 4px 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hero h1 { font-family: var(--display); font-weight: 500; margin: 0;
  font-size: clamp(34px, 6vw, 60px); line-height: 1.18; letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(10, 12, 40, 0.25); }
html[lang="en"] .hero h1, html[lang="en"] h2 { font-weight: 600; }
html[lang="en"] .hero h1 { letter-spacing: -0.025em; line-height: 1.08; }
.lede { margin: 22px auto 0; font-size: clamp(16.5px, 2.1vw, 19px); color: var(--ink-2); max-width: 34em; }

.get { margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  border-radius: 12px; transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn-main { background: var(--button); color: var(--button-ink); padding: 14px 28px 14px 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 40px -14px rgba(8, 10, 40, 0.7); text-align: left; }
.btn-main:hover { background: rgba(255, 255, 255, 0.9); transform: translateY(-1px); }
.btn-main:active { transform: translateY(0); background: rgba(255, 255, 255, 0.82); }
.btn-main svg { width: 24px; height: 24px; flex: none; }
.btn-main .t { display: flex; flex-direction: column; line-height: 1.3; }
.btn-main .t b { font-size: 18px; font-weight: 600; }
.btn-main .t small { font-size: 13px; color: rgba(22, 24, 42, 0.62); }
.get .via { margin: 16px 0 0; font-size: 14.5px; color: var(--ink-3); }
.get .via a { color: var(--ink); }
.get .sys { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-3); }
.not-windows { display: none; margin: 16px auto 0; font-size: 14.5px; color: var(--ink-2);
  padding: 10px 16px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-edge); max-width: 30em; }
.is-otheros .not-windows { display: block; }

/* phone visitors: say it's a Windows program, offer to copy the link */
.phone { display: none; margin: 28px auto 0; padding: 18px; border-radius: var(--radius);
  text-align: left; max-width: 460px; }
.is-phone .phone { display: block; }
.is-phone .get { margin-top: 18px; }
.is-phone .get .btn-main { background: var(--glass); color: var(--ink); box-shadow: none;
  border: 1px solid var(--line-strong); padding: 10px 18px 10px 14px; }
.is-phone .get .btn-main .t small { color: var(--ink-3); }
.is-phone .get .btn-main .t b { font-size: 16px; }
.phone p { margin: 0 0 12px; }
.phone .url { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 14px;
  padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.18); color: var(--ink);
  word-break: break-all; user-select: all; -webkit-user-select: all; margin-bottom: 12px; }
.copy { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  font-size: 17px; background: var(--button); color: var(--button-ink); border-radius: 12px;
  padding: 12px 20px; width: 100%; }
.copy:hover { background: rgba(255, 255, 255, 0.9); }
.phone .hint { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }

figure { margin: 0; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); text-align: center; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--link); letter-spacing: 0.06em;
  margin: 0 0 10px; }
html[lang="en"] .eyebrow { text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 4vw, 38px);
  line-height: 1.3; margin: 0 0 14px; letter-spacing: 0.01em; }
html[lang="en"] h2 { letter-spacing: -0.02em; line-height: 1.15; }
.sub { margin: 0 0 40px; color: var(--ink-2); max-width: 40em; font-size: 17px; }

/* features */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { border-radius: var(--radius); padding: 24px 22px 22px; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--glass-strong);
  border: 1px solid var(--glass-edge); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 21px; height: 21px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }


/* quiet numbers */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0;
  border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats div { padding: 24px 22px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin: -1px 0 0 -1px; }
.stats dt { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15; }
.stats dd { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.quiet-note { margin: 20px 0 0; color: var(--ink-3); font-size: 15px; max-width: 46em; }

/* FAQ */
.faq { border-radius: var(--radius); max-width: 860px; padding: 4px 24px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 16.5px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px;
  margin-top: -6px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; }
.faq .a p { margin: 0 0 10px; }
.faq .a p:last-child { margin-bottom: 0; }
.faq .a ol, .faq .a ul { margin: 0 0 10px; padding-left: 1.4em; }
.faq .a li { margin: 4px 0; }
.faq strong { color: var(--ink); }

/* changelog */
.log { max-width: 860px; }
.release { border-radius: var(--radius); padding: 22px 24px; margin-bottom: 12px; }
.release > summary { cursor: pointer; list-style: none; }
.release > summary::-webkit-details-marker { display: none; }
.release .head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.release .v { font-family: var(--display); font-weight: 600; font-size: 21px; }
.release .d { color: var(--ink-3); font-size: 14px; }
.release .tag { font-size: 12px; font-weight: 600; color: var(--button-ink); background: var(--button);
  border-radius: 999px; padding: 1px 10px; }
.notes { color: var(--ink-2); font-size: 15px; margin-top: 12px; }
.notes h4 { margin: 16px 0 4px; font-size: 14.5px; color: var(--ink); }
.notes ul { margin: 0; padding-left: 1.3em; }
.notes li { margin: 5px 0; }
.notes p { margin: 10px 0 0; }
details.release:not([open]) { padding-top: 15px; padding-bottom: 15px; }
details.release > summary .head::after { content: attr(data-more); margin-left: auto;
  font-size: 14px; color: var(--link); }
details.release[open] > summary .head::after { content: attr(data-less); }
.log-more { margin: 18px 0 0; }

/* bottom download */
.again { text-align: center; }
.again .sub { margin-left: auto; margin-right: auto; }
.again .get { margin-top: 8px; display: flex; flex-direction: column; align-items: center; }
.again .phone { margin: 0 auto 8px; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.repo { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.repo:hover { background: var(--glass-strong); }
.repo svg { width: 20px; height: 20px; }
.repo small { color: var(--ink-3); font-weight: 400; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: 14px;
  background: rgba(12, 14, 34, 0.25); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer p { margin: 0; }
footer a { color: var(--ink-2); }

/* ---------- the sources, in the header ---------- */
@media (max-width: 520px) { .nav .src { display: none; } }

/* ---------- the hero's hint toward the edge ---------- */
.try { display: inline-flex; align-items: center; gap: 10px; margin: 36px 0 0; padding: 8px 16px;
  border-radius: 999px; font-size: 14.5px; color: var(--ink-2); background: var(--glass);
  border: 1px solid var(--glass-edge); }
.try svg { width: 18px; height: 18px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
.peek { display: none; appearance: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600;
  margin: 32px auto 0; padding: 10px 22px; border-radius: 999px; color: var(--ink);
  background: var(--glass-strong); border: 1px solid var(--line-strong); }
/* Without a pointer to push, a button does it. */
@media (hover: none) {
  .try { display: none; }
  .peek { display: block; }
}

/* The edge of the window, glowing until the panel comes out of it. */
.edge-glow { position: fixed; z-index: 19; right: 0; top: 22vh; height: 56vh; width: 3px; border-radius: 2px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95), transparent);
  box-shadow: 0 0 22px 5px rgba(140, 190, 255, 0.55);
  animation: glow 2.4s ease-in-out infinite; transition: opacity .3s; pointer-events: none; }
.edge-glow.gone { opacity: 0; }
@keyframes glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (hover: none) { .edge-glow { display: none; } }

/* ---------- the panel at the edge ---------- */
.drawer { position: fixed; z-index: 20; right: 12px; top: 50%; width: min(704px, calc(100vw - 24px)); max-height: calc(100vh - 24px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; transform: translate(calc(100% + 40px), -50%);
  transition: transform .45s cubic-bezier(.2, .9, .25, 1); }
.drawer::-webkit-scrollbar { display: none; }
.drawer.open { transform: translate(0, -50%); }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } .edge-glow, .try svg { animation: none; } }

/* ---------- the looks ---------- */
.looks { margin-top: 80px; }
.looks-text { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 28px; }
.looks-text > div { max-width: 36em; }
.looks-text h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3; margin: 0 0 12px; }
html[lang="en"] .looks-text h3 { font-weight: 600; letter-spacing: -0.015em; }
.looks-text p { margin: 0; color: var(--ink-2); }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 12px;
  background: rgba(10, 12, 34, 0.25); border: 1px solid var(--glass-edge); }
.seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: var(--x, 4px); width: var(--w, 0);
  border-radius: 8px; background: var(--button); box-shadow: 0 4px 14px -4px rgba(8, 10, 40, 0.5);
  transition: left .3s cubic-bezier(.2, .8, .2, 1), width .3s cubic-bezier(.2, .8, .2, 1); }
.seg button { position: relative; appearance: none; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14.5px; color: var(--ink-2); padding: 7px 16px; border-radius: 8px;
  white-space: nowrap; transition: color .2s; }
@media (max-width: 440px) { .seg button { padding: 7px 11px; font-size: 14px; } }
.seg button[aria-pressed="true"] { color: var(--button-ink); font-weight: 600; }
/* A slice of desktop behind the panel, bright enough for its glass to show. */
.stage { display: flex; justify-content: center; padding: 36px 16px; border-radius: 20px;
  border: 1px solid var(--glass-edge); overflow: hidden;
  background:
    radial-gradient(70% 60% at 10% 10%, #2a6ee0 0%, transparent 70%),
    radial-gradient(60% 60% at 55% 55%, #e0843f 0%, transparent 70%),
    radial-gradient(70% 70% at 100% 15%, #b04aa8 0%, transparent 70%),
    radial-gradient(70% 60% at 95% 100%, #8350e0 0%, transparent 70%),
    radial-gradient(60% 60% at 0% 100%, #1f9bb0 0%, transparent 70%),
    #4a3f86;
  box-shadow: var(--shadow); }

/* ---------- the panel itself ---------- */
.gp { --line-c: rgba(255, 255, 255, 0.12); width: min(704px, 100%); display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; text-align: left; color: #fff; font-size: 12px; line-height: 1.4;
  font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
  font-variant-numeric: tabular-nums; }
.gp .col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gp .foot { grid-column: 1 / -1; }
@media (max-width: 760px) { .gp { grid-template-columns: minmax(0, 1fr); } }
/* As in Glance, a shorter column's lanes share what is left over, so both
   columns end at the same line. */
.gp .lane { flex: 1 0 auto; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 18px rgba(255, 255, 255, 0.06),
    0 12px 30px -14px rgba(8, 10, 40, 0.55); }
.gp .lh { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; }
.gp .lh b { font-weight: 600; font-size: 12.5px; }
.gp .model { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, 0.62); font-size: 11.5px; }
.gp .hr { color: rgba(255, 255, 255, 0.86); }
.gp .top { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 6px; }
.gp .big { white-space: nowrap; }
.gp .big .n { font-family: "Archivo", var(--sans); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.gp .big .u { font-size: 12px; color: rgba(255, 255, 255, 0.7); margin-left: 3px; }
.gp .chart { display: block; width: 100%; height: 40px; overflow: visible; }
.gp .chart .grid { stroke: var(--line-c); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gp .rows { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 10px; margin: 8px 0 0; }
.gp .rows dt { color: rgba(255, 255, 255, 0.62); }
.gp .rows dd { margin: 0; }
.gp .threads { display: block; width: 100%; height: 14px; margin-top: 10px; }
.gp .threads .track, .gp .bar .track { fill: rgba(255, 255, 255, 0.12); }
.gp .threads .on { fill: #5aa9ff; transition: y .5s, height .5s; }
.gp .vram { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 8px; }
.gp .vram .k { color: rgba(255, 255, 255, 0.62); }
.gp .bar { display: block; width: 100%; height: 4px; }
.gp .bar rect:last-child { transition: width .5s; }
.gp .rates { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; margin: 0; }
.gp .rates dt { color: rgba(255, 255, 255, 0.62); }
.gp .rates dt::before { content: ""; display: inline-block; width: 8px; height: 2px; border-radius: 1px;
  margin-right: 6px; vertical-align: middle; background: #c58bff; }
.gp .rates dt.up::before { background: #5fd6e6; }
.gp .rates dd { margin: 0; text-align: right; white-space: nowrap; }
.gp .net .top { grid-template-columns: 124px minmax(0, 1fr); }
.gp .pair { position: relative; height: 40px; }
.gp .pair .chart { position: absolute; inset: 0; }
.gp table { width: 100%; border-collapse: collapse; }
.gp th { font-weight: 400; color: rgba(255, 255, 255, 0.62); text-align: right; padding: 0 0 4px 8px; }
.gp th:first-child { text-align: left; font-weight: 600; color: #fff; font-size: 12.5px; padding-left: 0; }
.gp td { text-align: right; padding: 1px 0 1px 8px; }
.gp td:first-child { text-align: left; padding-left: 0; }
.gp .foot { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px;
  border-radius: 999px; color: rgba(255, 255, 255, 0.86); }
.gp .gear { width: 15px; height: 15px; opacity: 0.75; }

/* Chart paper: one dark sheet, its parts ruled apart, charts in white ink. */
[data-look="paper"] .gp { gap: 0; background: #17201c; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px -20px rgba(0, 0, 0, 0.7); }
[data-look="paper"] .gp .lane { background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
[data-look="paper"] .gp .lane:first-child { border-top: 0; }
[data-look="paper"] .gp .col, [data-look="win11"] .gp .col { gap: 0; }
[data-look="paper"] .gp .col + .col { border-left: 1px solid rgba(255, 255, 255, 0.08); }
[data-look="paper"] .gp .foot { border-top: 1px solid rgba(255, 255, 255, 0.08); }
@media (max-width: 760px) { [data-look="paper"] .gp .col + .col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); } }
[data-look="paper"] .gp .chart polyline { stroke: #eef3ee; }
[data-look="paper"] .gp .chart circle { fill: #eef3ee; }
[data-look="paper"] .gp .chart path { fill: rgba(238, 243, 238, 0.06); }
[data-look="paper"] .gp .chart .grid { stroke: rgba(255, 255, 255, 0.07); }
[data-look="paper"] .gp .threads .on, [data-look="paper"] .gp .bar rect:last-child { fill: #eef3ee; }
[data-look="paper"] .gp .rates dt::before { background: #eef3ee; }
[data-look="paper"] .gp .rates dt.up::before { background: rgba(238, 243, 238, 0.5); }
[data-look="paper"] .gp .foot { border-radius: 0; }

/* Windows 11: one pane of acrylic, as the Start menu's, in its accent blue. */
[data-look="win11"] .gp { gap: 0; padding: 4px 0; border-radius: 8px; background: rgba(32, 30, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(40px) saturate(170%); backdrop-filter: blur(40px) saturate(170%);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.65); }
[data-look="win11"] .gp .lane { background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-look="win11"] .gp .lane + .lane, [data-look="win11"] .gp .foot { border-top: 1px solid rgba(255, 255, 255, 0.07); }
[data-look="win11"] .gp .col + .col { border-left: 1px solid rgba(255, 255, 255, 0.07); }
@media (max-width: 760px) { [data-look="win11"] .gp .col + .col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); } }
[data-look="win11"] .gp .chart polyline { stroke: #60cdff; }
[data-look="win11"] .gp .chart circle { fill: #60cdff; }
[data-look="win11"] .gp .chart path { fill: rgba(96, 205, 255, 0.12); }
[data-look="win11"] .gp .threads .on, [data-look="win11"] .gp .bar rect:last-child { fill: #60cdff; }
[data-look="win11"] .gp .foot { border-radius: 0; }

/* ---------- parts rising into place ---------- */
.rise { opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i, 0) * 70ms); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { transform: none; transition: opacity .3s; } }
