/* ============================================================
   Bento — preset market, account and sign-in pages.

   Loaded after landing.css and built on its tokens, header, buttons and
   footer. Nothing here animates on scroll; these are working pages.
   ============================================================ */

.mk { min-height: 100vh; display: flex; flex-direction: column; }
.mk-main { position: relative; flex: 1; padding: 132px 0 110px; }
.mk-main::before { content: ''; position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 20% 0%, rgba(var(--teal-rgb), .20), transparent 70%),
    radial-gradient(50% 60% at 85% 5%, rgba(56, 132, 255, .16), transparent 70%); }
.mk [hidden] { display: none !important; }

/* Header: these pages need their links on a phone too. */
.nav__auth { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__links a.is-here { color: var(--t1); }
.mk .nav.is-stuck .nav__pill { max-width: 920px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #3884ff); color: #04201a; font-weight: 800; font-size: 15px; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); transition: scale .2s var(--ease); }
.avatar:hover { scale: 1.06; }

/* ── Page headings ── */
.mk-head { margin-bottom: 32px; }
.mk-head h1 { font-size: clamp(26px, 3vw, 36px); max-width: 720px; }
.mk-head .lead { margin-top: 12px; max-width: 620px; font-size: 16px; }
.mk-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.mk-head .cta { justify-content: flex-start; margin-top: 22px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--t2); font-size: 15px; font-weight: 600; transition: color .2s ease; }
.back:hover { color: var(--mint); }
h2.sub { font-size: clamp(24px, 2.6vw, 34px); font-stretch: 108%; letter-spacing: -0.035em; margin-bottom: 22px; }

/* ── Surfaces ── */
.panel { position: relative; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); padding: 28px; }
.panel--glow { border-color: rgba(var(--teal-rgb), .4); box-shadow: 0 0 0 1px rgba(var(--teal-rgb), .12), 0 30px 80px rgba(0, 0, 0, .35), 0 0 80px rgba(var(--teal-rgb), .10); }
.muted { color: var(--t3); }
.small { font-size: 14px; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; background: rgba(255, 255, 255, .09); color: var(--t1); }
.badge--free, .badge--Approved { background: rgba(var(--teal-rgb), .18); color: var(--mint); }
.badge--Pending { background: rgba(250, 204, 21, .16); color: #fbd75a; }
.badge--Rejected { background: rgba(255, 99, 99, .18); color: #ff9a9a; }
.badge--Removed { background: rgba(255, 255, 255, .08); color: var(--t3); }
.badge--owned { background: rgba(56, 132, 255, .2); color: #9cc2ff; }

/* ── Toolbar ── */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.search { position: relative; flex: 1 1 280px; max-width: 460px; }
.search .ico { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--t3); pointer-events: none; }
.search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--t1); outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.search input::placeholder { color: var(--t3); }
.search input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .14); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.seg button { min-height: 40px; padding: 0 18px; border-radius: 999px; color: var(--t2); font-size: 14.5px; font-weight: 600; transition: color .2s ease, background-color .2s ease; }
.seg button:hover { color: var(--t1); }
.seg button.is-on { background: var(--teal); color: #04201a; }
.select { height: 50px; padding: 0 40px 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; color: var(--t1); font: inherit; font-size: 14.5px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; outline: 0; margin-left: auto; }
.select:focus-visible { border-color: var(--mint); }
.select option { background: #12161b; color: #fff; }

/* ── Preset cards ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); transition: translate .35s var(--ease), border-color .3s ease, box-shadow .3s ease; }
.card:hover, .card:focus-visible { translate: 0 -5px; border-color: rgba(var(--teal-rgb), .55); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 50px rgba(var(--teal-rgb), .16); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: #0b0f13; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, scale .6s var(--ease); }
.card__media img.card__gif { opacity: 0; }
.card:hover .card__gif.is-ready, .card:focus-visible .card__gif.is-ready { opacity: 1; }
.card:hover .card__still { scale: 1.04; }
.card__price { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 13px; border-radius: 999px; background: rgba(6, 9, 12, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 14px; font-weight: 800; }
.card__price.is-free { color: var(--mint); border-color: rgba(var(--teal-rgb), .5); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.card__title { color: var(--t1); font-size: 19px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--t3); font-size: 14px; }
.card__meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skeleton { border-radius: 22px; aspect-ratio: 16 / 13.4; background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .04) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { padding: 70px 24px; text-align: center; border-radius: 24px; border: 1px dashed var(--line-2); }
.empty h3 { margin-bottom: 10px; }
.empty .btn { margin-top: 22px; }
.more { display: flex; justify-content: center; margin-top: 34px; }

/* ── How it works ── */
.how { margin-top: 110px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: '0' counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 14px; background: rgba(var(--teal-rgb), .14); border: 1px solid rgba(var(--teal-rgb), .4); color: var(--mint); font-family: var(--mono); font-size: 15px; }
.steps h3 { margin-bottom: 8px; font-size: 21px; }
.steps p { font-size: 16px; }
.how + .how { margin-top: 70px; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; }
.qa dt { margin-bottom: 8px; color: var(--t1); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.qa dd { margin: 0; font-size: 16px; line-height: 1.6; }

/* ── Preset page ── */
.item { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.item__view { background: #0b0f13; }
.item__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item__toggle { display: flex; justify-content: center; margin-top: 18px; }
.item__side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.item__side h1 { font-size: clamp(28px, 3vw, 40px); font-stretch: 108%; letter-spacing: -0.035em; line-height: 1.05; overflow-wrap: anywhere; }
.by { color: var(--t3); font-size: 15px; }
.by b { color: var(--t1); font-weight: 600; }
.price { color: var(--t1); font-size: 44px; font-weight: 800; font-stretch: 110%; letter-spacing: -0.04em; line-height: 1; }
.price.is-free { background: linear-gradient(100deg, var(--teal), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.item__side .btn { width: 100%; }
.desc { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16.5px; }
.note-box { padding: 14px 16px; border-radius: 14px; background: rgba(250, 204, 21, .09); border: 1px solid rgba(250, 204, 21, .3); color: #f4e3a1; font-size: 15px; }
.note-box--bad { background: rgba(255, 99, 99, .09); border-color: rgba(255, 99, 99, .35); color: #ffc2c2; }
.note-box b { color: #fff; }

/* A code to copy. */
.code { display: flex; align-items: stretch; gap: 8px; }
.code output { flex: 1; min-width: 0; display: flex; align-items: center; padding: 14px 16px; border-radius: 14px; background: #05080a; border: 1px solid rgba(var(--teal-rgb), .45); color: var(--mint); font-family: var(--mono); font-size: 15px; letter-spacing: .04em; overflow-x: auto; white-space: nowrap; user-select: all; scrollbar-width: none; }
.code button { flex: none; display: grid; place-items: center; width: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--t1); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.code button:hover { background: rgba(255, 255, 255, .12); }
.code button.is-done { background: var(--teal); border-color: var(--teal); color: #04201a; }
.label { display: block; margin-bottom: 8px; color: var(--t3); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.own { display: grid; gap: 16px; }
.own ol { display: grid; gap: 8px; padding-left: 22px; list-style: decimal; font-size: 15.5px; }
.own ol b { color: var(--t1); font-weight: 600; }
.parts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 13px; color: var(--t3); }
.parts b { color: var(--t2); font-weight: 500; }

/* ── Forms ── */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > label, .field > .field__label { color: var(--t1); font-size: 15px; font-weight: 600; }
.field .hint { color: var(--t3); font-size: 14px; }
.input, .textarea { width: 100%; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--t1); font: inherit; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.input { height: 52px; }
.textarea { min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--t3); }
.input:focus, .textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .14); }
.input--code { font-family: var(--mono); font-size: 26px; letter-spacing: .4em; text-align: center; height: 64px; }
.money { position: relative; max-width: 220px; }
.money span { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--t3); font-weight: 600; }
.money .input { padding-left: 32px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.error { min-height: 22px; color: #ff9a9a; font-size: 15px; font-weight: 500; }
.btn[disabled] { opacity: .55; cursor: default; pointer-events: none; }
.btn--danger { color: #ffb4b4; border-color: rgba(255, 99, 99, .4); background: rgba(255, 99, 99, .08); }
.btn--danger:hover { background: rgba(255, 99, 99, .18); }
.link-btn { color: var(--mint); font-weight: 600; border-bottom: 1px solid rgba(126, 240, 212, .4); }
.link-btn:hover { border-bottom-color: var(--mint); }

/* File pickers */
.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; border: 1.5px dashed var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--mint); background: rgba(var(--teal-rgb), .06); }
.drop.is-set { border-style: solid; border-color: rgba(var(--teal-rgb), .5); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(var(--teal-rgb), .14); color: var(--mint); overflow: hidden; }
.drop__ico img { width: 100%; height: 100%; object-fit: cover; }
.drop__ico .ico { width: 22px; height: 22px; }
.drop__text { min-width: 0; }
.drop__text b { display: block; color: var(--t1); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__text span { color: var(--t3); font-size: 14px; }
.drops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.sell { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sell aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.payout { display: grid; gap: 10px; font-size: 15.5px; }
.payout div { display: flex; justify-content: space-between; gap: 16px; }
.payout div:last-child { padding-top: 12px; border-top: 1px solid var(--line); color: var(--t1); font-weight: 700; font-size: 18px; }
.payout b { color: var(--t1); font-variant-numeric: tabular-nums; }
.list-plain { display: grid; gap: 10px; padding-left: 20px; list-style: decimal; font-size: 15.5px; }

/* ── Sign in / sign up ── */
.auth { width: min(460px, 100% - 40px); margin: 30px auto 0; }
.auth h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 10px; }
.auth > p { margin-bottom: 26px; }
.auth .btn { width: 100%; }
.auth__alt { margin-top: 22px; text-align: center; font-size: 15.5px; }

/* ── Account ── */
.profile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; margin-bottom: 40px; }
.profile__who { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.profile__who .avatar { width: 64px; height: 64px; font-size: 26px; }
.profile__who h1 { font-size: 30px; font-stretch: 105%; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.stat b { display: block; color: var(--t1); font-size: 30px; font-weight: 800; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--t3); font-size: 14px; }
.stat--main b { background: linear-gradient(100deg, var(--teal), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tabs { display: flex; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { position: relative; padding: 14px 18px; color: var(--t2); font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.tabs button:hover { color: var(--t1); }
.tabs button.is-on { color: var(--t1); }
.tabs button.is-on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--mint)); }
.tabs .count { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; }

/* Rows: library, listings and the review queue. */
.rows { display: grid; gap: 14px; }
.rowcard { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.rowcard__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0b0f13; }
.rowcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rowcard__main { min-width: 0; display: grid; gap: 8px; }
.rowcard__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rowcard__title a, .rowcard__title b { color: var(--t1); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.rowcard__title a:hover { color: var(--mint); }
.rowcard__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--t3); font-size: 14px; }
.rowcard__meta b { color: var(--t2); font-weight: 600; }
.rowcard .code output { padding: 10px 14px; font-size: 13.5px; }
.rowcard .code button { width: 44px; }
.rowcard__side { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 150px; }
.rowcard__side .btn { min-height: 42px; font-size: 14.5px; }
.rowcard p.desc { font-size: 15px; max-height: 6.2em; overflow: auto; }

/* ── Checkout ── */
.modal { width: min(460px, 100% - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 26px; background: #0d1116; color: var(--t2); box-shadow: 0 50px 140px rgba(0, 0, 0, .7), 0 0 100px rgba(var(--teal-rgb), .14); }
.modal::backdrop { background: rgba(3, 5, 7, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal__in { display: grid; gap: 20px; padding: 28px; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.modal__head h2 { font-size: 26px; font-stretch: 108%; letter-spacing: -0.03em; }
.modal__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--t2); font-size: 22px; line-height: 1; transition: background-color .2s ease; }
.modal__x:hover { background: rgba(255, 255, 255, .1); }
.sandbox { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(250, 204, 21, .09); border: 1px solid rgba(250, 204, 21, .3); color: #f4e3a1; font-size: 14.5px; }
.sandbox b { color: #fff; }
.order { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.order img { width: 84px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.order b { display: block; color: var(--t1); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order span { color: var(--t3); font-size: 14px; }
.order strong { color: var(--t1); font-size: 18px; }
.fakecard { position: relative; height: 150px; padding: 20px 22px; border-radius: 18px; overflow: hidden; color: #fff; font-family: var(--mono); background: linear-gradient(125deg, #0f3d36, #0d1f3a 60%, #152a52); border: 1px solid rgba(255, 255, 255, .14); }
.fakecard::after { content: ''; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(126, 240, 212, .4), transparent); }
.fakecard small { display: block; font-size: 11px; letter-spacing: .16em; opacity: .7; }
.fakecard b { display: block; margin-top: 34px; font-size: 19px; font-weight: 500; letter-spacing: .1em; }
.fakecard span { position: absolute; left: 22px; bottom: 18px; font-size: 12px; opacity: .8; }
.total { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); color: var(--t1); font-size: 18px; font-weight: 700; }
.modal .btn { width: 100%; }
.done-mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 6px auto 0; border-radius: 50%; background: var(--teal); color: #04201a; box-shadow: 0 0 0 10px rgba(var(--teal-rgb), .16), 0 0 60px rgba(var(--teal-rgb), .5); animation: pop-in .5s var(--ease); }
.done-mark .ico { width: 34px; height: 34px; stroke-width: 3; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } }
.modal__done { text-align: center; }
.modal__done h2 { margin-top: 8px; font-size: 26px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(4, 32, 26, .3); border-top-color: #04201a; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toasts ── */
.toasts { position: fixed; left: 50%; bottom: 26px; z-index: 300; translate: -50% 0; display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.toast { max-width: min(480px, 100vw - 32px); padding: 13px 20px; border-radius: 14px; background: #161b21; border: 1px solid var(--line-2); color: var(--t1); font-size: 15px; font-weight: 500; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); animation: toast-in .35s var(--ease); }
.toast--error { border-color: rgba(255, 99, 99, .5); color: #ffc2c2; }
.toast--ok { border-color: rgba(var(--teal-rgb), .55); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ═════════════ Smaller screens ═════════════ */
@media (max-width: 900px) {
  .mk .nav__links { display: flex; font-size: 14px; padding: 0; }
  .mk .nav__links a { padding: 8px 11px; }
  .mk .nav__ind { display: none; }
  .mk .nav__links a.is-here { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
  .mk .nav__pill, .mk .nav.is-stuck .nav__pill { max-width: none; gap: 8px; padding: 0 8px 0 14px; }
  .mk .nav .brand { font-size: 0; gap: 0; }
  .mk-main { padding: 104px 0 80px; }
  .item, .sell, .profile { grid-template-columns: minmax(0, 1fr); }
  .item__side, .sell aside { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .qa { grid-template-columns: minmax(0, 1fr); }
  .how { margin-top: 80px; }
  .rowcard { grid-template-columns: 110px minmax(0, 1fr); }
  .rowcard__side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .rowcard__side .btn { flex: 1; }
  .select { margin-left: 0; }
}
@media (max-width: 600px) {
  .panel { padding: 22px; }
  .drops, .stats { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .price { font-size: 38px; }
  .seg button { padding: 0 14px; }
  .mk .nav__links a { padding: 8px 8px; }
}

/* Grid children refuse to shrink below their content unless told to, and a
   code is one long unbreakable word. */
.rowcard__main > *, .own > *, .item__side > * { min-width: 0; }
@media (max-width: 900px) {
  .rowcard .code, .rowcard .note-box { grid-column: 1 / -1; }
  .rowcard__main { display: contents; }
  .rowcard__title, .rowcard__meta { grid-column: 2; }
  .rowcard__img { grid-row: 1 / span 2; align-self: start; }
  .rowcard { row-gap: 8px; align-items: start; }
  .rowcard p.desc, .rowcard pre, .rowcard textarea { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .profile .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .profile .stat { padding: 14px 16px; }
  .profile .stat b { font-size: 24px; }
}
