:root{
  --teal:#1f8fb4; --teal-d:#156f8d; --teal-l:#e3f2f7;
  --pink:#e9b8cb; --pink-d:#cf6f96; --pink-l:#fbeef3;
  --cream:#fdf9f6; --ink:#1d2b33; --muted:#6b7a83; --line:#ebe3de;
  --ok:#2f9e6b; --warn:#d98a1c; --bad:#c94b4b;
  --r:18px; --shadow:0 10px 30px -12px rgba(29,43,51,.25);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Commissioner,system-ui,sans-serif;background:var(--cream);color:var(--ink);line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:none;background:none}
img{display:block;max-width:100%}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.script{font-family:Yellowtail,cursive;font-weight:400}
.hidden{display:none!important}

/* header */
header.top{position:sticky;top:0;z-index:40;background:rgba(253,249,246,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;gap:18px;height:68px}
.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-weight:800;color:var(--teal)}
.brand img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#fff}
.brand span{font-family:Yellowtail,cursive;font-size:30px;font-weight:400;line-height:1}
nav.links{display:flex;gap:4px;margin-left:auto}
nav.links a{padding:8px 12px;border-radius:999px;text-decoration:none;color:var(--ink);font-weight:600;font-size:15px}
nav.links a:hover{background:var(--teal-l);color:var(--teal-d)}
.lang{display:flex;border:1.5px solid var(--line);border-radius:999px;overflow:hidden;font-size:13px;font-weight:700}
.lang button{padding:6px 10px;color:var(--muted)}
.lang button.on{background:var(--teal);color:#fff}
.cartbtn{position:relative;background:var(--pink-d);color:#fff;border-radius:999px;padding:10px 16px;font-weight:700;display:flex;gap:8px;align-items:center}
.cartbtn .n{background:#fff;color:var(--pink-d);border-radius:999px;min-width:22px;height:22px;display:grid;place-items:center;font-size:12px;padding:0 6px}
@media(max-width:860px){nav.links{display:none}.lang{margin-left:auto}}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:999px;font-weight:700;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s}
.btn:active{transform:scale(.97)}
.btn.primary{background:var(--teal);color:#fff;box-shadow:0 8px 20px -8px var(--teal)}
.btn.primary:hover{background:var(--teal-d)}
.btn.ghost{background:#fff;border:1.5px solid var(--line);color:var(--ink)}
.btn.pink{background:var(--pink-d);color:#fff;box-shadow:0 10px 24px -10px var(--pink-d)}
.btn.pink:hover{background:#bd5a83}
.btn.sm{padding:9px 14px;font-size:14px}
.btn:disabled{opacity:.45;cursor:not-allowed}
/* topbar */
.topbar{background:var(--ink);color:#d7e2e7;font-size:13px}
.topbar .wrap{display:flex;gap:18px;align-items:center;height:36px;overflow:hidden;white-space:nowrap}
.topbar a{color:#fff;text-decoration:none;font-weight:600}
.topbar .sep{opacity:.35}
@media(max-width:700px){.topbar .hide-m{display:none}}

/* hero */
.hero{position:relative;min-height:calc(100vh - 104px);min-height:calc(100svh - 104px);display:flex;align-items:center;overflow:hidden;color:#fff;isolation:isolate;background:#0f2f3d}
.hero .bg{position:absolute;top:0;bottom:0;right:0;width:60%;background:url(../img/tree_bar.jpg) center 30%/cover no-repeat;z-index:-2;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 12% 85%,rgba(207,111,150,.38),transparent 42%),radial-gradient(circle at 30% 10%,rgba(31,143,180,.35),transparent 40%)}
.hero .wrap{width:100%;padding-top:64px;padding-bottom:100px}
.hero .inner{max-width:600px}
.hero .eyebrow{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:700;letter-spacing:.14em;color:var(--pink);margin-bottom:18px}
.hero .eyebrow::before{content:"";width:34px;height:2px;background:var(--pink)}
.hero h1{font-size:clamp(40px,5.6vw,70px);line-height:1.03;letter-spacing:-.025em;font-weight:800}
.hero h1 .script{color:var(--pink);font-size:1.12em;display:block;margin-top:6px;font-weight:400;letter-spacing:0}
.hero p.lead{font-size:18px;color:rgba(255,255,255,.85);margin:22px 0 30px;max-width:520px}
.pills{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.status,.gpill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(8px);padding:7px 14px;border-radius:999px;font-size:14px;font-weight:600;color:#fff;text-decoration:none}
.gpill{background:rgba(207,111,150,.35);border-color:rgba(233,184,203,.6)}
.gpill:hover{background:rgba(207,111,150,.55)}
.status i{width:9px;height:9px;border-radius:50%;background:#4fd39a;box-shadow:0 0 0 4px rgba(79,211,154,.25)}
.status.closed i{background:#ff7a7a;box-shadow:0 0 0 4px rgba(255,122,122,.25)}
.hero .ctas{display:flex;gap:12px;flex-wrap:wrap}
.btn.glass{background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.4);color:#fff;backdrop-filter:blur(8px)}
.btn.glass:hover{background:rgba(255,255,255,.22)}
.hero .facts{display:flex;gap:34px;margin-top:44px;flex-wrap:wrap}
.hero .facts b{display:block;font-size:26px;font-weight:800}
.hero .facts span{font-size:13px;color:rgba(255,255,255,.7)}
.scrollhint{position:absolute;left:50%;bottom:58px;transform:translateX(-50%);font-size:12px;opacity:.7;text-decoration:none;color:#fff}
@media(max-width:900px){.hero .bg{width:100%;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 70%);mask-image:linear-gradient(0deg,transparent 0,#000 70%);opacity:.5}}

/* features */
.features{margin-top:-46px;position:relative;z-index:2}
.features .grid4{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:22px;box-shadow:var(--shadow);border:1px solid var(--line);overflow:hidden}
.feat{padding:22px 22px;display:flex;gap:14px;align-items:flex-start}
.feat+.feat{border-left:1px solid var(--line)}
.feat .ic{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:22px;background:var(--pink-l);flex:none}
.feat:nth-child(even) .ic{background:var(--teal-l)}
.feat b{display:block;font-size:15px}
.feat span{font-size:13px;color:var(--muted)}
@media(max-width:900px){.features .grid4{grid-template-columns:1fr 1fr}.feat:nth-child(3){border-left:none}.feat:nth-child(n+3){border-top:1px solid var(--line)}}
@media(max-width:520px){.features .grid4{grid-template-columns:1fr}.feat+.feat{border-left:none;border-top:1px solid var(--line)}}

/* band */
.band{position:relative;isolation:isolate;color:#fff;text-align:center;padding:130px 20px;overflow:hidden}
.band .bg{position:absolute;inset:0;background:url(../img/outdoor_sea.jpg) center 45%/cover;z-index:-2}
.band::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,47,61,.35),rgba(15,47,61,.7));z-index:-1}
.band .q{font-family:Yellowtail,cursive;font-size:clamp(44px,6.5vw,80px);line-height:1.1;text-shadow:0 4px 30px rgba(0,0,0,.35)}
.band p{opacity:.95;margin-top:10px;font-size:18px;text-shadow:0 2px 12px rgba(0,0,0,.4)}

/* featured */
.feats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.fcard{position:relative;border-radius:24px;overflow:hidden;min-height:440px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;isolation:isolate;box-shadow:var(--shadow)}
.fcard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s}
.fcard:hover img{transform:scale(1.05)}
.fcard::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(15,30,38,.88));z-index:-1}
.fcard .tag{align-self:flex-start;background:var(--pink-d);font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px;letter-spacing:.05em;margin-bottom:10px}
.fcard h3{font-size:24px;line-height:1.15}
.fcard p{font-size:14px;opacity:.88;margin:8px 0 14px}
.fcard .flav{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.fcard .flav span{font-size:12px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);padding:3px 9px;border-radius:999px}
@media(max-width:900px){.feats{grid-template-columns:1fr}.fcard{min-height:380px}}

/* giveaway hero */
.gbig{grid-column:1/-1;display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:var(--shadow)}
.gbig .poster{border-radius:20px;overflow:hidden}
.gbig .poster img{width:100%;height:auto}
.gbig h3{font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.02em}
.gbig .sub{color:var(--muted);margin:8px 0 20px}
.prizes{display:grid;gap:10px;margin-bottom:18px}
.prize{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:var(--cream);border:1px solid var(--line)}
.prize .m{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:18px;color:#fff;flex:none}
.prize:nth-child(1) .m{background:linear-gradient(135deg,#f2b33d,#d48a10)}
.prize:nth-child(2) .m{background:linear-gradient(135deg,#a9b6bd,#77868e)}
.prize:nth-child(3) .m{background:linear-gradient(135deg,#d99a6c,#a8673b)}
.prize b{font-size:17px}
.prize .w{margin-left:auto;font-size:13px;font-weight:700;color:var(--ok);text-align:right}
.rule{display:flex;gap:12px;align-items:center;background:var(--pink-l);border:1.5px dashed var(--pink);border-radius:16px;padding:14px 16px;font-weight:700;margin-bottom:14px}
.rule .ic{font-size:26px}
.gmeta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.gmeta span{background:var(--teal-l);color:var(--teal-d);font-weight:700;font-size:13px;padding:6px 12px;border-radius:999px}
.countdown{display:flex;gap:10px;margin-bottom:20px}
.countdown div{background:var(--ink);color:#fff;border-radius:14px;padding:10px 14px;text-align:center;min-width:72px}
.countdown b{display:block;font-size:24px;line-height:1}
.countdown small{font-size:11px;opacity:.75}
@media(max-width:900px){.gbig{grid-template-columns:1fr}}

/* events */
.event{display:grid;grid-template-columns:320px 1fr;gap:32px;align-items:center;background:#16161a;color:#fff;border-radius:28px;padding:22px;overflow:hidden}
.event img{border-radius:18px;width:100%}
.event h3{font-size:clamp(26px,3vw,36px);margin:10px 0}
.event p{opacity:.85;max-width:520px}
.event .tag{display:inline-block;background:var(--pink-d);font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px;letter-spacing:.05em}
@media(max-width:800px){.event{grid-template-columns:1fr}.event img{max-width:360px}}

/* insta grid */
.insta{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:180px;gap:10px;grid-auto-flow:dense}
.insta a{position:relative;border-radius:16px;overflow:hidden;display:block}
.insta img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.insta a::after{content:"📸";position:absolute;inset:0;display:grid;place-items:center;font-size:28px;background:rgba(207,111,150,.5);opacity:0;transition:.25s}
.insta a:hover img{transform:scale(1.06)}
.insta a:hover::after{opacity:1}
.insta .w2{grid-column:span 2}.insta .h2{grid-row:span 2}
@media(max-width:860px){.insta{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}}
.contact a.ph{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px dashed var(--line);text-decoration:none;color:var(--ink);font-weight:700;font-size:17px}
.contact a.ph small{display:block;font-weight:500;font-size:12px;color:var(--muted)}
.contact .ic{width:38px;height:38px;border-radius:12px;background:var(--teal-l);display:grid;place-items:center}
.thumb{width:64px;height:64px;border-radius:14px;object-fit:cover;flex:none;overflow:hidden;cursor:zoom-in;display:block;padding:0;border:none;background:none}
.thumb img,.thumb svg{width:100%;height:100%;object-fit:cover;display:block}
.item:hover .thumb svg{transform:scale(1.04)}.thumb svg{transition:transform .2s}
.lthumb{width:44px;height:44px;border-radius:10px;overflow:hidden;flex:none}.lthumb img,.lthumb svg{width:100%;height:100%;object-fit:cover}
.pview{width:100%;aspect-ratio:1;border-radius:18px;overflow:hidden;margin-bottom:14px}.pview img,.pview svg{width:100%;height:100%;object-fit:cover;display:block}
.aimg{width:52px;height:52px;border-radius:10px;overflow:hidden;display:block}.aimg img,.aimg svg{width:100%;height:100%;object-fit:cover}

/* sections */
section{padding:56px 0}
.sh{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.sh h2{font-size:clamp(28px,3.4vw,40px);letter-spacing:-.02em;font-weight:800}
.sh h2 .script{color:var(--teal);font-weight:400}
.sh p{color:var(--muted)}

/* offers */
.offers{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.offer{background:linear-gradient(135deg,var(--pink-l),#fff 70%);border:1.5px solid #f3d6e2;border-radius:var(--r);padding:20px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden}
.offer .tag{align-self:flex-start;background:var(--pink-d);color:#fff;font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px;letter-spacing:.04em}
.offer h3{font-size:19px;line-height:1.25}
.offer p{color:var(--muted);font-size:14px}
.offer .row{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:8px;flex-wrap:wrap}
.offer .row .btn{white-space:nowrap}
.price{font-weight:800;font-size:18px;color:var(--teal-d);white-space:nowrap}
.old{white-space:nowrap;text-decoration:line-through;color:var(--muted);font-weight:500;font-size:14px;margin-left:6px}
.empty{color:var(--muted);padding:24px;border:1.5px dashed var(--line);border-radius:var(--r);text-align:center}

/* giveaways */
.gw{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.gcard{background:var(--teal);color:#fff;border-radius:22px;padding:24px;position:relative;overflow:hidden}
.gcard::after{content:"";position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.08)}
.gcard .tag{display:inline-block;background:var(--pink);color:var(--ink);font-weight:800;font-size:12px;padding:4px 10px;border-radius:999px;letter-spacing:.04em}
.gcard h3{font-size:22px;margin:12px 0 6px}
.gcard .prize{font-weight:700;color:var(--pink)}
.gcard p{opacity:.9;font-size:15px;margin:8px 0}
.gcard .meta{font-size:13px;opacity:.85;margin-bottom:14px}
.gcard.ended{background:#3b4a52}
.gcard .prize-l{font-weight:700;color:var(--pink);margin:4px 0}
.gcard .winner{background:rgba(255,255,255,.12);border-radius:12px;padding:10px 12px;font-weight:700}

/* menu */
.menubar{position:sticky;top:68px;z-index:30;background:var(--cream);padding:12px 0;border-bottom:1px solid var(--line)}
.search{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:10px 16px;margin-bottom:10px}
.search input{border:none;outline:none;flex:1;background:none;font-size:16px}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.chips::-webkit-scrollbar{display:none}
.chip{white-space:nowrap;padding:8px 14px;border-radius:999px;background:#fff;border:1.5px solid var(--line);font-weight:600;font-size:14px}
.chip.on{background:var(--ink);border-color:var(--ink);color:#fff}
.cat{margin-top:34px;scroll-margin-top:190px}
#offers{padding-top:70px}
.cat h3{font-size:22px;margin-bottom:12px;display:flex;align-items:center;gap:10px}
.cat h3 .em{width:40px;height:40px;border-radius:12px;background:var(--teal-l);display:grid;place-items:center;font-size:20px}
.cat .note{font-size:13px;color:var(--muted);margin:-6px 0 12px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 12px 10px 10px;display:flex;align-items:center;gap:12px;transition:border-color .15s,box-shadow .15s}
.item:hover{border-color:#d9e8ee;box-shadow:0 6px 18px -12px rgba(31,143,180,.6)}
.item .nm{font-weight:600;font-size:15px;line-height:1.3}
.item .badges{display:flex;gap:6px;margin-top:4px;flex-wrap:wrap}
.badge{font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px;letter-spacing:.03em}
.badge.new{background:var(--pink-l);color:var(--pink-d)}
.badge.sale{background:#fff3e0;color:var(--warn)}
.badge.na{background:#f1f1f1;color:#888}
.item .pr{margin-left:auto;text-align:right;white-space:nowrap}
.add{width:38px;height:38px;border-radius:50%;background:var(--teal);color:#fff;font-size:22px;line-height:1;display:grid;place-items:center;flex:none}
.add:hover{background:var(--teal-d)}
.item.na{opacity:.55}
.item.na .add{background:#bbb;cursor:not-allowed}

/* info */
.info{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:1060px){.info{grid-template-columns:1fr 1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px}
.card h4{font-size:14px;letter-spacing:.02em;color:var(--muted);margin-bottom:10px}
.hours{width:100%;border-collapse:collapse;font-size:15px}
.hours td{padding:5px 0;border-bottom:1px dashed var(--line)}
.hours td:last-child{text-align:right;font-weight:600}
.hours tr.today td{color:var(--teal-d);font-weight:800}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}
.gallery img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:16px}
@media(max-width:600px){.info{grid-template-columns:1fr}}

footer{background:var(--ink);color:#c9d3d8;padding:40px 0 28px;margin-top:40px;font-size:14px}
footer .wrap{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-start}
footer a{color:#fff}
footer .script{font-size:34px;color:var(--pink)}
footer .small{font-size:12px;opacity:.7;max-width:520px;margin-top:8px}

/* drawer & modals */
.scrim{position:fixed;inset:0;background:rgba(20,30,36,.45);z-index:60;opacity:0;pointer-events:none;transition:opacity .2s}
.scrim.on{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(440px,100%);background:var(--cream);z-index:61;transform:translateX(100%);transition:transform .25s ease,visibility .25s;display:flex;flex-direction:column;visibility:hidden}
.drawer.on{transform:none;visibility:visible;box-shadow:-20px 0 40px -20px rgba(0,0,0,.3)}
.dh{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}
.dh h3{font-size:20px}
.x{width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--line);font-size:18px}
.db{flex:1;overflow:auto;padding:16px 20px}
.df{padding:16px 20px;border-top:1px solid var(--line);background:#fff}
.line{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px dashed var(--line)}
.line .nm{font-weight:600;font-size:15px}
.line .op{font-size:13px;color:var(--muted)}
.qty{display:flex;align-items:center;gap:6px;margin-left:auto}
.qty button{width:30px;height:30px;border-radius:50%;background:#fff;border:1.5px solid var(--line);font-weight:800}
.tot{display:flex;justify-content:space-between;font-size:15px;margin:4px 0}
.tot.big{font-size:20px;font-weight:800}
.field{margin-bottom:12px}
.field label{display:block;font-size:13px;font-weight:700;margin-bottom:5px;color:var(--muted)}
.field input,.field textarea,.field select{width:100%;padding:11px 13px;border:1.5px solid var(--line);border-radius:12px;background:#fff;outline:none}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--teal)}
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:4px}
.seg button{padding:10px 6px;border-radius:10px;font-weight:700;font-size:14px;color:var(--muted)}
.seg button.on{background:var(--teal);color:#fff}
.pay{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pay button{background:#fff;border:2px solid var(--line);border-radius:14px;padding:14px;text-align:left;font-weight:700}
.pay button small{display:block;font-weight:500;color:var(--muted);font-size:12px}
.pay button.on{border-color:var(--teal);background:var(--teal-l)}
.err{color:var(--bad);font-size:13px;margin-top:6px}

.modal{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:20px;pointer-events:none}
.modal .box{pointer-events:auto;background:var(--cream);border-radius:22px;width:min(460px,100%);max-height:90vh;overflow:auto;padding:24px;box-shadow:var(--shadow);transform:scale(.96);opacity:0;transition:.18s}
.modal.on .box{transform:none;opacity:1}
.modal:not(.on){visibility:hidden}
.opts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.opts button{padding:8px 12px;border-radius:999px;background:#fff;border:1.5px solid var(--line);font-weight:600;font-size:14px}
.opts button.on{border-color:var(--teal);background:var(--teal-l);color:var(--teal-d)}
.toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(20px);background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-weight:600;z-index:90;opacity:0;transition:.2s;pointer-events:none;font-size:14px}
.toast.on{opacity:1;transform:translateX(-50%)}
.success{text-align:center}
.success .big{font-size:56px}
.success .num{font-size:30px;font-weight:800;color:var(--teal-d);letter-spacing:.04em}
.demo{background:#fff6e5;border:1px solid #f2d9a6;color:#7a5211;border-radius:12px;padding:10px 12px;font-size:13px;margin:10px 0}

/* admin */
#admin{min-height:100vh;background:#f4f6f7}
.atop{background:var(--ink);color:#fff}
.atop .wrap{display:flex;align-items:center;gap:14px;height:62px}
.atabs{display:flex;gap:6px;overflow-x:auto;padding:14px 0}
.atabs button{padding:9px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:700;white-space:nowrap}
.atabs button.on{background:var(--teal);color:#fff;border-color:var(--teal)}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:16px}
.panel h3{font-size:18px;margin-bottom:12px}
table.t{width:100%;border-collapse:collapse;font-size:14px}
table.t th{text-align:left;font-size:13px;color:var(--muted);padding:8px;border-bottom:1px solid var(--line)}
table.t td{padding:8px;border-bottom:1px solid #f0f0f0;vertical-align:middle}
table.t input[type=number],table.t input[type=text]{width:90px;padding:6px 8px;border:1.5px solid var(--line);border-radius:8px}
table.t input.wide{width:100%;min-width:160px}
.sw{position:relative;width:42px;height:24px;border-radius:999px;background:#ccc;transition:.15s;flex:none}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.15s}
.sw.on{background:var(--ok)}
.sw.on::after{left:21px}
.order{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:10px;background:#fff}
.order .oh{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.st{font-size:12px;font-weight:800;padding:3px 10px;border-radius:999px}
.st.new{background:#fde8ef;color:var(--pink-d)}
.st.prep{background:#fff3e0;color:var(--warn)}
.st.ready{background:#e3f2f7;color:var(--teal-d)}
.st.done{background:#e6f5ee;color:var(--ok)}
.st.cancel{background:#eee;color:#888}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:700px){.grid2{grid-template-columns:1fr}}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}
.kpi b{display:block;font-size:24px}
.kpi span{font-size:13px;color:var(--muted);font-weight:700}
@media(max-width:700px){.kpis{grid-template-columns:1fr 1fr}}
.login{max-width:360px;margin:80px auto;text-align:center}
.login img{width:110px;margin:0 auto 16px;border-radius:50%}
.pin{letter-spacing:.5em;text-align:center;font-size:24px}
.ent{font-size:13px;max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:10px;margin-top:8px}
.ent div{padding:6px 10px;border-bottom:1px solid #f2f2f2;display:flex;justify-content:space-between;gap:8px}
.ent div.win{background:#fff6e5;font-weight:800}

/* ================= v3: views ================= */
body[data-view="admin"] #site, body[data-view="admin"] #track, body[data-view="tablet"] #site, body[data-view="tablet"] #track,
body[data-view="admin"] .cartbar, body[data-view="tablet"] .cartbar, body[data-view="admin"] .myorders, body[data-view="tablet"] .myorders { display: none !important; }
.staff { display: none; } body[data-view="admin"] #adminRoot, body[data-view="tablet"] #tabletRoot { display: block; }
body[data-view="admin"], body[data-view="tablet"] { background: #f4f6f7; }
#printArea { display: none; }
input, select, textarea { font-size: 16px; }
.linkbtn { background: none; border: none; color: var(--teal-d); font-weight: 700; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn.muted { color: var(--muted); font-weight: 600; } .wide { width: 100%; }
.grow { flex: 1; } .mrow { display: flex; gap: 10px; margin-top: 16px; align-items: center; justify-content: flex-end; }
.hint { color: var(--muted); font-size: 13px; } .err:empty { display: none; } .err.big { font-size: 14px; font-weight: 700; background: #fdecec; padding: 10px 12px; border-radius: 12px; margin-top: 8px; }
.field .hint { margin-top: 4px; } .field .err { margin-top: 4px; font-weight: 600; }
.locked { padding: 11px 13px; border-radius: 12px; background: var(--teal-l); font-weight: 800; color: var(--teal-d); }
.check { display: flex; gap: 8px; font-size: 14px; align-items: flex-start; margin: 6px 0 4px; } .check input { margin-top: 4px; width: 18px; height: 18px; }

/* order banner (closed / paused / table) */
.obanner { border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.obanner.warn { background: #fff4e0; color: #7a5211; border: 1px solid #f2d9a6; }
.obanner.ok { background: var(--teal-l); color: var(--teal-d); border: 1px solid #bfe0ec; }
.obanner .linkbtn { padding: 0; }

/* menu rows */
.item { position: relative; gap: 12px; min-height: 84px; }
.item .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item .nm { font-size: 15px; } .item .pr { margin: 2px 0 0; text-align: left; display: flex; gap: 6px; align-items: baseline; }
.item .pr .price { font-size: 16px; } .item .pr .old { margin: 0; }
.item .badges:empty { display: none; }
.item.inc { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset; }
.stepper { display: flex; align-items: center; gap: 2px; background: var(--teal); color: #fff; border-radius: 999px; padding: 3px; flex: none; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 20px; font-weight: 700; line-height: 1; display: grid; place-items: center; }
.stepper button:hover { background: rgba(255, 255, 255, .18); } .stepper b { min-width: 20px; text-align: center; }
.stepper.sm { background: #fff; color: var(--ink); border: 1.5px solid var(--line); } .stepper.sm button { color: var(--ink); width: 30px; height: 30px; }
.cat h3 small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.cat .note { font-size: 12.5px; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.offer-pic { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; } .offer-pic img, .offer-pic svg { width: 100%; height: 100%; object-fit: cover; }
.gmeta .dark { background: var(--ink) !important; color: #fff !important; }

/* floating cart bar */
.cartbar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 50; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 12px 10px 10px; font-weight: 700; font-size: 15px; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .5);
  width: min(460px, calc(100% - 28px)); transition: transform .25s ease; }
.cartbar.on { transform: translate(-50%, 0); }
.cartbar .cnt { background: var(--pink-d); border-radius: 999px; min-width: 34px; height: 34px; display: grid; place-items: center; }
.cartbar b { margin-left: auto; background: rgba(255, 255, 255, .12); padding: 7px 12px; border-radius: 999px; }
.myorders { position: fixed; right: 14px; top: 116px; z-index: 35; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.myorders a { color: var(--teal-d); margin-left: 4px; }
@media (max-width: 700px) { .myorders { top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; } }

/* drawer */
.drawer { width: min(480px, 100%); }
.line { gap: 10px; } .lthumb { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex: none; display: grid; place-items: center; font-size: 20px; background: var(--pink-l); }
.lthumb img, .lthumb svg { width: 100%; height: 100%; object-fit: cover; } .lmid { flex: 1; min-width: 0; }
.df { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.seg button { font-size: 14px; padding: 11px 4px; }
@media (max-width: 600px) { .drawer { width: 100%; } .dh { padding: 14px 16px; } .db { padding: 12px 16px; } .df { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); } }

/* modals */
.modal .box { width: min(460px, 100%); }
@media (max-width: 600px) { .modal { place-items: end center; padding: 0; } .modal .box { border-radius: 22px 22px 0 0; max-height: 92vh; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); } }
.mhead { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; } .mhead h3 { font-size: 19px; line-height: 1.2; }
.mpic { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; }
.vhead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; } .vhead h3 { font-size: 21px; line-height: 1.2; }
.cat-l { font-size: 12px; font-weight: 700; color: var(--muted); }

/* order tracking */
#track { min-height: 100vh; background: linear-gradient(180deg, var(--teal-l), var(--cream) 340px); padding: 18px 0 60px; }
.tw { max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.tcard { background: #fff; border-radius: 26px; padding: 26px 22px; text-align: center; box-shadow: var(--shadow); position: relative; border: 1px solid var(--line); }
.tcard .tno { position: absolute; top: 16px; right: 18px; text-align: right; } .tcard .tno small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.tcard .tno b { font-size: 26px; color: var(--teal-d); }
.ticon { font-size: 54px; margin: 6px 0 4px; } .tcard h2 { font-size: 26px; letter-spacing: -.01em; } .tsub { color: var(--muted); margin-top: 6px; font-size: 16px; }
.tcard.st-ready { background: linear-gradient(135deg, #e6f7ef, #fff); border-color: #bfe3cf; } .tcard.st-ready h2 { color: var(--ok); }
.tcard.st-ready .ticon { animation: bell 1s ease-in-out infinite; } @keyframes bell { 0%, 100% { transform: rotate(0) } 25% { transform: rotate(-14deg) } 75% { transform: rotate(14deg) } }
.tcard.st-cancel h2 { color: var(--bad); } .tcard.st-pending_payment { border-color: #f2d9a6; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 22px; }
.steps div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.steps i { width: 100%; height: 6px; border-radius: 999px; background: var(--line); }
.steps .on i { background: var(--teal); } .steps .on { color: var(--teal-d); } .steps .cur i { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45 } }
.live { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.2s infinite; flex: none; }
.tsum h4 { margin-bottom: 8px; } .tmeta { font-weight: 700; margin-bottom: 8px; }
.tline { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.tline em { color: var(--muted); font-style: normal; font-size: 13px; } .tline.tot { font-weight: 800; font-size: 18px; border: none; }
.tpay { font-weight: 700; color: var(--teal-d); margin-top: 6px; }
.tcall { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; } .tcall span { width: 100%; color: var(--muted); }
.tcall a { background: var(--teal-l); color: var(--teal-d); font-weight: 800; padding: 9px 14px; border-radius: 999px; text-decoration: none; }

/* ================= admin ================= */
.atop img { width: 36px; height: 36px; border-radius: 50%; }
.atop .wrap { gap: 10px; flex-wrap: wrap; height: auto; min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
.atop b { margin-right: auto; }
.glass2 { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); text-decoration: none; }
.ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; } .ph h3 { margin: 0; } .wrapf { flex-wrap: wrap; }
.in { padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none; min-width: 0; }
.in:focus { border-color: var(--teal); } .in.grow { flex: 1; min-width: 180px; }
.trow { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.plist { display: flex; flex-direction: column; }
.prow { display: grid; grid-template-columns: 64px minmax(180px, 1fr) 96px 104px 76px 56px 40px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.prow .pnames { display: flex; flex-direction: column; gap: 4px; } .prow .pnames .en { color: var(--muted); font-size: 14px; } .prow small { font-size: 12px; color: var(--muted); }
.prow .pf { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); } .prow .num { width: 100%; }
.aimg { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; cursor: pointer; display: block; }
.aimg img, .aimg svg { width: 100%; height: 100%; object-fit: cover; }
.aimg .cam { position: absolute; right: 3px; bottom: 3px; background: rgba(0, 0, 0, .6); color: #fff; border-radius: 8px; font-size: 12px; padding: 1px 4px; }
@media (max-width: 860px) { .prow { grid-template-columns: 64px 1fr 1fr; } .prow .pnames { grid-column: 2 / -1; } .prow [data-del] { justify-self: end; } }
.setrow { padding: 8px 0; }
.qrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 12px; }
.qr { border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; }
.qr small { color: var(--muted); font-size: 11px; }
.panel.inner { background: var(--cream); margin: 14px 0 0; }
.entryf { display: grid; grid-template-columns: 1.2fr 1fr .8fr auto; gap: 8px; margin-top: 8px; }
.entryf input { padding: 9px; border: 1.5px solid var(--line); border-radius: 10px; min-width: 0; }
@media (max-width: 700px) { .entryf { grid-template-columns: 1fr 1fr; } }
.gimg { margin-left: auto; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--teal-d); }
.gimg img { width: 44px; height: 56px; object-fit: cover; border-radius: 8px; }
.win-l { font-size: 13px; color: var(--ok); font-weight: 700; }

/* ================= tablet ================= */
.tab { min-height: 100vh; display: flex; flex-direction: column; background: #eef1f3; }
.tbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 10px 14px; flex-wrap: wrap; }
.tbar img { width: 36px; height: 36px; border-radius: 50%; } .tbar > b { font-size: 17px; }
.conn { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.conn i { width: 9px; height: 9px; border-radius: 50%; background: #aaa; } .conn.on i { background: #4fd39a; } .conn.off i { background: #ff7a7a; animation: pulse 1s infinite; }
.tstats { margin-left: auto; font-size: 14px; opacity: .9; }
.tbtn { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; padding: 9px 12px; font-weight: 700; font-size: 14px; }
.tbtn.warn { background: var(--warn); border-color: var(--warn); }
.tstart { margin: 16px; background: #fff; border-radius: 18px; padding: 22px; text-align: center; border: 2px dashed var(--teal); } .tstart p { color: var(--muted); margin-top: 8px; }
.tstart .btn { font-size: 20px; padding: 18px 30px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 14px; align-items: start; flex: 1; }
.cols.one { grid-template-columns: 1fr; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.col { padding: 0; }
.col h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin: 2px 4px 10px; }
.col h3 small { background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 13px; }
.c-new h3 small { background: var(--pink-d); } .c-ready h3 small { background: var(--ok); }
.cempty { color: var(--muted); text-align: center; padding: 26px; border: 2px dashed #d8dde0; border-radius: 16px; }
.ocard { position: relative; background: #fff; border-radius: 18px; padding: 14px; margin-bottom: 12px; border: 2px solid transparent; box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .35); }
.ocard.s-new { border-color: var(--pink-d); animation: glow 1.6s ease-in-out infinite; } @keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(207, 111, 150, .22) } }
.ocard.s-ready { border-color: var(--ok); } .ocard.late { border-color: var(--bad); }
.ocard .oh { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-right: 30px; }
.ono { font-size: 28px; line-height: 1; } .ago { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 13px; }
.mode { font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #eef1f3; }
.m-table { background: #fff3e0; color: #8a5200; } .m-delivery { background: #e8e9fb; color: #3b3fa0; } .m-takeaway { background: var(--teal-l); color: var(--teal-d); }
.olines { list-style: none; margin: 12px 0 8px; font-size: 18px; line-height: 1.35; } .olines li { padding: 3px 0; } .olines em { font-style: normal; background: #fff3c4; padding: 0 6px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.onote { background: #fff3c4; border-radius: 10px; padding: 8px 10px; font-weight: 700; margin-bottom: 8px; }
.ocust { font-size: 14px; color: #4a5a63; margin-bottom: 8px; } .ocust a { color: var(--teal-d); font-weight: 700; }
.opay { font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 10px; display: flex; justify-content: space-between; }
.opay.paid { background: #e6f5ee; color: var(--ok); } .opay.cash { background: #fff4e0; color: #7a5211; } .opay b { font-size: 16px; }
.oeta { margin-top: 8px; font-weight: 800; color: var(--teal-d); } .oeta.late { color: var(--bad); }
.eta { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.eta button { background: var(--teal); color: #fff; font-weight: 800; font-size: 18px; padding: 14px 0; border-radius: 12px; }
.eta button:active { transform: scale(.96); }
.arow { display: flex; gap: 8px; margin-top: 10px; align-items: center; } .arow .hint { margin-left: auto; }
.tb { flex: 1; padding: 14px; border-radius: 12px; font-weight: 800; font-size: 16px; }
.tb.go { background: var(--ok); color: #fff; } .tb.done { background: var(--ink); color: #fff; } .tb.ghost { flex: 0 0 auto; background: #eef1f3; color: var(--ink); padding: 14px 16px; }
.tb.sm { padding: 6px 10px; font-size: 13px; }
.tprint { position: absolute; top: 12px; right: 12px; font-size: 18px; opacity: .6; }
.rrow { display: grid; grid-template-columns: 60px 90px 1fr 70px 80px 120px 60px auto; gap: 8px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; font-size: 14px; }
@media (max-width: 800px) { .rrow { grid-template-columns: 1fr 1fr 1fr; } }
body.flash .tab { animation: flash 1.6s; } @keyframes flash { 0%, 40% { background: #ffd6e5 } 100% { background: #eef1f3 } }

/* print: receipt (80mm) & QR sheets */
@media print {
  body > *:not(#printArea) { display: none !important; }
  #printArea { display: block !important; }
  .receipt { width: 72mm; font: 12px/1.35 monospace; color: #000; } .receipt h1 { font-size: 30px; margin: 4px 0; } .receipt h2 { font-size: 18px; }
  .receipt hr { border: none; border-top: 1px dashed #000; margin: 6px 0; } .receipt .r { display: flex; justify-content: space-between; gap: 6px; } .receipt .big { font-size: 15px; font-weight: 700; }
  .qrs.print { grid-template-columns: repeat(3, 1fr); } .qrs.print .mrow { display: none; } .qr { break-inside: avoid; }
}

/* ===== v4: announcement, legal pages, footer links ===== */
.announce { background: var(--pink-d); color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 8px 14px; }
.flinks { font-size: 13px; margin: 6px 0; } .flinks a { color: #c9d3d8; }
.lk { color: var(--teal-d); font-weight: 700; }
.legal .card { padding: 26px; } .legal h2 { font-size: 26px; margin-bottom: 12px; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; } .legal p { margin: 6px 0; line-height: 1.6; } .legal ul { margin: 6px 0 6px 20px; line-height: 1.6; }
.tstat { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 8px 14px; border-radius: 999px; margin-bottom: 14px; }
.tstat.on { background: #e6f5ee; color: var(--ok); } .tstat.off { background: #fdecec; color: var(--bad); } .tstat.na { background: #eef1f3; color: var(--muted); }
.crow { display: grid; grid-template-columns: 30px 60px 1.3fr 1.2fr 90px 90px 70px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.crow .mv { display: flex; flex-direction: column; } .crow .mv button { font-size: 12px; line-height: 1; padding: 3px; }
.crow small { color: var(--muted); font-size: 12px; } .crow label { font-size: 12px; font-weight: 700; color: var(--muted); display: flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .crow { grid-template-columns: 30px 60px 1fr 1fr; } }
.ltabs { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; } .ltabs button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; }
.ltabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
textarea.legal-ed { width: 100%; min-height: 380px; font: 13px/1.5 ui-monospace, Menlo, monospace; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; }
.prow select.in { font-size: 12px; padding: 4px 6px; }

.atabs { flex-wrap: wrap; }
@media (max-width: 700px) { .atabs { flex-wrap: nowrap; } }

/* ===== v5: accounts & loyalty card ===== */
.acctbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.acctbtn b { background: var(--pink-d); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
@media (max-width: 600px) { .acctbtn span { display: none; } .acctbtn { padding: 9px 11px; } }
.loyal { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--ink), #24414f); color: #fff; border-radius: 26px; padding: 26px; }
.loyal h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; } .loyal p { opacity: .85; margin: 8px 0 16px; }
@media (max-width: 800px) { .loyal { grid-template-columns: 1fr; } }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; background: rgba(255, 255, 255, .1); border: 2px dashed rgba(255, 255, 255, .35); }
.stamps i.on { background: var(--pink); border: 2px solid #fff; }
.stamps i.gift { background: #fff; border: 2px solid var(--pink); }
.card .stamps i { background: var(--cream); border-color: var(--line); } .card .stamps i.on { background: var(--pink); border-color: var(--pink-d); } .card .stamps i.gift { background: #fff4e0; border-color: #f2b33d; }
.sbar { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; margin: 10px 0 4px; } .sbar span { display: block; height: 100%; background: var(--pink-d); border-radius: 999px; transition: width .4s; }
.loyal .sbar { background: rgba(255, 255, 255, .15); }
.freebox { background: #fff4e0; border: 1.5px solid #f2d9a6; border-radius: 14px; padding: 12px; margin: 10px 0; }
.freebox label { display: flex; gap: 8px; align-items: center; font-weight: 800; } .freebox select { margin-top: 8px; width: 100%; }
.earn { background: var(--pink-l); color: var(--pink-d); font-weight: 800; font-size: 14px; padding: 9px 12px; border-radius: 12px; margin: 8px 0; }
.acc-tabs { display: flex; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.acc-tabs button { flex: 1; padding: 10px; border-radius: 10px; font-weight: 800; color: var(--muted); } .acc-tabs button.on { background: var(--teal); color: #fff; }
.ohist { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); font-size: 14px; }
.ohist b { font-size: 16px; } .ohist .r { margin-left: auto; text-align: right; }
.member-b { background: var(--pink-l); color: var(--pink-d); font-weight: 800; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.freeline { background: #fff4e0; border-radius: 8px; padding: 2px 8px; font-weight: 800; color: #8a5200; }
@media (max-width: 600px) { .top .wrap { gap: 8px; } .brand span { display: none; } }
.panel .stamps i, .modal .stamps i { background: var(--cream); border: 2px dashed #d6cfca; } .panel .stamps i.on, .modal .stamps i.on { background: var(--pink); border: 2px solid var(--pink-d); }
.panel .stamps i.gift, .modal .stamps i.gift { background: #fff4e0; border: 2px solid #f2b33d; }
