:root {
  color-scheme: light; --paper: #fffcf7; --ink: #271a1b; --muted: #66595a;
  --line: #e6d9d2; --rose: #f9ded8; --red: #b82336; --red-dark: #92182a;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", "Helvetica Neue", sans-serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.53 var(--sans); }
img { display:block; max-width:100%; }
a { color:var(--red-dark); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #53358b; outline-offset: 3px; }
h1,h2,h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.042em; margin:0 0 .45em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.35rem, 4vw, 2rem); }
h3 { font-size:1.13rem; }
p { margin:0 0 .85rem; }
small,.muted { color: var(--muted); }
.wrap { width:min(calc(100% - 48px), 1170px); margin-inline:auto; }
.skip { position:absolute; left:12px; top:-100px; background:white; padding:8px; z-index:5; }
.skip:focus { top:8px; }
.top { border-bottom:1px solid var(--line); }
.top-inner, nav, .foot { display:flex; align-items:center; justify-content:space-between; gap:1.3rem; }
.top-inner { min-height:76px; }
nav { gap:clamp(.65rem,3vw,2rem); }
nav > a:not(.btn), .foot a { color:var(--ink); text-decoration:none; font-weight:650; }
.wordmark { color:var(--ink); font:850 2rem/1 var(--display); letter-spacing:-.08em; display:inline-flex; align-items:center; gap:0; text-decoration:none; }
.wordmark img { margin-right:.45rem; }
.wordmark span, .hero h1 span { color:var(--red); }
.btn { min-height:45px; display:inline-flex; align-items:center; justify-content:center; padding:.62rem 1rem; border:1px solid transparent; border-radius:11px; font-weight:750; text-decoration:none; cursor:pointer; white-space:normal; }
.primary { background:var(--red); color:#fff; }
.primary:hover { background:var(--red-dark); }
.secondary { background:#fff; color:var(--ink); border-color:var(--line); }
.secondary:hover { border-color:var(--red); }
.outline { color:var(--ink); border-color:#795b56; background:transparent; }
.outline:hover { background:#fffcf7aa; }
.small { min-height:37px; padding:.38rem .75rem; font-size:.9rem; }
.quiet { color:var(--red-dark); background:transparent; }
.hero { display:grid; grid-template-columns: 1fr 1.03fr; margin-top:28px; background:var(--rose); border-radius:25px; overflow:hidden; }
.hero-copy { padding: clamp(28px,6vw,80px) clamp(22px,6vw,74px); align-self:center; }
.hero h1 { font-size:clamp(3.1rem, 7.6vw, 7.1rem); line-height:.91; margin:0 0 .25em; font-weight:850; letter-spacing:-.09em; }
.hero p { max-width:34ch; color:#514042; font-size:clamp(1rem,2vw,1.18rem); margin:0 0 1.4rem; }
.hero-photo { min-height:100%; }
.hero-photo img { width:100%; height:100%; object-fit:cover; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; margin:.7rem 0; }
.catalog { padding-top:clamp(26px,5vw,52px); }
.section-head,.page-head,.channel-head { display:flex; align-items:center; justify-content:space-between; gap:.85rem; }
.page-head { padding:2.4rem 0 1rem; align-items:flex-start; }
.page-head h1 { margin:.35em 0; }
.section-head { margin:1.1rem 0; }
.section-head h2, .channel-head h2 { margin:0; }
.eyebrow { color:var(--red-dark); font-size:.82rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
form { margin:0; }
.search { display:grid; grid-template-columns:2fr 1fr 1fr auto; align-items:end; gap:.7rem; margin-bottom:1.65rem; }
.search details { grid-column:1/-1; }
.search > label { margin:0; }
label { display:block; margin-bottom:.85rem; color:#36272a; font-size:.91rem; font-weight:720; }
label > input:not([type=checkbox]), label > select, textarea { margin-top:.3rem; }
input:not([type=checkbox]), select, textarea { width:100%; min-width:0; min-height:44px; padding:.57rem .7rem; border:1px solid #cebbb4; border-radius:9px; background:#fff; color:var(--ink); }
input[type=checkbox] { width:17px; height:17px; accent-color:var(--red); flex:none; }
textarea { resize:vertical; display:block; }
details { margin:.6rem 0; }
summary { color:var(--red-dark); font-weight:700; cursor:pointer; }
details[open] summary { margin-bottom:.6rem; }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.listing-card, .list-row { color:var(--ink); text-decoration:none; }
.listing-card,.panel,.empty { border:1px solid var(--line); background:#fffefb; border-radius:16px; }
.listing-card { overflow:hidden; transition:border-color .15s,transform .15s; }
.listing-card:hover { border-color:var(--red); transform:translateY(-2px); }
.card-photo { position:relative; aspect-ratio:4/3; background:var(--rose); }
.card-photo img { width:100%; height:100%; object-fit:cover; }
.tag { display:inline-flex; align-items:center; width:fit-content; border:1px solid #eed9d4; background:#fff5ee; color:#6b2630; padding:.26rem .65rem; border-radius:30px; font-size:.83rem; font-weight:740; }
.card-photo .tag { position:absolute; top:.8rem; left:.8rem; }
.card-body { padding:.85rem 1rem; }
.card-title { display:flex; justify-content:space-between; align-items:baseline; gap:.6rem; }
.card-title span { flex:none; font-weight:800; }
.card-body p { color:var(--muted); font-size:.9rem; margin:0; }
.empty { padding:1.3rem; grid-column:1/-1; }
.panel { padding:clamp(1rem,3vw,1.6rem); margin:0 0 1rem; }
.compact,.inline { display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; }
.inline label { margin:0; width:min(430px,100%); }
.compact p { margin-bottom:0; }
.editor,.detail-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:1rem; align-items:start; }
.detail-grid { gap:clamp(1rem,4vw,3rem); }
.cover { border-radius:16px; overflow:hidden; background:var(--rose); }
.cover img { width:100%; max-height:650px; object-fit:contain; }
.item-title { font-size:clamp(2rem,4.2vw,3rem); }
.price { font-size:1.65rem; font-weight:830; }
.details,.bubble { white-space:pre-line; overflow-wrap:anywhere; }
.fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 .8rem; }
.channel-choice { display:flex; justify-content:space-between; align-items:center; gap:.65rem; padding:.45rem 0; border-top:1px solid var(--line); }
.channel-choice span { display:flex; gap:.45rem; align-items:center; }
.channel-choice input[type=number] { width:8.7rem; margin:0; }
.channel-preview { padding-left:1.15rem; }
.channel-preview li { margin-bottom:.65rem; }
.notice { padding: .8rem 1.2rem; background: #fae1dc; border:1px solid #e6aea3; border-radius:10px; color:#64162b; }
ul.notice { padding-left:2.2rem; }
.thumbs { display:flex; flex-wrap:wrap; gap:.75rem; margin:1rem 0; }
.thumbs img { width:clamp(75px,18vw,138px); aspect-ratio:1/1; object-fit:cover; border-radius:10px; }
.list-row { display:flex; justify-content:space-between; align-items:baseline; gap:.75rem; padding:.8rem 0; border-top:1px solid var(--line); }
.list-row span { color:var(--muted); font-size:.87rem; overflow:hidden; text-overflow:ellipsis; }
.narrow { max-width:630px; margin:2.5rem auto; }
.narrow code { overflow-wrap:anywhere; }
.thread { margin:1rem 0 2rem; }
.bubble { padding:.75rem 1rem; margin:.65rem 0; max-width:85%; width:fit-content; background:#f0e9df; border-radius:12px; }
.bubble.mine { margin-left:auto; background:var(--rose); }
.bubble p { margin-bottom:.25rem; }
.foot { color:var(--muted); margin-top:3rem; border-top:1px solid var(--line); min-height:84px; padding:.7rem 0; }
.foot > a:not(.wordmark) { font-size:.84rem; }
@media (max-width:760px) {
  .wrap { width:calc(100% - 32px); }
  .desktop { display:none; }
  .top-inner { min-height:62px; }
  .hero { grid-template-columns:1fr; margin-top:16px; border-radius:18px; }
  .hero-photo { height:clamp(155px, 42vw, 310px); }
  .hero-photo img { object-position:center 61%; }
  .hero h1 br { display:none; }
  .hero-copy { padding:32px 22px 23px; }
  .hero p { margin-bottom:1rem; }
  .search { grid-template-columns:1fr 1fr; }
  .search > label:first-child, .search > .btn { grid-column:1/-1; }
  .editor, .detail-grid { grid-template-columns:1fr; }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  .card-title { flex-wrap:wrap; gap:.22rem .6rem; }
  .card-title h3 { margin:0; }
  .page-head { padding:1.5rem 0 .6rem; }
}
@media (max-width:360px) {
  nav { gap:.45rem; }
  .wrap { width:calc(100% - 22px); }
  .wordmark { font-size:1.65rem; }
  .wordmark img { width:25px; height:25px; }
  nav > a { font-size:.82rem; }
  .fields { grid-template-columns:1fr; }
}
pre { max-width:100%; overflow:auto; background:#fff; border:1px solid var(--line); padding:.75rem; border-radius:8px; }
@media (max-width:420px) {
  .top-inner { gap:.45rem; }
  nav { gap:.65rem; }
  nav > a { font-size:.86rem; }
  .wordmark { font-size:1.75rem; }
  .wordmark img { width:27px; height:27px; }
  .hero .actions .btn { padding-inline:.75rem; }
  .hero h1 { letter-spacing:-.075em; }
  .channel-choice input[type=number] { width:7.3rem; }
  .channel-head { flex-wrap:wrap; }
}
