:root {
  --paper: #f7efe2;
  --paper-2: #efe3cf;
  --card: #fffaf2;
  --ink: #3b2a20;
  --ink-soft: #6e5a4b;
  --tomato: #c8442f;
  --tomato-deep: #a5341f;
  --mustard: #e3a92b;
  --sage: #8a9a6b;
  --line: #e2d3bb;
  --shadow: 0 10px 30px -12px rgba(59, 42, 32, .35);
  --radius: 14px;
  --display: "Fraunces", Georgia, serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h1 em { font-style: italic; color: var(--tomato); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; }
.kicker { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); margin: 0 0 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { font: 700 1.9rem/1 var(--hand); text-decoration: none; color: var(--ink); }
.logo span { color: var(--tomato); }
.logo.small { font-size: 1.5rem; }
nav { display: flex; align-items: center; gap: 1.6rem; }
nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
nav a:hover { color: var(--ink); }
.nav-cta { background: var(--ink); color: var(--paper) !important; padding: .5rem 1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--tomato); }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px;
  font: 700 .98rem/1 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.btn-primary:hover { background: var(--tomato-deep); border-color: var(--tomato-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(16px, 5vw, 64px) clamp(3rem, 6vw, 5rem);
  max-width: 1280px; margin: 0 auto;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.snap {
  position: absolute; margin: 0; background: var(--card); padding: 10px 10px 34px;
  box-shadow: var(--shadow); border-radius: 4px; width: 56%;
}
.snap img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.snap::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 26px; translate: -50% 0;
  background: color-mix(in srgb, var(--mustard) 55%, transparent); rotate: -3deg;
}
.s1 { top: 0; left: 4%; rotate: -6deg; z-index: 2; }
.s2 { top: 14%; right: 0; rotate: 5deg; z-index: 1; }
.s3 { bottom: 0; left: 24%; rotate: -1deg; z-index: 3; }
.doodle {
  position: absolute; bottom: 4%; right: 2%; z-index: 4;
  font: 700 1.6rem/1 var(--hand); color: var(--tomato); rotate: -8deg;
}

/* Sections */
section[id] { scroll-margin-top: 72px; }
.section { padding: clamp(3.5rem, 7vw, 6rem) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 28rem; }

/* Filters & grid */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip {
  font: 500 .95rem/1 var(--body); padding: .6rem 1.05rem; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--line);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .n { opacity: .6; margin-left: .3em; font-size: .85em; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.card {
  position: relative; padding: 0; border: 0; cursor: pointer; text-align: left;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 6px 18px -14px rgba(59,42,32,.5);
  transition: transform .2s, box-shadow .2s; color: var(--ink); font: inherit;
}
.card:hover, .card:focus-visible { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); outline: none; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.card .meta { display: flex; justify-content: space-between; gap: .5rem; padding: .7rem .9rem .8rem; font-size: .88rem; }
.card .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .date { color: var(--ink-soft); flex-shrink: 0; }
.badge {
  position: absolute; top: 10px; right: 10px; background: rgba(255,250,242,.92); color: var(--ink);
  font: 700 .75rem/1 var(--body); padding: .35rem .55rem; border-radius: 999px;
}
.more-wrap { display: flex; justify-content: center; margin-top: 2.2rem; }
.more-wrap[hidden] { display: none; }

/* Shop */
.shop {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  background: var(--paper-2); border-radius: 28px; max-width: calc(1280px - 2 * clamp(16px, 5vw, 64px));
  margin: 2rem auto; padding: clamp(2rem, 5vw, 4rem);
}
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.ticks li { padding-left: 1.8rem; position: relative; margin: .45rem 0; font-weight: 500; }
.ticks li::before { content: "✿"; position: absolute; left: 0; color: var(--tomato); }
.shop-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shop-gallery button { padding: 0; border: 0; cursor: pointer; border-radius: 10px; overflow: hidden; background: none; }
.shop-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.shop-gallery button:hover img { transform: scale(1.05); }
.shop-gallery button:first-child { grid-column: span 2; grid-row: span 2; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-video video { width: 100%; max-width: 380px; margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); background: var(--ink); }
blockquote {
  margin: 1.2rem 0; padding: 0 0 0 1.2rem; border-left: 3px solid var(--mustard);
  font: italic 400 1.3rem/1.5 var(--display); color: var(--ink);
}
.about-copy p { color: var(--ink-soft); }
.sign { font: 700 2rem/1 var(--hand) !important; color: var(--tomato) !important; }

/* Contact */
.contact { text-align: center; }
.contact p { color: var(--ink-soft); max-width: 34rem; margin: 0 auto 1.8rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 2rem clamp(16px, 5vw, 64px); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: 1fr 340px;
  background: rgba(36, 26, 20, .94); color: var(--paper);
}
.lightbox[hidden] { display: none; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; min-height: 0; }
.lb-media { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-media img, .lb-media video { max-width: 100%; max-height: calc(100vh - 6rem); border-radius: 8px; object-fit: contain; }
.lb-info { background: var(--card); color: var(--ink); padding: 3.5rem 1.6rem 1.6rem; overflow-y: auto; }
.lb-count { font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--tomato); margin: 0 0 .5rem; }
.lb-date { color: var(--ink-soft); margin: 0 0 1rem; font-size: .9rem; }
.lb-caption { white-space: pre-line; margin: 0 0 1.4rem; }
.lb-link { font-weight: 700; color: var(--tomato); }
.lb-close {
  position: absolute; top: 12px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--paper); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.lb-nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,250,242,.15); color: var(--paper); font-size: 2rem; line-height: 1; cursor: pointer;
}
.lb-nav:hover { background: rgba(255,250,242,.3); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-nav[disabled] { opacity: .2; cursor: default; }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }

/* Responsive */
@media (max-width: 900px) {
  .hero, .shop, .about { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
  .shop { margin: 1rem 16px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-stage { padding: 3.5rem .5rem .5rem; }
  .lb-media img, .lb-media video { max-height: 58vh; }
  .lb-info { max-height: 38vh; padding: 1.2rem 1.2rem 1.4rem; }
  .lb-nav { width: 40px; height: 40px; font-size: 1.6rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-toggle {
    display: inline-flex; font: 700 .9rem/1 var(--body); padding: .55rem .95rem; border-radius: 999px;
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem;
  }
  nav.open { display: flex; }
  nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: .8rem; border-bottom: 0 !important; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .meta { padding: .5rem .6rem .6rem; font-size: .8rem; }
  .card .date { display: none; }
  .site-footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ===================== Ordering, accounts & admin ===================== */

/* Header buttons */
nav button { font: 500 1rem/1 var(--body); cursor: pointer; }
.nav-login { background: none; border: 0; color: var(--ink-soft); padding: 0; }
.nav-login:hover { color: var(--ink); }
.nav-cta { border: 0; }
.nav-account { font-weight: 700 !important; color: var(--tomato) !important; }
[hidden] { display: none !important; }

/* Post of the day */
.featured { padding-top: 0; }
.featured-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--card); border-radius: 28px; padding: clamp(14px, 2vw, 22px); box-shadow: var(--shadow);
  border: 1.5px dashed color-mix(in srgb, var(--mustard) 70%, transparent);
}
.featured-media { position: relative; padding: 0; border: 0; cursor: zoom-in; border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.featured-media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.featured-media:hover img { transform: scale(1.03); }
.featured-badge {
  position: absolute; top: 14px; left: 14px; background: var(--mustard); color: var(--ink);
  font: 700 .8rem/1 var(--body); letter-spacing: .04em; padding: .5rem .8rem; border-radius: 999px; rotate: -3deg;
}
.featured-copy { padding: .5rem clamp(0px, 2vw, 1.5rem) .5rem 0; }
.featured-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.featured-copy p { color: var(--ink-soft); }

.badge-new { left: 10px; right: auto; background: var(--tomato); color: #fff; }

/* Viewer: order similar */
.lb-order { width: 100%; margin-bottom: 1.4rem; }

/* Modals */
body.modal-open { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px;
  background: rgba(36, 26, 20, .6); overflow-y: auto;
}
.modal-card {
  position: relative; width: min(560px, 100%); background: var(--card); color: var(--ink);
  border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
  margin: auto;
}
.modal-card.narrow { width: min(430px, 100%); }
.modal-card h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: .35em; padding-right: 2rem; }
.modal-sub { color: var(--ink-soft); margin: 0 0 1.2rem; font-size: .96rem; }
.modal-x {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--paper-2); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.modal-x:hover { background: var(--line); }

/* Forms */
form label { display: block; font-weight: 700; font-size: .92rem; margin: 0 0 1rem; }
form label small, .pw-box small { font-weight: 400; color: var(--ink-soft); }
input, textarea, select {
  display: block; width: 100%; margin-top: .4rem; padding: .75rem .9rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--body);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--tomato); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tomato) 18%, transparent); }
input[readonly] { background: var(--paper); color: var(--ink-soft); }
textarea { resize: vertical; min-height: 110px; }
label.check { display: flex; gap: .6rem; align-items: center; font-weight: 500; }
label.check input { width: auto; margin: 0; accent-color: var(--tomato); }
.pw-box { background: var(--paper); border-radius: 14px; padding: 1rem 1rem .2rem; margin: -.2rem 0 1rem; }
.pw-box p { margin: 0 0 .8rem; font-size: .92rem; color: var(--ink-soft); }
.pw-box .link-btn { margin: -.4rem 0 .8rem; }
.form-error { background: #fbe4df; color: var(--tomato-deep); padding: .7rem .9rem; border-radius: 10px; font-size: .92rem; margin: 0 0 1rem; }
.note-ok { background: #e8efdc; color: #44522c; padding: .8rem .95rem; border-radius: 10px; font-size: .95rem; margin: 0 0 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link-btn { background: none; border: 0; padding: 0; margin-top: .9rem; color: var(--tomato); font: 700 .92rem/1.2 var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.logged-note { font-size: .92rem; background: var(--paper); padding: .7rem .9rem; border-radius: 10px; margin: 0 0 1rem; }

.ref-chip { display: flex; align-items: center; gap: .8rem; background: var(--paper); border-radius: 14px; padding: .6rem; margin-bottom: 1.1rem; }
.ref-chip img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.ref-chip span { flex: 1; min-width: 0; font-size: .92rem; }
.ref-chip small { display: block; color: var(--ink-soft); }
.ref-chip b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-chip button { border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink-soft); padding: .3rem .6rem; }

.tabs { display: flex; gap: .3rem; background: var(--paper); padding: .3rem; border-radius: 999px; margin: 0 2.6rem 1.4rem 0; }
.tab { flex: 1; border: 0; background: none; padding: .6rem .8rem; border-radius: 999px; font: 700 .92rem/1 var(--body); color: var(--ink-soft); cursor: pointer; }
.tab.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(59,42,32,.15); }

.order-done { text-align: center; padding: 1rem 0 .4rem; }
.order-done p { color: var(--ink-soft); }
.order-done .form-actions { justify-content: center; margin-top: 1.4rem; }
.done-mark { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #fff; font-size: 2rem; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; border-radius: 12px; font-weight: 500;
  transition: opacity .2s, translate .2s; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; translate: -50% 0; }
.toast.err { background: var(--tomato-deep); }

/* Account & admin pages */
.page { max-width: 1100px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(16px, 4vw, 40px) 4rem; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.page-head p { margin: .3rem 0 0; color: var(--ink-soft); }
.panel { background: var(--card); border-radius: 20px; padding: clamp(1.1rem, 3vw, 1.8rem); box-shadow: 0 1px 0 var(--line); margin-bottom: 1.4rem; }
.panel h2 { font-size: 1.4rem; }
.banner { background: #fdf0d2; border: 1.5px solid var(--mustard); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.banner strong { display: block; margin-bottom: .2rem; }
.empty { text-align: center; color: var(--ink-soft); padding: 2.5rem 1rem; }

.order-card { background: var(--card); border-radius: 18px; padding: 1.2rem 1.3rem; margin-bottom: 1rem; box-shadow: 0 1px 0 var(--line), 0 6px 18px -16px rgba(59,42,32,.6); }
.order-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; margin-bottom: .7rem; }
.order-top .id { font-weight: 700; }
.order-top .when { color: var(--ink-soft); font-size: .88rem; }
.order-ref { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: .6rem; }
.order-ref img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.order-req { white-space: pre-line; margin: 0 0 .9rem; }
.quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; background: var(--paper); border-radius: 14px; padding: .9rem 1rem; margin-bottom: .9rem; }
.quote dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 700; }
.quote dd { margin: .15rem 0 0; font-weight: 700; font-size: 1.05rem; }
.quote .note { grid-column: 1 / -1; }
.quote .note dd { font-weight: 400; font-size: .98rem; white-space: pre-line; }
.pay-box { border: 1.5px dashed var(--sage); border-radius: 14px; padding: .9rem 1rem; margin-bottom: .9rem; }
.pay-box p { margin: 0 0 .6rem; }
.upi-id { font: 700 1.05rem/1.2 ui-monospace, Menlo, monospace; background: var(--paper); padding: .2rem .5rem; border-radius: 6px; }

.status { display: inline-block; font: 700 .76rem/1 var(--body); letter-spacing: .04em; padding: .42rem .7rem; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.status.new { background: #fde3c7; color: #8a4b0b; }
.status.quoted { background: #fdf0d2; color: #7a5a06; }
.status.accepted { background: #dfe9f7; color: #2a4d7d; }
.status.paid, .status.in_progress { background: #e8efdc; color: #44522c; }
.status.delivered { background: #d9eadf; color: #24563a; }
.status.cancelled { background: #eee; color: #777; }

/* Admin */
.admin-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.admin-tabs .chip .n { background: var(--tomato); color: #fff; opacity: 1; padding: .1rem .45rem; border-radius: 999px; font-size: .75rem; }
.admin-tabs .chip.is-active .n { background: var(--mustard); color: var(--ink); }
.status-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.status-filter .chip { font-size: .85rem; padding: .45rem .8rem; }
.contact-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .8rem; font-size: .95rem; }
.contact-row a.pill { text-decoration: none; font-weight: 700; font-size: .85rem; padding: .4rem .75rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.contact-row a.pill:hover { border-color: var(--ink); }
.reply-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.reply-grid label { margin-bottom: .6rem; }
.reply-grid .full { grid-column: 1 / -1; }
details.reply summary { cursor: pointer; font-weight: 700; color: var(--tomato); margin: .2rem 0 .8rem; }
.temp-pw { font: 700 1.4rem/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; background: var(--paper); padding: .6rem .9rem; border-radius: 10px; display: inline-block; margin: .4rem 0 .8rem; }

.upload-drop { border: 2px dashed var(--line); border-radius: 18px; padding: 1.6rem; text-align: center; background: var(--paper); cursor: pointer; margin-bottom: 1rem; }
.upload-drop:hover, .upload-drop.drag { border-color: var(--tomato); }
.upload-drop input { display: none; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.preview-grid figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); aspect-ratio: 1; }
.preview-grid img { width: 100%; height: 100%; object-fit: cover; }
.preview-grid .kind { position: absolute; bottom: 6px; left: 6px; background: rgba(255,250,242,.92); font: 700 .7rem/1 var(--body); padding: .3rem .45rem; border-radius: 999px; }
.preview-grid .rm { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.preview-grid .order { position: absolute; top: 6px; left: 6px; background: var(--mustard); font: 700 .7rem/1 var(--body); padding: .3rem .45rem; border-radius: 999px; }

.post-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.post-admin { background: #fff; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.post-admin.is-featured { border-color: var(--mustard); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mustard) 40%, transparent); }
.post-admin img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.post-admin .pa-body { padding: .55rem .6rem .65rem; font-size: .82rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.post-admin .pa-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.post-admin .pa-actions { display: flex; gap: .35rem; margin-top: auto; }
.post-admin button { flex: 1; font: 700 .75rem/1 var(--body); padding: .5rem .4rem; border-radius: 8px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; }
.post-admin button.feat { background: var(--mustard); border-color: var(--mustard); }
.post-admin button.del { color: var(--tomato-deep); }
.progress { height: 8px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin: 0 0 1rem; }
.progress span { display: block; height: 100%; width: 0; background: var(--tomato); transition: width .2s; }

@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-copy { padding: 0 .4rem .6rem; }
}
@media (max-width: 720px) {
  .nav-login { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .reply-grid { grid-template-columns: 1fr; }
  .tabs { margin-right: 2.6rem; }
}
.post-admin button.feat[disabled] { opacity: 1; color: var(--ink); cursor: default; }
/* Account/admin pages: short nav stays inline on phones */
@media (max-width: 720px) {
  nav.inline-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: .9rem; padding: 0; border: 0; background: none; }
  nav.inline-nav a, nav.inline-nav button { padding: 0; border: 0; margin: 0; font-size: .92rem; white-space: nowrap; }
  nav.inline-nav .nav-cta { padding: .45rem .8rem; }
}
