:root { --sb-green: #006241; --sb-accent: #00754A; --sb-house: #1E3932; --sb-uplift: #2b5148; --sb-mint: #d4e9e2; --sb-gold: #cba258; --sb-gold-light: #dfc49d; --sb-canvas: #faf9f6; --sb-ceramic: #edebe9; --sb-text: rgba(0, 0, 0, 0.87); --sb-text-soft: rgba(0, 0, 0, 0.58); --sb-white-soft: rgba(255, 255, 255, 0.7); --sb-card-shadow: 0 0 0 1px #192e231c; --sb-nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.07); --sb-float-shadow: 0 0 6px rgba(0, 0, 0, 0.24), 0 8px 12px rgba(0, 0, 0, 0.14); --page: var(--sb-canvas); --ink: var(--sb-text); --ink-2: rgba(0, 0, 0, 0.7); --muted: var(--sb-text-soft); --line: rgba(0, 0, 0, 0.12); --accent: var(--sb-accent); --on-accent: #fff; --focus: var(--sb-accent); --pink: var(--sb-accent); --lilac: var(--sb-mint); --radius: 12px; --radius-sm: 12px; --shadow: var(--sb-card-shadow); --glass: #fff; --glass-strong: #fff; --glass-line: transparent; --font-ui: "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif; --font-display: "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif; --font-accent: "GraceSerif", "Gowun Batang", serif; }
body { background: var(--sb-canvas); color: var(--sb-text); font-family: var(--font-ui); letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--sb-accent); outline-offset: 2px; }
a { color: inherit; }
.btn { border-radius: 50px; font-weight: 600; letter-spacing: -0.01em; transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.btn:active { transform: scale(0.95); }
.btn--dark { background: var(--sb-accent); color: #fff; box-shadow: inset 0 0 0 1px var(--sb-accent); }
.btn--dark:hover { background: var(--sb-green); }
.btn--light { background: transparent; color: var(--sb-accent); box-shadow: inset 0 0 0 1px var(--sb-accent); }
.btn--light:hover { background: rgba(0, 117, 74, 0.06); }
.chip { border-radius: 50px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); font-weight: 600; transition: transform 0.2s ease; }
.chip:active { transform: scale(0.95); }
.chip:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--sb-accent); }
.chip[aria-pressed="true"] { background: var(--sb-accent); color: #fff; box-shadow: none; }
.landing { background: var(--sb-canvas); }
.studio-nav { min-height: 64px; position: static; background: var(--sb-canvas); border-bottom: 0; box-shadow: none; max-width: 1216px; }
.logo { font: 800 26px/1 var(--font-ui); letter-spacing: -0.03em; color: var(--sb-text); text-decoration: none; }
.logo b { color: var(--sb-accent); }
.brand-mark { background: var(--sb-accent); color: #fff; font: 800 20px/1 var(--font-ui); }
.studio-nav nav a { font-weight: 600; }
.studio-nav nav a:hover { color: var(--sb-accent); }
#examples, #templates { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 84px); }
.collection h2, .templates h2 { font: 700 clamp(24px, 2.6vw, 34px)/1.3 var(--font-ui); letter-spacing: -0.01em; color: var(--sb-green); }
.collection-head p { color: var(--sb-text-soft); }
.footer { margin-top: 40px; padding: 32px 24px 40px; border-top: 0; border-radius: 12px 12px 0 0; background: var(--sb-house); color: var(--sb-white-soft); }
.footer a { color: #fff; }
.footer .copyright { color: var(--sb-white-soft); }
.ed-top .logo { background: #fff; box-shadow: var(--sb-nav-shadow); font-family: var(--font-ui); font-weight: 800; }
.field-caption { color: var(--sb-text-soft); }
.glass, #v-create .glass, .ev .glass { background: #fff; border: 0; border-radius: 12px; box-shadow: var(--sb-card-shadow); backdrop-filter: none; -webkit-backdrop-filter: none; }
.frow, .ev__fact { border-color: rgba(0, 0, 0, 0.08); }
.rail { background: #fff; border-radius: 12px; box-shadow: var(--sb-card-shadow); backdrop-filter: none; }
@media (min-width: 961px) {
  .ed { padding-right: max(clamp(18px, 4vw, 48px), env(safe-area-inset-right)); }
  .ed .rail { position: static; transform: none; flex-direction: row; }
  .ed .rail button { flex: 1; width: auto; }
}
.rail button:hover, .rail button[aria-expanded="true"] { background: var(--sb-mint); color: var(--sb-house); }
.savebar .btn { box-shadow: none; }
.savebar .btn--light { background: #fff; }
.sheet { background: #fff; border-radius: 12px; box-shadow: var(--sb-float-shadow); backdrop-filter: none; }
.sheet__head h2 { font-weight: 700; color: var(--sb-green); }
.sheet-scrim { background: rgba(30, 57, 50, 0.35); }
.icon-btn { background: var(--sb-canvas); }
.swatch-btn[aria-pressed="true"] .swatch-btn__art, .poster-grid button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--sb-accent); }
.upload { border-radius: 12px; border-color: rgba(0, 117, 74, 0.4); background: var(--sb-canvas); }
.upload:hover { border-color: var(--sb-accent); background: #fff; }
.mobile-steps button { border: 0; border-bottom: 2px solid var(--line); border-radius: 0; background: var(--sb-canvas); color: var(--ink-2); }
.mobile-steps button[aria-pressed="true"] { background: #fff; color: var(--sb-green); border-color: var(--sb-green); }
.toggle input, .opt input[type="checkbox"] { accent-color: var(--sb-accent); }
.guest-cover__text { background: #fff; border-radius: 12px; box-shadow: var(--sb-card-shadow); }
.guest-cover__text p { color: var(--sb-accent); }
.guest-cover { gap: 12px; }
.ev-bar:has([data-respond]:not([hidden])) [data-respond] { background: var(--sb-accent); color: #fff; }
.ev-bar:has([data-respond]:not([hidden])) [data-share] { background: #fff; color: var(--sb-accent); }
.ev .bubble, .ed .bubble { border-radius: 12px; background: var(--sb-canvas); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.ev .bubble[aria-pressed="true"], .bubble[aria-pressed="true"] { background: var(--sb-accent); color: #fff; box-shadow: none; }
.count__cell { background: var(--sb-canvas); border-radius: 12px; }
.count__cell--d { background: var(--sb-house); color: #fff; }
.count__cell b { font-family: var(--font-ui); font-weight: 700; }
.block h2, .ev .block h2 { font-weight: 700; color: var(--sb-green); }
.cheer { background: var(--sb-canvas); border-radius: 12px; }
.cheer__av, .who-going i { background: var(--sb-mint); color: var(--sb-house); }
.who-going span { background: var(--sb-canvas); }
.heart[aria-pressed="true"] { color: #c82014; }
.name-form input, .cheer-form input, .cheer-form textarea { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.name-form input:focus, .cheer-form input:focus, .cheer-form textarea:focus { box-shadow: inset 0 0 0 1px var(--sb-accent); }
.toast { background: var(--sb-house); border-radius: 50px; }
.share-link { border-radius: 50px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.share-card { border-radius: 12px; border: 0; box-shadow: var(--sb-card-shadow); }
.motion-toggle { border-radius: 50px; background: #fff; }
.hub { background: var(--sb-canvas); }
.hub h1, .hub h2, .hub h3 { font-family: var(--font-ui); letter-spacing: -0.01em; }
.hub h1 { font-weight: 700; color: var(--sb-green); }
.hub h2, .hub h3 { font-weight: 600; color: var(--sb-text); }
.hub .lead { color: var(--sb-text-soft); }
.hub a { color: var(--sb-accent); }
.prose p, .prose li { color: var(--sb-text); }
.service-cta { color: var(--sb-accent); }
.site-footer { background: var(--sb-house); border-top: 0; }
.site-footer .footer-note { color: var(--sb-white-soft); }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
.logo, .studio-nav nav a { white-space: nowrap; }
@media (max-width: 700px) {
  .studio-nav { gap: 10px; min-height: 56px; }
  #examples, #templates { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 64px); }
  .studio-nav .logo { font-size: 22px; }
  .studio-nav nav { gap: 2px; margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .studio-nav nav::-webkit-scrollbar { display: none; }
  .studio-nav nav a { padding-inline: 8px; font-size: 15px; }
}
:root { color-scheme: light; --primary: var(--sb-house); --primary-press: var(--sb-green); --on-primary: #fff; --on-primary-mute: var(--sb-white-soft); --accent-ink: var(--sb-green); --link: var(--sb-accent); --link-hover: var(--sb-green); --canvas: #ffffff; --cream: var(--sb-canvas); --lavender: var(--sb-mint); --lavender-hover: #c3e0d6; --hairline: rgba(0, 0, 0, 0.1); --ink-mute: var(--sb-text-soft); --success: var(--sb-accent); --error: #c82014; --mesh: var(--sb-canvas); --font: var(--font-ui); }
body { background: var(--sb-canvas); color: var(--sb-text); }
.site-header { position: static; background: var(--sb-canvas); box-shadow: var(--sb-nav-shadow); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-logo { font: 800 24px/1 var(--font-ui); letter-spacing: -0.03em; color: var(--sb-text); text-decoration: none; white-space: nowrap; }
.site-logo b { color: var(--sb-accent); }
.site-logo:hover { text-decoration: none; color: var(--sb-text); }
.site-nav { display: flex; gap: 4px; margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 50px; color: var(--sb-text); font-weight: 600; white-space: nowrap; text-decoration: none; }
.site-nav a:hover { color: var(--sb-accent); background: rgba(0, 117, 74, 0.06); text-decoration: none; }
.site-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 50px; background: var(--sb-accent); color: #fff; font-weight: 600; white-space: nowrap; text-decoration: none; transition: transform 0.2s ease, background-color 0.2s ease; }
.site-cta:hover { background: var(--sb-green); color: #fff; text-decoration: none; }
.site-cta:active { transform: scale(0.95); }
.hub .container { width: min(1216px, 100% - 2 * clamp(16px, 4vw, 40px)); }
.hub .narrow { width: min(760px, 100% - 2 * clamp(16px, 4vw, 40px)); }
.hub-inner { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hub-inner:has(.doc-layout) { width: min(1120px, 100% - 2 * clamp(16px, 4vw, 40px)); }
.site-footer, .footer.site-footer { margin-top: 0; padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-radius: 0; background: var(--sb-house); color: var(--sb-white-soft); }
.footer.site-footer { margin-top: 48px; padding-inline: clamp(16px, 4vw, 40px); border-radius: 12px 12px 0 0; display: block; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.footer-brand .site-logo { color: #fff; }
.footer-brand .site-logo b { color: var(--sb-gold-light); }
.footer-brand p { margin: 10px 0 0; color: var(--sb-white-soft); font-size: 15px; line-height: 1.6; max-width: 26ch; }
.footer-group { display: flex; flex-direction: column; gap: 2px; }
.footer-group p { margin: 0 0 6px; color: var(--sb-gold-light); font-size: 13px; font-weight: 700; }
.footer-group a { display: inline-flex; align-items: center; min-height: 36px; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.footer-group a:hover { text-decoration: underline; text-underline-offset: 4px; color: #fff; }
.site-footer .footer-note, .footer .copyright { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); color: var(--sb-white-soft); font-size: 13px; }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
.templates { margin-top: clamp(28px, 4vw, 44px); }
.landing { padding-bottom: 0; }
.guide-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-list--grid .guide-card--tool { grid-column: 1 / -1; }
.guide-card a { height: 100%; background: #fff; border: 0; border-radius: 12px; box-shadow: var(--sb-card-shadow); color: var(--sb-text); text-decoration: none; transition: box-shadow 0.2s ease; }
.guide-card a:hover { border: 0; box-shadow: var(--sb-card-shadow), 0 8px 12px rgba(0, 0, 0, 0.08); text-decoration: none; }
.guide-card strong { color: var(--sb-green); }
.guide-card span { color: var(--sb-text-soft); }
.guide-card--tool a { background: var(--sb-house); }
.guide-card--tool strong { color: #fff; }
.guide-card--tool span { color: var(--sb-white-soft); }
.crumbs, .crumbs a { color: var(--sb-text-soft); }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; grid-template-areas: "head head" "body aside"; gap: 0 48px; align-items: start; }
.doc-head { grid-area: head; max-width: 760px; }
.doc-body { grid-area: body; min-width: 0; max-width: 720px; }
.doc-aside { grid-area: aside; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.toc { padding: 16px 18px; border: 0; border-radius: 12px; background: #fff; box-shadow: var(--sb-card-shadow); }
.toc summary { min-height: 32px; display: flex; align-items: center; color: var(--sb-text-soft); font-size: 14px; font-weight: 700; cursor: pointer; }
.toc ol { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 2px; }
.toc a { display: inline-block; min-height: 32px; padding: 4px 0; color: var(--sb-text); font-size: 14px; line-height: 1.5; }
.toc a:hover { color: var(--sb-accent); }
.doc-body .prose { margin-top: 36px; scroll-margin-top: 90px; }
.tip { border-left: 0; border-radius: 12px; background: var(--sb-mint); color: var(--sb-house); }
.table-wrap table { background: #fff; box-shadow: var(--sb-card-shadow); }
.table-wrap th { background: var(--sb-mint); color: var(--sb-house); }
.guide-cta { background: var(--sb-accent); color: #fff; border-radius: 50px; transition: transform 0.2s ease; }
.guide-cta:hover { background: var(--sb-green); }
.guide-cta:active { transform: scale(0.95); }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; }
  .doc-aside { position: static; margin-top: 8px; }
}
.calc { background: #fff; border: 0; border-radius: 12px; box-shadow: var(--sb-card-shadow); }
.calc h2 { color: var(--sb-green); }
.calc-form input[type="date"] { background: #fff; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 12px; }
.calc-form input[type="date"]:focus { border-color: var(--sb-accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 117, 74, 0.15); }
.calc-check input { accent-color: var(--sb-accent); }
.calc-today, .calc-result { padding: 14px 16px; border-radius: 12px; background: var(--sb-mint); color: var(--sb-house); font-size: 20px; }
.contact-email { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 24px 0 0; padding: 16px 20px; border-radius: 12px; background: #fff; box-shadow: var(--sb-card-shadow); font-size: 18px; }
.contact-email a { color: var(--sb-accent); font-size: 20px; font-weight: 700; }
@media (max-width: 700px) {
  .site-header__inner { gap: 8px; min-height: 60px; }
  .site-logo { font-size: 21px; }
  .site-nav { margin-left: 4px; }
  .site-nav a { padding: 0 8px; font-size: 14px; }
  .site-cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .guide-list--grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .site-nav a[href="/dday-calculator"] { display: none; }
}
.toc summary { list-style: none; justify-content: space-between; gap: 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "펼치기"; color: var(--sb-accent); font-size: 13px; }
.toc[open] summary::after { content: "접기"; }

.ev { width: 100%; max-width: 572px; }
.guest-cover { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
.guest-cover__text { padding-block: clamp(16px, 3vw, 26px); }
.guest-cover .ev__title { margin: 4px 0 0; }
.guest-cover .guest-art { width: 100%; }
.guest-art .poster { border-radius: var(--radius); box-shadow: var(--sb-card-shadow); }

.poster-box .btn { position: static; margin-top: 12px; }

.poster--custom > :is(.poster__t, .poster__stack, .dol-copy, .ribbon-type, .cover-caption),
.poster--custom .talisman-frame > * { display: none; }
.cover-lettering {
  position: absolute;
  z-index: 3;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  --cover-x: -50%;
  --cover-y: -50%;
  transform: translate(var(--cover-x), var(--cover-y));
  width: max-content;
  max-width: 80%;
  padding: .3em .65em;
  border-radius: .2em;
  background: var(--sb-house);
  color: #fff;
  font: 700 clamp(16px, 7cqw, 36px)/1.25 var(--font-ui);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.cover-lettering[data-vertical="top"] { inset-block-start: 10%; --cover-y: 0%; }
.cover-lettering[data-vertical="bottom"] { inset-block-start: auto; inset-block-end: 10%; --cover-y: 0%; }
.cover-lettering[data-horizontal="left"] { inset-inline-start: 10%; --cover-x: 0%; text-align: left; }
.cover-lettering[data-horizontal="right"] { inset-inline-start: auto; inset-inline-end: 10%; --cover-x: 0%; text-align: right; }
.p-dol .cover-lettering { font-family: var(--font-accent); background: var(--sb-canvas); color: var(--sb-text); }

@media (max-width: 600px) {
  .poster-box:has(.p-dol, .p-talisman) { width: min(100%, 250px); }
}

.title-box { padding: 16px; }
.title-box .field-caption, .editor-message .field-caption { margin: 0 0 4px; }
.title-input { padding-inline: 0; font-size: clamp(24px, 3vw, 38px); }
.title-fonts { margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.title-fonts__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; font-size: 14px; }
.title-fonts__bar output { margin-inline-start: 4px; color: var(--sb-green); font-weight: 700; }
.more-fonts { min-height: 44px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--sb-accent); font-weight: 700; cursor: pointer; }
.more-fonts:hover { background: var(--sb-mint); }
.font-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.font-pick { min-width: 0; padding: 10px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.font-pick[aria-pressed="true"] { background: var(--sb-mint); box-shadow: inset 0 0 0 2px var(--sb-accent); }
.font-pick b { display: block; max-width: 100%; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.font-pick small { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--sb-text-soft); }
.font-row .font-pick { align-items: center; justify-content: center; text-align: center; padding-inline: 4px; }
.font-row .font-pick b { font-size: clamp(14px, 4.1vw, 19px); }
.editor-message { padding: 12px 16px 8px; }
.editor-message .desc { display: block; min-height: 96px; padding: 4px 0 8px; }
#v-create .ed-top .logo { background: transparent; box-shadow: none; padding-inline: 0; }
#v-create .stage__bg { opacity: .28; }

#v-create .ed-top { position: static; background: transparent; backdrop-filter: none; }
.cover-instruction { margin: 0 0 8px; color: var(--ink); font-size: 14px; }
.cover-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.poster-box .cover-actions .btn { margin: 0; }
.cover-text-stage { position: absolute; inset: 4%; z-index: 4; pointer-events: none; }
.cover-free {
  position: absolute;
  left: var(--cover-left);
  top: var(--cover-top);
  transform: translate(var(--cover-shift-x), var(--cover-shift-y));
  max-width: 84%;
  width: max-content;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: clamp(13px, 6cqw, 36px);
  line-height: 1.24;
  overflow-wrap: anywhere;
}
.cover-free[data-size="small"] { font-size: clamp(12px, 4.5cqw, 25px); }
.cover-free[data-size="large"] { font-size: clamp(15px, 8cqw, 48px); }
.p-dol .cover-free, .p-ribbon .cover-free { color: var(--ink); }
.poster--photo .cover-free { color: #fff; text-shadow: 0 1px 3px #17151c, 0 0 3px #17151c; }
[data-cover-target] { cursor: grab; pointer-events: auto; touch-action: none; user-select: none; }
[data-cover-target]:is(:hover, :focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
[data-cover-target]:active { cursor: grabbing; }
.poster-box [data-poster] > .poster { animation: none; }

.cover-workspace { position: relative; }
.cover-workspace[data-tools-offscreen] :is(.cover-toolbar, .cover-delete, .cover-guide) { visibility: hidden; }
.cover-toolbar {
  position: absolute; z-index: 12; width: min(190px, calc(100vw - 12px));
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 28px; gap: 3px;
  padding: 5px; border-radius: 8px; background: #fff; box-shadow: var(--sb-nav-shadow);
}
.cover-toolbar :is(button, select) {
  width: 100%; min-width: 0; min-height: 32px; padding: 3px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; font-size: 13px; color: var(--sb-text);
}
.cover-toolbar button { cursor: pointer; }
.cover-toolbar [data-cover-done] { color: var(--sb-accent); }
.cover-guide {
  position: absolute; z-index: 9; pointer-events: none;
  outline: 1px dashed var(--sb-accent); outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}
.cover-delete {
  position: absolute; z-index: 13; display: grid; place-items: center;
  width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--error); box-shadow: var(--sb-nav-shadow); cursor: pointer;
}
.cover-delete svg.i { width: 15px; height: 15px; }
@media (pointer: coarse) {
  .cover-toolbar :is(button, select) { min-height: 44px; }
  .cover-delete { width: 36px; height: 36px; }
}
[data-poster] .poster { cursor: text; }
[data-cover-target][contenteditable] {
  min-width: 1em; min-height: 1em; cursor: text; user-select: text; touch-action: manipulation;
  outline: none; caret-color: currentColor;
}
.cover-free[contenteditable]:empty::before { content: "문구 입력"; opacity: .7; }
.cover-free[contenteditable] { min-width: 4em; }
.poster [data-native-size="small"] { font-size: clamp(12px, 4.5cqw, 25px); }
.poster [data-native-size="medium"] { font-size: clamp(13px, 6cqw, 36px); }
.poster [data-native-size="large"] { font-size: clamp(15px, 8cqw, 48px); }

.guide-index .lead { max-width: 58ch; }
.guide-index section { margin-top: clamp(32px, 6vw, 56px); scroll-margin-top: 90px; }
.guide-index h2 { margin: 0 0 12px; }
.guide-jumps { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 20px 0 0; }
.guide-jumps a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 50px; background: #fff; font-weight: 700; text-decoration: none;
}
.guide-jumps a:hover { background: var(--sb-mint); }
.guide-steps {
  margin: 0; padding: 4px 24px 4px 44px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--sb-card-shadow);
}
.guide-steps li { padding: 12px 0; }
.guide-steps li + li { border-top: 1px solid var(--line); }
.guide-steps li::marker { color: var(--sb-accent); font-weight: 700; }
.guide-steps p, .guide-faq p { margin: 4px 0 0; color: var(--ink-2); line-height: 1.65; }
.guide-steps p a, .guide-faq p a { text-decoration: underline; text-underline-offset: 3px; }
.guide-faq { display: grid; gap: 8px; }
.guide-faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--sb-card-shadow); }
.guide-faq summary { padding: 12px 16px; min-height: 44px; cursor: pointer; font-weight: 700; }
.guide-faq summary::marker { color: var(--sb-accent); }
.guide-faq details[open] summary { color: var(--sb-green); }
.guide-faq details p { padding: 0 16px 16px; }
@media (max-width: 700px) {
  .guide-jumps a { padding-inline: 10px; font-size: 14px; }
  .guide-index section { scroll-margin-top: 76px; }
  .guide-steps { padding-inline: 35px 14px; }
}
.ev-bar .icon-btn { flex: none; width: 48px; height: 48px; background: #fff; color: var(--sb-accent); box-shadow: inset 0 0 0 1px var(--sb-accent); }
.ev-bar .icon-btn:active { transform: scale(0.95); }
.ev__fact a { color: var(--sb-accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ev__cal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 2px 0 0; font-size: 14px; color: var(--sb-text-soft); }
.ev__cal a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.ev-bar .btn--light { background: #fff; }
.mine { margin-top: 16px; max-width: 420px; }
.mine h2 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--sb-green); }
.mine ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mine a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 16px; border-radius: 12px; background: #fff; box-shadow: var(--sb-card-shadow); text-decoration: none; }
.mine a:hover { box-shadow: inset 0 0 0 1px var(--sb-accent), var(--sb-card-shadow); }
.mine strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.mine span { flex: none; color: var(--sb-text-soft); font-size: 14px; }
.delete-invite { padding: 4px 16px; }
.delete-ask { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: var(--error); font: inherit; font-weight: 600; cursor: pointer; }
.delete-confirm { padding: 4px 0 12px; }
.delete-confirm p { margin: 8px 0 12px; color: var(--sb-text); line-height: 1.55; }
.delete-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--danger { background: var(--error); color: #fff; box-shadow: inset 0 0 0 1px var(--error); }
.btn--danger:hover { background: #a51a10; }
.btn--danger:disabled { opacity: .6; cursor: default; }
.hub .site-cta, .hub .site-cta:hover { color: #fff; }

.gallery-intro { padding-block: clamp(28px, 5vw, 68px) clamp(26px, 4vw, 52px); }
.gallery-intro h1, .hub .hub-inner h1 {
  font-family: var(--font-accent);
  color: var(--sb-house);
  letter-spacing: -.035em;
  word-break: keep-all;
}
.gallery-intro h1 { margin: 0; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.16; }
.gallery-intro > p { margin: 12px 0 0; line-height: 1.55; color: var(--ink-2); }
.gallery-intro .resume-link { color: var(--sb-green); }
.studio-nav, .site-header { border-bottom: 1px solid var(--line); box-shadow: none; }
.collection-head { padding-top: 14px; border-top: 1px solid var(--line); }
.collection-head h2 { font: 700 clamp(19px, 2vw, 25px)/1.35 var(--font-ui); color: var(--sb-text); margin: 0; }
.design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 38px) clamp(12px, 2vw, 24px); }
.design-card, .tpl-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.design-card { position: relative; }
.design-open { display: block; text-decoration: none; }
.design-open img { display: block; width: 100%; height: auto; border-radius: 8px; }
.design-open h3 { margin: 0; padding: 14px 75px 12px 0; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.4; word-break: keep-all; }
.design-use { position: absolute; right: 0; bottom: 0; justify-content: center; min-width: 52px; color: var(--sb-green); }
.design-open:hover h3, .tpl-card:hover .tpl-card__title { text-decoration: underline; text-underline-offset: 4px; }
.tpl-card { overflow: visible; }
.tpl-card__art { overflow: hidden; border-radius: 8px; padding: 9% 12%; }
.tpl-card__title { padding: 10px 0; }
.templates { margin-top: clamp(32px, 6vw, 76px); }
#examples, #templates { scroll-margin-top: 12px; }
@media (max-width: 600px) {
  .design-open img { aspect-ratio: 4/3; object-fit: cover; }
  .design-open img[src$="/ribbon.jpg"] { object-fit: contain; background: #e6d3d9; }
  .design-open h3 { padding: 9px 0 0; }
  .design-use { position: static; justify-content: flex-start; }
}

.guide-index .guide-card:not(.guide-card--tool) a {
  border-radius: 0; background: transparent; border-top: 1px solid var(--line);
  box-shadow: none; padding-inline: 0;
}
.guide-index .guide-card a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ev__facts .ev__fact { border-color: var(--line); }
.ev__facts .ev__fact .i { color: var(--sb-green); }

.gallery-art { display: block; position: relative; isolation: isolate; }
@media (prefers-reduced-motion: no-preference) {
  .design-card, .tpl-card { --arrival-angle: -3deg; --arrival-x: -8px; }
  .design-card:nth-child(even), .tpl-card:nth-child(even) {
    --arrival-angle: 3deg; --arrival-x: 8px;
  }
  .gallery-entered .gallery-art, .gallery-entered .tpl-card__art {
    animation: gallery-arrival 540ms cubic-bezier(.19, 1, .22, 1) backwards;
  }
  .gallery-entered:nth-child(even) .gallery-art, .gallery-entered:nth-child(even) .tpl-card__art {
    animation-delay: 55ms;
  }
  @keyframes gallery-arrival {
    from { opacity: .42; transform: translate(var(--arrival-x), 16px) rotate(var(--arrival-angle)) scale(.96); }
    to { opacity: 1; transform: none; }
  }
  #v-event:not([hidden]) .guest-art {
    animation: invite-unfold 440ms cubic-bezier(.2,.8,.2,1);
  }
  @keyframes invite-unfold {
    from { opacity: .55; transform: translateY(12px) rotate(-2deg) scale(.97); }
    to { opacity: 1; transform: none; }
  }
  .design-open:active .gallery-art img, .tpl-card:active .poster { scale: .98; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .gallery-art img { transition: transform 260ms ease-out; }
  .gallery-art::after {
    content: ""; position: absolute; pointer-events: none; inset: auto 5% 7% auto;
    width: 23%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff;
    background: #fff var(--detail-image) center / 600% auto no-repeat;
    box-shadow: 0 6px 18px #25332833; opacity: 0; transform: translateY(8px) scale(.7);
    transition: opacity 180ms ease-out, transform 280ms cubic-bezier(.2,.8,.2,1);
  }
  .design-open:is(:hover,:focus-visible) .gallery-art img { transform: rotate(-1deg) scale(.985); }
  .design-open:is(:hover,:focus-visible) .gallery-art::after { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tpl-card__art .poster {
      animation: gallery-scroll linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes gallery-scroll {
      0% { translate: 0 4%; rotate: var(--arrival-angle); }
      46%, 58% { translate: 0 0; rotate: 0deg; }
      100% { translate: 0 -4%; rotate: var(--arrival-angle); }
    }
  }
}

#v-home, #v-home .studio-nav { background: #fff; }
#v-home .studio-nav { max-width: 1440px; border: 0; min-height: 78px; }
#v-home .studio-nav .logo { font-size: clamp(28px, 3vw, 46px); letter-spacing: -.065em; }
.showcase { --show-accent: #a65b36; background: #fff; overflow: clip; }
.showcase-inner { width: min(100%, 1440px); margin-inline: auto; display: block; }
.showcase-stage { position: relative; isolation: isolate; width: min(100%, 1080px); margin-inline: auto; height: clamp(470px, 76svh, 870px); overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr); place-items: center; column-gap: clamp(12px, 2vw, 30px); padding-inline: clamp(10px, 2vw, 32px); touch-action: pan-y pinch-zoom; }
.showcase-cover { position: relative; display: block; width: min(90%, 44svh, 560px); transform: rotate(-7deg); z-index: 2; text-decoration: none; }
.showcase-cover:has(.p-ribbon) { width: min(93%, 58svh, 630px); }
.showcase-cover:has(.p-365) { width: min(90%, 46svh, 500px); }
.showcase-cover .poster, .showcase-cover > img { width: 100%; height: auto; display: grid; border-radius: 14px; box-shadow: 0 14px 32px #27211822; }
.showcase-open { position: absolute; width: clamp(46px,5vw,70px); aspect-ratio: 1; display: grid; place-items: center; left: -6%; bottom: 14%; border-radius: 50%; background: var(--show-accent); color: white; font: 500 clamp(25px,3vw,38px)/1 var(--font-ui); transform: rotate(7deg); }
.showcase-neighbor { width: min(86%, 164px, 23svh); min-width: 44px; min-height: 44px; display: grid; gap: 12px; align-content: center; justify-items: center; border: 0; padding: 0; background: transparent; cursor: pointer; color: var(--sb-text); font: 600 14px/1.4 var(--font-ui); }
.neighbor-art { width: 100%; display: grid; place-items: center; }
.neighbor-art .poster { box-shadow: 0 4px 14px #27211817; border-radius: 6px; }
.neighbor-title { overflow-wrap: anywhere; word-break: keep-all; }
.showcase-neighbor:is(:hover,:focus-visible) .neighbor-title { text-decoration: underline; text-underline-offset: 3px; }
.showcase-stage .poster:not(.p-holiday, .p-hanji, .p-365) .poster__t { font-size: 19cqw; }
.showcase-stage .poster:not(.p-holiday) .poster__sub { font-size: 6cqw; }
.showcase-stage .p-365 .poster__t { font-size: 25cqw; }
.neighbor-art .p-365 { outline-offset: -4px; }
.showcase-spine { position: absolute; top: 9%; left: calc(100% + 16px); writing-mode: vertical-rl; white-space: nowrap; font: 700 clamp(19px, 2vw, 31px)/1.2 var(--font-accent); color: #232720; }
.showcase-info { width: min(100%, 920px); margin: auto; padding: 16px 24px; display: flex; align-items: center; gap: 12px 24px; }
.showcase-info h1 { color: var(--show-accent); font: 700 15px/1.4 var(--font-ui); margin: 0; }
.showcase-info h2 { font: 700 clamp(37px,4.6vw,74px)/1.15 var(--font-accent); color: #232720; letter-spacing: -.055em; word-break: keep-all; margin: 0; }
.showcase-actions, .showcase-pages { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.showcase-actions a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-underline-offset: 4px; }
.showcase-pages { margin: 0 0 0 auto; color: #43483f; font-variant-numeric: tabular-nums; }
.showcase-pages button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cccfc8; background: white; color: #232720; cursor: pointer; font-size: 22px; }
.personal-invites:has(.resume-link[hidden]):has(.mine[hidden]) { display: none; }
@media (min-width: 621px) {
  .showcase-info h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 620px) {
  #v-home .studio-nav { min-height: 58px; }
  .showcase-spine { display: none; }
  .showcase-stage { height: clamp(245px, 91vw, 475px); grid-template-columns: minmax(0, 1fr) minmax(0, 2.85fr) minmax(0, 1fr); padding-inline: 8px; gap: 8px; }
  .showcase-cover { width: 94%; }
  .showcase-cover:has(.p-ribbon) { width: 100%; }
  .showcase-cover:has(.p-365) { width: 94%; }
  .showcase-info { max-width: 620px; margin-inline: auto; padding: 14px 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: center; }
  .showcase-info h1 { grid-column: 1 / -1; margin: 0; font-size: 13px; }
  .showcase-info h2 { margin: 0; font-size: clamp(26px,6.4vw,38px); }
  .showcase-pages { grid-row: 2; grid-column: 2; gap: 4px; margin: 0; font-size: 12px; }
  .showcase-actions { grid-column: 1 / -1; margin-top: 6px; }
  .showcase-neighbor { width: 93%; gap: 7px; font-size: 12px; }
  .showcase-open { width: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase-open { transition: transform .22s ease; }
  .showcase-cover:is(:hover,:focus-visible) .showcase-open { transform: rotate(7deg) scale(1.1); }
  @supports (animation-timeline: view()) {
    .showcase-cover { animation: showcase-tilt linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes showcase-tilt { from { rotate: 0deg; } to { rotate: 4deg; } }

  }
}

.guide-example { margin: 20px 0; }
.guide-example img { display: block; width: 100%; height: auto; border-radius: 12px; }
.guide-example figcaption { margin-top: 8px; color: var(--ink-2); }
.seat-planner { min-inline-size: 0; margin-inline: 0; }
.seat-planner[hidden] { display: none; }
.seat-planner legend { font-weight: 700; }
.seat-planner input { width: 100%; min-height: 44px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.seat-planner output { padding-block: 8px; font-weight: 650; }

.showcase-inner {
  width: min(calc(100% - clamp(24px, 6vw, 96px)), 1320px);
  border-radius: 20px;
  background: #f7f3ec;
  background: color-mix(in srgb, var(--show-accent) 7%, #fcfbf7);
  overflow: clip;
}
.showcase-stage { height: clamp(455px, 68svh, 750px); }
.showcase-cover .poster { outline: 1px solid #ffffffb3; box-shadow: 0 16px 30px -13px #443b3155; }
.showcase-neighbor[data-show-prev] .neighbor-art { rotate: -4deg; }
.showcase-neighbor[data-show-next] .neighbor-art { rotate: 4deg; }
.showcase-info {
  width: 100%; border-top: 1px solid #34352d22;
  padding: 16px clamp(24px, 5vw, 80px); background: #ffffff85;
}
.showcase-pages > span { min-width: 6ch; text-align: center; font-variant-numeric: tabular-nums; }
.templates .collection-head { display: flex; align-items: baseline; justify-content: flex-start; gap: 10px; border: 0; }
.templates .collection-head h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.045em; }
.templates [data-tpl-count] { color: var(--sb-green); font-size: 14px; font-variant-numeric: tabular-nums; }
.template-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 12px 0 20px; }
.template-filters[hidden], .tpl-card[hidden] { display: none; }
.template-filters button {
  min-height: 44px; padding: 6px clamp(9px, 1.4vw, 20px); background: transparent;
  border: 0; border-radius: 50px; color: var(--ink-2); font: 650 14px/1.3 var(--font-ui); cursor: pointer;
}
.template-filters button[aria-pressed="true"] { background: var(--sb-house); color: white; }
.template-filters button:hover:not([aria-pressed="true"]) { background: var(--sb-canvas); color: var(--sb-green); }
.hub .narrow:has(.guide-index) { width: min(1024px, 100% - 2 * clamp(16px, 4vw, 40px)); }
.guide-index .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.6vw, 32px); }
.story-card {
  display: grid; align-content: start; min-width: 0; text-decoration: none; border-radius: 12px;
  overflow: hidden; background: var(--sb-house); color: white;
}
.story-card:nth-child(2) { background: #45382e; }
.story-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 76%; }
.story-card > div { padding: clamp(17px, 2.2vw, 28px); }
.story-card strong { display: block; color: white; font: 700 clamp(20px, 2.1vw, 28px)/1.4 var(--font-ui); letter-spacing: -.04em; word-break: keep-all; }
.story-card p { margin: 7px 0 0; font-size: 15px; color: #fffc; line-height: 1.6; }
.wording-sample { background: #fff; border-left: 3px solid var(--sb-accent); margin: 16px 0; padding: 12px clamp(16px, 3vw, 26px) 6px; }
.wording-sample blockquote { margin: 0; font-size: 1.07em; line-height: 1.8; color: var(--sb-house); }
.wording-sample a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--sb-green); font-weight: 700; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .neighbor-art, .story-card img { transition: transform .24s ease-out; }
  .showcase-neighbor:hover .neighbor-art { transform: translateY(-4px); }
  .story-card:hover img { transform: scale(1.025); }
}
@media (max-width: 620px) {
  .showcase-inner { width: calc(100% - 16px); border-radius: 14px; }
  .showcase-stage { height: clamp(250px, 86vw, 452px); }
  .showcase-info { padding: 12px 14px 16px; }
  .guide-index .story-grid { grid-template-columns: 1fr; }
  .story-card { grid-template-columns: 30% 1fr; align-items: stretch; }
  .story-card img { height: 100%; min-height: 112px; aspect-ratio: auto; }
  .story-card > div { padding: 14px; }
  .story-card strong { font-size: 18px; }
  .story-card p { font-size: 13px; }
}

.p-newyear {
  background: radial-gradient(circle at 64% 66%, #dd593e 0 17%, transparent 17.3%), #f7e9cd;
  color: #203d46;
}
.p-newyear .poster__stack { top: 12%; align-items: flex-start; left: 9%; }
.p-newyear .poster__t { letter-spacing: -.07em; }
.p-newyear .poster__sub { letter-spacing: .12em; }
.newyear-sea { position: absolute; inset: 61% 0 0; background: #26706e; clip-path: polygon(0 13%, 13% 6%, 29% 18%, 48% 21%, 66% 30%, 82% 27%, 100% 17%, 100% 100%, 0 100%); }
.newyear-sea::before, .newyear-sea::after { content: ""; position: absolute; inset: 0; }
.newyear-sea::before { background: #184950; clip-path: polygon(0 50%, 20% 42%, 45% 49%, 63% 62%, 83% 55%, 100% 38%, 100% 100%, 0 100%); }
.newyear-sea::after { background: repeating-linear-gradient(0deg, transparent 0 5%, #ebd9aa 5% 7%, transparent 7% 11%); clip-path: polygon(66% 25%, 74% 36%, 62% 43%, 76% 56%, 58% 65%, 79% 76%, 53% 84%, 73% 97%, 48% 97%, 65% 81%, 50% 71%, 65% 60%, 55% 48%, 65% 37%, 60% 29%); }

.cover-toolbar {
  width: min(286px, calc(100vw - 12px));
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1fr) 38px;
}
.poster [data-direction="horizontal"] { writing-mode: horizontal-tb; text-orientation: mixed; }
.poster [data-direction="vertical"] { writing-mode: vertical-rl; text-orientation: upright; }
.cover-free[data-direction="vertical"] {
  height: max-content; max-height: 100%; width: max-content; max-width: 100%;
  white-space: normal; word-break: break-all;
}
.cover-free[data-direction="vertical"][contenteditable] { min-height: 3em; min-width: 1em; }
.occasion-editor { padding: 16px; }
.occasion-editor .desc { margin: 6px 0; padding: 6px 0; min-height: 5.5em; }
.occasion-editor input { display: block; font: inherit; min-height: 44px; max-width: 100%; }
.occasion-editor small { display: block; font-size: .875rem; color: var(--sb-text-soft); }
.occasion-detail { overflow-wrap: anywhere; }
.occasion-detail .event-program, .occasion-detail .guest-checklist { list-style: none; margin: 8px 0 0; padding: 0; }
.occasion-detail li + li { border-top: 1px solid var(--line); }
.event-program li { padding: .7em 0; line-height: 1.55; }
.event-program b { display: inline-block; min-width: 4em; color: var(--sb-green); font-variant-numeric: tabular-nums; }
.guest-checklist label { display: flex; gap: .75em; min-height: 44px; align-items: center; cursor: pointer; }
.guest-checklist input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--sb-accent); }
.guest-checklist input:checked + span { text-decoration: line-through; color: var(--sb-text-soft); }
.milestone-days { display: block; font-size: 2rem; color: var(--sb-green); }
.occasion-detail p { margin: .35em 0 0; }
.address-copy { display: block; padding: 0 .25em; margin-top: 3px; min-height: 44px; color: var(--sb-green); background: none; font: inherit; font-weight: 700; text-decoration: underline; border: 0; cursor: pointer; }
.who-going p { width: 100%; margin: .3em 0; overflow-wrap: anywhere; }

.p-ceremony {
  background: radial-gradient(ellipse at 24% 12%, #fffef7, transparent 64%), #eee9da;
  color: #394536;
}
.p-ceremony::before { content: ""; position: absolute; inset: 5.2%; border: 1px solid #9d9272; border-radius: 48% 48% 2px 2px; }
.ceremony-rings { position: absolute; inset: 18% 19% 50%; transform: rotate(-12deg); }
.ceremony-rings::before, .ceremony-rings::after {
  content: ""; position: absolute; top: 9%; width: 54%; height: 78%; border-radius: 50%;
  border: 1.65cqw solid #b28a4d; box-shadow: inset .3cqw .25cqw .25cqw #fff4bb, .35cqw .6cqw .6cqw #8c79445c;
}
.ceremony-rings::before { left: 5%; transform: rotate(28deg); border-right-color: #dbc69a; }
.ceremony-rings::after { right: 2%; transform: rotate(-24deg); border-left-color: #ddcda9; }
.p-ceremony .poster__stack { top: 56%; gap: 3.2cqw; }
.p-ceremony .poster__t { font-family: GraceSerif, 'Gowun Batang', serif; font-weight: 500; letter-spacing: .02em; }
.p-ceremony .poster__sub { font-family: 'Gowun Batang', serif; font-weight: 600; max-width: 92%; overflow-wrap: anywhere; }

.p-door { background: #dce8d9; color: #163c34; }
.p-door::before { content: ""; position: absolute; inset: 67% 0 0; background: #a7c5b0; }
.door-art {
  position: absolute; height: 63%; width: 46%; left: 42%; bottom: 0; border: 1.7cqw solid #27594c;
  border-bottom: 0; border-radius: 48% 48% 0 0; background: #417867;
  box-shadow: -2.5cqw -.6cqw 0 #b7cfc0, 4cqw 2cqw 0 #86a58f;
}
.door-art::before { content: ""; position: absolute; inset: 8% 13% 46%; border-radius: 50% 50% 2% 2%; background: repeating-linear-gradient(90deg, transparent 0 29%, #749b84 30% 33%), #ddcca5; border: 1cqw solid #759781; }
.door-art::after { content: ""; position: absolute; width: 10%; aspect-ratio: 1; border-radius: 50%; background: #dfb36c; top: 62%; left: 12%; box-shadow: .55cqw .6cqw 0 #284d40; }
.door-art i { position: absolute; inset: 62% 14% 8% 31%; border: 1px solid #80a68d; }
.p-door .poster__stack { align-items: flex-start; left: 9%; top: 10%; }
.p-door .poster__t { font-family: Pretendard, sans-serif; font-weight: 800; }

.p-record { background: #efc769; color: #202b49; }
.p-record .poster__stack { top: 9%; left: 8%; align-items: flex-start; }
.p-record .poster__t { font-family: Pretendard, sans-serif; font-weight: 850; letter-spacing: -.06em; }
.record-art {
  position: absolute; top: 36%; right: -7%; width: 89%; aspect-ratio: 1; border-radius: 50%; transform: rotate(-20deg);
  background: radial-gradient(circle, #f0c769 0 1.7%, #ccd9de 2% 14%, #b9573a 14.5% 23%, transparent 23.5%),
    repeating-radial-gradient(circle, transparent 0 1.5%, #81939f55 1.7% 2%),
    conic-gradient(#182c42, #4e6876 14%, #172c41 32%, #2d4457 57%, #566f7b 73%, #182c42);
  box-shadow: -.8cqw 1cqw 0 #93694955;
}

.studio-nav nav a[aria-current="page"] { color: var(--sb-green); box-shadow: inset 0 -2px currentColor; }
#v-home:has(.wedding-intro) { background: #faf9f4; }
#v-home:has(.wedding-intro) .studio-nav { background: transparent; }
.wedding-intro {
  max-width: 1120px; margin: 0 auto; padding: clamp(22px,5vw,68px) 24px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(32px,7vw,100px); align-items: center;
}
.wedding-intro-photo img { width: 100%; height: auto; display: block; border-radius: 48% 48% 3px 3px; aspect-ratio: 4/5; object-fit: cover; }
.wedding-intro-copy h1 { margin: 0; font: 500 clamp(32px,4.2vw,62px)/1.25 "Gowun Batang", Georgia, serif; color: #373e31; letter-spacing: -.045em; }
.wedding-intro-copy p { margin: 24px 0; line-height: 1.75; color: #51574b; }
.wedding-links { display: flex; flex-wrap: wrap; gap: 8px; }
.wedding-links .btn--dark { background: #404c3f; color: white; }
[data-wed-names], [data-wed-date] { display: none; }
.wedding-page { background: #f1f0ea; color: #33382f; }
.wedding-page .stage__bg { opacity: .18; }
.wedding-page .ed-top { background: #faf9f5; }
.wedding-page .ev {
  max-width: 560px; padding: 0 0 calc(100px + env(safe-area-inset-bottom,0px)); gap: 0;
  background: #fffefa; box-shadow: 0 0 42px #413c2610;
}
.wedding-page .ev > :is(.glass,section,.wed-shortcuts) { border-radius: 0; box-shadow: none; background: transparent; margin: 0; padding: 36px clamp(20px,6vw,44px); border-bottom: 1px solid #e9e6db; }
.wedding-page .ev > .sample-note { margin: 0; border-radius: 0; border: 0; padding: 10px 16px; }
.wedding-page .guest-cover { display: flex; flex-direction: column-reverse; gap: 0; }
.wedding-page .guest-cover .guest-art { width: 100%; max-width: none; }
.wedding-page .guest-cover .poster { border-radius: 0; box-shadow: none; }
.wedding-page .guest-art .poster--photo, .wedding-editor .poster-box [data-poster] .poster--photo { aspect-ratio: 4/5; }
.wedding-page .guest-cover__text { padding: 30px 16px 18px; background: transparent; border-radius: 0; box-shadow: none; text-align: center; }
.wedding-page [data-wed-names] { display: block; font: 600 clamp(22px,5vw,34px)/1.55 "Gowun Batang",serif; overflow-wrap: anywhere; }
.wedding-page [data-wed-date] { display: block; margin-top: .45rem; font-variant-numeric: tabular-nums; color: #555b50; }
.wedding-page .guest-cover__text [data-occasion] { color: #626b57; font-size: .875rem; }
.wedding-page .guest-cover .ev__title { font-size: 1.25rem; line-height: 1.6; color: #3e4538; }
.wedding-page .ev h2:not(.ev__title) { margin: 0 0 1rem; font: 600 1.55rem/1.4 "Gowun Batang",Georgia,serif; color: #3e4538; }
.wedding-page .ev > .wed-shortcuts { display: flex; justify-content: center; gap: 6px; padding: 9px 8px 20px; }
.wed-shortcuts button, .wed-lightbox button { min-height: 44px; background: transparent; border: 1px solid #c9cbbd; color: #3d4637; padding: 6px 14px; border-radius: 50px; font: inherit; cursor: pointer; }
.wedding-page .ev > [data-ev-desc-box] { padding-block: 42px; text-align: center; }
.wedding-page .ev .note, .wed-story p, .wed-notice p { line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.wed-story p:last-child, .wed-notice p:last-child { margin-bottom: 0; }
.wedding-page .ev > .wed-calendar { text-align: center; background: #f4f4eb; }
.wed-calendar table { width: min(100%,320px); margin: 0 auto; border-collapse: collapse; table-layout: fixed; color: #43493e; }
.wed-calendar caption { margin: .25rem 0 .9rem; font-weight: 700; }
.wed-calendar th, .wed-calendar td { padding: 3px 0; text-align: center; font-size: .925rem; }
.wed-calendar th { color: #646b5a; }
.wed-calendar td span { width: 30px; height: 30px; line-height: 30px; display: inline-block; }
.ceremony-day { background: #44503f; color: #fff; border-radius: 50%; }
.wedding-page .ev__fact { padding-inline: 0; }
.wedding-page .ev__fact strong, .wedding-page .ev__fact span { overflow-wrap: anywhere; }
.wedding-page .ev__cal { justify-content: center; flex-wrap: wrap; }
.wed-album > div, .wed-photo-inputs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.wed-album button { padding: 0; border: 0; background: #edeade; cursor: zoom-in; }
.wed-album img, .wed-photo-inputs img { width: 100%; object-fit: cover; display: block; aspect-ratio: 3/4; }
.wed-album button:only-child { grid-column: 1/-1; }
.wed-album button:only-child img { aspect-ratio: 3/2; object-position: 50% 65%; }
.wed-lightbox { max-width: min(96vw,780px); width: max-content; padding: 14px; max-height: 94dvh; border: 0; border-radius: 12px; background: #fffefa; color: #3d4637; }
.wed-lightbox::backdrop { background: #151812db; }
.wed-lightbox > button { display: block; margin-left: auto; }
.wed-lightbox img { max-height: 70dvh; width: 100%; object-fit: contain; display: block; margin: 8px auto; }
.wed-lightbox > div { display: flex; align-items: center; gap: 12px; justify-content: center; }
.wed-fields { padding: 20px 16px; }
.wed-fields h2 { margin: 0 0 14px; font-size: 1.15rem; }
.wed-fields > label { display: grid; margin: 14px 0 0; gap: 5px; font-weight: 650; }
.wed-fields > label :is(input,textarea) { min-height: 44px; border: 1px solid #d1d5ca; border-radius: 8px; width: 100%; padding: .65rem; background: #fff; font: inherit; font-weight: 400; }
.wed-fields > p { color: #565e52; font-size: .925rem; }
.wed-photo-inputs label,.wed-cover-upload { display: flex; position: relative; justify-content: center; align-items: center; min-height: 44px; padding: 5px; border: 1px solid #adb5a6; border-radius: 8px; color: #364932; cursor: pointer; }
.wed-cover-upload { margin-bottom: 12px; background: white; }
.wed-photo-inputs input,.wed-cover-upload input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.wed-photo-inputs label:focus-within,.wed-cover-upload:focus-within { outline: 2px solid var(--focus); }
.wed-photo-inputs button { min-height: 44px; background: transparent; border: 0; color: #653a35; cursor: pointer; }
@media (max-width: 720px) {
  .wedding-intro { display: flex; flex-direction: column; gap: 20px; text-align: center; padding: 14px 20px 40px; }
  .wedding-intro-photo { width: min(100%,360px); }
  .wedding-intro-photo img { aspect-ratio: 1.04; object-position: center 65%; }
  .wedding-intro-copy p { margin: 12px 0 18px; }
  .wedding-links { justify-content: center; }
  #v-home .studio-nav nav { overflow: visible; }
  #v-home .studio-nav nav a { padding-inline: 6px; font-size: .9rem; }
}

.wedding-editor .wedding-workspace { max-width: 1160px; margin: auto; min-width: 0; }
.wedding-editor .wedding-preview { background: #eeeae2; border: 1px solid #e2ded5; border-radius: 16px; min-width: 0; padding: 12px; }
.wedding-preview__head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; padding-inline: 6px; color: #454b42; }
.wedding-preview__head button { min-height: 44px; border: 0; background: transparent; font: inherit; cursor: pointer; }
.wedding-preview .wedding-preview__frame { overscroll-behavior: contain; overflow-y: auto; background: #fffefa; border-radius: 10px; height: min(72vh, 850px); }
.wedding-preview .wedding-page .ev { padding-bottom: 24px; min-height: 100%; }
.wedding-preview [data-sample-note] { display: none; }
.wedding-page .ev { background: var(--studio-paper, #fffefa); color: var(--studio-ink, #33382f); }
.wedding-page .ev[data-wed-size="large"] { font-size: 1.125rem; }
.wedding-page .ev[data-wed-size="larger"] { font-size: 1.25rem; }
.wedding-page .ev[data-wed-pattern="small"] { background-image: radial-gradient(ellipse at center,#6e7a5c1c 0 2px,transparent 3px); background-size: 22px 26px; }
.wedding-page .ev[data-wed-pattern="large"] { background-image: radial-gradient(ellipse at center,#9b795213 0 9px,transparent 10px); background-size: 56px 60px; }
.wedding-page .ev h2:not(.ev__title),.wedding-page [data-wed-names] { color: var(--studio-ink,#33382f); }
.wedding-page .ev > section iframe { border: 0; aspect-ratio: 16/9; width: 100%; display: block; }
.wedding-page .ev > section iframe[data-orientation="portrait"] { width: min(100%,320px); aspect-ratio: 9/16; margin: auto; }
[data-extra-ending] img { display:block; width:100%; max-height:560px; object-fit:contain; }
[data-extra-ending] { text-align:center; }
[data-extra-ending][data-ending-style="blur"] p { padding: 1rem; background: #fff9; border-radius:12px; position:relative; margin: -3.5rem 1rem 1rem; backdrop-filter: blur(10px); }
@media (prefers-reduced-motion:no-preference) {
  @supports (animation-timeline:view()) {
    [data-extra-ending][data-ending-style="scroll"] { animation: wed-ending linear both; animation-timeline:view(); animation-range:entry 0% entry 90%; }
  }
}
@keyframes wed-ending { from { opacity:.25; transform:translateY(12px); } }
.wed-controls details { margin: 0 0 10px; border: 1px solid #e6e2db; border-radius: 10px; padding: 0 14px 10px; background:#fff; }
.wed-controls summary { padding: 13px 0 4px; cursor:pointer; min-height:44px; font-weight:700; }
.wed-controls label { display:grid; margin: 12px 0; gap:4px; font-size:.9375rem; }
.wed-controls label:has(input[type=checkbox]) { display:flex; justify-content:space-between; align-items:center; }
.wed-controls :is(input:not([type=checkbox]),select) { min-height:44px; width:100%; padding:7px; border:1px solid #cbcfc4; border-radius:6px; background:white; color:#252c23; font:inherit; min-width:0; }
.wed-controls button { min-height:44px; border:1px solid #d4dbd1; border-radius:8px; background:#f7f9f6; color:#314f38; padding:5px 10px; cursor:pointer; }
.wed-controls fieldset { min-width:0; margin:12px 0; border:1px solid #dddcd3; border-radius:8px; }
.wed-controls ol { padding:0; list-style:none; }
.wed-controls li { display:grid; grid-template-columns:24px 1fr auto auto; align-items:center; gap:4px; margin:4px 0; }
.wed-controls li span[draggable] { cursor:grab; text-align:center; }
.wed-controls button:disabled { opacity:.35; cursor:default; }
.wedding-page [data-book-style=notes] .cheer { background:#f8f1df; border-radius:7px; padding:12px; margin:8px 0; }
@media (min-width: 761px) {
  .wedding-editor .wedding-workspace { display:grid; grid-template-columns:minmax(300px,.86fr) minmax(0,1fr); gap:30px; align-items:start; padding-inline:24px; }
  .wedding-editor .wedding-preview { position:sticky; top:12px; }
  .wedding-editor .ed { display:flex; flex-direction:column; padding-inline:0; }
  .wedding-editor .ed [data-editor-panel] { display:flex; flex-direction:column; }
  .wedding-preview__head button { display:none; }
}
@media (max-width:760px) {
  .wedding-editor .wedding-preview { margin-inline:16px; position:sticky; top:0; z-index:10; padding:4px 8px 8px; }
  .wedding-preview .wedding-preview__frame { height:clamp(145px,30dvh,270px); }
}
.wed-venues:not(:empty) { padding: 8px 12px; display:grid; gap:6px; }
.wed-venues button,.wed-samples button,.wed-report button { padding:8px 12px; min-height:44px; color:#344a38; background:#f5f7f2; border:1px solid #cdd5c8; border-radius:8px; cursor:pointer; }
.wed-samples button { display:block; margin-top:6px; text-align:left; line-height:1.5; }
.wed-samples summary { min-height:44px; display:flex; align-items:center; cursor:pointer; }
.wed-report { overflow:auto; }
[data-wedding-survey] { grid-column:1/-1; display:grid; gap:8px; margin-block:8px; }
[data-wedding-survey] label { display:flex; align-items:center; gap:8px; min-height:44px; }
.wed-photo-inputs { display:block; }
.wed-album-rows { display:grid; grid-template-columns:repeat(auto-fit,minmax(115px,1fr)); gap:8px; }
.wed-album-rows > div,.wed-album-options { border:1px solid #e4e7df; padding:6px; border-radius:8px; }
.wed-album-options { display:grid; gap:8px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:12px; }
.wed-album-options label { position:static; height:auto; justify-content:space-between; }
.wed-album-options input { position:static; opacity:1; width:auto; }
.wed-photo-inputs > div > input { position:static; opacity:1; max-width:100%; }
.wed-album-rows select,.wed-album-options select { min-width:0; min-height:44px; }
.wed-album[data-columns="2"] > div:first-of-type { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wed-album[data-ratio="square"] img { aspect-ratio:1; }
.wed-album[data-ratio="rectangle"] img { aspect-ratio:4/3; }
.wed-album[data-ratio="mixed"] > div:first-of-type > :first-child:nth-last-child(n+4) { grid-column:span 2; }
.wed-album[data-layout="swipe"] > div:first-of-type,.wed-album[data-layout="thumbs"] > div:first-of-type { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; }
.wed-album:is([data-layout="swipe"],[data-layout="thumbs"]) > div:first-of-type > * { flex:0 0 100%; scroll-snap-align:start; }
.wed-album .wed-thumbs { display:flex; overflow-x:auto; margin-top:8px; }
.wed-album .wed-thumbs button { flex:0 0 52px; }
.wed-album[data-no-pinch="true"] img,.wed-lightbox[data-no-pinch="true"] img { touch-action:pan-x pan-y; }
.wed-rsvp-dialog { border:0; width:min(100% - 24px,420px); margin:auto auto max(8px, env(safe-area-inset-bottom)); border-radius:16px; padding:24px; background:#fffdfa; color:#364539; box-shadow:0 4px 22px #211e1755; }
.wed-rsvp-dialog::backdrop { background:#201f195d; }
.wed-rsvp-dialog button,.wed-shortcuts a { min-height:44px; padding:8px 13px; border-radius:22px; border:1px solid #b8c2b2; color:#374a39; background:#fff; font:inherit; cursor:pointer; }
.wed-audio { display:flex; justify-content:center; padding:9px; }
.wed-audio audio { width:min(100%, 280px); }
.wedding-page [data-book-style=popup] form:not(:focus-within) + ul { max-height:10rem; overflow:auto; }
.wed-book-expand { min-height:44px; padding:5px 14px; border:1px solid #a9b4a6; border-radius:44px; background:white; color:#374a39; font:inherit; cursor:pointer; }
.wedding-page [data-book-style=popup]:not([data-book-open]) > :not(h2,.wed-book-expand) { display:none; }
.wed-visit-trend { list-style:none; padding:0; }
.wed-visit-trend li { display:grid; grid-template-columns:3rem 1fr 3rem; align-items:center; gap:.5rem; }
.wed-visit-trend meter { width:100%; }
.wed-period { margin: 0; color:#555b50; font-size:.875rem; line-height:1.6; }

.wedding-editor :is(.mobile-steps,.mobile-next,[data-preview-top],.title-fonts,.date-hint,.qa-title,[data-rsvp-preview],[data-preview]) { display:none; }
.wedding-editor .ed { display:flex; flex-direction:column; gap:14px; }
.wedding-editor .ed__col { gap:14px; }
.wedding-editor .ed[data-step="details"] > :is([data-editor-panel="design"],[data-editor-panel="extras"]),
.wedding-editor .ed[data-step="design"] > :is([data-editor-panel="details"],[data-editor-panel="extras"]),
.wedding-editor .ed[data-step="extras"] > :is([data-editor-panel="details"],[data-editor-panel="design"]) { display:none; }

.wed-editor-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:4px; background:#e8e9e0; border-radius:12px; }
.wed-editor-tabs button { min-height:44px; padding:4px; border:0; border-radius:8px; font:600 .95rem/1.2 var(--font-ui); color:#3f5445; background:transparent; cursor:pointer; }
.wed-editor-tabs button[aria-pressed="true"] { color:#153d2d; background:white; box-shadow:0 1px 3px #20392a15; }
.wed-example { display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid #d1d9c8; border-radius:12px; padding:10px 14px; color:#344638; background:#f3f6ee; }
.wed-example p { margin:3px 0 0; font-size:.875rem; line-height:1.45; }
.wed-example button { flex:none; color:#304c39; border:1px solid #a4b5a5; background:white; padding:5px 10px; min-height:44px; border-radius:22px; font:600 .875rem var(--font-ui); cursor:pointer; }
.wedding-editor .wed-disclosure { padding-block:0; }
.wed-disclosure > summary { min-height:48px; line-height:1.5; padding-block:12px; font-weight:700; cursor:pointer; }
.wed-disclosure[open] { padding-bottom:14px; }
.wedding-editor .wed-look > .wed-cover-upload { display:flex; background:#f3f6ef; margin-block:10px 16px; }
.wed-look .wed-controls details { margin:8px 0 0; padding:0 12px 8px; background:#fbfcf9; }
.wed-look .wed-controls summary { padding:10px 0 0; }
.wedding-editor [data-wedding-poster-tools] .poster-box { max-width:100%; margin-top:10px; padding:0; }
.wedding-editor [data-wedding-background-options] .rail { display:flex; position:static; padding:6px 0 2px; background:none; border:0; box-shadow:none; justify-content:flex-start; }
.wedding-editor [data-wedding-background-options] .rail button:not([data-preview]) { flex:0 1 auto; min-width:65px; }
.wedding-editor [data-wedding-response-options] .glass { border:1px solid #e9ece5; box-shadow:none; margin-block:8px; }
@media (max-width:760px) {
  .wedding-editor .wedding-preview__frame { height:clamp(170px,32dvh,280px); }
  .wedding-editor .wedding-preview .guest-cover__text { order:1; padding:10px 12px; }
  .wedding-editor .wedding-preview .guest-cover .ev__title { font-size:1rem; }
  .wedding-editor .wedding-preview .guest-cover [data-wed-names] { font-size:1.15rem; }
  .wedding-editor .wedding-preview .guest-cover [data-wed-date] { font-size:.875rem; }
  .wed-example { align-items:flex-start; padding-inline:10px; }
}
@media (min-width:761px) {
  .wedding-editor .wedding-preview .ev { max-width:min(100%,410px,40vh); }
}
@media (max-width:760px) {
  .wedding-editor .wedding-preview .poster--photo:has(img[src="/assets/invite/garden-wedding.jpg"]) { aspect-ratio:2.15; }
  .wedding-editor .wedding-preview .poster--photo img[src="/assets/invite/garden-wedding.jpg"] { object-position:50% 78%; }
}
