/* ═══════════════ Tarot With George — 微醺塔羅 ═══════════════
   Premium midnight-lounge theme: engraved gold, double frames,
   ornamental dividers, scroll-reveal. */
:root{
  --ink:#0b0916;           /* near-black midnight */
  --ink-2:#120e22;         /* raised panel */
  --ink-3:#171230;         /* card */
  --gold:#c9a557;          /* antique gold */
  --gold-hi:#eed9a4;       /* candlelight highlight */
  --gold-deep:#8f6f2e;
  --plum:#9d7bd8;          /* soft neon plum */
  --rose:#d98ba8;
  --text:#ece6d8;
  --text-dim:#c2bade;
  --line:rgba(201,165,87,.28);
  --display:"Cormorant Garamond","Noto Serif TC",serif;
  --serif-tc:"Noto Serif TC",serif;
  --caps:"Cinzel","Noto Serif TC",serif;
  --sans:"Noto Sans TC",system-ui,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--ink);
  color:var(--text);
  font-family:var(--sans);
  font-weight:400;
  line-height:1.85;
  letter-spacing:.02em;
  overflow-x:hidden;
}
html.zh .en{display:none!important}
html.en .zh{display:none!important}
::selection{background:#9d7bd855;color:#fff}
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:var(--ink)}
::-webkit-scrollbar-thumb{background:#2a2248;border-radius:5px}
::-webkit-scrollbar-thumb:hover{background:#3a2f60}

/* ── atmosphere: stars + moon aura + vignette ── */
.stars{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff9 0, transparent 60%),
    radial-gradient(1px 1px at 78% 12%, #fff6 0, transparent 60%),
    radial-gradient(1.4px 1.4px at 55% 45%, #eed9a466 0, transparent 60%),
    radial-gradient(1px 1px at 30% 72%, #fff5 0, transparent 60%),
    radial-gradient(1px 1px at 88% 58%, #fff7 0, transparent 60%),
    radial-gradient(1.4px 1.4px at 45% 88%, #c9a55755 0, transparent 60%),
    radial-gradient(1px 1px at 65% 78%, #fff4 0, transparent 60%),
    radial-gradient(1px 1px at 8% 55%, #fff5 0, transparent 60%),
    radial-gradient(1px 1px at 22% 38%, #fff4 0, transparent 60%),
    radial-gradient(1px 1px at 93% 33%, #fff5 0, transparent 60%);
  animation:twinkle 7s ease-in-out infinite alternate;
}
.stars::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(1100px 640px at 50% -12%, rgba(74,52,128,.30) 0, transparent 68%),
    radial-gradient(820px 560px at 88% 108%, rgba(112,44,96,.22) 0, transparent 70%),
    radial-gradient(700px 480px at 6% 62%, rgba(38,30,84,.30) 0, transparent 70%);
}
.stars::after{ /* vignette for depth */
  content:"";position:absolute;inset:0;
  background:radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.5) 100%);
}
@keyframes twinkle{from{opacity:.65}to{opacity:1}}

/* ── nav ── */
.nav{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.9rem clamp(1rem,4vw,3rem);
  background:rgba(11,9,22,.78);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.nav-brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--text)}
.nav-logo{font-size:1.3rem;filter:drop-shadow(0 0 10px #c9a55799)}
.nav-name{font-family:var(--caps);font-size:.98rem;font-weight:500;letter-spacing:.14em}
.nav-name em{font-style:normal;color:var(--gold);font-family:var(--serif-tc);font-weight:600;font-size:.9rem;margin-left:.45rem;letter-spacing:.2em}
.nav-links{display:flex;gap:1.8rem}
.nav-links a{
  color:var(--text-dim);text-decoration:none;
  font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;
  padding-bottom:.2rem;position:relative;transition:color .3s;
}
.nav-links a::after{
  content:"";position:absolute;left:50%;right:50%;bottom:0;height:1px;
  background:var(--gold);transition:.35s;
}
.nav-links a:hover{color:var(--gold-hi)}
.nav-links a:hover::after{left:0;right:0}
.nav-right{display:flex;gap:.8rem;align-items:center}

/* language switch — prominent segmented control */
.lang-switch{
  display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;
  background:rgba(201,165,87,.06);
}
.lang-opt{
  background:transparent;border:none;cursor:pointer;
  color:var(--text-dim);font-family:var(--sans);font-weight:400;
  font-size:.8rem;letter-spacing:.08em;padding:.34rem .95rem;
  transition:.3s;
}
.lang-opt.active{
  background:linear-gradient(150deg,var(--gold-hi),var(--gold) 60%,var(--gold-deep));
  color:#1d1504;font-weight:500;
}
.lang-opt:not(.active):hover{color:var(--gold-hi)}
.menu-btn{display:none;background:none;border:none;color:var(--gold);font-size:1.35rem;cursor:pointer}

/* ── ornament dividers ── */
.orn{
  display:flex;align-items:center;justify-content:center;gap:.9rem;
  color:var(--gold);margin:0 auto 1rem;font-size:.85rem;
}
.orn::before,.orn::after{
  content:"";height:1px;width:min(120px,22vw);
  background:linear-gradient(90deg,transparent,var(--gold));
}
.orn::after{background:linear-gradient(90deg,var(--gold),transparent)}

/* ── hero ── */
.hero{
  position:relative;z-index:1;min-height:94vh;
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:4.5rem 1.2rem 6rem;
}
.hero-inner{max-width:860px;position:relative}
.hero-inner::before{ /* faint gold halo ring behind title */
  content:"";position:absolute;top:50%;left:50%;width:min(560px,92vw);height:min(560px,92vw);
  transform:translate(-50%,-52%);border-radius:50%;pointer-events:none;
  border:1px solid rgba(201,165,87,.14);
  box-shadow:0 0 120px rgba(201,165,87,.07) inset;
  animation:haloSpin 60s linear infinite;
}
.hero-inner::after{
  content:"✦";position:absolute;top:calc(50% - min(280px,46vw));left:50%;
  transform:translate(-50%,-52%);color:rgba(238,217,164,.5);font-size:.8rem;
  animation:none;
}
@keyframes haloSpin{to{transform:translate(-50%,-52%) rotate(360deg)}}

/* ── hero split (photo + text) ── */
.hero-inner.hero-split{
  max-width:1180px;display:flex;align-items:center;justify-content:center;
  gap:clamp(2.4rem,6vw,5.5rem);text-align:left;
}
.hero-inner.hero-split::before,.hero-inner.hero-split::after{display:none}
.hero-text{flex:1 1 480px;max-width:600px}
.hero-photo{flex:0 0 auto;position:relative;width:min(340px,72vw);margin:0 auto}
.hero-photo::before{
  content:"";position:absolute;inset:-34px;border-radius:50%;z-index:-1;
  background:radial-gradient(closest-side, rgba(201,165,87,.22), transparent 72%);
  filter:blur(2px);animation:twinkle 7s ease-in-out infinite alternate;
}
.hero-photo-frame{
  position:relative;border-radius:8px;overflow:hidden;aspect-ratio:2/3;
  border:1px solid var(--gold);
  box-shadow:0 24px 70px rgba(0,0,0,.6), 0 0 60px rgba(201,165,87,.12);
}
.hero-photo-frame::before{
  content:"";position:absolute;inset:8px;border:1px solid rgba(238,217,164,.35);
  border-radius:4px;pointer-events:none;z-index:2;
}
.hero-photo-frame::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,9,22,0) 55%,rgba(11,9,22,.6) 100%);
  pointer-events:none;
}
.hero-photo-frame img{width:100%;height:100%;object-fit:cover;display:block}
.hero-photo-card{
  position:absolute;bottom:-20px;left:-26px;width:78px;height:126px;border-radius:8px;
  background:url("../images/cards/card-back.jpg") center/cover;
  border:1px solid rgba(201,165,87,.6);
  box-shadow:0 14px 36px rgba(0,0,0,.65);
  transform:rotate(-12deg);animation:floaty 4.5s ease-in-out infinite;
}
@media (max-width:900px){
  .hero-inner.hero-split{flex-direction:column;text-align:center}
  .hero-text{text-align:center;max-width:520px}
  .hero-photo{order:-1;margin-bottom:.6rem;width:min(280px,66vw)}
}
.hero-eyebrow{
  font-family:var(--caps);color:var(--gold);letter-spacing:.5em;font-size:.78rem;
  margin-bottom:1.6rem;text-transform:uppercase;text-indent:.5em;
}
.hero-title{
  font-family:var(--display);font-weight:600;
  font-size:clamp(3rem,8.5vw,5.8rem);line-height:1.15;letter-spacing:.02em;
  padding-bottom:.08em;
  background:linear-gradient(168deg,#f7ead0 8%,var(--gold-hi) 30%,var(--gold) 55%,#96742f 88%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 6px 34px rgba(201,165,87,.25));
}
.hero-cn{
  font-family:var(--serif-tc);font-weight:600;font-size:clamp(1.25rem,3.2vw,1.8rem);
  letter-spacing:.7em;margin:1rem 0 2rem;color:var(--text);text-indent:.7em;
}
.hero-tagline{
  font-family:var(--serif-tc);font-size:clamp(1.05rem,2.6vw,1.4rem);
  color:var(--gold-hi);margin-bottom:1.2rem;letter-spacing:.06em;
}
.hero-sub{color:var(--text-dim);font-size:.95rem;margin-bottom:2.8rem;font-weight:400}
.hero-cta{display:flex;gap:1.1rem;justify-content:center;flex-wrap:wrap;margin-bottom:2.6rem}
.hero-ig{
  display:inline-flex;align-items:center;gap:.5rem;
  color:var(--text-dim);text-decoration:none;font-size:.85rem;letter-spacing:.12em;
  transition:color .3s;
}
.hero-ig:hover{color:var(--rose)}

/* ── buttons ── */
.btn{
  display:inline-block;cursor:pointer;text-decoration:none;text-align:center;
  font-family:var(--caps);font-weight:500;
  font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;
  padding:.95rem 2.2rem;border-radius:2px;
  border:1px solid transparent;transition:.35s;position:relative;overflow:hidden;
}
.btn .zh{font-family:var(--serif-tc);font-weight:600;letter-spacing:.3em;font-size:.85rem}
.btn-gold{
  background:linear-gradient(155deg,var(--gold-hi) 0%,var(--gold) 55%,var(--gold-deep) 100%);
  color:#1d1504;
  box-shadow:0 6px 30px rgba(201,165,87,.28), inset 0 0 0 1px rgba(255,244,214,.35);
}
.btn-gold::after{ /* shine sweep */
  content:"";position:absolute;top:0;bottom:0;left:-80%;width:45%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.5),transparent);
  transform:skewX(-20deg);transition:left .6s ease;
}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(201,165,87,.45), inset 0 0 0 1px rgba(255,244,214,.5)}
.btn-gold:hover::after{left:130%}
.btn-ghost{
  border-color:rgba(201,165,87,.5);color:var(--gold-hi);background:rgba(201,165,87,.05);
}
.btn-ghost:hover{background:rgba(201,165,87,.14);border-color:var(--gold);transform:translateY(-2px)}
.btn-block{display:block;width:100%;margin-top:.6rem}
.btn-sm{padding:.55rem 1.4rem;font-size:.72rem}

/* ── sections ── */
.section{position:relative;z-index:1;padding:6.5rem 1.4rem}
.section-alt{background:linear-gradient(180deg,transparent,rgba(18,14,34,.85) 15%,rgba(18,14,34,.85) 85%,transparent)}
.section-inner{max-width:1100px;margin:0 auto}
.section-eyebrow{
  font-family:var(--caps);color:var(--plum);letter-spacing:.45em;font-size:.72rem;
  text-transform:uppercase;margin-bottom:1rem;text-align:center;text-indent:.45em;
}
.section-eyebrow::after{
  content:"";display:block;width:52px;height:1px;margin:.9rem auto 0;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.section-title{
  font-family:var(--serif-tc);font-weight:600;text-align:center;
  font-size:clamp(1.8rem,4.6vw,2.7rem);margin-bottom:1.3rem;color:var(--text);
  letter-spacing:.08em;
}
.section-title .en{font-family:var(--display);letter-spacing:.03em}
.section-sub{text-align:center;color:var(--text-dim);max-width:640px;margin:0 auto 3.4rem;font-size:.95rem}

/* ── premium card base: double gold frame ── */
.about-card,.svc-card,.shop-card,.pick-card{
  position:relative;border-radius:6px;
  background:linear-gradient(172deg,#1b1536 0%,#120e26 100%);
  border:1px solid rgba(201,165,87,.22);
  box-shadow:0 18px 50px rgba(0,0,0,.5);
  transition:transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.about-card::before,.svc-card::before,.shop-card::before,.pick-card::before{
  content:"";position:absolute;inset:7px;border:1px solid rgba(201,165,87,.13);
  border-radius:3px;pointer-events:none;transition:border-color .4s;
}
.about-card:hover,.svc-card:hover,.shop-card:hover,.pick-card:hover{
  transform:translateY(-6px);
  border-color:rgba(201,165,87,.55);
  box-shadow:0 26px 70px rgba(0,0,0,.65), 0 0 40px rgba(201,165,87,.08);
}
.about-card:hover::before,.svc-card:hover::before,.shop-card:hover::before,.pick-card:hover::before{
  border-color:rgba(201,165,87,.3);
}

/* ── about ── */
.about-layout{display:grid;grid-template-columns:minmax(240px,340px) 1fr;gap:2.4rem;margin-top:3.4rem;align-items:stretch}
.about-photo{
  position:relative;border-radius:8px;overflow:hidden;min-height:320px;
  border:1px solid rgba(201,165,87,.4);
  box-shadow:0 20px 56px rgba(0,0,0,.55), 0 0 50px rgba(201,165,87,.08);
}
.about-photo::before{
  content:"";position:absolute;inset:8px;border:1px solid rgba(201,165,87,.2);
  border-radius:4px;pointer-events:none;z-index:2;
}
.about-photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,9,22,0) 58%,rgba(11,9,22,.55) 100%);
}
.about-photo img{width:100%;height:100%;object-fit:cover;display:block;min-height:320px}
.about-layout .about-grid{margin-top:0}
@media (max-width:900px){
  .about-layout{grid-template-columns:1fr}
  .about-photo{min-height:280px}
  .about-photo img{min-height:280px}
}
.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.6rem;margin-top:3.4rem}
.about-card{padding:2.4rem 1.9rem;text-align:center}
.about-icon{font-size:2rem;margin-bottom:1.1rem;filter:drop-shadow(0 0 14px rgba(201,165,87,.35))}
.about-card h3{font-family:var(--serif-tc);font-size:1.15rem;color:var(--gold-hi);margin-bottom:.7rem;font-weight:600;letter-spacing:.12em}
.about-card h3 .en{font-family:var(--display);font-size:1.25rem;letter-spacing:.04em}
.about-card p{color:var(--text-dim);font-size:.9rem}

/* ── services ── */
.svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.7rem;margin-top:3.4rem;align-items:start}
.svc-card{padding:2.4rem 1.9rem}
.svc-featured{
  border-color:rgba(201,165,87,.65);
  box-shadow:0 0 0 1px rgba(201,165,87,.35), 0 22px 60px rgba(0,0,0,.6), 0 0 60px rgba(201,165,87,.10);
}
.svc-badge{
  position:absolute;top:-.9rem;left:50%;transform:translateX(-50%);
  background:linear-gradient(155deg,var(--gold-hi),var(--gold));color:#1d1504;
  font-size:.68rem;font-weight:500;letter-spacing:.24em;text-transform:uppercase;
  font-family:var(--caps);border-radius:2px;padding:.3rem 1.1rem;white-space:nowrap;
}
.svc-badge .zh{font-family:var(--serif-tc);font-weight:600;letter-spacing:.2em}
.svc-head{font-family:var(--serif-tc);font-size:1.28rem;font-weight:600;color:var(--text);margin-bottom:.9rem;letter-spacing:.1em}
.svc-head .en{font-family:var(--display);font-size:1.4rem;letter-spacing:.03em}
.svc-desc{color:var(--text-dim);font-size:.9rem;margin-bottom:1.2rem}
.svc-venues{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.2rem}
.svc-venues li{
  border:1px solid rgba(157,123,216,.45);color:#c6b0e8;border-radius:2px;
  font-size:.75rem;padding:.18rem .8rem;letter-spacing:.12em;font-family:var(--caps);
}
.svc-price{
  font-family:var(--display);font-size:1.5rem;font-weight:600;
  color:var(--gold-hi);margin-bottom:.7rem;letter-spacing:.04em;
}
.svc-price .zh,.svc-price .en{font-size:1rem;font-family:var(--serif-tc);font-weight:400;color:var(--gold-hi)}
.svc-per{font-size:.8rem;color:var(--text-dim);font-family:var(--sans);letter-spacing:.05em}
.svc-price-alt{font-family:var(--sans);font-size:.82rem;font-weight:400;color:var(--text-dim);letter-spacing:.02em;margin-bottom:.7rem}

/* ── online tease ── */
.tease{display:flex;align-items:center;gap:3.5rem;flex-wrap:wrap;justify-content:center}
.tease-text{flex:1 1 400px;max-width:540px}
.tease-text .section-eyebrow,.tease-text .section-title{text-align:left}
.tease-text .section-eyebrow::after{margin-left:0}
.tease-text p{color:var(--text-dim);margin-bottom:2rem;font-size:.95rem}

/* ── candles banner ── */
.candles-banner{
  position:relative;max-width:960px;margin:0 auto 3rem;border-radius:8px;overflow:hidden;
  border:1px solid rgba(201,165,87,.32);box-shadow:0 22px 60px rgba(0,0,0,.5);
}
.candles-banner img{width:100%;max-height:420px;object-fit:cover;display:block}
.candles-banner::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(11,9,22,.88) 0%,rgba(11,9,22,.15) 42%,transparent 65%);
}
.candles-banner-caption{
  position:absolute;left:1.7rem;right:1.7rem;bottom:1.2rem;z-index:2;
  font-family:var(--caps);color:var(--gold-hi);letter-spacing:.16em;font-size:.8rem;text-transform:uppercase;
  text-shadow:0 2px 12px rgba(0,0,0,.6);
}
.candles-banner-caption .zh{font-family:var(--serif-tc);letter-spacing:.1em;font-size:.95rem;font-weight:600}
.candles-banner-caption small{display:block;margin-top:.3rem;color:var(--text-dim);font-family:var(--sans);letter-spacing:.05em;font-size:.76rem;text-transform:none}
.candle-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}

/* ── shop ── */
.shop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.7rem}
.shop-grid-single{grid-template-columns:1fr;max-width:340px;margin:0 auto}
.shop-card{overflow:hidden;padding:0 0 1.7rem;display:flex;flex-direction:column}
.shop-img{
  height:160px;display:flex;align-items:center;justify-content:center;font-size:3.8rem;
  background:radial-gradient(circle at 50% 68%, color-mix(in srgb,var(--glow) 24%,transparent), transparent 72%),#0f0b20;
  filter:drop-shadow(0 0 22px var(--glow));
  margin-bottom:1.3rem;border-bottom:1px solid rgba(201,165,87,.15);
}
.shop-img-photo{padding:0;filter:none;background:#0f0b20}
.shop-img-photo img{width:100%;height:100%;object-fit:cover}
.shop-card h3{font-family:var(--serif-tc);font-size:1.12rem;color:var(--gold-hi);padding:0 1.5rem;margin-bottom:.5rem;font-weight:600;letter-spacing:.1em}
.shop-card h3 .en{font-family:var(--display);font-size:1.22rem;letter-spacing:.03em}
.shop-card p{color:var(--text-dim);font-size:.86rem;padding:0 1.5rem;flex:1}
.shop-row{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 1.5rem 0}
.shop-price{font-family:var(--display);font-size:1.35rem;font-weight:600;color:var(--text);letter-spacing:.04em}
.shop-note{text-align:center;color:var(--text-dim);font-size:.82rem;margin-top:2.8rem;letter-spacing:.04em}

/* ── picks ── */
.picks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.7rem}
.pick-card{display:block;padding:0 0 2rem;text-decoration:none;color:var(--text);overflow:hidden}
.pick-card{border-color:rgba(157,123,216,.3)}
.pick-card::before{border-color:rgba(157,123,216,.14)}
.pick-card:hover{border-color:rgba(157,123,216,.7);box-shadow:0 26px 70px rgba(0,0,0,.65), 0 0 40px rgba(157,123,216,.10)}
.pick-body{padding:0 1.8rem}
.pick-card h3{font-family:var(--serif-tc);font-size:1.1rem;color:var(--text);margin-bottom:.55rem;font-weight:600;letter-spacing:.1em}
.pick-card h3 .en{font-family:var(--display);font-size:1.2rem;letter-spacing:.03em}
.pick-card p{color:var(--text-dim);font-size:.88rem;margin-bottom:1rem}
.pick-price{display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap;margin-bottom:1rem}
.pick-price-now{font-family:var(--display);font-size:1.2rem;font-weight:600;color:var(--gold-hi)}
.pick-price-was{font-size:.8rem;color:var(--text-dim);text-decoration:line-through}

/* ── tour tease ── */
.tour-tease{text-align:center;max-width:660px}
.tour-tease p{color:var(--text-dim);margin-bottom:2rem;font-size:.95rem}

/* ── donate ── */
.donate-box{max-width:680px;text-align:center}
.donate-amounts{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.6rem}
.donate-amt{
  background:linear-gradient(172deg,#1b1536,#120e26);
  border:1px solid rgba(201,165,87,.35);color:var(--gold-hi);
  border-radius:4px;padding:1rem 1.7rem;cursor:pointer;font-family:var(--display);
  font-size:1.2rem;font-weight:600;transition:.3s;display:flex;flex-direction:column;gap:.2rem;align-items:center;
  letter-spacing:.05em;
}
.donate-amt small{font-family:var(--sans);font-weight:400;color:var(--text-dim);font-size:.74rem;letter-spacing:.08em}
.donate-amt:hover{border-color:var(--gold);background:rgba(201,165,87,.1);transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.5)}
.donate-custom{display:flex;gap:.7rem;justify-content:center;align-items:center;flex-wrap:wrap}
.donate-nt{color:var(--text-dim);font-family:var(--display);font-size:1.1rem}
.donate-custom input{
  background:rgba(23,18,48,.8);border:1px solid rgba(255,255,255,.14);color:var(--text);
  border-radius:2px;padding:.8rem 1.3rem;width:200px;font-size:.95rem;outline:none;
  font-family:var(--sans);letter-spacing:.05em;transition:border-color .3s;
}
.donate-custom input:focus{border-color:var(--gold)}
.donate-note{color:var(--text-dim);font-size:.8rem;margin-top:1.8rem;letter-spacing:.05em}

/* ── footer ── */
.footer{position:relative;z-index:1;border-top:1px solid var(--line);padding:3.5rem 1.4rem;background:#080611}
.footer-inner{max-width:1100px;margin:0 auto;text-align:center}
.footer-brand{font-family:var(--caps);font-size:1rem;letter-spacing:.16em;margin-bottom:1.2rem}
.footer-brand em{font-style:normal;color:var(--gold);font-family:var(--serif-tc);font-weight:600;font-size:.9rem;letter-spacing:.22em}
.footer-links{display:flex;gap:2rem;justify-content:center;margin-bottom:1.5rem;flex-wrap:wrap}
.footer-links a{
  color:var(--text-dim);text-decoration:none;font-size:.78rem;transition:.3s;
  letter-spacing:.2em;text-transform:uppercase;font-family:var(--caps);
}
.footer-links a .zh{font-family:var(--serif-tc);letter-spacing:.18em}
.footer-links a:hover{color:var(--gold-hi)}
.footer-fine{color:#6b628200;color:#6f6687;font-size:.76rem;letter-spacing:.03em}

/* ── toast ── */
.toast{
  /* translateY needs to clear both the box's own height AND the `bottom`
     offset — a plain 150% only covers height, so a short/empty toast (e.g.
     before any message has ever been set) left a sliver peeking above the
     viewport edge. The fixed +3rem guarantees it clears bottom:1.8rem
     regardless of how tall the box ends up being. */
  position:fixed;bottom:1.8rem;left:50%;transform:translate(-50%,calc(100% + 3rem));
  background:linear-gradient(172deg,#1b1536,#120e26);border:1px solid var(--gold);color:var(--text);
  border-radius:4px;padding:.85rem 1.5rem;font-size:.88rem;z-index:99;letter-spacing:.04em;
  transition:transform .4s;box-shadow:0 14px 50px rgba(0,0,0,.8);max-width:90vw;
}
.toast.show{transform:translate(-50%,0)}

/* ── floating LINE contact button ── */
.line-fab{
  position:fixed;right:1.4rem;bottom:1.4rem;z-index:120;
  width:54px;height:54px;border-radius:50%;
  background:#06C755;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(6,199,85,.4),0 2px 10px rgba(0,0,0,.35);
  transition:transform .25s,box-shadow .25s;
}
.line-fab:hover{transform:translateY(-3px) scale(1.06);box-shadow:0 12px 32px rgba(6,199,85,.55),0 4px 14px rgba(0,0,0,.4)}
.line-fab svg{width:28px;height:28px;display:block}
@media (max-width:640px){.line-fab{right:1rem;bottom:1rem;width:48px;height:48px}.line-fab svg{width:25px;height:25px}}

/* ── scroll reveal ── */
.rv{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s ease}
.rv.in{opacity:1;transform:none}
.rv:nth-child(2){transition-delay:.12s}
.rv:nth-child(3){transition-delay:.24s}
.rv:nth-child(4){transition-delay:.36s}
@media (prefers-reduced-motion:reduce){
  .rv{opacity:1;transform:none;transition:none}
  .stars,.hero-inner::before{animation:none}
}

/* ═══════════ reading page ═══════════ */
.read-main{position:relative;z-index:1;max-width:1100px;margin:0 auto;padding:4rem 1.4rem 6.5rem;text-align:center}
.read-title{font-family:var(--serif-tc);font-size:clamp(1.9rem,5vw,2.7rem);font-weight:600;margin-bottom:1rem;letter-spacing:.1em}
.read-title .en{font-family:var(--display);letter-spacing:.03em}
.read-sub{color:var(--text-dim);max-width:580px;margin:0 auto 2.8rem;font-size:.95rem}
.read-instruct{
  max-width:560px;margin:0 auto 2.4rem;padding:1.5rem 1.7rem;text-align:left;
  background:linear-gradient(172deg,#1b1536,#120e26);
  border:1px solid rgba(201,165,87,.3);border-radius:8px;
  box-shadow:0 14px 40px rgba(0,0,0,.4);
  display:flex;gap:1rem;align-items:flex-start;
}
.read-instruct-icon{font-size:1.4rem;line-height:1;filter:drop-shadow(0 0 10px rgba(201,165,87,.35))}
.read-instruct p{color:var(--text-dim);font-size:.9rem;line-height:1.8}
.deck{
  display:flex;flex-wrap:nowrap;justify-content:center;align-items:flex-start;
  margin:1rem 0 2.8rem;width:100%;gap:0;
}
.deck-card{
  flex:0 0 auto;
  border-radius:6px;cursor:pointer;
  background:url("../images/cards/card-back.jpg") center/cover;
  border:1px solid rgba(201,165,87,.55);
  transition:transform .3s,box-shadow .3s,opacity .4s;
  box-shadow:0 10px 28px rgba(0,0,0,.6);
  user-select:none;
}
.deck-card:hover{
  border-color:var(--gold-hi);
  box-shadow:0 10px 28px rgba(0,0,0,.6), 0 0 20px rgba(201,165,87,.6);
  filter:brightness(1.18);
}
.deck-card.picked{opacity:0;pointer-events:none}
.spread{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.8rem;max-width:880px;margin:0 auto 2.8rem;
}
.spread[hidden]{display:none}
.spread-single{max-width:340px}
.flip{perspective:1000px;width:clamp(176px,26vw,320px);aspect-ratio:2/3;margin:0 auto}  /* 2:3, the deck's own ratio */
.flip-inner{
  position:relative;width:100%;height:100%;transform-style:preserve-3d;
  transition:transform .9s cubic-bezier(.4,.1,.2,1);
}
.flip.flipped .flip-inner{transform:rotateY(180deg)}
.flip-face{
  position:absolute;inset:0;backface-visibility:hidden;border-radius:10px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.flip-back{
  background:url("../images/cards/card-back.jpg") center/cover;
  border:1px solid rgba(201,165,87,.55);
}
.flip-front{
  transform:rotateY(180deg);
  background:#0f0b20;
}
.card-img{width:100%;height:100%;object-fit:cover;display:block;transition:.4s}
.card-name{font-family:var(--serif-tc);font-weight:600;font-size:1rem;color:var(--gold-hi);line-height:1.35;letter-spacing:.08em}
.card-name .en{font-family:var(--display);font-size:1.05rem;letter-spacing:.02em}
.read-results{max-width:740px;margin:0 auto;text-align:left}
.result-block{
  background:linear-gradient(172deg,#1b1536,#120e26);
  border:1px solid rgba(201,165,87,.25);border-radius:6px;
  padding:1.7rem 1.9rem;margin-bottom:1.2rem;opacity:0;transform:translateY(16px);
  transition:.7s;box-shadow:0 14px 40px rgba(0,0,0,.45);
}
.result-block.show{opacity:1;transform:none}
.result-block h3{font-family:var(--serif-tc);color:var(--gold-hi);font-size:1.05rem;margin-bottom:.5rem;font-weight:600;letter-spacing:.06em}
.result-block p{color:var(--text-dim);font-size:.92rem}
.read-actions{margin-top:2.6rem;display:flex;gap:1.1rem;justify-content:center;flex-wrap:wrap}
.read-actions[hidden]{display:none}
.read-hint{color:var(--text-dim);font-size:.9rem;margin-bottom:1.3rem;letter-spacing:.04em}
.category-picker{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem;max-width:640px;margin:0 auto 2rem}
.category-btn{
  display:flex;flex-direction:column;align-items:center;gap:.3rem;min-width:92px;
  padding:.9rem 1.3rem;cursor:pointer;transition:transform .3s,border-color .3s,box-shadow .3s;
  background:linear-gradient(172deg,#1b1536,#120e26);
  border:1px solid rgba(201,165,87,.28);border-radius:8px;
  color:var(--text-dim);font-family:var(--serif-tc);font-size:.86rem;letter-spacing:.06em;
}
.category-btn .category-icon{font-size:1.3rem}
.category-btn .en{display:block;font-family:var(--display);font-size:.72rem;letter-spacing:.08em;margin-top:.1rem}
.category-btn:hover{border-color:rgba(201,165,87,.6);transform:translateY(-2px)}
.category-btn.active{
  border-color:var(--gold);color:var(--gold-hi);
  box-shadow:0 0 22px rgba(201,165,87,.25);
  background:linear-gradient(172deg,#241c48,#160f2c);
}
.category-btn.active .en{color:var(--gold-hi)}
.deck-disabled{opacity:.35;pointer-events:none}
.result-tag{
  display:inline-block;margin-bottom:.8rem;padding:.2rem .75rem;border-radius:2px;
  font-family:var(--caps);font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;
  border:1px solid rgba(201,165,87,.45);color:var(--gold-hi);
}

/* ═══════════ thanks page ═══════════ */
.thanks-main{
  position:relative;z-index:1;min-height:80vh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;padding:3rem 1.4rem;
}
.thanks-emoji{font-size:4rem;margin-bottom:1.5rem;filter:drop-shadow(0 0 28px rgba(201,165,87,.6))}
.thanks-main h1{font-family:var(--serif-tc);font-size:clamp(1.9rem,5vw,2.7rem);margin-bottom:1.1rem;font-weight:600;letter-spacing:.1em}
.thanks-main h1 .en{font-family:var(--display)}
.thanks-main p{color:var(--text-dim);max-width:500px;margin-bottom:2.4rem}

/* ── responsive ── */
@media (max-width:900px){
  .nav-links{
    display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;
    background:rgba(11,9,22,.98);padding:1.4rem 1.8rem;gap:1.1rem;
    border-bottom:1px solid var(--line);
  }
  .nav-links.open{display:flex}
  .menu-btn{display:block}
  .nav-name em{display:none}
  .section{padding:5rem 1.2rem}
}

/* ═══════════ member / admin / booking UI ═══════════ */
.page-main{position:relative;z-index:1;max-width:1100px;margin:0 auto;padding:3.5rem 1.4rem 6rem}
.page-title{font-family:var(--serif-tc);font-size:clamp(1.7rem,4.5vw,2.4rem);font-weight:600;text-align:center;margin-bottom:.8rem;letter-spacing:.08em}
.page-title .en{font-family:var(--display)}
.page-sub{color:var(--text-dim);text-align:center;max-width:560px;margin:0 auto 2.6rem;font-size:.93rem}

.panel{
  background:linear-gradient(172deg,#1b1536,#120e26);
  border:1px solid rgba(201,165,87,.25);border-radius:6px;
  padding:1.8rem 1.7rem;box-shadow:0 16px 44px rgba(0,0,0,.45);
  margin-bottom:1.4rem;
}
.panel h2{font-family:var(--serif-tc);font-size:1.1rem;font-weight:600;color:var(--gold-hi);letter-spacing:.1em;margin-bottom:1.1rem}
.panel h2 .en{font-family:var(--display);letter-spacing:.03em}
.panel-narrow{max-width:460px;margin-left:auto;margin-right:auto}

.tabs{display:flex;border-bottom:1px solid rgba(201,165,87,.25);margin-bottom:1.5rem}
.tab{
  flex:1;background:none;border:none;cursor:pointer;color:var(--text-dim);
  font-family:var(--serif-tc);font-size:.95rem;letter-spacing:.15em;padding:.7rem 0;
  border-bottom:2px solid transparent;transition:.3s;
}
.tab.active{color:var(--gold-hi);border-bottom-color:var(--gold)}

.field{margin-bottom:1rem;text-align:left}
.field label{display:block;font-size:.78rem;color:var(--text-dim);letter-spacing:.12em;margin-bottom:.35rem}
.field input,.field textarea,.field select{
  width:100%;background:rgba(11,9,22,.6);border:1px solid rgba(255,255,255,.14);
  color:var(--text);border-radius:2px;padding:.75rem 1rem;font-size:.95rem;outline:none;
  font-family:var(--sans);transition:border-color .3s;
}
.field select{color-scheme:dark}
.field textarea{line-height:1.6;resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--gold)}

/* ── modal ── */
.modal-overlay{
  position:fixed;inset:0;z-index:200;background:rgba(6,5,12,.72);backdrop-filter:blur(3px);
  display:flex;align-items:center;justify-content:center;padding:1.4rem;
}
.modal-overlay[hidden]{display:none}
.modal-box{
  background:linear-gradient(172deg,#1b1536,#120e26);border:1px solid rgba(201,165,87,.4);
  border-radius:8px;padding:1.9rem 1.8rem;max-width:420px;width:100%;
  box-shadow:0 30px 80px rgba(0,0,0,.65);
  /* The venue and event editors are taller than a laptop screen. Pin the
     title and the Cancel/Save row, and let only the fields scroll, so the
     buttons are always reachable without hunting for them. */
  max-height:100%;overflow:hidden;
  display:flex;flex-direction:column;
}
.modal-box h3{font-family:var(--serif-tc);color:var(--gold-hi);font-size:1.15rem;letter-spacing:.08em;font-weight:600;
  flex:none;padding-bottom:.9rem;margin-bottom:1.1rem;border-bottom:1px solid rgba(201,165,87,.22)}
.modal-body{
  flex:1 1 auto;min-height:0;overflow-y:auto;
  /* Keep the scrollbar clear of the inputs without shrinking them. */
  padding-right:.8rem;margin-right:-.6rem;
  scrollbar-width:thin;scrollbar-color:rgba(201,165,87,.6) rgba(255,255,255,.07);
}
.modal-body::-webkit-scrollbar{width:10px}
.modal-body::-webkit-scrollbar-track{background:rgba(255,255,255,.07);border-radius:5px}
.modal-body::-webkit-scrollbar-thumb{background:rgba(201,165,87,.6);border-radius:5px;border:2px solid transparent;background-clip:padding-box}
.modal-body::-webkit-scrollbar-thumb:hover{background:var(--gold);background-clip:padding-box;border:2px solid transparent}
.modal-box .form-error{flex:none}
.modal-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:.6rem;
  flex:none;padding-top:1rem;border-top:1px solid rgba(201,165,87,.22)}
.row-actions{display:flex;gap:.7rem;white-space:nowrap}
.field-row{display:flex;gap:1rem}
.field-row .field{flex:1}
@media (max-width:520px){.field-row{flex-direction:column;gap:0}}
.time-select{display:flex;align-items:center;gap:.4rem}
.time-select select{width:auto;flex:1;min-width:0}
.time-select .time-sep{color:var(--text-dim)}

/* inline multi-date calendar (js/calendar.js) */
.twg-cal{border:1px solid rgba(255,255,255,.14);border-radius:2px;padding:.7rem .8rem .8rem;background:rgba(0,0,0,.18)}
.twg-cal-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}
.twg-cal-month{font-family:var(--serif-tc);color:var(--gold-hi);font-size:.95rem;letter-spacing:.06em}
.twg-cal-nav{background:none;border:1px solid rgba(201,165,87,.3);color:var(--gold);border-radius:2px;
  width:28px;height:28px;line-height:1;font-size:1.05rem;cursor:pointer;transition:.2s}
.twg-cal-nav:hover{border-color:var(--gold);background:rgba(201,165,87,.14);color:var(--gold-hi)}
.twg-cal-dow,.twg-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.twg-cal-dow{margin-bottom:3px}
.twg-cal-dow span{text-align:center;font-size:.7rem;color:var(--text-dim);letter-spacing:.06em}
.twg-cal-day{aspect-ratio:1;min-height:32px;background:none;border:1px solid transparent;border-radius:2px;
  color:var(--text);font-size:.85rem;font-family:var(--sans);cursor:pointer;transition:.15s}
.twg-cal-day:hover{border-color:var(--gold);background:rgba(201,165,87,.12)}
.twg-cal-day.today{border-color:rgba(157,123,216,.55);color:var(--plum)}
.twg-cal-day.on{background:var(--gold);border-color:var(--gold);color:#1a1405;font-weight:600}
.twg-cal-day.on:hover{background:var(--gold-hi);border-color:var(--gold-hi)}
.twg-cal-foot{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.7rem;
  padding-top:.6rem;border-top:1px solid rgba(255,255,255,.08)}
.twg-cal-hint,.twg-cal-count{font-size:.75rem;color:var(--text-dim);letter-spacing:.04em}
.twg-cal-chip{background:rgba(201,165,87,.16);border:1px solid rgba(201,165,87,.45);border-radius:999px;
  color:var(--gold-hi);font-size:.75rem;font-family:var(--sans);padding:.15rem .55rem;cursor:pointer;transition:.15s}
.twg-cal-chip:hover{background:rgba(201,165,87,.3);border-color:var(--gold)}

/* venue nights you can book in one tap (booking.html) */
.quick-night{border:1px solid rgba(201,165,87,.28);border-radius:5px;padding:1.1rem 1.2rem;margin-bottom:.9rem;
  background:rgba(201,165,87,.05)}
.quick-night:last-child{margin-bottom:0}
.quick-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.7rem;margin-bottom:.9rem}
.quick-head b{font-family:var(--caps);color:var(--gold-hi);letter-spacing:.09em;font-size:1rem;font-weight:600}
.quick-head .muted{font-size:.88rem}
.quick-min{margin-left:auto;font-size:.76rem;color:var(--plum);border:1px solid rgba(157,123,216,.45);
  border-radius:999px;padding:.1rem .6rem;white-space:nowrap}
@media (max-width:480px){.quick-min{margin-left:0}}

/* one time dropdown per proposed date (booking.html) */
.req-time-row{display:flex;align-items:center;gap:.9rem;margin-bottom:.6rem}
.req-time-row span{color:var(--text);font-size:.9rem;min-width:6.5rem;flex:0 0 auto}
.req-time-row select{flex:0 0 auto;width:auto;min-width:7.5rem}
@media (max-width:420px){
  .req-time-row span{min-width:5.5rem;font-size:.85rem}
  .req-time-row select{flex:1 1 auto;min-width:0}
}

/* annual membership block (index.html #membership) */
.mem-box{display:grid;grid-template-columns:1.35fr 1fr;gap:2.6rem;align-items:center;max-width:960px;margin:0 auto}
.mem-copy p{color:var(--text-dim)}
.mem-perks{list-style:none;margin-top:1.4rem;display:flex;flex-direction:column;gap:.75rem}
.mem-perks li{display:flex;align-items:baseline;gap:.45rem;color:var(--text);font-size:.95rem}
.mem-perks b{color:var(--gold-hi);font-family:var(--caps);font-size:1.05rem;flex:0 0 auto;letter-spacing:.04em}
.mem-card{
  background:linear-gradient(172deg,#1f1840,#130f28);border:1px solid var(--gold);border-radius:8px;
  padding:2.1rem 1.8rem;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.55),0 0 44px rgba(201,165,87,.14);
}
.mem-price{font-family:var(--caps);font-size:1.75rem;color:var(--gold-hi);letter-spacing:.05em;margin-bottom:.5rem}
.mem-per{font-size:.82rem;color:var(--text-dim);letter-spacing:.1em}
.mem-fine{color:var(--text-dim);font-size:.84rem;line-height:1.75;margin-bottom:1.4rem}
.mem-note{color:var(--gold-hi);font-size:.84rem;margin-top:.9rem;min-height:1.2em}
@media (max-width:820px){
  .mem-box{grid-template-columns:1fr;gap:1.9rem}
  .mem-copy .section-title{text-align:center}
}

.flag-text{color:#e08585;font-weight:500}
.form-error{color:#e08585;font-size:.85rem;min-height:1.3em;margin:.4rem 0 .8rem;letter-spacing:.03em}
.form-ok{color:#8fd6a8;font-size:.85rem;margin:.4rem 0 .8rem}

.pw-checks{list-style:none;margin:.5rem 0 1rem;display:grid;grid-template-columns:1fr 1fr;gap:.3rem}
.pw-checks li{font-size:.78rem;color:var(--text-dim);letter-spacing:.03em}
.pw-checks li::before{content:"○ ";color:var(--text-dim)}
.pw-checks li.ok{color:#8fd6a8}
.pw-checks li.ok::before{content:"● ";color:#8fd6a8}

.oauth-row{display:flex;flex-direction:column;gap:.6rem;margin-top:1.2rem}
.oauth-btn{
  display:flex;align-items:center;justify-content:center;gap:.6rem;
  border-radius:2px;padding:.7rem 1rem;font-size:.88rem;cursor:pointer;text-decoration:none;
  font-family:var(--sans);letter-spacing:.06em;border:1px solid rgba(255,255,255,.18);
  color:var(--text);background:rgba(255,255,255,.04);transition:.3s;
}
.oauth-btn:hover{background:rgba(255,255,255,.1)}
.oauth-btn.line{border-color:#06c75577;color:#7ee2a8}
.oauth-btn.line:hover{background:#06c75514}
.oauth-btn.disabled{opacity:.45;cursor:not-allowed;pointer-events:none}
.divider{display:flex;align-items:center;gap:1rem;color:var(--text-dim);font-size:.78rem;margin:1.4rem 0;letter-spacing:.2em}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:rgba(255,255,255,.12)}

.badge{
  display:inline-block;border-radius:2px;padding:.15rem .7rem;font-size:.72rem;
  letter-spacing:.15em;font-family:var(--caps);text-transform:uppercase;
  border:1px solid rgba(255,255,255,.2);color:var(--text-dim);
}
.badge.annual{
  background:linear-gradient(155deg,var(--gold-hi),var(--gold));color:#1d1504;
  border-color:transparent;font-weight:600;
}
.badge.st-paid{border-color:#8fd6a877;color:#8fd6a8}
.badge.st-pending{border-color:#e0c98577;color:#e0c985}
.badge.st-failed,.badge.st-cancelled{border-color:#e0858577;color:#e08585}
.badge.st-confirmed{border-color:#8fb8d677;color:#8fb8d6}
.badge.st-refunded{border-color:#c9a55777;color:var(--gold)}

.table-wrap{overflow-x:auto}
table.data{width:100%;border-collapse:collapse;font-size:.86rem}
table.data th{
  text-align:left;color:var(--text-dim);font-weight:400;letter-spacing:.14em;font-size:.72rem;
  text-transform:uppercase;padding:.5rem .7rem;border-bottom:1px solid rgba(201,165,87,.25);
  white-space:nowrap;
}
table.data td{padding:.6rem .7rem;border-bottom:1px solid rgba(255,255,255,.07);white-space:nowrap;vertical-align:top}
table.data tr:last-child td{border-bottom:none}
.muted{color:var(--text-dim)}
.link-btn{background:none;border:none;color:var(--plum);cursor:pointer;font-size:.82rem;letter-spacing:.05em;padding:0}
.link-btn:hover{color:#cdb8ee}
.link-btn.danger{color:#e08585}

.row-between{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}

/* ── admin product photo manager ── */
.admin-gallery{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.5rem}
.admin-gallery-item{position:relative;width:84px}
.admin-gallery-item img{width:84px;height:84px;object-fit:cover;border-radius:4px;border:1px solid rgba(201,165,87,.35);display:block}
.admin-gallery-actions{display:flex;justify-content:space-between;gap:.3rem;margin-top:.3rem;font-size:.72rem}
.admin-gallery-actions .link-btn[disabled]{opacity:.25;cursor:default}
.admin-gallery-actions .link-btn.danger{font-size:.68rem}

/* ── booking ── */
.chips{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.4rem}
.chip{
  background:rgba(11,9,22,.6);border:1px solid rgba(201,165,87,.35);color:var(--text);
  border-radius:2px;padding:.55rem 1rem;cursor:pointer;font-size:.86rem;letter-spacing:.05em;
  font-family:var(--sans);transition:.25s;text-align:center;
}
.chip small{display:block;color:var(--text-dim);font-size:.7rem;letter-spacing:.1em}
.chip:hover{border-color:var(--gold)}
.chip.selected{background:linear-gradient(155deg,var(--gold-hi),var(--gold));color:#1d1504;border-color:transparent}
.chip.selected small{color:#4d3c11}
.chip.taken{opacity:.35;cursor:not-allowed;text-decoration:line-through}

/* Highlighted note box (house rules, minimum spend, booking summary).
   Lived only in events.html's page-local <style> before, which left every
   .sched-rule on booking.html completely unstyled. */
.sched-rule{background:rgba(201,165,87,.08);border:1px solid rgba(201,165,87,.3);border-radius:4px;
  padding:1rem 1.3rem;margin-top:1.4rem;font-size:.9rem;color:var(--text);line-height:1.8}
.sched-rule[hidden]{display:none}

/* ── admin dashboard ── */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-bottom:1.6rem}
.stat-card{
  background:linear-gradient(172deg,#1b1536,#120e26);border:1px solid rgba(201,165,87,.22);
  border-radius:6px;padding:1.1rem 1.2rem;
}
.stat-label{color:var(--text-dim);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;font-family:var(--caps);margin-bottom:.4rem}
.stat-label .zh{font-family:var(--serif-tc);letter-spacing:.15em;font-size:.78rem}
.stat-value{font-family:var(--display);font-weight:600;font-size:1.7rem;color:var(--text);letter-spacing:.02em}
.stat-value small{font-size:.9rem;color:var(--text-dim)}

.charts-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.4rem;margin-bottom:1.4rem}
.chart-title{font-size:.8rem;color:var(--text-dim);letter-spacing:.15em;text-transform:uppercase;font-family:var(--caps);margin-bottom:1rem}
.chart-title .zh{font-family:var(--serif-tc);font-size:.88rem;letter-spacing:.12em}
.bars{display:flex;align-items:flex-end;gap:10px;height:150px;border-bottom:1px solid rgba(255,255,255,.14);padding:0 .3rem}
.bar-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative}
.bar{
  width:100%;max-width:34px;min-height:2px;border-radius:4px 4px 0 0;
  background:var(--bar-color,#ab8134);position:relative;transition:filter .2s;
}
.bar:hover{filter:brightness(1.25)}
.bar:hover::after{
  content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);
  background:#0b0916;border:1px solid rgba(201,165,87,.5);color:var(--text);
  font-size:.72rem;padding:.25rem .6rem;border-radius:3px;white-space:nowrap;z-index:5;letter-spacing:.03em;
}
.bar-labels{display:flex;gap:10px;padding:.45rem .3rem 0}
.bar-labels span{flex:1;text-align:center;font-size:.68rem;color:var(--text-dim);letter-spacing:.05em}

.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.4rem;align-items:start}
.task-row{display:flex;align-items:center;gap:.6rem;padding:.45rem 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:.9rem}
.task-row:last-child{border-bottom:none}
.task-row input[type=checkbox]{accent-color:var(--gold);width:16px;height:16px;cursor:pointer}
.task-row.done .task-title{text-decoration:line-through;color:var(--text-dim)}
.task-title{flex:1}
.task-due{font-size:.72rem;color:var(--plum);letter-spacing:.08em}
.inline-form{display:flex;gap:.6rem;margin-bottom:1rem;flex-wrap:wrap}
.inline-form input{
  flex:1;min-width:140px;background:rgba(11,9,22,.6);border:1px solid rgba(255,255,255,.14);
  color:var(--text);border-radius:2px;padding:.55rem .9rem;font-size:.88rem;outline:none;font-family:var(--sans);
}
.inline-form input:focus{border-color:var(--gold)}
.inline-form input[type=date]{flex:0 0 auto;color-scheme:dark}

/* ── membership offer + terms ── */
.membership-card{
  background:linear-gradient(172deg,#221a44,#150f2c);
  border:1px solid rgba(201,165,87,.45);border-radius:8px;
  padding:2rem 1.7rem;text-align:center;margin-bottom:2rem;
  box-shadow:0 0 50px rgba(201,165,87,.1);
}
.membership-price{font-family:var(--display);font-size:2.2rem;font-weight:600;color:var(--gold-hi);letter-spacing:.02em}
.membership-period{font-size:1rem;font-family:var(--sans);color:var(--text-dim);font-weight:400}
.membership-name{font-family:var(--serif-tc);font-size:1.05rem;color:var(--text);margin:.5rem 0 1.3rem;font-weight:600;letter-spacing:.1em}
.membership-name .en{font-family:var(--display);letter-spacing:.02em;font-size:1.15rem}
.membership-benefits{list-style:none;text-align:left;max-width:400px;margin:0 auto 1.5rem;display:flex;flex-direction:column;gap:.65rem}
.membership-benefits li{color:var(--text-dim);font-size:.9rem;display:flex;gap:.6rem;line-height:1.5}
.membership-benefits li b{color:#8fd6a8;font-weight:600}

.membership-terms h3{font-family:var(--serif-tc);font-size:1rem;color:var(--gold-hi);margin-bottom:1.2rem;letter-spacing:.12em}
.term-item{margin-bottom:1.4rem;padding-bottom:1.4rem;border-bottom:1px solid rgba(255,255,255,.07)}
.term-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.term-item h4{font-family:var(--serif-tc);font-size:.92rem;color:var(--text);margin-bottom:.45rem;font-weight:600;letter-spacing:.05em}
.term-item p{color:var(--text-dim);font-size:.85rem;line-height:1.75}
.term-list{list-style:none;color:var(--text-dim);font-size:.82rem;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.3rem}
.term-list li{border:1px solid rgba(201,165,87,.3);border-radius:2px;padding:.25rem .8rem}


/* ══════════ ORDER CART & CHECKOUT ══════════ */

/* quantity stepper, used on product cards and inside the cart */
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:rgba(11,9,22,.6)}
.qty-btn{width:32px;height:34px;border:0;background:transparent;color:var(--gold-hi);font-size:1rem;line-height:1;cursor:pointer;transition:background .2s}
.qty-btn:hover{background:rgba(201,165,87,.16)}
.qty-input{width:40px;height:34px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);
  background:transparent;color:var(--text);text-align:center;font-family:var(--sans);font-size:.9rem}
.qty-input:focus{outline:none;background:rgba(201,165,87,.08)}
.qty-sm .qty-btn{width:26px;height:28px}
.qty-sm .qty-input{width:34px;height:28px;font-size:.82rem}

.qty-add{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:.7rem}
.pick-ask{display:inline-block;margin-top:.7rem;font-size:.82rem;color:var(--plum);text-decoration:none}
.pick-ask:hover{color:var(--gold-hi)}

/* floating "view order" button — sits above the LINE bubble */
.cart-fab{position:fixed;right:1.2rem;bottom:5.4rem;z-index:60;display:inline-flex;align-items:center;gap:.45rem;
  padding:.7rem 1.1rem;border:1px solid var(--gold);border-radius:999px;background:var(--ink-2);color:var(--gold-hi);
  font-family:var(--sans);font-size:.88rem;cursor:pointer;box-shadow:0 14px 40px rgba(0,0,0,.6);transition:transform .2s}
.cart-fab:hover{transform:translateY(-2px)}
.cart-fab[hidden]{display:none}
.cart-count{min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--gold);color:var(--ink);
  font-size:.72rem;line-height:20px;text-align:center;font-weight:600}

.cart-backdrop{position:fixed;inset:0;z-index:70;background:rgba(5,4,12,.72);backdrop-filter:blur(2px)}
.cart-panel{position:fixed;z-index:80;right:0;top:0;bottom:0;width:min(420px,100vw);display:flex;flex-direction:column;
  gap:.2rem;padding:1.3rem 1.2rem 1.6rem;background:var(--ink-2);border-left:1px solid var(--line);
  overflow-y:auto;transform:translateX(100%);transition:transform .25s ease}
.cart-panel.is-open{transform:translateX(0)}
.cart-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.cart-head h3{font-family:var(--serif-tc);font-size:1.05rem;font-weight:600;letter-spacing:.08em;color:var(--gold-hi)}
.cart-close{border:0;background:transparent;color:var(--text-dim);font-size:1.6rem;line-height:1;cursor:pointer}
.cart-close:hover{color:var(--gold-hi)}

.cart-empty{color:var(--text-dim);font-size:.88rem;padding:1.2rem 0}
.cart-line{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:.5rem;
  padding:.7rem 0;border-bottom:1px solid rgba(201,165,87,.14)}
.cart-line-name{font-size:.86rem;line-height:1.4}
.cart-line-name small{display:block;color:var(--text-dim);font-size:.75rem}
.cart-line-amt{font-size:.86rem;color:var(--gold-hi);white-space:nowrap;min-width:74px;text-align:right}
.cart-line-x{border:0;background:transparent;color:var(--text-dim);font-size:1.15rem;line-height:1;cursor:pointer}
.cart-line-x:hover{color:var(--rose)}

.cart-total{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  margin:.9rem 0 1.1rem;padding-top:.8rem;border-top:1px solid var(--line);font-size:.9rem}
.cart-total strong{font-size:1.15rem;color:var(--gold-hi)}

.cart-panel [hidden]{display:none}
#cartCheckoutBtn{width:100%;margin-top:.9rem}
.cart-back{border:0;background:transparent;color:var(--text-dim);font-size:.78rem;letter-spacing:.05em;
  cursor:pointer;padding:0 0 .3rem;text-align:left}
.cart-back:hover{color:var(--gold-hi)}
.cart-form{display:flex;flex-direction:column;gap:.7rem}
.cart-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--text-dim)}
.cart-form input{padding:.55rem .7rem;border:1px solid var(--line);border-radius:9px;background:rgba(11,9,22,.6);
  color:var(--text);font-family:var(--sans);font-size:.9rem}
.cart-form input:focus{outline:none;border-color:var(--gold)}
.cart-fine{font-size:.75rem;color:var(--text-dim);line-height:1.6}

/* order confirmation page */
.order-no-panel{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.order-no-label{font-size:.8rem;color:var(--text-dim)}
.order-no{font-family:var(--caps);font-size:1.35rem;letter-spacing:.12em;color:var(--gold-hi)}
.panel-title{font-family:var(--serif-tc);font-size:1rem;font-weight:600;letter-spacing:.08em;color:var(--gold-hi);margin-bottom:.7rem}
.order-table{width:100%;border-collapse:collapse;font-size:.9rem}
.order-table td{padding:.5rem 0;border-bottom:1px solid rgba(201,165,87,.14)}
.order-table td.num{text-align:right;white-space:nowrap;color:var(--text-dim);padding-left:.8rem}
.order-total{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-top:.9rem;font-size:.9rem}
.order-total strong{font-size:1.2rem;color:var(--gold-hi)}
.bank-rows{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1rem;font-size:.9rem}
.bank-rows dt{color:var(--text-dim);white-space:nowrap}
.bank-rows dd{color:var(--gold-hi);word-break:break-all}
.bank-note{margin:1rem 0 .9rem;font-size:.82rem;color:var(--text-dim);line-height:1.7}

@media (max-width:520px){
  .cart-fab{right:.9rem;bottom:5rem;font-size:.82rem}
  .cart-panel{width:100vw}
  .cart-line{grid-template-columns:1fr auto auto;row-gap:.35rem}
  .cart-line-x{grid-column:3;grid-row:1}
  .cart-line-amt{grid-column:2 / 4;text-align:right}
}


/* ══════════ SHOP PAGE ══════════ */
/* swipeable photo gallery on each product card — native scroll-snap, so
   touch swipe works with no extra JS; the arrows/dots are a pointer-device
   convenience on top of that. */
.shop-gallery{position:relative;aspect-ratio:1/1;background:var(--ink-3);margin-bottom:1.3rem;border-bottom:1px solid rgba(157,123,216,.18)}
.shop-gallery-empty{display:flex;align-items:center;justify-content:center;font-size:2.6rem}
.shop-gallery-track{
  display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;
}
.shop-gallery-track::-webkit-scrollbar{display:none}
.shop-gallery-slide{flex:0 0 100%;scroll-snap-align:start;height:100%}
.shop-gallery-slide img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.shop-gallery-arrow{
  position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;
  border:1px solid rgba(201,165,87,.4);background:rgba(11,9,22,.65);color:var(--gold-hi);
  font-size:1.2rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.shop-gallery-arrow.prev{left:.6rem}
.shop-gallery-arrow.next{right:.6rem}
.shop-gallery-arrow:hover{background:rgba(11,9,22,.9);border-color:var(--gold)}
.shop-gallery-dots{position:absolute;bottom:.6rem;left:0;right:0;display:flex;justify-content:center;gap:.4rem}
.shop-gallery-dots .dot{width:6px;height:6px;border-radius:50%;background:rgba(239,233,220,.35)}
.shop-gallery-dots .dot.active{background:var(--gold-hi)}

/* ── featured products: big detail panel, image beside text ── */
.shop-detail{display:grid;grid-template-columns:260px 1fr;gap:1.6rem;align-items:start;margin-bottom:1.4rem}
.shop-detail .shop-gallery{margin-bottom:0;border-radius:12px;overflow:hidden;border-bottom:none}
.shop-detail-body h2{font-family:var(--serif-tc);font-size:1.2rem;font-weight:600;letter-spacing:.06em;color:var(--gold-hi);margin-bottom:.35rem}
.shop-detail-body p{color:var(--text-dim);font-size:.92rem}
.shop-detail-price{font-family:var(--caps);font-size:1.25rem;color:var(--text);margin-bottom:.6rem;display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap}
.shop-detail-was{font-size:.9rem;color:var(--text-dim);text-decoration:line-through}
.shop-detail-per{font-size:.85rem;color:var(--text-dim);font-family:var(--sans)}
.detail-list{list-style:none;margin:.8rem 0 .2rem;padding:0}
.detail-list li{position:relative;padding-left:1.1rem;font-size:.86rem;color:var(--text-dim);line-height:1.9}
.detail-list li::before{content:"◆";position:absolute;left:0;color:var(--gold);font-size:.6rem;top:.45rem}

/* section header between the featured panels and the picks grid below */
.shop-picks-head{margin-top:3.4rem}

@media (max-width:640px){
  .shop-detail{grid-template-columns:1fr;gap:1rem}
}
