:root {
  color-scheme: light;
  --canvas: #eeece8;
  --paper: #faf9f7;
  --surface: #fffefa;
  --ink: #292725;
  --secondary-ink: #514d46;
  --muted: #69655e;
  --line: #ece8e1;
  --strong-line: #e1dbd3;
  --amber: #e9bf61;
  --amber-ink: #715515;
  --amber-wash: #f5edde;
  --green: #51684a;
  --green-wash: #e9efe4;
  --blue: #4c6877;
  --blue-wash: #eaf0f2;
  --rose: #70575d;
  --rose-wash: #f2e9eb;
  --shadow: 0 10px 32px #3d302109, 0 2px 5px #3d302105;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Noto Sans CJK SC", sans-serif;
}

@font-face {
  font-family: "Camp Icons";
  src: url("assets/ui-icons.woff2") format("woff2");
  font-display: block;
}
.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  font: normal 1em/1 "Camp Icons";
  text-align: center;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--canvas); scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); font: 14px/1.65 var(--font); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #916b26;
  outline-offset: 3px;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; }
h1 { font-size: clamp(26px, 4cqi, 38px); letter-spacing: -.035em; }
h2 { font-size: clamp(19px, 2.55cqi, 23px); letter-spacing: -.02em; }
h3 { font-size: 16px; }
small { font-size: 12px; }
.quiet, .meta, .kicker { color: var(--muted); }
.meta, .kicker { font-size: 13px; }
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.skip { position: absolute; top: -100px; left: 10px; z-index: 20; padding: 8px 12px; background: white; }
.skip:focus { top: 4px; }

.review-bar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px 16px;
  padding: 8px max(16px, 3vw);
  min-height: 60px;
  border-bottom: 1px solid #e5e1da;
  background: #f4f2eeef;
  backdrop-filter: blur(16px);
}
.review-name, .seg { display: flex; align-items: center; }
.review-name { gap: 8px; font-size: 12px; white-space: nowrap; }
.review-name strong { font-weight: 650; }
.review-name small { color: var(--muted); }
.review-dot { width: 6px; height: 6px; background: #8f8576; border-radius: 50%; }
.seg { gap: 2px; width: fit-content; padding: 3px; border-radius: 13px; background: #eae7e1; }
.sizes { justify-self: end; }
.seg button {
  min-height: 34px;
  padding: 4px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--secondary-ink);
  font-size: 12px;
  white-space: nowrap;
}
.seg button[aria-pressed=true] {
  color: var(--ink);
  font-weight: 700;
  background: #fffdf9;
  box-shadow: 0 1px 4px #3d302113;
}
.draft-bar { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; padding: 6px; background: var(--amber-wash); color: var(--amber-ink); }
.draft-bar button { min-height: 36px; }

.frame {
  container-type: inline-size;
  width: calc(100% - 24px);
  max-width: 1464px;
  margin: 14px auto 24px;
  min-height: calc(100dvh - 88px);
  border: 1px solid #e5e0d8;
  border-radius: 29px;
  background: var(--paper);
  box-shadow: 0 12px 46px #2d231012;
  overflow: clip;
}
.frame[data-size=phone] { max-width: 390px; }
.frame[data-size=tablet] { max-width: 840px; }
@media (min-width: 761px) {
  .frame[data-size=phone] { min-height: calc(100svh - 74px); }
}
#app { display: flex; flex-direction: column; min-height: inherit; min-width: 0; }
.app-grid { display: grid; grid-template-columns: 184px minmax(0, 1fr); flex: 1; min-width: 0; }
.app-body { display: flex; flex-direction: column; min-width: 0; }
.rail {
  position: sticky;
  top: 60px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 23px;
  min-height: calc(100dvh - 90px);
  padding: 25px 15px 17px;
  background: #f8f7f4;
  border-right: 1px solid var(--line);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  background: transparent;
  padding: 2px 4px;
  text-align: left;
}
.mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #54401c;
  background: #f4e2b7;
  box-shadow: inset 0 1px 1px #fff8, 0 2px 5px #67461b11;
  font-size: 19px;
}
.brand-lockup strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.brand-lockup small { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
.rail nav { display: grid; gap: 3px; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
}
.glyph { display: grid; place-items: center; width: 23px; font-size: 18px; }
.nav-link:hover { background: #f0ede8; }
.nav-link[aria-current=page] { background: #eeebe5; font-weight: 700; color: var(--ink); }
.nav-link[aria-current=page]::after {
  content: "";
  position: absolute;
  right: 10px;
  top: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bd9040;
}
.rail-bottom { margin-top: auto; }
.rail-note { padding: 8px 4px 0; font-size: 11px; color: var(--muted); }
.app-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 65px;
  padding: 8px 30px;
  border-bottom: 1px solid var(--line);
}
.head-context { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.head-context .icon { color: var(--secondary-ink); }
.head-user { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.head-user .user-name { font-weight: 650; font-size: 13px; }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #fff9;
  background: var(--amber-wash);
  color: #635333;
  font-weight: 700;
  font-size: 13px;
}
.avatar.moss { background: var(--green-wash); color: var(--green); }
.avatar.lilac { background: var(--rose-wash); color: var(--rose); }
.mobile-brand, .dock { display: none; }
.content { width: 100%; max-width: 1240px; min-width: 0; flex: 1; margin-inline: auto; padding: 27px 33px 43px; }
.content:focus { outline: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  grid-template-areas: "copy art" "actions art";
  column-gap: 14px;
  align-items: center;
  min-height: 342px;
  padding: 4px 0 12px;
}
.hero-copy { grid-area: copy; align-self: end; display: grid; gap: 13px; justify-items: start; min-width: 0; }
.hero-greeting { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--secondary-ink); font-weight: 600; }
.hero-greeting::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: #b78c38; }
.hero .display {
  font-size: clamp(37px, 4.35cqi, 55px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.047em;
  overflow-wrap: anywhere;
}
.hero-title-part { display: block; }
.hero-copy p { max-width: 19em; color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }
.hero-visual {
  grid-area: art;
  display: grid;
  grid-template-areas: "badge" "picture";
  align-content: center;
  gap: 5px;
  min-width: 0;
}
.hero-image { grid-area: picture; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.hero-tag {
  grid-area: badge;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  max-inline-size: 100%;
  font-variant-numeric: tabular-nums;
}
.hero-tag .icon { color: #8b662a; }
.glass { background: #fffefbe8; border: 1px solid #fffd; box-shadow: var(--shadow); backdrop-filter: blur(17px); }
.hero-actions { grid-area: actions; align-self: start; margin-top: 20px; }
.hero-actions .primary {
  min-height: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(176px, 100%);
  max-width: 100%;
  padding-inline: 38px;
  font-size: 14px;
}
.hero-actions .primary .lead, .hero-actions .primary .cta-arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.hero-actions .primary .lead { left: 14px; color: #efd17d; }
.hero-actions .primary .cta-arrow { right: 14px; opacity: .85; }
.hero-actions .primary .cta-label { text-align: center; min-width: 0; overflow-wrap: anywhere; }
.camp-overview { display: grid; gap: 15px; }
.camp-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.33fr) repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.goal { display: grid; gap: 7px; align-content: center; padding: 13px 15px; }
.goal-top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.goal-top h3 { overflow-wrap: anywhere; }
.goal-top .meta { font-size: 12px; }
.goal-count {
  margin-left: auto;
  padding-left: 4px;
  font-size: 12px;
  color: var(--amber-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.progress { height: 5px; background: #ede9e2; border-radius: 5px; overflow: hidden; }
.progress span { display: block; height: 100%; background: #ad8946; border-radius: 5px; transition: width .3s ease; }
.tile {
  width: 100%;
  min-width: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: left;
  box-shadow: 0 2px 5px #3d302105;
  transition: transform .18s, border-color .18s, background .18s;
}
.tile:hover { transform: translateY(-2px); border-color: #e2dacf; background: #fff; }
.tile b { display: block; font-weight: 670; }
.tile small { display: block; font-size: 11px; }
.tile .fwd { margin-left: auto; color: #736b60; font-size: 12px; }
.symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: #eeece8;
  color: var(--secondary-ink);
  font-size: 17px;
  font-weight: 650;
}
.symbol.gold { background: var(--amber-wash); color: var(--amber-ink); }
.symbol.blue { background: var(--blue-wash); color: var(--blue); }
.symbol.lilac { background: var(--rose-wash); color: var(--rose); }
.symbol.green { background: var(--green-wash); color: var(--green); }

.section { margin-top: 28px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 9px 15px; margin-bottom: 9px; }
.section-title .meta { max-width: 400px; }
.map-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.level {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
  padding: 12px;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: transparent;
  text-align: left;
  transition: border-color .18s, background .18s;
}
.level:hover { background: var(--surface); border-color: #e2dacf; }
.level.is-current { background: #f8f4eb; border-color: #e9dcc5; }
.level .symbol { width: 30px; height: 30px; font-variant-numeric: tabular-nums; font-size: 12px; grid-row: span 2; }
.level .kicker { grid-column: 2; line-height: 1.35; font-size: 11px; }
.level .pill { grid-column: 2; justify-self: start; }
.level strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 670; }
.level.is-current .symbol { background: #eddbb5; color: #62491c; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 23px;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--green-wash);
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.pill.warm { background: var(--amber-wash); color: var(--amber-ink); }
.pill.grey { background: #eeebe5; color: var(--muted); }
.pill.blue { background: var(--blue-wash); color: var(--blue); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }

.primary, .secondary, .ghost, .text-button, .danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font-weight: 670;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: background .18s, transform .18s;
}
.primary { color: #fffdf7; background: #2d2b29; border-color: #2d2b29; box-shadow: 0 6px 13px #2a231922; }
.primary:hover { background: #423d37; }
.primary:active, .secondary:active, .tile:active, .level:active { transform: translateY(1px); }
.secondary, .ghost { background: #f4f1ec; border-color: #eee9e1; color: var(--secondary-ink); }
.ghost { background: transparent; border-color: var(--strong-line); }
.secondary:hover, .ghost:hover { background: #eeebe5; }
.text-button { color: var(--secondary-ink); padding-inline: 8px; }
.text-button:hover { background: #f0ede7; }
.danger { background: #f7edea; border-color: #eee0dc; color: #824739; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.button-row.end { justify-content: flex-end; }
.head-user .ghost { min-height: 35px; font-size: 12px; }
.card {
  min-width: 0;
  padding: 17px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 3px 9px #583e1e06;
  overflow-wrap: anywhere;
}
.stack { display: grid; gap: 12px; align-content: start; }
.land { display: grid; grid-template-columns: minmax(0, 1fr) minmax(208px, .43fr); gap: 14px; align-items: start; }
.land > .card { margin-top: 13px; }
.columns { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 12px; align-items: start; }
.thirds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.facts { display: grid; align-content: start; gap: 3px; }
.facts strong { font-size: clamp(20px, 3.5cqi, 27px); line-height: 1.25; font-weight: 700; font-variant-numeric: tabular-nums; }
.page-intro { display: grid; justify-items: start; gap: 7px; margin-bottom: 16px; }
.page-intro p { max-width: 65ch; }
.rows { display: grid; gap: 7px; }
.row-card {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbf9f5;
}
.row-card .details { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.row-card b, .row-card strong { display: block; font-weight: 670; }
.row-card p { color: var(--muted); font-size: 12px; }
.timeline { display: grid; gap: 0; }
.milestone { position: relative; padding: 1px 7px 13px 20px; margin-left: 6px; border-left: 1px solid #ddd4c4; }
.milestone::before { content: ""; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #b59052; }
.milestone:last-child { border-left-color: transparent; }
.milestone small { color: var(--muted); }
.state-box { display: grid; gap: 5px; justify-items: center; padding: 16px 12px; border-radius: 14px; border: 1px solid var(--line); background: #f8f5ee; text-align: center; }

.exercise { max-width: 658px; margin-inline: auto; display: grid; gap: 12px; }
.exercise-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.exercise .card { padding: clamp(15px, 3.1cqi, 25px); }
.exercise .page-intro { margin-bottom: 2px; }
.word-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 11px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8f5ee;
  text-align: center;
}
.word-card strong { font: 500 clamp(29px, 6.4cqi, 46px)/1.12 Georgia, serif; overflow-wrap: anywhere; color: #35312c; }
.word-object { display: grid; place-items: center; width: 62px; height: 62px; color: var(--amber-ink); background: #efe6d4; border-radius: 20px; font-size: 30px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.answer { min-height: 49px; border: 1px solid var(--strong-line); border-radius: 13px; padding: 7px 10px; background: var(--surface); text-align: left; font-weight: 650; overflow-wrap: anywhere; }
.answer:hover { background: #f5f1e8; }
.answer.right { border-color: #cbd6c3; background: var(--green-wash); color: #3a5233; }
.answer.wrong { border-color: #e5c8be; background: #faeee9; color: #79483b; }
.inline-note { padding: 9px 11px; border-radius: 12px; background: var(--amber-wash); color: #604b22; font-size: 13px; }
.inline-note.success { color: #3a5233; background: var(--green-wash); }
.inline-note.warn { color: #79483b; background: #faeee9; }
.result-card { text-align: center; justify-items: center; }
.result-medal { width: 67px; height: 67px; display: grid; place-items: center; border-radius: 21px; background: var(--amber-wash); color: #927033; font-size: 28px; animation: arrive .4s both; }

label.field { display: grid; gap: 5px; color: var(--secondary-ink); font-weight: 650; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--strong-line);
  border-radius: 11px;
  padding: 8px 10px;
  background: #fffefa;
  color: var(--ink);
}
textarea { min-height: 88px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.checks { display: grid; gap: 7px; }
.check { display: flex; justify-content: space-between; align-items: center; gap: 9px; min-height: 44px; }
.check input { width: 20px; min-height: 20px; accent-color: #876b37; }
.toast { position: fixed; z-index: 20; bottom: 17px; left: 50%; transform: translateX(-50%); max-width: min(92vw, 420px); padding: 10px 15px; border-radius: 17px; background: #332e29; color: #fff9ec; box-shadow: 0 7px 23px #29201825; font-weight: 650; }
.login { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 850px; margin: 19px auto; }
.login .card { align-content: center; }
.login-art { min-height: 255px; border-radius: 22px; background: #f7f3ec url("assets/camp.webp") center/contain no-repeat; }
.enter { animation: arrive .22s ease-out both; }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@container (max-width: 950px) {
  .app-grid { grid-template-columns: 84px minmax(0, 1fr); }
  .rail { gap: 18px; padding: 17px 8px; }
  .brand-lockup { justify-content: center; }
  .brand-lockup > span:last-child, .rail-note { display: none; }
  .nav-link { display: grid; justify-items: center; gap: 2px; min-height: 51px; padding: 4px 2px; text-align: center; font-size: 11px; }
  .nav-link[aria-current=page]::after { right: 6px; top: 6px; }
  .content { padding-inline: 22px; }
  .app-head { padding-inline: 21px; }
  .hero { min-height: 290px; }
  .hero-copy { gap: 10px; }
  .hero .display { font-size: clamp(33px, 5.45cqi, 44px); }
  .tile { gap: 8px; padding-inline: 10px; }
}

@container (max-width: 700px) {
  .app-grid { display: flex; flex-direction: column; }
  .app-body { flex: 1; }
  .rail, .head-context { display: none; }
  .app-head { padding: 7px 15px; min-height: 55px; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; font-weight: 690; font-size: 14px; }
  .mobile-brand .mark { width: 31px; height: 31px; border-radius: 11px; font-size: 16px; }
  .content { padding: 18px 19px 22px; }
  .dock {
    position: sticky;
    z-index: 5;
    bottom: max(7px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 11px 8px;
    border-radius: 23px;
    padding: 4px 5px;
  }
  .dock .nav-link { flex: 1 1 0; max-width: 96px; width: auto; min-height: 46px; padding: 4px 2px 7px; font-size: 10px; }
  .dock .nav-link[aria-current=page] { background: transparent; }
  .dock .nav-link[aria-current=page]::after { right: calc(50% - 1.5px); top: auto; bottom: 2px; width: 3px; height: 3px; }
  .land { grid-template-columns: minmax(0, 1fr); }
  .land > .card { margin-top: 0; }
}

@container (max-width: 520px) {
  .content { padding-inline: 14px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "art" "actions";
    min-height: 0;
    gap: 0;
    padding: 3px 0 0;
  }
  .hero-copy { gap: 6px; }
  .hero .display { font-size: clamp(30px, 9.2cqi, 40px); line-height: 1.22; }
  .hero-title-part { display: inline; }
  .hero-copy p { max-width: 100%; font-size: 13px; }
  .hero-visual { margin: 4px -7px 0; gap: 0; }
  .hero-tag { margin-inline-end: 7px; padding: 5px 8px; font-size: 10px; }
  .hero-actions { margin-top: 2px; }
  .hero-actions .primary { width: 100%; }
  .camp-overview { gap: 14px; }
  .camp-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .goal { grid-column: 1 / -1; }
  .tile { min-height: 72px; padding: 8px; font-size: 12px; }
  .tile .symbol { width: 32px; height: 32px; font-size: 15px; border-radius: 10px; }
  .tile small { font-size: 10px; }
  .columns, .login { grid-template-columns: minmax(0, 1fr); }
  .login { margin-top: 0; }
  .login-art { order: -1; min-height: 165px; }
  .head-user .user-name { display: none; }
  .section { margin-top: 19px; }
  .section-title { flex-wrap: wrap; margin-bottom: 6px; }
  .section-title .meta { display: none; }
  .card { padding: 12px; border-radius: 16px; }
  .map-card { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .level { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 61px; padding: 8px; }
  .level .pill { grid-column: 3; grid-row: 1 / 3; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .thirds { gap: 5px; }
  .thirds .card { padding: 8px; }
  .thirds .meta { font-size: 11px; }
  .row-card { flex-wrap: wrap; }
  .row-card .details { min-width: 82px; }
}

@media (max-width: 760px) {
  .review-bar { position: relative; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; min-height: 0; padding: 5px 4px; }
  .review-name { display: none; }
  .seg button { padding-inline: 6px; min-height: 32px; font-size: 11px; }
  .frame { width: calc(100% - 10px); margin-top: 5px; border-radius: 22px; }
  .toast { bottom: 64px; }
}
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}
@media (max-width: 520px) {
  .frame { width: 100%; min-height: calc(100svh - 43px); margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .frame[data-size] { max-width: none; }
}
@media (max-width: 340px) {
  .seg { gap: 0; padding: 2px; }
  .seg button { padding-inline: 5px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
[data-motion=off] *, [data-motion=off] *::before, [data-motion=off] *::after {
  animation: none !important;
  transition: none !important;
}
