:root {
  color-scheme: light;
  --bg: #edf1f8;
  --bg2: #e4eaf5;
  --ink: #202a41;
  --muted: #566278;
  --blue: #3c5fce;
  --blue2: #6a8bff;
  --line: rgba(90, 110, 150, 0.16);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --solid: #fbfcff;
  --soft: rgba(228, 235, 247, 0.7);
  --shadow: rgba(38, 58, 100, 0.12);
  --motion-lens: rgba(255, 255, 255, .76);
  --motion-soft: rgba(255, 255, 255, .35);
  --motion-rim: rgba(255, 255, 255, .95);
  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  font-family:
    "Segoe UI Variable Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141c2d;
  --bg2: #1b283f;
  --ink: #edf2ff;
  --muted: #a8b5ce;
  --blue: #9ab3ff;
  --blue2: #7497f4;
  --line: rgba(168, 188, 230, 0.16);
  --glass: rgba(36, 49, 72, 0.72);
  --glass-strong: rgba(36, 49, 72, 0.72);
  --solid: #233149;
  --soft: rgba(12, 24, 43, 0.4);
  --shadow: rgba(0, 7, 21, 0.25);
  --motion-lens: rgba(106, 130, 175, .27);
  --motion-soft: rgba(48, 64, 90, .3);
  --motion-rim: rgba(216, 232, 255, .21);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-size: 14px;
  background:
    radial-gradient(ellipse at 95% 5%, var(--glass), transparent 60%),
    linear-gradient(145deg, var(--bg), var(--bg2));
  background-attachment: scroll;
  transition:
    background 0.4s,
    color 0.4s;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
::selection {
  background: var(--blue);
  color: #fff;
}
h1,
h2,
p,
figure {
  margin: 0;
}
/* liquid glass surface */
.glass {
  position: relative;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  box-shadow:
    0 18px 50px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(255, 255, 255, 0.12);
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.28),
    transparent 32%
  );
  opacity: 0.7;
}
:root[data-theme="dark"] .glass::after {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent 34%);
}
/* top bar */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 16px 0;
  padding: 9px 16px;
  border-radius: 22px;
  z-index: 20;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  box-shadow:
    0 12px 34px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.brand img {
  width: 45px;
  height: 45px;
}
.nav-actions {
  display: flex;
  gap: 8px;
}
.icon-button {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  transition:
    transform 0.25s var(--ease),
    background 0.25s;
}
.icon-button:hover { border-color: var(--blue); }
.icon-button svg {
  width: 19px;
  height: 19px;
}
/* capsule */
.capsule {
  position: relative;
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
  transition: transform .24s cubic-bezier(.2,.8,.2,1);
}
.capsule.pressed { transform: scale(1.03) translateX(var(--press-x, 0px)); }
.capsule-lens {
  position: absolute;
  left: 4px;
  top: 4px;
  background: linear-gradient(145deg, var(--motion-lens), var(--motion-soft));
  border: 1px solid var(--motion-rim);
  border-radius: 999px;
  box-shadow:
    inset 0 -1px 2px var(--line),
    inset 1px 1px 0 var(--motion-rim),
    0 3px 9px var(--shadow);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(215%) brightness(1.13) contrast(1.06);
}
.capsule a {
  position: relative;
  z-index: 1;
  padding: 9px 20px;
  border-radius: 999px;
  --ink-base: var(--muted);
  color: color-mix(in srgb, var(--ink-base), var(--ink) calc(var(--lens-coverage, 0) * 100%));
  font-weight: 550;
  white-space: nowrap;
  transition: color 0.25s;
}
.capsule a.active {
  --ink-base: var(--blue);
}
.capsule a:hover { color: var(--blue); }
.capsule-lens > span { position: absolute; inset: -50%; background: radial-gradient(ellipse at var(--lens-shift,50%) 10%, var(--motion-rim), transparent 55%); opacity: .6; }
.capsule-glowclip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 3; }
.capsule-flash { position: absolute; width: 680px; height: 680px; margin: -340px 0 0 -340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.075), rgba(255,255,255,.035) 40%, rgba(255,255,255,.012) 66%, rgba(255,255,255,0) 94%); opacity: 0; transform: scale(1.35); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .68s cubic-bezier(.2,.8,.2,1); }
.capsule-flash.held { opacity: 1; transform: scale(1); }
/* app page */
.app-page {
  display: flex;
  justify-content: center;
  padding: 48px 24px 80px;
}
.app-card {
  width: 100%;
  max-width: 1060px;
  border-radius: 34px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.app-top {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.app-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.app-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.app-logo {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 10px 22px color-mix(in srgb, var(--blue) 26%, transparent));
}
.app-title h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 680;
  letter-spacing: -3px;
  line-height: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 550;
}
.hero-shot {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--solid);
  box-shadow: 0 16px 40px var(--shadow);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s var(--ease);
}
.hero-shot img {
  width: 100%;
  display: block;
}
/* windows download button */
.btn-win {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 11px 13px 11px 18px;
  border-radius: 16px;
  background: var(--glass-strong);
  border: 1px solid color-mix(in srgb, #0078d4 30%, var(--line));
  color: var(--ink);
  box-shadow:
    0 10px 26px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}
.btn-win:hover {
  border-color: color-mix(in srgb, #0078d4 60%, var(--line));
}
.btn-win:active {
  border-color: color-mix(in srgb, #0078d4 60%, var(--line));
}
.win-mark {
  display: inline-flex;
  color: #0078d4;
}
:root[data-theme="dark"] .win-mark {
  color: #4aa3e8;
}
.win-logo {
  width: 22px;
  height: 22px;
}
.win-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: color-mix(in srgb, #0078d4 15%, transparent);
  color: #0078d4;
  transition: background 0.3s;
}
:root[data-theme="dark"] .win-dl {
  background: color-mix(in srgb, #4aa3e8 18%, transparent);
  color: #4aa3e8;
}
.btn-win:hover .win-dl {
  background: color-mix(in srgb, #0078d4 26%, transparent);
}
.win-dl svg {
  width: 18px;
  height: 18px;
}
.btn-win.busy .win-dl svg {
  animation: bounce 0.8s infinite;
}
/* screenshots gallery */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 14px;
}
.shot {
  position: relative;
  padding: 7px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
  opacity: 0.6;
  overflow: hidden;
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    opacity 0.3s,
    border-color 0.3s,
    transform 0.2s var(--ease);
}
.shot:hover {
  opacity: 0.95;
}
.shot.active {
  opacity: 1;
  border-color: color-mix(in srgb, var(--blue) 55%, var(--line));
}
.shot img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
.shot-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.4),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.shot:hover .shot-glare {
  opacity: 1;
}
/* changelog */
.changelog {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px 90px;
}
.changelog-head {
  margin-bottom: 30px;
}
.changelog-head h1 {
  font-size: 34px;
  font-weight: 680;
  letter-spacing: -1.4px;
}
.changelog-head p {
  margin-top: 8px;
  color: var(--muted);
}
.releases {
  display: grid;
  gap: 14px;
}
.release {
  border-radius: 22px;
  padding: 24px 26px;
  animation: rise 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.release-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.release-head h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.4px;
  color: var(--blue);
}
.release-head time {
  font-size: 12px;
  color: var(--muted);
}
.release ul {
  margin: 0;
  padding-left: 18px;
}
.release li {
  line-height: 1.75;
  color: var(--ink);
}
.release li::marker {
  color: var(--blue);
}
/* misc */
.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
}
.empty svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}
.skeleton {
  height: 74px;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  animation: pulse 1.4s infinite;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  padding: 13px 20px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 0.28s var(--ease);
  z-index: 40;
  max-width: 90vw;
}
#toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@media (max-width: 760px) {
  .nav {
    margin: 10px 10px 0;
    padding: 8px 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .capsule {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  /* Two equal buttons that fill the bar instead of a wide pill with small
     centred labels and dead space on either side. */
  .capsule a {
    flex: 1 1 0;
    padding: 10px 12px;
    text-align: center;
  }
  .app-page,
  .changelog {
    padding-top: 40px;
  }
  .app-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .shots {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}
.spring-button { transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; }
.spring-button.spring-pressed { transition: scale 70ms linear, transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; }
@media (prefers-reduced-motion: reduce) {
  .capsule.pressed { transform: none; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Website controls use the same surfaces and colours as the desktop app. */
html { overflow-x: clip; scroll-padding-top: 110px; }
/* The site draws its own scrollbar, which only makes sense with a mouse. Touch
   devices keep the system scrollbar instead: hide ours and theirs respectively. */
@media (hover: hover) and (pointer: fine) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; }
}
@media (hover: none), (pointer: coarse) {
  .scroll-track { display: none; }
}
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav { position: sticky; top: 14px; backdrop-filter: blur(26px) saturate(135%); animation: nav-arrive .65s var(--ease) both; }
.changelog { animation: rise .7s var(--ease) both; }
.changelog-head { animation: rise .7s .1s var(--ease) both; }
.releases { animation: rise .8s .15s var(--ease) both; }
.glass { backdrop-filter: blur(26px) saturate(135%); transition: background .45s, border-color .45s, box-shadow .45s, color .45s; }
:root[data-theme="dark"] .glass { box-shadow: inset 0 1px 0 rgba(216,232,255,.21), 0 12px 35px var(--shadow); }
:root[data-theme="dark"] .nav { box-shadow: inset 0 1px 0 rgba(216,232,255,.21), 0 12px 35px var(--shadow); }
.app-page { flex-direction: column; align-items: center; gap: 26px; }
.app-card { animation: rise .7s var(--ease) both; }
.app-info { animation: rise .7s .1s var(--ease) both; }
.app-title { white-space: nowrap; }
.download-row { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.download-row .btn-win { margin-top: 0; }
.download-label { font-size: 14px; font-weight: 600; }
.download-stat { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.download-stat svg { width: 15px; height: 15px; }
.rating-summary { display: flex; align-items: center; gap: 9px; min-height: 30px; padding: 2px 0; border-radius: 6px; }
.rating-summary:hover { color: var(--blue); }
.rating-value { font-size: 12px; font-weight: 650; color: var(--ink); min-width: 18px; }
.stars { display: inline-flex; align-items: center; gap: 3px; color: color-mix(in srgb, var(--muted) 55%, transparent); }
.star { display: inline-flex; position: relative; }
.star svg { width: 15px; height: 15px; }
.star.filled { color: var(--blue); }
.star.filled svg { fill: currentColor; stroke-width: 1.2; }
.star-partial { position: absolute; inset: 0; color: var(--blue); clip-path: inset(0 50% 0 0); }
.star-partial svg { fill: currentColor; stroke-width: 1.2; }
.review-total { margin-left: 2px; color: var(--muted); font-size: 12px; }
.rating-skeleton { width: 130px; height: 18px; border-radius: 7px; }
.hero-shot { aspect-ratio: 14 / 9; animation: rise .8s .15s var(--ease) both; }
.shot-images { display: block; position: relative; width: 100%; aspect-ratio: 14 / 9; background: var(--solid); }
.shot-images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--ease); }
.shot-dark { opacity: 0; }
.shot-light { opacity: 1; }
:root[data-theme="dark"] .shot-dark { opacity: 1; }
:root[data-theme="dark"] .shot-light { opacity: 0; }
.shot-enter { animation: shot-arrive .35s var(--ease) both; }
.shots { animation: rise .8s .25s var(--ease) both; }
.scroll-track { position: fixed; z-index: 18; top: 92px; right: 7px; bottom: 18px; width: 12px; border-radius: 20px; touch-action: none; cursor: pointer; transition: background .2s; }
.scroll-track:hover, .scroll-track:focus-visible { background: var(--soft); }
#scroll-thumb { display: block; position: absolute; top: 0; left: 3px; width: 6px; min-height: 38px; border-radius: 20px; background: color-mix(in srgb, var(--blue) 44%, transparent); transition: background .2s; }
.scroll-track:hover #scroll-thumb { background: var(--blue); }
.reviews-card { width: 100%; max-width: 1060px; border-radius: 30px; padding: 32px 40px 22px; animation: rise .8s .3s var(--ease) both; }
.reviews-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.reviews-heading h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; letter-spacing: -.6px; font-weight: 650; }
.reviews-heading .badge { padding: 2px 8px; font-size: 11px; letter-spacing: 0; }
.reviews-heading p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.reviews-score { display: flex; align-items: center; gap: 10px; }
.reviews-score > span:last-child { font-size: 19px; font-weight: 650; }
.reviews-score small { color: var(--muted); font-size: 12px; font-weight: 400; }
#review-composer { padding: 0 0 24px; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.signin-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.signin-copy { display: flex; align-items: center; gap: 13px; }
.signin-icon { color: var(--blue); display: grid; place-items: center; height: 42px; width: 42px; border: 1px solid var(--line); background: var(--glass); border-radius: 13px; }
.signin-copy h3 { margin: 0; font-size: 14px; font-weight: 600; }
.signin-copy p { margin-top: 5px; font-size: 12px; color: var(--muted); }
@font-face { font-family: "Google Sans"; src: url("/site/fonts/google-sans-medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
.google-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 12px; border: 1px solid #747775; border-radius: 12px; background: #fff; color: #1f1f1f; font-family: "Google Sans",Arial,sans-serif; font-size: 14px; font-weight: 500; transition: box-shadow .2s; white-space: nowrap; }
.google-logo { position: relative; overflow: hidden; width: 20px; height: 20px; flex-shrink: 0; }
.google-logo img { position: absolute; width: 40px; height: 40px; max-width: none; left: -10px; top: -10px; }
.google-mark-dark { display: none; }
:root[data-theme="dark"] .google-mark-dark { display: block; }
:root[data-theme="dark"] .google-mark-light { display: none; }
.google-button svg { width: 20px; height: 20px; }
.google-button:hover { box-shadow: 0 2px 10px var(--shadow); background: #f8faff; }
:root[data-theme="dark"] .google-button { background: #131314; color: #e3e3e3; border-color: #8e918f; }
:root[data-theme="dark"] .google-button:hover { background: #202124; }
.google-button.disabled { opacity: .65; }
.privacy-note { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.signin-panel .privacy-note { flex-basis: 100%; margin-top: 0; max-width: 660px; }
.privacy-note a, .legal-page a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.review-account { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; }
.review-account > span:nth-child(2) { overflow-wrap: anywhere; min-width: 0; }
.review-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: var(--blue); background: var(--glass); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-menu { margin-left: auto; position: relative; }
.composer-prompt { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; }
.composer-prompt p { font-size: 12px; color: var(--muted); }
.secondary-button, .primary-button, .danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 12px; padding: 10px 15px; border: 1px solid var(--line); background: var(--glass); font-size: 12px; font-weight: 600; transition: background .2s, border-color .2s; }
.secondary-button:hover { border-color: var(--blue); }
.primary-button { background: linear-gradient(165deg,#4e6dd7,#4165da 70%,#3a59c4); color: #fff; border-color: #3c5fce; box-shadow: inset 0 1px 0 #ffffff40,0 5px 14px #3558bf38; }
.primary-button:hover { filter: brightness(1.08); }
.primary-button.busy::before { content: ''; width: 14px; height: 14px; border: 2px solid #ffffff66; border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.text-button { padding: 10px 12px; min-height: 40px; color: var(--muted); font-size: 12px; }
.danger, .danger-button { color: var(--danger,#b52f49); }
:root[data-theme="dark"] { --danger: #ff9aa9; }
.danger-button { background: color-mix(in srgb,var(--danger,#b52f49) 10%,var(--glass)); }
#review-form { margin-top: 18px; animation: rise .3s var(--ease); }
.rating-picker { border: 0; margin: 0 0 14px; padding: 0; display: flex; gap: 3px; }
.rating-picker legend { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.rating-picker label { display: inline-flex; cursor: pointer; position: relative; padding: 9px 5px; color: var(--muted); }
.rating-picker input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rating-picker input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 5px; }
.rating-picker svg { width: 26px; height: 26px; transition: color .15s, fill .15s; }
.rating-picker .selected { color: var(--blue); }
.rating-picker .selected svg { fill: currentColor; }
textarea { width: 100%; resize: vertical; min-height: 100px; max-height: 400px; border-radius: 13px; border: 1px solid var(--line); padding: 13px 15px; background: var(--glass); color: var(--ink); font: inherit; font-size: 13px; line-height: 1.6; }
textarea::placeholder { color: var(--muted); }
/* The textarea is a large, obvious target: the global focus ring reads as a
   stray blue frame around it, so focus is shown by the caret instead. */
#review-text:focus-visible { outline: none; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
#text-length { font-size: 11px; color: var(--muted); }
.form-error { color: var(--danger,#b52f49); font-size: 12px; line-height: 1.5; margin-top: 8px; }
.form-error:empty { display: none; }
#review-list { margin-top: 0; }
#review-list > .skeleton { margin-bottom: 12px; height: 120px; }
.review { padding: 24px 0; border-bottom: 1px solid var(--line); position: relative; }
.review-enter { animation: rise .45s var(--ease) both; }
.review-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.review-author { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.review-author strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.review-author time { font-size: 11px; color: var(--muted); }
.own-label { margin-left: 8px; font-size: 10px; font-weight: 500; color: var(--blue); }
.review-options { margin-left: auto; align-self: flex-start; position: relative; }
summary { list-style: none; cursor: pointer; display: grid; place-items: center; }
summary::-webkit-details-marker { display: none; }
.review-menu { position: absolute; z-index: 6; top: calc(100% + 6px); right: 0; padding: 5px; width: max-content; min-width: 155px; border: 1px solid var(--line); border-radius: 13px; background: var(--solid); box-shadow: 0 8px 26px var(--shadow); animation: rise .18s var(--ease); }
.review-menu button { display: flex; align-items: center; gap: 8px; padding: 10px 12px; width: 100%; text-align: left; border-radius: 9px; font-size: 12px; }
.review-menu button:hover { background: var(--soft); }
.review-menu svg { width: 15px; height: 15px; }
.review-text { margin-top: 12px; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.like-button { display: flex; align-items: center; gap: 6px; padding: 9px 10px; margin: 10px 0 -4px -10px; border-radius: 10px; color: var(--muted); font-size: 11px; min-height: 36px; }
.like-button svg { width: 17px; height: 17px; }
.like-button:hover { background: var(--soft); }
.like-button.liked { color: var(--danger,#b52f49); }
.like-button.liked svg { fill: currentColor; }
.reviews-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 42px 15px 36px; gap: 9px; color: var(--muted); }
.reviews-empty > svg { width: 27px; height: 27px; color: var(--blue); margin-bottom: 5px; }
.reviews-empty h3 { margin: 0; font-size: 14px; color: var(--ink); font-weight: 600; }
.reviews-empty p { font-size: 12px; }
.reviews-footer { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 11px; }
.reviews-footer a:hover { color: var(--blue); }
#more-reviews { display: flex; margin: 22px auto 0; }
.confirm-dialog { padding: 26px; max-width: 410px; width: calc(100% - 32px); border-radius: 24px; color: var(--ink); background: var(--solid); }
.confirm-dialog[open] { animation: rise .25s var(--ease); }
.confirm-dialog::backdrop { background: #080f1d88; backdrop-filter: blur(6px); }
.confirm-dialog h2 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.5px; }
.confirm-dialog p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.legal-page { margin: 48px auto 80px; max-width: 800px; width: calc(100% - 48px); border-radius: 28px; padding: 36px; }
.legal-page h1 { font-size: 30px; letter-spacing: -.8px; margin: 22px 0; }
.legal-page h2 { font-size: 18px; margin: 24px 0 9px; }
.legal-page p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.legal-page .back-link { text-decoration: none; font-size: 12px; }
@keyframes nav-arrive { from { opacity: 0; transform: translateY(-8px); } }
@keyframes shot-arrive { from { opacity: 0; transform: scale(.985); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  html { scroll-padding-top: 152px; }
  .nav { top: 10px; }
  /* Match the header's gutters (10px) so the cards use the full width instead of
     sitting in a narrower column than the bar above them. */
  .app-page { padding: 28px 10px 48px; gap: 20px; }
  .app-card { padding: 20px; border-radius: 24px; gap: 22px; }
  .app-title { gap: 12px; }
  .app-title h1 { font-size: 40px; letter-spacing: -2px; }
  .app-logo { width: 48px; height: 48px; }
  .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shot { padding: 4px; border-radius: 11px; }
  .shot img { border-radius: 7px; }
  .hero-shot { border-radius: 17px; }
  .reviews-card { padding: 20px; border-radius: 24px; }
  .reviews-heading { align-items: flex-start; gap: 14px; flex-direction: column; margin-bottom: 20px; }
  .reviews-heading h2 { font-size: 22px; }
  .reviews-score { gap: 8px; }
  #review-composer { padding: 0 0 20px; }
  .signin-copy { align-items: flex-start; }
  .signin-copy p { line-height: 1.6; }
  .signin-icon { display: none; }
  .google-button { width: 100%; }
  .composer-foot { align-items: flex-start; flex-direction: column; }
  .composer-foot > div { align-self: flex-end; }
  .scroll-track { top: 142px; right: 3px; width: 12px; }
  .legal-page { padding: 24px; margin-top: 28px; }
  .legal-page h1 { font-size: 25px; }
}
@media (max-width: 390px) {
  .app-page { padding-inline: 10px; }
  .app-card, .reviews-card { padding: 18px; }
  .download-row { gap: 12px; }
  .btn-win { gap: 10px; padding-left: 12px; }
  .reviews-footer { gap: 7px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
