@font-face{font-family:Pretendard;src:url(assets/regular.woff2);font-weight:400;font-display:swap}
@font-face{font-family:Pretendard;src:url(assets/bold.woff2);font-weight:700 900;font-display:swap}
*{box-sizing:border-box}
html{scroll-padding-top:14px}
body{margin:0;background:#080808;color:#f9f7f8;font:16px Pretendard,"Apple SD Gothic Neo",sans-serif;--muted:#c4bec6;--line:#3a333e;--accent:#d1b9ff}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer;color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #d7beff;outline-offset:3px}
button:disabled{cursor:default;opacity:.55}
h1,h2,h3,p{margin:0;word-break:keep-all}
.wrap{width:min(1260px,calc(100% - 92px));margin-inline:auto}
.header{height:76px;border-bottom:1px solid #262329;display:flex;align-items:center;justify-content:space-between;gap:16px}
.header .brand{display:flex;align-items:center;margin-left:-10px}
.header img{width:202px;height:64px;object-fit:contain}
.header nav{display:flex;gap:27px;align-items:center;color:#d8d2dc;font-size:14px}
.header button{font-size:14px}
.header nav button{padding:0;border:0;background:none}
.account{padding:8px 14px;background:transparent;border:1px solid #49424e;border-radius:6px;white-space:nowrap}
.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:32px;min-height:430px;padding:32px 35px;margin-top:13px;background:#171215 url(assets/crayon.jpg) center 39%/cover no-repeat}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080808f2 3%,#080808ac 41%,#08080866),linear-gradient(0deg,#080808 0%,transparent 57%)}
.hero h1{font-size:clamp(40px,5.25vw,78px);letter-spacing:-.067em;line-height:1.035}
.hero-copy p{font-size:17px;line-height:1.5;color:#e5dce7;margin-top:17px;max-width:33ch}
.quick{justify-self:end;width:100%;max-width:445px;display:grid;gap:8px}
.quick-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:14px 16px;background:#19151beb;border:1px solid #655665;border-radius:7px}
body[data-active=all] .quick-link:first-child,.quick-link[aria-current=true]{background:#32224bec;border-color:#af8be8}
.quick-link strong,.quick-link small{display:block;word-break:keep-all}
.quick-link strong{font-size:23px;letter-spacing:-.043em}
.quick-link small{font-size:13px;color:#e5daea;line-height:1.35;margin-top:5px}
.quick-link b{color:var(--accent);font-size:19px}
.catalog{padding:13px 0 43px}
.catalog-head{display:flex;gap:8px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}
.catalog h2{font-size:27px;letter-spacing:-.047em}
.filters{display:flex;gap:5px;align-items:center;max-width:100%;overflow:auto}
.filters button{border:1px solid transparent;color:#d4ccd7;background:transparent;border-radius:5px;padding:6px 8px;font-size:13px;white-space:nowrap}
.filters button[aria-pressed=true]{background:#34254c;border-color:#50376e;color:#faf6ff}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.card{overflow:hidden;background:#151417;border:1px solid #2d2b30;border-radius:7px;min-width:0}
.card-image{display:block;width:100%;border:0;padding:0;background:#151417}
.card-art{display:block;width:100%;height:clamp(95px,11.3vw,158px);object-fit:cover;object-position:50% 40%}
.card-copy{padding:10px 11px 11px}
.card-copy small,.sample-copy small,.dialog-header small{font-size:12px;color:#c9bbd2}
.card h3{font-size:18px;letter-spacing:-.035em;line-height:1.2;margin-top:5px}
.card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:10px}
.card-actions button{padding:6px 7px;font-size:12px;border-radius:4px;border:1px solid #514859;background:transparent}
button.primary,a.primary{display:inline-block;padding:10px 13px;border:1px solid #d1b9ff;border-radius:6px;color:#201331;background:#d1b9ff;font-size:14px;font-weight:800}
button.primary.small{padding:6px 7px;font-size:12px}
.wave{background:#2a2040;display:flex;align-items:center;justify-content:center;gap:6px;color:#cbb0ff}
.wave i{height:29%;width:5px;border-radius:6px;background:currentColor}
.wave i:nth-child(even){height:49%}
.wave i:nth-child(3n){height:20%}
body>footer{border-top:1px solid #252127;padding:16px 0 22px;color:#bfb6c2;font-size:13px;display:flex;justify-content:space-between;gap:8px}
dialog{width:min(1030px,calc(100vw - 40px));max-height:calc(100dvh - 38px);border:1px solid #46394e;border-radius:13px;background:#17131a;color:#f9f7fa;padding:0;overflow:auto;box-shadow:0 24px 100px #000c}
dialog::backdrop{background:#080609d6}
.close{position:absolute;right:15px;top:15px;z-index:2;border:1px solid #5b4d60;border-radius:50%;width:37px;height:37px;font-size:25px;line-height:1;background:#211a26}
.sample{display:grid;grid-template-columns:.8fr 1fr;min-height:275px}
.sample-image .card-art{height:100%;max-height:370px}
.sample-copy{padding:32px 48px 30px 27px;align-self:center}
.sample-copy h2,.dialog-header h2{font-size:clamp(24px,3vw,38px);line-height:1.13;letter-spacing:-.045em;margin-top:5px}
.sample-copy p,.dialog-header p{color:var(--muted);font-size:15px;line-height:1.55;margin:9px 0 16px}
.sample-copy.standalone{padding:35px 55px 33px 28px}
.production{padding:20px 23px 15px}
.dialog-header{padding-right:43px;margin-bottom:15px}
.dialog-header p{margin-bottom:0}
.production-grid{display:grid;grid-template-columns:.63fr 1fr;align-items:start;gap:17px}
.settings,.draft{min-width:0}
.settings h3,.draft h3{font-size:19px;letter-spacing:-.035em}
.styles{display:grid;gap:6px;margin:10px 0 14px}
.style{display:grid;grid-template-columns:57px minmax(0,1fr);align-items:center;gap:9px;background:#211a27;border:1px solid #473950;border-radius:6px;padding:5px;color:inherit;text-align:left;min-width:0}
.style[aria-pressed=true]{border-color:#d1b9ff;background:#30223f}
.style img{width:57px;height:43px;object-fit:cover;object-position:50% 37%;border-radius:4px}
.style strong,.style small{display:block;word-break:keep-all}
.style strong{font-size:14px}
.style small{font-size:11px;color:#c8bcd0;margin-top:3px}
.settings label{display:block;font-size:13px;margin:9px 0 5px}
.settings input{width:100%;background:#100d14;color:#faf6ff;border:1px solid #564364;border-radius:5px;padding:7px 8px;font-size:15px}
.settings input[type=file]{font-size:12px;color:#ccc2d2}
.settings input::file-selector-button{border:1px solid #594969;background:#312440;color:#fcf8ff;border-radius:4px;padding:4px;font:inherit;margin-right:7px}
.style-note{color:var(--muted);font-size:12px;line-height:1.42;margin-top:9px}
.draft{background:#211923;border:1px solid #493952;border-radius:8px;padding:10px}
.draft-top{display:flex;justify-content:space-between;gap:5px 10px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.draft-top>span{color:#e0c9f5;font-size:12px}
.draft-frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.frame{position:relative;display:grid;isolation:isolate;align-content:end;aspect-ratio:1/.78;overflow:hidden;border-radius:5px;padding:9px;background:#3e2a36}
.frame>img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.shot:first-child .frame::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#150c16ed 4%,#180f1a99 44%,transparent 80%)}
.cover-title{font-size:clamp(15px,2.2vw,30px);line-height:1.1;letter-spacing:-.055em;font-weight:800;word-break:keep-all}
.frame-brand{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-weight:800;font-size:12px;margin-top:7px;overflow-wrap:anywhere}
.frame-brand img{max-width:60px;height:23px;object-fit:contain}
.end-frame{align-content:space-between;background:#efddbe;color:#4d332a;padding:12px}
.end-copy{align-self:center}
.end-copy small,.end-copy strong{display:block}
.end-copy small{font-size:clamp(10px,1.3vw,13px);margin-bottom:5px}
.end-copy strong{font-size:clamp(13px,1.85vw,22px);line-height:1.32;letter-spacing:-.043em;word-break:keep-all}
.band{margin-top:9px}
.band strong{font-size:14px}
.band p{font-size:13px;color:#e1d6e4;line-height:1.47;margin-top:4px;overflow-wrap:anywhere}
.production-actions{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}
.production-actions span{font-size:13px;color:#e1ccec}
@media(max-width:760px){
  .wrap{width:calc(100% - 30px)}
  .header{height:57px}
  .header img{width:154px;height:49px}
  .header nav{display:none}
  .account{padding:6px 8px}
  .hero{grid-template-columns:minmax(0,1fr);gap:14px;min-height:0;padding:19px 10px 12px;background-position:54% 39%}
  .hero::before{background:linear-gradient(90deg,#080808e8,#08080866),linear-gradient(0deg,#080808,transparent 84%)}
  .hero h1{font-size:clamp(34px,10vw,52px)}
  .hero-copy p{font-size:14px;margin-top:8px}
  .quick{max-width:none;gap:6px}
  .quick-link{padding:8px}
  .quick-link strong{font-size:18px}
  .quick-link small{font-size:12px;margin-top:3px}
  .catalog h2{font-size:21px}
  .catalog{padding:10px 0 25px}
  .catalog-head{margin-bottom:8px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .card h3{font-size:15px}
  .card-copy{padding:7px}
  .card-copy small{font-size:10px}
  .card-actions{margin-top:7px}
  .card-actions button,.card-actions .primary.small{font-size:11px;padding:5px}
  dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:9px}
  .production{padding:12px 10px}
  .close{right:9px;top:9px;width:31px;height:31px;font-size:22px}
  .dialog-header{margin-bottom:9px}
  .dialog-header p{margin-top:5px;font-size:13px}
  .production-grid{grid-template-columns:1fr;gap:9px}
  .styles{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:5px 0 7px}
  .style{grid-template-columns:1fr;gap:3px;padding:4px}
  .style img{width:100%;height:37px}
  .style strong{font-size:11px}
  .style small{font-size:9px}
  .settings label{margin-top:5px}
  .settings input{padding:4px 6px}
  .style-note{margin-top:5px}
  .sample{grid-template-columns:1fr}
  .sample-image .card-art{height:180px}
  .sample-copy{padding:13px 14px 18px}
  .frame{aspect-ratio:1/.77}
}

.account-group{display:flex;gap:8px;align-items:center}
.credit-badge{padding:6px 8px;color:#e4d3ff;background:#251934;border:1px solid #5b4278;border-radius:5px;font-size:12px;white-space:nowrap}
.requirements{margin-top:6px;color:#c9bbd2;font-size:11px}
.sample-copy p.sample-input{color:#e5cfff;font-size:13px}
.video-sample{background:#09070a;min-height:280px;display:flex;align-items:center;justify-content:center;padding:12px}
.video-sample video{display:block;width:auto;height:min(53dvh,430px);max-width:100%;max-height:100%;background:#09070a}
.draft-frames{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.shot{min-width:0;display:grid;gap:4px}
.shot>span{font-size:11px;font-weight:800;color:#dbc7e8}
.shot .frame{aspect-ratio:4/4.7;min-width:0}
.shot .frame-brand{font-size:11px}
.shot .frame-brand img{height:18px;max-width:47px}
.frame-caption{padding:4px;background:#170e1bc2;color:#fff7ff;border-radius:3px;font-size:10px;word-break:keep-all}
.frame.middle-frame>img{object-position:center 40%}
.shot .cover-title{font-size:clamp(12px,1.65vw,23px)}
.shot .end-copy strong{font-size:clamp(11px,1.45vw,19px)}
.points{font-size:14px;font-weight:800;color:#f0e1ff;margin-bottom:3px}
@media(max-width:760px){
  .account-group{gap:4px}
  .credit-badge{padding:4px 5px;font-size:11px}
  .sample .video-sample{min-height:0;padding:6px}
  .video-sample video{height:min(44dvh,305px)}
  .shot .frame{padding:5px}
  .shot .frame-brand{font-size:9px}
  .shot .frame-brand img{height:14px;max-width:30px}
  .shot .end-copy small{font-size:9px}
  .shot .end-copy strong{font-size:11px}
  .points{font-size:13px}
}

.launch{color:#fcf8ff;background:#21162e;border-bottom:1px solid #614479}
.launch-inner{min-height:61px;display:flex;align-items:center;justify-content:center;gap:clamp(10px,2.1vw,29px);padding-block:8px}
.launch-title,.launch-clock,.timer{display:flex;align-items:center;gap:7px}
.launch-title strong{font-size:16px;letter-spacing:-.035em;white-space:nowrap}
.launch-title>span{padding:3px 5px;border:1px solid #75558f;border-radius:4px;color:#e0c9f7;font-size:10px;line-height:1}
#launch-status{font-size:13px;color:#e3cbed;white-space:nowrap}
.timer{gap:4px}
.timer[hidden],.launch-offer[hidden]{display:none}
.timer>span{display:flex;align-items:baseline;gap:3px;padding:5px 6px;background:#120e18;border:1px solid #5c466c;border-radius:5px;white-space:nowrap}
.timer b{min-width:2ch;text-align:center;font-size:19px;font-variant-numeric:tabular-nums;line-height:1}
.timer small{font-size:10px;color:#e0c9ec}
.launch-offer{padding:7px 9px;color:#20132e;background:#d8beff;border:1px solid #d8beff;border-radius:5px;font-size:13px;font-weight:800;white-space:nowrap}
.launch-detail dl{display:flex;flex-wrap:wrap;gap:6px 12px;margin:0;color:#eee0f6;font-size:14px}
.launch-detail dd{margin:0}
@media(max-width:620px){
  .launch-inner{display:grid;grid-template-columns:1fr auto;gap:6px 8px;min-height:0;padding-block:8px}
  .launch-title{grid-row:1;grid-column:1}
  .launch-title strong{font-size:14px}
  .launch-clock{grid-row:2;grid-column:1/-1}
  .launch-offer{grid-row:1;grid-column:2;padding:4px 7px;font-size:12px}
  .timer>span{padding:3px 5px}
  .timer b{font-size:16px}
  #launch-status{font-size:12px}
}

/* 관장님용 콘텐츠 탐색과 요금제 화면 */
.market-section{padding:30px 0 35px;border-top:1px solid #2d262f}
.section-head{display:flex;gap:12px 18px;align-items:end;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}
.section-head h2{font-size:clamp(22px,3vw,33px);letter-spacing:-.05em;line-height:1.16}
.section-head p{color:var(--muted);font-size:14px;line-height:1.4;margin-top:6px}
.section-head>a{color:#ddc6ff;font-size:14px;white-space:nowrap}
.catalog-search{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:#c8bcd1;font-size:13px}
.catalog-search input,.market-dialog input{width:min(360px,100%);min-width:0;color:#faf5ff;padding:7px 9px;border:1px solid #564663;border-radius:5px;background:#17111d}
.catalog-search span{white-space:nowrap}
.no-results{grid-column:1/-1;color:#d8c7e4;padding:10px 0}
.card-actions button.save{color:#e6cfff;font-size:15px;line-height:1}
.card-actions button.save[aria-pressed=true]{background:#362048}
.updates-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:10px}
.update{position:relative;isolation:isolate;display:flex;align-items:end;min-height:240px;padding:14px;overflow:hidden;border:1px solid #453747;border-radius:7px;color:#fff7fc;background:#211826;text-align:left}
.update img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 35%;z-index:-2}
.update::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0c080dea 7%,#120c19b8 34%,transparent 87%);z-index:-1}
.update>span{display:grid;gap:5px}
.update small,.cases-grid small{font-size:12px;color:#efd4ff}
.update strong{font-size:clamp(18px,2.8vw,34px);letter-spacing:-.05em;line-height:1.05;word-break:keep-all}
.update>span>span{font-size:12px;color:#f4dfef}
.cases-grid,.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cases-grid article,.guide-grid article,.plan{background:#161318;border:1px solid #403343;border-radius:7px;overflow:hidden;min-width:0}
.cases-grid img{display:block;width:100%;height:158px;object-fit:cover;object-position:50% 39%}
.cases-grid article>div,.guide-grid article{padding:13px}
.cases-grid h3,.guide-grid h3{font-size:20px;letter-spacing:-.035em;margin-top:4px}
.cases-grid p,.guide-grid p,.plan p,.topup p{color:var(--muted);font-size:14px;line-height:1.45;margin-top:5px}
.cases-grid button,.guide-grid button,.topup button,.quiet{display:inline-block;padding:6px 8px;border:1px solid #61506b;border-radius:5px;background:transparent;color:#e8caff;font-size:13px;margin-top:8px}
.sample-copy .quiet{margin-right:5px}
.billing{display:flex;gap:4px;padding:3px;border:1px solid #53445c;border-radius:7px;background:#130e17}
.billing button{padding:6px 12px;border:0;border-radius:4px;background:transparent;color:#ddd0e8;font-size:14px}
.billing button[aria-pressed=true]{background:#dbc3ff;color:#211232;font-weight:800}
.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.plan{padding:18px}
.plan:last-child{border-color:#8d66b3;background:#22172b}
.plan h3{font-size:23px}
.plan-price{display:flex;align-items:baseline;gap:5px;margin:8px 0 6px}
.plan-price strong{font-size:clamp(24px,4vw,42px);letter-spacing:-.05em}
.plan-price span{color:#d7cbe0;font-size:12px}
.plan-points{font-weight:800;color:#e9d3ff!important}
.plan-points small{font-size:10px}
.plan button{margin-top:13px}
.topup{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:11px;padding:10px 12px;background:#121014;border:1px solid #423548;border-radius:6px}
.topup button{margin:0;white-space:nowrap}
.faq{max-width:850px;margin-top:20px}
.faq h3{margin-bottom:7px;font-size:20px}
.faq details{padding:10px 0;border-bottom:1px solid #413448}
.faq summary{cursor:pointer;font-size:15px}
.faq p{color:var(--muted);font-size:14px;line-height:1.5;margin:6px 0 0 16px}
.library-entry{display:grid;grid-template-columns:120px minmax(0,1fr);gap:11px;align-items:center;padding:8px;background:#221a29;border:1px solid #543f61;border-radius:7px;margin-bottom:12px}
.library-entry img{width:100%;height:100px;object-fit:cover;border-radius:5px}
.library-entry small,.library-entry strong{display:block}
.library-entry p{margin:3px 0;font-size:13px}
.library-dialog h3{font-size:17px;margin-top:7px}
.series-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.series-list button{background:#2a2030;border:1px solid #544060;border-radius:6px;text-align:left;padding:5px}
.series-list img{width:100%;height:112px;display:block;object-fit:cover;border-radius:4px}
.series-list strong{display:block;padding:5px;font-size:14px}
.market-dialog label{display:block;margin-bottom:5px;font-size:13px}
.market-dialog input{display:block;width:min(620px,100%)}
@media(max-width:760px){
  .market-section{padding:20px 0 23px}
  .updates-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .update{min-height:148px;padding:8px}
  .update-feature{grid-column:1/-1;min-height:170px}
  .catalog-search{margin-bottom:7px}
  .cases-grid,.guide-grid{grid-template-columns:minmax(0,1fr);gap:7px}
  .cases-grid article{display:grid;grid-template-columns:111px minmax(0,1fr)}
  .cases-grid img{height:100%;min-height:116px}
  .cases-grid article>div,.guide-grid article{padding:8px}
  .cases-grid h3,.guide-grid h3{font-size:17px}
  .plan{padding:9px}
  .plan h3{font-size:19px}
  .plan p,.topup p,.cases-grid p,.guide-grid p{font-size:12px}
  .plan button.primary{font-size:12px;padding:7px}
  .topup button{font-size:12px;padding:5px}
  .market-dialog.sample-copy.standalone{padding:23px 32px 21px 13px}
}
