/* 八月人導覽（老闆 2026-10-09）：一進來先問要不要導覽 → 選「預約流程導覽」（黑金動畫圖卡）或「會員區使用說明」（實際畫面聚光燈）。
   旁白＝低沉男聲（static/tour/*.mp3）。顏色跟八月人香檳金一致。 */
#tour-root{position:fixed;inset:0;z-index:2500;display:none;font-family:var(--sans,'Noto Sans TC',-apple-system,'PingFang TC',sans-serif)}
#tour-root.open{display:block}
#tour-root .t-dim{position:absolute;inset:0;background:rgba(0,0,0,.86);animation:tFade .35s ease}
@keyframes tFade{from{opacity:0}to{opacity:1}}
@keyframes tUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes tGlow{0%,100%{box-shadow:0 0 0 1px rgba(232,201,142,.6),0 0 18px rgba(232,201,142,.25)}50%{box-shadow:0 0 0 2px rgba(255,227,168,.9),0 0 32px rgba(232,201,142,.5)}}
@keyframes tSpin{to{transform:rotate(360deg)}}

/* 上方工具列：跳過、聲音 */
#tour-root .t-top{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:center;gap:8px;
  padding:max(12px,env(safe-area-inset-top)) 14px 10px;z-index:5}
#tour-root .t-ic{width:42px;height:42px;border-radius:50%;border:1px solid rgba(200,169,110,.4);background:rgba(16,14,10,.85);color:#c8a96e;
  display:flex;align-items:center;justify-content:center;cursor:pointer}
#tour-root .t-skip{min-height:40px;padding:0 16px;border-radius:20px;border:1px solid rgba(200,169,110,.4);background:rgba(16,14,10,.85);
  color:#c8a96e;font-size:.86rem;font-weight:700;font-family:inherit;cursor:pointer}

/* ── 選單 ── */
#tour-root .t-menu{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,400px);text-align:center;
  background:linear-gradient(170deg,#17130c,#0b0a08);border:1px solid rgba(200,169,110,.45);border-radius:18px;padding:26px 18px 18px;
  box-shadow:0 20px 60px rgba(0,0,0,.7);animation:tUp .45s cubic-bezier(.2,.8,.2,1)}
#tour-root .t-menu .seal{width:66px;height:66px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 35% 30%,#ffe9bd,#c8a96e 60%,#8a6d3b);color:#1a1408;animation:tGlow 2.4s ease-in-out infinite}
#tour-root .t-menu .seal .ms{font-size:34px}
#tour-root .t-menu h3{margin:0;font-family:var(--serif,'Noto Serif TC',serif);font-weight:900;color:#e8c98e;font-size:1.25rem;letter-spacing:.12em}
#tour-root .t-menu p{margin:8px 0 16px;color:#a09a90;font-size:.84rem;line-height:1.6}
#tour-root .t-opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px;margin-bottom:10px;border-radius:12px;
  border:1px solid rgba(200,169,110,.55);background:rgba(200,169,110,.08);color:#e8e0d0;font-family:inherit;cursor:pointer}
#tour-root .t-opt .ms{color:#e8c98e;font-size:28px;flex:none}
#tour-root .t-opt b{display:block;font-size:.98rem;letter-spacing:.04em}
#tour-root .t-opt small{display:block;color:#a09a90;font-size:.74rem;margin-top:2px}
#tour-root .t-opt .go{margin-left:auto;color:#c8a96e}
#tour-root .t-later{margin-top:4px;background:none;border:none;color:#6b6660;font-size:.84rem;font-family:inherit;padding:10px;cursor:pointer}

/* ── 預約流程：動畫圖卡 ── */
#tour-root .t-card{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:80px 22px calc(110px + env(safe-area-inset-bottom));text-align:center}
#tour-root .t-prog{position:absolute;left:18px;right:18px;top:calc(max(12px,env(safe-area-inset-top)) + 54px);display:flex;gap:5px;z-index:4}
#tour-root .t-prog i{flex:1;height:3px;border-radius:2px;background:rgba(200,169,110,.2);overflow:hidden;position:relative}
#tour-root .t-prog i.done{background:#c8a96e}
#tour-root .t-prog i.cur::after{content:'';position:absolute;inset:0;background:#e8c98e;transform-origin:left;animation:tBar var(--dur,6s) linear forwards}
@keyframes tBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
#tour-root .t-badge{width:118px;height:118px;border-radius:50%;position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:22px;
  background:radial-gradient(circle at 35% 30%,#3a2f1c,#120f0a 70%);border:1px solid rgba(232,201,142,.6);animation:tUp .5s cubic-bezier(.2,.8,.2,1)}
#tour-root .t-badge::before{content:'';position:absolute;inset:-9px;border-radius:50%;border:1px dashed rgba(200,169,110,.45);animation:tSpin 18s linear infinite}
#tour-root .t-badge .ms{font-size:56px;color:#ffe3a8}
#tour-root .t-step{font-size:.72rem;letter-spacing:.3em;color:#c8a96e;margin-bottom:8px;animation:tUp .5s .05s both}
#tour-root .t-title{font-family:var(--serif,'Noto Serif TC',serif);font-weight:900;color:#f3e6c8;font-size:1.45rem;letter-spacing:.1em;margin-bottom:14px;
  animation:tUp .5s .1s both}
#tour-root .t-say{max-width:360px;color:#cfc6b6;font-size:.95rem;line-height:1.85;animation:tUp .5s .18s both}
#tour-root .t-bot{position:absolute;left:0;right:0;bottom:0;display:flex;gap:10px;justify-content:center;
  padding:14px 18px calc(18px + env(safe-area-inset-bottom));z-index:5}
#tour-root .t-btn{min-height:50px;padding:0 26px;border-radius:25px;font-size:.98rem;font-weight:800;font-family:inherit;cursor:pointer;
  display:inline-flex;align-items:center;gap:6px}
#tour-root .t-btn.pri{border:none;background:linear-gradient(135deg,#e8c98e,#c8a96e);color:#1a1408}
#tour-root .t-btn.sec{border:1px solid rgba(200,169,110,.5);background:rgba(16,14,10,.85);color:#c8a96e}

/* ── 會員區：聚光燈 ── */
#tour-root .t-hole{position:absolute;border-radius:14px;box-shadow:0 0 0 9999px rgba(0,0,0,.84);pointer-events:none;
  transition:left .35s ease,top .35s ease,width .35s ease,height .35s ease}
#tour-root .t-hole::after{content:'';position:absolute;inset:-3px;border-radius:16px;animation:tGlow 1.8s ease-in-out infinite}
#tour-root .t-hole.none{left:50%!important;top:50%!important;width:0!important;height:0!important}
#tour-root .t-bub{position:absolute;left:16px;right:16px;max-width:420px;margin:0 auto;padding:16px 16px 14px;border-radius:14px;
  background:linear-gradient(170deg,#1b160d,#0e0c09);border:1px solid rgba(200,169,110,.55);box-shadow:0 14px 40px rgba(0,0,0,.6);
  animation:tUp .4s cubic-bezier(.2,.8,.2,1)}
#tour-root .t-bub .n{font-size:.68rem;letter-spacing:.25em;color:#c8a96e;margin-bottom:6px}
#tour-root .t-bub .s{color:#e8e0d0;font-size:.95rem;line-height:1.75}
#tour-root .t-bub .row{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
#tour-root .t-bub .t-btn{min-height:42px;padding:0 18px;font-size:.88rem}
#tour-root .t-arrow{position:absolute;width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent}
#tour-root .t-arrow.down{border-top:12px solid #c8a96e}
#tour-root .t-arrow.up{border-bottom:12px solid #c8a96e}
