/* Vibe Duel. Calm product UI: Inter for text, Instrument Serif for headings, one accent. */
/* Fonts are served from our own domain (latin subset from Google Fonts, SIL Open Font License); other characters
   fall back to the system font. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  :root {
  --ink: #0a0a0a; --text: #171717; --muted: #737373; --faint: #a3a3a3;
  --line: #ebebeb; --soft: #f7f7f6; --paper: #ffffff; --accent: #ff4d2e;
  --serif: "Instrument Serif", Georgia, serif; --sans: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--paper); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-weight: 400; }
em { font-style: italic; }

/* nav */
.promo { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px; padding: 8px 16px; background: #2600ff; color: #fff; font-size: 14px; font-weight: 500; text-align: center; }
.promo b { display: inline-flex; align-items: center; gap: 0; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; color: #2600ff; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.promo b .long { margin-right: .28em; }
.promo i { font-style: normal; display: inline-block; margin-left: .4em; transition: transform .15s; }
.promo:hover b { transform: translateY(-1px) scale(1.04); box-shadow: 0 0 0 5px rgba(255,255,255,.28), 0 8px 22px rgba(10,0,80,.35); }
.promo:hover i { transform: translateX(4px); }
.promo .short { display: none; }
@media (max-width: 640px) { .promo { gap: 10px; font-size: 13px; } .promo .long { display: none; } .promo .short { display: inline; } .promo b { height: 30px; padding: 0 12px; } }
nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
nav img { height: 22px; display: block; }
nav ul { display: flex; gap: 28px; list-style: none; font-size: 14px; color: var(--muted); }
nav ul a:hover { color: var(--ink); }
nav .right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); background: var(--paper); transition: background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { border-color: #d4d4d4; }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: #262626; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }

/* hero */
.hero { padding: 96px 0 72px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 10px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,77,46,.15); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 96px); line-height: .98; letter-spacing: -0.02em; color: var(--ink); margin: 28px auto 24px; max-width: 900px; }
.hero h1 em { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 36px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* Small aside with a green chip: the "built with AI" and "agents welcome" winks. */
.wink { font-size: 13px; line-height: 1.7; color: var(--muted); }
.hero .wink { margin: 28px auto 0; max-width: 520px; }
.page-head .wink { margin-top: 12px; }
.wink .chip { margin-right: 8px; color: #15803d; background: #f0fdf4; border-color: #bbf7d0; font-weight: 500; }

/* duel preview */
.preview { padding: 0 0 112px; }
.duel { border: 1px solid var(--line); border-radius: 20px; background: var(--soft); padding: 12px; max-width: 880px; margin: 0 auto; }
.duel-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 14px; font-size: 13px; color: var(--muted); }
.duel-head b { color: var(--text); font-weight: 500; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.side { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.shot { aspect-ratio: 16/10; border-radius: 8px; border: 1px solid var(--line); overflow: hidden; }
.shot.a { background: linear-gradient(135deg, #f3f1ff, #e7f0ff); }
.shot.b { background: linear-gradient(135deg, #fff4ec, #ffece8); }
.shot svg { width: 100%; height: 100%; display: block; }
.side h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.side p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; background: var(--paper); }
.chip.ai { color: var(--ink); background: var(--soft); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.side.lead-side .bar i { background: var(--accent); }
.votes { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.votes b { color: var(--ink); font-weight: 600; }
.src { font-size: 12px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 12px; }
.src b { color: var(--muted); font-weight: 500; }

.rule { margin-top: 40px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--muted); }
.rule b { color: var(--ink); font-weight: 600; }
.gets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.gets div { border-top: 2px solid var(--ink); padding-top: 18px; }
.gets h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.gets p { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .gets { grid-template-columns: 1fr 1fr; gap: 32px 16px; } }
@media (max-width: 640px) { .gets { grid-template-columns: 1fr; } }

.why { padding: 112px 0; border-top: 1px solid var(--line); background: var(--ink); color: #fafafa; }
.why .eyebrow { color: #737373; }
.why h2 { color: #fafafa; max-width: 820px; font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.why-grid .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.why-grid h3 { font-size: 17px; font-weight: 600; margin: 10px 0 8px; color: #fafafa; }
.why-grid p { font-size: 14px; color: #a3a3a3; }
@media (max-width: 640px) { .why { padding: 80px 0; } .why-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; } }
.vs { align-self: center; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--faint); padding: 0 4px; }

/* sections */
section.block { padding: 96px 0; border-top: 1px solid var(--line); }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); max-width: 640px; }
h2 em { color: var(--accent); }
.sub { color: var(--muted); max-width: 520px; margin-top: 14px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.step { padding: 28px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.step h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 10px 0 8px; }
.step p { font-size: 14px; color: var(--muted); }
.step .when { display: inline-block; margin-top: 16px; font-size: 12px; color: var(--faint); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, box-shadow .15s; background: var(--paper); }
.card .shot { display: block; aspect-ratio: 16/10; background: var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card:hover .shot img { transform: scale(1.02); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .by { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card:hover { border-color: #d9d9d9; box-shadow: 0 6px 24px rgba(0,0,0,.04); }
.card .top { display: flex; gap: 12px; align-items: center; }
.logo-sq { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: #fff; flex: none; background: var(--ink); overflow: hidden; }
.logo-sq img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.card .cat { font-size: 12px; color: var(--faint); }
.card p { font-size: 14px; color: var(--muted); flex: 1; }

.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; display: inline-flex; gap: 8px; }
.cats a:hover { border-color: var(--ink); }
.cats a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; color: var(--ink); }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 520px; }

.final { text-align: center; padding: 120px 0; border-top: 1px solid var(--line); }
.final h2 { margin: 0 auto 16px; font-size: clamp(40px, 6vw, 68px); }
.final p { color: var(--muted); margin-bottom: 32px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer img { height: 18px; display: block; }
footer ul { display: flex; gap: 20px; list-style: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  nav ul { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  nav .right .btn:not(.primary) { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero p.lead { font-size: 16px; }
  .sides { grid-template-columns: 1fr; }
  .duel-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .vs { justify-self: center; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr; }
  section.block { padding: 72px 0; }
}

/* inner pages */
.page { padding: 72px 0 112px; }
.page-head { margin-bottom: 40px; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 560px; }
.narrow { max-width: 640px; }
.prose h2 { font-size: 28px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-top: 10px; }
.prose ul { padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.empty { border: 1px dashed var(--line); border-radius: 14px; padding: 40px 24px; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 16px; }
.notice { border: 1px solid var(--line); background: var(--soft); border-radius: 12px; padding: 14px 18px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.notice b { color: var(--ink); font-weight: 600; }
.notice.error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.notice.error b { color: #991b1b; }
/* Category tabs in one row (scrolls sideways when it doesn't fit), then the AI filter and the count. */
.catbar { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 20px; mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.catbar::-webkit-scrollbar { display: none; }
.catbar a { flex: none; padding: 10px 12px; font-size: 14px; color: var(--muted); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s; }
.catbar a:hover { color: var(--ink); }
.catbar a.on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--ink); }
.catbar a:first-child { padding-left: 0; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.toolbar .count { font-size: 13px; color: var(--faint); white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters a { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--muted); }
.filters a:hover { border-color: #d4d4d4; color: var(--ink); }
.filters a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* forms */
.form { display: grid; gap: 28px; }
.field { display: grid; gap: 6px; }
.field > label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--faint); }
.field .opt { font-weight: 400; color: var(--faint); }
fieldset.field { border: 0; }
input[type=text], input[type=email], input[type=url], textarea, select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--paper);
  border: 1px solid #e0e0e0; border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.06); }
.field.bad input, .field.bad textarea, .field.bad select { border-color: #ef4444; }
.field .err { font-size: 13px; color: #dc2626; }
.counter { font-size: 12px; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.counter.low { color: #d97706; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; border: 1px solid #e0e0e0; border-radius: 12px; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; transition: border-color .15s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { font-size: 14px; font-weight: 500; color: var(--ink); }
.choice span { font-size: 13px; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(10,10,10,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--ink); }
.pair { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 8px; }
.actions .spacer { flex: 1; }
.linkish { background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.btn { cursor: pointer; font-family: inherit; }

.stepper { display: flex; gap: 8px; margin-bottom: 36px; font-size: 13px; color: var(--faint); flex-wrap: wrap; }
.stepper a, .stepper span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; }
.stepper i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); font-size: 12px; }
.stepper .on { color: var(--ink); border-color: var(--ink); }
.stepper .on i { background: var(--ink); color: #fff; }

/* image upload */
.uploads { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.upload { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); display: grid; }
.upload img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: var(--soft); border-bottom: 1px solid var(--line); }
.upload input { border: 0; border-radius: 0; font-size: 13px; padding: 8px 10px; }
.upload button { border: 0; border-top: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 12px; color: var(--muted); padding: 6px; cursor: pointer; }
.upload button:hover { color: #dc2626; }
.drop { border: 1px dashed #d4d4d4; border-radius: 12px; min-height: 120px; display: grid; place-items: center; text-align: center; font-size: 13px; color: var(--muted); cursor: pointer; padding: 16px; }
.drop:hover { border-color: var(--ink); color: var(--ink); }
.drop input { display: none; }
.single { display: flex; gap: 16px; align-items: center; }
.single .preview-img { width: 72px; height: 72px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft) center/cover no-repeat; flex: none; }
.single .preview-img.round { border-radius: 50%; }

/* dashboard */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.row p { font-size: 13px; color: var(--muted); }
.status { font-size: 12px; border-radius: 999px; padding: 2px 10px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.status.approved { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.status.pending { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.status.rejected { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* product page */
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.p-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.p-head .logo-sq { width: 72px; height: 72px; border-radius: 18px; font-size: 26px; }
.p-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 56px); line-height: 1; color: var(--ink); letter-spacing: -0.015em; }
.p-head .tag { color: var(--muted); font-size: 17px; margin-top: 6px; }
.p-head .go { margin-left: auto; }
.p-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 40px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gallery figure { scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); display: block; background: var(--soft); }
.gallery .video { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16/10; border-radius: 14px; border: 1px solid var(--line); background: var(--ink) center / cover no-repeat; overflow: hidden; }
.gallery a.video::before { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.35); transition: background .2s; }
.gallery a.video:hover::before { background: rgba(10,10,10,.2); }
.gallery .video .play { position: relative; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .2s; }
.gallery .video .play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--ink); }
.gallery a.video:hover .play { transform: scale(1.08); }
.gallery .video .label { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 13px; font-weight: 500; }
.gallery iframe.video { border: 0; }
.gallery figcaption { font-size: 13px; color: var(--faint); margin-top: 8px; }
.p-body { display: grid; grid-template-columns: 1fr 300px; gap: 64px; margin-top: 56px; align-items: start; }
.p-body h2 { font-size: 30px; margin-bottom: 14px; }
.p-body section + section { margin-top: 48px; }
.p-desc p { color: var(--text); margin-top: 12px; }
.p-feats { list-style: none; display: grid; gap: 10px; }
.p-feats li { padding-left: 22px; position: relative; }
.p-feats li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.p-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.box { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.box h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 500; margin-bottom: 12px; }
.facts { display: grid; gap: 10px; font-size: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); text-align: right; }
.maker { display: flex; gap: 12px; align-items: center; }
.maker .ph { width: 44px; height: 44px; border-radius: 50%; background: var(--soft) center/cover no-repeat; border: 1px solid var(--line); flex: none; }
.maker b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.maker a { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.box p { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* admin */
.switch { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 40px; }
.switch div { display: grid; gap: 2px; font-size: 14px; }
.switch span { color: var(--muted); }
.switch .btn { margin-left: auto; }
.review { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 12px; }
.review + .review { margin-top: 16px; }
.review form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.review input[type=text] { flex: 1; min-width: 200px; }

@media (max-width: 860px) {
  .p-body { grid-template-columns: 1fr; gap: 48px; }
  .p-side { position: static; }
}
@media (max-width: 640px) {
  .page { padding: 48px 0 80px; }
  .choices, .choices.three { grid-template-columns: 1fr; }
  .row { grid-template-columns: 40px 1fr; }
  .row .status, .row .btn { grid-column: 2; justify-self: start; }
  .p-head .go { margin-left: 0; width: 100%; justify-content: center; }
  .gallery { grid-auto-columns: 88%; }
}
