/* =========================================================
   /luvmacro/marketplace — layout and parts
   ---------------------------------------------------------
   Built on tokens.css (colours, the cut-corner material, buttons,
   focus) and site.css (band, footer). Same language as the rest of the
   LuvMacro site: true neutrals, one blue for the main action, straight
   45-degree cuts, system fonts. Status colours are the app's: green
   for passed, amber for waiting, red for refused.
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mk-main { min-height: 60vh; }
.mk-muted { color: var(--muted); }
.mk .ico { width: 18px; height: 18px; flex: none; }

/* ---- the marketplace bar under the site header ------------------- */
.mk-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.mk-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.mk-bar__home { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.mk-bar__home::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.mk-bar__end { display: flex; align-items: center; gap: 10px; }

/* ---- account menu ------------------------------------------------ */
.mk-acct { position: relative; }
.mk-acct summary { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px; cursor: pointer; list-style: none; }
.mk-acct summary::-webkit-details-marker { display: none; }
.mk-acct summary:hover .mk-acct__name { color: var(--text); }
.mk-acct__name { color: var(--body-2); font-size: 14.5px; font-weight: 600; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-acct__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; padding: 6px; display: grid; }
.mk-acct__menu a, .mk-acct__out { display: block; width: 100%; padding: 10px 12px; text-align: left; text-decoration: none; background: none; border: 0; cursor: pointer; color: var(--text); font-size: 14.5px; }
.mk-acct__menu a:hover, .mk-acct__out:hover { background: var(--surface-hi); }
.mk-acct__out { border-top: 1px solid var(--border); margin-top: 4px; color: var(--muted); }

.mk-av { flex: none; border-radius: 50%; object-fit: cover; background: var(--surface-hi); }
.mk-av--none { display: inline-grid; place-items: center; font-weight: 700; color: var(--muted); }
.mk-av--28 { width: 28px; height: 28px; font-size: 13px; }
.mk-av--32 { width: 32px; height: 32px; font-size: 14px; }
.mk-av--48 { width: 48px; height: 48px; font-size: 20px; }
.mk-av--88 { width: 88px; height: 88px; font-size: 34px; }

/* ---- hero + search ----------------------------------------------- */
.mk-hero { padding: clamp(32px, 6vw, 64px) 0 clamp(20px, 3vw, 32px); }
.mk-hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.028em; }
.mk-hero__sub { margin-top: 10px; color: var(--body-2); font-size: clamp(16px, 1.6vw, 18px); max-width: 40em; }
.mk-search { --c: 10px; display: flex; gap: 0; margin-top: 26px; max-width: 760px; }
.mk-search__input {
  flex: 1; min-width: 0; min-height: 56px; padding: 0 18px; font-size: 17px;
  background: var(--surface); border: 1px solid var(--border); border-right: 0; color: var(--text);
  clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c));
}
.mk-search__input::placeholder { color: var(--faint); }
.mk-search__input:focus-visible { outline: none; border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.mk-search__go { min-height: 56px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%); }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mk-chip { padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; border: 1px solid var(--border); transition: color var(--ease), border-color var(--ease), background-color var(--ease); }
.mk-chip:hover { color: var(--text); border-color: #454545; }
.mk-chip.is-on { color: #fff; background: var(--surface-hi); border-color: var(--text); }

/* ---- sections and the card grid ---------------------------------- */
.mk-sec { padding: clamp(24px, 4vw, 40px) 0; }
.mk-sec + .mk-sec { border-top: 1px solid var(--border); }
.mk-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mk-sec__head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.015em; }
.mk-sec__more, .mk-sec__count { color: var(--muted); font-size: 14.5px; font-weight: 600; text-underline-offset: 3px; }
.mk-sec__more:hover { color: var(--text); }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 22px 18px; }
.mk-card__link { display: grid; gap: 12px; text-decoration: none; color: inherit; }
.mk-card__thumb { --c: 10px; --fill: #121212; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.mk-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease-out, filter 220ms ease-out; }
.mk-card__link:hover .mk-card__thumb { --edge: #4a4a4a; }
.mk-card__link:hover .mk-card__thumb img { transform: scale(1.025); }
.mk-card__link:focus-visible { outline: none; }
.mk-card__link:focus-visible .mk-card__thumb { --edge: var(--cyan); --inset: 2px; }
.mk-card__noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--faint); }
.mk-card__noimg .ico { width: 40px; height: 40px; }
.mk-card__body { display: grid; gap: 4px; }
.mk-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; overflow-wrap: anywhere; }
.mk-card__link:hover .mk-card__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mk-card__by { color: var(--muted); font-size: 14px; }
.mk-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; color: var(--muted); font-size: 13.5px; }
.mk-card__meta > span:last-child { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.mk-card__meta .ico { width: 15px; height: 15px; }
.mk-card__game { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.mk-card__check { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 13px; font-weight: 600; }
.mk-dot { width: 7px; height: 7px; background: var(--green); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }
.mk-trusted { display: inline-block; margin-left: 4px; padding: 1px 7px; font-size: 11.5px; font-weight: 700; color: #fff; background: #23324d; vertical-align: 1px; letter-spacing: 0.01em; }
.mk-empty { color: var(--muted); padding: 24px 0; }
.mk-empty a { color: var(--text); }
.mk-first { --c: 12px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; justify-items: start; max-width: 620px; }
.mk-first h2 { font-size: 22px; }
.mk-first p { color: var(--body-2); }

/* ---- status pills and notes -------------------------------------- */
.mk-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--body-2); background: var(--surface-hi); border-left: 3px solid var(--faint); white-space: nowrap; }
.mk-pill--ok { color: #d7f5e6; border-left-color: var(--green); background: #132a20; }
.mk-pill--wait { color: #fbe7c0; border-left-color: var(--amber); background: #2d2412; }
.mk-pill--bad { color: #ffd9d6; border-left-color: var(--red); background: #33130f; white-space: normal; }
.mk-note { --c: 8px; padding: 14px 18px; color: var(--body-2); margin-bottom: 20px; }
.mk-note--wait { --edge: #5b4a22; }
.mk-note a { color: var(--text); font-weight: 600; }

/* ---- macro page -------------------------------------------------- */
.mk-detail { padding-block: clamp(20px, 3vw, 32px) clamp(40px, 6vw, 72px); }
.mk-crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.mk-crumbs a { color: var(--muted); text-underline-offset: 3px; }
.mk-crumbs a:hover { color: var(--text); }
.mk-detail__top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.mk-detail__media { --c: 14px; --fill: #121212; aspect-ratio: 16 / 9; overflow: hidden; }
.mk-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.mk-detail__side { display: grid; gap: 14px; align-content: start; }
.mk-detail__side h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.022em; overflow-wrap: anywhere; }
.mk-creator { display: inline-flex; align-items: center; gap: 10px; color: var(--body-2); text-decoration: none; font-weight: 600; justify-self: start; }
.mk-creator:hover span:first-of-type { text-decoration: underline; text-underline-offset: 3px; }
.mk-detail__summary { font-size: 17px; line-height: 1.55; color: var(--body-2); }
.mk-dl { margin-top: 4px; }
.mk-dl__file { margin-top: -6px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.mk-what { border-top: 1px solid var(--border); padding-top: 12px; font-size: 14.5px; color: var(--muted); }
.mk-what summary { cursor: pointer; color: var(--body-2); font-weight: 600; }
.mk-what p { margin-top: 8px; }
.mk-report-btn { justify-self: start; background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mk-report-btn:hover { color: var(--text); }
.mk-detail__cols { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: clamp(20px, 4vw, 44px); margin-top: clamp(28px, 4vw, 44px); }
.mk-block { padding-block: 20px; border-top: 1px solid var(--border); }
.mk-block:first-child { border-top: 0; padding-top: 0; }
.mk-block h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.mk-feats { display: grid; gap: 8px; }
.mk-feats li { position: relative; padding-left: 22px; color: var(--body-2); }
.mk-feats li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; background: var(--blue); clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%); }
.mk-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.mk-shots a { --c: 8px; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.mk-shots img { width: 100%; height: 100%; object-fit: cover; }
.mk-doc h3 { font-size: 17px; margin: 18px 0 8px; }
.mk-doc h4 { font-size: 15.5px; margin: 14px 0 6px; }
.mk-doc p, .mk-doc li { color: var(--body-2); }
.mk-doc p + p { margin-top: 10px; }
.mk-doc ul, .mk-doc ol { display: grid; gap: 6px; padding-left: 22px; margin: 8px 0; }
.mk-doc ul { list-style: square; }
.mk-doc ol { list-style: decimal; }
.mk-doc kbd { font: 600 13px var(--mono); padding: 1px 6px; border: 1px solid var(--border); background: var(--surface); }
.mk-doc code, .mk-hash code { font: 13px var(--mono); }
.mk-doc__shot { margin: 14px 0; }
.mk-doc__shot img { border: 1px solid var(--border); height: auto; }
.mk-doc__shot figcaption { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.mk-facts { display: grid; gap: 0; }
.mk-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #222; }
.mk-facts dt { color: var(--muted); }
.mk-facts dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-pre { white-space: pre-line; color: var(--body-2); }
.mk-older { display: grid; gap: 8px; }
.mk-older li { display: flex; justify-content: space-between; gap: 12px; color: var(--body-2); font-size: 14.5px; }
.mk-hash summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.mk-hash p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.mk-hash code { display: block; margin-top: 4px; overflow-wrap: anywhere; color: var(--body-2); }

/* ---- dialogs and forms ------------------------------------------- */
.mk-dialog { --c: 12px; border: 0; padding: 22px; width: min(460px, calc(100vw - 32px)); color: var(--text); }
.mk-dialog--wide { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; }
.mk-dialog::backdrop { background: rgba(0, 0, 0, 0.75); }
.mk-form { display: grid; gap: 16px; }
.mk-form h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.mk-form h3 { font-size: 16px; }
.mk-field { display: grid; gap: 7px; }
.mk-field > span { font-weight: 600; font-size: 15px; }
.mk-field em, .mk-up h3 em, .mk-more summary em { font-style: normal; font-weight: 400; color: var(--muted); }
.mk-field small { color: var(--muted); font-size: 13.5px; }
.mk-field input, .mk-field textarea, .mk-field select {
  width: 100%; min-height: 46px; padding: 10px 14px; font-size: 16px;
  background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 0;
}
.mk-field textarea { resize: vertical; line-height: 1.5; }
.mk-field input:focus-visible, .mk-field textarea:focus-visible, .mk-field select:focus-visible { outline: none; border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.mk-field [aria-invalid="true"] { border-color: var(--red); }
.mk-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-form__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mk-form__msg { min-height: 1.4em; font-size: 14.5px; color: var(--muted); }
.mk-form__msg.is-error { color: #ff9b94; }
.mk-form__msg.is-ok { color: #8fe0b6; }
.mk-reasons { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.mk-reasons legend { font-weight: 600; margin-bottom: 8px; }
.mk-radio { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); cursor: pointer; }
.mk-radio:has(input:checked) { border-color: var(--text); background: var(--surface-hi); }
.mk-radio input { width: 18px; height: 18px; accent-color: var(--blue); }
.mk-more summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.mk-more[open] summary { margin-bottom: 12px; }
.mk-more .mk-field + .mk-field { margin-top: 16px; }

/* ---- creator pages ----------------------------------------------- */
.mk-page { padding-block: clamp(24px, 4vw, 44px) clamp(48px, 7vw, 80px); }
.mk-page--narrow { max-width: calc(760px + var(--gutter) * 2); }
.mk-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
.mk-page > p { margin-top: 12px; color: var(--body-2); }
.mk-page__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.mk-page .mk-form { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.mk-page .mk-form:first-of-type { border-top: 0; padding-top: 0; }
.mk-steps { display: flex; gap: 6px; margin: 0 0 28px; counter-reset: s; }
.mk-steps li { flex: 1; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--faint); border-top: 3px solid var(--border); }
.mk-steps li.is-now { color: var(--text); border-top-color: var(--blue); }
.mk-steps li.is-done { color: var(--muted); border-top-color: var(--green); }
.mk-drop { --c: 10px; --fill: var(--bg); position: relative; display: grid; place-items: center; gap: 4px; min-height: 120px; padding: 18px; text-align: center; color: var(--muted); }
.mk-drop--sm { min-height: 64px; }
.mk-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.mk-drop label strong { color: var(--text); }
.mk-drop:hover, .mk-drop.is-over { --edge: #6a6a6a; --fill: #141414; }
.mk-drop:focus-within { --edge: var(--cyan); --inset: 2px; }
.mk-drop__name { font: 500 13px var(--mono); color: var(--body-2); overflow-wrap: anywhere; }
.mk-progress { height: 6px; background: var(--surface-hi); overflow: hidden; }
.mk-progress__bar { display: block; height: 100%; width: 0; background: var(--blue); transition: width 120ms linear; }
.mk-latest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mk-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mk-pics > div { display: grid; gap: 10px; align-content: start; }
.mk-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.mk-thumbs:empty { display: none; }
[data-thumb-tile] { grid-template-columns: 1fr; max-width: 280px; }
.mk-thumbs__item { --c: 6px; --fill: #121212; position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; }
.mk-thumbs__item img { width: 100%; height: 100%; object-fit: cover; }
.mk-thumbs__item .mk-pill { position: absolute; left: 6px; bottom: 6px; font-size: 11.5px; padding: 2px 7px; }
.mk-thumbs__wait { font: 12px var(--mono); color: var(--faint); }
.mk-thumbs__x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 18px; cursor: pointer; }
.mk-thumbs__x:hover { background: var(--red); }
.mk-rules { margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.mk-mine { display: grid; gap: 12px; }
.mk-mine__row { --c: 10px; display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; }
.mk-mine__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #121212; }
.mk-mine__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-mine__info { display: grid; gap: 6px; min-width: 0; }
.mk-mine__title { font-size: 17px; font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.mk-mine__status, .mk-mine__ver { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.mk-profile { padding-block: clamp(24px, 4vw, 44px) clamp(48px, 7vw, 80px); }
.mk-profile__head { display: flex; gap: 22px; align-items: center; margin-bottom: 32px; }
.mk-profile__head h1 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.mk-profile__handle { color: var(--muted); font: 500 14px var(--mono); }
.mk-profile__bio { margin-top: 8px; color: var(--body-2); max-width: 46em; }
.mk-profile__stats { display: flex; gap: 18px; margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.mk-profile__edit { margin-top: 20px; }
.mk-me { display: flex; align-items: center; gap: 14px; }
.mk-me a { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.mk-signin { display: grid; gap: 16px; justify-items: start; }

/* ---- moderation -------------------------------------------------- */
.mk-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.mk-tabs button { padding: 12px 16px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.mk-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--blue); }
.mk-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mk-table th, .mk-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #222; vertical-align: top; }
.mk-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.mk-table button { background: none; border: 0; color: var(--text); text-decoration: underline; cursor: pointer; padding: 0; font-weight: 600; }
.mk-mod h3 { font-size: 16px; margin: 18px 0 8px; }
.mk-findings { display: grid; gap: 6px; }
.mk-findings li { padding: 8px 10px; background: var(--surface); border-left: 3px solid var(--faint); font-size: 14px; }
.mk-findings li[data-level="review"] { border-left-color: var(--amber); }
.mk-findings li[data-level="reject"] { border-left-color: var(--red); }
.mk-actions-list { max-height: 320px; overflow: auto; padding: 10px; background: var(--bg); border: 1px solid var(--border); font: 12.5px/1.6 var(--mono); color: var(--body-2); white-space: pre; }
.mk-decide { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.mk-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14px; }
.mk-kv dt { color: var(--muted); }
.mk-kv dd { margin: 0; overflow-wrap: anywhere; }
.mk-lookup { grid-template-columns: 1fr auto; align-items: end; max-width: 620px; }

@media (max-width: 860px) {
  .mk-detail__top, .mk-detail__cols { grid-template-columns: 1fr; }
  .mk-pics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mk-acct__name { display: none; }
  .mk-search { flex-direction: column; gap: 8px; }
  .mk-search__input { border-right: 1px solid var(--border); clip-path: none; }
  .mk-search__go { clip-path: none; width: 100%; }
  .mk-form__two { grid-template-columns: 1fr; }
  .mk-mine__row { grid-template-columns: 96px minmax(0, 1fr); }
  .mk-mine__acts { grid-column: 1 / -1; }
  .mk-mine__acts .btn { width: 100%; }
  .mk-profile__head { flex-direction: column; align-items: flex-start; }
  .mk-steps li { font-size: 12.5px; padding: 8px 6px; }
  .mk-lookup { grid-template-columns: 1fr; }
  .mk-grid { gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-card__link:hover .mk-card__thumb img { transform: none; }
}
.mk-dl__needs { margin-top: -4px; font-size: 13.5px; color: var(--muted); }
.mk-dl__needs a { color: var(--body-2); text-underline-offset: 3px; }

/* ---- featured (admin's picks) and YouTube links ------------------ */
.mk-sec--featured .mk-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); }
.mk-card--featured .mk-card__thumb { --edge: #33528f; }
.mk-card__tag { justify-self: start; padding: 1px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; color: #dbe6ff; background: #1b2a4a; border-left: 3px solid var(--blue); }
.mk-yt { font-weight: 600; color: #ff9b94; text-underline-offset: 3px; }
.mk-yt::before { content: "\25B6\00A0"; font-size: 0.85em; }
.mk-yt-card { margin: 12px 0; }
.mk-yt-card .mk-yt { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); }
.mk-yt-card .mk-yt:hover { border-color: #5a5a5a; background: var(--surface-hi); }
.mk-yt-card .mk-yt::before { color: var(--red); }
.mk-removed { color: var(--faint); font-style: italic; }
.mk-help { color: var(--body-2) !important; }
.mk-feat-list { display: grid; gap: 8px; }
.mk-feat-row { display: grid; grid-template-columns: auto 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; background: var(--surface); border: 1px solid var(--border); }
.mk-feat-row[draggable="true"] { cursor: grab; }
.mk-feat-row.is-dragging { opacity: 0.45; }
.mk-feat-row.is-over { border-color: var(--blue); }
.mk-feat-row.is-hidden { opacity: 0.6; }
.mk-feat-row img, .mk-feat-row .mk-feat-noimg { width: 96px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #121212; display: block; }
.mk-feat-grip { color: var(--faint); font-size: 18px; padding: 0 4px; user-select: none; }
.mk-feat-title { font-weight: 700; overflow-wrap: anywhere; }
.mk-feat-meta { color: var(--muted); font-size: 13.5px; }
.mk-feat-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mk-feat-acts button { min-height: 36px; padding: 0 10px; background: var(--surface-hi); border: 1px solid var(--border); color: var(--text); cursor: pointer; }
.mk-feat-acts button:hover { border-color: #5a5a5a; }
.mk-feat-acts button[disabled] { opacity: 0.4; cursor: default; }
.mk-feat-preview { margin-top: 18px; padding: 16px; border: 1px dashed var(--border); }
@media (max-width: 640px) {
  .mk-feat-row { grid-template-columns: 72px minmax(0, 1fr); }
  .mk-feat-row img, .mk-feat-row .mk-feat-noimg { width: 72px; }
  .mk-feat-grip { display: none; }
  .mk-feat-acts { grid-column: 1 / -1; justify-content: flex-start; }
}
