.marketplace-main { max-width: 1180px; }
.marketplace-hero { margin-bottom: 34px; }
.marketplace-hero h1 { max-width: 100%; }
.marketplace-result { min-height: 24px; margin: 18px 0; color: var(--soft); font-size: 15.5px; }
.marketplace-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.marketplace-product { display: flex; flex-direction: column; min-width: 0; padding: 32px 34px; border: 0; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.marketplace-product-category { align-self: start; margin: 0 0 14px; padding: 6px 12px; border: 0; border-radius: 10px; background: var(--sky); color: var(--ink); font-size: 14px; font-weight: 600; }
.marketplace-product h2 { margin: 0 0 12px; font-size: 27px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.marketplace-product-description { margin: 0 0 18px; color: var(--soft); font-size: 17px; line-height: 1.55; }
.marketplace-product-features { margin: 0 0 22px; padding-left: 22px; color: var(--ink); font-size: 16px; line-height: 1.7; }
.marketplace-product-features li::marker { color: var(--blue); }
.marketplace-product-bottom { margin-top: auto; padding-top: 22px; border-top: 1.5px solid var(--line); }
.marketplace-product-price { margin: 0; color: var(--ink); font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.marketplace-product-price small { color: var(--soft); font: 500 16px var(--font); letter-spacing: 0; }
.marketplace-product-stock { min-height: 22px; margin: 10px 0 16px; color: var(--green); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.marketplace-product a { display: flex; width: 100%; min-height: 52px; }
.marketplace-state { padding: 60px 30px; border: 0; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.marketplace-state h2 { margin: 0 0 12px; font-size: 24px; }
.marketplace-state p { margin: 0 0 24px; color: var(--soft); line-height: 1.6; }
.marketplace-state button { margin: auto; }
.marketplace-state[hidden], .marketplace-state [hidden] { display: none; }
:root {
  --mk-user-plus: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%22/%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22/%3E%3Cpath d=%22M19 8v6M22 11h-6%22/%3E%3C/svg%3E");
  --mk-heart: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z%22/%3E%3C/svg%3E");
  --mk-message-circle: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.9 20A9 9 0 1 0 4 16.1L2 22Z%22/%3E%3C/svg%3E");
  --mk-repeat-2: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m2 9 3-3 3 3%22/%3E%3Cpath d=%22M13 18H7a2 2 0 0 1-2-2V6%22/%3E%3Cpath d=%22m22 15-3 3-3-3%22/%3E%3Cpath d=%22M11 6h6a2 2 0 0 1 2 2v10%22/%3E%3C/svg%3E");
  --mk-eye: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E");
  --mk-package: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z%22/%3E%3Cpath d=%22M12 22V12M3.29 7 12 12l8.71-5M7.5 4.27l9 5.15%22/%3E%3C/svg%3E");
  --mk-zap: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z%22/%3E%3C/svg%3E");
  --mk-coins: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%228%22 r=%226%22/%3E%3Cpath d=%22M18.09 10.37A6 6 0 1 1 10.34 18%22/%3E%3Cpath d=%22M7 6h1v4%22/%3E%3Cpath d=%22m16.71 13.88.7.71-2.82 2.82%22/%3E%3C/svg%3E");
  --mk-lock: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect width=%2218%22 height=%2211%22 x=%223%22 y=%2211%22 rx=%222%22/%3E%3Cpath d=%22M7 11V7a5 5 0 0 1 10 0v4%22/%3E%3C/svg%3E");
  --mk-shield-check: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z%22/%3E%3Cpath d=%22m9 12 2 2 4-4%22/%3E%3C/svg%3E");
  --mk-mail: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect width=%2220%22 height=%2216%22 x=%222%22 y=%224%22 rx=%222%22/%3E%3Cpath d=%22m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7%22/%3E%3C/svg%3E");
  --mk-link: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71%22/%3E%3Cpath d=%22M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71%22/%3E%3C/svg%3E");
  --mk-check: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E");
  --mk-arrow-right: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14M13 6l6 6-6 6%22/%3E%3C/svg%3E");
  --mk-minus: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E%3C/svg%3E");
  --mk-plus: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14M12 5v14%22/%3E%3C/svg%3E");
}

.mk-ic { display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--mk-ic) center / contain no-repeat; mask: var(--mk-ic) center / contain no-repeat; }
.mk-i-followers { --mk-ic: var(--mk-user-plus); } .mk-i-likes { --mk-ic: var(--mk-heart); } .mk-i-comments, .mk-i-chat { --mk-ic: var(--mk-message-circle); }
.mk-i-reposts { --mk-ic: var(--mk-repeat-2); } .mk-i-views { --mk-ic: var(--mk-eye); } .mk-i-other { --mk-ic: var(--mk-package); }
.mk-i-lock { --mk-ic: var(--mk-lock); } .mk-i-zap { --mk-ic: var(--mk-zap); } .mk-i-shield { --mk-ic: var(--mk-shield-check); } .mk-i-coins { --mk-ic: var(--mk-coins); }
.mk-i-mail { --mk-ic: var(--mk-mail); } .mk-i-link { --mk-ic: var(--mk-link); } .mk-i-check { --mk-ic: var(--mk-check); } .mk-i-arrow { --mk-ic: var(--mk-arrow-right); } .mk-i-minus { --mk-ic: var(--mk-minus); } .mk-i-plus { --mk-ic: var(--mk-plus); }

.marketplace-main { max-width: 1180px; }
.marketplace-hero { margin-bottom: 30px; }
.marketplace-hero h1 { max-width: 100%; }
.marketplace-hero h1 .sticker { font-size: .92em; }
.marketplace-result { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.marketplace-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.marketplace-grid:empty, .marketplace-grid[hidden] { display: none; }

.mk-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.mk-tabs[hidden] { display: none; }
.mk-tab { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px 0 15px; border: 0; border-radius: 15px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); font: 600 15.5px/1 var(--font); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.mk-tab .mk-ic { width: 19px; height: 19px; }
.mk-tab[aria-pressed="true"] { background: var(--inv-bg); color: var(--inv-fg); }
.mk-tab:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.marketplace-catalogue { max-width: 1080px; margin-left: auto; margin-right: auto; }
.mk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.mk-main { min-width: 0; }
.mk-panel[hidden] { display: none; }
.mk-card { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.mk-head { display: flex; align-items: center; gap: 16px; }
.mk-tile { display: grid; flex: none; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: var(--blue); color: #fff; transform: rotate(-6deg); box-shadow: 0 10px 20px -12px var(--blue); }
.mk-tile .mk-ic { width: 30px; height: 30px; }
.mk-card h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.mk-head p { margin: 3px 0 0; color: var(--soft); font-size: 16px; }
.mk-seg { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; max-width: 460px; padding: 4px; border-radius: 14px; background: var(--bg); }
.mk-seg button { min-height: 40px; padding: 4px 10px; border: 0; border-radius: 11px; background: transparent; color: var(--soft); font: 600 14.5px/1.2 var(--font); cursor: pointer; }
.mk-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(29 32 43 / .12); }
.mk-seg button:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.mk-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; color: var(--soft); font-size: 14.5px; list-style: none; }
.mk-facts li { display: inline-flex; align-items: center; gap: 7px; }
.mk-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 3px; background: var(--blue); }
.mk-step { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 18px; font-weight: 700; }
.mk-step i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: var(--paper); font-style: normal; font-size: 14px; }
.mk-step-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mk-packs + .mk-step-row { margin-top: 14px; }
.mk-step-row .mk-seg { width: 300px; max-width: 100%; }

.mk-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mk-pack { position: relative; display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1.5px var(--line), 0 8px 18px -12px rgb(29 32 43 / .35); font: inherit; cursor: pointer; text-align: center; transition: box-shadow .2s ease; }
.mk-pack-cap { display: flex; flex-direction: column; align-items: center; padding: 14px 8px 11px; border-radius: 18px 18px 0 0; background: color-mix(in srgb, var(--blue) 11%, var(--paper)); color: var(--w-blue); transition: background-color .2s ease, color .2s ease; }
.mk-pack-cap b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.mk-pack-cap small { font-size: 13px; font-weight: 600; opacity: .85; }
.mk-pack-price { padding: 12px 8px 14px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.mk-pack[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--blue), 0 16px 28px -14px var(--blue); }
.mk-pack[aria-pressed="true"] .mk-pack-cap { background: var(--blue); color: #fff; }
.mk-pack:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mk-hit { position: absolute; top: -12px; right: -6px; z-index: 1; padding: 4px 11px 5px; border-radius: 10px; background: var(--coral); color: #fff; font-size: 13.5px; font-weight: 800; transform: rotate(4deg); }

.mk-qty { display: flex; align-items: center; gap: 10px; }
.mk-qty button { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 16px; background: var(--bg); color: var(--ink); cursor: pointer; }
.mk-qty button .mk-ic { width: 20px; height: 20px; }
.mk-qty input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 16px; background: var(--bg); color: var(--ink); font: 700 20px var(--font); text-align: center; }
.mk-qty input:focus, .mk-field input:focus, .mk-field textarea:focus { outline: 0; border-color: var(--blue); }
.mk-hint { margin: -6px 0 0; color: var(--soft); font-size: 14.5px; }
.mk-hint.is-error { color: var(--danger, #c2410c); font-weight: 600; }
.mk-field { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 16px; background: var(--bg); color: var(--soft); }
.mk-field:focus-within { border-color: var(--blue); }
.mk-field .mk-ic { width: 20px; height: 20px; }
.mk-field input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; color: var(--ink); font: 600 17px var(--font); outline: 0; }
.mk-field.is-area { align-items: flex-start; padding-top: 14px; }
.mk-field textarea { flex: 1; min-width: 0; min-height: 120px; border: 0; background: transparent; color: var(--ink); font: 500 16px/1.5 var(--font); resize: vertical; outline: 0; }
.mk-ok { display: inline-flex; flex: none; align-items: center; gap: 5px; color: var(--green); font-size: 14px; font-weight: 600; }
.mk-ok .mk-ic { width: 16px; height: 16px; }
.mk-ok[hidden] { display: none; }
.mk-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-top: 8px; border-top: 1.5px dashed var(--line); }
.mk-total strong { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.mk-total span { color: var(--soft); font-size: 15px; }
.mk-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 10px 0 22px; border: 0; border-radius: 17px; background: var(--inv-bg); color: var(--inv-fg); font: 650 17px var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .16s ease-out; }
.mk-buy:hover { background: var(--inv-hover); }
.mk-buy:active { transform: scale(.98); }
.mk-buy:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mk-buy > span:last-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; }
.mk-buy .mk-ic { width: 18px; height: 18px; }
button.mk-buy { width: 100%; text-align: left; }
.mk-buy:disabled { cursor: progress; opacity: .72; transform: none; }
.mk-captcha { display: flex; justify-content: center; min-height: 65px; }
.mk-captcha[hidden] { display: none; }
.mk-error { margin: -4px 0 0; color: var(--danger, #c2410c); font-size: 14.5px; font-weight: 600; }
.mk-error[hidden] { display: none; }
.mk-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--soft); font-size: 14.5px; }
.mk-note .mk-ic { width: 17px; height: 17px; color: var(--blue); }

.mk-side { display: flex; flex-direction: column; gap: 12px; }
.mk-trust { display: grid; gap: 2px; margin: 0; padding: 16px 18px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); list-style: none; }
.mk-trust li { display: flex; align-items: center; gap: 12px; padding: 9px 2px; }
.mk-trust-icon { display: inline-block; flex: none; width: 22px; height: 22px; background: var(--blue); -webkit-mask: var(--mk-ic) center / contain no-repeat; mask: var(--mk-ic) center / contain no-repeat; }
.mk-trust li > span:last-child { display: flex; flex-direction: column; color: var(--soft); font-size: 14px; line-height: 1.4; }
.mk-trust b { color: var(--ink); font-size: 15.5px; }
.mk-orders { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15.5px; font-weight: 600; text-decoration: none; }
.mk-orders[hidden] { display: none; }
.mk-orders:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mk-orders:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.mk-pay { display: grid; gap: 10px; }
.mk-pay-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.mk-pay-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--blue); }
.mk-pay-opt.is-off { box-shadow: inset 0 0 0 1.5px var(--line); cursor: not-allowed; }
.mk-pay-opt.is-off .mk-pay-text > :is(b, small) { opacity: .55; }
.mk-topup { justify-self: start; margin-top: 4px; color: var(--link, var(--blue)); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.mk-pay-opt.has-action { grid-template-columns: auto minmax(0, 1fr) auto; }
.mk-pay-opt.has-action > .mk-topup { justify-self: end; margin-top: 0; white-space: nowrap; }
@media (max-width: 520px) { .mk-pay-opt.has-action { grid-template-columns: auto minmax(0, 1fr); } .mk-pay-opt.has-action > .mk-topup { grid-column: 2; justify-self: start; } }
.mk-topup::after { content: " →"; }
.mk-topup:hover { text-decoration: underline; }
.mk-topup:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.mk-pay-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.mk-pay-text { display: grid; gap: 3px; min-width: 0; }
.mk-pay-text b { font-size: 16.5px; font-weight: 650; }
.mk-pay-text em { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12.5px; font-style: normal; font-weight: 700; vertical-align: 2px; }
.mk-pay-text small { color: var(--soft); font-size: 14px; }
.mk-sums { display: inline-flex; align-items: baseline; gap: 12px; }
.mk-was { color: var(--soft); font-size: 18px; font-weight: 500; }
.mk-was:empty { display: none; }

.mk-addon { display: grid; gap: 12px; }
.mk-addon[hidden] { display: none; }
.mk-addon-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .16s ease, background-color .16s ease; }
.mk-addon-row:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mk-addon-row:has(input:checked) { background: color-mix(in srgb, var(--blue) 7%, var(--paper)); box-shadow: inset 0 0 0 2px var(--blue); }
.mk-addon-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.mk-addon-row input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mk-addon-tile { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--coral) 14%, var(--paper)); color: var(--coral); }
.mk-addon-tile .mk-ic { width: 22px; height: 22px; }
.mk-addon-text { display: grid; gap: 3px; min-width: 0; }
.mk-addon-text b { font-size: 16.5px; font-weight: 650; }
.mk-addon-text small { color: var(--soft); font-size: 14px; }
.mk-addon-price { display: grid; justify-items: end; gap: 1px; white-space: nowrap; }
.mk-addon-price s { color: var(--soft); font-size: 13.5px; }
.mk-addon-price strong { font-size: 18px; font-weight: 700; }
.mk-addon-price em { padding: 2px 8px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 12.5px; font-style: normal; font-weight: 700; }
.mk-addon .mk-field[hidden], .mk-addon .mk-hint[hidden] { display: none; }
@media (max-width: 640px) { .mk-addon-row { grid-template-columns: auto auto minmax(0, 1fr); } .mk-addon-price { grid-column: 3; justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .mk-addon-row { transition: none; } }
.order-board { display: grid; gap: 16px; max-width: 760px; }
.order-list { display: grid; gap: 18px; }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.order-badge { flex: none; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 12%, var(--paper)); color: var(--w-blue); font-size: 14.5px; font-weight: 650; white-space: nowrap; }
.order-badge.is-completed { background: color-mix(in srgb, var(--green) 14%, var(--paper)); color: var(--green); }
.order-badge.is-partial, .order-badge.is-needs_review, .order-badge.is-unpaid { background: color-mix(in srgb, var(--coral) 14%, var(--paper)); color: var(--coral); }
.order-badge.is-expired, .order-badge.is-provider_cancelled, .order-badge.is-refunded { background: color-mix(in srgb, var(--soft) 14%, var(--paper)); color: var(--soft); }
.order-card.is-addon { margin-top: -6px; }
.order-addon { margin: 0 0 -6px; color: var(--coral); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.order-note { margin: 0; color: var(--soft); font-size: 15.5px; }
.order-rows { display: grid; gap: 0; margin: 4px 0 0; border-top: 1.5px solid var(--line); }
.order-rows > div { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1.5px solid var(--line); }
.order-rows dt { color: var(--soft); font-size: 15px; }
.order-rows dd { margin: 0; font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.order-actions .mk-buy { justify-content: center; padding: 0 26px; }
.order-actions .mk-orders { padding: 0 24px; min-height: 58px; }
@media (max-width: 640px) { .order-head { flex-direction: column; } .order-rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .order-actions > * { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .mk-tab, .mk-pack, .mk-pack-cap, .mk-buy { transition: none; } }
@media (max-width: 1000px) { .mk-layout { grid-template-columns: minmax(0, 1fr); } .marketplace-grid { grid-template-columns: minmax(0, 1fr); } .marketplace-product { padding: 28px 24px; } }
@media (max-width: 640px) {
  .mk-card { padding: 20px; gap: 14px; }
  .mk-card h2 { font-size: 23px; }
  .mk-tile { width: 50px; height: 50px; }
  .mk-packs { gap: 9px; }
  .mk-pack-cap b { font-size: 21px; } .mk-pack-cap small { font-size: 11.5px; } .mk-pack-price { font-size: 16px; }
  .mk-total strong { font-size: 36px; }
  .mk-tab { min-height: 42px; padding: 0 14px 0 12px; font-size: 14.5px; }
}
