#studio {--iv-ink:#233743;--iv-line:#cdd5d3;--iv-paper:#fffdf7;--iv-blue:#c9dce6;--iv-body:"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",Arial,sans-serif;color:var(--iv-ink);font:16px/1.6 var(--iv-body);background:#faf9f4;min-height:65vh;color-scheme:light;}
#studio[hidden],#home[hidden],#studio [hidden] {display:none!important}
#studio * {box-sizing:border-box}
#studio :is(h1,h2,p,fieldset,legend){margin:0}
#studio button,#studio input,#studio textarea {font:inherit}
#studio :is(button,a,input,textarea):focus-visible{outline:3px solid #4280ab;outline-offset:3px}
#studio :is(h1,article):focus {outline:none}
#studio button {color:inherit;cursor:pointer}
#studio a {color:inherit}
.iv-shell{width:min(1160px,100%);margin:auto;padding:34px clamp(20px,5vw,68px) 88px}
#studio .iv-back,.iv-simple {display:inline-flex;align-items:center;gap:5px;width:max-content;padding:5px 0;background:transparent;border:0;font-size:14px;line-height:1.5;font-weight:650}
.iv-icon{width:19px;height:19px;flex:none}
.iv-back .iv-icon,.iv-simple .iv-icon{width:15px;height:15px}
.iv-heading{margin:28px 0 32px}
#studio .iv-heading h1,#studio .iv-error h1 {font:500 clamp(31px,4vw,50px)/1.18 "AppleMyungjo","Batang",Georgia,serif;letter-spacing:-.055em;color:var(--iv-ink)}
#studio .iv-heading p{margin:11px 0 0;color:#526169}
.iv-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,5.4vw,82px);align-items:start}
.iv-preview{background:#e5ebea;border:1px solid #d4dcdb;padding:18px clamp(16px,2.8vw,34px) 28px;border-radius:4px;position:sticky;top:18px;background-image:radial-gradient(ellipse at 80% 20%,#f4efe2 0%,transparent 60%),linear-gradient(130deg,#e0ebed,#e8e8de)}
.iv-preview-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 14px;font-size:14px;font-weight:650}
.iv-stage{position:relative;isolation:isolate;margin:auto;max-width:420px;--iv-theme:#c2d9e6}
.iv-card{position:relative;background:#fffdf7;box-shadow:0 10px 22px #31474418,0 1px 3px #31474426;text-align:center;overflow:hidden;isolation:isolate}
.iv-card-image{height:clamp(145px,18vw,245px);position:relative;background:var(--iv-theme)}
.iv-card-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%}
.iv-card-details{display:flex;min-height:190px;flex-direction:column;align-items:center;padding:20px 21px 24px}
.iv-script,#studio .iv-brand{font-family:"Yuni Allura","Snell Roundhand","Apple Chancery","Palatino Linotype",Palatino,Georgia,serif;font-style:normal;font-weight:400}
.iv-script{display:block;font-size:clamp(23px,2.6vw,34px);line-height:1.18;color:#5b7590}
#iv-couple{display:block;font-family:"AppleMyungjo",Batang,Georgia,serif;font-size:clamp(22px,2.4vw,33px);font-weight:500;line-height:1.5;letter-spacing:.035em;margin:4px 0 8px;overflow-wrap:anywhere;max-width:100%}
#studio .iv-card-message{font:15px/1.7 "AppleMyungjo",Batang,Georgia,serif;white-space:pre-line;overflow-wrap:anywhere;max-width:100%}
.iv-card-rule{width:27px;height:1px;background:#a4b4ac;margin:14px auto 11px}
#studio .iv-card-when,#studio .iv-card-venue{line-height:1.5;font-size:13px;overflow-wrap:anywhere;max-width:100%}
#studio .iv-card-venue{font-size:14px;margin-top:3px}
.iv-cover{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;padding:22px;background:#f2eee2;background:linear-gradient(145deg,#fffdf4,var(--iv-theme));box-shadow:0 8px 20px #33413b17;overflow:hidden}
.iv-sealed .iv-card{visibility:hidden}
.iv-cover b{font:500 21px/1.4 "AppleMyungjo",Batang,Georgia,serif;max-width:100%;overflow-wrap:anywhere}
.iv-envelope{width:min(74%,220px);aspect-ratio:1.7;margin:8px 0 10px;position:relative;filter:drop-shadow(0 6px 5px #34495525);transform:rotate(-5deg)}
.iv-envelope:before,.iv-envelope-liner,.iv-envelope-flap{content:"";position:absolute;inset:0}
.iv-envelope:before{background:linear-gradient(140deg,#fdf6e0,#f4e6bd);border:1px solid #cbbf9b;border-radius:2px}
.iv-envelope-liner{background:linear-gradient(34deg,#efdfba 49.5%,#d9c9ab 50%,transparent 50.5%) 0 100%/51% 100% no-repeat,linear-gradient(-34deg,#efe1be 49.5%,#d9c9ab 50%,transparent 50.5%) 100% 100%/51% 100% no-repeat}
.iv-envelope-flap{clip-path:polygon(0 0,100% 0,50% 66%);background:linear-gradient(135deg,#fff7dc,#e7d2a4)}
.iv-envelope-seal{position:absolute;top:53%;left:50%;transform:translate(-50%,-50%);width:36px;height:36px;border-radius:50%;border:1px solid #8796af;background:#b7c6da;color:#4c627a;display:grid;place-content:center;box-shadow:0 2px 3px #3f547635;font:23px Georgia,serif}
.iv-opening .iv-cover{pointer-events:none;animation:iv-open .56s both}
@keyframes iv-open{0%{opacity:1;transform:translateY(0)}65%{opacity:.28}100%{opacity:0;transform:translateY(-24px)}}
.iv-edit fieldset{border:none;min-width:0;padding:0 0 24px}
#studio .iv-edit legend{font-weight:700;font-size:20px;letter-spacing:-.03em;padding:0 0 11px}
.iv-choices,.iv-share-actions,.iv-form-actions{display:flex;gap:8px;flex-wrap:wrap}
.iv-choice{border:1px solid var(--iv-line);background:#fffdf8;border-radius:20px;padding:7px 10px;display:inline-flex;align-items:center;gap:7px;min-height:39px}
#studio .iv-choice{font-size:14px}
.iv-choice[aria-pressed=true]{border-color:var(--iv-ink);box-shadow:inset 0 0 0 1px var(--iv-ink);background:#fff}
.iv-color{display:inline-block;background:var(--iv-swatch);width:13px;height:13px;border:1px solid #293d4a30;border-radius:50%}
.iv-field{display:flex;min-width:0;flex-direction:column;margin:0 0 12px;gap:5px}
.iv-field>span{font-size:14px;font-weight:550}
#studio .iv-field input,#studio .iv-field textarea{width:100%;min-width:0;border:1px solid #bfc8c6;border-radius:4px;padding:10px 11px;color:#21353e;background:#fffefa;line-height:1.45;min-height:45px;box-shadow:none;text-align:start}
#studio .iv-field input::placeholder,#studio .iv-field textarea::placeholder{color:#697678}
#studio .iv-field textarea{resize:vertical}
.iv-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#studio .iv-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border:1px solid var(--iv-ink);border-radius:4px;text-decoration:none;min-height:44px;font:600 15px/1.4 var(--iv-body);cursor:pointer}
#studio .iv-dark{color:#fffefa;background:var(--iv-ink)}
#studio .iv-outline{background:transparent;color:var(--iv-ink)}
#studio .iv-button:hover,#studio .iv-choice:hover{filter:brightness(.94)}
#studio .iv-button:disabled{opacity:.55;cursor:wait}
#studio .iv-status{color:#365849;font-size:14px;font-weight:600;margin:12px 0;min-height:22px}
.iv-share{background:#f2efd9;padding:18px;border:1px solid #d9d3b9;border-radius:4px}
#studio .iv-share h2,#studio .iv-guest-info h2{font-size:21px;margin:0 0 12px;letter-spacing:-.03em}
.iv-share small{display:block;font-size:13px;margin-top:10px;color:#52605a}
.iv-video-progress{display:flex;align-items:center;gap:8px;font-size:14px;flex-wrap:wrap;margin-top:14px}
.iv-video-progress progress{width:min(110px,30vw);accent-color:var(--iv-ink)}
.iv-guest-shell{max-width:490px;margin:auto;padding:25px 24px 60px}
#studio .iv-brand{display:block;text-align:center;margin:0 auto 20px;font-size:27px;line-height:1.1;text-decoration:none}
.iv-guest-info{padding:24px 0 0}
.iv-info-row{display:flex;align-items:flex-start;gap:12px;padding:11px 0;border-top:1px solid var(--iv-line);overflow-wrap:anywhere}
.iv-info-row>.iv-icon{margin:4px 0 0}
#studio .iv-info-row p{font-size:14px;color:#526169;white-space:pre-line}
.iv-guest-info .iv-share-actions{margin-top:15px}
.iv-error{padding-block:15vh}
#studio .iv-error p{margin:18px 0 25px}
.iv-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:760px){
 .iv-shell{padding:20px 18px 55px}.iv-heading{margin:18px 0 21px}.iv-workspace{grid-template-columns:1fr;gap:25px}
 .iv-preview{position:static;padding:13px 15px 18px}
 .iv-preview .iv-card-image{height:135px}.iv-preview .iv-card-details{min-height:160px;padding:13px 12px;justify-content:center}
 .iv-preview .iv-card-rule{margin:8px auto}.iv-preview #iv-couple{font-size:21px;line-height:1.25}
 .iv-preview .iv-card-message{font-size:13px!important;line-height:1.45!important}.iv-preview .iv-script{font-size:21px}
 .iv-preview .iv-card-when{font-size:12px!important}.iv-preview .iv-stage{max-width:300px}
 .iv-preview .iv-cover{gap:4px;padding:8px}.iv-preview .iv-envelope{width:85px;margin:2px 0 5px}.iv-preview .iv-envelope-seal{width:20px;height:20px;font-size:13px}
 .iv-preview .iv-cover .iv-script{display:none}.iv-guest-shell .iv-card-image{height:clamp(175px,55vw,250px)}
}
@media(max-width:365px){.iv-shell,.iv-guest-shell{padding-inline:13px}.iv-pair{gap:7px}.iv-choices{gap:5px}#studio .iv-choice{font-size:13px;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.iv-opening .iv-cover{animation-duration:.01ms}}
