:root {
  --ink: #071416;
  --ink-soft: #0d1d20;
  --surface: #112327;
  --surface-2: #172d31;
  --cream: #f4efe4;
  --text: #d4dcda;
  --muted: #899a9b;
  --gold: #d0bd77;
  --gold-light: #eadca4;
  --green: #78b99a;
  --line: rgba(255,255,255,.09);
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 22px 60px rgba(0,0,0,.32);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% -10%, rgba(120,185,154,.12), transparent 30rem),
    var(--ink);
  color: var(--text);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:not(.is-authenticated) .app-shell { display: none; }
body.is-authenticated .login-view { display: none; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.login-view {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 5%, rgba(120,185,154,.17), transparent 28rem),
    linear-gradient(rgba(7,20,22,.86), rgba(7,20,22,.96)),
    url("assets/dicas-cover.png") center / cover;
}
.login-card {
  width: min(100%, 450px);
  padding: 38px;
  border: 1px solid rgba(208,189,119,.28);
  border-radius: 30px;
  background: rgba(10,27,29,.94);
  box-shadow: 0 36px 100px rgba(0,0,0,.58);
  backdrop-filter: blur(24px);
}
.login-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 38px; }
.login-card > .eyebrow { text-align: center; }
.login-card h1 { margin-bottom: 14px; font-size: clamp(37px, 8vw, 52px); text-align: center; }
.login-intro { max-width: 350px; margin: 0 auto 29px; color: var(--muted); font-size: 13px; line-height: 1.55; text-align: center; }
.login-card form { display: grid; gap: 17px; }
.login-card label { display: grid; gap: 8px; color: var(--text); font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.login-card input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: #0a1719;
  color: var(--cream);
  font-size: 14px;
  letter-spacing: normal;
}
.login-card input:focus { border-color: rgba(208,189,119,.62); box-shadow: 0 0 0 4px rgba(208,189,119,.08); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 54px; }
.password-field button { position: absolute; right: 7px; top: 7px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.password-field button:hover { background: rgba(255,255,255,.05); color: var(--cream); }
.password-field svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.login-error { min-height: 17px; margin: -4px 0 -4px; color: #f2a39d; font-size: 11px; text-align: center; }
.login-submit { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 19px; border: 0; border-radius: 14px; background: var(--gold); color: #152022; font-weight: 900; cursor: pointer; box-shadow: 0 12px 34px rgba(208,189,119,.16); }
.login-submit:hover { background: var(--gold-light); }
.login-submit span { font-size: 21px; font-weight: 400; }
.login-note { margin: 22px 0 0; color: #617274; font-size: 10px; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

.app-shell { min-height: 100svh; padding-bottom: calc(92px + var(--safe-bottom)); }
.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 12px max(20px, calc((100vw - 1180px)/2));
  border-bottom: 1px solid rgba(208,189,119,.12);
  background: rgba(7,20,22,.88);
  backdrop-filter: blur(20px);
}
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font: italic 700 24px/1 Georgia, serif;
  box-shadow: inset 0 0 0 4px rgba(208,189,119,.06);
}
.brand-copy { display: grid; line-height: .95; }
.brand-copy strong { color: var(--cream); font: italic 700 21px/1 Georgia, serif; }
.brand-copy small { color: var(--gold); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.language-control select {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: var(--surface);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
}
.avatar {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(208,189,119,.35);
  border-radius: 50%;
  background: linear-gradient(145deg, #253e3d, #162729);
  color: var(--gold-light);
  font-weight: 800;
  cursor: pointer;
}
.logout-button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.logout-button:hover { border-color: rgba(208,189,119,.3); color: var(--cream); }
.logout-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.main-content { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 72px; }
.install-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 38px; padding: 16px 18px; border: 1px solid rgba(208,189,119,.36); border-radius: 20px; background: linear-gradient(110deg, rgba(208,189,119,.16), rgba(17,35,39,.9) 45%); box-shadow: 0 14px 46px rgba(0,0,0,.22); }
.install-card[hidden] { display: none; }
.install-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(208,189,119,.45); border-radius: 15px; background: rgba(7,20,22,.55); color: var(--gold-light); }
.install-card-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.install-card-copy { min-width: 0; }
.install-kicker { display: block; margin-bottom: 4px; color: var(--gold); font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.install-card-copy strong { display: block; color: var(--cream); font: 700 18px/1.2 Georgia, serif; }
.install-card-copy p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--cream); }
h1 { margin-bottom: 9px; font: 700 clamp(38px, 6vw, 62px)/.98 Georgia, serif; letter-spacing: -.035em; }
h2 { font: 700 clamp(28px, 3vw, 38px)/1.05 Georgia, serif; letter-spacing: -.025em; }
h3 { font: 700 23px/1.05 Georgia, serif; }
.welcome-copy { max-width: 560px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.install-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  color: #071416;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.install-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.install-button b { margin-left: 7px; font-size: 18px; }
.install-button:hover, .install-button:focus-visible { background: var(--gold-light); outline: none; transform: translateY(-1px); }

.continue-panel {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 158px;
  padding: 18px 22px 18px 18px;
  border: 1px solid rgba(208,189,119,.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(110deg, rgba(208,189,119,.10), transparent 35%),
    var(--surface);
  box-shadow: var(--shadow);
}
.continue-panel > img { width: 104px; height: 122px; border-radius: 14px; object-fit: cover; object-position: top; }
.continue-copy h2 { margin: 10px 0 5px; font-size: 30px; }
.continue-copy p { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.pill, .cover-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(208,189,119,.14);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.progress { width: min(360px, 100%); height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.08); }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.round-action {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #182021;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(208,189,119,.18);
}
.round-action svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

.library-section, .more-section { margin-top: 58px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; }
.count-badge { color: var(--muted); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.product-card:hover { border-color: rgba(208,189,119,.30); transform: translateY(-2px); transition: .2s ease; }
.cover-button { position: relative; display: block; width: 100%; height: 340px; padding: 0; overflow: hidden; border: 0; background: #091011; cursor: pointer; }
.cover-button img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.cover-button:hover img { transform: scale(1.025); }
.cover-button::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(7,20,22,.82)); pointer-events: none; }
.cover-status { position: absolute; z-index: 2; top: 16px; left: 16px; background: rgba(7,20,22,.82); backdrop-filter: blur(10px); }
.cover-status.new { background: var(--gold); color: #172021; }
.cover-status.bonus { background: #315d4d; color: #eef8f1; }
.card-copy { padding: 23px; }
.product-kind { margin-bottom: 8px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.card-copy h3 { margin-bottom: 10px; }
.card-copy > p:not(.product-kind) { min-height: 66px; margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.text-action { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--cream); font-size: 13px; font-weight: 800; cursor: pointer; }
.text-action span:last-child { color: var(--gold); font-size: 20px; }

.section-heading.compact { margin-bottom: 18px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.mini-grid a { display: flex; align-items: center; gap: 14px; min-height: 78px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(17,35,39,.72); color: inherit; text-decoration: none; transition: .2s ease; }
.mini-grid a:hover, .mini-grid a:focus-visible { border-color: rgba(208,189,119,.38); background: var(--surface); transform: translateY(-2px); outline: none; }
.mini-grid a > span { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border: 1px solid rgba(208,189,119,.25); border-radius: 14px; background: rgba(208,189,119,.06); color: var(--gold); font: 700 15px Georgia, serif; }
.mini-grid a > div { min-width: 0; flex: 1; }
.mini-grid a > b { color: var(--gold); font-size: 19px; font-weight: 400; }
.mini-grid strong, .mini-grid small { display: block; }
.mini-grid strong { color: var(--cream); font-size: 13px; }
.mini-grid small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.bottom-nav { display: none; }

.reader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-rows: 66px 1fr 62px;
  visibility: hidden;
  opacity: 0;
  background: #030809;
  transition: opacity .2s ease, visibility .2s ease;
}
.reader.open { visibility: visible; opacity: 1; }
.reader-header, .reader-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  border-color: var(--line);
  background: rgba(7,20,22,.96);
  backdrop-filter: blur(16px);
}
.reader-header { justify-content: space-between; padding: 8px max(14px, calc((100vw - 1100px)/2)); border-bottom: 1px solid var(--line); }
.reader-title { display: grid; text-align: center; }
.reader-title strong { color: var(--cream); font-size: 14px; }
.reader-title small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.icon-button, .toolbar-button { display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.icon-button { width: 42px; height: 42px; border-radius: 50%; }
.icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-button[aria-pressed="true"] { border-color: var(--gold); background: rgba(208,189,119,.15); color: var(--gold-light); }
.icon-button[aria-pressed="true"] svg { fill: currentColor; }
.reader-stage { overflow: auto; padding: 28px 16px 70px; text-align: center; scroll-behavior: smooth; }
.reader-pages { min-height: 100%; }
.document-page {
  position: relative;
  width: min(700px, 100%);
  margin: 0 auto 30px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  transform-origin: top center;
  transition: width .18s ease;
}
.document-page::before { content: attr(data-page); position: absolute; z-index: 2; right: 10px; bottom: 8px; display: grid; place-items: center; min-width: 28px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(3,8,9,.68); color: rgba(255,255,255,.64); font-size: 9px; font-weight: 800; backdrop-filter: blur(7px); }
.document-page img { width: 100%; height: auto; user-select: none; pointer-events: none; }
.watermark { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.watermark span {
  position: absolute;
  left: -12%;
  width: 125%;
  color: rgba(255,255,255,.20);
  font-size: clamp(15px, 3vw, 27px);
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  transform: rotate(-31deg);
}
.watermark span:nth-child(1) { top: 20%; }
.watermark span:nth-child(2) { top: 48%; }
.watermark span:nth-child(3) { top: 76%; }
.video-hotspot { position: absolute; z-index: 3; padding: 0; border: 2px solid transparent; border-radius: 12px; background: transparent; cursor: pointer; }
.video-hotspot:hover, .video-hotspot:focus-visible { border-color: rgba(225,205,129,.9); background: rgba(208,189,119,.09); outline: none; box-shadow: inset 0 0 0 2px rgba(7,20,22,.38); }
.external-hotspot { position: absolute; z-index: 3; display: block; border: 2px solid transparent; border-radius: 9px; background: transparent; }
.external-hotspot:hover, .external-hotspot:focus-visible { border-color: rgba(225,205,129,.9); background: rgba(208,189,119,.10); outline: none; box-shadow: inset 0 0 0 2px rgba(7,20,22,.38); }
.page-video-actions { position: absolute; z-index: 4; left: 12px; bottom: 11px; display: flex; flex-wrap: wrap; gap: 7px; max-width: calc(100% - 70px); }
.video-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 12px; border: 1px solid rgba(225,205,129,.72); border-radius: 999px; background: rgba(7,20,22,.92); color: var(--gold-light); font: 800 10px/1 inherit; letter-spacing: .02em; box-shadow: 0 7px 24px rgba(0,0,0,.38); backdrop-filter: blur(10px); cursor: pointer; }
.video-chip:hover, .video-chip:focus-visible { background: var(--gold); color: #071416; outline: none; transform: translateY(-1px); }
.reader-toolbar { justify-content: center; gap: 11px; padding-bottom: var(--safe-bottom); border-top: 1px solid var(--line); }
.toolbar-button { width: 34px; height: 34px; border-radius: 10px; font-size: 19px; }
.toolbar-divider { width: 1px; height: 24px; margin: 0 6px; background: var(--line); }
.toolbar-page { padding: 7px 11px; border: 0; border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 11px; }
#zoomLabel { min-width: 40px; color: var(--muted); font-size: 11px; text-align: center; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(92px + var(--safe-bottom)); padding: 11px 16px; border: 1px solid rgba(208,189,119,.3); border-radius: 999px; background: #18292c; color: var(--cream); font-size: 12px; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.video-modal { position: fixed; z-index: 180; inset: 0; display: grid; place-items: center; padding: 18px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.video-modal.open { visibility: visible; opacity: 1; }
.video-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); cursor: pointer; }
.video-dialog { position: relative; width: min(980px, 100%); overflow: hidden; border: 1px solid rgba(208,189,119,.28); border-radius: 24px; background: #071416; box-shadow: 0 34px 110px rgba(0,0,0,.72); }
.video-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 12px 16px 12px 22px; border-bottom: 1px solid var(--line); }
.video-dialog-header > div { display: grid; gap: 3px; text-align: left; }
.video-dialog-header small { color: var(--gold); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.video-dialog-header strong { color: var(--cream); font: 700 17px/1.2 Georgia, serif; }
.video-player-shell { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-player-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; text-align: left; }
.video-fallback a { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(208,189,119,.35); border-radius: 10px; color: var(--gold-light); font-weight: 800; text-decoration: none; }

.install-modal { position: fixed; z-index: 190; inset: 0; display: grid; place-items: center; padding: 18px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.install-modal.open { visibility: visible; opacity: 1; }
.install-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.84); backdrop-filter: blur(10px); }
.install-dialog { position: relative; width: min(430px, 100%); padding: 30px; border: 1px solid rgba(208,189,119,.35); border-radius: 26px; background: #0b1c1f; box-shadow: 0 34px 110px rgba(0,0,0,.72); text-align: center; }
.install-dialog-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border: 1px solid var(--gold); border-radius: 18px; color: var(--cream); font: italic 700 34px/1 Georgia, serif; }
.install-dialog h2 { margin-bottom: 10px; }
.install-dialog > p:not(.eyebrow) { margin: 0 auto 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.install-dialog ol { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: install; text-align: left; }
.install-dialog li { counter-increment: install; display: flex; align-items: flex-start; gap: 11px; margin-top: 11px; color: var(--cream); font-size: 13px; line-height: 1.45; }
.install-dialog li::before { content: counter(install); display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: rgba(208,189,119,.14); color: var(--gold-light); font-weight: 900; }
.install-dialog-close { width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: var(--gold); color: #071416; font-weight: 900; cursor: pointer; }

@media (max-width: 850px) {
  .main-content { width: min(100% - 30px, 720px); padding-top: 30px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .login-view { padding: 14px; }
  .login-card { padding: 29px 20px; border-radius: 24px; }
  .login-brand { margin-bottom: 29px; }
  .app-shell { padding-bottom: calc(78px + var(--safe-bottom)); }
  .topbar { height: 68px; padding-inline: 16px; }
  .brand-copy strong { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .logout-button { width: 38px; padding: 0; justify-content: center; }
  .logout-button span { display: none; }
  .main-content { width: calc(100% - 30px); padding: 15px 0 42px; }
  .install-card { grid-template-columns: 44px 1fr; gap: 12px; margin-bottom: 27px; padding: 14px; border-radius: 18px; }
  .install-card-icon { width: 44px; height: 44px; border-radius: 13px; }
  .install-card-copy strong { font-size: 16px; }
  .install-card-copy p { font-size: 10px; line-height: 1.4; }
  .install-button { grid-column: 1 / -1; justify-content: center; width: 100%; min-height: 52px; font-size: 14px; }
  .welcome-row { align-items: flex-start; margin-bottom: 24px; }
  .welcome-copy { font-size: 13px; }
  .continue-panel { grid-template-columns: 74px 1fr auto; gap: 14px; min-height: 120px; padding: 13px; border-radius: 21px; }
  .continue-panel > img { width: 74px; height: 94px; border-radius: 11px; }
  .continue-copy h2 { margin-top: 7px; font-size: 22px; }
  .continue-copy p { margin-bottom: 8px; font-size: 11px; }
  .round-action { width: 42px; height: 42px; }
  .library-section, .more-section { margin-top: 44px; }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 29px; }
  .count-badge { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 17px; }
  .product-card { display: grid; grid-template-columns: 122px 1fr; min-height: 184px; border-radius: 20px; }
  .cover-button { height: 100%; min-height: 184px; }
  .cover-status { top: 10px; left: 9px; max-width: 104px; padding-inline: 7px; font-size: 7px; }
  .card-copy { display: flex; flex-direction: column; padding: 18px 16px; }
  .card-copy h3 { font-size: 21px; }
  .card-copy > p:not(.product-kind) { min-height: 0; margin-bottom: 12px; font-size: 11px; }
  .text-action { margin-top: auto; }
  .mini-grid { grid-template-columns: 1fr; }
  .bottom-nav {
    position: fixed;
    z-index: 50;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: calc(68px + var(--safe-bottom));
    padding: 7px 12px var(--safe-bottom);
    border-top: 1px solid var(--line);
    background: rgba(7,20,22,.96);
    backdrop-filter: blur(20px);
  }
  .bottom-nav button { display: grid; place-items: center; gap: 2px; border: 0; background: none; color: #718284; font-size: 9px; cursor: pointer; }
  .bottom-nav button.active { color: var(--gold-light); }
  .bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .reader { grid-template-rows: 62px 1fr 58px; }
  .reader-stage { padding: 16px 7px 60px; }
  .document-page { margin-bottom: 18px; }
  .video-modal { padding: 8px; }
  .install-modal { padding: 10px; }
  .install-dialog { padding: 25px 20px; border-radius: 22px; }
  .video-dialog { border-radius: 18px; }
  .video-dialog-header { min-height: 62px; padding: 9px 10px 9px 16px; }
  .video-player-shell { aspect-ratio: 9 / 14; max-height: calc(100vh - 96px); }
  .video-fallback { align-items: stretch; flex-direction: column; }
  .video-fallback a { text-align: center; }
  .page-video-actions { left: 8px; bottom: 8px; gap: 5px; }
  .video-chip { min-height: 30px; padding: 6px 9px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
