:root {
  --bg: #000;
  --ink: #f5f5f7;
  --secondary: #d1d1d6;
  --tertiary: #aeaeb2;
  --blue: #0a84ff;
  --link: #9ecbff;
  --hover-link: #e7f2ff;
  --fill: #0a84ff;
  --fill-ink: #fff;
  --mark: #fff;
  --green: #30d158;
  --orange: #ff9f0a;
  --red: #ff6961;
  --sep: rgba(84, 84, 88, 0.65);
  --glass: rgba(28, 28, 30, 0.72);
  --bar: rgba(10, 10, 12, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --active-bg: rgba(255, 255, 255, 0.14);
  --btn-glass: rgba(255, 255, 255, 0.1);
  --btn-line: rgba(255, 255, 255, 0.22);
  --table: rgba(0, 0, 0, 0.28);
  --device: #0c0c0e;
  --input-bg: #1c1c1e;
  --input-ink: #fff;
  --focus: #9ecbff;
  --radius: 28px;
  --header: calc(62px + env(safe-area-inset-top, 0px));
  --tab: calc(92px + env(safe-area-inset-bottom, 0px));
  --read: 68ch;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f2f2f7;
  --ink: #1c1c1e;
  --secondary: #3a3a3c;
  --tertiary: #6c6c70;
  --blue: #007aff;
  --link: #007aff;
  --hover-link: #0040dd;
  --fill: #007aff;
  --fill-ink: #fff;
  --mark: #1c1c1e;
  --sep: rgba(60, 60, 67, 0.18);
  --glass: rgba(255, 255, 255, 0.62);
  --bar: rgba(255, 255, 255, 0.72);
  --line: rgba(0, 0, 0, 0.08);
  --active-bg: rgba(0, 0, 0, 0.06);
  --btn-glass: rgba(255, 255, 255, 0.55);
  --btn-line: rgba(0, 0, 0, 0.08);
  --table: rgba(255, 255, 255, 0.72);
  --device: #e5e5ea;
  --input-bg: #fff;
  --input-ink: #1c1c1e;
  --focus: #007aff;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(980px 520px at 110% -8%, rgba(10, 132, 255, 0.32), transparent 58%),
    radial-gradient(720px 460px at -12% 6%, rgba(94, 92, 230, 0.2), transparent 55%),
    radial-gradient(860px 520px at 78% 108%, rgba(255, 159, 10, 0.1), transparent 52%),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { padding-bottom: var(--tab); }

img { max-width: 100%; height: auto; }

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--hover-link); }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: rgba(10, 132, 255, 0.45);
  color: #fff;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 80;
  transform: translateY(-140%);
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 650;
}

.skip:focus { transform: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
  padding: calc(6px + env(safe-area-inset-top, 0px)) 16px 8px;
  background: var(--bar);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--mark);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 20px;
}

.mark img { width: 28px; height: 28px; border-radius: 8px; }

.mark small {
  display: block;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: var(--tertiary);
}

.topnav { display: none; gap: 4px; align-items: center; }

.topnav a,
.tabbar a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 560;
}

.topnav a {
  position: relative;
  z-index: 1;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 15px;
}

.topnav a[aria-current="true"],
.tabbar a[aria-current="true"] {
  color: var(--mark);
  background: var(--active-bg);
}

main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.hero {
  display: grid;
  gap: 26px;
  align-items: center;
  margin-bottom: 22px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--link);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

h1 { font-size: clamp(34px, 6vw, 52px); }

.lede {
  margin: 14px 0 0;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.4;
  color: var(--secondary);
  max-width: 40rem;
}

.byline, .fine, .pillar-note {
  color: var(--secondary);
  font-size: 15px;
}

.byline { margin: 14px 0 0; }

.fine { margin: 12px 0 0; max-width: 42rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-fill {
  background: var(--fill);
  color: var(--fill-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px rgba(10, 132, 255, 0.28);
}

.btn-fill:hover { color: var(--fill-ink); background: #0066cc; }

.btn-glass {
  color: var(--mark);
  background: var(--btn-glass);
  box-shadow: inset 0 0 0 1px var(--btn-line), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-glass:hover { color: var(--mark); background: var(--active-bg); }

.tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: none;
  position: relative;
  z-index: 2;
}

.tools .btn { min-height: 40px; padding: 0 14px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--mark);
  background: var(--btn-glass);
  box-shadow: inset 0 0 0 1px var(--btn-line);
  cursor: pointer;
}

.icon-btn svg { width: 20px; height: 20px; }

.icon-moon { display: none; }

html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: block; }

.glass {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 34%, rgba(255, 255, 255, 0.03)),
    var(--glass);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.08) 28%, rgba(255, 255, 255, 0.02) 62%, rgba(255, 255, 255, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass > * { position: relative; z-index: 1; }

a.btn { cursor: pointer; }

.inset {
  margin-top: 18px;
  overflow: hidden;
}

.inset-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 12px 16px;
  min-height: 44px;
  border-top: 1px solid var(--sep);
}

.inset-row:first-child { border-top: 0; }

.inset-row span { color: var(--secondary); }

.inset-row strong {
  font-weight: 650;
  text-align: right;
}

.pass strong {
  color: var(--mark);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.hero-visual { display: flex; justify-content: center; }

.device {
  width: min(250px, 72vw);
  padding: 8px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05)),
    var(--device);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 30px 70px rgba(0, 0, 0, 0.5);
}

.device img {
  display: block;
  width: 100%;
  border-radius: 28px;
  background: #111;
}

.jumps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.jumps a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 78px;
  padding: 14px 16px;
  color: var(--mark);
  text-decoration: none;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.jumps small {
  color: var(--link);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.jumps span { color: var(--secondary); font-size: 14px; }

.pillar-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10, 132, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(158, 203, 255, 0.28);
}

.section { margin: 0 auto 16px; }

.sheet { padding: 26px 18px 20px; }

.download-slot { margin: 4px 0 16px; }

.download-actions { display: none; }

#download {
  scroll-margin-top: calc(var(--header) + 12px);
  scroll-margin-bottom: calc(var(--tab) + 16px);
}

.download-slot .actions { margin-top: 0; }

.install-head.glass,
.download-slot.glass,
.install-body.glass {
  background: var(--glass);
}

.install-head.glass::before,
.download-slot.glass::before,
.install-body.glass::before { display: none; }

.install-head.glass {
  margin-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  padding-bottom: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 1px 0 0 rgba(255, 255, 255, 0.08),
    inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.download-slot.glass {
  margin: 0;
  padding: 2px 18px 14px;
  border-radius: 0;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.08),
    inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.install-body.glass {
  margin-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.08),
    inset -1px 0 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.38);
}

.prose > h2,
.prose > h3,
.prose > h4 { scroll-margin-top: calc(var(--header) + 12px); }

.prose {
  font-size: 18px;
  line-height: 1.65;
  color: var(--secondary);
}

.prose h2,
.prose h3,
.prose h4,
.prose strong { color: var(--ink); }

.prose h2 {
  font-size: clamp(32px, 4.6vw, 46px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 4px 0 18px;
  padding-bottom: 14px;
  box-shadow: inset 0 -1px 0 var(--line);
}

.prose h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 720;
  letter-spacing: -0.038em;
  line-height: 1.15;
  margin: 42px 0 12px;
  clear: both;
}

.prose h4 {
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 30px 0 8px;
}

.prose p,
.prose li { max-width: var(--read); }

.prose p {
  margin: 0 0 18px;
  line-height: 1.68;
}

.prose h2 + p,
.prose h3 + p {
  font-size: 1.06em;
  line-height: 1.55;
}

.prose .byline {
  color: var(--tertiary);
  font-size: 14px;
  letter-spacing: 0.01em;
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin: 6px 0 20px;
  padding-left: 1.25em;
}

.prose li {
  margin: 0 0 8px;
  line-height: 1.55;
  padding-left: 0.15em;
}

.prose li::marker { color: var(--blue); font-weight: 700; }

.prose li ul,
.prose li ol { margin-top: 8px; }

.prose strong { font-weight: 700; }

.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.download-actions { margin: 4px 0 18px; }

.download-slot { display: none; }

.callout {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 159, 10, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 159, 10, 0.35);
}

.method-cards {
  display: grid;
  gap: 12px;
  margin: 8px 0 22px;
}

.method-card {
  border-radius: 22px;
  background: var(--table);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.method-card.ok { box-shadow: inset 0 3px 0 var(--green), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

.method-card.warn { box-shadow: inset 0 3px 0 var(--orange), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

.method-card .method-name,
.prose .method-card .method-name {
  margin: 0;
  max-width: none;
  padding: 16px 16px 14px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.method-card dl { margin: 0; }

.method-card dt,
.method-card dd { margin: 0; }

.method-row {
  padding: 11px 16px 12px;
  border-top: 1px solid var(--sep);
}

.prose .method-card .method-label,
.method-card .method-label {
  margin: 0 0 3px;
  max-width: none;
  color: var(--tertiary);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prose .method-card .method-value,
.method-card .method-value {
  margin: 0;
  max-width: none;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

html[data-theme="light"] .method-card {
  background: rgba(120, 120, 128, 0.08);
  box-shadow: inset 0 0 0 1px rgba(60, 60, 67, 0.12);
}

html[data-theme="light"] .method-card.ok {
  box-shadow: inset 0 3px 0 var(--green), inset 0 0 0 1px rgba(60, 60, 67, 0.12);
}

html[data-theme="light"] .method-card.warn {
  box-shadow: inset 0 3px 0 var(--orange), inset 0 0 0 1px rgba(60, 60, 67, 0.12);
}

@media (min-width: 860px) {
  .method-cards { grid-template-columns: 1fr 1fr; }
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  background: var(--table);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
}

.cols-2 { min-width: 0; }

.cols-3,
.cols-4,
.cols-5 { min-width: 640px; }

th, td {
  text-align: left;
  vertical-align: top;
  padding: 11px 12px;
  border-bottom: 1px solid var(--sep);
}

th { font-weight: 680; color: var(--mark); background: rgba(255, 255, 255, 0.045); }

html[data-theme="light"] th { background: rgba(0, 0, 0, 0.035); }

tbody th[scope="row"] {
  width: 38%;
  color: var(--secondary);
  font-weight: 620;
}

.shot,
.wp-block-image.shot {
  margin: 22px auto 26px;
  max-width: 300px;
}

.shot-wide,
.wp-block-image.shot-wide { max-width: 560px; }

.wp-block-image.device,
.shot.device {
  width: min(250px, 72vw);
}

.wp-block-image.shot-wide.device,
.shot-wide.device {
  width: min(560px, 100%);
  max-width: 560px;
  border-radius: 24px;
}

.wp-block-table {
  width: 100%;
  max-width: 100%;
  margin: 8px 0 22px;
  overflow-x: auto;
  border-radius: 18px;
  background: var(--table);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wp-block-table table { margin: 0; }

.wp-block-table.cols-3,
.wp-block-table.cols-4,
.wp-block-table.cols-5 { min-width: 0; }

.wp-block-table.cols-3 table,
.wp-block-table.cols-4 table,
.wp-block-table.cols-5 table { min-width: 640px; }

.shot-wide .device {
  width: 100%;
  border-radius: 24px;
  padding: 8px;
}

.shot-wide .device img { border-radius: 18px; }

figcaption {
  margin-top: 8px;
  color: var(--tertiary);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.site-footer {
  width: min(1120px, calc(100% - 28px));
  margin: 8px auto 0;
  padding: 8px 0 18px;
  color: var(--secondary);
  font-size: 14px;
}

.foot-grid {
  display: grid;
  gap: 18px;
  padding: 18px 16px 8px;
}

.foot-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin: 0 0 8px;
}

.mark span { display: flex; flex-direction: column; line-height: 1.05; }

.foot-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.foot-grid ul { list-style: none; margin: 0; padding: 0; }

.legal-line {
  padding: 4px 16px 16px;
  color: var(--tertiary);
  font-size: 13px;
}

.tabbar {
  position: fixed;
  z-index: 45;
  left: 10px;
  right: 10px;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 62px;
  padding: 4px;
  border-radius: 24px;
}

.tabbar a {
  position: relative;
  z-index: 1;
  cursor: pointer;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 18px;
  font-size: 10px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: center;
}

.tabbar svg { width: 22px; height: 22px; }

.entry { overflow-wrap: anywhere; }

@media (min-width: 760px) {
  .sheet { padding: 32px 34px 16px; }
  .jumps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .hero .device { width: 270px; }
}

.prose a { overflow-wrap: anywhere; }

.section,
h2,
h3,
h4 { scroll-margin-top: calc(var(--header) + 12px); }

input,
textarea,
select {
  width: 100%;
  max-width: 40rem;
  background: var(--input-bg);
  color: var(--input-ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

button,
input[type="submit"] {
  min-height: 44px;
  background: var(--fill);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-weight: 650;
}

@media (max-width: 959px) {
  html { scroll-padding-top: var(--header); scroll-padding-bottom: var(--tab); }
  body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--tab) + 28px);
    pointer-events: none;
    z-index: 44;
    background: linear-gradient(to top, var(--bg) 18%, transparent);
  }
}

@media (min-width: 960px) {
  body { padding-bottom: 36px; }
  .topnav { display: flex; margin-left: 8px; }
  .tabbar { display: none; }
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.7fr);
    gap: 36px;
    padding-top: 12px;
  }
  main { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html[data-theme="light"] body {
  background:
    radial-gradient(900px 480px at 110% -10%, rgba(0, 122, 255, 0.16), transparent 58%),
    radial-gradient(680px 420px at -12% 8%, rgba(94, 92, 230, 0.1), transparent 56%),
    radial-gradient(760px 480px at 80% 110%, rgba(255, 149, 0, 0.08), transparent 52%),
    var(--bg);
}

html[data-theme="light"] .glass {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .btn-fill {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 122, 255, 0.22);
}

html[data-theme="light"] .install-head.glass {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 1px 0 0 rgba(0, 0, 0, 0.06),
    inset -1px 0 0 rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .download-slot.glass {
  box-shadow:
    inset 1px 0 0 rgba(0, 0, 0, 0.06),
    inset -1px 0 0 rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .install-body.glass {
  box-shadow:
    inset 1px 0 0 rgba(0, 0, 0, 0.06),
    inset -1px 0 0 rgba(0, 0, 0, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-transparency: reduce) {
  html:not([data-theme="light"]) .glass,
  html:not([data-theme="light"]) .topbar,
  html:not([data-theme="light"]) .tabbar,
  html:not([data-theme="light"]) .pillar-note,
  html:not([data-theme="light"]) .callout,
  html:not([data-theme="light"]) .table-scroll {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #1c1c1e;
  }
  html[data-theme="light"] .glass,
  html[data-theme="light"] .topbar,
  html[data-theme="light"] .tabbar,
  html[data-theme="light"] .pillar-note,
  html[data-theme="light"] .callout,
  html[data-theme="light"] .table-scroll {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }
}

@media (prefers-contrast: more) {
  html:not([data-theme="light"]) .glass,
  html:not([data-theme="light"]) .topbar,
  html:not([data-theme="light"]) .tabbar,
  html:not([data-theme="light"]) .device {
    background: #1c1c1e;
    box-shadow: inset 0 0 0 1px #fff;
  }
  html:not([data-theme="light"]) .inset-row,
  html:not([data-theme="light"]) th,
  html:not([data-theme="light"]) td { border-color: #fff; }
  html:not([data-theme="light"]) a,
  html:not([data-theme="light"]) .kicker { color: #fff; }
}

@media (max-width: 380px) {
  .tools .btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  .tools .btn { width: 40px; padding: 0; }
}

@media print {
  .topbar, .tabbar, .jumps, .actions { display: none !important; }
  body { background: #fff; color: #000; }
  .sheet, .glass { box-shadow: none; background: #fff; }
  a { color: #000; }
}
