:root {
    --bg: #FFF7F5;
    --bg-deep: #F6E4E2;
    --surface: #FFFFFF;
    --surface-soft: #FBECEA;
    --text: #4A2428;
    --title: #2A1216;
    --muted: #7A4E52;
    --soft: #A0787C;
    --brand: #D91F3A;
    --brand-light: #F04A5E;
    --brand-deep: #9A1428;
    --rose-gold: #C9A07A;
    --border: rgba(217,31,58,0.16);
    --shadow: 0 12px 28px rgba(42,18,22,0.08);
    --shell: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; overflow-x: hidden; }
body.lock-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--shell), calc(100% - 32px)); margin: 0 auto; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.top-strip { height: 18px; background: var(--brand-deep); color: #fff; font-size: 12px; }
.top-strip-inner { height: 18px; display: flex; align-items: center; justify-content: space-between; }
.text-button { border: 0; background: transparent; color: #fff; padding: 0 4px; min-height: 18px; }
.brand-bar { height: 54px; background: rgba(255,247,245,.98); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.brand-bar-inner { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--title); font-size: 16px; }
.brand-link img, .footer-brand img, .drawer-brand img { height: 24px; width: auto; object-fit: contain; }
.brand-actions { display: flex; align-items: center; gap: 8px; }
.app-link, .menu-button, .button-primary, .button-secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 18px; font-size: 14px; transition: filter 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.app-link, .button-primary { color: #fff; background: linear-gradient(135deg,#F04A5E 0%,#D91F3A 52%,#9A1428 100%); box-shadow: 0 6px 16px rgba(217,31,58,0.18); }
.menu-button, .button-secondary { border: 1px solid var(--border); color: var(--brand-deep); background: #fff; }
.menu-button { min-height: 44px; }
:is(.app-link,.button-primary,.petal-link.is-current,.mobile-bottom a.is-current):hover { filter: brightness(1.05); box-shadow: 0 0 0 3px rgba(240,74,94,0.28), 0 10px 24px rgba(154,20,40,0.28); }
:is(.app-link,.button-primary,.petal-link.is-current,.mobile-bottom a.is-current):active { filter: brightness(1.08); box-shadow: 0 0 0 4px rgba(201,160,122,0.40), 0 0 22px rgba(240,74,94,0.50); }
:is(a,button,input):focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.petal-nav { height: 44px; background: var(--surface-soft); border-bottom: 1px solid var(--border); }
.petal-nav-inner { height: 44px; display: flex; align-items: center; gap: 18px; }
.petal-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--title); font-size: 13px; border-radius: 999px; padding: 0 10px; transition: 180ms ease; }
.petal-shape { width: 22px; height: 18px; border: 1px solid var(--brand); border-radius: 60% 55% 55% 60% / 60% 60% 55% 55%; transform: rotate(-8deg); background: transparent; }
.petal-link.is-current { background: var(--brand-deep); color: #fff; box-shadow: 0 6px 16px rgba(217,31,58,0.18); }
.petal-link.is-current .petal-shape { background: var(--brand-deep); border-color: #fff; box-shadow: 0 0 0 1px var(--brand-deep); }
.site-main { padding-top: 116px; min-height: 70vh; }
.page-section { padding: 34px 0; }
.page-section + .page-section { border-top: 1px solid var(--border); }
.page-section.deep { background: var(--bg-deep); }
.page-section.soft { background: var(--surface-soft); }
.breadcrumb { padding-top: 24px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--brand-deep); }
h1,h2,h3 { color: var(--title); margin: 0 0 12px; line-height: 1.3; }
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 14px; }
.lead { font-size: 16px; color: var(--title); max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--surface-soft); color: var(--brand-deep); border: 1px solid var(--border); font-size: 13px; margin-bottom: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.petal-index { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.petal-index a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--title); }
.media-slot, .media-wide, .media-heart, .media-app, .media-banner, .media-icon { background: #fff; border: 1px solid var(--border); border-radius: 14px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); }
.media-slot, .media-wide { width: 100%; height: 160px; }
.media-wide.tall { height: 168px; }
.media-wide.x-tall { height: 176px; }
.media-heart { position: relative; width: min(240px, 100%); height: 176px; margin: 0 auto; background: linear-gradient(160deg,#fff 0%,#FBECEA 100%); }
.media-heart::before { content: "♥"; position: absolute; inset: auto auto -28px -8px; font-size: 148px; line-height: 1; color: rgba(217,31,58,.07); }
.media-app { width: min(240px, 100%); height: 320px; margin: 0 auto 14px; }
.media-icon { width: 72px; height: 72px; margin: -36px auto 16px; position: relative; z-index: 2; border-radius: 22px; }
.media-banner { width: 100%; height: 200px; margin-bottom: 20px; }
:is(.media-slot,.media-wide,.media-heart,.media-app,.media-banner,.media-icon) img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.stack { display: grid; gap: 18px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.double-heart { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 22px; align-items: start; }
.double-heart .story-main { background: #fff; border-radius: 14px; padding: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.double-heart .story-side { display: grid; gap: 16px; }
.petal-cut-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 24px; align-items: center; }
.petal-cut-copy { position: relative; padding: 8px 0 8px 22px; }
.petal-cut-copy::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: 999px; background: linear-gradient(var(--brand-light),var(--rose-gold)); }
.petal-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 22px; align-items: start; }
.petal-page-cards { display: grid; gap: 14px; }
.status-list { display: grid; gap: 12px; }
.status-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; padding: 18px; background: #fff; border-radius: 14px; border: 1px solid var(--border); }
.status-label { min-height: 34px; display: inline-flex; justify-content: center; align-items: center; border-radius: 999px; padding: 0 12px; font-weight: 700; color: #fff; background: var(--brand-deep); }
.status-label.pending { background: #7A4E52; }
.status-label.progress { background: var(--brand); }
.editor-note { border-left: 4px solid var(--rose-gold); padding: 16px 18px; background: #fff; border-radius: 0 14px 14px 0; margin: 18px 0; }
.album-list { display: grid; gap: 16px; }
.album-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.album-item .button-secondary { min-height: 40px; }
.text-wrap-layout { max-width: 760px; margin: 0 auto; }
.text-wrap-layout .visuals { width: 260px; float: right; margin: 0 0 18px 24px; }
.text-wrap-layout::after { content: ""; display: table; clear: both; }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.info-table th { width: 150px; color: var(--title); background: var(--surface-soft); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.article-prose { max-width: 780px; }
.article-prose h2 { margin-top: 30px; }
.article-prose h3 { margin-top: 22px; }
.notice { padding: 18px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 14px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.faq-item h2, .faq-item h3 { margin-bottom: 8px; }
.contact-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-path { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.site-footer { background: var(--title); color: #FBECEA; border-top: 1px solid var(--brand); padding: 34px 0 84px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.footer-brand { display: grid; align-content: start; gap: 6px; }
.footer-brand strong { font-size: 16px; }
.footer-brand span { color: #C9A07A; }
.footer-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.footer-groups h2 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-groups a { display: block; color: #FBECEA; min-height: 34px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 18px; color: #E7CBCB; }
.drawer { position: fixed; z-index: 80; top: 18px; left: 16px; width: min(38vw, 520px); max-height: 72vh; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 80px rgba(42,18,22,.24); padding: 18px; transform: translateX(calc(-100% - 32px)); opacity: 0; visibility: hidden; pointer-events: none; transition: 180ms ease; }
.drawer.is-open { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
.drawer-head, .search-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand div { display: grid; }
.drawer-brand span { color: var(--muted); font-size: 12px; }
.close-button { min-height: 44px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--brand-deep); padding: 0 14px; }
.drawer-groups { display: grid; gap: 14px; margin-top: 16px; }
.drawer-groups section { background: var(--bg); border-radius: 14px; padding: 12px; }
.drawer-groups h2 { font-size: 15px; margin: 0 0 6px; }
.drawer-groups a { display: grid; grid-template-columns: 120px 1fr; gap: 10px; min-height: 48px; align-items: center; border-top: 1px solid var(--border); }
.drawer-groups a:first-of-type { border-top: 0; }
.drawer-groups span { color: var(--muted); font-size: 13px; }
.page-overlay { position: fixed; z-index: 70; inset: 0; background: rgba(42,18,22,.36); opacity: 0; visibility: hidden; pointer-events: none; transition: 180ms ease; }
.page-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-panel { position: fixed; z-index: 90; top: 72px; left: 50%; width: min(640px, calc(100% - 32px)); transform: translate(-50%,-16px); opacity: 0; visibility: hidden; pointer-events: none; transition: 180ms ease; }
.search-panel.is-open { transform: translate(-50%,0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 24px 80px rgba(42,18,22,.24); }
.search-card label { display: block; margin: 12px 0 8px; color: var(--muted); }
.search-card input { width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--title); padding: 0 12px; }
.search-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.search-links a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--surface-soft); color: var(--brand-deep); }
.mobile-bottom { display: none; }
@media (max-width: 760px) {
    .petal-nav { display: none; }
    .site-main { padding-top: 72px; padding-bottom: 58px; }
    .brand-bar-inner { gap: 8px; }
    .brand-actions { gap: 6px; }
    .app-link, .menu-button { padding: 0 12px; }
    .grid-two, .grid-three, .double-heart, .petal-cut-layout, .petal-page-layout, .contact-paths { grid-template-columns: 1fr; }
    .album-item { grid-template-columns: 1fr; }
    .status-item { grid-template-columns: 1fr; }
    .text-wrap-layout .visuals { width: 100%; float: none; margin: 0 0 18px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-groups { grid-template-columns: 1fr 1fr; }
    .drawer { width: 88%; max-height: 72vh; top: 12px; left: 6%; }
    .drawer-groups a { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
    .search-panel { inset: 0; width: 100%; transform: none; background: var(--brand-deep); }
    .search-panel.is-open { transform: none; }
    .search-card { min-height: 100dvh; border: 0; border-radius: 0; background: var(--brand-deep); color: #fff; padding: 24px 16px; box-shadow: none; }
    .search-card strong, .search-card label { color: #fff; }
    .search-card input { background: #fff; }
    .search-links a { background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.25); }
    .search-card .close-button { background: #fff; }
    .mobile-bottom { position: fixed; z-index: 60; inset: auto 0 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4,1fr); background: rgba(255,247,245,.98); border-top: 1px solid var(--border); backdrop-filter: blur(8px); }
    .mobile-bottom a { min-height: 48px; display: grid; place-items: center; font-size: 13px; color: var(--title); }
    .mobile-bottom a.is-current { color: #fff; background: var(--brand-deep); box-shadow: 0 6px 16px rgba(217,31,58,0.18); }
    .site-footer { padding-bottom: 76px; }
}
@media (max-width: 480px) {
    .shell { width: calc(100% - 32px); }
    .brand-link img { max-width: 110px; }
    .app-link { padding: 0 11px; }
    .menu-button { padding: 0 11px; }
    .footer-groups { grid-template-columns: 1fr; }
    .page-section { padding: 28px 0; }
}
