@font-face { font-family: Rubik; src: url(fonts/rubik_400.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Rubik; src: url(fonts/rubik_500.ttf) format("truetype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: Rubik; src: url(fonts/rubik_700.ttf) format("truetype"); font-weight: 700 800; font-display: swap; }

:root {
  --bg: #07090E; --bg2: #0B0F17; --s1: #10151F; --s2: #161C28; --s3: #1E2533; --s4: #272F3F;
  --stroke: rgba(255,255,255,.09); --stroke2: rgba(255,255,255,.18);
  --t1: #F2F5FA; --t2: #A9B3C5; --t3: #6F7B90;
  --b1: #7B61FF; --b2: #22D3EE; --math: #22D3EE; --heb: #F7B955; --eng: #A78BFA;
  --good: #34D399; --bad: #FB7185; --warn: #FBBF24;
  --grad: linear-gradient(90deg, var(--b1), var(--b2));
  --top: env(safe-area-inset-top, 0px); --bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--t1); font-family: Rubik, -apple-system, system-ui, sans-serif; font-size: 16px; line-height: 1.5;
  background: radial-gradient(900px 520px at 85% -8%, rgba(123,97,255,.16), transparent 60%), radial-gradient(700px 420px at 0% 0%, rgba(34,211,238,.08), transparent 55%), var(--bg);
  background-attachment: fixed; touch-action: manipulation; overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input, select { font: inherit; font-size: 16px; color: var(--t1); }
a { color: var(--b2); }
b, strong { font-weight: 600; }
.m { unicode-bidi: isolate; direction: ltr; }
.ltr { direction: ltr; text-align: left; }
.ltr .m { direction: ltr; }
[hidden] { display: none !important; }
[data-act], [data-sact] { cursor: pointer; }
[role=button]:focus { outline: none; }

/* ------------------------------------------------------------------ layout */
#app { max-width: 560px; margin: 0 auto; min-height: 100vh; }
.page { padding: 4px 18px calc(110px + var(--bottom)); animation: rise .28s ease both; }
.page.no-tabs { padding-bottom: calc(120px + var(--bottom)); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--top)) 14px 10px; background: rgba(7,9,14,.93); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.top .titles { flex: 1; min-width: 0; }
.top h1 { font-size: 19px; font-weight: 600; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .sub { font-size: 13px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--t1); background: var(--s2); border: 1px solid var(--stroke); flex: none; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.plain { background: none; border: 0; color: var(--t2); }
.progress-line { height: 5px; margin: 0 18px 6px; border-radius: 9px; background: var(--s3); overflow: hidden; }
.progress-line > i { display: block; height: 100%; background: var(--grad); border-radius: 9px; transition: width .35s ease; }

.home-head { display: flex; align-items: center; gap: 10px; padding: calc(18px + var(--top)) 18px 8px; }
.home-head .hello { flex: 1; }
.home-head h1 { margin: 0; font-size: 27px; font-weight: 700; }
.home-head .date { color: var(--t2); font-size: 14px; }

/* tab bar */
.tabs {
  position: fixed; z-index: 30; bottom: calc(10px + var(--bottom)); left: 50%; transform: translateX(-50%);
  width: min(532px, calc(100% - 24px)); display: flex; justify-content: space-between; padding: 7px; border-radius: 28px;
  background: rgba(16,21,31,.86); border: 1px solid var(--stroke); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px; border-radius: 20px; color: var(--t3); font-size: 11.5px; font-weight: 500; }
.tab svg { width: 23px; height: 23px; }
.tab .pill-bg { padding: 3px 14px; border-radius: 16px; transition: background .2s; }
.tab.on { color: var(--t1); }
.tab.on .pill-bg { background: rgba(34,211,238,.16); color: var(--b2); }

/* ------------------------------------------------------------------ building blocks */
.panel { background: var(--s1); border: 1px solid var(--stroke); border-radius: 24px; padding: 18px; margin: 12px 0; position: relative; }
.panel.tight { padding: 8px; }
.panel.click { cursor: pointer; }
.panel.click:active { transform: scale(.985); }
.panel.accent { border-color: rgba(34,211,238,.4); background: linear-gradient(180deg, rgba(34,211,238,.07), rgba(34,211,238,.02)), var(--s1); }
.panel.good { border-color: rgba(52,211,153,.45); background: linear-gradient(180deg, rgba(52,211,153,.08), rgba(52,211,153,.02)), var(--s1); }
.panel.bad { border-color: rgba(251,113,133,.45); background: linear-gradient(180deg, rgba(251,113,133,.08), rgba(251,113,133,.02)), var(--s1); }
.panel.warn { border-color: rgba(251,191,36,.45); background: linear-gradient(180deg, rgba(251,191,36,.08), rgba(251,191,36,.02)), var(--s1); }
.panel.brand { border-color: rgba(123,97,255,.45); background: linear-gradient(180deg, rgba(123,97,255,.10), rgba(123,97,255,.02)), var(--s1); }
.panel h2 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.panel h3 { margin: 0; font-size: 16px; font-weight: 600; }
.section { margin: 22px 4px 6px; font-size: 14px; font-weight: 600; color: var(--t2); letter-spacing: .2px; }
.muted { color: var(--t2); } .faint { color: var(--t3); } .small { font-size: 13.5px; line-height: 1.55; } .tiny { font-size: 12px; }
.good-t { color: var(--good); } .bad-t { color: var(--bad); } .warn-t { color: var(--warn); } .b2-t { color: var(--b2); }
.row { display: flex; align-items: center; gap: 12px; }
.row.top-al { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.gap8 { height: 8px; } .gap12 { height: 12px; } .gap16 { height: 16px; } .gap24 { height: 24px; }
.center { text-align: center; }
.chev { color: var(--t3); width: 20px; height: 20px; flex: none; }
.badge { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; flex: none; background: rgba(34,211,238,.13); color: var(--b2); }
.badge svg { width: 23px; height: 23px; }
.badge.sm { width: 36px; height: 36px; border-radius: 12px; } .badge.sm svg { width: 19px; height: 19px; }
.badge.good { background: rgba(52,211,153,.14); color: var(--good); }
.badge.bad { background: rgba(251,113,133,.14); color: var(--bad); }
.badge.warn { background: rgba(251,191,36,.14); color: var(--warn); }
.badge.brand { background: rgba(123,97,255,.16); color: #A594FF; }
.badge.eng { background: rgba(167,139,250,.15); color: var(--eng); }
.badge.heb { background: rgba(247,185,85,.14); color: var(--heb); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap;
  color: var(--b2); background: rgba(34,211,238,.12); }
.pill.good { color: var(--good); background: rgba(52,211,153,.13); }
.pill.bad { color: var(--bad); background: rgba(251,113,133,.13); }
.pill.warn { color: var(--warn); background: rgba(251,191,36,.13); }
.pill.gray { color: var(--t2); background: var(--s3); }
.pill.math { color: var(--math); background: rgba(34,211,238,.12); }
.pill.hebrew { color: var(--heb); background: rgba(247,185,85,.13); }
.pill.english { color: var(--eng); background: rgba(167,139,250,.14); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }

.btn { width: 100%; min-height: 54px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px;
  font-size: 17px; font-weight: 600; color: var(--t1); background: var(--s2); border: 1px solid var(--stroke2); transition: transform .12s, opacity .2s; }
.btn svg { width: 21px; height: 21px; flex: none; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 8px 26px rgba(76,141,255,.28); }
.btn.good { background: linear-gradient(90deg, #10B981, #34D399); border: 0; color: #04140E; }
.btn.danger { color: var(--bad); border-color: rgba(251,113,133,.4); }
.btn.small { min-height: 44px; font-size: 15px; border-radius: 14px; width: auto; }
.btn[disabled] { opacity: .42; pointer-events: none; box-shadow: none; }
.btns { display: flex; gap: 10px; }
.btns > * { flex: 1; }

.bar { position: relative; height: 7px; border-radius: 9px; background: var(--s3); }
.bar > i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 9px; }
.bar.band { margin-bottom: 7px; }
.bar > u { position: absolute; bottom: -6px; height: 2px; border-radius: 2px; opacity: .75; text-decoration: none; }

.ring { position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; display: block; }
.ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-in .big { font-size: 34px; font-weight: 700; line-height: 1; }
.ring-in .mid { font-size: 22px; font-weight: 700; line-height: 1.1; }
.ring-in .lbl { font-size: 11.5px; color: var(--t2); margin-top: 3px; }

.list-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; cursor: pointer; }
.list-row:active { background: var(--s2); }
.list-row + .list-row { margin-top: 2px; }
.list-row .t { font-weight: 600; font-size: 15.5px; }
.list-row .s { color: var(--t2); font-size: 13px; line-height: 1.45; }
.check { width: 26px; height: 26px; flex: none; color: var(--t3); }
.check.done { color: var(--good); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.tile { background: var(--s1); border: 1px solid var(--stroke); border-radius: 20px; padding: 14px; }
.tile .v { font-size: 24px; font-weight: 700; }
.tile .k { font-size: 12.5px; color: var(--t2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 14px; background: var(--s2); border: 1px solid var(--stroke2); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.chip.on { background: rgba(34,211,238,.14); border-color: var(--b2); color: var(--b2); }
.chips.week .chip { width: calc((100% - 48px) / 7); padding: 0; }
.field { display: block; margin: 14px 0; }
.field > span { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type=text], .field input[type=date], .field input[type=number] {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 16px; background: var(--s2); border: 1px solid var(--stroke2); outline: none; }
.field input:focus { border-color: var(--b2); }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 44px; height: 44px; border-radius: 14px; background: var(--s2); border: 1px solid var(--stroke2); font-size: 22px; font-weight: 600; }
.stepper b { min-width: 64px; text-align: center; font-size: 17px; }

/* ------------------------------------------------------------------ question */
.why { display: flex; gap: 8px; color: var(--t2); font-size: 15px; margin: 8px 0 14px; }
.why svg { width: 19px; height: 19px; color: var(--b2); flex: none; margin-top: 2px; }
.stem { font-size: 20px; line-height: 1.6; font-weight: 500; margin: 14px 0 4px; overflow-wrap: anywhere; }
.stem p { margin: 0 0 4px; }
.stem.math b { color: var(--math); } .stem.hebrew b { color: var(--heb); } .stem.english b { color: var(--eng); }
.note { color: var(--t3); font-size: 13px; margin-top: 4px; }
.passage { background: var(--s2); border: 1px solid var(--stroke); border-radius: 20px; padding: 14px 16px; margin-bottom: 14px; }
.passage summary { list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.passage summary::-webkit-details-marker { display: none; }
.passage summary svg { width: 20px; height: 20px; color: var(--heb); flex: none; }
.passage summary .exp { margin-inline-start: auto; color: var(--t2); transition: transform .2s; }
.passage[open] summary .exp { transform: rotate(180deg); }
.passage .ptext { margin-top: 10px; font-size: 17px; line-height: 1.75; }
.passage .ptext p { margin: 0 0 10px; }
.figure, .chart, .table { background: var(--s2); border: 1px solid var(--stroke); border-radius: 20px; padding: 12px; margin-bottom: 14px; }
.figure svg, .chart svg { width: 100%; height: auto; display: block; }
.figure text, .chart text { font-family: Rubik, system-ui, sans-serif; }
.chart-title, .table-title { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.chart-note { color: var(--t3); font-size: 12px; margin-top: 6px; }
.legend { display: flex; gap: 14px; margin-bottom: 6px; font-size: 13px; color: var(--t2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table table { border-collapse: collapse; min-width: 100%; font-size: 14.5px; }
.table th { background: var(--s4); font-weight: 600; padding: 9px 10px; white-space: nowrap; }
.table th:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
.table th:last-child { border-start-end-radius: 10px; border-end-end-radius: 10px; }
.table td { padding: 9px 10px; text-align: center; color: var(--t2); white-space: nowrap; }
.table td:first-child, .table th:first-child { text-align: start; color: var(--t1); }
.table tr:nth-child(even) td { background: rgba(30,37,51,.5); }
.table-note { color: var(--t3); font-size: 12px; margin-top: 6px; }

.opts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; border-radius: 18px; background: var(--s1); border: 1.5px solid var(--stroke);
  text-align: start; width: 100%; font-size: 17px; line-height: 1.45; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: border-color .2s, background .2s; }
.opt .num { width: 32px; height: 32px; border-radius: 50%; background: var(--s3); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; }
.opt .txt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.opt .mark { width: 24px; height: 24px; flex: none; }
.opt.sel { border-color: var(--b2); background: rgba(34,211,238,.10); }
.opt.sel .num { background: rgba(34,211,238,.25); }
.opt.ok { border-color: var(--good); background: rgba(52,211,153,.12); }
.opt.ok .mark { color: var(--good); }
.opt.bad { border-color: var(--bad); background: rgba(251,113,133,.12); }
.opt.bad .mark { color: var(--bad); }
.opt.dim .txt { color: var(--t3); }
.opt.struck .txt { text-decoration: line-through; color: var(--t3); }
.opt[disabled] { cursor: default; }
.hint-line { color: var(--t3); font-size: 12.5px; text-align: center; margin-top: 10px; }

.dock { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + var(--bottom)); background: linear-gradient(180deg, rgba(7,9,14,0), rgba(7,9,14,.92) 26%); }
.dock .inner { max-width: 528px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.dock .inner > .btn { flex: 1; }
.toggle-unsure { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 54px; padding: 0 14px; border-radius: 18px; background: var(--s2); border: 1px solid var(--stroke2); font-size: 15px; font-weight: 500; color: var(--t2); flex: none; }
.toggle-unsure.on { color: var(--warn); border-color: rgba(251,191,36,.5); background: rgba(251,191,36,.08); }
.timer { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--s2); border: 1px solid var(--stroke); font-weight: 600; font-variant-numeric: tabular-nums; }
.timer svg { width: 17px; height: 17px; color: var(--b2); }
.timer.low { color: var(--warn); border-color: rgba(251,191,36,.5); }
.timer.over { color: var(--bad); border-color: rgba(251,113,133,.5); }

.steps { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 10px; }
.step .n { width: 26px; height: 26px; border-radius: 50%; background: rgba(123,97,255,.25); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; margin-top: 1px; }
.step .w { color: var(--t2); font-size: 14.5px; margin-top: 3px; }
.step .w em { color: var(--b2); font-style: normal; }
details.exp-sec { background: var(--s1); border: 1px solid var(--stroke); border-radius: 22px; padding: 16px 18px; margin: 12px 0; }
details.exp-sec > summary { list-style: none; display: flex; align-items: center; font-weight: 600; font-size: 16.5px; color: var(--b2); cursor: pointer; }
details.exp-sec > summary::-webkit-details-marker { display: none; }
details.exp-sec > summary .exp { margin-inline-start: auto; color: var(--t2); width: 20px; height: 20px; transition: transform .2s; }
details.exp-sec[open] > summary .exp { transform: rotate(180deg); }
details.exp-sec.warn > summary { color: var(--warn); }
details.exp-sec > .body { margin-top: 12px; }

/* lesson */
.lesson-sec { margin: 12px 0; }
.lesson-sec h3 { font-size: 17px; margin: 0 0 6px; }
.lesson-sec p { margin: 0; line-height: 1.7; white-space: pre-line; }
.formula { background: var(--s2); border-radius: 16px; padding: 12px 14px; margin: 10px 0; }
.formula .f { font-size: 19px; font-weight: 600; color: var(--b2); }
.trap { border-inline-start: 3px solid var(--bad); padding: 6px 12px; background: rgba(251,113,133,.06); border-radius: 10px; }
.tip { border-inline-start: 3px solid var(--good); padding: 6px 12px; background: rgba(52,211,153,.06); border-radius: 10px; }

/* flashcards */
.card-stage { perspective: 1200px; margin: 18px 0; }
.flash { position: relative; min-height: 300px; transition: transform .45s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; cursor: pointer; }
.flash.flipped { transform: rotateY(180deg); }
.flash .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 28px; padding: 24px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--s1); border: 1px solid var(--stroke); }
.flash .back { transform: rotateY(180deg); }
.flash .word { font-size: 34px; font-weight: 700; }
.flash .meaning { font-size: 24px; font-weight: 600; }
.flash .ex { color: var(--t2); margin-top: 14px; font-size: 16px; line-height: 1.6; }
.flash .ex b { color: var(--t1); }
.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.grade { border-radius: 16px; padding: 10px 4px; background: var(--s2); border: 1px solid var(--stroke2); display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 600; }
.grade small { font-weight: 400; color: var(--t2); font-size: 12px; }
.grade.g1 { color: var(--bad); } .grade.g2 { color: var(--warn); } .grade.g3 { color: var(--good); } .grade.g4 { color: var(--b2); }

/* exam */
.grid-nums { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gnum { aspect-ratio: 1; border-radius: 14px; background: var(--s2); border: 1px solid var(--stroke2); display: grid; place-items: center; font-weight: 600; position: relative; }
.gnum.ans { background: rgba(34,211,238,.14); border-color: rgba(34,211,238,.5); }
.gnum.cur { outline: 2px solid var(--t1); outline-offset: 1px; }
.gnum.flag::after { content: ""; position: absolute; top: 5px; inset-inline-end: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.gnum.ok { background: rgba(52,211,153,.16); border-color: rgba(52,211,153,.5); }
.gnum.bad { background: rgba(251,113,133,.16); border-color: rgba(251,113,133,.5); }
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); animation: fade .2s ease; }
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; background: var(--s1); border: 1px solid var(--stroke); border-bottom: 0;
  border-radius: 28px 28px 0 0; padding: 18px 18px calc(18px + var(--bottom)); max-height: 82vh; overflow-y: auto; animation: up .25s ease; }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--s4); margin: -4px auto 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* misc */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(100px + var(--bottom)); transform: translateX(-50%); max-width: calc(100% - 40px);
  background: var(--s3); border: 1px solid var(--stroke2); padding: 12px 16px; border-radius: 16px; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: up .2s ease; }
.empty { text-align: center; padding: 26px 10px; }
.empty .badge { margin: 0 auto 12px; width: 56px; height: 56px; border-radius: 18px; }
.logo-mark { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: #0B0F1A; border: 1px solid var(--stroke); box-shadow: 0 20px 50px rgba(123,97,255,.25); }
.logo-mark svg { width: 64px; height: 64px; }
.hero-title { font-size: 34px; font-weight: 700; line-height: 1.15; margin: 18px 0 8px; }
.bullets { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.share-ico { display: inline-flex; vertical-align: -4px; width: 20px; height: 20px; color: var(--b2); }
.days-big { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; }
.kv + .kv { border-top: 1px solid var(--stroke); }
.order-n { width: 28px; color: var(--b2); font-weight: 700; font-size: 17px; flex: none; }
.mistake { padding: 14px; border-radius: 18px; background: var(--s2); margin-top: 10px; }
.mistake .stem-s { font-size: 15px; line-height: 1.55; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ans-line { font-size: 14px; display: flex; gap: 6px; align-items: baseline; }
.day-card .d { font-weight: 600; }
.day-card.today { border-color: rgba(34,211,238,.45); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--s3); border-top-color: var(--b2); animation: spin .8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
