/* ===== FittObrok ===== */
:root {
  --green: #1f4e3d;
  --green-2: #2e7d5b;
  --green-3: #5faf86;
  --mint: #e3efe8;
  --mint-2: #f0f6f2;
  --orange: #e07a2f;
  --orange-d: #b85c17;
  --ink: #17201c;
  --muted: #5d6a63;
  --line: #e1e7e3;
  --bg: #f4f7f5;
  --card: #ffffff;
  --red: #c23b2a;
  --radius: 18px;
  --brand-font: 'Sora', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); -webkit-tap-highlight-color: transparent; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
body.no-nav { padding-bottom: env(safe-area-inset-bottom); }
button, input, select { font: inherit; color: inherit; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--brand-font); letter-spacing: -0.3px; }
h1:focus { outline: none; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { flex: none; }

/* ---- Layout ---- */
.page { max-width: 560px; margin: 0 auto; padding: 16px 16px 24px; }
.top {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
  background: var(--green); color: #fff;
}
.top h1 { margin: 0; font-size: 1.1rem; text-align: center; font-weight: 600; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: inherit; border-radius: 12px; cursor: pointer; text-decoration: none; }
.icon-btn:disabled { opacity: .3; }
.icon-btn.plain { color: var(--ink); }
.section-label { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 22px 4px 10px; font-family: inherit; font-weight: 600; }

.card { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; border: 1px solid var(--line); }
.card h2 { font-size: 1rem; margin: 0 0 12px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card-head h2 { margin: 0; }

/* ---- Dugmad ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:active { background: var(--green-2); }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger-ghost { background: #fff; border-color: #f0c9c3; color: var(--red); }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: .88rem; }
.btn.big { min-height: 56px; font-size: 1.05rem; }
.btn.wide { width: 100%; margin-top: 10px; }
.btn:disabled { opacity: .5; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.round.sm { width: 40px; height: 40px; }
.round.primary { background: var(--green); color: #fff; border-color: var(--green); }
.link-btn { border: 0; background: none; color: var(--green-2); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; padding: 8px 0; min-height: 44px; }
.actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.actions.left { justify-content: flex-start; }
.actions.center { justify-content: center; }

/* ---- Tab bar ---- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar[hidden] { display: none; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 10px; color: #6f7b74; text-decoration: none; font-size: .7rem; min-height: 56px; }
.tabbar a.on { color: var(--green); font-weight: 700; }
.tabbar a.on .ic { stroke-width: 2.4; }

/* ---- Uvod ---- */
.ob { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 520px; margin: 0 auto; padding: calc(8px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom)); }
.ob-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; min-height: 52px; }
.ob-progress { height: 6px; background: var(--mint); border-radius: 6px; overflow: hidden; }
.ob-progress i { display: block; height: 100%; background: var(--green-2); border-radius: 6px; transition: width .3s; }
.ob-body { flex: 1; padding-top: 10px; }
.ob-title { font-size: 1.6rem; margin: 10px 0 6px; line-height: 1.2; }
.ob-h3 { font-size: 1rem; margin: 26px 0 10px; }
.ob-foot { padding-top: 16px; }
.ob-hero { text-align: center; padding-top: 18px; }
.wordmark-big { font-size: 2.6rem; margin: 12px 0 2px; color: var(--green-2); font-weight: 400; }
.wordmark-big b { color: var(--green); font-weight: 700; }
.tagline { letter-spacing: 4px; font-size: .78rem; color: var(--muted); margin: 0 0 24px; }
.perks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; text-align: left; }
.perks li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.perks li .ic { color: var(--orange); }
.perks b { color: var(--green); }
.choices { display: grid; gap: 10px; margin-top: 18px; }
.choice { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; min-height: 60px; display: flex; flex-direction: column; justify-content: center; }
.choice b { font-size: 1.02rem; }
.choice small { color: var(--muted); margin-top: 2px; }
.choice.on { border-color: var(--green-2); background: var(--mint-2); box-shadow: 0 0 0 3px var(--mint); }
.big-input { width: 100%; font-size: 1.3rem; padding: 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; margin-top: 18px; }
.big-input:focus, .num-wrap input:focus { outline: none; border-color: var(--green-2); }
.num-pick { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.num-pick .round { width: 56px; height: 56px; }
.num-wrap { display: flex; align-items: baseline; gap: 6px; }
.num-wrap input { width: 150px; font-size: 2.6rem; font-weight: 700; text-align: center; border: 0; border-bottom: 3px solid var(--line); background: none; padding: 4px 0; font-family: var(--brand-font); }
.unit { font-size: 1.1rem; color: var(--muted); }
.hint { text-align: center; color: var(--muted); margin-top: 14px; }
.err { color: var(--red); font-weight: 600; margin-top: 14px; }
.warn { background: #fff4e8; border: 1px solid #f3d2b0; color: #7a3f0e; padding: 12px; border-radius: 12px; font-size: .9rem; }
.sum-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.sum-card.big { background: var(--green); color: #fff; border: 0; padding: 20px; }
.sum-card.big .muted { color: #bfe0cf; }
.sum-kcal { font-family: var(--brand-font); font-size: 2.6rem; font-weight: 700; }
.sum-kcal small { font-size: 1rem; font-weight: 400; }
.sum-macros { display: flex; gap: 14px; flex-wrap: wrap; color: #d9eee3; font-size: .92rem; }
.sum-macros b { color: #fff; }
.sum-line { font-size: 1.15rem; }

/* ---- Pocetna ---- */
.hero-head { background: var(--green); color: #fff; padding: calc(14px + env(safe-area-inset-top)) 20px 26px; border-radius: 0 0 28px 28px; }
.hero-head h1 { margin: 18px 0 4px; font-size: 1.6rem; }
.hero-date { margin: 0; color: #bfe0cf; text-transform: capitalize; }
.brand { display: flex; align-items: center; gap: 8px; }
.wordmark { font-family: var(--brand-font); font-size: 1.2rem; color: #a8d8bf; letter-spacing: -0.4px; }
.wordmark b { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 22px; text-decoration: none; color: #fff; min-height: 220px; position: relative; overflow: hidden; }
.big-card.fit { background: var(--orange-d); }
.big-card.food { background: var(--green-2); }
.bc-icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.bc-ring { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.bc-ring svg { position: absolute; inset: 0; }
.bc-ring svg circle:first-child { stroke: rgba(255,255,255,.25); }
.bc-ring svg circle:last-child { stroke: #fff; }
.bc-ring b { position: relative; font-size: .78rem; }
.bc-title { font-family: var(--brand-font); font-size: 1.35rem; font-weight: 700; margin-top: 4px; }
.bc-sub { font-size: .9rem; line-height: 1.3; }
.bc-meta { font-size: .78rem; opacity: .9; }
.bc-btn { margin-top: auto; display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: .9rem; }
.row-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row-card.link { text-decoration: none; color: var(--ink); }
.rc-left { display: flex; align-items: center; gap: 12px; }
.rc-left > .ic { color: var(--green-2); }
.rc-left b { display: block; }
.rc-left small { color: var(--muted); }
.rc-btns { display: flex; gap: 8px; }
.water { display: none; gap: 3px; }
.cup { width: 8px; height: 18px; border-radius: 3px; background: var(--mint); }
.cup.full { background: #4aa3d8; }
@media (min-width: 420px) { .water { display: flex; } }

/* ---- Obrok ---- */
.kcal-card { display: flex; align-items: center; gap: 20px; }
.ring-wrap { position: relative; width: 150px; height: 150px; flex: none; }
.ring-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-txt b { font-size: 2rem; font-family: var(--brand-font); }
.ring-txt small { color: var(--muted); }
.kcal-side { display: grid; gap: 14px; }
.kcal-side small { display: block; color: var(--muted); font-size: .8rem; }
.kcal-side b { font-size: 1.3rem; }
.macros { display: grid; gap: 12px; }
.macro-top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 5px; }
.bar { height: 8px; background: var(--mint); border-radius: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green-2); border-radius: 8px; }
.bar.uh i { background: #d9a227; }
.bar.m i { background: var(--orange); }
.scan-cta { width: 100%; background: var(--orange-d); color: #fff; min-height: 52px; margin: 4px 0 8px; }
.meal { margin-top: 18px; }
.meal-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 8px; }
.meal-head h2 { font-size: 1.05rem; margin: 0; }
.add-link { display: flex; align-items: center; gap: 6px; padding: 10px 4px; min-height: 44px; font-weight: 600; text-decoration: none; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; padding-right: 10px; }
.list li.empty { padding: 16px; color: var(--muted); }
.li-main { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; text-decoration: none; color: var(--ink); min-height: 52px; justify-content: center; }
.li-main .t { font-weight: 600; }
.li-main .s { font-size: .8rem; color: var(--muted); }
.list .k { font-weight: 700; white-space: nowrap; }
.list .del { border: 0; background: none; color: var(--muted); width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border-radius: 10px; }
.list.short { max-height: 46vh; overflow: auto; margin-top: 10px; }
.list li > .ic { color: var(--muted); }
.search { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 0 14px; }
.search:focus-within { border-color: var(--green-2); }
.search input { flex: 1; border: 0; background: none; padding: 14px 0; font-size: 1rem; min-width: 0; }
.search input:focus { outline: none; }
.empty { padding: 8px 4px; }

/* ---- Sheet ---- */
.sheet-dlg { border: 0; padding: 0; width: 100%; max-width: 560px; margin: auto auto 0; border-radius: 24px 24px 0 0; max-height: 92vh; }
.sheet-dlg::backdrop { background: rgba(10, 20, 15, .45); }
@media (min-width: 600px) { .sheet-dlg { margin: auto; border-radius: 24px; } }
.sheet { padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet h3 { margin: 0 0 4px; font-size: 1.25rem; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--mint-2); border-radius: 12px; padding: 4px; margin: 14px 0 10px; gap: 4px; }
.seg button { border: 0; background: none; padding: 9px 0; border-radius: 9px; font-size: .82rem; cursor: pointer; min-height: 40px; }
.seg button.on { background: #fff; font-weight: 700; color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.qty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qty button { border: 1px solid var(--line); background: #fff; border-radius: 12px; min-height: 46px; cursor: pointer; font-weight: 600; }
.qty button.on { background: var(--mint-2); border-color: var(--green-2); color: var(--green); }
.field { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); margin-top: 12px; }
.field input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.05rem; color: var(--ink); width: 100%; }
.field.inline { display: flex; align-items: center; gap: 10px; }
.field.inline input { width: 110px; }
.sum4, .stats4 { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; background: var(--mint-2); border-radius: 14px; padding: 12px 4px; margin-top: 14px; }
.sum4 b, .stats4 b { font-size: 1.15rem; display: block; }
.sum4 small, .stats4 small, .stats3 small { color: var(--muted); font-size: .74rem; }
.note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

/* ---- Skener ---- */
.scan-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--green); color: #fff; padding: 28px; border-radius: 22px; font-size: 1.15rem; font-weight: 700; cursor: pointer; }
#prev { display: block; width: 100%; max-height: 280px; object-fit: cover; border-radius: 18px; margin: 12px 0; }
#prev[hidden] { display: none; }
.match { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; gap: 10px; }
.match small { display: block; color: var(--muted); font-size: .8rem; }
.match.best { border-color: var(--green-2); box-shadow: 0 0 0 3px var(--mint); }
.match .bar { width: 140px; height: 5px; margin-top: 6px; }
.pct { font-weight: 700; color: var(--green); }
.tips { margin-top: 16px; }
.tips summary { font-weight: 600; cursor: pointer; }
.tips ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }

/* ---- Fitness ---- */
.plan-card h2, .next-card h2 { font-size: 1.25rem; margin: 2px 0 4px; }
.plan-card p, .next-card p { margin: 0; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; color: var(--muted); }
.wd i { width: 30px; height: 30px; border-radius: 50%; background: var(--mint-2); border: 2px solid var(--line); display: grid; place-items: center; }
.wd.today i { border-color: var(--green-2); }
.wd.today small { color: var(--green); font-weight: 700; }
.wd.done i { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.week-txt { margin: 12px 0 0 !important; font-size: .9rem; }
.next-card { border: 2px solid var(--orange); }
.badge { font-style: normal; font-size: .7rem; background: var(--mint); color: var(--green); padding: 2px 7px; border-radius: 999px; font-weight: 700; margin-left: 4px; }
.badge.orange { background: #fdeadb; color: var(--orange-d); }
.warm { background: #fff8ef; border-color: #f3dcc0; font-size: .92rem; }
.ex-list { list-style: none; padding: 0; margin: 0 0 12px; counter-reset: ex; }
.ex-list li { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; padding-right: 12px; counter-increment: ex; }
.ex-list li::before { content: counter(ex); width: 34px; height: 34px; margin-left: 12px; border-radius: 50%; background: var(--mint); color: var(--green); font-weight: 700; display: grid; place-items: center; flex: none; }
.ex-list li > .ic { color: var(--muted); }
.steps { padding-left: 20px; line-height: 1.5; }
.steps li { margin-bottom: 6px; }
.tip-box { display: flex; gap: 8px; align-items: flex-start; background: var(--mint-2); border-radius: 12px; padding: 12px; color: var(--green); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; white-space: nowrap; cursor: pointer; min-height: 40px; }
.chip.on { background: var(--green); color: #fff; border-color: var(--green); }

.pbar { height: 5px; background: var(--mint); }
.pbar i { display: block; height: 100%; background: var(--orange); transition: width .3s; }
.player { text-align: center; padding-top: 22px; }
.ex-name { font-size: 1.8rem; margin: 6px 0 0; }
.set-dots { display: flex; justify-content: center; gap: 8px; margin: 14px 0 6px; }
.set-dots span { width: 14px; height: 14px; border-radius: 50%; background: var(--mint); }
.set-dots span.done { background: var(--green-2); }
.set-dots span.cur { background: var(--orange); box-shadow: 0 0 0 4px #fde3cf; }
.set-txt { margin: 4px 0 14px; }
.target { font-family: var(--brand-font); font-size: 3.2rem; font-weight: 700; color: var(--green); line-height: 1; margin: 10px 0 18px; }
.target small { display: block; font-size: .9rem; color: var(--muted); font-weight: 400; margin-top: 4px; font-family: inherit; }
.big-timer { font-family: var(--brand-font); font-size: 4.4rem; font-weight: 700; color: var(--green); margin: 16px 0; font-variant-numeric: tabular-nums; }
.log-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; margin-bottom: 6px; }
.log-row .field { margin-top: 0; }
.rest { padding-top: 30px; }
.rest small { letter-spacing: 4px; color: var(--orange-d); font-weight: 700; }
.rest .big-timer { font-size: 5.5rem; }
#clock { font-variant-numeric: tabular-nums; font-size: .9rem; width: auto; }
.done-screen { text-align: center; padding-top: 50px; }
.trophy { width: 96px; height: 96px; border-radius: 50%; background: var(--green-2); color: #fff; display: grid; place-items: center; margin: 0 auto 10px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 6px; margin: 18px 0; }
.stats3 b { display: block; font-size: 1.5rem; font-family: var(--brand-font); }

/* ---- Napredak / profil ---- */
.wrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.wrow small { display: block; color: var(--muted); font-size: .76rem; }
.wrow b { font-size: 1.15rem; }
.neg { color: var(--green-2); }
.pos { color: var(--orange-d); }
.chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.chart .line { fill: none; stroke: var(--green-2); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: #fff; stroke: var(--green-2); stroke-width: 2; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .tgt { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .ax { font-size: 10px; fill: var(--muted); }
.chart .b-ok { fill: var(--green-3); }
.chart .b-over { fill: var(--orange); }
.chart .b-none { fill: var(--mint); }
.legend { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg.ok { background: var(--green-3); }
.lg.over { background: var(--orange); margin-left: 10px; }
.profile-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; }
.profile-head h2 { margin: 0; }
.profile-head p { margin: 2px 0 0; }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-family: var(--brand-font); font-weight: 700; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 6px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; text-align: right; }

.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; z-index: 100; max-width: 90vw; text-align: center; }
.toast[hidden] { display: none; }

/* ---- Animacije i misici ---- */
.fig { display: flex; justify-content: center; }
.fig svg { max-width: 100%; height: auto; }
.ex-anim { background: #fafafa; border: 1px solid var(--line); border-radius: 18px; margin: -4px 0 14px; padding: 6px 0 0; }
.ex-muscles { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; margin: 14px 0 6px; }
.mmap svg { width: 170px; height: auto; display: block; }
.mlabel { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 0 0 8px; font-weight: 700; font-family: inherit; }
h4.mlabel { margin-top: 18px; }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchips.center { justify-content: center; margin: 8px 0 2px; }
.mchip { font-size: .78rem; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.mchip.pri { background: #d9412d; color: #fff; }
.mchip.sec { background: #fde3dc; color: #8f2617; }
.lg.pri { background: #d9412d; }
.lg.sec { background: #f3a28f; margin-left: 10px; }
.legend.small { font-size: .74rem; margin-top: 10px; }
.player-anim { background: #fafafa; border: 1px solid var(--line); border-radius: 20px; margin: 0 auto 12px; max-width: 320px; padding-top: 4px; }
.player-anim.small { max-width: 220px; margin-top: 4px; }
.li-main .s.m { color: #b3321f; }
.data-card p { line-height: 1.5; margin: 0 0 10px; }
.facts { margin: 0 0 6px; padding-left: 18px; line-height: 1.5; color: var(--ink); }
.facts li { margin-bottom: 4px; }
.file-btn { cursor: pointer; }
.ex-visual { display: flex; justify-content: center; }
.ex-media { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 16px; background: #fff; }
