:root {
  --ink:#192a24; --muted:#4a6056; --paper:#f7f6ef;
  --edge:#d9dfd4; --green:#174c3d;
}
body { background:linear-gradient(180deg,#eef1e6 0,#f7f6ef 480px); }
.site-head { max-width:1240px; padding:14px 30px; }
.brand { align-items:baseline; gap:9px; }
.brand span { border:0; padding:0; font:600 .75rem/1.1 system-ui; letter-spacing:-.03em; }
.brand strong { letter-spacing:-.08em; font:700 1.25rem/1 Georgia,serif; }
.site-head .action { background:transparent; border-color:#aebbb0; border-radius:40px; }
.shell { max-width:1240px; padding-inline:30px; }
.intro { padding:8px 0 21px; margin-bottom:24px; border-bottom:1px solid #bfcbbf; }
.intro h1 { display:grid; gap:8px; margin:0 0 10px; }
.intro h1 span { font:700 clamp(.9rem,2vw,1.15rem)/1.2 system-ui; letter-spacing:-.05em; }
.intro h1 strong { font:normal clamp(4rem,11vw,8.45rem)/.78 Georgia,serif; letter-spacing:-.095em; }
.intro p { font-size:1.05rem; font-weight:600; }
.intro .intro-note { text-align:right; font-weight:500; }
.steps { gap:5px; margin-bottom:20px; }
.steps button { justify-content:flex-start; gap:7px; padding:10px 9px; border:0; background:#e9ece4; }
.steps button span { font-variant-numeric:tabular-nums; font-size:.74rem; font-weight:750; }
.steps button:disabled { opacity:1; color:#566459; background:#eef0e9; }
.steps button[aria-current=step] { color:#fff; background:var(--green); }
.workspace { grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr); align-items:start; gap:22px; }
.panel { border-radius:18px; box-shadow:0 9px 24px #2436280b; }
.type-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.type-grid .choice { min-height:60px; gap:8px; font-size:.93rem; }
.selection-mark { width:10px; height:10px; flex:0 0 10px; border:1px solid #829486; border-radius:50%; }
.choice[aria-pressed=true] .selection-mark { border:3px solid var(--green); }
.theme-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.theme-choice { display:flex; flex-direction:column; align-items:stretch; padding:6px 6px 10px; gap:5px; }
.theme-name,.theme-detail { padding-inline:5px; }
.theme-detail { font-size:.81rem; font-weight:500; color:var(--muted); }
.theme-sample { background:var(--hero); color:var(--hero-text); position:relative; isolation:isolate; min-height:88px; display:grid; place-items:center; overflow:hidden; border-radius:5px; }
.sample-title { font:700 1.4rem/1 Georgia,serif; z-index:1; }
.sample-image { position:absolute; opacity:.72; background:radial-gradient(ellipse at 35% 35%,#d7d9b9 0%,#96a88b 12%,#577361 36%,#263f37 78%); }
.sample-line { position:absolute; background:currentColor; opacity:.5; width:36%; height:1px; bottom:18%; }
.theme-mono .sample-image { inset:0 0 36%; filter:grayscale(1); }
.theme-mono .sample-title { align-self:end; padding-bottom:8px; }
.theme-mono .sample-line,.theme-editorial .sample-line,.theme-pop .sample-line { display:none; }
.theme-white .sample-image { inset:20% 11% 13% 58%; }
.theme-white .sample-title { justify-self:start; padding-left:9%; }
.theme-white .sample-line { left:9%; width:32%; bottom:30%; }
.theme-film .sample-image { inset:10% 10% 34%; border:3px dotted #fff0da; }
.theme-film .sample-title { align-self:end; font:700 1rem/1 monospace; padding-bottom:7px; }
.theme-film .sample-line { display:none; }
.theme-modern .sample-image { inset:25% -15% -30% 48%; transform:rotate(-26deg); }
.theme-modern .sample-title { font-family:system-ui; justify-self:start; padding-left:10%; transform:rotate(-9deg); }
.theme-nature .sample-image { width:44%; height:60%; top:5%; border-radius:60% 60% 8% 8%; }
.theme-nature .sample-title { align-self:end; padding-bottom:6px; font-size:1.05rem; }
.theme-nature .sample-line { display:none; }
.theme-black .theme-sample,.theme-sample.theme-black { outline:1px solid #d6ac61; outline-offset:-6px; }
.theme-classic { --bg:#f9f4e9; --fg:#5a323a; --accent:#804651; --line:#d0aab1; --hero:#fff6ee; --hero-text:#663a42; }
.theme-editorial { --bg:#f4f0e5; --fg:#202921; --accent:#486246; --line:#aab58e; --hero:#dae2be; --hero-text:#26331e; }
.theme-poster { --bg:#faf4ed; --fg:#301917; --accent:#9b2b23; --line:#dfb5a9; --hero:#b93027; --hero-text:#fff7dd; }
.theme-pop { --bg:#fbf0fc; --fg:#302051; --accent:#5e2b8c; --line:#d5b3ea; --hero:#e9d4fb; --hero-text:#34145c; }
.theme-sample.theme-classic { outline:3px double #b47882; outline-offset:-8px; }
.theme-editorial .sample-image { inset:0 0 0 50%; opacity:1; }
.theme-editorial .sample-title { justify-self:start; padding-left:5%; font-style:italic; font-size:1.1rem; }
.theme-poster .sample-title { font:950 1.95rem/.9 system-ui; letter-spacing:-.1em; text-transform:uppercase; justify-self:start; padding-left:6%; }
.theme-poster .sample-line { left:7%; width:80%; }
.theme-pop .sample-title { background:#fff19c; border:1px solid #3c2360; border-radius:40%; padding:8px; transform:rotate(-11deg); font-family:system-ui; box-shadow:3px 3px #6a4c8d; }
.preview { position:sticky; top:12px; }
.preview-label { align-items:center; }
.preview-label button { padding:4px 10px; min-height:36px; border-radius:30px; font-size:.83rem; }
.preview-frame { border-radius:13px; }
.preview-dialog { width:min(100% - 24px,680px); max-height:min(92dvh,880px); padding:0; border:0; border-radius:15px; background:#fff; box-shadow:0 12px 80px #1118; }
.preview-dialog::backdrop { background:#182821b0; }
.dialog-head { position:sticky; top:0; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:9px; padding:10px 16px; background:#fff; border-bottom:1px solid var(--edge); }
.dialog-head h2 { font-size:1.1rem; margin:0; }
.dialog-head button { min-height:40px; }

.inv-hero { --space:clamp(22px,6%,58px); padding:0; position:relative; }
.inv-hero::before { content:none; }
.cover-copy { position:relative; z-index:1; padding:var(--space); display:grid; align-content:center; justify-items:inherit; min-width:0; }
.inv-hero h1 { font-size:clamp(1.8rem,7cqw,4.2rem); line-height:1.05; margin:.25em 0 .15em; }
.invite { container-type:inline-size; }
.inv-hero .eyebrow { font-weight:750; font-size:.82rem; margin:0 0 .25em; }
.inv-hero .english { margin:.3em 0; }
.inv-hero .cover-date { font-size:.95em; font-variant-numeric:tabular-nums; }
.cover-badge { display:inline-block; width:max-content; margin-top:12px; padding:4px 10px; border:1px solid currentColor; border-radius:20px; font-size:.8rem; font-weight:750; }
.cover-art { min-width:0; align-self:center; }
.cover-art .poster { height:auto; width:100%; object-fit:contain; background:transparent; }
.cover-mono .cover-copy { text-align:left; border-top:1px solid #a4a49c; }
.cover-mono .cover-art { background:#121212; }
.cover-mono .poster { max-height:75vh; }
.cover-white.with-art { display:grid; grid-template-columns: 1fr .88fr; align-items:center; }
.cover-white { text-align:left; }
.cover-white .cover-art { padding:12px 14px 12px 0; }
.cover-film { padding:14px; }
.cover-film .cover-art { border-block:7px dotted #f4d9ad; background:#221b18; padding:8px; }
.cover-film .cover-copy { text-align:left; padding:16px; }
.cover-film h1,.cover-film .cover-date { font-family:"Courier New","Batang",monospace; }
.cover-modern { text-align:left; padding-inline-start:clamp(14px,10%,70px); border-inline-start:clamp(10px,6cqw,50px) solid #9b7ec3; }
.cover-modern .cover-copy { border-bottom:1px solid #c4acd7; transform:translateX(-8px); }
.cover-modern .cover-art { padding:0 10% 18px 15%; }
.cover-modern h1 { font-family:system-ui,sans-serif; font-weight:900; }
.cover-nature { padding-top:14px; justify-items:center; }
.cover-nature .cover-art { margin:auto; width:60%; padding:6px; border:1px solid #9eb39c; border-radius:48% 48% 15px 15px; overflow:hidden; }
.cover-nature .poster { border-radius:inherit; }
.cover-black { margin:0; padding:10px; justify-items:center; }
.cover-black .cover-copy { border:1px solid #a98042; outline:1px solid #a98042; outline-offset:-5px; }
.cover-black .cover-art { margin:10px auto 0; width:86%; }
.cover-classic { padding:16px; justify-items:center; }
.cover-classic .cover-copy { border:4px double #a86171; padding-block:clamp(26px,10%,92px); }
.cover-classic .cover-art { margin:12px auto 0; width:72%; }
.cover-editorial { text-align:left; }
.cover-editorial.with-art { display:grid; grid-template-columns:.95fr 1.05fr; }
.cover-editorial .cover-art { align-self:stretch; background:#202921; display:grid; place-items:center; }
.cover-editorial .cover-copy { border-right:1px solid #68815d; }
.cover-editorial h1 { font-style:italic; }
.cover-poster { text-align:left; }
.cover-poster h1 { font:950 clamp(2rem,10cqw,5.7rem)/.89 system-ui,sans-serif; text-transform:uppercase; letter-spacing:-.085em; }
.cover-poster .cover-date { border-top:2px solid currentColor; padding-top:8px; }
.cover-poster .cover-art { padding:0 12px 12px; }
.cover-pop { border:10px solid #e9d4fb; background:radial-gradient(circle at 20% 30%,#f6e6a4 0 5%,transparent 5.5%),radial-gradient(circle at 82% 12%,#f7c3dc 0 8%,transparent 8.5%),var(--hero); justify-items:center; }
.cover-pop h1 { color:#301741; background:#fff09b; border:2px solid #3c2360; border-radius:26px; padding:.25em .36em; box-shadow:.12em .13em #6a4c8d; font-family:system-ui,sans-serif; transform:rotate(-3deg); }
.cover-pop .cover-art { margin:0 auto 14px; width:80%; overflow:hidden; border:2px solid #69478d; border-radius:24px; }
.inv-section { padding-inline:clamp(17px,7%,54px); }
.inv-section dd { white-space:pre-wrap; }
.invite.theme-editorial .inv-section h2 { border-bottom:1px solid var(--line); padding-bottom:7px; }
.invite.theme-film figure { border:1px solid var(--line); padding:8px; }
.invite.theme-pop .inv-section { margin:9px; border:1px solid var(--line); border-radius:16px; }
.public-return { padding:10px 12px; display:flex; justify-content:flex-start; }
.profile-photo { display:block; width:clamp(88px,28%,156px); aspect-ratio:1; object-fit:cover; border-radius:50%; margin:12px 0; }
@media(max-width:900px) { .theme-grid,.type-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .site-head { padding:10px 14px; }
  .shell { padding:22px 12px 34px; }
  .intro { margin-bottom:12px; padding:0 4px 14px; }
  .intro h1 { font-size:inherit; }
  .intro h1 strong { font-size:clamp(3.85rem,15vw,6rem); }
  .intro .intro-note { display:none; }
  .steps { margin-bottom:12px; }
  .steps button { justify-content:flex-start; font-size:.85rem; padding:7px; }
  .mobile-preview { display:block; position:fixed; inset:auto 0 0; z-index:3; margin:0; padding:8px 12px max(9px,env(safe-area-inset-bottom)); background:#f7f6eff2; border-top:1px solid var(--edge); }
  .site-footer { padding-bottom:86px; }
  .mobile-preview button { width:100%; color:#fff; background:var(--green); border-color:var(--green); }
}
