/* ==========================================================================
   SMM Market — forum-style board (thread list + floors + nested comments),
   business cards, Pro. Built on the v5 tokens in style.css.
   ========================================================================== */

/* ---- page header ---- */
.mk-top { padding: 2rem 0 .4rem; }
.mk-top h1, .mk-hero h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: .3rem 0 .4rem; color: var(--white); line-height: 1.2; }
.mk-top-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.mk-hero { padding: 2.4rem 0 1rem; }
.mk-hero-sub { max-width: 640px; margin: 0; font-size: .95rem; }
.center .mk-hero-sub { margin-left: auto; margin-right: auto; }
.mk-stats { display: flex; gap: .6rem; flex-wrap: wrap; }
.mk-stats span {
  display: flex; flex-direction: column; align-items: center; min-width: 84px;
  padding: .55rem .8rem; border-radius: var(--radius); background: var(--s1);
  border: 1px solid var(--line); font-size: .75rem; color: var(--text-dim);
}
.mk-stats b { color: var(--primary); font-size: 1.25rem; line-height: 1.2; }

.mk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.mk-main { min-width: 0; }
.mk-aside { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 92px; }
@media (max-width: 960px) {
  .mk-layout { grid-template-columns: minmax(0, 1fr); }
  .mk-aside { position: static; }
}
.mk-btn-row { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.mk-new-btn { justify-content: center; }
@media (max-width: 960px) { .mk-new-btn { display: none; } }

/* ---- quick composer ---- */
.mk-composer {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem;
  border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line);
  margin-bottom: .9rem;
}
.mk-composer-input {
  flex: 1; min-width: 0; padding: .6rem .9rem; border-radius: 999px;
  background: rgba(7, 9, 15, .6); border: 1px solid var(--line-strong);
  color: var(--text-dim); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: border-color var(--dur) var(--ease);
}
.mk-composer-input:hover { border-color: var(--primary); color: var(--text); }
.mk-composer-kinds { display: flex; gap: .35rem; flex: none; }
@media (max-width: 520px) { .mk-composer-kinds { display: none; } }

/* ---- tabs + filter ---- */
.mk-tabs {
  display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line); margin-bottom: .7rem;
}
.mk-tabs::-webkit-scrollbar { display: none; }
.mk-tabs a {
  flex: none; padding: .6rem .85rem; color: var(--text-dim); font-weight: 600; font-size: .9rem;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.mk-tabs a:hover { color: var(--white); }
.mk-tabs a.on { color: var(--white); border-bottom-color: var(--primary); }
.filter-bar.mk-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .8rem; padding: 0; background: none; border: 0; }
.mk-filter input { flex: 1 1 220px; min-width: 0; }
.mk-filter select { flex: 0 1 180px; min-width: 0; }
@media (max-width: 520px) { .mk-filter select { flex: 1 1 140px; } }

/* ---- thread board ---- */
.mk-board { border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.mk-board-head {
  display: flex; justify-content: space-between; padding: .55rem 1rem;
  font-size: .78rem; color: var(--text-dim); border-bottom: 1px solid var(--line); background: var(--s2);
}
.mk-thread {
  position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 190px; gap: .9rem;
  padding: .9rem 1rem; border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.mk-thread:last-child { border-bottom: 0; }
.mk-thread:hover { background: rgba(255, 255, 255, .02); }
.mk-thread.is-pinned { background: rgba(0, 229, 199, .04); }
.mk-thread.is-highlight::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad);
}
.mk-thread.is-closed .mk-thread-title { color: var(--text-dim); }
.mk-bubble {
  align-self: start; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 50px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line);
  color: var(--text-dim); font-size: .62rem; text-transform: uppercase; letter-spacing: .03em;
}
.mk-bubble b { font-size: 1.05rem; color: var(--bright); letter-spacing: 0; line-height: 1.1; }
.mk-bubble:hover { border-color: var(--primary); }
.mk-bubble.is-hot b { color: var(--warn); }
.mk-thread-head { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.mk-thread-title { color: var(--white); font-weight: 700; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.mk-thread-title:hover { color: var(--primary); }
.mk-thread-title:visited { color: var(--bright); }
.mk-thread-excerpt { margin: .3rem 0 .4rem; font-size: .87rem; line-height: 1.5; color: var(--text-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.mk-thread-meta { display: flex; gap: .4rem .9rem; align-items: center; flex-wrap: wrap; font-size: .78rem; color: var(--text-dim); }
.mk-thread-side { display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; text-align: right; font-size: .78rem; min-width: 0; }
.mk-last { color: var(--text-dim); }
.mk-last b { color: var(--text); font-weight: 600; }
.mk-pin {
  font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .14rem .45rem; border-radius: 6px; color: #07090f; background: var(--primary);
}
@media (max-width: 720px) {
  .mk-thread { grid-template-columns: 44px minmax(0, 1fr); gap: .7rem; padding: .8rem .8rem; }
  .mk-bubble { height: 44px; }
  .mk-thread-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; }
}
.mk-views { margin-left: auto; }
@media (max-width: 720px) { .mk-views { margin-left: 0; } }

.mk-plats { display: inline-flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.mk-price { color: var(--primary); font-weight: 700; }
.mk-cat { font-size: .78rem; color: var(--text-dim); }
.mk-kind {
  display: inline-flex; align-items: center; gap: .3rem; flex: none;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-dim); line-height: 1;
}
.mk-kind-ico { flex: none; overflow: visible; filter: drop-shadow(0 0 4px rgba(0, 229, 199, .25)); }
.mk-kind-ico .mk-node { fill: #00e5c7; stroke: none; }
.mk-kind-ico .mk-dot { fill: #4ca9ff; stroke: none; opacity: .85; }
.mk-kind.is-compact {
  justify-content: center; width: 28px; height: 28px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(0, 229, 199, .10), rgba(183, 148, 255, .08));
  border: 1px solid rgba(0, 229, 199, .22);
}
/* composer quick-start buttons */
.mk-compose-kind {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--bright); font-size: .8rem; font-weight: 600;
}
.mk-compose-kind:hover { border-color: var(--primary); color: var(--white); }

/* ---- avatars / badges ---- */
.mk-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center; font-weight: 800; color: #07090f;
  background: var(--grad); box-shadow: 0 0 0 2px var(--s1);
}
.mk-avatar-sm { width: 26px; height: 26px; font-size: .78rem; }
.mk-avatar-lg { width: 52px; height: 52px; font-size: 1.2rem; }
.mk-avatar-xl { width: 72px; height: 72px; font-size: 1.7rem; }
.mk-author { display: inline-flex; gap: .4rem; align-items: center; color: var(--bright); font-size: .85rem; max-width: 100%; }
.mk-author-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-pro {
  display: inline-block; font-size: .6rem; font-weight: 900; letter-spacing: .06em;
  padding: .1rem .38rem; border-radius: 6px; color: #07090f; background: var(--grad);
  vertical-align: middle; margin-left: .25rem;
}
.mk-pro-top { box-shadow: 0 0 12px var(--primary-glow); }
.mk-op-tag {
  font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .08rem .38rem; border-radius: 5px; color: var(--primary); border: 1px solid rgba(0, 229, 199, .4);
}

/* ---- thread page ---- */
.mk-thread-header {
  padding: 1.3rem 1.4rem 1rem; border-radius: var(--r-lg); background: var(--s1);
  border: 1px solid var(--line); margin-bottom: 1rem;
}
.mk-thread-header.is-highlight { background: linear-gradient(var(--s1), var(--s1)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.mk-post-tags { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.mk-detail-title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--white); margin: .5rem 0 .7rem; overflow-wrap: anywhere; line-height: 1.25; }
.mk-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: .65rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mk-facts > div { display: flex; gap: .45rem; align-items: center; font-size: .9rem; }
.mk-thread-bar { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; padding-top: .8rem; }
.mk-detail-title + .mk-thread-bar { border-top: 1px solid var(--line); }
.mk-owner {
  display: flex; gap: .4rem; flex-wrap: wrap; align-items: center;
  margin-top: .9rem; padding: .7rem .8rem; border-radius: var(--radius); background: var(--s2); border: 1px dashed var(--line-strong);
}
.mk-boost { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; width: 100%; }

.mk-floors { border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.mk-floor {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px; transition: background .8s var(--ease);
}
.mk-floor:last-child { border-bottom: 0; }
.mk-floor.is-op { background: rgba(0, 229, 199, .025); }
.mk-floor.is-target, .mk-sub.is-target { background: rgba(0, 229, 199, .08); }
.mk-floor-author {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center;
  padding: 1.1rem .7rem; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .012);
}
.mk-floor-who { display: flex; flex-direction: column; align-items: center; gap: .2rem; min-width: 0; max-width: 100%; }
.mk-floor-name { color: var(--white); font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.mk-floor-headline { font-size: .72rem; color: var(--text-dim); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-floor-stat { font-size: .7rem; color: var(--text-dim); }
.mk-floor-body { padding: 1rem 1.2rem; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.mk-floor-meta { display: flex; gap: .5rem; align-items: center; font-size: .76rem; color: var(--text-dim); }
.mk-floor-no { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.mk-body { overflow-wrap: anywhere; }
.mk-body > :first-child { margin-top: 0; }
.mk-body > :last-child { margin-bottom: 0; }
.mk-floor-actions { display: flex; gap: 1rem; align-items: flex-start; font-size: .8rem; color: var(--text-dim); }
@media (max-width: 720px) {
  .mk-floor { grid-template-columns: minmax(0, 1fr); }
  .mk-floor-author { flex-direction: row; align-items: center; text-align: left; border-right: 0; padding: .8rem 1rem 0; background: none; }
  .mk-floor-author .mk-avatar-lg { width: 34px; height: 34px; font-size: .9rem; }
  .mk-floor-who { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; }
  .mk-floor-headline { display: none; }
  .mk-floor-body { padding: .5rem 1rem 1rem; }
}

.mk-link-btn { background: none; border: 0; padding: 0; color: var(--text-dim); font: inherit; font-size: .8rem; cursor: pointer; }
.mk-link-btn:hover { color: var(--primary); }

/* nested comments under a floor */
.mk-subs { margin-top: .3rem; padding: .55rem .8rem; border-radius: var(--radius); background: var(--s2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .15rem; }
.mk-subs.is-empty { display: none; }
.mk-sub { font-size: .86rem; line-height: 1.55; padding: .35rem .3rem; border-radius: 8px; overflow-wrap: anywhere; scroll-margin-top: 110px; }
.mk-sub + .mk-sub { border-top: 1px dashed var(--line); }
.mk-sub-name { color: var(--azure); font-weight: 600; }
.mk-sub-to { color: var(--azure); font-weight: 600; }
.mk-sub-text { color: var(--bright); white-space: pre-line; }
.mk-sub-meta { display: inline-block; margin-left: .4rem; font-size: .72rem; color: var(--text-dim); }
.mk-more, .mk-sub-add { align-self: flex-start; padding: .3rem; }
.mk-more { color: var(--primary); }
.mk-cform { display: flex; flex-direction: column; gap: .4rem; margin-top: .35rem; }
.mk-cform textarea, .mk-reply-form textarea {
  width: 100%; resize: none; background: rgba(7, 9, 15, .6); border: 1px solid var(--line-strong);
  border-radius: 12px; color: var(--white); padding: .6rem .8rem; font: inherit; font-size: .9rem;
}
.mk-cform textarea:focus, .mk-reply-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 229, 199, .12); }
.mk-cform-actions { display: flex; gap: .4rem; justify-content: flex-end; align-items: center; }
.mk-cform-to { margin-right: auto; }
.mk-cform[hidden] { display: none; }

.mk-no-replies { padding: 1.2rem; text-align: center; margin: 0; border-top: 1px solid var(--line); }

/* bottom reply box */
.mk-reply-box { margin-top: 1rem; padding: 1rem; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); scroll-margin-top: 100px; }
.mk-reply-form { display: flex; gap: .9rem; align-items: flex-start; }
.mk-reply-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.mk-reply-form textarea { min-height: 110px; }
.mk-reply-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 520px) { .mk-reply-form > .mk-avatar { display: none; } }
.mk-login-cta { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; justify-content: center; padding: .4rem; }
.mk-login-cta span { margin-right: auto; color: var(--bright); }

.mk-report summary { cursor: pointer; list-style: none; color: var(--text-dim); font-size: .8rem; }
.mk-report summary:hover { color: var(--danger); }
.mk-report summary::-webkit-details-marker { display: none; }
.mk-report form { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }

/* ---- sidebar ---- */
.mk-card { display: flex; flex-direction: column; gap: .7rem; }
.mk-contact-out { display: flex; flex-direction: column; gap: .4rem; }
.mk-contact-out a { display: flex; gap: .5rem; align-items: center; padding: .5rem .7rem; border-radius: var(--r-sm); background: var(--s2); border: 1px solid var(--line); color: var(--bright); overflow-wrap: anywhere; }
.mk-contact-out a:hover { border-color: var(--primary); }
.mk-contact-out .mk-c-label { font-size: .7rem; color: var(--text-dim); min-width: 64px; text-transform: uppercase; letter-spacing: .04em; }
.mk-side-card { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.mk-side-pro { background: linear-gradient(var(--s1), var(--s1)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.mk-side-head { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .2rem; }
.mk-side-block { display: flex; flex-direction: column; gap: .6rem; }
.mk-related { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--bright); font-size: .88rem; line-height: 1.4; }
.mk-related:hover { color: var(--primary); }
.mk-ticks { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .25rem; }
.mk-ticks li::marker { color: var(--primary); }
.mk-empty { text-align: center; padding: 2.4rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .4rem; }

/* ---- people / cards ---- */
.mk-people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.mk-person {
  display: flex; flex-direction: column; gap: .55rem; padding: 1rem;
  border-radius: var(--radius); background: var(--s1); border: 1px solid var(--line);
  color: var(--text); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mk-person:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.mk-person.is-top { border-color: rgba(0, 229, 199, .35); }
.mk-person-head { display: flex; gap: .7rem; align-items: center; min-width: 0; }
.mk-person-name { color: var(--white); font-weight: 700; }
.mk-person-headline { margin: 0; font-size: .86rem; line-height: 1.45; }
.mk-profile-name { font-size: 1.6rem; margin: 0; color: var(--white); }
.mk-profile-headline { margin: .35rem 0 0; color: var(--bright); }
.mk-detail { padding: 1.4rem; }
.mk-detail-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.mk-h2 { font-size: 1.15rem; margin: 1.6rem 0 .7rem; color: var(--white); }
.mk-h3 { font-size: 1rem; margin: 1rem 0 .4rem; color: var(--white); }
.mk-panels { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem; }
.mk-panel-link { display: flex; gap: .7rem; align-items: center; padding: .6rem; border-radius: var(--radius); background: var(--s1); border: 1px solid var(--line); color: var(--bright); }
.mk-panel-link img { border-radius: var(--r-xs); object-fit: cover; }
.mk-panel-link span { display: flex; flex-direction: column; }
.mk-profile .mk-facts { margin: .9rem 0; }

/* ---- forms ---- */
.mk-form { display: flex; flex-direction: column; gap: .9rem; }
.mk-kind-pick, .mk-plat-pick { display: flex; flex-wrap: wrap; gap: .45rem; }
.mk-kind-opt, .mk-plat-opt { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; font-size: .85rem;
  padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--s2); }
/* choice chips: the native radio/checkbox is visually hidden (still focusable
   and announced); the chip itself shows checked/focus state. Needs the .mk-form
   prefix to beat the global `.form input { width:100%; padding… }` rule. */
.mk-kind-opt, .mk-plat-opt { position: relative; user-select: none; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.mk-form .mk-kind-opt input, .mk-form .mk-plat-opt input {
  position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; pointer-events: none;
}
.mk-kind-opt { padding: .45rem .8rem; }
.mk-kind-opt .mk-kind-label { color: var(--bright); }
.mk-kind-opt:hover, .mk-plat-opt:hover { border-color: var(--line-strong); }
.mk-kind-opt:has(input:checked), .mk-plat-opt:has(input:checked) { border-color: var(--primary); background: rgba(0, 229, 199, .1); }
.mk-plat-opt:has(input:checked) { color: var(--white); }
.mk-kind-opt:has(input:focus-visible), .mk-plat-opt:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.mk-plat-opt:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.mk-kind-hint { font-size: .8rem; color: var(--text-dim); margin-top: -.4rem; }
.mk-field-foot { display: flex; justify-content: space-between; font-size: .75rem; color: var(--text-dim); margin-top: .3rem; }
.mk-form [data-deal-only][hidden] { display: none; }
.pay-opt.is-off { opacity: .5; }

/* ---- my market ---- */
.mk-my-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.mk-meters { display: flex; flex-direction: column; gap: .6rem; margin: .8rem 0 1rem; }
.mk-meter-head { display: flex; justify-content: space-between; font-size: .85rem; }
.mk-meter-bar { height: 6px; border-radius: 999px; background: var(--s3); overflow: hidden; margin-top: .25rem; }
.mk-meter-bar span { display: block; height: 100%; background: var(--grad); }
.mk-alerts { list-style: none; padding: 0; margin: .7rem 0; display: flex; flex-direction: column; gap: .3rem; }
.mk-alerts li { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .35rem .6rem; border-radius: var(--r-sm); background: var(--s2); }
.filter-bar.mk-alert-form { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; background: none; border: 0; }
.mk-alert-form select, .mk-alert-form input { flex: 1 1 130px; min-width: 0; }

/* ---- pro ---- */
.mk-compare td:not(:first-child), .mk-compare th:not(:first-child) { text-align: center; }
.mk-pro-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .9rem; margin: 1.4rem 0 .8rem; }
.mk-plan { display: flex; flex-direction: column; gap: .4rem; align-items: center; text-align: center; }
.mk-plan.is-best { background: linear-gradient(var(--s1), var(--s1)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.mk-boosts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.mk-boost-card { display: flex; flex-direction: column; gap: .3rem; }

/* dashboard entry strip */
.mk-dash-strip { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; padding: .8rem 1rem; }
.mk-dash-strip .eyebrow { margin-right: auto; }

/* buy page total line */
.mk-total { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--line); }
.mk-total b { font-size: 1.4rem; color: var(--white); }

/* windowed pager */
.mk-pager { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: center; margin: 1rem 0; }
.mk-pager .page-gap { padding: .35rem .2rem; color: var(--text-dim); }

/* cross-site teaser (home, platform hubs, panel pages) */
.mk-teaser { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start;
  padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.mk-teaser-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%; }
.mk-teaser-head .band-head { margin: 0; }
.mk-teaser-list { list-style: none; margin: 0; padding: 0; width: 100%; }
.mk-teaser-list li { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; padding: .55rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.mk-teaser-list li:last-child { border-bottom: 0; }
.mk-teaser-list a { color: var(--white); font-weight: 600; min-width: 0; overflow-wrap: anywhere; flex: 1 1 260px; }
.mk-teaser-list a:hover { color: var(--primary); }
.mk-teaser-meta { font-size: .76rem; color: var(--text-dim); }
.mk-owner-card { display: flex; flex-direction: column; gap: .6rem; }
.mk-related-links { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; }
