:root {
  --bg: #f5f2ec;
  --card: #ffffff;
  --ink: #141414;
  --muted: #6d695f;
  --line: #e3ded3;
  --accent: #b8402a;
  --ok: #2f6b4f;
  --radius: 14px;
  --maxw: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.45; padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Шапка и меню ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; }
.top-in { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 800; letter-spacing: .28em; font-size: 18px; }
.top-nav { display: none; gap: 28px; }
.top-nav a { opacity: .7; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.top-nav a:hover, .top-nav a.active { opacity: 1; border-color: #fff; }
.cart-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(6, 1fr);
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; font-size: 10.5px; line-height: 1.15; color: var(--muted); text-align: center; }
.tabbar .l-short { display: none; }
@media (max-width: 400px) { .tabbar .l-full { display: none; } .tabbar .l-short { display: inline; } }
.tabbar .tab-badge { position: absolute; top: 3px; left: 50%; margin-left: 4px; right: auto; min-width: 17px; height: 17px; font-size: 10px; }
.tabbar svg { width: 24px; height: 24px; }
.tabbar a.active { color: var(--ink); font-weight: 700; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .top-nav { display: flex; }
}

/* ---------- Общие блоки ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.page { padding-top: 20px; padding-bottom: 40px; }
.section { margin-top: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.section-head h2 { font-size: 22px; letter-spacing: -.01em; }
.section-head a { font-size: 14px; color: var(--muted); }
.section-head a:hover { color: var(--ink); }
h1 { font-size: 28px; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.loading, .empty { padding: 60px 16px; text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 8px; font-size: 20px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .08s, opacity .15s;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.danger { background: var(--accent); }

/* ---------- Слайдер баннеров ---------- */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.banner {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 220px; padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 60%); }
.banner > div { position: relative; z-index: 1; max-width: 520px; }
.banner h2 { font-size: 30px; letter-spacing: -.02em; }
.banner p { margin: 6px 0 0; opacity: .9; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }
.dots i.on { background: #fff; }
@media (min-width: 900px) { .banner { min-height: 340px; padding: 44px; } .banner h2 { font-size: 44px; } }

/* ---------- Карточки товаров ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .card { flex: 0 0 62%; scroll-snap-align: start; }
@media (min-width: 700px) { .hscroll .card { flex-basis: 30%; } }
@media (min-width: 1000px) { .hscroll .card { flex-basis: 23%; } }

.card { display: block; }
.ph {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--h) 22% 84%), hsl(var(--h) 28% 68%));
  display: grid; place-items: center; font-weight: 800; font-size: 40px; letter-spacing: .05em; color: rgba(255,255,255,.85);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .ph img { transform: scale(1.04); }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; }
.tag.sale { background: var(--accent); left: auto; right: 10px; }
.card h3 { font-size: 15px; font-weight: 600; margin-top: 10px; }
.card .cat-name { font-size: 12px; color: var(--muted); margin-top: 2px; }
.price { font-weight: 700; margin-top: 4px; }
.price s { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 14px; }

/* ---------- Категории ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cat {
  padding: 11px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-weight: 600; font-size: 14px; transition: background .15s, color .15s;
}
.cat:hover, .cat.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat.exclusive { background: #2a1a14; color: #f1d9b5; border-color: #2a1a14; letter-spacing: .06em; }
.cat.creators { background: var(--accent); color: #fff; border-color: var(--accent); letter-spacing: .06em; }
.cat.exclusive.on, .cat.creators.on { box-shadow: 0 0 0 3px rgba(20,20,20,.2); }

.notice { background: #fff6e0; border: 1px solid #ecd9a4; border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; font-size: 14px; }
.notice.ok { background: #e8f3ec; border-color: #bcdcc9; }
.notice.err { background: #fbe9e5; border-color: #efbdb2; }

.search { display: flex; gap: 8px; margin: 16px 0; }
.search input { flex: 1; }

/* ---------- Новости ---------- */
.news-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: block; }
.news-card:hover { border-color: var(--ink); }
.news-card time { font-size: 12px; color: var(--muted); }
.news-card h3 { font-size: 17px; margin: 6px 0; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; }
.article { max-width: 720px; }
.article p { white-space: pre-line; font-size: 17px; }

/* ---------- Товар ---------- */
.product { display: grid; gap: 24px; }
@media (min-width: 800px) { .product { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.product .ph { font-size: 80px; }
.product h1 { margin-bottom: 8px; }
.product .price { font-size: 24px; margin: 8px 0 18px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 48px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); font-weight: 600; }
.size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.desc { white-space: pre-line; color: #3a3833; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Формы ---------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; max-width: 520px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
input[readonly] { background: #f3f0e9; color: var(--muted); }
textarea { resize: vertical; min-height: 80px; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.tabs { display: flex; gap: 6px; background: #e9e4d9; border-radius: 999px; padding: 4px; max-width: 520px; margin-bottom: 16px; }
.tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.tabs a.on { background: var(--ink); color: #fff; }
.err-text { color: var(--accent); font-size: 14px; min-height: 18px; }

/* ---------- Корзина / заказ ---------- */
.layout2 { display: grid; gap: 24px; }
@media (min-width: 900px) { .layout2 { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.lines { display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; align-items: center; }
.line .ph { width: 76px; aspect-ratio: 1; border-radius: 10px; font-size: 22px; }
.line h3 { font-size: 15px; }
.line .sub { font-size: 13px; color: var(--muted); }
.line.off { opacity: .55; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty b { min-width: 24px; text-align: center; }
.rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.summary .r { display: flex; justify-content: space-between; gap: 12px; }
.summary .r.total { font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.summary .disc { color: var(--ok); }
.promo { display: flex; gap: 8px; }

.order { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-head b { font-size: 17px; }
.order ul { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; font-size: 14px; }
.order li { display: flex; justify-content: space-between; gap: 10px; }
.status { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e9e4d9; }
.status.new { background: #fff1c7; }
.status.confirmed { background: #d8e8f7; }
.status.shipping { background: #e3dcf5; }
.status.delivered { background: #d7ecdf; color: var(--ok); }
.status.cancelled { background: #f6dcd6; color: var(--accent); }
.order .tot { border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; font-weight: 700; }

.refbox { display: flex; gap: 8px; }
.refbox input { font-size: 14px; }

/* ---------- Уведомления ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; max-width: 90vw;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast a { text-decoration: underline; margin-left: 10px; }
@media (min-width: 900px) { #toast { bottom: 30px; } }

/* ---------- Конструктор ---------- */
.promo-cons { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #1c1c1c, #4a3326); color: #fff; border-radius: var(--radius); padding: 28px; }
.promo-cons h2 { font-size: 24px; }
.promo-cons p { margin: 6px 0 0; opacity: .85; max-width: 520px; }
.promo-cons .btn { background: #fff; color: var(--ink); }
.cons-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--accent); }
.cons-grid { display: grid; gap: 24px; margin-top: 16px; }
@media (min-width: 900px) { .cons-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } .cons-grid > div:first-child { position: sticky; top: 76px; } }
.stage { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 600 / 720; background: #ece7dc; border-radius: var(--radius); overflow: hidden; }
.mock svg { display: block; width: 100%; height: 100%; }
.area { position: absolute; }
.area::after { content: ""; position: absolute; left: var(--m); top: var(--m); right: var(--m); bottom: var(--m); border: 2px dashed rgba(184, 64, 42, .75); pointer-events: none; border-radius: 4px; }
.area .canvas-container { position: absolute !important; left: 0; top: 0; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; max-width: 520px; margin: 12px auto 0; flex-wrap: wrap; }
.seg { display: inline-flex; background: #e9e4d9; border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg button.on { background: var(--ink); color: #fff; }
.undo { display: flex; gap: 6px; }
.hint-line { max-width: 520px; margin: 10px auto 0; font-size: 13px; }
.panel { display: grid; gap: 14px; }
.pgroup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sws { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.sw.on { box-shadow: 0 0 0 2.5px var(--ink); }
.prow { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.prow .grow { flex: 1; min-width: 140px; }
.prow select { flex: 1; min-width: 120px; }
.prow input[type=color] { width: 46px; height: 44px; padding: 3px; }
.tool { min-width: 44px; height: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font-size: 18px; cursor: pointer; }
.tool:hover { border-color: var(--ink); }
.tool.del { color: var(--accent); }
.props .tools { margin-top: 4px; }
.price-box .r { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.price-box .r.total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: auto; margin-top: 3px; }
.pgroup .qty { margin-top: 0; height: 46px; }
.ph.design { background: #ece7dc; font-size: 28px; color: var(--muted); }
.ph.design img { object-fit: contain; }
.mini { width: 34px; height: 40px; object-fit: contain; vertical-align: middle; background: #ece7dc; border-radius: 6px; margin-right: 6px; }
.mydesigns { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .mydesigns { grid-template-columns: repeat(4, 1fr); } }
.mydesign .sub { font-size: 13px; color: var(--muted); margin-top: 8px; }
.mdact { display: flex; gap: 10px; align-items: center; margin-top: 8px; }


/* ---------- Подвал ---------- */
.footer { max-width: var(--maxw); margin: 24px auto 0; padding: 22px 16px 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.footer .f-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer .f-brand { font-weight: 800; letter-spacing: .24em; }
.footer .f-note { color: var(--muted); font-size: 13px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 14px; background: #fff; }
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--ink); color: #fff; }
.social.tg { border-color: #229ed9; color: #1783b5; }
.social.tg:hover { background: #229ed9; color: #fff; }
.social.ig { border-color: #c13584; color: #a82a70; }
.social.ig:hover { background: #c13584; color: #fff; }

/* ---------- Шаги оформления ---------- */
.steps { display: flex; gap: 8px; align-items: center; margin: 10px 0 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 6px; }
.steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e8e3d8; font-weight: 700; font-size: 12px; }
.steps .on { color: var(--ink); font-weight: 700; }
.steps .on i { background: var(--ink); color: #fff; }
.steps .sep { width: 18px; height: 1px; background: var(--line); }

/* ---------- Корзина ---------- */
.cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cart-head .count { color: var(--muted); font-size: 15px; }
.cline { display: grid; grid-template-columns: 92px 1fr; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cline.off { opacity: .6; }
.cline .ph { width: 92px; aspect-ratio: 1; border-radius: 12px; font-size: 26px; }
.cline h3 { font-size: 16px; margin-bottom: 4px; }
.cline .meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.chip-s { font-size: 12.5px; background: #f0ece2; border-radius: 999px; padding: 3px 10px; color: #4a463d; }
.chip-s.warn { background: #fbe9e5; color: #8c2f1e; }
.cline .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.cline .unit { font-size: 13px; color: var(--muted); }
.cline .sum { font-size: 18px; font-weight: 800; }
.cline .qty { margin-top: 0; }
.cline .qty button { width: 40px; height: 40px; font-size: 20px; }
.cline .del { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer; color: #8c2f1e; }
.cline .del:hover { background: #fbe9e5; border-color: #efbdb2; }
.summary.sticky { position: sticky; top: 76px; }
.summary h2 { font-size: 18px; margin-bottom: 2px; }
.summary .hint { font-size: 13px; color: var(--muted); margin: 0; }
.summary .btn.block { padding: 15px; font-size: 17px; }
.back-link { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--muted); text-decoration: underline; text-align: center; width: 100%; }
.empty-cart { text-align: center; padding: 48px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-cart svg { width: 64px; height: 64px; color: #b9b3a4; margin: 0 auto 14px; }
.empty-cart h3 { font-size: 22px; margin-bottom: 8px; }
.empty-cart p { color: var(--muted); margin: 0 0 18px; }
.empty-cart .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- О нас ---------- */
.about { display: grid; gap: 22px; margin-top: 16px; }
@media (min-width: 900px) { .about.has-img { grid-template-columns: 1fr 1fr; align-items: start; } }
.about .photo { border-radius: var(--radius); overflow: hidden; background: #e8e3d8; }
.about .photo img { width: 100%; height: auto; }
.about .txt p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.6; }
.contacts { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 640px) { .contacts { grid-template-columns: 1fr 1fr; } }
.ccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.ccard small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 2px; }
.ccard b, .ccard a { font-size: 16px; font-weight: 600; word-break: break-word; }
.ccard a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Creators ---------- */
.promo-creators { display: grid; gap: 14px; background: linear-gradient(135deg, #2b1b3d, #5a2d5e); color: #fff; border-radius: 18px; padding: 24px; }
.promo-creators h2 { font-size: 24px; margin-bottom: 6px; }
.promo-creators p { margin: 0; opacity: .88; max-width: 560px; }
.promo-creators .btn { background: #fff; color: #2b1b3d; justify-self: start; }
.stats4 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin: 14px 0; }
@media (min-width: 760px) { .stats4 { grid-template-columns: repeat(4, 1fr); } }
.stat-c { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat-c b { display: block; font-size: 20px; letter-spacing: -.01em; }
.stat-c span { font-size: 12.5px; color: var(--muted); }
.stat-c.main { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat-c.main span { color: #cfcabd; }
.howto { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.howto ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eee; color: #444; }
.pill.pending { background: #fff1cc; color: #7a5a00; }
.pill.approved { background: #dff1e6; color: #1f6b46; }
.pill.rejected { background: #fbe0da; color: #8c2f1e; }
.pill.withdrawn { background: #e6e6e6; color: #555; }
.pill.paid { background: #dff1e6; color: #1f6b46; }
.works { display: grid; gap: 12px; }
.work { display: grid; grid-template-columns: 84px 1fr; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.work .ph { width: 84px; aspect-ratio: 1; border-radius: 10px; }
.work h3 { font-size: 16px; margin-bottom: 4px; }
.work .sub { font-size: 13px; color: var(--muted); }
.work .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag-author { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tag-author a { text-decoration: underline; }
.pubform { display: grid; gap: 16px; }
@media (min-width: 800px) { .pubform { grid-template-columns: 320px 1fr; align-items: start; } }
.pubform .ph { border-radius: var(--radius); aspect-ratio: 5/6; }
.pubform .ph img { object-fit: contain; }
.calc { background: #f0ece2; border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; font-size: 14px; }
.calc .r { display: flex; justify-content: space-between; gap: 10px; }
.calc .r.t { font-weight: 800; font-size: 17px; border-top: 1px solid #d8d2c4; padding-top: 6px; margin-top: 4px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.checkline input { width: auto; margin-top: 3px; }
.plist { display: grid; gap: 8px; }
.prow2 { display: flex; justify-content: space-between; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; flex-wrap: wrap; }
.mdact .pub { background: #2b1b3d; color: #fff; }
