/* 게임쿠폰몰 화면 — 디자인 시안(프로토타입 v0.7 — 게임스토어 디자인과 같은 계열: 회색 바탕 · 흰 둥근 카드 · 할인 배지 · Pretendard 계열 글꼴 — 쓰는 글자만 남긴 수정본 MallSans, 사용 허락은 assets/fonts/OFL.txt)의 값을 클래스로 옮긴 것. 화면은 서버가 그리고 스크립트를 쓰지 않는다.
   이 글은 같은 원점의 판 붙은 파일 하나(/assets/mall-<판>.css — 판은 내용의 해시)로 싣고 CSP 는 style-src 'self' 다. 화면에 스크립트가 없고,
   마크업에 <style> · style 속성 · 이벤트 속성(on…=)을 쓰지 않는다(쓰면 브라우저가 막는다).
   이 파일을 고칠 때는 고치기 전의 파일을 mall.prev.css 로 옮긴다 — 판이 섞여 배포되는 동안 옛 화면이 부르는 직전 판의 주소도 답한다(html.rs).
   배너의 자동 넘김 규칙(장 수별)은 서버가 기동할 때 이 글 뒤에 붙인다(html.rs). 색 · 크기 · 간격은 시안의 인라인 값 그대로다. */
@font-face{font-family:'MallSans';font-style:normal;font-display:swap;font-weight:45 920;src:url(/assets/fonts/MallSans.woff2) format('woff2-variations')}
*{box-sizing:border-box}
html,body{margin:0;background:#F6F7F9;color:#191C22;font-family:'MallSans',-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased;letter-spacing:-0.01em}
button,input,select,textarea{font-family:inherit;color:inherit}
input:focus,select:focus,textarea:focus{outline:2px solid #E5322D;outline-offset:-1px}
a{color:#E5322D;text-decoration:none}
a:hover{color:#C4231E}
h1,h2,h3,p{margin:0}
button{cursor:pointer}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.app{min-height:100vh;display:flex;flex-direction:column}
.app>main{flex:1}
.plain{color:inherit}
.plain:hover{color:inherit}

/* 머리 */
.hd{position:sticky;top:0;z-index:40;background:rgba(255,255,255,0.97);border-bottom:1px solid #E9ECF1}
.hd-in{max-width:1200px;margin:0 auto;padding:0 20px;height:68px;display:flex;align-items:center;gap:32px}
.hd-auth .hd-in{height:64px}
.hd-logo{display:flex;align-items:center;gap:8px;flex:none;padding:0 30px 0 0}
.hd-logo img{display:block;height:36px;width:auto}
.gnb{display:flex;gap:28px;flex:none}
.gnb a{padding:6px 0;font-size:16px;font-weight:700;color:#191C22;white-space:nowrap}
.gnb a.on{color:#E5322D}
.hd-sp{flex:1}
.search{display:flex;align-items:center;gap:8px;height:42px;padding:0 16px;background:#F1F3F6;border-radius:999px;width:340px;min-width:0;flex:0 1 340px;margin:0}
.search input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:14px}
.search input:focus{outline:none}
.search svg{flex:none}
.hd-icons{display:flex;align-items:center;gap:6px;flex:none}
.hd-icon{position:relative;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:#191C22}
.hd-icon:hover{color:#191C22}
.hd-store{flex:none;font-size:13px;font-weight:600;color:#4E5563;white-space:nowrap;padding:8px 12px;border-radius:999px;background:#F1F3F6}
.hd-store:hover{color:#191C22}
.hd-badge{position:absolute;top:3px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#E5322D;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}
.hd-mob{display:none}
@media (max-width:767px){
  .hd-in>.gnb,.hd-in>.search{display:none}
  .hd-mob{display:flex;max-width:1200px;margin:0 auto;padding:0 20px 12px;flex-direction:column;gap:10px}
  .hd-mob .search{width:auto;flex:none}
  .hd-mob .gnb{gap:24px}
  .hd-mob .gnb a{padding:4px 0;font-size:15px}
}

/* 바닥 */
.ft{background:#fff;border-top:1px solid #E9ECF1}
.ft-in{max-width:1200px;margin:0 auto;padding:40px 20px 48px;display:flex;flex-direction:column;gap:24px}
.ft-top{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.ft-cs{display:flex;flex-direction:column;gap:6px}
.ft-cs .k{font-size:13px;color:#8A919E}
.ft-cs .tel{font-size:24px;font-weight:800}
.ft-cs .h{font-size:13px;color:#6B7280;line-height:1.6}
.ft-nav{display:flex;gap:20px;flex-wrap:wrap;align-items:flex-start}
.ft-nav a{font-size:14px;font-weight:600;color:#191C22}
.ft-nav a.b{font-weight:800}
.ft-co{padding-top:20px;border-top:1px solid #F0F2F5;display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:1.7;color:#8A919E}
.ft-co .n{font-size:16px;font-weight:800;color:#191C22;letter-spacing:-0.04em;margin-bottom:4px}

/* 화면 틀 */
.wrap{max-width:1200px;margin:0 auto;padding:32px 20px 72px;display:flex;flex-direction:column;gap:28px}
.wrap.home{padding:24px 20px 64px;gap:56px}
.wrap.prod{padding:28px 20px 72px;gap:24px}
.wrap.co{padding:28px 20px 72px;gap:20px}
.wrap.done{padding:64px 20px 88px;gap:20px;align-items:center}
.wrap.ev{gap:24px}
.wrap.pg{gap:20px}
.wrap.srch{padding:36px 20px 72px;gap:24px}
.wrap.narrow{max-width:520px;padding:72px 20px 96px;gap:20px;align-items:center;text-align:center}
.h1{font-size:clamp(24px,3vw,30px);font-weight:800;letter-spacing:-0.03em}
.box{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:14px}
.box.p20{padding:20px}
.box h2,.box .bt{font-size:18px;font-weight:700}
.box h3{font-size:16px;font-weight:700}
.muted{color:#6B7280}
.faint{color:#8A919E}
.red{color:#E5484D}
.pri{color:#E5322D}
.empty{padding:80px 20px;text-align:center;color:#8A919E;font-size:15px}
.err-box{padding:16px 18px;border-radius:14px;background:#FDECEC;color:#C4282D;font-size:14px;line-height:1.6}
.note-box{padding:16px 18px;border-radius:14px;background:#FDF0EF;color:#C93035;font-size:14px;line-height:1.6}

/* 버튼 */
.btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 18px;border-radius:12px;border:1px solid #DDE1E8;background:#fff;color:#191C22;font-size:15px;font-weight:700}
.btn:hover{color:#191C22}
.btn.pri{border:0;background:#E5322D;color:#fff}
.btn.pri:hover{color:#fff;background:#C4231E}
.btn.dark{border:0;background:#191C22;color:#fff}
.btn.dark:hover{color:#fff}
.btn.off{border:0;background:#C5CBD6;color:#fff;pointer-events:none}
.btn.sm{height:38px;padding:0 14px;border-radius:9px;font-size:13px;font-weight:600}
.btn.sm.red{color:#E5484D}
.btn.xs{height:30px;padding:0 10px;border-radius:8px;font-size:12px;font-weight:400;color:#4E5563}
.btn.h54{height:54px}
.btns{display:flex;gap:8px}
.btns>*{flex:1}
.btns.end{justify-content:flex-end}
.btns.end>*{flex:none}
form.in{display:inline;margin:0}
.chip{display:inline-flex;align-items:center;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:600;border:1px solid #DDE1E8;background:#fff;color:#4E5563;white-space:nowrap;flex:none}
.chip:hover{color:#191C22}
.chip.on{border-color:#191C22;background:#191C22;color:#fff}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.tabs{display:flex;gap:28px;border-bottom:1px solid #E6E9EE;overflow-x:auto}
.tabs a,.tabs label{flex:none;border-bottom:2px solid transparent;padding:12px 2px;font-size:16px;font-weight:700;color:#8A919E;cursor:pointer}
.tabs a.on{border-bottom-color:#191C22;color:#191C22}
.pill{display:inline-flex;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#FBE3E2;color:#E5322D;flex:none}
.pill.gray{background:#F1F3F6;color:#8A919E}
.pill.green{background:#EAF7EF;color:#12A150}
.pill.orange{background:#FFF4E5;color:#C46A00}
.pill.red{background:#FDECEC;color:#E5484D}
.tag{display:inline-flex;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:700}

/* 상품권 타일 — 브랜드별 옅은 바탕(판매 설정의 tint, 시안 v0.7 의 값) + 로고(가운데 맞춤) */
.tile{display:grid;place-items:center;background:#EDEEF0;overflow:hidden;aspect-ratio:1/1}
.tile.t-sky{background:#E6F1FA}.tile.t-red{background:#FDECEE}.tile.t-green{background:#EAF6EE}.tile.t-gray{background:#EDEEF0}.tile.t-blue{background:#E9F0FC}.tile.t-indigo{background:#ECEFFA}.tile.t-pink{background:#FCEFF6}.tile.t-rose{background:#FDEEF6}.tile.t-orange{background:#FFF3E8}.tile.t-peach{background:#FFF1EC}.tile.t-mint{background:#EDF7EE}.tile.t-navy{background:#E9EEF6}.tile.t-lime{background:#F1F6E6}.tile.t-amber{background:#FFF3E3}.tile.t-lavender{background:#E8EEFB}
.tile img{width:100%;height:100%;object-fit:contain;display:block}
.tile .mono{font-size:28px;font-weight:800;color:#4E5563}
.tile.r10{border-radius:10px}
.tile.r12{border-radius:12px}
.tile.r24{border-radius:24px}

/* 배너 */
.hero{position:relative;border-radius:20px;overflow:hidden;background:#11141B;height:clamp(220px,30vw,360px)}
.hero-r{position:absolute;opacity:0;pointer-events:none}
.hero-track{display:flex;height:100%;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hero-slide{flex:none;width:100%;height:100%;position:relative;background:#11141B}
.hero-slide>a{position:absolute;inset:0;color:#fff}
.hero-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,18,.88) 0%,rgba(10,12,18,.55) 45%,rgba(10,12,18,0) 75%)}
.hero-txt{position:absolute;left:clamp(20px,5vw,56px);bottom:clamp(24px,5vw,56px);display:flex;flex-direction:column;gap:10px;color:#fff;max-width:80%}
.hero-tag{font-size:13px;font-weight:600;opacity:.85}
.hero-h{font-size:clamp(22px,3.4vw,40px);font-weight:800;line-height:1.2;letter-spacing:-0.03em}
.hero-ctl{position:absolute;right:20px;bottom:20px;display:flex;align-items:center;gap:8px;z-index:2}
.hero-ctl label{width:32px;height:32px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:14px;display:grid;place-items:center;cursor:pointer}
.hero-ctl span{padding:6px 12px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:12px;font-weight:600}
.hero:hover .hero-track{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.hero-track{animation:none!important;transition:none}}

/* 섹션 머리 */
.sec{display:flex;flex-direction:column;gap:20px;position:relative}
.sec-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.sec-h>div{display:flex;flex-direction:column;gap:6px}
.sec-h h2{font-size:24px;font-weight:800;letter-spacing:-0.03em}
.sec-h p{font-size:14px;color:#6B7280}
.sec-h .all{flex:none;color:#4E5563;font-size:14px;font-weight:600}
.sec-h .all:hover{color:#191C22}
.sec-h.arrows{padding-right:96px}

/* Best 혜택 — 가로 넘김(시안의 ‹ › 는 브라우저가 그리는 넘김 단추로) */
.best{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none;scroll-behavior:smooth}
.best::-webkit-scrollbar{display:none}
.best::scroll-button(*){position:absolute;top:18px;width:38px;height:38px;border-radius:999px;border:1px solid #DDE1E8;background:#fff;color:#191C22;font-size:16px;cursor:pointer}
.best::scroll-button(*):disabled{opacity:.4;cursor:default}
.best::scroll-button(left){content:'‹';right:46px}
.best::scroll-button(right){content:'›';right:0}
.best-card{flex:none;width:228px;scroll-snap-align:start;background:#fff;border:1px solid #ECEEF2;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;color:#191C22}
.best-card:hover{color:#191C22}
.best-card .tile{border-radius:0}
.best-b{padding:16px;display:flex;flex-direction:column;gap:6px}
.badge{align-self:flex-start;padding:3px 8px;border-radius:6px;background:#FDECEC;color:#E5484D;font-size:12px;font-weight:700}
.best-b .t{font-size:16px;font-weight:700}
.best-b .s{font-size:13px;color:#6B7280}
.best-b .p{display:flex;align-items:baseline;gap:6px;margin-top:4px}
.best-b .p .x{font-size:13px;color:#A0A6B1;text-decoration:line-through}
.best-b .p .v{font-size:17px;font-weight:800}

/* 인기 상품권 */
.pop{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}
.pop-card{background:#fff;border:1px solid #ECEEF2;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;color:#191C22}
.pop-card:hover{color:#191C22}
.pop-b{display:flex;flex-direction:column;gap:4px}
.pop-b .n{font-size:15px;font-weight:700}
.pop-b .r{font-size:12px;color:#6B7280}
.pop-b .d{font-size:13px;color:#E5484D;font-weight:700}

/* 이벤트 카드 */
.evs{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.evs.list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.ev-card{background:#fff;border:1px solid #ECEEF2;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;color:#191C22}
.ev-card:hover{color:#191C22}
.ev-img{position:relative;aspect-ratio:2.2/1;background:#11141B;overflow:hidden;display:block}
.ev-img img{width:100%;height:100%;object-fit:cover;display:block}
.ev-img .sh{position:absolute;inset:auto 0 0 0;height:60%;background:linear-gradient(transparent,rgba(0,0,0,.6))}
.ev-img .g{position:absolute;left:14px;bottom:12px;color:#fff;font-size:13px;font-weight:600}
.ev-img .dd{position:absolute;right:12px;bottom:10px;padding:3px 8px;border-radius:6px;background:#fff;color:#191C22;font-size:12px;font-weight:700}
.ev-b{padding:16px 18px 20px;display:flex;flex-direction:column;gap:6px}
.ev-b .ty{font-size:12px;color:#8A919E}
.ev-b .t{font-size:16px;font-weight:700}
.ev-b .d{font-size:13px;color:#6B7280;line-height:1.5}
.ev-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ev-st{display:flex;gap:16px}
.ev-st a{padding:4px 0;font-size:15px;color:#A0A6B1;font-weight:500}
.ev-st a.on{color:#191C22;font-weight:700}

/* 공지 한 줄(돌아가며) */
.nline{display:flex;align-items:center;gap:16px;padding:16px 20px;background:#fff;border:1px solid #ECEEF2;border-radius:14px}
.nline .k{flex:none;font-size:14px;font-weight:800}
.nroll{flex:1;min-width:0;height:20px;overflow:hidden}
.nroll ul{list-style:none;margin:0;padding:0}
.nroll li{height:20px;display:flex;align-items:center;gap:12px}
.nroll a{flex:1;min-width:0;font-size:14px;color:#4E5563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nroll time{flex:none;font-size:13px;color:#A0A6B1}
.nline .nmore{flex:none;color:#4E5563;font-size:13px;font-weight:600}
.nroll.n2 ul{animation:roll2 6s infinite}
.nroll.n3 ul{animation:roll3 9s infinite}
.nroll.n4 ul{animation:roll4 12s infinite}
.nroll.n5 ul{animation:roll5 15s infinite}
.nline:hover ul{animation-play-state:paused}
@keyframes roll2{0%,45%{transform:translateY(0)}50%,95%{transform:translateY(-20px)}100%{transform:translateY(0)}}
@keyframes roll3{0%,30%{transform:translateY(0)}33.3%,63%{transform:translateY(-20px)}66.6%,96%{transform:translateY(-40px)}100%{transform:translateY(0)}}
@keyframes roll4{0%,22%{transform:translateY(0)}25%,47%{transform:translateY(-20px)}50%,72%{transform:translateY(-40px)}75%,97%{transform:translateY(-60px)}100%{transform:translateY(0)}}
@keyframes roll5{0%,18%{transform:translateY(0)}20%,38%{transform:translateY(-20px)}40%,58%{transform:translateY(-40px)}60%,78%{transform:translateY(-60px)}80%,98%{transform:translateY(-80px)}100%{transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.nroll ul{animation:none!important}}

/* 상품권 목록 */
.vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
@media (max-width:767px){.vgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.v-card{background:#fff;border:1px solid #ECEEF2;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:14px;word-break:keep-all;color:#191C22}
.v-card:hover{color:#191C22}
.v-b{display:flex;flex-direction:column;gap:4px}
.v-b .n{font-size:13px;color:#8A919E}
.v-b .f{font-size:16px;font-weight:700}
.v-b .r{font-size:13px;color:#6B7280}
.v-d{padding-top:12px;border-top:1px solid #F0F2F5;font-size:14px;color:#E5484D;font-weight:700}
.v-d.none{color:#8A919E;font-weight:600}

/* 두 단(본문 + 오른쪽 고정 상자) */
.cols{display:flex;gap:32px;align-items:flex-start;flex-wrap:wrap}
.cols.g28{gap:28px}
.cols>.main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px}
.cols.g28>.main{gap:16px}
.cols>.side{flex:1 1 320px;max-width:100%;position:sticky;top:88px;background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:18px}
.cols.g28>.side{gap:16px}

/* 상품 상세 */
.p-head{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:24px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.p-head .tile{width:96px}
.p-head>div{display:flex;flex-direction:column;gap:6px}
.p-head .co{font-size:14px;color:#8A919E}
.p-head h1{font-size:clamp(22px,2.6vw,28px);font-weight:800;letter-spacing:-0.03em}
.opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.opt{border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:4px;border:1.5px solid #E6E9EE;background:#fff;color:#191C22}
.opt:hover{color:#191C22;border-color:#F7D4D5}
.opt.on{border-color:#E5322D;background:#FDF0EF}
.opt .l{font-size:16px;font-weight:700}
.opt .x{font-size:12px;color:#A0A6B1;text-decoration:line-through}
.opt .v{font-size:15px;font-weight:800}
.opt .v b{color:#E5484D;font-weight:800}
.opt .bn{align-self:flex-start;margin-top:4px;padding:2px 8px;border-radius:6px;background:#FBE3E2;color:#E5322D;font-size:11px;font-weight:700}
.info{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:0 24px 24px;display:flex;flex-direction:column;gap:20px}
.info>input{position:absolute;opacity:0;pointer-events:none}
.info .tabs{gap:28px}
.info .tabs label{padding:18px 2px 14px}
.info .pane{display:none}
#tab-0:checked~.tabs .t0,#tab-1:checked~.tabs .t1,#tab-2:checked~.tabs .t2{border-bottom-color:#191C22;color:#191C22}
#tab-0:checked~.p0,#tab-1:checked~.p1,#tab-2:checked~.p2{display:block}
.bul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.6;color:#4E5563}
.rv{display:flex;flex-direction:column}
.rv>div{padding:16px 0;border-bottom:1px solid #F0F2F5;display:flex;flex-direction:column;gap:6px}
.rv>div:last-child{border-bottom:0}
.rv .s{font-size:13px;color:#8A919E}
.rv .b{font-size:14px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
.rv-none{padding:40px 0;text-align:center;font-size:14px;color:#8A919E}
.sel{display:flex;flex-direction:column;gap:6px}
.sel .k{font-size:13px;color:#8A919E}
.sel .v{font-size:17px;font-weight:700}
.qty-row{display:flex;align-items:center;justify-content:space-between}
.qty-row .k{font-size:14px;font-weight:600}
.qty{display:flex;align-items:center;border:1px solid #DDE1E8;border-radius:10px;height:40px}
.qty a,.qty span.d{width:40px;height:100%;display:grid;place-items:center;font-size:18px;color:#191C22}
.qty span.d{color:#C5CBD6}
.qty b{min-width:32px;text-align:center;font-weight:700}
.sum{display:flex;flex-direction:column;gap:10px;padding:16px 0;border-top:1px solid #F0F2F5;border-bottom:1px solid #F0F2F5;font-size:14px}
.sum.top0{padding-top:0;border-top:0}
.sum>div,.kv>div{display:flex;justify-content:space-between;gap:12px}
.sum .k,.kv .k{color:#6B7280}
.total{display:flex;justify-content:space-between;align-items:baseline}
.total .k{font-size:15px;font-weight:700}
.total .v{font-size:24px;font-weight:800;color:#E5322D}
.side .btns form{display:flex;flex:1}
.side .btns form .btn{flex:1}

/* 주문/결제 */
.co-item{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #F0F2F5;flex-wrap:wrap}
.co-item .tile{width:54px;flex:none}
.co-item .tile .mono{font-size:15px}
.co-item .nm{flex:1;min-width:160px;display:flex;flex-direction:column;gap:3px}
.co-item .nm .s{font-size:13px;color:#8A919E}
.co-item .nm .t{font-size:15px;font-weight:700}
.co-item .am{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.co-item .am .x{font-size:13px;color:#A0A6B1;text-decoration:line-through}
.co-item .am .v{font-size:16px;font-weight:800}
.box-h{display:flex;justify-content:space-between;align-items:center;gap:12px}
.box-h .own{font-size:14px;color:#6B7280}
.box-h .own strong{color:#191C22}
.ru{display:flex;gap:8px}
.ru-in{flex:1;display:flex;align-items:center;justify-content:flex-end;border:1px solid #DDE1E8;border-radius:10px;padding:0 14px;height:48px;background:#fff;font-size:15px;color:#6B7280}
.ru-in b{font-weight:400;color:#191C22}
.ru-in span{margin-left:6px}
.pay-r{position:absolute;opacity:0;pointer-events:none}
.ru label{flex:none;white-space:nowrap;height:48px;padding:0 18px;border-radius:10px;border:1px solid #191C22;background:#fff;font-size:14px;font-weight:700;display:grid;place-items:center;cursor:pointer}
.ru label.dis{border-color:#DDE1E8;color:#A0A6B1;cursor:default}
.hint{font-size:13px;color:#8A919E;line-height:1.5}
.pays{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pays label{height:52px;padding:0 4px;word-break:keep-all;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;border:1.5px solid #E1E5EB;background:#fff;color:#191C22;display:grid;place-items:center}
.co-form:has(#pay-teencash:checked) label[for=pay-teencash]{border-color:#E5322D;background:#FDF0EF;color:#E5322D}
.co-form:has(#pay-wallet:checked) label[for=pay-wallet]{background:#191C22;color:#fff}
.co-form:has(#pay-wallet:checked) .paybox{opacity:.4}
.co-form .w-on{display:none}
.co-form:has(#pay-wallet:checked) .w-on{display:inline}
.co-form:has(#pay-wallet:checked) .w-off{display:none}
.notes{margin:0;padding:14px 16px 14px 30px;border-radius:12px;background:#F6F7F9;font-size:13px;line-height:1.7;color:#6B7280}
.buyer{display:flex;flex-direction:column;gap:10px;font-size:14px}
.buyer>div{display:flex;gap:16px}
.buyer .k{width:90px;color:#8A919E;flex:none}
.agree{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:13px;line-height:1.5;color:#4E5563}
.agree input{width:18px;height:18px;accent-color:#E5322D;margin:0;flex:none}
.agree.lg{font-size:14px}
.agree.lg input{width:20px;height:20px}
.go{flex:2!important;border:0;background:#C5CBD6;color:#fff}
.go:hover{color:#fff}
form:has(.agree input:checked) .go{background:#E5322D}
.co-side .total .v{font-size:26px}

/* 결제 완료 */
.ok-ico{width:72px;height:72px;border-radius:999px;background:#E5322D;color:#fff;display:grid;place-items:center;font-size:32px;font-weight:700}
.ok-ico.wait{background:#FBE3E2;color:#E5322D}
.ok-ico.gray{background:#F1F3F6;color:#8A919E}
.done-h{font-size:28px;font-weight:800;letter-spacing:-0.03em;text-align:center}
.done-p{font-size:15px;color:#4E5563;line-height:1.7;text-align:center}
.done-card{width:100%;background:#fff;border:1px solid #E9ECF1;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:12px;font-size:14px}
.done-card h2{font-size:16px;font-weight:700}
.done-card .kv{display:flex;flex-direction:column;gap:12px}
.done-card .k{color:#8A919E;flex:none}
.done-card .v{text-align:right}
.done-line{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.done-line strong{flex:none}
.pinbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:12px;background:#FDF0EF;flex-wrap:wrap}
.pinbar span{font-size:13px;color:#E5322D}
.pinbar a{height:34px;padding:0 14px;border-radius:8px;background:#E5322D;color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center}
.done .btns{width:100%}

/* 이벤트 상세 */
.ev-head{display:flex;flex-direction:column;gap:10px;padding-bottom:20px;border-bottom:1px solid #E6E9EE}
.ev-head .m{display:flex;gap:8px;align-items:center;font-size:13px}
.ev-head .m .ty{padding:3px 8px;border-radius:6px;background:#EEF0F4;color:#4E5563;font-weight:600}
.ev-head .m .st{font-weight:700}
.st-now{color:#E5322D}
.st-soon{color:#12A150}
.st-end{color:#8A919E}
.ev-head h1{font-size:clamp(24px,3vw,32px);font-weight:800;letter-spacing:-0.03em}
.ev-hero{width:100%;aspect-ratio:2.2/1;object-fit:cover;border-radius:18px;background:#11141B;display:block}
.ev-sec{display:flex;flex-direction:column;gap:10px}
.ev-sec h2{font-size:19px;font-weight:700}
.ev-sec p,.ev-sec ol{margin:0;font-size:15px;line-height:1.8;color:#4E5563}
.ev-sec ol{padding-left:20px}
.ev-sec.box2{padding:20px;border-radius:14px;background:#fff;border:1px solid #E9ECF1}
.ev-sec.box2 h2{font-size:16px}
.ev-sec.box2 ul{margin:0;padding-left:18px;font-size:14px;line-height:1.8;color:#6B7280}
.ev-btns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.ev-btns>*{flex:1 1 160px;max-width:240px}

/* 마이페이지 */
.my{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}
.my-side{flex:1 1 260px;display:flex;flex-direction:column;gap:12px}
.my-card{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:16px}
.my-who{display:flex;justify-content:space-between;align-items:flex-start}
.my-who>div{display:flex;flex-direction:column;gap:4px}
.my-who .n{font-size:19px;font-weight:800}
.my-who .e{font-size:13px;color:#8A919E}
.my-who form button{flex:none;white-space:nowrap;height:30px;padding:0 10px;border-radius:8px;border:1px solid #DDE1E8;background:#fff;font-size:12px;color:#4E5563}
.my-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.my-stats a{padding:12px;border-radius:12px;background:#F6F7F9;display:flex;flex-direction:column;gap:4px;color:#191C22}
.my-stats .k{font-size:12px;color:#6B7280}
.my-stats .v{font-size:17px;font-weight:800}
.my-ref{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:12px;background:#FDF0EF}
.my-ref .k{font-size:13px;color:#E5322D;font-weight:600}
.my-ref .v{font-size:15px;font-weight:800;color:#E5322D}
.my-nav{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:10px;display:flex;flex-direction:column;gap:2px}
.my-nav a{height:46px;padding:0 14px;border-radius:10px;font-size:15px;color:#191C22;font-weight:500;display:flex;align-items:center}
.my-nav a.on{background:#FDF0EF;color:#E5322D;font-weight:700}
.my-body{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:16px}
.my-body>h2{font-size:22px;font-weight:800}
@media (max-width:767px){
  .my-nav{background:none;border:0;border-radius:0;padding:0 0 4px;flex-direction:row;gap:8px;overflow-x:auto}
  .my-nav a{flex:none;height:40px;padding:0 16px;border-radius:999px;font-size:14px;border:1px solid #DDE1E8;background:transparent}
  .my-nav a.on{border-color:#E5322D;background:#FDF0EF}
}
.ord{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px}
.ord.g10{gap:10px}
.ord-m{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#8A919E;flex-wrap:wrap}
.ord-t{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.ord-t>div{display:flex;flex-direction:column;gap:6px}
.ord-t .t{font-size:16px;font-weight:700}
.ord-t .s{font-size:13px;color:#6B7280}
.ord-a{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.ord-x{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;background:#F6F7F9;font-size:13px;flex-wrap:wrap}
.ord-x .muted{color:#6B7280}
.per{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px}
.per .pt{font-size:13px;color:#6B7280}
.per form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}
.per input[type=date]{height:42px;border:1px solid #DDE1E8;border-radius:10px;padding:0 12px;font-size:14px;background:#fff}
.per button{height:42px;padding:0 18px;border-radius:10px;border:0;background:#191C22;color:#fff;font-weight:700}
.cnt{font-size:14px;font-weight:700}
.reasons{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.reasons label{height:48px;padding:0 14px;border-radius:10px;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;border:1.5px solid #DDE1E8;background:#fff;cursor:pointer}
.reasons input{position:absolute;opacity:0;pointer-events:none}
.reasons .ring{width:18px;height:18px;border-radius:999px;border:2px solid #C5CBD6;display:grid;place-items:center;flex:none}
.reasons .ring i{width:8px;height:8px;border-radius:999px;background:#fff}
.reasons label:has(input:checked){border-color:#E5322D;background:#FDF0EF}
.reasons label:has(input:checked) .ring{border-color:#E5322D}
.reasons label:has(input:checked) .ring i{background:#E5322D}
.memo{position:relative}
.memo textarea{width:100%;min-height:100px;border:1px solid #DDE1E8;border-radius:10px;padding:12px 14px 28px;font-size:14px;resize:vertical;display:block}
.memo span{position:absolute;right:12px;bottom:10px;font-size:12px;color:#A0A6B1}
.kv{display:flex;flex-direction:column;gap:10px;font-size:14px}
.kv strong{color:#E5322D}
.cbtns{display:flex;gap:8px;justify-content:flex-end}
.cbtns .btn{width:140px}
.cbtns .go,.cbtns label.go{width:180px;flex:none!important;height:52px;border-radius:12px;font-size:15px;font-weight:700;display:grid;place-items:center;cursor:pointer}
.wal{background:#191C22;color:#fff;border-radius:18px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.wal>div{display:flex;flex-direction:column;gap:6px}
.wal .k,.wal .h{font-size:14px;color:#B4BAC6}
.wal .h{font-size:13px}
.wal .v{font-size:30px;font-weight:800}
.wal .b{display:flex;gap:8px}
.wal .b a{height:44px;padding:0 16px;border-radius:10px;border:1px solid #4E5563;color:#fff;font-size:14px;font-weight:600;display:grid;place-items:center}
.hist{background:#fff;border:1px solid #E9ECF1;border-radius:18px;overflow-x:auto}
.hist table{width:100%;min-width:620px;border-collapse:collapse;font-size:14px}
.hist th{background:#F6F7F9;color:#6B7280;font-size:13px;text-align:left;padding:12px 8px;font-weight:600}
.hist th:first-child,.hist td:first-child{padding-left:16px}
.hist th:last-child,.hist td:last-child{padding-right:16px}
.hist th.r,.hist td.r{text-align:right}
.hist td{padding:14px 8px;border-top:1px solid #F0F2F5}
.hist td.dt{color:#6B7280;white-space:nowrap}
.hist td.bal{color:#6B7280}
.hist td.amt{font-weight:700}
.hist td.amt.plus{color:#E5322D}
.vlt{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:18px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.vlt .tile{width:72px;flex:none}
.vlt .tile .mono{font-size:18px}
.vlt-b{flex:1;min-width:220px;display:flex;flex-direction:column;gap:6px}
.vlt-b>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.vlt-b .t{font-size:15px;font-weight:700}
.vlt-b .pin{font-size:20px;font-weight:800;letter-spacing:0.06em;font-variant-numeric:tabular-nums}
.vlt-b .pin.used{color:#A0A6B1}
.vlt-b .x{font-size:13px;color:#8A919E}
.more{height:48px;border-radius:12px;border:1px solid #DDE1E8;background:#fff;font-size:14px;font-weight:600;display:grid;place-items:center;color:#191C22}

/* 확인 창(체크 상자로 연다 — 스크립트 없음) */
.mtoggle{position:absolute;opacity:0;pointer-events:none}
.modal{position:fixed;inset:0;z-index:100;background:rgba(17,20,27,.5);display:none;place-items:center;padding:20px}
.mtoggle:checked~.modal,.modal.show{display:grid}
.modal-b{width:100%;max-width:380px;background:#fff;border-radius:18px;padding:28px 24px 20px;display:flex;flex-direction:column;gap:10px;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.2)}
.modal-b strong{font-size:18px;line-height:1.4}
.modal-b p{font-size:14px;line-height:1.6;color:#6B7280;white-space:pre-line}
.modal-b .kv{text-align:left;margin-top:6px;padding:14px 16px;border-radius:12px;background:#F6F7F9}
.modal-b .btns{margin-top:14px}
.modal-b .btns>*{height:50px;border-radius:12px;font-size:15px;font-weight:700}
.modal-b .btns label{display:grid;place-items:center;border:1px solid #DDE1E8;background:#fff;cursor:pointer}
.modal-b .btns button{border:0;background:#E5322D;color:#fff}

/* 문서 · 공지 */
.doc-h{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.doc-h form{display:flex;gap:6px;margin:0}
.doc-h select{height:42px;border:1px solid #DDE1E8;border-radius:10px;padding:0 12px;font-size:14px;background:#fff}
.doc-h button{height:42px;padding:0 14px;border-radius:10px;border:1px solid #DDE1E8;background:#fff;font-size:14px;font-weight:600}
.doc{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:28px;font-size:14px;line-height:1.85;color:#4E5563;display:flex;flex-direction:column;gap:18px}
.doc strong{color:#191C22;font-size:15px}
.doc .eff{font-size:13px;color:#8A919E}
.ntc{background:#fff;border:1px solid #E9ECF1;border-radius:18px;overflow:hidden}
.ntc details{border-bottom:1px solid #F0F2F5}
.ntc details:last-child{border-bottom:0}
.ntc summary{padding:20px 22px;cursor:pointer;display:flex;align-items:center;gap:12px;list-style:none}
.ntc summary::-webkit-details-marker{display:none}
.ntc summary .t{flex:1;min-width:0;font-size:15px;font-weight:600}
.ntc summary .p{flex:none;padding:2px 7px;border-radius:6px;background:#FBE3E2;color:#E5322D;font-size:11px;font-weight:700}
.ntc summary time{flex:none;font-size:13px;color:#A0A6B1}
.ntc summary .a{flex:none;color:#8A919E;transition:transform .2s}
.ntc details[open] summary .a{transform:rotate(180deg)}
.ntc .body{margin:0 22px 20px;padding:18px;border-radius:12px;background:#F6F7F9;font-size:14px;line-height:1.8;color:#4E5563;white-space:pre-line}

/* 검색 */
.srch-h{font-size:clamp(22px,3vw,28px);font-weight:800;letter-spacing:-0.03em}
.srch .tabs{gap:24px}
.srch .tabs a{font-size:15px}
.s-sec{display:flex;flex-direction:column;gap:14px}
.s-sec h3{font-size:18px;font-weight:700}
.s-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.s-v{display:flex;align-items:center;gap:14px;padding:14px;background:#fff;border:1px solid #ECEEF2;border-radius:14px;color:#191C22}
.s-v:hover{color:#191C22}
.s-v .tile{width:56px;flex:none}
.s-v .tile .mono{font-size:15px}
.s-v>span{display:flex;flex-direction:column;gap:3px}
.s-v .t{font-size:15px;font-weight:700}
.s-v .r{font-size:13px;color:#8A919E}
.s-evs{display:flex;flex-direction:column;gap:12px}
.s-e{display:flex;align-items:center;gap:16px;padding:14px;background:#fff;border:1px solid #ECEEF2;border-radius:14px;flex-wrap:wrap;color:#191C22}
.s-e:hover{color:#191C22}
.s-e img,.s-e .ph{width:132px;height:72px;border-radius:10px;object-fit:cover;flex:none;background:#11141B}
.s-e>span{flex:1;min-width:200px;display:flex;flex-direction:column;gap:4px}
.s-e .t{font-size:15px;font-weight:700}
.s-e .d{font-size:13px;color:#6B7280}
.s-e .m{font-size:12px;color:#8A919E}
.s-empty{padding:80px 20px;text-align:center;color:#8A919E;font-size:15px;display:flex;flex-direction:column;gap:8px}
.s-empty strong{color:#191C22;font-size:18px}

/* 시작하기(로그인) */
.login{min-height:100vh;display:flex;background:#fff}
.login-art{flex:1;position:relative;overflow:hidden;background:linear-gradient(180deg,#141A2C,#0B0E16);min-height:100vh}
.login-art img.f{position:absolute;opacity:.35}
.login-art .f1{left:8%;top:8%;width:150px;border-radius:36px;transform:rotate(-8deg)}
.login-art .f2{left:44%;top:3%;width:110px;border-radius:28px;opacity:.3;transform:rotate(6deg)}
.login-art .f3{right:10%;top:16%;width:130px;border-radius:32px;transform:rotate(10deg)}
.login-art .f4{left:34%;top:38%;width:170px;border-radius:40px;opacity:.4;transform:rotate(-4deg)}
.login-art .f5{left:6%;top:52%;width:110px;border-radius:28px;opacity:.3;transform:rotate(8deg)}
.login-art .f6{right:12%;top:58%;width:120px;border-radius:30px;opacity:.3;transform:rotate(-10deg)}
.login-copy{position:absolute;left:48px;right:48px;bottom:48px;color:#fff;display:flex;flex-direction:column;gap:14px}
.login-copy a{align-self:flex-start;margin-bottom:12px}
.login-copy a img{display:block;height:36px;width:auto}
.login-copy .h{font-size:36px;font-weight:800;line-height:1.25;letter-spacing:-0.03em}
.login-copy .p{font-size:15px;line-height:1.6;color:#B4BAC6;max-width:440px}
.login-main{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 24px}
.login-box{width:100%;max-width:420px;display:flex;flex-direction:column;gap:12px}
.login-box .mlogo{display:none;align-self:flex-start;margin-bottom:24px}
.login-box .mlogo img{display:block;height:36px;width:auto}
.login-box h1{font-size:30px;font-weight:800;letter-spacing:-0.03em}
.login-box .sub{margin:0 0 20px;font-size:15px;color:#6B7280}
.sso{height:56px;border-radius:12px;font-size:16px;font-weight:700;display:flex;align-items:center;padding:0 20px;gap:12px}
.sso i{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;font-size:13px;font-weight:800;font-style:normal}
.sso span{flex:1;text-align:center;margin-right:38px}
.sso.send{background:#2B4FD8;color:#fff}
.sso.send:hover{color:#fff}
.sso.send i{background:rgba(255,255,255,.2)}
.sso.teen{border:1px solid #DDE1E8;background:#fff;color:#191C22}
.sso.teen:hover{color:#191C22}
.sso.teen i{background:#FFF0E6;color:#FF6A13}
.login-or{display:flex;align-items:center;gap:12px;margin:20px 0 4px;color:#8A919E;font-size:13px}
.login-or span{flex:1;height:1px;background:#E6E9EE}
.login-note{font-size:13px;line-height:1.7;color:#6B7280}
@media (max-width:767px){.login-art{display:none}.login-box .mlogo{display:flex}}

/* 가입 */
.join{width:100%;display:flex;flex-direction:column;gap:12px;text-align:left}
.join .agree{font-size:15px;color:#191C22;padding:14px 16px;border:1px solid #E9ECF1;border-radius:12px;background:#fff}
.join .agree input{width:20px;height:20px}
.join .btn{width:100%;height:56px;font-size:16px;margin-top:12px}
.via{padding:6px 12px;border-radius:999px;background:#EAF7EF;color:#12A150;font-size:13px;font-weight:600}

/* 그 밖의 화면(장바구니 · 문의 · 후기 · 내 정보) */
.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #F0F2F5;font-size:14px;flex-wrap:wrap}
.list-row:first-of-type{border-top:0}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.field input,.field select,.field textarea{height:48px;border:1px solid #DDE1E8;border-radius:10px;padding:0 14px;font-size:15px;font-weight:400;background:#fff;width:100%}
.field textarea{height:auto;min-height:160px;padding:12px 14px;resize:vertical}
.stars{display:flex;gap:8px;flex-wrap:wrap}
.stars label{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #DDE1E8;border-radius:10px;background:#fff;font-size:14px;color:#F5A623;cursor:pointer}
.cart-qty{display:flex;align-items:center;gap:6px}
.cart-qty input{width:64px;height:38px;border:1px solid #DDE1E8;border-radius:9px;padding:0 10px;font-size:14px}
.answer{padding:18px;border-radius:12px;background:#F6F7F9;font-size:14px;line-height:1.8;color:#4E5563;white-space:pre-line}
/* 이번 범위 밖 화면(장바구니 · 문의 · 후기 작성 · 회원정보 · 탈퇴)의 옛 마크업 — 같은 표면 · 버튼 · 입력으로 */
.card{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.6}
.card.row{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}
.card p{margin:0}
.row{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.warn{color:#C46A00;font-size:14px}
.err{color:#E5484D;font-size:14px}
.pg>table,.my-body table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #E9ECF1;border-radius:18px;overflow:hidden;font-size:14px}
.pg>table td,.pg>table th,.my-body td,.my-body th{padding:12px 14px;border-top:1px solid #F0F2F5;text-align:left}
.pg>table th,.my-body th{background:#F6F7F9;color:#6B7280;font-size:13px;font-weight:600;border-top:0}
.pg button:not([class]),.my-body button:not([class]){height:44px;padding:0 18px;border-radius:10px;border:0;background:#E5322D;color:#fff;font-size:14px;font-weight:700}
.pg button.ghost,.my-body button.ghost,.btn.ghost{height:38px;padding:0 14px;border-radius:9px;border:1px solid #DDE1E8;background:#fff;color:#191C22;font-size:13px;font-weight:600}
.pg input:not([type]),.pg textarea,.pg select,.my-body input:not([type]),.my-body textarea,.my-body select{width:100%;border:1px solid #DDE1E8;border-radius:10px;padding:10px 14px;font-size:15px;background:#fff}
.pg input[type=number],.my-body input[type=number]{width:72px;height:38px;border:1px solid #DDE1E8;border-radius:9px;padding:0 10px}
.pg label,.my-body label{font-size:14px}
.side .bt{font-size:18px;font-weight:700}
.btn.sm.rv{border-color:#E5322D;color:#E5322D}
.btn.sm.off{border:1px solid #E6E9EE;background:#F6F7F9;color:#A6ACB7}
.done-card .kv strong{color:#191C22}
/* 장바구니(기획서 39 · 시안) — 왼쪽 목록(고르기 · 수량 · 빼기), 오른쪽 환불금 사용 · 결제수단 · 주문하기. 고름은 서버에 적고(선택 반영) 그 줄로 금액을 센다 */
.cart{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}
.cart-list{flex:999 1 560px;min-width:0;background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:8px 24px 16px}
.cart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #E6E9EE}
.cart-head .all{display:flex;gap:10px;align-items:center;font-size:15px;font-weight:600;border:0;background:none;padding:0;color:#191C22;cursor:pointer}
.ck{width:20px;height:20px;border-radius:5px;border:2px solid #C5CBD6;display:grid;place-items:center;flex:none;color:#fff;font-size:13px;font-weight:800;line-height:1}
.ck.on{border-color:#E5322D;background:#E5322D}
.cart-head .del{height:34px;padding:0 14px;border-radius:8px;border:1px solid #DDE1E8;background:#fff;font-size:13px;font-weight:600;flex:none;white-space:nowrap}
.cart-line{display:flex;gap:14px;padding:20px 0;border-bottom:1px solid #F0F2F5;align-items:flex-start}
.cart-line .pick{width:20px;height:20px;accent-color:#E5322D;margin:4px 0 0;flex:none}
.cart-line .tile{width:56px;flex:none}
.cart-line.off{opacity:.55}
.cl-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.cl-t{display:flex;justify-content:space-between;gap:12px}
.cl-t>div{display:flex;flex-direction:column;gap:3px}
.cl-t .s{font-size:13px;color:#8A919E}
.cl-t .n{font-size:15px;font-weight:700}
.cl-t .x{flex:none;width:28px;height:28px;border:0;background:none;color:#A0A6B1;font-size:18px;cursor:pointer;padding:0}
.cl-q{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.step{display:flex;align-items:center;border:1px solid #DDE1E8;border-radius:10px;height:36px}
.step button{width:36px;height:100%;border:0;background:none;font-size:16px;color:#191C22;cursor:pointer;padding:0}
.step button:disabled{color:#C5CBD6;cursor:default}
.step span{min-width:28px;text-align:center;font-weight:700;font-size:14px}
.cl-p{display:flex;align-items:baseline;gap:8px}
.cl-p .x{font-size:13px;color:#A0A6B1;text-decoration:line-through}
.cl-p .v{font-size:17px;font-weight:800}
.cart-note{margin:16px 0 10px;font-size:13px;color:#8A919E;line-height:1.6}
.cart-side{flex:1 1 360px;max-width:100%;position:sticky;top:88px;display:flex;flex-direction:column;gap:12px}
.sbox{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:12px}
.sbox h2{font-size:17px;font-weight:700}
.sbox .box-h{display:flex;justify-content:space-between;align-items:center}
.sbox .own{font-size:14px;color:#6B7280}
.sbox .own strong{color:#191C22}
.sbox.order{gap:16px}
.sbox.order .sum{padding:0 0 16px;border-top:0}
.sbox.order .total .v{font-size:26px}
.sbox.order .go{width:100%;height:54px;border-radius:12px;font-size:16px;font-weight:700;flex:none!important;display:grid;place-items:center}
.resel{display:none;flex-direction:column;gap:8px;padding:12px 14px;border-radius:12px;background:#FFF4E5;font-size:13px;color:#8A5A00;line-height:1.5}
.resel button{height:40px;border-radius:10px;border:0;background:#191C22;color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.cart:has(.pick[checked]:not(:checked)) .resel,.cart:has(.pick:not([checked]):checked) .resel{display:flex}
.resel.show{display:flex}
.cart:has(.pick[checked]:not(:checked)) .sbox.order .go,.cart:has(.pick:not([checked]):checked) .sbox.order .go{background:#C5CBD6;pointer-events:none}
.empty-box{padding:80px 20px;background:#fff;border:1px solid #E9ECF1;border-radius:18px;text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center;color:#6B7280;font-size:16px}
.empty-box .btn{height:46px;padding:0 24px;border-radius:10px}
.hidef{display:none}
/* 이용후기 쓰기(기획서 44 · 45) · 1:1 문의(55 ~ 57) · 회원정보(58) */
.ta{position:relative}
.ta textarea,.ta input{width:100%;border:1px solid #DDE1E8;border-radius:12px;padding:14px;font-size:15px;line-height:1.6;font-family:inherit;background:#fff;color:#191C22}
.ta textarea{min-height:180px;resize:vertical;display:block}
.ta input{height:48px;border-radius:10px;padding:0 90px 0 14px}
.ta span{position:absolute;right:14px;bottom:12px;font-size:12px;color:#A0A6B1}
.ta.in span{top:16px;bottom:auto}
.fl{display:flex;flex-direction:column;gap:10px}
.fl>.k{font-size:14px;font-weight:700}
.fl>.k i{font-style:normal;color:#E5484D}
.lh{display:flex;justify-content:space-between;align-items:baseline}
.lh h3{font-size:16px;font-weight:700}
.lh h3 i{font-style:normal;color:#E5322D}
.lh span{font-size:13px;color:#8A919E}
.btns.mid{justify-content:center}
.btns.mid>*{flex:0 1 180px}
.btns.mid .go,.btns.mid label.go{height:52px;border-radius:12px;font-size:15px;font-weight:700;display:grid;place-items:center;cursor:pointer;flex:0 1 180px!important}
form:has(textarea[minlength]:valid) .go.rv{background:#E5322D}
.types{display:flex;gap:8px;flex-wrap:wrap}
.types input{position:absolute;opacity:0;pointer-events:none}
.types label{padding:8px 16px;border-radius:999px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;flex:none;border:1px solid #DDE1E8;background:#fff;color:#4E5563}
.types label:has(input:checked){border-color:#E5322D;background:#FDF0EF;color:#E5322D}
.inq-h{display:flex;justify-content:space-between;align-items:center}
.inq-h h2{font-size:22px;font-weight:800}
.inq-h .btn{height:42px;padding:0 18px;border-radius:10px;font-size:14px}
.inq{background:#fff;border:1px solid #E9ECF1;border-radius:18px;overflow:hidden}
.inq details{border-bottom:1px solid #F0F2F5}
.inq details:last-child{border-bottom:0}
.inq summary{list-style:none;padding:18px 20px;cursor:pointer;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.inq summary::-webkit-details-marker{display:none}
.inq .st{padding:3px 8px;border-radius:6px;font-size:12px;font-weight:700;flex:none;background:#F1F3F6;color:#8A919E}
.inq .st.done{background:#FBE3E2;color:#E5322D}
.inq .ty{font-size:13px;color:#8A919E;flex:none}
.inq .ti{flex:1;min-width:180px;font-size:15px;font-weight:600}
.inq .dt{font-size:13px;color:#A0A6B1;flex:none}
.inq .ar{flex:none;color:#8A919E;transition:transform .2s}
.inq details[open] .ar{transform:rotate(180deg)}
.inq .bd{padding:0 20px 20px;display:flex;flex-direction:column;gap:12px}
.inq .q{padding:16px;border-radius:12px;background:#F6F7F9;font-size:14px;line-height:1.7;color:#4E5563;white-space:pre-line}
.inq .a{padding:16px;border-radius:12px;background:#FDF0EF;display:flex;flex-direction:column;gap:6px}
.inq .a strong{font-size:13px;color:#E5322D}
.inq .a span{font-size:14px;line-height:1.7;white-space:pre-line}
.inq .o{font-size:13px;color:#8A919E}
.go.iq,.go.rv{pointer-events:none}
form:has(.agree input:checked) .go.iq{background:#C5CBD6}
form:has(.agree input:checked):has(.types input:checked):not(:has(:invalid)) .go.iq{background:#E5322D;pointer-events:auto}
form:has(textarea[minlength]:valid) .go.rv{pointer-events:auto}
.rows{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:8px 24px}
.rows>div{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #F0F2F5;font-size:15px;align-items:center}
.rows>div:last-child{border-bottom:0}
.rows .k{width:100px;color:#8A919E;flex:none}
.acct{display:flex;align-items:center;gap:8px}
.acct i{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:12px;font-weight:800;font-style:normal}
.acct i.teen{background:#FFF1E8;color:#F06A1D}
.acct i.send{background:#2F55D4;color:#fff}
.lnk{align-self:flex-end;background:none;border:0;color:#8A919E;font-size:14px;text-decoration:underline}
/* 회원탈퇴(기획서 59 ~ 67) */
.wrap.wd{gap:18px}
.wd-p{font-size:15px;color:#4E5563}
.wd-box{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:22px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.wd-box>div{flex:1;min-width:240px;display:flex;flex-direction:column;gap:6px}
.wd-box strong{font-size:16px}
.wd-box span{font-size:13px;line-height:1.6;color:#6B7280}
.wd-box .btn{height:42px;padding:0 16px;border-radius:10px;font-size:14px;font-weight:600}
.wd-box.warn{background:#FFF6F6;border-color:#F7D4D5}
.wd-box.warn strong{color:#C93035}
.wd-notes{background:#fff;border:1px solid #E9ECF1;border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:10px}
.wd-notes h2{font-size:16px;font-weight:700}
.wd-notes ul{margin:0;padding-left:18px;font-size:13px;line-height:1.8;color:#4E5563}
.wd .btns{justify-content:center;flex-wrap:wrap}
.wd .btns>*{flex:1 1 160px;max-width:240px;height:54px;border-radius:12px;font-size:15px;font-weight:700;display:grid;place-items:center}
.wd .btns .go{flex:1 1 160px!important;cursor:pointer}
.wd .btns .btn.off{background:#C5CBD6}
.ok-ico.dark{background:#191C22;color:#fff}
.wd-done{padding:96px 20px 120px;gap:18px;align-items:center;text-align:center}
.wd-done .btn{width:100%;height:56px;margin-top:12px;font-size:16px}
.wrap.wd>form{display:flex;flex-direction:column;gap:18px}
#hero-1:checked~.hero-track{animation:none;transform:translateX(-100%)}#hero-2:checked~.hero-track{animation:none;transform:translateX(-200%)}#hero-3:checked~.hero-track{animation:none;transform:translateX(-300%)}#hero-4:checked~.hero-track{animation:none;transform:translateX(-400%)}#hero-5:checked~.hero-track{animation:none;transform:translateX(-500%)}#hero-6:checked~.hero-track{animation:none;transform:translateX(-600%)}#hero-7:checked~.hero-track{animation:none;transform:translateX(-700%)}#hero-8:checked~.hero-track{animation:none;transform:translateX(-800%)}#hero-9:checked~.hero-track{animation:none;transform:translateX(-900%)}.hero.n2 #hero-0:checked~.hero-track{animation:hero2 9s infinite}@keyframes hero2{0.00%,43.50%{transform:translateX(-0%)}50.00%,93.50%{transform:translateX(-100%)}100%{transform:translateX(0)}}.hero.n3 #hero-0:checked~.hero-track{animation:hero3 13.5s infinite}@keyframes hero3{0.00%,29.00%{transform:translateX(-0%)}33.33%,62.33%{transform:translateX(-100%)}66.67%,95.67%{transform:translateX(-200%)}100%{transform:translateX(0)}}.hero.n4 #hero-0:checked~.hero-track{animation:hero4 18s infinite}@keyframes hero4{0.00%,21.75%{transform:translateX(-0%)}25.00%,46.75%{transform:translateX(-100%)}50.00%,71.75%{transform:translateX(-200%)}75.00%,96.75%{transform:translateX(-300%)}100%{transform:translateX(0)}}.hero.n5 #hero-0:checked~.hero-track{animation:hero5 22.5s infinite}@keyframes hero5{0.00%,17.40%{transform:translateX(-0%)}20.00%,37.40%{transform:translateX(-100%)}40.00%,57.40%{transform:translateX(-200%)}60.00%,77.40%{transform:translateX(-300%)}80.00%,97.40%{transform:translateX(-400%)}100%{transform:translateX(0)}}.hero.n6 #hero-0:checked~.hero-track{animation:hero6 27s infinite}@keyframes hero6{0.00%,14.50%{transform:translateX(-0%)}16.67%,31.17%{transform:translateX(-100%)}33.33%,47.83%{transform:translateX(-200%)}50.00%,64.50%{transform:translateX(-300%)}66.67%,81.17%{transform:translateX(-400%)}83.33%,97.83%{transform:translateX(-500%)}100%{transform:translateX(0)}}.hero.n7 #hero-0:checked~.hero-track{animation:hero7 31.5s infinite}@keyframes hero7{0.00%,12.43%{transform:translateX(-0%)}14.29%,26.71%{transform:translateX(-100%)}28.57%,41.00%{transform:translateX(-200%)}42.86%,55.29%{transform:translateX(-300%)}57.14%,69.57%{transform:translateX(-400%)}71.43%,83.86%{transform:translateX(-500%)}85.71%,98.14%{transform:translateX(-600%)}100%{transform:translateX(0)}}.hero.n8 #hero-0:checked~.hero-track{animation:hero8 36s infinite}@keyframes hero8{0.00%,10.88%{transform:translateX(-0%)}12.50%,23.38%{transform:translateX(-100%)}25.00%,35.88%{transform:translateX(-200%)}37.50%,48.38%{transform:translateX(-300%)}50.00%,60.88%{transform:translateX(-400%)}62.50%,73.38%{transform:translateX(-500%)}75.00%,85.88%{transform:translateX(-600%)}87.50%,98.38%{transform:translateX(-700%)}100%{transform:translateX(0)}}.hero.n9 #hero-0:checked~.hero-track{animation:hero9 40.5s infinite}@keyframes hero9{0.00%,9.67%{transform:translateX(-0%)}11.11%,20.78%{transform:translateX(-100%)}22.22%,31.89%{transform:translateX(-200%)}33.33%,43.00%{transform:translateX(-300%)}44.44%,54.11%{transform:translateX(-400%)}55.56%,65.22%{transform:translateX(-500%)}66.67%,76.33%{transform:translateX(-600%)}77.78%,87.44%{transform:translateX(-700%)}88.89%,98.56%{transform:translateX(-800%)}100%{transform:translateX(0)}}.hero.n10 #hero-0:checked~.hero-track{animation:hero10 45s infinite}@keyframes hero10{0.00%,8.70%{transform:translateX(-0%)}10.00%,18.70%{transform:translateX(-100%)}20.00%,28.70%{transform:translateX(-200%)}30.00%,38.70%{transform:translateX(-300%)}40.00%,48.70%{transform:translateX(-400%)}50.00%,58.70%{transform:translateX(-500%)}60.00%,68.70%{transform:translateX(-600%)}70.00%,78.70%{transform:translateX(-700%)}80.00%,88.70%{transform:translateX(-800%)}90.00%,98.70%{transform:translateX(-900%)}100%{transform:translateX(0)}}