@font-face {
  font-family: Montserrat;
  src: url('/montserrat.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f8fa;
  --white: #ffffff;
  --ink: #102b38;
  --muted: #52616b;
  --line: #cfdbdf;
  --navy: #102b38;
  --blue: #006fa3;
  --ice: #74ccf2;
  --cyan: #20b5ee;
  --pale: #e7f3f9;
  --display: Montserrat, Arial, sans-serif;
  font-family: Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; background: radial-gradient(ellipse at 48% 24%, #24485d, #132638 49%, #0d172b 80%); color: var(--ink); }
button, textarea, input { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid #007db8; outline-offset: 3px; }
button, a { touch-action: manipulation; }
a { color: #006fa3; text-underline-offset: 3px; }
svg { width: 20px; height: 20px; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }

.device { width: min(418px, calc(100vw - 14px)); height: min(886px, calc(100dvh - 36px)); min-height: 440px; padding: 8px; border-radius: 49px; background: #0a101d; box-shadow: 0 30px 80px #00000070, 0 5px 15px #00000066, 0 0 0 1px #52687a; }
.screen { display: flex; flex-direction: column; position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: var(--paper); }
.statusbar { flex: 0 0 44px; position: relative; display: flex; justify-content: space-between; align-items: center; padding: 0 29px; color: #102b38; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); background: #0a101d; width: 108px; height: 28px; border-radius: 30px; }
.status-icons, .signal { display: inline-flex; align-items: end; gap: 5px; }
.signal { gap: 2px; height: 11px; }
.signal i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.signal i:nth-child(2) { height: 6px; }.signal i:nth-child(3) { height: 8px; }.signal i:nth-child(4) { height: 10px; }
.wifi { font-size: 13px; line-height: 11px; transform: rotate(-42deg); }
.battery { position: relative; width: 17px; height: 9px; border: 1px solid currentColor; border-radius: 3px; }
.battery::before { content: ''; position: absolute; inset: 1px; border-radius: 1px; background: currentColor; }
.battery::after { content: ''; position: absolute; right: -3px; top: 2px; border: 1px solid currentColor; height: 2px; border-radius: 1px; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 2px 20px 12px; min-height: 69px; border-bottom: 1px solid var(--line); }
.brand { display: block; border: 0; background: none; padding: 0; color: #0d172b; font: 875 28px/.95 var(--display); letter-spacing: -.06em; }
.brand-lockup { padding: 2px 0 0 10px; border-left: 4px solid var(--cyan); }
.maker { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.maker img { display: block; width: 91px; height: auto; }
.circle-button, .icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); }
.circle-button svg, .icon-button svg { width: 17px; height: 17px; }

main { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-width: none; overscroll-behavior-y: contain; padding: 15px 20px 25px; }
main::-webkit-scrollbar { display: none; }
.lead { margin: 4px 0 17px; }
.lead h1 { font: 820 clamp(25px, 7vw, 35px)/1 var(--display); letter-spacing: -.055em; overflow-wrap: anywhere; }
.lead p { margin-top: 9px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 780; letter-spacing: .115em; text-transform: uppercase; line-height: 1.3; }
.heading-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.caption, .fine { color: var(--muted); font-size: 11px; line-height: 1.45; }
.heading-row .caption { white-space: nowrap; }
main[data-page='learn'] { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; padding: 12px 14px 14px; }
.learn-intro .lead { margin: 0 0 10px; }
.learn-intro h1 { font-size: clamp(22px, 6.5vw, 32px); }
#progress-overlay { position: absolute; z-index: 2; right: 14px; bottom: 86px; left: 14px; pointer-events: none; }
.tabs[hidden] ~ #progress-overlay { bottom: 25px; }
#progress-overlay .topic-progress { box-shadow: 0 3px 12px #102b3820; }
.topic-progress { display: grid; gap: 8px; padding: 12px; margin-top: 9px; border-radius: 12px; background: #e1edf4; color: #355468; font-size: 12px; font-weight: 700; }
.topic-progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: #bed2df; }
.topic-progress-track span { display: block; width: 6%; height: 100%; border-radius: inherit; background: linear-gradient(100deg, #006fa3, #20b5ee, #006fa3) 0 0 / 200% 100%; transition: width .12s linear; animation: progress-shimmer 2s linear infinite; }
@keyframes progress-shimmer { to { background-position: 200% 0; } }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(44px, 1fr)); gap: 8px; }
.category-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; min-height: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(155deg, var(--white) 45%, #e9f4f9); text-align: left; font: 780 clamp(13px, 4vw, 16px)/1.18 var(--display); letter-spacing: -.028em; }
.category-tile:hover { border-color: #64a6c2; }
.category-tile > span:first-child { overflow-wrap: anywhere; }
.category-arrow { width: 24px; height: 24px; border-radius: 7px; background: var(--cyan); display: grid; place-items: center; }
.category-arrow svg { width: 14px; height: 14px; }
.composer { margin-top: 17px; }
.learn-composer { margin: 0; }
.composer label[for] { display: block; font-size: 12px; font-weight: 740; margin-bottom: 7px; }
.input-row { display: flex; gap: 7px; align-items: stretch; }
.field, .input-row input { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 11px 12px; border: 1px solid #cfdbdf; border-radius: 12px; color: var(--ink); background: var(--white); font-size: 14px; }
.topic-field { position: relative; flex: 1; min-width: 0; }
.topic-hints { position: absolute; inset: 0 12px; display: flex; flex-wrap: wrap; align-content: center; gap: 1px 5px; pointer-events: none; user-select: none; color: #a2afb7; font-size: 12px; line-height: 1.3; }
.topic-hints > span { white-space: nowrap; }
.topic-field .topic-hints > span { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#follow-form { margin-top: 12px; }
.topic-field input:focus + .topic-hints,
.topic-field input:not(:placeholder-shown) + .topic-hints { visibility: hidden; }
.field::placeholder, input::placeholder { color: #596e7a; }
.input-row .send { display: grid; place-items: center; flex: 0 0 46px; border: 0; border-radius: 12px; color: #0d172b; background: var(--cyan); }
.input-row .send svg { width: 18px; height: 18px; }

.tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 9px 0; border-top: 1px solid #244352; background: #0d172b; flex: 0 0 61px; }
.tabs[hidden], #profile[hidden] { display: none; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--cyan); border: 0; border-radius: 13px; background: transparent; padding: 0 2px; font-size: 10px; font-weight: 650; }
.tab .tab-icon { width: 39px; height: 27px; border-radius: 10px; display: grid; place-items: center; }
.tab svg { width: 19px; height: 19px; }
.tab[aria-current='page'] { font-weight: 780; }
.tab[aria-current='page'] .tab-icon { background: var(--cyan); color: var(--ink); }
.tab:disabled { cursor: default; opacity: .42; }
.home-indicator { flex: 0 0 17px; background: #0d172b; display: grid; place-items: center; }
.home-indicator span { width: 104px; height: 4px; border-radius: 8px; background: #b9c9d5; }

.back { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; background: transparent; border: 0; padding: 0; font-size: 12px; font-weight: 720; color: #476072; }
.back svg { width: 15px; height: 15px; }
.lesson-head { display: grid; gap: 10px; margin: 6px 0 16px; }
.lesson-head h1 { font: 820 34px/1.04 var(--display); letter-spacing: -.05em; overflow-wrap: anywhere; }
.lesson-head .eyebrow { color: #006fa3; }
.lesson-topic { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dive-overview { margin: 0 0 14px; background: var(--pale); border-radius: 12px; padding: 12px 13px; font-size: 14px; line-height: 1.52; white-space: pre-line; overflow-wrap: anywhere; }
.dive-detail { border-left: 2px solid var(--cyan); padding-left: 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.button, .button-secondary, .button-quiet { border: 0; min-height: 40px; padding: 8px 12px; display: inline-flex; gap: 6px; align-items: center; justify-content: center; border-radius: 11px; text-decoration: none; background: var(--navy); color: #ffffff; font-weight: 700; font-size: 12px; line-height: 1.25; }
.button svg, .button-secondary svg, .button-quiet svg { width: 15px; height: 15px; }
.button-secondary { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.button-quiet { min-height: 30px; border: 0; color: #006491; background: transparent; padding: 3px 1px; }
.button.full { width: 100%; }
.lesson-section { border-top: 1px solid var(--line); padding: 13px 0 12px; }
.lesson-section h2, .lesson-list h2, .subhead { font: 750 19px/1.14 var(--display); letter-spacing: -.032em; }
.lesson-section p, .lesson-list p, .para { margin-top: 6px; font-size: 14px; line-height: 1.55; }
.lesson-list { margin: 0 0 13px; padding-left: 27px; border-top: 1px solid var(--line); }
.lesson-list li { padding: 12px 0; }
.lesson-list li + li { border-top: 1px solid var(--line); }
.lesson-list li::marker { color: var(--blue); font: 800 15px var(--display); }
.coverage-note { padding: 10px 12px; margin-bottom: 12px; border-radius: 10px; background: var(--pale); font-size: 13px; line-height: 1.45; }
.dinner-card { margin: 8px 0 15px; border-radius: 16px; border-left: 4px solid var(--cyan); padding: 13px 16px 16px; background: #0d172b; color: white; }
.dinner-card .heading-row, .dinner-card .button-quiet { color: var(--ice); }
.dinner-card blockquote { margin: 6px 0; padding: 0; font: 640 21px/1.24 var(--display); letter-spacing: -.03em; }
.dinner-line + .dinner-line { margin-top: 13px; padding-top: 10px; border-top: 1px solid #365269; }
.dinner-line .heading-row { margin-bottom: 1px; }
.dinner-line h2 { text-transform: none; letter-spacing: .03em; font-size: 11px; }
.dinner-card .fine { margin-top: 10px; color: #bcd7e9; }
.panel { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); margin-bottom: 10px; }
.panel-title { margin-bottom: 8px; font-size: 13px; font-weight: 740; }
details { margin: 10px 0; border: 1px solid var(--line); border-radius: 13px; background: #f2f7fa; }
summary { padding: 11px 12px; font-size: 12px; font-weight: 720; cursor: pointer; }
.sources ul { margin: 0; padding: 0 14px 12px 27px; display: grid; gap: 8px; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.section-title { margin: 18px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { padding: 6px 8px; min-height: 30px; border-radius: 9px; border: 1px solid #c8dae5; background: var(--pale); font-size: 11px; }
.followup-list { display: grid; gap: 6px; margin-top: 12px; }
.followup-list .list-row { min-height: 44px; border-radius: 10px; padding: 6px 8px 6px 10px; }
.followup-context { display: flex; flex-wrap: wrap; gap: 5px; }
.followup-context .button-quiet { text-align: left; justify-content: flex-start; padding: 5px 8px; border-radius: 8px; }
.segment { display: flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 12px; background: #e1edf4; }
.segment button { flex: 1; padding: 8px 5px; background: transparent; border: 0; border-radius: 9px; font-size: 11px; font-weight: 660; min-height: 33px; }
.segment button[aria-pressed='true'] { background: var(--white); box-shadow: 0 1px 3px #102b3820; font-weight: 760; }
.memory-search { position: relative; margin-bottom: 12px; }
.memory-search svg { position: absolute; top: 50%; left: 12px; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.memory-search .field { padding-left: 36px; }
.group { margin-top: 14px; display: grid; gap: 7px; }
.group .eyebrow { color: var(--muted); }
h2.eyebrow { text-transform: none; letter-spacing: .035em; font-size: 11px; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 9px; width: 100%; min-height: 58px; text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 10px 11px; }
.list-row strong { display: block; overflow-wrap: anywhere; font-size: 13px; line-height: 1.25; }
.list-row small { display: block; color: var(--muted); margin-top: 3px; font-size: 11px; }
.list-open-arrow { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--cyan); color: var(--ink); }
.list-open-arrow svg { width: 15px; height: 15px; }
.list-row:hover .list-open-arrow { filter: brightness(1.08); }
.memory-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; padding-right: 9px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; }
.memory-row .list-row { min-width: 0; border: 0; border-radius: 11px; padding-right: 0; background: transparent; }
.memory-rating { min-height: 34px; max-width: 140px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: 700 11px Arial, sans-serif; cursor: pointer; }
.empty { border: 1px dashed #bfd0db; border-radius: 16px; padding: 20px 16px; color: var(--muted); font-size: 13px; line-height: 1.5; margin: 13px 0; }
.empty strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; }
.empty button { margin-top: 10px; }
.offer { background: var(--white); border-left: 3px solid var(--cyan); }
.offer-link { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.offer-cover { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: var(--blue); background: var(--pale); }
.offer-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-copy { display: grid; gap: 4px; }
.offer-copy .eyebrow { color: var(--blue); text-transform: none; letter-spacing: .015em; font-size: 11px; }
.offer-copy strong { font: 760 17px/1.14 var(--display); letter-spacing: -.032em; overflow-wrap: anywhere; }
.offer-copy .fine:last-child { font-weight: 700; color: var(--blue); }
.offer-copy svg { width: 13px; height: 13px; margin-left: 2px; }
.offer-link:hover .fine:last-child { text-decoration: underline; }
.offer .para { font-size: 12px; }
.offer-remove { margin-top: 6px; }
.affiliate-form { padding: 0 10px 10px; }
.affiliate-form .field { margin: 8px 0; }
.card { padding: 14px; border: 1px solid #cfdbdf; border-radius: 15px; background: var(--white); margin: 7px 0; }
.card h3 { font: 690 19px/1.2 var(--display); letter-spacing: -.03em; }
.card p { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.card .actions { margin-top: 10px; }
.danger { color: #8a4438; }
.linked-cards, .report-list article { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; }
.linked-cards h4 { margin: 0; font-size: 12px; }
.accuracy-panel .field { margin: 6px 0 8px; }
.linked-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; }
.linked-row strong, .linked-row small { display: block; overflow-wrap: anywhere; }
.linked-row strong { font-size: 12px; line-height: 1.3; }
.linked-row small { color: var(--muted); font-size: 10px; margin-top: 4px; line-height: 1.4; }
.linked-row .button-secondary, .linked-row .button-quiet { flex-shrink: 0; min-height: 33px; }
.linked-open { flex: 1; padding: 7px 9px; border: 0; border-radius: 9px; text-align: left; }
.deleted-cards { margin-top: 14px; }
.accuracy-panel form { margin-top: 7px; }
.report-list article .para { margin-top: 0; overflow-wrap: anywhere; }
.rating-buttons { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 5px; }
.rating-button { min-height: 40px; padding: 5px 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.18; }
.rating-button[aria-pressed='true'] { border-color: var(--navy); background: var(--navy); color: white; }
.lesson-rating .rating-buttons { margin-top: 9px; }
.lesson-next { margin-bottom: 12px; }
.next-topic-actions { display: grid; gap: 8px; margin-bottom: 12px; }
.next-topic-actions button span { text-wrap: balance; }
#lesson-recommendation:empty { min-height: 1px; }
.topic-footer { padding: 5px 0; border-top: 1px solid var(--line); }
.topic-footer .button-quiet, .topic-footer summary { font-size: 11px; font-weight: 650; color: var(--muted); }
.topic-footer .sources { margin: 0; border: 0; background: transparent; }
.topic-footer summary { min-height: 28px; padding: 7px 1px; }
.topic-footer .button-quiet { justify-content: flex-start; min-height: 28px; }
.topic-footer .button-quiet svg { width: 12px; height: 12px; }
.quiz-filters { position: sticky; top: -15px; z-index: 1; margin: 0 0 7px; padding: 6px 0 5px; background: var(--paper); }
.quiz-filters .fine { margin-bottom: 7px; }
.quiz-card { background: #e4f1f8; padding: 15px; margin-bottom: 10px; }
.quiz-card .eyebrow { margin: 0; color: #456579; font-size: 10px; }
.quiz-card h2 { font: 780 24px/1.13 var(--display); letter-spacing: -.035em; }
.quiz-card .reference { margin-top: 13px; padding-top: 10px; border-top: 1px solid #c1d7e4; }
.quiz-review { min-height: 30px; padding: 4px 10px; border-radius: 8px; font-size: 11px; }
.quiz-recall { margin-top: 11px; overflow-wrap: anywhere; }
.quiz-response { margin-bottom: 12px; }
.quiz-response .button { margin-top: 8px; }
.screen-button { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.screen-button small { color: var(--ink); }
.back.screen-button { padding: 0 9px; border-radius: 9px; }
.error { background: #f4e7e2; color: #803e31; border-radius: 11px; margin-top: 9px; padding: 10px; font-size: 12px; line-height: 1.4; }
.toast { position: absolute; z-index: 2; bottom: 87px; left: 15px; right: 15px; border-radius: 12px; background: #0d172b; color: white; box-shadow: 0 3px 12px #0d172b44; padding: 11px 13px; font-size: 12px; }

.login-view { margin: clamp(12px, 3.5vh, 38px) auto 0; max-width: 340px; }
.login-view .lead { margin-bottom: 22px; }
.account-form { display: grid; gap: 12px; }
.account-field { display: grid; min-width: 0; gap: 6px; font-size: 12px; font-weight: 700; }
.account-field .field { font-weight: 400; }
.account-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.4; cursor: pointer; }
.account-check input { accent-color: var(--blue); flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; }
.outreach-check { font-size: 12px; }
.outreach-terms { margin: -7px 0 0 25px; }
.login-outreach { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.login-outreach summary { cursor: pointer; color: var(--blue); font-size: 12px; font-weight: 700; padding: 11px 0 2px; }
.outreach-disclosure { display: grid; gap: 12px; padding-top: 10px; }
.login-local { text-align: center; }
.account-links { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 12px 0; font-size: 12px; line-height: 1.4; }
.login-view .account-links { margin-bottom: 0; }
.profile-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.profile-heading .button-quiet { flex: 0 0 auto; }
.profile-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.profile-form { gap: 10px; margin-bottom: 14px; }
.account-form .panel-title { margin-bottom: 0; }
.associate-note { margin: 0 0 12px; }
.offer-copy .affiliate-note { color: var(--ink); }
.privacy-notice section { margin-top: 16px; }
.privacy-notice section h2 { margin-bottom: 6px; }
.privacy-notice p { max-width: 70ch; }

@media (max-width: 540px) and (pointer: coarse) {
  body { display: block; background: var(--paper); }
  .device { width: 100%; height: 100dvh; min-height: 0; max-height: none; padding: 0; border-radius: 0; box-shadow: none; }
  .screen { border-radius: 0; }
  .statusbar { display: none; }
  .topbar { padding-top: max(7px, env(safe-area-inset-top)); }
  .home-indicator { flex-basis: max(9px, env(safe-area-inset-bottom)); }
  .home-indicator span { display: none; }
  .field, .input-row input { font-size: 16px; }
}
@media (max-height: 700px) {
  .category-grid { gap: 6px; }
  .category-tile { padding: 5px 8px; font-size: 13px; line-height: 1.14; }
}
@media (max-height: 620px) {
  main[data-page='learn'] { gap: 8px; padding: 8px 12px; }
  .learn-intro .lead { margin-bottom: 6px; }
  .learn-intro h1 { font-size: 22px; }
  .learn-composer label[for] { margin-bottom: 4px; }
  .category-tile { padding-block: 2px; font-size: 12px; line-height: 1.12; }
}
@media (max-width: 395px) {
  main { padding-left: 16px; padding-right: 16px; }
  .category-tile { gap: 5px; }
  .category-arrow { width: 20px; height: 20px; }
}
@media (max-width: 350px) {
  .category-tile { padding-inline: 6px; gap: 3px; }
  .category-arrow { width: 16px; height: 16px; }
  .category-arrow svg { width: 11px; height: 11px; }
  .memory-row { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 10px 8px; }
  .memory-row .list-row { min-height: 47px; padding: 8px 0 4px; }
  .memory-rating { justify-self: end; }
}
@media (max-height: 735px) and (pointer: fine) {
  .device { height: calc(100dvh - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .topic-progress-track span { animation: none; transition: none; }
}
