/* Upgrade 3: making-charge index (#making, #making/mine). Prefix: .mk-
   Built on the app tokens (card, seg, badge, field, btn.glow-gold). Gold accents, glass cards,
   a small CSS 3D ingot. Logical properties throughout for RTL. */
.mk-wrap { max-width: 1120px; margin: 0 auto; padding-bottom: 12px; }
.mk-head { text-align: center; margin: 10px auto 18px; max-width: 680px; }
.mk-title { font-size: clamp(30px, 5vw, 50px); margin: 12px 0 8px; }
.mk-sub { margin: 0 auto; color: var(--ink-2); font-size: 14.5px; max-width: 56ch; }
.mk-head-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.mk-head-cta svg, .mk-empty .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mk-head-sm { margin-bottom: 14px; }
/* a 40 px tall link (negative margins keep the header where it was); the dashed line sits under the text */
.mk-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding-block: 8px; margin-block: -8.75px; font-size: 13px; color: var(--ink-2); }
.mk-back > span { border-bottom: 1px dashed var(--line-2); padding-bottom: 2px; }
.mk-back::before { content: "→"; }
html[dir="ltr"] .mk-back::before { content: "←"; }
.mk-back:hover { color: var(--ink); }
.mk-muted { color: var(--ink-3); font-size: 13.5px; margin: 6px 0; }
.mk-muted.sm { font-size: 12px; margin: 0; }

/* filters: metal + category chips */
.mk-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 0 0 16px; }
.mk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02); color: var(--ink-2); cursor: pointer; font-size: 13px; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.mk-chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, .28); }
.mk-chip[aria-pressed="true"] { color: #F8DDA4; border-color: rgba(242, 196, 109, .55); background: linear-gradient(180deg, rgba(242, 196, 109, .16), rgba(242, 196, 109, .05));
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .14), 0 0 18px -6px rgba(242, 196, 109, .55); }
.mk-chip-n { font-size: 11px; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.mk-chip[aria-pressed="true"] .mk-chip-n { background: rgba(242, 196, 109, .22); color: #FFE9BC; }

/* grid */
.mk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.mk-grid-1 { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.mk-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mk-card-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 10px; margin-bottom: 10px; }
.mk-card-h h2, .mk-hero-top h2 { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* hero median card */
.mk-hero { overflow: hidden; padding: 22px 22px 18px; background-image: radial-gradient(90% 70% at 85% 0%, rgba(242, 196, 109, .10), transparent 60%), var(--glass-grad); }
html[dir="rtl"] .mk-hero { background-image: radial-gradient(90% 70% at 15% 0%, rgba(242, 196, 109, .10), transparent 60%), var(--glass-grad); }
.mk-hero-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-inline-end: 112px; }
.mk-cat-name { margin: 6px 0 0; color: var(--gold); font-size: 14px; padding-inline-end: 112px; }
.mk-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0 2px; }
.mk-big-v { font-size: clamp(52px, 8vw, 84px); font-weight: 500; line-height: 1;
  background: linear-gradient(180deg, #FFF6DE 0%, #F2CF85 55%, #C99A45 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(242, 196, 109, .25)); }
.mk-unit { color: var(--ink-3); font-size: 14px; }
.mk-hint { margin: 2px 0 16px; color: var(--ink-3); font-size: 12.5px; }
.mk-range { margin: 4px 0 0; }
.mk-track { position: relative; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45); }
.mk-band { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #C99A45, #F2CF85, #C99A45); box-shadow: 0 0 16px rgba(242, 196, 109, .4); }
.mk-dot { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; translate: -50% -50%; background: #FFFDF6;
  box-shadow: 0 0 0 3px rgba(242, 196, 109, .55), 0 0 18px 3px rgba(242, 196, 109, .6); }
html[dir="rtl"] .mk-dot { translate: 50% -50%; }
.mk-range-l { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.mk-range-l .num { color: var(--ink-2); }
.mk-range-t { margin: 12px 0 0; font-size: 14px; color: var(--ink); }
.mk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.mk-meta [data-mk-vs]:empty { display: none; }
.mk-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--r-ctl); color: #F8DDA4; background: rgba(242, 196, 109, .09); border: 1px solid rgba(242, 196, 109, .3); }

/* CSS 3D ingot (decorative) */
.mk-ingot { position: absolute; top: 18px; inset-inline-end: 20px; width: 96px; height: 62px; pointer-events: none;
  transform: perspective(500px) rotateX(18deg) rotateY(-22deg) rotateZ(-4deg); filter: drop-shadow(0 14px 18px rgba(242, 196, 109, .28)); animation: mkFloat 6s ease-in-out infinite; }
html[dir="rtl"] .mk-ingot { transform: perspective(500px) rotateX(18deg) rotateY(22deg) rotateZ(4deg); }
.mk-ingot > span { position: absolute; inset: 0; }
.mk-ig-top { clip-path: polygon(16% 0, 84% 0, 94% 40%, 6% 40%); background: linear-gradient(160deg, #FFF4D2 0%, #F4D38B 45%, #D9A54C 100%); }
.mk-ig-front { clip-path: polygon(6% 40%, 94% 40%, 100% 100%, 0 100%); background: linear-gradient(180deg, #E9B95A 0%, #B27B2A 60%, #8A5A18 100%); }
.mk-ig-shine { clip-path: polygon(16% 0, 84% 0, 94% 40%, 6% 40%); background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .85) 42%, transparent 52%);
  background-size: 260% 100%; animation: mkShine 5.5s ease-in-out infinite; }
@keyframes mkFloat { 50% { translate: 0 -5px; } }
@keyframes mkShine { 0%, 40% { background-position: 120% 0; } 70%, 100% { background-position: -40% 0; } }

/* trend */
.mk-spark { display: block; width: 100%; height: 120px; direction: ltr; overflow: visible; }
.mk-sp-line { stroke: #F2CF85; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mk-sp-s1 { stop-color: rgba(242, 196, 109, .35); } .mk-sp-s2 { stop-color: rgba(242, 196, 109, 0); }
.mk-sp-dot { fill: #F2CF85; } .mk-sp-last { fill: #FFF6DE; stroke: #F2CF85; stroke-width: 2; }
.mk-months { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; }
.mk-months li { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 12px; color: var(--ink-3); }
.mk-months b { font-size: 15px; font-weight: 500; color: var(--ink); }
.mk-months small { font-size: 11px; }

/* shop leaderboard */
.mk-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mk-rank li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 11px 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; }
.mk-rank li.mk-first { border-color: rgba(242, 196, 109, .4); background: linear-gradient(90deg, rgba(242, 196, 109, .10), rgba(242, 196, 109, .02)); }
html[dir="rtl"] .mk-rank li.mk-first { background: linear-gradient(270deg, rgba(242, 196, 109, .10), rgba(242, 196, 109, .02)); }
.mk-rk { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--ink-2); background: rgba(255, 255, 255, .06); text-align: center !important; }
.mk-first .mk-rk { color: #1A1204; background: linear-gradient(180deg, #FFF0C8, #E2AE4B); box-shadow: 0 0 14px rgba(242, 196, 109, .45); }
.mk-sn { display: flex; flex-direction: column; min-width: 0; }
.mk-sn b { font-weight: 500; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-sn small { color: var(--ink-3); font-size: 12px; }
.mk-best { color: var(--gold); }
.mk-sv { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.mk-sv b { font-size: 18px; font-weight: 500; }
.mk-sv small { color: var(--ink-3); font-size: 11.5px; white-space: nowrap; }
.mk-rbar { position: absolute; inset-inline: 12px; bottom: 6px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .05); }
.mk-rbar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, rgba(242, 196, 109, .35), rgba(242, 196, 109, .85)); }
html[dir="rtl"] .mk-rbar i { margin-inline-start: 0; background: linear-gradient(270deg, rgba(242, 196, 109, .35), rgba(242, 196, 109, .85)); }

/* areas */
.mk-area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.mk-area-list li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 13px; color: var(--ink-2); }
.mk-area-list b { font-size: 17px; font-weight: 500; color: var(--ink); }
.mk-area-list small { color: var(--ink-3); font-size: 11.5px; }

/* recent feed */
.mk-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mk-feed li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.mk-feed li:last-child { border-bottom: 0; }
.mk-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #F8DDA4;
  background: radial-gradient(120% 120% at 30% 20%, rgba(242, 196, 109, .3), rgba(242, 196, 109, .06)); box-shadow: inset 0 0 0 1px rgba(242, 196, 109, .3); }
.mk-feed-main { min-width: 0; }
.mk-feed-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.mk-feed-top b { color: var(--ink-2); font-weight: 500; }
.mk-feed-what { font-size: 13.5px; color: var(--ink); margin-top: 2px; }
.mk-feed-shop { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.mk-tag { color: var(--ink-2); }
.mk-feed-v { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.mk-feed-v b { font-size: 18px; font-weight: 500; color: var(--ink); }
.mk-feed-v small { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.mk-out .mk-feed-v b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(242, 103, 107, .6); }
.mk-out-tag { display: inline-block; margin-top: 4px; font-size: 11.5px; color: #F7A3A6; }

/* states */
.mk-state { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 34px 20px; color: var(--ink-2); }
.mk-state p { margin: 0; }
.mk-spin { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(242, 196, 109, .2); border-top-color: #F2CF85; animation: mkSpin .9s linear infinite; }
@keyframes mkSpin { to { transform: rotate(360deg); } }
.mk-empty { position: relative; overflow: hidden; text-align: center; padding: 104px 22px 30px; background-image: radial-gradient(60% 60% at 50% 0%, rgba(242, 196, 109, .12), transparent 70%), var(--glass-grad); }
.mk-empty .mk-ingot { inset-inline-end: auto; left: 50%; top: 26px; margin-left: -48px; }
.mk-empty h2 { margin: 0 0 8px; font-size: clamp(19px, 2.6vw, 24px); font-weight: 500; color: var(--ink); }
.mk-empty p { margin: 0 auto 18px; color: var(--ink-2); max-width: 46ch; font-size: 14px; }

/* form */
.mk-form-card { margin-top: 18px; padding: 22px; scroll-margin-top: 84px; border-top-color: rgba(242, 196, 109, .45); background-image: linear-gradient(180deg, rgba(242, 196, 109, .06), transparent 120px), var(--glass-grad); }
.mk-form-h h2, .mk-guest h2 { margin: 0 0 4px; font-size: 19px; font-weight: 500; color: var(--ink); }
.mk-form-h p, .mk-guest p { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.mk-guest { position: relative; display: flex; align-items: center; gap: 18px; min-height: 96px; padding-inline-end: 120px; }
.mk-guest .mk-ingot { top: 50%; margin-top: -31px; }
.mk-fsec { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; min-width: 0; }
.mk-frow { display: flex; flex-wrap: wrap; gap: 0 18px; }
.mk-grow { flex: 1; }
.mk-flbl { font-size: 13px; color: var(--ink-2); }
.mk-flbl small { color: var(--ink-3); font-size: 12px; }
.mk-fgrid { margin-top: 0; }
.mk-input, .mk-form-card textarea { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); padding: 0 14px; font-size: 15px; color: var(--ink); }
.mk-form-card textarea { height: auto; padding: 10px 14px; line-height: 1.6; resize: vertical; font: inherit; }
.mk-input:focus, .mk-form-card textarea:focus { outline: none; border-color: rgba(242, 196, 109, .6); box-shadow: 0 0 0 3px rgba(242, 196, 109, .15); }
.mk-form-card .field input:focus { border-color: rgba(242, 196, 109, .6); box-shadow: 0 0 0 3px rgba(242, 196, 109, .15); }
.mk-form-card .field input[type="date"] { color-scheme: dark; }
.mk-shop-res { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 24px; }
.mk-shop-opt { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
  color: var(--ink); cursor: pointer; text-align: start; max-width: 100%; }
.mk-shop-opt:hover, .mk-shop-opt:focus-visible { border-color: rgba(242, 196, 109, .5); background: rgba(242, 196, 109, .06); }
.mk-shop-opt b { font-weight: 500; font-size: 13.5px; }
.mk-shop-opt small { color: var(--ink-3); font-size: 11.5px; }
.mk-shop-sel { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(242, 196, 109, .45); background: rgba(242, 196, 109, .07); }
.mk-shop-sel > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linejoin: round; }
.mk-shop-sel .mk-sn { flex: 1; }
/* text-style button: a 40 px tall hit area that starts at the box above it (never over it); the 4 px bottom
   padding keeps the text where it was and the bottom margin gives the extra height back */
.mk-link { min-height: 40px; margin: 0 0 -12.5px; padding: 0 0 4px; border: 0; background: none; color: var(--gold); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.mk-field { margin-bottom: 0; }
.mk-note { position: relative; margin: 2px 0 6px; }
.mk-count { display: flex; justify-content: flex-end; font-size: 11.5px; color: var(--ink-3); }
.mk-preview { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(242, 196, 109, .4); background: rgba(242, 196, 109, .04); }
.mk-preview p { margin: 0; font-size: 13.5px; }
.mk-preview .btn { margin-top: 10px; }
.mk-pv-h { font-size: 12.5px; color: var(--gold); margin-bottom: 8px; }
.mk-pv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.mk-pv div { display: flex; flex-direction: column; gap: 2px; }
.mk-pv dt { font-size: 12px; color: var(--ink-3); }
.mk-pv dd { margin: 0; font-size: 17px; }
.mk-pv dd small { font-size: 11.5px; color: var(--ink-3); }
.mk-pv-hl dd { color: #F8DDA4; font-size: 20px; }
.mk-preview .fine { margin-top: 10px; }
.mk-warn { color: #F6CF8C; }
.mk-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px; }
.mk-submit .fine { margin: 0; flex: 1; min-width: 200px; }
.mk-submit .btn[disabled] { opacity: .65; cursor: progress; }
.mk-disc { text-align: center; max-width: 70ch; margin: 18px auto 0; line-height: 1.7; }

/* my reports */
.mk-mine { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mk-mine-i { display: flex; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.mk-mine-main { min-width: 0; flex: 1; }
.mk-mine-t { font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.mk-mine-t b { font-weight: 500; }
.mk-mine-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.mk-mine-note { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); overflow-wrap: anywhere; }
.mk-mine-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.mk-del-ask { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.btn.mk-danger { border-color: rgba(242, 103, 107, .55); color: #F7A3A6; background: rgba(242, 103, 107, .08); }
.btn.mk-danger:hover { background: rgba(242, 103, 107, .16); }

/* buttons with icons */
.mk-wrap .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-chip:focus-visible, .mk-shop-opt:focus-visible, .mk-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .mk-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .mk-filters { justify-content: flex-start; }
  /* the scroller clips at its padding box: 12+ px above/below for the selected chip's glow
     (0 0 18px -6px reaches ~12 px out), given back by the negative block margins (net 2 px / 4 px as before) */
  .mk-filters .mk-chips { flex-wrap: nowrap; overflow-x: auto; margin: -10px calc(var(--gutter) * -1) -12px; padding: 12px var(--gutter) 16px; scrollbar-width: none; width: calc(100% + var(--gutter) * 2);
    scroll-padding-inline: var(--gutter); }
  .mk-filters .mk-chips::-webkit-scrollbar { display: none; }
  .mk-filters .seg { width: 100%; } .mk-filters .seg button { flex: 1; }
  .mk-hero { padding: 18px 16px 16px; }
  .mk-ingot { width: 74px; height: 48px; top: 16px; inset-inline-end: 14px; }
  .mk-hero-top, .mk-cat-name { padding-inline-end: 84px; }
  .mk-empty .mk-ingot { margin-left: -37px; }
  .mk-empty { padding-top: 88px; }
  .mk-form-card { padding: 18px 16px; }
  .mk-guest { flex-direction: column; align-items: flex-start; padding-inline-end: 0; padding-top: 64px; }
  .mk-guest .mk-ingot { top: 0; margin-top: 0; inset-inline-end: auto; inset-inline-start: 0; }
  .mk-pv { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mk-pv div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; }
  .mk-form-card .mk-chips .mk-chip { padding: 0 12px; }
  .mk-mine-i { flex-direction: column; }
  .mk-mine-side { flex-direction: row; align-items: center; }
  .mk-mine-side .mk-feed-v { align-items: flex-start; text-align: start; }
  .mk-submit .btn { width: 100%; }
}

/* ---------- light theme ---------- */
html[data-theme="light"] .mk-chip { background: rgba(255, 255, 255, .6); color: rgba(16, 32, 26, .7); }
html[data-theme="light"] .mk-chip[aria-pressed="true"] { color: #6E4A0E; border-color: rgba(169, 119, 31, .5); background: linear-gradient(180deg, rgba(240, 190, 100, .28), rgba(240, 190, 100, .10)); box-shadow: 0 4px 14px -8px rgba(169, 119, 31, .6); }
html[data-theme="light"] .mk-chip-n { background: rgba(16, 48, 36, .07); }
html[data-theme="light"] .mk-chip[aria-pressed="true"] .mk-chip-n { background: rgba(169, 119, 31, .18); color: #6E4A0E; }
html[data-theme="light"] .mk-hero { background-image: radial-gradient(90% 70% at 85% 0%, rgba(240, 190, 100, .20), transparent 60%), var(--glass-grad); }
html[data-theme="light"][dir="rtl"] .mk-hero { background-image: radial-gradient(90% 70% at 15% 0%, rgba(240, 190, 100, .20), transparent 60%), var(--glass-grad); }
html[data-theme="light"] .mk-big-v { background: linear-gradient(180deg, #A9771F 0%, #7A520F 100%); -webkit-background-clip: text; background-clip: text; filter: none; }
html[data-theme="light"] .mk-track { background: rgba(16, 48, 36, .08); box-shadow: inset 0 1px 2px rgba(16, 48, 36, .15); }
html[data-theme="light"] .mk-band { background: linear-gradient(90deg, #C9952F, #E9C46A, #C9952F); box-shadow: 0 0 12px rgba(201, 149, 47, .35); }
html[data-theme="light"] .mk-dot { background: #fff; box-shadow: 0 0 0 3px rgba(169, 119, 31, .6), 0 2px 8px rgba(169, 119, 31, .4); }
html[data-theme="light"] .mk-pill { color: #7A5310; background: rgba(240, 190, 100, .16); border-color: rgba(169, 119, 31, .35); }
html[data-theme="light"] .mk-sp-line { stroke: #B8862A; }
html[data-theme="light"] .mk-sp-s1 { stop-color: rgba(201, 149, 47, .3); } html[data-theme="light"] .mk-sp-s2 { stop-color: rgba(201, 149, 47, 0); }
html[data-theme="light"] .mk-sp-dot { fill: #B8862A; } html[data-theme="light"] .mk-sp-last { fill: #fff; stroke: #B8862A; }
html[data-theme="light"] .mk-months li, html[data-theme="light"] .mk-rank li, html[data-theme="light"] .mk-area-list li { background: rgba(255, 255, 255, .55); }
html[data-theme="light"] .mk-rank li.mk-first { background: linear-gradient(90deg, rgba(240, 190, 100, .22), rgba(255, 255, 255, .5)); border-color: rgba(169, 119, 31, .4); }
html[data-theme="light"][dir="rtl"] .mk-rank li.mk-first { background: linear-gradient(270deg, rgba(240, 190, 100, .22), rgba(255, 255, 255, .5)); }
html[data-theme="light"] .mk-rk { background: rgba(16, 48, 36, .07); }
html[data-theme="light"] .mk-rbar { background: rgba(16, 48, 36, .06); }
html[data-theme="light"] .mk-rbar i { background: linear-gradient(90deg, rgba(201, 149, 47, .4), rgba(169, 119, 31, .9)); }
html[data-theme="light"][dir="rtl"] .mk-rbar i { background: linear-gradient(270deg, rgba(201, 149, 47, .4), rgba(169, 119, 31, .9)); }
html[data-theme="light"] .mk-av { color: #7A5310; background: radial-gradient(120% 120% at 30% 20%, rgba(240, 190, 100, .45), rgba(240, 190, 100, .12)); box-shadow: inset 0 0 0 1px rgba(169, 119, 31, .3); }
html[data-theme="light"] .mk-out-tag { color: #B23338; }
html[data-theme="light"] .mk-empty { background-image: radial-gradient(60% 60% at 50% 0%, rgba(240, 190, 100, .22), transparent 70%), var(--glass-grad); }
html[data-theme="light"] .mk-input, html[data-theme="light"] .mk-form-card textarea { background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .mk-form-card .field input[type="date"] { color-scheme: light; }
html[data-theme="light"] .mk-shop-opt { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .mk-shop-sel { background: rgba(240, 190, 100, .14); border-color: rgba(169, 119, 31, .45); }
html[data-theme="light"] .mk-preview { background: rgba(240, 190, 100, .08); border-color: rgba(169, 119, 31, .4); }
html[data-theme="light"] .mk-pv-hl dd { color: #7A5310; }
html[data-theme="light"] .mk-warn { color: #8A5A12; }
html[data-theme="light"] .mk-mine-note { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .btn.mk-danger { color: #B23338; border-color: rgba(210, 70, 75, .45); background: rgba(210, 70, 75, .06); }
html[data-theme="light"] .mk-chip:focus-visible, html[data-theme="light"] .mk-shop-opt:focus-visible, html[data-theme="light"] .mk-link:focus-visible { outline-color: #A9771F; }

@media (prefers-reduced-motion: reduce) {
  .mk-ingot, .mk-ig-shine, .mk-spin { animation: none; }
  .mk-chip { transition: none; }
}

/* refinements */
.mk-big-v { font-variant-numeric: lining-nums proportional-nums; letter-spacing: -.02em; }
.mk-fsec > .seg { align-self: flex-start; }
.mk-more { margin-top: 10px; width: 100%; }
@media (max-width: 600px) { .mk-frow { flex-direction: column; } }
/* phones and touch screens: every control on these pages is at least 40 px tall */
@media (max-width: 600px), (pointer: coarse) {
  .mk-chip, .mk-wrap .seg button, .mk-wrap .btn.sm { height: 40px; }
}
