*{box-sizing:border-box}
:root{color-scheme:light;--ink:#30223f;--soft:#645675;--purple:#5b3f80;--line:#ddd1e8;--paper:#fffdfa;--lav:#eadff5;--bg:#f9f6ee;font-family:"Pretendard Variable",Pretendard,"Segoe UI Variable","Segoe UI","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif}
body{margin:0;background:var(--bg);color:var(--ink);line-height:1.55;letter-spacing:-.025em}
a{color:inherit;text-decoration:none} button,input,textarea,select{font:inherit;letter-spacing:inherit} button,.button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;border:1px solid transparent;border-radius:10px;background:var(--purple);color:white;padding:.56rem 1rem;cursor:pointer;font-weight:700;text-align:center} button:disabled{opacity:.55;cursor:default} .neutral{background:#f5edf9;color:var(--purple);border-color:var(--line)} a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9a6bbf;outline-offset:3px}
[hidden]{display:none!important}.skip{position:absolute;transform:translateY(-150%);background:white;padding:.5rem}.skip:focus{transform:none;z-index:5}
.top{max-width:1120px;margin:auto;min-height:84px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand,footer{display:flex;align-items:center;gap:.25rem;font-weight:900;letter-spacing:.01em}.brand img,footer img{width:38px}.top nav,#account,.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem}.top nav{gap:1.45rem;color:var(--soft);font-size:.94rem}.top form{margin:0}
main{max-width:1120px;margin:auto;padding:0 24px 60px}.demo{font-size:.88rem;color:#5d4776;margin:0 0 12px;background:#f0e6f6;padding:.45rem .8rem;border-radius:7px}
.hero{background:#e8dcf4;border:1px solid #dbcaec;border-radius:24px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:clamp(28px,6vw,68px);overflow:hidden;isolation:isolate;position:relative}.hero:after{content:"";position:absolute;inset:0;z-index:-1;opacity:.32;background-image:radial-gradient(#a785bd 1px,transparent 1px);background-size:19px 19px;mask-image:linear-gradient(90deg,transparent 35%,black)}
h1,h2,h3,p{margin:0 0 .65rem}h1{font-family:Georgia,serif;font-weight:700;font-size:clamp(1.65rem,5.45vw,4.3rem);letter-spacing:-.075em;line-height:.95;margin:0 0 1.35rem}.hero-copy{position:relative;top:-.125rem}.hero-copy .eyebrow{margin-bottom:.5rem}h2{font-size:clamp(1.35rem,3vw,1.8rem);letter-spacing:-.05em}h3{font-size:1.08rem}.eyebrow{color:#644685;font-size:.77rem;font-weight:850;letter-spacing:.025em}.hero .button{margin-top:.6rem}.art{position:relative;display:grid;place-items:center}.art:before{content:"";position:absolute;z-index:-1;background:#f4ebfb;border:1px solid #e5d6ef;width:88%;aspect-ratio:1;border-radius:50%}.art img{width:min(100%,340px);transform:scale(1.65);image-rendering:pixelated;filter:drop-shadow(0 12px 15px #9574ae35)}.art span{position:absolute;z-index:1;font-size:2rem;color:#8055a5;top:10%;right:8%}.art span:last-child{top:auto;right:auto;bottom:8%;left:7%}
section{scroll-margin-top:16px;margin-bottom:26px}.panel,.product{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:clamp(18px,3vw,30px)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:.7rem}.section-head>p,.muted,time{color:var(--soft)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:.6rem 0 1rem}.stat{background:#f4edf8;padding:.7rem 1rem;border-radius:9px}.stat span{display:block;color:var(--soft);font-size:.85rem}.stat strong{font-size:1.35rem}.board{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.cell{border:1px dashed #d7c6e5;aspect-ratio:1;border-radius:10px;background:#fbf7fd;display:grid;place-items:center;color:#966cb3}.cell.filled{border-style:solid;background:#f0e4f9}.cell img{width:83%}
.products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.product{display:flex;flex-direction:column;gap:.35rem;padding:12px;border-radius:12px;overflow-wrap:anywhere}.product img{width:34px}.product h3,.product p{margin:0}.product h3{font-size:1rem}.product-title-only h3{font-size:1.125rem;line-height:1.2;word-break:keep-all;padding-block:.5rem}.product p{font-size:.875rem}.product :is(button,.collection-choose){padding:.4rem .55rem;font-size:.9rem;background:#eee2f8;color:#50366f;border-color:#ddcbed}.product :is(button,.collection-choose):hover:not(:disabled){background:#e8d9f4}.product button:disabled{background:#f4edf8;color:#716481;opacity:1}.product p{color:var(--soft)}.product h3,.product p,.product .price{padding-inline-start:.375rem}.product .price{margin-top:auto;font-weight:800;color:#426f9a}.history{display:grid;grid-template-columns:1fr 1fr;gap:12px}.row{padding:.65rem 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.row:last-child{border:0}.row p{margin:.2rem 0}.pill{display:inline-block;color:var(--purple);background:#f2e9f8;border-radius:20px;padding:.15rem .55rem;font-size:.88rem;margin-left:.3rem}.row time{font-size:.85rem}#notice:empty{display:none}#notice{background:#eee3f6;color:#452969;padding:.7rem 1rem;border-radius:8px;margin-bottom:1rem}footer{justify-content:center;padding:1.2rem;border-top:1px solid var(--line)}label{display:grid;gap:.3rem;margin:.55rem 0}label.check{display:inline-flex;align-items:center;gap:.4rem;margin-right:.5rem}input:not([type=checkbox]),textarea,select{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;color:var(--ink);padding:.5rem .65rem;background:#fff}textarea{resize:vertical}dialog{width:min(92vw,480px);background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:24px}dialog::backdrop{background:#291b3c88}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}details{margin:1rem 0;border-top:1px solid var(--line);padding-top:.65rem}summary{cursor:pointer;font-weight:750}#dialogError{color:#85204d;margin-top:.6rem}
@media(max-width:680px){.top{padding:10px 12px;flex-wrap:wrap}.top nav{order:3;width:100%;justify-content:flex-start;gap:.5rem .875rem}.top #account{margin-left:auto}.hero{padding:25px 18px;grid-template-columns:1fr .75fr}main{padding:0 12px 35px}.art span{font-size:1.2rem}.board{grid-template-columns:repeat(5,1fr);gap:5px}.history,.admin-grid{grid-template-columns:1fr}.stat{padding:.5rem}.section-head{align-items:start}.demo{margin-top:8px}}
@media(max-width:365px){.hero{grid-template-columns:1fr}.art{display:none}.top #account{margin-left:0}}
#heroIntro{overflow-wrap:anywhere}
#collectionPages{margin-top:1rem} #collectionMore,#shopMore{align-self:flex-start;flex:none}
#collectionDialog{width:min(92vw,760px);max-height:85dvh;overflow:auto}
#collectionDialog .section-head{align-items:center;margin-bottom:.6rem}
@media(max-width:680px){.board-preview .cell:nth-child(n+6){display:none}}
.top nav [aria-current=page]{color:var(--purple);font-weight:800;text-decoration:underline;text-underline-offset:.3em}

.brand .logo-image,footer .logo-image{width:38px;height:38px;object-fit:contain}.logo-mark{font-size:1.25rem;line-height:1;letter-spacing:0}
.art img.custom{max-height:340px;aspect-ratio:1;object-fit:contain;transform:none;image-rendering:auto}
.product img{height:34px;object-fit:contain}
.image-editor{margin:.85rem 0}
.image-editor-preview{display:grid;place-items:center;width:72px;height:72px;background:#f4edf8;border-radius:8px}.image-editor-preview img{width:100%;height:100%;object-fit:contain}
.image-editor button+button{margin-left:.45rem}
#appearance{margin-top:1rem}
#management>form{margin-top:1rem}
.announcement{margin:0 0 12px;padding:.75rem 1rem;border:1px solid var(--line);border-radius:10px;background:#f0e6f6;color:var(--ink)}
.announcement p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:950px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

.danger{background:#f9e9ed;border-color:#ebcbd5;color:#793247}

.top nav{row-gap:.5rem}.top nav a{white-space:nowrap}

.request-filters{margin:.75rem 0}.request-pager{margin-top:1rem}

.costume-gallery{background:linear-gradient(145deg,#f6edf9,var(--paper) 48%)}
.costume-gallery h1{font-family:inherit;font-size:clamp(1.55rem,4vw,2.5rem);line-height:1.05;letter-spacing:-.055em;margin:.25rem 0 .65rem}
.costume-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:14px;margin-top:1.2rem}
.costume-card{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;min-width:0;padding:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--paper);color:var(--ink);text-align:left;font-weight:400}
.costume-card-name{display:block;margin-bottom:.35rem;font-size:1.15rem;overflow-wrap:anywhere}
.costume-photo{width:100%;aspect-ratio:1;overflow:hidden;display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;border:0;border-radius:0;padding:0;background:#f2e9f8;color:var(--ink)}
.costume-card:hover{border-color:#bda4d4}.costume-card:hover .costume-photo{background:#e4d5f0}
.costume-photo :is(img,canvas){width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;object-position:center 30%}
.costume-placeholder{display:grid;place-items:center;min-height:100px;padding:1rem;color:var(--soft);text-align:center;font-weight:500}
.costume-copy{display:flex;flex:1;flex-direction:column;padding:14px}

.costume-price{color:#426f9a;font-weight:800}
#costumeDialog{width:min(92vw,374px,calc(40dvh + 34px));max-height:90dvh;overflow:auto;padding:16px}
#costumeDialog .section-head{align-items:center;margin-bottom:.7rem}#costumeDialog .section-head h2{margin:0;overflow-wrap:anywhere}#costumeClose{flex:none;width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--purple);font-size:1.45rem;line-height:1}
.costume-detail-frame{display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;width:100%;aspect-ratio:2/3;overflow:hidden;padding:.5rem;margin:0 auto .65rem;background:#f2e9f8;border-radius:10px}
.costume-detail-frame :is(img,canvas){display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}

@media(max-width:680px){.costume-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.costume-copy{padding:10px}.costume-copy h2{font-size:1rem}}
.thumbnail-editor{margin:.75rem 0}
.thumbnail-editor canvas{display:block;width:min(100%,256px);aspect-ratio:1;background:#f2e9f8;border:1px solid var(--line);border-radius:9px;cursor:grab;touch-action:none}
.thumbnail-editor canvas:active{cursor:grabbing}
.thumbnail-editor p{margin:.55rem 0}
.thumbnail-editor input[type=range]{padding:0;accent-color:var(--purple)}
.upload-status{margin:.55rem 0;color:var(--purple)}
.upload-status:empty{display:none}
.costume-detail-info{min-width:0;overflow-wrap:anywhere}
.costume-detail-info p{white-space:pre-wrap}
@media(min-width:700px){
  #costumeDialog{width:min(92vw,calc(min(344px,37dvh) + 244px))}
  #costumeDetail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,192px);gap:18px;align-items:start}
  .costume-detail-frame{margin:0;aspect-ratio:6/11}
  .costume-detail-info{display:flex;flex-direction:column;align-self:stretch;padding-top:.25rem}
  .costume-detail-offers{margin-top:auto;margin-bottom:clamp(.5rem,2dvh,1.25rem);padding-top:1rem}
}
.costume-offer{display:grid;gap:.3rem;margin:.25rem 0 .6rem}
.costume-offer+.costume-offer{border-top:1px solid var(--line);padding-top:.6rem}
.costume-offer h3,.costume-offer p{margin:0}
.costume-offer h3{font-size:1rem}

.costume-release{font-weight:750}

#collectionShortcutSettings{margin-top:1rem}
.shortcut-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.shortcut-settings-card{padding:.75rem 1rem;border:1px solid var(--line);border-radius:12px}
.shortcut-settings-card h4{margin:.1rem 0 .6rem}
.collection-choose{margin-top:auto}
@media(max-width:680px){.shortcut-settings-grid{grid-template-columns:1fr}}
#shopOrderSettings{margin-top:1rem}
.shop-sort-list{list-style:none;margin:.65rem 0;padding:0;display:grid;gap:.35rem}
.shop-sort-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.4rem;padding:.25rem .4rem;background:var(--paper);border:1px solid var(--line);border-radius:9px}
.shop-sort-row.sorting{border-color:#9972b8;background:#f1e8f8}
.shop-sort-handle{display:grid;place-items:center;min-width:44px;min-height:44px;color:var(--purple);font-size:1.45rem;cursor:grab;touch-action:none;user-select:none}
.shop-sort-row.sorting .shop-sort-handle{cursor:grabbing}
.shop-sort-name{overflow-wrap:anywhere}
.shop-sort-row button{min-width:44px;padding:0}