/* "Premiul zilei" pages (features/markup/template.html, approved 2026-10-28), scoped to .mk.
   The design chat may restyle; markup classes are stable. Light + dark follow the system. */
.mk { background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; max-width: 34rem; margin: 0 auto; padding-bottom: 2rem; }
.mk a { color: inherit; }
.mk button { font: inherit; color: inherit; min-height: 0; border-radius: 0; border: 0; background: none; padding: 0; display: revert; }
.mk .btn, .mk .icon-btn, .mk .fmt button { display: inline-flex; }
.mk h1 { font-size: 30px; }
.mk .rung__foot--owner { margin-top: 10px; }
.mk .truth__head { font-weight: 700; }
.mk {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #F6F5F2; --ink: #121212; --muted: #5C5C5C; --line: #EEECE8;
  --owner: #0B7A43; --owner-bg: #E7F5EC;
  --cap: #C8262E; --cap-bg: #FDECEC;
  --bait: #b8700a; --bait-bg: #fdf0d5;
  --same: #4f4fc4; --same-bg: #e9e9fb;
  --gold: #b88a00;
  --card-bg: #17150f; --card-ink: #f6f3ec; --card-muted: #a9a294;
  --radius: 18px; --radius-s: 12px; --max: 34rem;
  --shadow: 0 1px 2px rgba(23,21,15,.06), 0 6px 24px rgba(23,21,15,.06);
  color-scheme: light; }
@media (prefers-color-scheme: dark) {
  .mk:not([data-theme="light"]) {
    --bg: #11100d; --surface: #1b1915; --surface-2: #24221d; --ink: #f3efe5; --muted: #a39c8e; --line: #2f2c25;
    --owner: #3ccf8e; --owner-bg: #16301f; --cap: #ff6b6f; --cap-bg: #3a1a1a; --bait: #f2b13f; --bait-bg: #36290f;
    --same: #a3a3ff; --same-bg: #23234a; --gold: #f0c540;
    --card-bg: #000000; --shadow: none; color-scheme: dark; }
}
.mk[data-theme="dark"] {
  --bg: #11100d; --surface: #1b1915; --surface-2: #24221d; --ink: #f3efe5; --muted: #a39c8e; --line: #2f2c25;
  --owner: #3ccf8e; --owner-bg: #16301f; --cap: #ff6b6f; --cap-bg: #3a1a1a; --bait: #f2b13f; --bait-bg: #36290f;
  --same: #a3a3ff; --same-bg: #23234a; --gold: #f0c540;
  --card-bg: #000000; --shadow: none; color-scheme: dark; }
.mk .tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 99px; margin: 8px 0 20px; }
.mk .tabs a { flex: 1; text-align: center; text-decoration: none; padding: 9px 10px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--muted); }
.mk .tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.mk .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.mk h1 { font-size: 30px; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 8px; font-weight: 800; }
.mk h2 { font-size: 21px; letter-spacing: -.02em; margin: 36px 0 4px; font-weight: 800; }
.mk .sub { color: var(--muted); margin: 0 0 16px; }
.mk .card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
/* hero */
.mk .hero { padding: 20px; position: relative; overflow: hidden; }
.mk .hero__big { font-size: 56px; line-height: 1; font-weight: 850; letter-spacing: -.04em; color: var(--cap); margin: 10px 0 6px; }
.mk .hero__big small { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-left: 6px; }
.mk .tier { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; padding: 4px 10px 4px 8px; border-radius: 99px; }
.mk .tier svg { width: 20px; height: 20px; flex: none; }
.mk .tier--markup { color: var(--cap); background: var(--cap-bg); }
.mk .tier--gold { color: var(--gold); background: color-mix(in srgb, var(--gold) 16%, transparent); }
.mk .tier--same { color: var(--same); background: var(--same-bg); }
.mk .tier--undercut { color: var(--bait); background: var(--bait-bg); }
.mk .tier--flag { color: var(--muted); background: var(--surface-2); }
.mk .quip { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.mk .meta { color: var(--muted); font-size: 14px; }
.mk .vs { margin: 16px 0 4px; display: grid; gap: 8px; }
.mk .vs__row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-s); background: var(--surface-2); }
.mk .vs__dot { width: 10px; height: 10px; border-radius: 50%; }
.mk .vs__who { font-weight: 700; font-size: 15px; }
.mk .vs__where { color: var(--muted); font-size: 13px; }
.mk .vs__price { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.mk .dot-owner { background: var(--owner); }
.mk .dot-cap { background: var(--cap); }
.mk .dot-bait { background: var(--bait); }
.mk .dot-same { background: var(--same); }
.mk .actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.mk .btn { appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: 99px; font-weight: 700; font-size: 15px; background: var(--surface-2); color: var(--ink); }
.mk .btn--primary { background: var(--ink); color: var(--bg); flex: 1; }
.mk .btn svg { width: 18px; height: 18px; }
.mk .btn:active { transform: scale(.98); }
/* truth */
.mk .truth { padding: 18px; }
.mk .stack { display: flex; height: 14px; border-radius: 99px; overflow: hidden; margin: 14px 0 12px; background: var(--surface-2); }
.mk .stack span { display: block; height: 100%; }
.mk .legend { display: grid; gap: 6px; font-size: 15px; }
.mk .legend div { display: grid; grid-template-columns: 10px auto 1fr; gap: 10px; align-items: baseline; }
.mk .legend i { width: 10px; height: 10px; border-radius: 3px; display: block; transform: translateY(1px); }
.mk .legend b { font-size: 17px; }
.mk .legend span { color: var(--muted); }
.mk .truth p { margin: 12px 0 0; }
.mk .truth .small { font-size: 13px; color: var(--muted); }
/* board */
.mk .board { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.mk .row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 12px 8px 12px 14px; }
.mk .row__rank { font-weight: 800; font-size: 17px; color: var(--muted); text-align: center; }
.mk .row:first-child .row__rank { color: var(--gold); }
.mk .row__main { min-width: 0; text-decoration: none; display: block; }
.mk .row__gap { font-weight: 850; font-size: 22px; letter-spacing: -.02em; color: var(--cap); }
.mk .row__gap small { font-size: 14px; font-weight: 700; margin-left: 4px; }
.mk .row__desc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk .icon-btn { appearance: none; border: 0; background: var(--surface-2); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.mk .icon-btn svg { width: 18px; height: 18px; }
/* intro + past prizes */
.mk .intro { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.mk .hero { padding: 0; }
.mk .hero__body { padding: 18px 20px 20px; }
.mk .hero__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.mk .award-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.mk .award-kicker svg { width: 18px; height: 18px; }
.mk .hero__title { font-size: 22px; line-height: 1.2; margin: 0; }
.mk .hero__explain { margin: 10px 0 0; font-size: 15px; }
.mk .pasts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.mk .past { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 10px 8px 10px 10px; }
.mk .past__link { display: flex; gap: 12px; align-items: center; text-decoration: none; min-width: 0; }
.mk .past__img { flex: none; }
.mk .past__link .past__main { flex: 1; }
.mk .past__img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--surface-2); display: block; }
.mk .past--none { display: block; padding: 12px 14px; }
.mk .past__main { min-width: 0; }
.mk .past__day { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mk .past__gap { font-weight: 850; font-size: 20px; color: var(--cap); letter-spacing: -.02em; }
.mk .past__gap small { font-size: 13px; font-weight: 700; }
.mk .past--none .past__gap { font-size: 16px; }
.mk .past__desc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk .past--none .past__desc { white-space: normal; }
/* awards */
.mk .awards { display: grid; gap: 10px; margin-top: 12px; }
.mk .award { padding: 14px; text-decoration: none; display: flex; gap: 12px; align-items: flex-start; }
.mk .award > div { flex: 1; min-width: 0; }
.mk .award__img { flex: none; }
.mk .award__img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.mk .award__t { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.mk .award__t svg { width: 18px; height: 18px; flex: none; }
.mk .award p { margin: 6px 0 0; font-size: 15px; }
.mk .award .meta { margin-top: 6px; }
/* same-flat photos + more list */
.mk .rung__img { display: block; width: calc(100% + 28px); margin: -14px -14px 12px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px 16px 0 0; background: var(--surface-2); }
.mk .rung__thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); }
.mk .rung__id { display: flex; gap: 10px; align-items: center; min-width: 0; }
.mk .more { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.mk .more a { display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; text-decoration: none; }
.mk .more a > div { flex: 1; min-width: 0; }
.mk .more img { flex: none; }
.mk .more img, .mk .more .ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface-2); display: block; }
.mk .more b { display: block; font-size: 15px; }
.mk .more span.meta { display: block; }
.mk .more span.meta { font-size: 13px; }
.mk .more .tag2 { font-weight: 800; font-size: 15px; white-space: nowrap; }
.mk details.method { margin-top: 28px; padding: 14px 16px; }
.mk details.method summary { cursor: pointer; font-weight: 700; }
.mk details.method ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.mk details.method li { margin: 4px 0; }
/* same-flat */
.mk .ladder { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.mk .rung { padding: 14px; }
.mk .rung--owner { border: 2px solid var(--owner); overflow: hidden; }
.mk .rung__head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.mk .rung__who { font-weight: 800; font-size: 16px; }
.mk .rung__where { font-size: 13px; color: var(--muted); }
.mk .rung__price { font-weight: 850; font-size: 22px; letter-spacing: -.02em; text-align: right; white-space: nowrap; }
.mk .rung__delta { font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; }
.mk .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--owner-bg); color: var(--owner); margin-bottom: 6px; }
.mk .bar { position: relative; height: 8px; margin: 12px 0 10px; border-radius: 99px; background: var(--surface-2); }
.mk .bar::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--owner); border-radius: 2px; }
.mk .bar span { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.mk .bar .pt { width: 12px; height: 12px; top: -2px; margin-left: -6px; border-radius: 50%; }
.mk .rung__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mk .rung a.link { font-size: 14px; font-weight: 600; }
.mk .rung details { margin-top: 8px; font-size: 14px; }
.mk .rung details summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.mk .rung details ol { margin: 8px 0 0; padding-left: 20px; }
.mk .rung details li { margin: 3px 0; }
.mk .c-cap { color: var(--cap); }
.mk .c-bait { color: var(--bait); }
.mk .c-same { color: var(--same); }
.mk .c-owner { color: var(--owner); }
.mk .callout { padding: 14px 16px; margin-top: 12px; border-radius: var(--radius-s); font-size: 15px; }
.mk .callout--bait { background: var(--bait-bg); }
.mk .callout--same { background: var(--same-bg); }
.mk .callout--flag { background: var(--surface-2); color: var(--muted); }
/* share sheet */
.mk .sheet { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: flex-end; justify-content: center; z-index: 10; }
.mk .sheet[data-open="true"] { display: flex; }
.mk .sheet__panel { background: var(--surface); width: 100%; max-width: var(--max); border-radius: 22px 22px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.mk .sheet__grab { width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 14px; }
.mk .sheet__panel .actions { margin-top: 14px; }
.mk .sheet__note { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.mk .sheet__panel { max-height: 92vh; overflow-y: auto; }
.mk .fmt { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; }
.mk .fmt button { appearance: none; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.mk .fmt button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mk .sheet__img { display: block; margin: 0 auto; border-radius: 12px; max-width: 100%; }
.mk .sheet__img--portrait { max-height: 52vh; }
.mk .sheet__img--wide { width: 100%; }
.mk .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 20; }
.mk .toast[data-on="true"] { opacity: 1; }
@media (min-width: 600px) {
  .mk h1 { font-size: 36px; }
  .mk .hero__big { font-size: 68px; }
}
@media (prefers-reduced-motion: no-preference) {
  .mk .bar span { transition: width .5s ease, left .5s ease; }
}
.mk .rung__img, .mk .hero__img { max-width: none; }
