:root {
  --ink: #20201e;
  --paper: #f7f2e8;
  --cream: #fffaf0;
  --orange: #f36a2d;
  --orange-dark: #cf4d18;
  --orange-soft: #ffd7ae;
  --lime: #d7e96c;
  --lime-dark: #a8bd32;
  --muted: #706a61;
  --line: rgba(32, 32, 30, 0.16);
  --shadow: 0 18px 50px rgba(61, 43, 27, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 1000; left: 18px; top: -60px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 18px; }
:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 3px; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 80px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--ink);
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.30);
  backdrop-filter: none;
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 850; letter-spacing: 0.06em; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50%; font-family: serif; font-size: 17px; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.main-nav > a, .nav-form > button { opacity: 0.84; transition: opacity 0.2s ease, transform 0.2s ease; }
.main-nav > a:hover, .nav-form > button:hover { opacity: 1; }
.main-nav a[aria-current="page"] { opacity: 1; font-weight: 800; }
.nav-form { margin: 0; display: inline-flex; }
.nav-form button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-pill, .nav-form .nav-pill { display: inline-flex; padding: 10px 17px; border: 1px solid currentColor; border-radius: 999px; opacity: 1; }
.nav-form .nav-pill:disabled { cursor: default; opacity: 0.62; }
.menu-toggle { display: none; border: 1px solid currentColor; background: transparent; border-radius: 999px; padding: 8px 13px; }

.flash-stack { position: fixed; z-index: 300; top: 94px; left: 50%; width: min(520px, calc(100% - 32px)); transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); background: var(--cream); pointer-events: auto; font-size: 14px; }
.flash-success { border-left: 5px solid var(--lime-dark); }
.flash-error { border-left: 5px solid var(--orange); }
.flash button { border: 0; background: none; cursor: pointer; font-size: 22px; line-height: 1; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: 12px; font-weight: 850; letter-spacing: 0.17em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 2px; background: currentColor; flex: 0 0 auto; }
.overline { margin: 0 0 12px; color: var(--orange); font: 800 11px/1.4 ui-monospace, monospace; letter-spacing: 0.16em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 20px; border: 1px solid transparent; border-radius: 8px; font-weight: 780; font-size: 14px; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: default; opacity: 0.58; transform: none; }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 8px 25px rgba(65, 49, 22, 0.12); }
.button-quiet { color: #fff; border-color: rgba(255, 255, 255, 0.52); background: transparent; }
.button-dark { color: #fff; background: var(--ink); }
.button-outline-dark { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-small { padding: 9px 13px; font-size: 12px; }
.full-button { width: 100%; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--orange-dark); font-weight: 800; }
.back-link { display: inline-flex; margin-bottom: 38px; color: var(--muted); font-weight: 700; }
.centered-actions { justify-content: center; }

.hero { min-height: 760px; padding: 145px max(24px, calc((100vw - 1180px) / 2)) 92px; display: grid; grid-template-columns: 1.06fr 0.94fr; align-items: center; gap: 54px; color: #fff; background: var(--orange); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.hero h1 { margin: 0; font-size: clamp(46px, 5.3vw, 76px); line-height: 1.12; letter-spacing: -0.05em; font-weight: 920; }
.hero h1 span { position: relative; color: var(--lime); white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 6px; border-radius: 50%; background: var(--lime); transform: rotate(-1deg); }
.hero-lead { max-width: 580px; margin: 28px 0 34px; color: rgba(255, 255, 255, 0.84); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; min-height: 510px; margin: 0; display: grid; place-items: center; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border-radius: 50%; }
.hero-art::before { width: 480px; height: 480px; border: 1px solid rgba(255, 255, 255, 0.20); }
.hero-art::after { width: 355px; height: 355px; border: 1px dashed rgba(255, 255, 255, 0.34); animation: spin 30s linear infinite; }
.hero-art img { position: relative; z-index: 2; width: min(450px, 92%); aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.36); box-shadow: 28px 32px 0 rgba(110, 34, 8, 0.16); transform: rotate(2.5deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee { overflow: hidden; color: #fff; background: var(--ink); transform: rotate(-1.1deg) scale(1.02); }
.marquee > div { width: max-content; padding: 14px 0; display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 820; letter-spacing: 0.12em; animation: scroll 28s linear infinite; }
.marquee i { color: var(--lime); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

.burrow { padding: 130px 0 110px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 52px; }
.section-heading .eyebrow { color: var(--orange); margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.045em; }
.section-heading > p { width: 330px; margin: 0 0 8px; color: var(--muted); line-height: 1.75; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { position: relative; min-height: 340px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.project-card:nth-child(2) { background: var(--orange-soft); }
.project-card:nth-child(3) { background: var(--lime); }
.card-top { display: flex; justify-content: space-between; color: #777168; font: 700 12px/1.4 ui-monospace, monospace; }
.status { display: flex; align-items: center; gap: 7px; }
.status i, .online i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(243, 106, 45, 0.12); }
.project-card h3 { margin: 0 0 14px; font-size: 28px; }
.project-card p { margin: 0; max-width: 295px; color: #655f57; line-height: 1.75; }
.card-arrow { position: absolute; right: 22px; bottom: 18px; font-size: 25px; }

.latest { padding: 30px 0 120px; }
.compact-heading { margin-bottom: 34px; }
.compact-heading h2 { font-size: clamp(34px, 4vw, 52px); }
.latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.latest-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 250, 240, 0.68); transition: transform 0.2s ease, background 0.2s ease; }
.latest-card:hover { transform: translateY(-4px); background: var(--cream); }
.latest-kind { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.latest-card h3 { margin: 28px 0 10px; font-size: 22px; }
.latest-card p { margin: 0; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }

.about { min-height: 580px; padding: 90px 0; display: grid; grid-template-columns: 0.6fr 1.8fr 0.6fr; gap: 40px; align-items: center; border-top: 1px solid var(--line); }
.about-label { align-self: start; padding-top: 14px; color: var(--orange); font: 800 11px/1.4 ui-monospace, monospace; letter-spacing: 0.15em; }
.about-copy > p:first-child { margin: 0; font-size: clamp(36px, 4.7vw, 62px); font-weight: 920; line-height: 1.2; letter-spacing: -0.05em; }
.about-copy em { color: var(--orange); font-style: normal; }
.about-small { max-width: 650px; margin: 32px 0 0; color: var(--muted); font-size: 16px; line-height: 1.95; }
.seal { justify-self: end; width: 142px; height: 142px; display: grid; grid-template-rows: 1fr auto 1fr; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transform: rotate(8deg); }
.seal span { font: 800 10px/1.4 ui-monospace, monospace; letter-spacing: 0.22em; }
.seal b { color: var(--orange); font: 38px/1 serif; }

.checkin { padding: 110px 0; background: linear-gradient(145deg, #ffd7ae, #ffc69d); }
.checkin-layout { display: grid; grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr); overflow: hidden; background: var(--cream); border: 1px solid rgba(77, 44, 25, 0.16); border-radius: 32px; box-shadow: 0 28px 80px rgba(112, 62, 28, 0.14); }
.checkin-visual { position: relative; min-height: 520px; padding: 34px 38px 30px; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; background: #9c713f; }
.checkin-visual::before { content: ""; position: absolute; z-index: 7; inset: 17px; border: 1px solid rgba(255, 250, 228, 0.62); border-radius: 22px; pointer-events: none; }
.checkin-visual::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(57, 36, 17, 0.1), transparent 28%, transparent 70%, rgba(42, 25, 12, 0.26)); pointer-events: none; }
.treehole-scene { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.checkin-visual-label { position: relative; z-index: 8; width: max-content; padding: 9px 12px; color: #57341f; background: rgba(255, 250, 226, 0.78); border: 1px solid rgba(91, 56, 30, 0.18); border-radius: 999px; box-shadow: 0 8px 24px rgba(60, 37, 18, 0.12); backdrop-filter: blur(8px); font: 850 10px/1.4 ui-monospace, monospace; letter-spacing: 0.12em; }
.checkin-visual-note { position: relative; z-index: 8; align-self: center; margin: auto 0 0; padding: 8px 13px; color: #fff8e4; background: rgba(63, 39, 20, 0.58); border: 1px solid rgba(255, 248, 226, 0.38); border-radius: 999px; backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; text-align: center; }
.checkin-copy { padding: 68px 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.checkin h2 { margin: 10px 0 14px; font-size: clamp(48px, 6vw, 76px); letter-spacing: -0.055em; }
.checkin-copy > p:not(.overline) { max-width: 580px; margin: 0 0 28px; color: #6f5f53; line-height: 1.8; }
.checkin form { margin: 0 0 18px; }
.carrot-submit { min-width: 206px; justify-content: space-between; border-radius: 999px; }
.carrot-submit i { display: grid; place-items: center; width: 25px; height: 25px; color: var(--ink); background: var(--lime); border-radius: 50%; font-style: normal; }
.carrot-submit.is-loading i { animation: carrot-button-hop 0.7s ease-in-out infinite alternate; }
.carrot-counter { color: #6f5f53; }
.carrot-counter strong { color: var(--ink); font-size: 24px; }
.site-stats { width: 100%; margin: 48px 0 0; padding-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(32, 32, 30, 0.18); }
.site-stats span { display: grid; gap: 2px; color: #6f5f53; font-size: 12px; }
.site-stats strong { color: var(--ink); font-size: 24px; }

.carrot-scene { position: absolute; z-index: 3; inset: 0; overflow: hidden; }
.delivery-carrot { position: absolute; z-index: 5; left: 50%; top: 82px; width: 74px; height: 132px; transform: translateX(-118px) rotate(-24deg); transform-origin: 50% 90%; filter: drop-shadow(0 14px 16px rgba(100, 44, 16, 0.18)); }
.carrot-body { position: absolute; inset: 28px 9px 0; display: block; background: linear-gradient(135deg, #ff9837, #ed552c); border: 2px solid rgba(111, 48, 20, 0.55); border-radius: 48% 48% 58% 58%; clip-path: polygon(4% 0, 96% 0, 54% 100%, 45% 100%); }
.carrot-body i { position: absolute; left: 15px; width: 23px; height: 2px; background: rgba(128, 46, 21, 0.4); border-radius: 10px; transform: rotate(10deg); }
.carrot-body i:first-child { top: 32px; }
.carrot-body i:last-child { top: 57px; left: 23px; width: 18px; }
.carrot-leaves { position: absolute; z-index: 2; left: 50%; top: 0; width: 62px; height: 48px; transform: translateX(-50%); }
.carrot-leaves i { position: absolute; left: 25px; bottom: 0; width: 17px; height: 45px; background: #628f39; border: 2px solid rgba(56, 83, 29, 0.55); border-radius: 70% 15% 65% 15%; transform-origin: 50% 100%; }
.carrot-leaves i:first-child { transform: rotate(-37deg); }
.carrot-leaves i:nth-child(2) { height: 51px; transform: rotate(2deg); }
.carrot-leaves i:last-child { transform: rotate(38deg); }
.treehole-window { position: absolute; z-index: 4; left: 50%; top: 25%; width: 31%; height: 44%; overflow: hidden; border-radius: 48% 48% 42% 42% / 55% 55% 38% 38%; transform: translateX(-50%); }
.treehole-rabbit { position: absolute; left: 50%; bottom: -5%; width: 132%; max-width: none; opacity: 0; transform: translate(-50%, 76%) scale(0.84); transform-origin: 50% 100%; filter: drop-shadow(0 7px 8px rgba(38, 20, 10, 0.24)); }
.hole-ring { position: absolute; z-index: 3; left: 50%; top: 24%; width: 32%; height: 46%; opacity: 0; border: 2px solid rgba(255, 231, 133, 0.88); border-radius: 48% 48% 42% 42% / 55% 55% 38% 38%; transform: translateX(-50%); }
.carrot-sparkle { position: absolute; z-index: 7; color: #fff6d6; opacity: 0.75; font-size: 24px; }
.sparkle-one { left: 20%; top: 38%; }
.sparkle-two { right: 19%; top: 22%; font-size: 16px; }
.carrot-scene.is-delivering .delivery-carrot { animation: carrot-delivery 1.25s cubic-bezier(0.45, 0, 0.18, 1) forwards; }
.carrot-scene.is-delivering .treehole-rabbit { animation: rabbit-peek 1.7s 0.82s cubic-bezier(0.18, 0.8, 0.18, 1) forwards; }
.carrot-scene.is-delivering .ring-one { animation: hole-ripple 0.8s 0.9s ease-out; }
.carrot-scene.is-delivering .ring-two { animation: hole-ripple 0.8s 1.08s ease-out; }
.carrot-scene.is-delivering .carrot-sparkle { animation: sparkle-pop 0.72s 0.55s ease-out; }
.carrot-scene.is-complete .delivery-carrot { opacity: 0; }
.carrot-scene.is-complete .treehole-rabbit { opacity: 1; transform: translate(-50%, 0) scale(1); }
@keyframes carrot-delivery {
  0% { opacity: 1; transform: translateX(-118px) translateY(0) rotate(-24deg) scale(1); }
  38% { transform: translateX(-70px) translateY(-72px) rotate(10deg) scale(1.04); }
  72% { opacity: 1; transform: translateX(-12px) translateY(58px) rotate(78deg) scale(0.82); }
  100% { opacity: 0; transform: translateX(-2px) translateY(154px) rotate(112deg) scale(0.28); }
}
@keyframes rabbit-peek { 0% { opacity: 0; transform: translate(-50%, 76%) scale(0.84); } 55% { opacity: 1; transform: translate(-50%, -5%) scale(1.04); } 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes hole-ripple { 0% { opacity: 0.8; transform: translateX(-50%) scale(0.8); } 100% { opacity: 0; transform: translateX(-50%) scale(1.42); } }
@keyframes sparkle-pop { 0%, 100% { opacity: 0; transform: scale(0.6) rotate(0); } 50% { opacity: 1; transform: scale(1.3) rotate(18deg); } }
@keyframes carrot-button-hop { to { transform: translate(3px, 3px); } }

.site-footer { min-height: 110px; padding: 28px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; background: var(--ink); }
.site-footer p { color: rgba(255, 255, 255, 0.52); font-size: 12px; }
.online { display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.68); font-size: 12px; }
.online i { background: var(--lime); box-shadow: 0 0 0 4px rgba(215, 233, 108, 0.12); }

.page-hero { padding: 90px 0 82px; border-bottom: 1px solid var(--line); }
.page-hero-store { background: var(--orange-soft); }
.page-hero-stories { background: var(--cream); }
.page-hero-letters { background: var(--lime); }
.page-hero-inner { max-width: 1180px; }
.page-hero .eyebrow { color: var(--orange-dark); }
.page-hero h1, .account-hero h1, .admin-hero h1, .editor-page h1 { margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: 1.05; letter-spacing: -0.055em; }
.page-hero-inner > p:last-child { max-width: 680px; margin: 24px 0 0; color: #655f57; font-size: 17px; line-height: 1.9; }
.catalog { padding: 90px 0 120px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.catalog-card { overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease; }
.catalog-card:hover { transform: translateY(-7px); border-color: rgba(243, 106, 45, 0.56); box-shadow: 0 26px 70px rgba(61, 43, 27, 0.14); }
.catalog-card-link { height: 100%; display: flex; flex-direction: column; cursor: pointer; }
.catalog-card-link:focus-visible { outline: 4px solid var(--lime-dark); outline-offset: -4px; }
.catalog-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--orange-soft); border-bottom: 1px solid var(--line); }
.catalog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.catalog-card:hover .catalog-cover img { transform: scale(1.035); }
.catalog-cover-hint { position: absolute; right: 18px; bottom: 18px; padding: 10px 12px; display: inline-flex; align-items: center; gap: 14px; color: #fff; background: rgba(32, 32, 30, 0.88); border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 999px; backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; transform: translateY(6px); opacity: 0; transition: opacity 0.22s ease, transform 0.22s ease; }
.catalog-card:hover .catalog-cover-hint, .catalog-card-link:focus-visible .catalog-cover-hint { opacity: 1; transform: translateY(0); }
.cover-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--orange); background: linear-gradient(135deg, var(--cream), var(--orange-soft)); font: 900 clamp(64px, 10vw, 120px)/1 serif; }
.catalog-body { flex: 1; padding: 28px; display: flex; flex-direction: column; }
.catalog-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; }
.catalog-body h2 { margin: 24px 0 10px; font-size: 30px; }
.catalog-body p { min-height: 58px; margin: 0 0 26px; color: var(--muted); line-height: 1.75; }
.catalog-cta { margin-top: auto; min-height: 54px; padding: 7px 7px 7px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: var(--ink); border-radius: 999px; font-size: 13px; font-weight: 820; }
.catalog-cta b { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 18px; transition: transform 0.22s ease; }
.catalog-card:hover .catalog-cta b { transform: rotate(12deg) scale(1.05); }
.empty-state { max-width: 720px; margin: 40px auto; padding: 70px 36px; text-align: center; background: var(--cream); border: 1px dashed rgba(32, 32, 30, 0.26); border-radius: 14px; }
.empty-icon { display: inline-grid; place-items: center; width: 70px; height: 70px; color: var(--orange); border: 1px solid var(--orange); border-radius: 50%; font-size: 28px; }
.empty-state h2 { margin: 24px 0 12px; font-size: 34px; }
.empty-state p { max-width: 500px; margin: 0 auto 28px; color: var(--muted); line-height: 1.8; }

.detail-page { padding: 70px 0 120px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.detail-cover { display: grid; place-items: center; min-height: 440px; overflow: hidden; background: var(--orange-soft); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.detail-cover img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.detail-copy { padding-top: 16px; }
.detail-copy .eyebrow { color: var(--orange); }
.detail-copy h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.08; letter-spacing: -0.05em; }
.detail-summary { margin: 24px 0; color: var(--muted); font-size: 20px; line-height: 1.75; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.detail-tags span { padding: 7px 11px; background: var(--lime); border-radius: 999px; font-size: 12px; font-weight: 700; }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.compact-prose { color: #514d47; line-height: 1.95; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.coming-soon { display: inline-flex; padding: 13px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; }
.file-note { color: var(--muted); font-size: 12px; }

.catalog-card-featured { grid-column: 1 / -1; }
.catalog-card-featured .catalog-card-link { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(340px, 0.62fr); }
.catalog-card-featured .catalog-cover { aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
.catalog-card-featured .catalog-body { padding: 48px; }
.catalog-card-featured .catalog-body h2 { margin-top: 34px; font-size: clamp(38px, 4vw, 58px); letter-spacing: -0.045em; }
.catalog-card-featured .catalog-body p { font-size: 17px; line-height: 1.85; }
.catalog-cover-poster { background: #fff8ef; }
.catalog-cover-poster img { object-fit: cover; object-position: center 30%; }

.bunnysnap-product { --bn-cream: #fff9ef; --bn-coral: #ff6966; --bn-cocoa: #693c2d; --bn-lilac: #7e64ff; }
.bunnysnap-hero { padding: 64px 0 110px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.72fr); gap: 84px; align-items: center; }
.bunnysnap-brand-line { display: flex; align-items: center; gap: 16px; margin: 28px 0 30px; }
.bunnysnap-brand-line img { width: 72px; height: 72px; border-radius: 20px; }
.bunnysnap-brand-line p { margin: 0; color: var(--bn-coral); font: 800 11px/1.4 ui-monospace, monospace; letter-spacing: 0.16em; }
.bunnysnap-hero-copy .eyebrow { color: var(--bn-coral); }
.bunnysnap-hero h1 { margin: 0; color: var(--bn-cocoa); font-size: clamp(64px, 8vw, 112px); line-height: 0.92; letter-spacing: -0.07em; }
.bunnysnap-hero h1 span { font-size: 0.55em; letter-spacing: -0.04em; }
.bunnysnap-lead { max-width: 650px; margin: 30px 0; color: var(--muted); font-size: 21px; line-height: 1.8; }
.bunnysnap-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bunnysnap-pills span { padding: 8px 12px; color: var(--bn-cocoa); background: #ffe5e3; border-radius: 999px; font-size: 12px; font-weight: 750; }
.bunnysnap-downloads { margin-top: 34px; }
.bunnysnap-trust { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.bunnysnap-cover { margin: 0; overflow: hidden; background: #fff; border: 1px solid rgba(105, 60, 45, 0.1); border-radius: 28px; box-shadow: 0 30px 80px rgba(84, 50, 38, 0.18); transform: rotate(2deg); }
.bunnysnap-cover img { display: block; width: 100%; height: auto; }

.bunnysnap-highlight { padding: 110px 0 120px; background: linear-gradient(145deg, #fff7ed, #efeaff); }
.bunnysnap-highlight h2, .bunnysnap-gallery h2, .bunnysnap-final h2 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.08; letter-spacing: -0.055em; }
.bunnysnap-intro { max-width: 720px; margin: 26px 0 48px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.bunnysnap-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bunnysnap-feature-grid article { min-height: 260px; padding: 28px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(105, 60, 45, 0.14); border-radius: 20px; }
.bunnysnap-feature-grid article > span { display: block; margin-bottom: 52px; color: var(--bn-coral); font: 800 12px/1 ui-monospace, monospace; }
.bunnysnap-feature-grid b { display: block; color: var(--bn-cocoa); font-size: 21px; line-height: 1.35; }
.bunnysnap-feature-grid p { margin: 14px 0 0; color: #71655d; font-size: 14px; line-height: 1.8; }
.bunnysnap-feature-grid .feature-accent { background: #fff; border-color: rgba(255, 105, 102, 0.38); box-shadow: 0 18px 50px rgba(126, 100, 255, 0.1); }

.bunnysnap-gallery { padding: 110px 0; }
.bunnysnap-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 44px; }
.bunnysnap-section-heading > p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.8; }
.bunnysnap-gallery-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: stretch; }
.bunnysnap-gallery-stage { position: relative; min-height: 780px; padding: 0; overflow: hidden; background: #f7f1e7; border: 1px solid var(--line); border-radius: 24px; cursor: zoom-in; }
.bunnysnap-gallery-stage > img { width: 100%; height: 100%; max-height: 840px; object-fit: contain; transition: transform 0.35s ease; }
.bunnysnap-gallery-stage:hover > img { transform: scale(1.012); }
.bunnysnap-stage-meta { position: absolute; inset: auto 18px 18px; padding: 16px 16px 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: rgba(32, 32, 30, 0.88); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 16px; backdrop-filter: blur(18px); text-align: left; }
.bunnysnap-stage-meta > span { display: grid; gap: 4px; }
.bunnysnap-stage-meta small { color: #ff9b98; font: 800 10px/1.3 ui-monospace, monospace; letter-spacing: 0.08em; }
.bunnysnap-stage-meta b { font-size: 16px; }
.bunnysnap-stage-meta em { color: rgba(255, 255, 255, 0.65); font-size: 12px; font-style: normal; }
.bunnysnap-stage-meta strong { flex: 0 0 auto; padding: 10px 12px; display: inline-flex; gap: 12px; align-items: center; color: var(--ink); background: #fff; border-radius: 999px; font-size: 12px; }
.bunnysnap-stage-meta i { font-style: normal; }
.bunnysnap-gallery-rail { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.bunnysnap-gallery-rail button { position: relative; min-height: 0; padding: 14px; overflow: hidden; display: grid; grid-template-columns: 78px 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; align-items: start; color: var(--bn-cocoa); background: #fff; border: 1px solid rgba(105, 60, 45, 0.14); border-radius: 18px; cursor: pointer; text-align: left; transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease; }
.bunnysnap-gallery-rail button:hover { transform: translateX(-4px); border-color: rgba(255, 105, 102, 0.5); }
.bunnysnap-gallery-rail button[aria-selected="true"] { background: #fff0ef; border-color: var(--bn-coral); box-shadow: inset 4px 0 0 var(--bn-coral); }
.bunnysnap-gallery-rail button > span { grid-column: 2; color: var(--bn-coral); font: 800 10px/1.2 ui-monospace, monospace; }
.bunnysnap-gallery-rail img { grid-column: 1; grid-row: 1 / -1; width: 78px; height: 104px; object-fit: cover; border-radius: 9px; }
.bunnysnap-gallery-rail b { grid-column: 2; margin-top: 8px; font-size: 14px; }
.bunnysnap-gallery-rail small { grid-column: 2; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }

body.lightbox-open { overflow: hidden; }
.bunnysnap-lightbox[hidden] { display: none; }
.bunnysnap-lightbox { position: fixed; z-index: 1000; inset: 0; padding: 22px; display: grid; place-items: center; opacity: 0; transition: opacity 0.18s ease; }
.bunnysnap-lightbox.is-open { opacity: 1; }
.bunnysnap-lightbox-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(20, 17, 15, 0.88); border: 0; backdrop-filter: blur(16px); cursor: zoom-out; }
.bunnysnap-lightbox-dialog { position: relative; z-index: 2; width: min(1100px, 100%); max-height: calc(100vh - 44px); padding: 14px 18px 16px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: #fff; background: #24201d; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 22px; box-shadow: 0 28px 100px rgba(0, 0, 0, 0.45); }
.bunnysnap-lightbox-dialog > header { min-height: 46px; display: flex; align-items: center; justify-content: space-between; }
.bunnysnap-lightbox-dialog > header span { color: rgba(255, 255, 255, 0.6); font: 800 11px/1 ui-monospace, monospace; letter-spacing: 0.1em; }
.bunnysnap-lightbox-dialog > header button { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1; }
.bunnysnap-lightbox-stage { min-height: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 16px; }
.bunnysnap-lightbox-stage > button { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; cursor: pointer; font-size: 20px; transition: background 0.2s ease, transform 0.2s ease; }
.bunnysnap-lightbox-stage > button:hover { background: var(--bn-coral); transform: scale(1.06); }
.bunnysnap-lightbox-stage figure { min-width: 0; min-height: 0; margin: 0; display: grid; place-items: center; }
.bunnysnap-lightbox-stage img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 168px); object-fit: contain; border-radius: 10px; }
.bunnysnap-lightbox-stage figcaption { margin-top: 10px; color: rgba(255, 255, 255, 0.82); font-size: 13px; font-weight: 700; }
.bunnysnap-lightbox-dialog > p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.45); font-size: 10px; text-align: center; }

.bunnysnap-for { padding: 0 0 120px; }
.bunnysnap-for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.bunnysnap-for-grid article { padding: 30px; background: var(--bn-cream); border: 1px solid rgba(105, 60, 45, 0.13); border-radius: 18px; }
.bunnysnap-for-grid span { color: var(--bn-coral); font: 800 20px/1 ui-monospace, monospace; }
.bunnysnap-for-grid h3 { margin: 32px 0 10px; color: var(--bn-cocoa); font-size: 26px; }
.bunnysnap-for-grid p { margin: 0; color: var(--muted); line-height: 1.8; }

.bunnysnap-final { padding: 90px 0; background: #ffdeda; }
.bunnysnap-final-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.bunnysnap-final-inner > img { border-radius: 30px; }
.bunnysnap-final h2 { font-size: clamp(38px, 5vw, 64px); }
.bunnysnap-final p:not(.overline) { color: #6b554b; line-height: 1.7; }
.bunnysnap-final .download-actions { margin: 0; display: grid; }

.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.story-card { display: grid; grid-template-columns: 0.7fr 1fr; min-height: 330px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.story-cover { min-height: 330px; background: var(--orange-soft); overflow: hidden; }
.story-cover img { width: 100%; height: 100%; object-fit: cover; }
.story-placeholder { width: 100%; height: 100%; padding: 24px; display: grid; grid-template-rows: auto 1fr auto; text-align: center; background: linear-gradient(155deg, var(--orange-soft), var(--lime)); }
.story-placeholder i { color: rgba(32, 32, 30, 0.55); font: 800 10px/1.4 ui-monospace, monospace; letter-spacing: 0.14em; }
.story-placeholder b { align-self: center; font-size: 25px; }
.story-card-copy { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; }
.story-card-copy > p { margin: 0; color: var(--orange); font-size: 11px; font-weight: 800; }
.story-card-copy h2 { margin: 26px 0 12px; font-size: 28px; line-height: 1.25; }
.story-card-copy > div { color: var(--muted); line-height: 1.75; }
.story-card-copy .text-link { margin-top: auto; padding-top: 24px; }
.story-reading { padding: 70px 0 0; }
.reading-header { max-width: 900px; }
.reading-header .eyebrow { color: var(--orange); margin-top: 20px; }
.reading-header h1 { max-width: 860px; margin: 0; font-size: clamp(50px, 8vw, 100px); line-height: 1.04; letter-spacing: -0.06em; }
.reading-header > p:last-child { max-width: 700px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.reading-cover { max-width: 1040px; margin-top: 60px; }
.reading-cover img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 12px; }
.reading-prose { width: min(760px, calc(100% - 40px)); margin: 76px auto; color: #34312e; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 19px; line-height: 2.15; }
.reading-end { padding: 76px 24px 90px; text-align: center; background: var(--orange-soft); }
.reading-end span { color: var(--orange); font-size: 30px; }
.reading-end p { color: var(--muted); margin: 14px 0 24px; }

.letters-layout { padding: 84px 0 120px; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
.letter-compose { position: sticky; top: 108px; }
.compose-card { padding: 28px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.postmark { display: inline-flex; padding: 8px 10px; color: var(--orange); border: 1px dashed var(--orange); font: 800 10px/1.4 ui-monospace, monospace; letter-spacing: 0.1em; transform: rotate(-2deg); }
.compose-card h2 { margin: 26px 0 10px; font-size: 30px; }
.compose-card > p { color: var(--muted); line-height: 1.75; }
label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 750; }
input, textarea, select { width: 100%; border: 1px solid rgba(32, 32, 30, 0.24); border-radius: 8px; padding: 12px 13px; color: var(--ink); background: #fffdf8; }
textarea { resize: vertical; line-height: 1.75; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); outline: 3px solid rgba(243, 106, 45, 0.16); }
.form-footer { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-footer small, .field small { color: var(--muted); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.centered-link { display: flex; justify-content: center; margin-top: 18px; font-size: 13px; }
.stream-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.stream-heading h2 { margin: 0; font-size: 34px; }
.stream-heading span { color: var(--muted); font-size: 12px; }
.letter-stream { min-width: 0; }
.letter-card { margin-bottom: 18px; padding: 26px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 100px; }
.letter-card > header { display: flex; align-items: center; gap: 12px; }
.letter-card > header > div { display: grid; gap: 2px; }
.letter-card time { color: var(--muted); font-size: 11px; }
.letter-card > header form { margin-left: auto; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; background: var(--orange-soft); border-radius: 50%; font-weight: 850; }
.quiet-action { padding: 6px 8px; color: var(--muted); background: none; border: 0; cursor: pointer; font-size: 12px; }
.letter-content { margin: 20px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.85; }
.replies { margin-top: 22px; padding-left: 18px; border-left: 3px solid var(--lime); }
.reply { position: relative; padding: 12px 0; }
.reply + .reply { border-top: 1px solid var(--line); }
.reply strong { font-size: 13px; }
.reply p { margin: 5px 0; white-space: pre-wrap; line-height: 1.7; }
.reply-box { margin-top: 18px; }
.reply-box summary { width: max-content; color: var(--orange-dark); cursor: pointer; font-size: 13px; font-weight: 750; }
.reply-box form { margin-top: 12px; }
.reply-box .button { margin-top: 8px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 34px; }
.pagination a { color: var(--orange-dark); font-weight: 750; }
.compact-empty { margin: 0; }

.auth-page { min-height: calc(100vh - 110px); display: grid; grid-template-columns: 0.9fr 1.1fr; }
.auth-art { position: relative; display: grid; place-items: center; min-height: 720px; overflow: hidden; background: var(--orange); }
.auth-orbit { position: absolute; width: 440px; height: 440px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; }
.auth-star { position: absolute; top: 80px; left: 12%; color: var(--lime); font-size: 44px; }
.auth-postcard { position: relative; width: 310px; height: 410px; padding: 30px; display: grid; place-items: center; background: var(--cream); box-shadow: 25px 28px 0 rgba(102, 35, 10, 0.18); transform: rotate(4deg); }
.auth-postcard::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); }
.auth-postcard > b { position: absolute; z-index: 1; top: 30px; right: 30px; padding: 10px; color: var(--orange); border: 1px dashed var(--orange); font: 800 8px/1.5 ui-monospace, monospace; text-align: center; }
.auth-postcard > span { position: relative; z-index: 1; display: grid; place-items: center; width: 150px; height: 150px; margin-top: 20px; color: var(--orange); background: var(--orange-soft); border: 2px solid var(--ink); border-radius: 50%; font: 74px/1 serif; }
.auth-postcard > p { position: absolute; z-index: 1; left: 30px; bottom: 28px; font: italic 19px/1.2 Georgia, serif; }
.auth-postcard strong { color: var(--orange); font-size: 27px; }
.auth-panel { display: grid; place-items: center; padding: 70px 24px; }
.auth-card { width: min(470px, 100%); }
.auth-card .eyebrow { color: var(--orange); }
.auth-card h1 { margin: 0; font-size: clamp(42px, 5vw, 64px); letter-spacing: -0.05em; }
.auth-intro { margin: 18px 0 30px; color: var(--muted); line-height: 1.8; }
.auth-switch { margin-top: 20px; color: var(--muted); text-align: center; font-size: 13px; }
.auth-switch a { color: var(--orange-dark); font-weight: 800; }

.account-hero, .admin-hero { padding: 90px 0; color: #fff; background: var(--orange); }
.account-hero .eyebrow, .admin-hero .eyebrow { color: var(--lime); }
.account-hero p:last-of-type, .admin-hero p:last-child { max-width: 620px; color: rgba(255, 255, 255, 0.78); line-height: 1.8; }
.account-hero .button, .admin-hero .button { margin-top: 12px; }
.account-grid { padding: 80px 0 120px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.account-card { padding: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; }
.carrot-account-card { min-height: 330px; background: var(--orange-soft); }
.account-card h2 { margin: 0 0 20px; font-size: 30px; }
.big-count { display: flex; align-items: baseline; gap: 10px; }
.big-count strong { font-size: 78px; line-height: 1; letter-spacing: -0.06em; }
.big-count span { color: var(--muted); }
.checkin-history { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.checkin-history span { padding: 7px 9px; background: rgba(255, 255, 255, 0.55); border-radius: 6px; font: 700 11px/1 ui-monospace, monospace; }
.own-letter-list { margin: 0; padding: 0; list-style: none; }
.own-letter-list li { padding: 12px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.own-letter-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.own-letter-list small { color: var(--muted); }
.stack-form { display: grid; }
.stack-form .button { margin-top: 18px; }

.admin-shell { padding: 64px 0 120px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: -96px; position: relative; z-index: 2; }
.admin-stats > div, .admin-stats > a { padding: 24px; display: grid; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.admin-stats span { color: var(--muted); font-size: 12px; }
.admin-stats strong { font-size: 36px; }
.admin-stat-link { transition: transform 0.2s ease, border-color 0.2s ease; }
.admin-stat-link:hover { transform: translateY(-4px); border-color: var(--orange); }
.admin-stat-link small { color: var(--orange-dark); font-size: 11px; font-weight: 800; }
.admin-section { padding-top: 78px; }
.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.admin-heading h2 { margin: 0; font-size: 38px; }
.admin-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.admin-list article { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--cream); }
.admin-list article + article { border-top: 1px solid var(--line); }
.admin-list h3 { margin: 6px 0 4px; font-size: 20px; }
.admin-list p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-status { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.admin-status.is-live { color: #638100; }
.admin-actions { display: flex; align-items: center; gap: 12px; }
.admin-actions a, .admin-actions button { border: 0; background: none; cursor: pointer; color: var(--orange-dark); font-weight: 750; font-size: 13px; }
.admin-empty { padding: 36px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
.people-privacy-note { margin: 44px 0 0; padding: 16px 18px; color: #5f584f; background: rgba(215, 233, 108, 0.42); border: 1px solid rgba(111, 130, 29, 0.28); border-radius: 10px; font-size: 13px; line-height: 1.7; }
.people-total { color: var(--muted); font-size: 13px; }
.people-table-wrap { overflow-x: auto; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 35px rgba(61, 43, 27, 0.06); }
.people-table { width: 100%; min-width: 940px; border-collapse: collapse; text-align: left; }
.people-table th { padding: 14px 18px; color: var(--muted); background: rgba(247, 242, 232, 0.72); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; white-space: nowrap; }
.people-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); color: #4e4942; font-size: 13px; vertical-align: middle; }
.people-table tbody tr:last-child td { border-bottom: 0; }
.people-table tbody tr:hover td { background: rgba(255, 215, 174, 0.16); }
.people-table td > strong { color: var(--ink); }
.people-table td > small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.role-chip, .device-chip { display: inline-flex; width: max-content; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.role-chip { margin-left: 8px; color: #6a7700; background: var(--lime); }
.device-chip { color: #8d3b17; background: var(--orange-soft); }
.activity-line { white-space: nowrap; }
.muted-cell { color: var(--muted); }
.path-link { display: inline-block; max-width: 210px; overflow: hidden; color: var(--orange-dark); font-family: ui-monospace, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.moderation-list { display: grid; gap: 10px; }
.moderation-list article { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: 9px; }
.moderation-list article.is-hidden { opacity: 0.55; }
.moderation-list time { margin-left: 12px; color: var(--muted); font-size: 11px; }
.moderation-list p { margin: 8px 0 0; white-space: pre-wrap; }

.editor-page { padding: 70px 0 120px; max-width: 980px; }
.editor-page .eyebrow { color: var(--orange); }
.editor-form { margin-top: 46px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { margin-top: 0; }
.field small { display: block; margin-top: 6px; }
.check-row { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check-row input, .publish-row input { width: auto; }
.current-file { overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.publish-row { margin-top: 32px; padding: 20px; display: flex; align-items: flex-start; gap: 12px; background: var(--lime); border-radius: 9px; cursor: pointer; }
.publish-row span { display: grid; gap: 4px; }
.publish-row small { font-weight: 400; }
.editor-actions { display: flex; gap: 12px; margin-top: 28px; }

.error-page { min-height: 70vh; padding: 100px 24px; display: grid; place-items: center; align-content: center; text-align: center; }
.error-page > span { color: var(--orange); font: 900 clamp(80px, 16vw, 180px)/0.9 ui-monospace, monospace; }
.error-page h1 { margin: 28px 0 10px; font-size: clamp(30px, 5vw, 56px); }
.error-page p { margin: 0 0 28px; color: var(--muted); }

@media (max-width: 980px) {
  .main-nav { gap: 15px; }
  .main-nav > a:nth-child(-n+3) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-art { min-height: 470px; }
  .project-grid, .catalog-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 260px; }
  .latest-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-label { padding: 0; }
  .seal { justify-self: start; }
  .detail-grid { grid-template-columns: 1fr; gap: 42px; }
  .detail-cover { min-height: 360px; }
  .story-grid { grid-template-columns: 1fr; }
  .letters-layout { grid-template-columns: 1fr; }
  .letter-compose { position: static; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { min-height: 520px; }
  .account-grid { grid-template-columns: 1fr; }
  .catalog-card-featured { grid-column: auto; }
  .checkin-layout { grid-template-columns: 1fr; }
  .checkin-visual { min-height: 440px; }
  .bunnysnap-hero { grid-template-columns: 1fr; gap: 44px; }
  .bunnysnap-cover { max-width: 560px; transform: none; }
  .bunnysnap-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .bunnysnap-gallery-viewer { grid-template-columns: 1fr; }
  .bunnysnap-gallery-stage { min-height: 720px; }
  .bunnysnap-gallery-rail { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .bunnysnap-gallery-rail button { grid-template-columns: 62px 1fr; }
  .bunnysnap-gallery-rail img { width: 62px; height: 83px; }
  .bunnysnap-for-grid { grid-template-columns: 1fr; }
  .bunnysnap-final-inner { grid-template-columns: auto 1fr; }
  .bunnysnap-final .download-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .site-header, .home-page .site-header { min-height: 72px; width: 100%; padding: 0 16px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 72px 0 auto; max-height: calc(100vh - 72px); padding: 24px 20px 30px; display: none; flex-direction: column; align-items: stretch; gap: 4px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-form, .nav-form > button { display: flex !important; width: 100%; }
  .main-nav > a, .nav-form > button { padding: 13px 8px; }
  .nav-pill, .nav-form .nav-pill { justify-content: center; border-color: var(--ink); }
  .hero { gap: 20px; min-height: 0; padding: 118px 16px 70px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 380px; margin: 0 -15px; }
  .hero-art::before { width: 350px; height: 350px; }
  .hero-art::after { width: 270px; height: 270px; }
  .hero-art img { width: min(340px, 87%); box-shadow: 18px 21px 0 rgba(110, 34, 8, 0.16); }
  .burrow { padding: 90px 0 80px; }
  .section-heading { display: block; }
  .section-heading > p { width: auto; margin-top: 24px; }
  .latest { padding-bottom: 80px; }
  .latest-grid { grid-template-columns: 1fr; }
  .about { padding: 76px 0; }
  .checkin { padding: 70px 0; }
  .checkin-layout { border-radius: 24px; }
  .checkin-visual { min-height: 410px; padding: 28px 24px 24px; }
  .checkin-copy { padding: 48px 24px 42px; }
  .checkin h2 { font-size: 52px; }
  .delivery-carrot { top: 54px; transform: translateX(-105px) rotate(-24deg) scale(0.9); }
  .treehole-window { top: 24%; width: 33%; height: 45%; }
  .site-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .site-footer { padding: 30px 20px; flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 64px 0 60px; }
  .page-hero h1, .account-hero h1, .admin-hero h1, .editor-page h1 { font-size: 48px; }
  .catalog { padding: 64px 0 90px; }
  .bunnysnap-hero { padding: 40px 0 80px; }
  .bunnysnap-hero h1 { font-size: 58px; }
  .bunnysnap-lead { font-size: 17px; }
  .bunnysnap-cover { border-radius: 20px; }
  .bunnysnap-highlight, .bunnysnap-gallery { padding: 80px 0; }
  .bunnysnap-feature-grid { grid-template-columns: 1fr; }
  .bunnysnap-feature-grid article { min-height: 230px; }
  .bunnysnap-section-heading { display: block; }
  .bunnysnap-section-heading > p { margin-top: 20px; }
  .bunnysnap-gallery-viewer { gap: 12px; }
  .bunnysnap-gallery-stage { min-height: 0; aspect-ratio: 3 / 4; border-radius: 18px; }
  .bunnysnap-stage-meta { inset: auto 10px 10px; padding: 12px; border-radius: 12px; }
  .bunnysnap-stage-meta em { display: none; }
  .bunnysnap-stage-meta strong { padding: 8px 10px; }
  .bunnysnap-stage-meta strong span { display: none; }
  .bunnysnap-gallery-rail { margin-right: -16px; padding-right: 16px; display: grid; grid-template-columns: repeat(3, 190px); overflow-x: auto; scroll-snap-type: x mandatory; }
  .bunnysnap-gallery-rail button { min-height: 112px; grid-template-columns: 66px 1fr; scroll-snap-align: start; }
  .bunnysnap-gallery-rail img { width: 66px; height: 88px; }
  .bunnysnap-lightbox { padding: 8px; }
  .bunnysnap-lightbox-dialog { max-height: calc(100vh - 16px); padding: 8px 8px 12px; border-radius: 14px; }
  .bunnysnap-lightbox-stage { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 4px; }
  .bunnysnap-lightbox-stage > button { width: 36px; height: 36px; }
  .bunnysnap-lightbox-stage img { max-height: calc(100vh - 142px); }
  .catalog-card-featured .catalog-card-link { min-height: 0; grid-template-columns: 1fr; }
  .catalog-card-featured .catalog-cover { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-card-featured .catalog-body { padding: 26px; }
  .catalog-card-featured .catalog-body h2 { font-size: 36px; }
  .catalog-cover-hint { opacity: 1; transform: none; }
  .bunnysnap-for { padding-bottom: 80px; }
  .bunnysnap-final { padding: 72px 0; }
  .bunnysnap-final-inner { grid-template-columns: 1fr; }
  .bunnysnap-final-inner > img { width: 96px; height: 96px; border-radius: 24px; }
  .bunnysnap-final .download-actions { grid-template-columns: 1fr; }
  .detail-page { padding: 42px 0 90px; }
  .detail-cover { min-height: 300px; }
  .story-card { grid-template-columns: 1fr; }
  .story-cover { min-height: 280px; }
  .reading-header h1 { font-size: 52px; }
  .reading-prose { font-size: 17px; line-height: 2; }
  .letters-layout { padding: 60px 0 90px; }
  .letter-card { padding: 20px; }
  .auth-art { display: none; }
  .auth-panel { min-height: calc(100vh - 182px); padding: 56px 20px; }
  .account-hero, .admin-hero { padding: 68px 0 110px; }
  .account-grid { padding: 56px 0 90px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-list article, .moderation-list article { align-items: flex-start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .editor-page { padding: 50px 0 90px; }
  .editor-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art::after, .marquee > div { animation: none; }
  .carrot-scene.is-delivering .delivery-carrot, .carrot-scene.is-delivering .treehole-rabbit, .carrot-scene.is-delivering .hole-ring, .carrot-scene.is-delivering .carrot-sparkle, .carrot-submit.is-loading i { animation: none; }
  .carrot-scene.is-delivering .delivery-carrot { opacity: 0; }
  .carrot-scene.is-delivering .treehole-rabbit { opacity: 1; transform: translate(-50%, 0) scale(1); }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
