/* 서울 편의점 시뮬레이터(/simulate/convenience-store/, 2026-11-21) — designer 시안 docs/design/2026-11-cvs-sim/cvs.css 를 .csp 범위로 옮김.
   sim-cafe.css(카페 편 — 공통 키오스크·카운터·결과·매거진·다크 고정·사이트 클래스 충돌 수정) 위에 얹는다 */

.csp{--cv-frame:#221E1C;--cv-back:#ECE6E1;--cv-lip:#FFFFFF;--cv-rail:#F7F3F0;--cv-edge:#D6CCC4;--cv-pack:#C9BFB8;
--cv-deal1:var(--accent);--cv-on-deal1:#1B1210;--cv-deal2:#221E1C;--cv-on-deal2:#FFF9F5;--cv-sign-off:#CFC4BC}
.csp .gondola{background:var(--cv-frame);border-radius:16px;padding:0 6px 6px;position:relative;--ink:#221E1C;--ink-2:#5F5752;--mean:#6B5E56;color:#221E1C}
.csp .aisle{display:flex;gap:4px;padding:6px 2px}
.csp .aisle button{flex:1;min-height:52px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--cv-sign-off);font:800 15px/1 var(--font-ko)}
.csp .aisle button .hint{color:var(--cv-sign-off);font-size:13px;line-height:1}
.csp .aisle button.on{background:#FFF9F5;color:#221E1C}
.csp .aisle button.on .hint{color:#5F5752}
.csp.nohint .aisle button{min-height:44px}
.csp .bay{background:var(--cv-back);border-radius:8px 8px 0 0;overflow:hidden;position:relative}
.csp .tier{position:relative}
.csp .faces{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;padding:10px 6px 0;height:96px}
.csp .face{position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center;border-radius:8px 8px 0 0}
.csp .face svg{width:76px;height:80px;display:block}
.csp .face .cnt{position:absolute;top:2px;right:8px;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:#221E1C;color:#FFF9F5;font:800 13px/24px var(--font);text-align:center;font-variant-numeric:tabular-nums}
.csp .face.out .gap{width:64px;height:66px;margin-bottom:2px;border-radius:6px;box-shadow:inset 0 0 0 1.5px var(--cv-pack);background:repeating-linear-gradient(135deg,transparent 0 7px,rgba(201,191,184,.35) 7px 8px)}
.csp .rail{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px 6px 8px;background:var(--cv-lip);box-shadow:inset 0 3px 0 var(--cv-edge);position:relative}
.csp .ptag{position:relative;min-height:40px;padding:5px 6px 4px;border-radius:4px;background:var(--cv-rail);text-align:left;display:flex;flex-direction:column;justify-content:flex-end}
.csp .ptag b{display:block;font:700 13px/1.15 var(--font-ko);color:#5F5752;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.csp .ptag i{display:block;font:800 17px/1.15 var(--font);font-style:normal;color:#221E1C;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.csp .ptag i small{font:700 13px/1 var(--font-ko);margin-left:1px}
.csp .deal{position:absolute;top:-13px;left:4px;padding:3px 6px;border-radius:4px;font:800 13px/1 var(--font);letter-spacing:.02em;font-variant-numeric:tabular-nums}
.csp .deal.d1{background:var(--cv-deal1);color:var(--cv-on-deal1)}
.csp .deal.d2{background:var(--cv-deal2);color:var(--cv-on-deal2)}
.csp .ptag .so{position:absolute;right:5px;top:5px;padding:3px 6px;border-radius:4px;background:#221E1C;color:#FFF9F5;font:800 13px/1 var(--font-ko)}
.csp .shelfmsg{margin:0;padding:10px 12px;background:#FFF9F5;border-top:1px solid var(--cv-edge);font:600 14px/1.4 var(--font);color:#221E1C}
.csp .shelfmsg b[lang=ko]{font-weight:800}
.csp .shelfmsg.bad{background:#FDE8E7;color:#C8302B}
.csp .gondola .cart{background:#fff;border-top:0;border-radius:0 0 10px 10px}
.csp .gondola .cart .bk{width:44px;height:44px;border-radius:10px;background:var(--cv-rail);display:grid;place-items:center;position:relative;flex:none}
.csp .gondola .cart .bk svg{width:24px;height:24px}
.csp .gondola .cart .bk em{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#221E1C;color:#FFF9F5;font:800 13px/20px var(--font);font-style:normal;text-align:center}
.csp .gondola .peek{position:absolute;right:2px;top:2px;height:44px;width:auto;image-rendering:pixelated;z-index:2;pointer-events:none}
.csp .gondola .fly{position:absolute;z-index:5;width:40px;height:42px;pointer-events:none;opacity:.9}
.csp .flypath{position:absolute;z-index:4;border:2px dashed #B8461F;border-color:#B8461F transparent transparent #B8461F;border-radius:60% 0 0 0;pointer-events:none}
.csp .bsheet{position:absolute;inset:0;background:#fff;border-radius:8px 8px 10px 10px;display:flex;flex-direction:column;z-index:6}
.csp .bsheet .bh{display:flex;align-items:center;justify-content:space-between;padding:10px 6px 8px 14px;border-bottom:1px solid var(--cs-kline)}
.csp .bsheet .bh h3{margin:0;font:800 17px/1.2 var(--font-ko)}
.csp .bsheet .bh h3 .hint{display:inline;margin-left:6px}
.csp .bsheet .bh .x{min-width:44px;min-height:44px;display:grid;place-items:center;color:#5F5752}
.csp .bsheet .bl{flex:1;overflow:auto;padding:0 14px}
.csp .bline{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--cs-kline)}
.csp .bline svg.p{width:44px;height:46px;flex:none;background:var(--cv-rail);border-radius:8px}
.csp .bline .t{flex:1;min-width:0}
.csp .bline .t b{display:block;font:800 16px/1.25 var(--font-ko)}
.csp .bline .t small{display:block;font:600 13px/1.3 var(--font);color:#5F5752;font-variant-numeric:tabular-nums}
.csp .bline .t small.dn{color:#B8461F}
.csp .bline .qty{gap:2px}
.csp .bsheet .chk{margin:12px 14px 0;padding:10px 12px;border-radius:10px;font:600 14px/1.4 var(--font)}
.csp .bsheet .chk.ok{background:#E3F5EC;color:#13704E}
.csp .bsheet .chk.bad{background:#FDE8E7;color:#C8302B}
.csp .bsheet .bf{display:grid;grid-template-columns:1fr 2fr;gap:8px;padding:12px 14px 14px}
.csp .bsheet .bf .pay,.csp .bsheet .bf .ghostk{justify-content:center;min-height:52px}
.csp .bsheet .tot{display:flex;justify-content:space-between;align-items:baseline;padding:12px 0 4px;font:700 14px/1 var(--font-ko)}
.csp .bsheet .tot b{font:800 20px/1 var(--font-ko);font-variant-numeric:tabular-nums}
.csp .ticket .what .m{white-space:nowrap}
.csp .ticket .what .m.done{color:var(--ok)}
.csp .ticket .what .m.done::before{content:"\2713  ";font-weight:800}
.csp .stage.cv .board,.csp .stage.cv .bells{display:none}
.csp .stage.cv .mw{position:absolute;right:16px;top:58px;width:92px;height:56px;border-radius:6px;background:var(--cafe-3)}
.csp .stage.cv .mw::before{content:"";position:absolute;left:8px;top:8px;width:56px;height:40px;border-radius:4px;background:var(--cafe-4)}
.csp .stage.cv .mw::after{content:"";position:absolute;right:9px;top:12px;width:12px;height:12px;border-radius:50%;background:var(--cafe-2);box-shadow:0 18px 0 var(--cafe-2)}
.csp .stage.cv .shelfb{position:absolute;right:0;top:114px;width:124px;height:6px;background:var(--cafe-3)}
.csp .stage.cv .disp{position:absolute;left:38%;top:-40px;width:78px;height:36px;border-radius:5px;background:var(--cafe-4);box-shadow:inset 0 0 0 3px var(--cafe-3);display:grid;place-items:center;font:800 14px/1 var(--font);color:var(--cafe-ink);font-variant-numeric:tabular-nums;z-index:1}
.csp .stage.cv .disp::after{content:"";position:absolute;left:35px;bottom:-6px;width:8px;height:6px;background:var(--cafe-3)}
.csp .stage.cv .reader{position:absolute;right:24px;top:-24px;width:36px;height:26px;border-radius:5px 5px 2px 2px;background:var(--cafe-4);box-shadow:inset 0 4px 0 var(--cafe-3)}
.csp .stage.cv .bagroll{position:absolute;left:96px;top:-12px;width:44px;height:12px;border-radius:3px 3px 0 0;background:var(--cafe-3);box-shadow:0 -5px 0 -1px var(--cafe-2)}
.csp .stage.cv .items{position:absolute;left:150px;bottom:100%;display:flex;gap:2px;align-items:flex-end}
.csp .stage.cv .items svg{width:30px;height:32px}
.csp .opt .k svg{width:18px;height:18px}
.csp .rcard .items{position:absolute;left:50%;transform:translateX(-50%);bottom:19.6%;display:flex;gap:1cqi;z-index:3;align-items:flex-end}
.csp .rcard .items svg{width:11cqi;height:12cqi}
@media (min-width:1024px){
.csp .gondola{border-radius:22px;padding:0 10px 10px}
.csp .aisle{padding:10px 4px;gap:6px}
.csp .aisle button{min-height:60px;font-size:17px}
.csp .faces{height:120px;padding-top:16px}
.csp .face svg{width:92px;height:98px}
.csp .face.out .gap{width:78px;height:84px}
.csp .rail{padding:8px 8px 10px;gap:6px}
.csp .ptag{min-height:50px;padding:6px 8px 5px}
.csp .ptag b{font-size:14px}
.csp .ptag i{font-size:20px}
.csp .deal{font-size:14px;top:-16px}
.csp .gondola .peek{height:56px}
.csp .shelfmsg{font-size:15px;padding:12px 14px}
.csp .bsheet .bh h3{font-size:19px}
.csp .stage.cv .mw{top:70px;right:20px;width:112px;height:66px}
.csp .stage.cv .mw::before{width:70px;height:50px}
.csp .stage.cv .shelfb{top:136px;width:152px}
.csp .stage.cv .items{left:180px}
.csp .stage.cv .items svg{width:36px;height:38px}
.csp .stage.cv .bagroll{left:120px}
}
.csp .sample.below{font:500 13px/1.3 var(--font);color:var(--mean);text-align:center;margin:8px 0 0}
.csp .faces{height:82px;padding-top:8px}
.csp .face svg{width:62px;height:66px}
.csp .face.out .gap{width:52px;height:56px}
.csp .rail{padding:5px 6px 6px}
.csp .ptag{min-height:0;padding:4px 6px 4px}
.csp .ptag .pr{display:flex;align-items:center;justify-content:space-between;gap:4px}
.csp .deal{position:static;padding:3px 5px}
.csp .ptag .so{position:static}
.csp .ptag.has-so i{color:#8A7F78;text-decoration:line-through;text-decoration-thickness:1.5px}
@media (min-width:1024px){
.csp .faces{height:110px;padding-top:14px}
.csp .face svg{width:84px;height:90px}
.csp .face.out .gap{width:70px;height:76px}
.csp .ptag{padding:6px 8px 6px}
.csp .deal{padding:4px 6px}}
.csp .ptag i{white-space:nowrap;font-size:16px}
.csp .deal{padding:3px 4px;flex:none}
.csp .ptag .pr{gap:2px}
@media (min-width:1024px){
.csp .ptag i{font-size:19px}
.csp .deal{padding:4px 6px}}
.csp .ticket .what.list{display:grid;gap:3px;margin-top:6px;font-size:15px;line-height:1.25}
.csp .ticket .what.list .m{white-space:normal;display:flex;gap:8px;align-items:center}
.csp .ticket .what.list .m::before{content:"";width:16px;height:16px;border-radius:4px;box-shadow:inset 0 0 0 1.5px var(--line-2);flex:none}
.csp .ticket .what.list .m.done::before{content:"\2713";box-shadow:none;background:var(--ok);color:#fff;font:800 12px/16px var(--font);text-align:center}
.csp .ticket .what.list .m.done{color:var(--ok)}
@media (min-width:1024px){
.csp .ticket .what.list{font-size:17px;gap:5px}}
.csp .gondola.gs{height:440px;padding:6px}
.csp .gondola.gs .bsheet{inset:6px}
@media (min-width:1024px){
.csp .gondola.gs{height:480px;padding:10px}
.csp .gondola.gs .bsheet{inset:10px}}
.csp .bsheet .bf .pay.ghostb{background:#fff;color:#221E1C;box-shadow:inset 0 0 0 1.5px var(--line-2)}
.csp .bsheet .bf{grid-template-columns:1fr 1.6fr}
.csp .bsheet .bf .pay{padding:0 12px;white-space:nowrap}
.csp .bline svg.p{width:40px;height:42px}
.csp .bline .qty span{width:44px;height:44px}
.csp .bline .qty span:nth-child(2){width:22px}
.csp .bsheet .tot{border-top:1.5px solid #221E1C;margin-top:2px}
.csp .stage.cv .disp{left:14px}
.csp .stage.cv .disp::after{left:35px}
.csp .stage.cv .bagroll{left:auto;right:70px}
.csp .stage.cv .items{left:auto;right:118px}
@media (max-width:1023px){
.csp .stage.cv .bubble{right:132px;padding:8px 12px}
.csp .stage.cv .bubble .ko{font-size:18px}
.csp .stage.cv .staff{right:10px;height:104px}
.csp .stage.cv .items{right:120px}
.csp .stage.cv .bagroll{right:12px;top:-10px;width:36px}
.csp .stage.cv .reader{right:auto;left:104px}
}
@media (min-width:1024px){
.csp .stage.cv .disp{left:20px}
.csp .stage.cv .items{right:250px}
.csp .stage.cv .bagroll{right:20px;left:auto}
.csp .stage.cv .reader{right:auto;left:120px}}
@media (max-width:1023px){
.csp .stage.cv .items{right:112px;gap:0}
.csp .stage.cv .items svg{width:27px;height:30px}
.csp .stage.cv .reader{left:96px;width:32px}}
@media (max-width:1023px){
.csp .stage.cv .bagroll{display:none}}
.csp .rcard .items{left:61%}
@media (min-width:1024px){
.csp .stage.cv .reader{left:112px}
.csp .stage.cv .items{left:162px;right:auto;gap:2px}
.csp .stage.cv .bubble{right:210px}}

/* 진열대·바구니는 실제 매장처럼 다크에서도 밝게 */
.csp .gondola,.csp .bsheet{--accent-text:#B8461F;--ok:#13704E;--ok-soft:#E3F5EC;--bad:#C8302B;--bad-soft:#FDE8E7;--sunk:#F5F0EC;--line:#F0E2D9;--line-2:#E2CFC3;--surface:#FFFFFF}
.csp .face{border:0;background:none;padding:0;cursor:pointer;width:100%}
.csp .face.out{cursor:not-allowed}
.csp .face:focus-visible,.csp .aisle button:focus-visible,.csp .bline button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.csp .bline .qty button{width:44px;height:44px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line-2);display:grid;place-items:center;font:800 18px/1 var(--font)}
.csp .bline .qty output{width:22px;text-align:center;font:800 16px/1 var(--font)}
.csp .bsheet .bh .x{border:0;background:none;cursor:pointer}

/* 11-21 디자인 검수 반영 */
.csp .ticket{scroll-margin-top:72px}
.csp .ticket .what.list{border-top:0;padding-top:0;margin-bottom:0}
.csp .ticket:has(.what.list){padding-bottom:10px}
.csp .recap .m.bn{background:var(--sunk);color:var(--ink-2,#6b625c);font:800 11px/1 var(--font)}
@media (max-width:1023px){.csp.rdone .setrow.mob,.csp.rdone .ticket{display:none}}
@media (min-width:1024px){.csp .stage.cv .items{left:120px}}
