@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;700&display=swap');

:root{
  --font-sans:"Inter","Noto Sans TC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  --fs-hero:clamp(34px, 6.2vw, 56px);
  --fs-h2:clamp(22px, 3.2vw, 32px);
  --fs-body:16px;
  --fs-small:13px;
  --text-xs:var(--fs-small);
  --text-sm:14px;
  --text-base:var(--fs-body);
  --text-lg:18px;
  --text-xl:22px;
  --text-2xl:28px;
  --text-3xl:40px;
  --text-4xl:56px;

  --sp-4:4px;
  --sp-8:8px;
  --sp-12:12px;
  --sp-16:16px;
  --sp-20:20px;
  --sp-24:24px;
  --sp-32:32px;
  --sp-40:40px;
  --sp-48:48px;
  --sp-64:64px;
  --sp-80:80px;
  --sp-96:96px;
  --space-1:var(--sp-4);
  --space-2:var(--sp-8);
  --space-3:var(--sp-12);
  --space-4:var(--sp-16);
  --space-5:var(--sp-24);
  --space-6:var(--sp-32);
  --space-7:var(--sp-48);
  --space-8:var(--sp-64);

  --r-12:12px;
  --r-16:16px;
  --r-20:20px;

  --shadow-sm:0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg:0 18px 48px rgba(0,0,0,0.12);

  --bg:#f6f5f2;
  --surface:rgba(255,255,255,0.9);
  --surface-2:#faf9f7;
  --text:#0f172a;
  --text-muted:#6b7280;
  --line:rgba(0,0,0,0.06);
  --accent:#c7a46a;
  --accent-soft:#f6eedf;
  --accent-strong:#9f7930;
  --focus-ring:0 0 0 3px rgba(197,157,91,0.35);
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  color:var(--text);
  background:linear-gradient(180deg, #fbfaf8 0%, #f3f1ec 100%);
  font-family:var(--font-sans);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}

.page{
  max-width:1180px;
  margin:0 auto;
  padding:0 var(--sp-16) calc(var(--sp-48) + env(safe-area-inset-bottom));
}

.site-header{
  position:sticky;
  top:8px;
  z-index:20;
  margin-top:var(--space-4);
  padding-top:env(safe-area-inset-top);
}
.nav-shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-3);
  padding:10px var(--space-4);
  min-height:56px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.8);
  box-shadow:var(--shadow-sm);
  backdrop-filter:blur(12px);
  transition:all 0.25s ease;
}
.nav-title{
  font-size:var(--fs-small);
  font-weight:600;
  letter-spacing:0.08em;
  color:var(--text);
  text-transform:none;
}
.site-header.is-scrolled .nav-shell{
  padding:8px var(--space-4);
  box-shadow:var(--shadow-md);
  border-color:rgba(230,225,217,0.6);
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  min-width:0;
}
.brand-mark,
.brand-mark img{
  width:auto;
  height:40px;
  display:block;
  object-fit:contain;
}
.brand-name{
  font-size:var(--text-sm);
  letter-spacing:0.1px;
  white-space:normal;
  line-height:1.2;
  max-width:180px;
  display:none;
}

.nav-links{
  display:none;
  gap:var(--space-3);
  align-items:center;
  flex-wrap:wrap;
  margin-left:auto;
}
.nav-links a{
  min-height:44px;
  padding:8px 14px;
  border-radius:999px;
  font-size:var(--text-sm);
  font-weight:600;
  color:var(--text);
  border:1px solid transparent;
  transition:all 0.2s ease;
}
.home-member-menu{
  position:relative;
}
.home-member-menu__btn{
  min-height:44px;
  padding:8px 14px;
  border-radius:999px;
  font-size:var(--text-sm);
  font-weight:600;
  color:var(--text);
  border:1px solid transparent;
  background:transparent;
  transition:all 0.2s ease;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.home-member-menu__btn:hover{border-color:rgba(197,157,91,0.3);background:rgba(255,255,255,0.95);transform:translateY(-1px);}
.home-member-menu__btn:focus-visible{outline:none;box-shadow:var(--focus-ring);}
.home-member-menu__arrow{font-size:11px;line-height:1;transition:transform .2s ease;}
.home-member-menu.is-open .home-member-menu__arrow{transform:rotate(180deg);}
.home-member-menu__panel{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:190px;
  padding:8px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.98);
  box-shadow:0 16px 34px rgba(15,23,42,.16);
  display:none;
  z-index:25;
}
.home-member-menu.is-open .home-member-menu__panel{display:grid;gap:4px;}
.home-member-menu__panel a,
.home-member-menu__logout,
.home-member-menu__login{
  min-height:36px;
  border-radius:10px;
  padding:8px 10px;
  font-size:13px;
  font-weight:600;
  color:var(--text);
  text-align:left;
  display:flex;
  align-items:center;
  border:0;
  background:transparent;
  cursor:pointer;
}
.home-member-menu__panel a:hover,
.home-member-menu__logout:hover,
.home-member-menu__login:hover{
  background:rgba(197,157,91,0.12);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:var(--space-2);
}
.site-header .lang-toggle{
  margin-left:auto;
}
.lang-toggle{
  min-width:56px;
  height:36px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.06em;
  color:var(--text);
  cursor:pointer;
  padding:0 12px;
}
.lang-toggle:hover{border-color:#d6b37a;box-shadow:0 6px 14px rgba(17,24,39,0.08);}
.nav-cta{
  display:none;
  min-height:44px;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#caa86c,#b48a3a);
  color:#fff;
  font-weight:600;
  font-size:var(--text-sm);
  box-shadow:var(--shadow-sm);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:active{transform:scale(0.98);}

.nav-toggle{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.92);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.nav-toggle__text{
  font-size:12px;
  font-weight:600;
  letter-spacing:0.08em;
  color:var(--text);
}

.nav-drawer{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:0;
  transition:opacity 0.25s ease;
  z-index:30;
}
.nav-drawer__backdrop{
  position:absolute;
  inset:0;
  border:none;
  background:rgba(17,24,39,0.35);
}
.nav-drawer__panel{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:min(360px, 100%);
  background:var(--surface);
  padding:calc(var(--space-6) + env(safe-area-inset-top)) var(--space-5) calc(var(--space-6) + env(safe-area-inset-bottom) + 36px);
  display:flex;
  flex-direction:column;
  gap:var(--space-5);
  transform:translateX(100%);
  transition:transform 0.25s ease;
  box-shadow:var(--shadow-lg);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.nav-drawer__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav-drawer__close{
  border:none;
  background:transparent;
  font-size:18px;
  cursor:pointer;
  min-height:44px;
  min-width:44px;
}
.nav-drawer__group{
  display:grid;
  gap:var(--space-3);
  padding-bottom:24px;
}
.nav-drawer__label{
  font-size:var(--text-xs);
  color:var(--text-muted);
  letter-spacing:0.3px;
}
.nav-drawer__group a{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-weight:600;
  font-size:var(--text-base);
  color:var(--text);
  min-height:44px;
}
.nav-drawer__group small{
  font-size:var(--text-sm);
  color:var(--text-muted);
}
.home-drawer-member-menu{
  display:grid;
  gap:6px;
}
.home-drawer-member-menu__btn{
  min-height:50px;
  border:1px solid rgba(180,138,58,.35);
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(247,241,231,.94));
  padding:0 14px;
  font-size:15px;
  font-weight:800;
  color:#7c581f;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  border-radius:14px;
  box-shadow:0 10px 22px rgba(159,121,48,.14), inset 0 1px 0 rgba(255,255,255,.85);
}
.home-drawer-member-menu__btn:hover{
  border-color:rgba(159,121,48,.55);
  box-shadow:0 12px 24px rgba(159,121,48,.19), inset 0 1px 0 rgba(255,255,255,.9);
  transform:translateY(-1px);
}
.home-drawer-member-menu__btn:focus-visible{
  outline:none;
  box-shadow:var(--focus-ring),0 10px 22px rgba(159,121,48,.16);
}
.home-drawer-member-menu__arrow{font-size:12px;line-height:1;transition:transform .2s ease;color:#9f7930;}
.home-drawer-member-menu.is-open .home-drawer-member-menu__arrow{transform:rotate(180deg);}
.home-drawer-member-menu__panel{
  display:none;
  gap:7px;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(180,138,58,.22);
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,246,238,.88));
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}
.home-drawer-member-menu.is-open .home-drawer-member-menu__panel{display:grid;}
.home-drawer-member-menu__panel a,
.home-drawer-member-menu__logout,
.home-drawer-member-menu__login{
  min-height:40px;
  border-radius:12px;
  padding:10px 12px;
  font-size:14px;
  font-weight:700;
  color:var(--text);
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  cursor:pointer;
}
.home-drawer-member-menu__panel a:hover,
.home-drawer-member-menu__logout:hover,
.home-drawer-member-menu__login:hover{
  background:rgba(197,157,91,0.16);
}
.nav-drawer__cta{
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#caa86c,#b48a3a);
  color:#fff;
  font-weight:600;
  text-align:center;
  min-height:44px;
  box-shadow:var(--shadow-sm);
}

body.nav-open .nav-drawer{
  pointer-events:auto;
  opacity:1;
}
body.nav-open .nav-drawer__panel{
  transform:translateX(0);
}

.hero-shell{
  margin-top:var(--sp-40);
  position:relative;
  padding:var(--sp-40) var(--sp-24);
  border-radius:var(--r-16);
  background:linear-gradient(140deg, rgba(255,255,255,0.9), rgba(247,245,241,0.9));
  border:1px solid var(--line);
  overflow:visible;
}
.hero-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(197,157,91,0.18), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(17,24,39,0.12), transparent 40%),
    repeating-linear-gradient(120deg, rgba(255,255,255,0.35) 0px, rgba(255,255,255,0.35) 2px, transparent 2px, transparent 10px);
  opacity:0.7;
  pointer-events:none;
}
.hero{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:var(--sp-24);
  align-items:center;
  z-index:1;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  border-radius:999px;
  font-size:var(--text-xs);
  font-weight:600;
  color:var(--accent-strong);
  background:var(--accent-soft);
  margin-bottom:var(--space-3);
}
.hero-content h1{
  font-size:var(--fs-hero);
  line-height:1.08;
  margin:0 0 var(--sp-12);
  letter-spacing:-0.02em;
  font-weight:600;
}
.hero-content .lead{
  font-size:var(--fs-body);
  color:var(--text-muted);
  margin:0 0 var(--sp-20);
  line-height:1.6;
  font-weight:400;
}
.hero-cta{
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  margin-bottom:var(--sp-24);
}
.hero-cta__actions{
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  width:100%;
}
.hero-cta__primary,
.hero-cta__secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border-radius:999px;
  font-size:var(--fs-body);
  font-weight:600;
  letter-spacing:0.01em;
  width:100%;
  text-align:center;
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-cta__primary{
  background:linear-gradient(135deg,#caa86c,#b48a3a);
  color:#fff;
  border:1px solid rgba(159,121,48,0.45);
  box-shadow:0 12px 24px rgba(159,121,48,0.28);
}
.hero-cta__secondary{
  background:rgba(255,255,255,0.85);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.hero-cta__primary:active,
.hero-cta__secondary:active{
  transform:scale(0.98);
}
.hero-cta__note{
  margin:0;
  font-size:var(--fs-small);
  color:var(--text-muted);
  line-height:1.6;
}
.hero-cta__audience-badge{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  align-self:flex-start;
  min-height:auto;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(202,168,108,0.12);
  border:1px solid rgba(180,138,58,0.28);
  color:#7f5a18;
  font-size:var(--fs-small);
  line-height:1.4;
  font-weight:600;
  text-align:left;
  width:auto;
  max-width:100%;
  white-space:normal;
}
.hero-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.6);
  z-index:40;
}
.hero-modal.is-visible{
  display:flex;
}
.hero-modal__content{
  background:#fff;
  padding:24px;
  border-radius:16px;
  max-width:320px;
  text-align:center;
  box-shadow:0 20px 40px rgba(15,23,42,.25);
}
.hero-modal__content h3{
  margin-top:0;
  margin-bottom:12px;
  font-size:20px;
}
.hero-modal__intro{
  margin:0 0 8px;
  color:#0f172a;
  line-height:1.6;
}
.hero-modal__hint{
  margin:0 0 18px;
  font-size:14px;
  color:#475569;
}
.hero-modal__actions{
  display:flex;
  justify-content:center;
  gap:10px;
}
.hero-modal .btn{
  min-width:120px;
  border-radius:999px;
  padding:10px 18px;
  font-weight:700;
  text-transform:none;
}
.hero-modal .btn-primary{
  background:linear-gradient(135deg,#1f2937,#0f172a);
  color:#fff;
  border:none;
  box-shadow:0 10px 20px rgba(15,23,42,0.25);
}
.hero-modal .btn-ghost{
  border:1px solid rgba(15,23,42,0.2);
  background:#fff;
  color:#0f172a;
}
.policy-dialog{
  border:none;
  border-radius:18px;
  padding:0;
  width:92%;
  max-width:560px;
  background:#fff;
  color:#0f172a;
  border:1px solid #e2e8f0;
  box-shadow:0 20px 60px rgba(15,23,42,.35);
}
.policy-dialog header{
  padding:18px 20px;
  border-bottom:1px solid #e5e7eb;
  font-weight:800;
  font-size:18px;
}
.policy-dialog .body{
  padding:20px;
  font-size:14px;
  line-height:1.7;
  color:#1e293b;
  max-height:60vh;
  overflow:auto;
}
.policy-dialog .body label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin:0 0 6px;
  color:#334155;
}
.policy-dialog .body input{
  width:100%;
  border:1px solid #d1d5db;
  border-radius:10px;
  padding:10px 12px;
  font-size:15px;
  margin:0 0 12px;
  color:#0f172a;
  background:#fff;
}
.policy-dialog footer{
  padding:18px 20px;
  border-top:1px solid #e5e7eb;
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
.policy-dialog .btn{
  border:none;
  border-radius:999px;
  padding:8px 18px;
  background:#e2e8f0;
  color:#0f172a;
  font-weight:700;
  cursor:pointer;
}
.policy-dialog .btn.primary{
  background:#111827;
  color:#fff;
}
.fortune-dialog{
  border:none;
  border-radius:18px;
  padding:0;
  max-width:560px;
  width:92%;
  background:#fff;
  color:#0f172a;
  box-shadow:0 30px 70px rgba(0,0,0,.35);
}
.fortune-shell{
  padding:20px;
  display:grid;
  gap:16px;
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.25);
}
.fortune-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.fortune-title{
  font-size:18px;
  font-weight:700;
}
.fortune-date{
  font-size:12px;
  color:#6b7280;
}
.fortune-close{
  border:none;
  background:#f1f5f9;
  color:#0f172a;
  border-radius:999px;
  width:28px;
  height:28px;
  cursor:pointer;
}
.fortune-loading{
  padding:16px;
  border-radius:14px;
  border:1px dashed rgba(148,163,184,.4);
  background:#f8fafc;
  color:#64748b;
  font-size:13px;
  text-align:center;
}
.fortune-error{
  padding:12px;
  border-radius:12px;
  background:#fef2f2;
  border:1px solid rgba(239,68,68,.2);
  color:#991b1b;
  font-size:13px;
}
.fortune-body{position:relative;min-height:180px;}
.fortune-reveal-stage{
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px 0 8px;
  perspective:1200px;
}
.fortune-reveal-card{
  width:min(90%, 360px);
  aspect-ratio:1.8 / 1;
  border-radius:18px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.26), transparent 55%),
    linear-gradient(132deg, #c7a46a 0%, #b8833e 42%, #1f9fb9 100%);
  border:1px solid rgba(255,255,255,.34);
  box-shadow:0 18px 34px rgba(15,23,42,.24);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  transform-style:preserve-3d;
}
.fortune-reveal-copy{
  position:absolute;
  inset:0;
  z-index:2;
  transform-style:preserve-3d;
  pointer-events:none;
}
.fortune-reveal-brand{
  position:absolute;
  top:12px;
  left:12px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.22);
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(4px);
}
.fortune-reveal-brand-logo{
  width:16px;
  height:16px;
  filter:brightness(0) invert(1);
  opacity:.95;
  flex:0 0 auto;
}
.fortune-reveal-brand-text{
  color:rgba(255,255,255,.95);
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:lowercase;
  line-height:1;
}
.fortune-reveal-stage.is-running .fortune-reveal-card{
  animation:fortuneFloat 900ms ease-in-out infinite alternate, fortuneFlipLoop 1380ms cubic-bezier(.45,.05,.55,.95) infinite;
}
.fortune-reveal-stage.is-running .fortune-reveal-copy{
  animation:fortuneCounterFlip 1380ms cubic-bezier(.45,.05,.55,.95) infinite;
}
.fortune-reveal-stage.is-unlocking .fortune-reveal-card{
  animation:fortuneUnlock 520ms cubic-bezier(.17,.84,.44,1) forwards;
}
.fortune-reveal-stage.is-unlocking .fortune-reveal-copy{
  animation:fortuneCounterUnlock 520ms cubic-bezier(.17,.84,.44,1) forwards;
}
.fortune-reveal-glow{
  position:absolute;
  inset:-40% -50%;
  background:linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform:translateX(-40%);
  opacity:.68;
  pointer-events:none;
}
.fortune-reveal-stage.is-running .fortune-reveal-glow{
  animation:fortuneGlint 1000ms linear infinite;
}
.fortune-reveal-mark{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  color:#fff;
  font-size:34px;
  font-weight:800;
  letter-spacing:.12em;
  text-shadow:0 4px 16px rgba(15,23,42,.35);
}
.fortune-reveal-watermark{
  position:absolute;
  right:-18px;
  bottom:10px;
  z-index:3;
  color:rgba(255,255,255,.22);
  font-size:22px;
  font-weight:800;
  letter-spacing:.12em;
  transform:rotate(-9deg);
  pointer-events:none;
  user-select:none;
}
.fortune-card.is-reveal-in{
  animation:fortuneCardEnter 360ms cubic-bezier(.17,.84,.44,1);
}
.fortune-card{
  padding:16px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.25);
}
.fortune-stars{
  font-size:16px;
  letter-spacing:2px;
  color:#b45309;
  margin-bottom:6px;
}
.fortune-summary{
  font-size:16px;
  font-weight:600;
  color:#0f172a;
  margin-bottom:10px;
}
.fortune-section{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(148,163,184,.25);
}
.fortune-label{
  font-size:12px;
  letter-spacing:1px;
  color:#6b7280;
  margin-bottom:6px;
}
.fortune-text{
  font-size:14px;
  line-height:1.7;
  color:#0f172a;
}
.fortune-v3-lines{
  display:grid;
  gap:8px;
}
.fortune-v3-line{
  display:block;
  padding:9px 12px;
  border-radius:10px;
  border:1px solid rgba(148,163,184,.24);
  background:#f8fafc;
}
.fortune-meta{
  margin-top:12px;
  margin-bottom:12px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  font-size:11px;
  color:#6b7280;
}
.fortune-meta span{
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.25);
  background:#f8fafc;
}
.fortune-explain{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(148,163,184,.25);
  display:grid;
  gap:10px;
}
.fortune-explain-toggle{
  border:none;
  background:#fff;
  border:1px solid rgba(148,163,184,.25);
  color:#0f172a;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
  border-radius:999px;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:fit-content;
  max-width:100%;
  text-align:left;
  cursor:pointer;
}
.fortune-explain-toggle[aria-expanded="true"]{
  background:#f1f5f9;
}
.fortune-explain-body{
  display:grid;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.22);
  background:#f8fafc;
  font-size:13px;
  line-height:1.6;
  color:#0f172a;
}
.fortune-explain-title{
  font-weight:700;
  font-size:17px;
  line-height:1.4;
}
.fortune-explain-desc,.fortune-explain-how,.fortune-explain-title{
  margin:0;
}
.fortune-explain-desc,.fortune-explain-how{
  color:#64748b;
  line-height:1.75;
}
.fortune-task{
  display:grid;
  gap:8px;
}
.fortune-task-toggle{
  border:1px solid rgba(148,163,184,.25);
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  color:#0f172a;
  cursor:pointer;
  text-align:left;
}
.fortune-task-toggle[aria-pressed="true"]{
  background:#ecfdf3;
  border-color:rgba(16,185,129,.3);
  color:#065f46;
}
.fortune-task-streak{
  font-size:12px;
  color:#f97316;
  font-weight:600;
}
.fortune-task-feedback{
  margin-top:8px;
  font-size:12px;
  line-height:1.6;
  color:#475569;
  padding:8px 10px;
  border-radius:10px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.25);
}
@keyframes fortuneFlipLoop{
  0%{transform:rotateY(0deg) rotateX(0deg) scale(1);}
  40%{transform:rotateY(178deg) rotateX(4deg) scale(1.015);}
  70%{transform:rotateY(184deg) rotateX(-4deg) scale(1.01);}
  100%{transform:rotateY(360deg) rotateX(0deg) scale(1);}
}
@keyframes fortuneFloat{
  from{transform:translateY(0);}
  to{transform:translateY(-6px);}
}
@keyframes fortuneGlint{
  from{transform:translateX(-65%);}
  to{transform:translateX(70%);}
}
@keyframes fortuneUnlock{
  0%{transform:rotateY(0deg) scale(1);}
  45%{transform:rotateY(178deg) scale(1.03);}
  100%{transform:rotateY(360deg) scale(.92);opacity:0;}
}
@keyframes fortuneCounterFlip{
  0%{transform:rotateY(0deg);}
  40%{transform:rotateY(-178deg);}
  70%{transform:rotateY(-184deg);}
  100%{transform:rotateY(-360deg);}
}
@keyframes fortuneCounterUnlock{
  0%{transform:rotateY(0deg);}
  45%{transform:rotateY(-178deg);}
  100%{transform:rotateY(-360deg);}
}
@keyframes fortuneCardEnter{
  from{opacity:0;transform:translateY(12px) scale(.985);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.hero-guardian-badge{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg,#0f172a,#111827);
  border:1px solid rgba(148,163,184,0.35);
  color:#e2e8f0;
  box-shadow:0 12px 24px rgba(15,23,42,0.25);
  cursor:pointer;
  user-select:none;
}
.guardian-badge[hidden]{
  display:none !important;
}
.hero-guardian-badge img{
  width:28px;
  height:28px;
  object-fit:contain;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.guardian-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  font-size:12px;
}
.guardian-meta strong{
  font-size:13px;
  font-weight:700;
  color:#f8fafc;
}
.guardian-sub{
  font-size:11px;
  color:#94a3b8;
}
.guardian-alert{
  position:absolute;
  top:-4px;
  right:-4px;
  min-width:18px;
  height:18px;
  padding:0 4px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:none;
  align-items:center;
  justify-content:center;
  border:2px solid #111827;
  line-height:1;
}
.guardian-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:170px;
  display:none;
  flex-direction:column;
  gap:4px;
  padding:6px;
  border-radius:12px;
  background:#0b1022;
  border:1px solid rgba(148,163,184,.25);
  box-shadow:0 18px 36px rgba(0,0,0,.35);
  z-index:30;
}
.guardian-menu.guardian-menu--open{
  display:flex;
}
.guardian-menu a,
.guardian-menu button{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  padding:8px 10px;
  border-radius:10px;
  background:transparent;
  border:0;
  color:#e2e8f0;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  text-align:left;
  cursor:pointer;
}
.guardian-menu a:hover,
.guardian-menu button:hover{
  background:rgba(148,163,184,.12);
}
.guardian-menu-badge{
  margin-left:auto;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:none;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.hero-info-link{
  margin-top:10px;
  border:none;
  background:transparent;
  color:#64748b;
  font-size:12px;
  text-align:left;
  cursor:pointer;
}
.hero-info-link:hover{
  color:#475569;
}
.hero-info-dialog{
  border:none;
  border-radius:16px;
  padding:0;
  max-width:520px;
  width:92%;
  background:#fff;
  color:#0f172a;
  box-shadow:0 30px 70px rgba(0,0,0,.35);
}
.hero-info-card{
  padding:20px;
  display:grid;
  gap:12px;
}
.hero-info-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.hero-info-head h3{
  font-size:18px;
  font-weight:700;
  margin:0;
}
.hero-info-close{
  border:none;
  background:#f1f5f9;
  color:#0f172a;
  border-radius:999px;
  width:28px;
  height:28px;
  cursor:pointer;
}
.hero-info-body{
  font-size:13px;
  line-height:1.7;
  color:#475569;
}
.hero-info-body p{
  margin:0 0 10px;
}
.hero-info-body strong{
  color:#0f172a;
}
@media(max-width:560px){
  .hero-guardian-badge{
    justify-content:center;
    text-align:center;
    margin:6px auto 0;
  }
  .guardian-meta{
    align-items:center;
  }
}
.hero-primary-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-weight:600;
  font-size:var(--fs-body);
  letter-spacing:0.01em;
  box-shadow:var(--shadow-sm);
  margin-bottom:var(--sp-24);
}
.lead-sub{
  font-size:var(--fs-small);
  color:rgba(55,65,81,0.82);
  margin:0 0 var(--sp-24);
  line-height:1.6;
}

.hero-search{
  display:grid;
  gap:var(--space-2);
  margin-bottom:var(--sp-20);
}
.search-field{
  display:flex;
  align-items:center;
  gap:var(--space-2);
  padding:12px 14px;
  border-radius:18px;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:box-shadow 0.2s ease, border-color 0.2s ease;
  flex-wrap:wrap;
}
.search-field:focus-within{
  border-color:rgba(197,157,91,0.5);
  box-shadow:var(--shadow-md), var(--focus-ring);
}
.search-icon{font-size:18px;}
.search-field input{
  border:none;
  flex:1 1 100%;
  font-size:var(--text-base);
  background:transparent;
  outline:none;
  color:var(--text);
  min-width:0;
}
.primary-btn{
  border:none;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#caa86c,#b48a3a);
  color:#fff;
  font-weight:600;
  font-size:var(--fs-small);
  cursor:pointer;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow:var(--shadow-sm);
  min-height:44px;
  width:100%;
}
.primary-btn:active{transform:scale(0.98);}
.pill-btn{
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--text);
  border-radius:999px;
  padding:10px 18px;
  font-size:var(--fs-small);
  font-weight:600;
  cursor:pointer;
  min-height:44px;
  box-shadow:var(--shadow-sm);
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pill-btn:hover{
  border-color:rgba(197,157,91,0.3);
  box-shadow:var(--shadow-md);
}
.pill-btn:active{transform:scale(0.98);}
.helper-text{
  font-size:var(--fs-small);
  color:var(--text-muted);
  padding-left:4px;
  line-height:1.55;
}

.hero-ctas{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--sp-12);
}
.cta-button{
  min-height:48px;
  padding:14px 16px;
  border-radius:var(--r-16);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-3);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:all 0.2s ease;
}
.cta-button strong{font-size:var(--text-base);}
.cta-button span{font-size:var(--text-sm);color:var(--text-muted);}
.cta-button .cta-arrow{font-size:18px;color:var(--text-muted);}
.cta-button:active{transform:scale(0.98);}
.cta-button--primary{background:var(--surface);}
.cta-button--secondary{background:var(--surface-2);}
.cta-button--ghost{background:transparent;}

.bento-mini-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-4);
}
.bento-mini-card{
  position:relative;
  padding:16px;
  border-radius:var(--r-16);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  min-height:132px;
  transition:all 0.2s ease;
}
.bento-mini__tag{
  font-size:var(--text-xs);
  color:var(--accent-strong);
  background:var(--accent-soft);
  padding:4px 10px;
  border-radius:999px;
  width:max-content;
  font-weight:600;
}
.bento-mini__title{
  font-size:var(--text-base);
  font-weight:600;
  color:var(--text);
}
.bento-mini__arrow{
  position:absolute;
  right:14px;
  bottom:12px;
  color:var(--text-muted);
  transition:transform 0.2s ease;
}
.bento-mini-card:active{
  transform:scale(0.99);
}

.section{
  margin-top:var(--sp-48);
}
body[data-page-key="home"] .home-promo-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
}
body[data-page-key="home"] .home-promo-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:#fef3c7;
  color:#92400e;
  font-size:12px;
  font-weight:800;
  letter-spacing:.4px;
}
body[data-page-key="home"] .home-promo-sub{
  color:#475569;
  font-size:13px;
  font-weight:600;
}
body[data-page-key="home"] .svc-promo-card{
  position:relative;
  display:grid;
  gap:16px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 24px rgba(15,23,42,0.08);
  align-items:start;
}
body[data-page-key="home"] .svc-promo{margin:14px 0 18px;}
@media (min-width: 900px){
  body[data-page-key="home"] .svc-promo-card{
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  }
}
@media(min-width:820px){
  body[data-page-key="home"] .svc-promo-card{grid-template-columns:1.2fr .8fr;align-items:stretch;}
}
body[data-page-key="home"] .svc-promo-left{display:grid;gap:10px;}
body[data-page-key="home"] .svc-promo-media{
  width:100%;
  height:150px;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc);
  border:1px solid var(--line);
}
body[data-page-key="home"] .svc-promo-media.is-loading::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  transform:translateX(-100%);
  animation:homePromoShimmer 1.2s ease-in-out infinite;
}
body[data-page-key="home"] .svc-promo-media img{
  opacity:0;
  transition:opacity .2s ease;
}
body[data-page-key="home"] .svc-promo-media.is-ready img{
  opacity:1;
}
@media (min-width: 900px){
  body[data-page-key="home"] .svc-promo-media{
    height:200px;
  }
}
body[data-page-key="home"] .svc-promo-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@keyframes homePromoShimmer{
  to{ transform:translateX(100%); }
}
body[data-page-key="home"] .svc-promo-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:#e0f2fe;
  color:#0369a1;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
}
body[data-page-key="home"] .svc-promo-title{font-size:20px;font-weight:800;margin:8px 0 6px;}
body[data-page-key="home"] .svc-promo-sub{font-size:13px;color:#475569;line-height:1.6;}
body[data-page-key="home"] .svc-promo-bullets{margin:10px 0 0;padding-left:18px;color:#334155;font-size:13px;line-height:1.6;}
body[data-page-key="home"] .svc-promo-note{
  margin-top:10px;
  padding:6px 10px;
  border-radius:10px;
  background:#fff7ed;
  border:1px dashed #fdba74;
  color:#92400e;
  font-size:12px;
}
body[data-page-key="home"] .svc-promo-right{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:flex-start;
  align-items:stretch;
  padding-top:18px;
}
@media (max-width: 899px){
  body[data-page-key="home"] .svc-promo-right{padding-top:0;}
}
body[data-page-key="home"] .svc-promo-edit{
  position:absolute;
  top:12px;
  right:12px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#0f172a;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
body[data-page-key="home"] .svc-pack-label{font-size:12px;color:#64748b;font-weight:700;margin-bottom:6px;}
body[data-page-key="home"] .svc-pack-pills{display:flex;flex-wrap:wrap;gap:8px;}
body[data-page-key="home"] .svc-pill{
  border:1px solid #cbd5f5;
  background:#eef2ff;
  color:#1e3a8a;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:700;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body[data-page-key="home"] .svc-pill.active{
  background:#1e3a8a;
  color:#fff;
  border-color:#1e3a8a;
  box-shadow:0 12px 22px rgba(30,58,138,.3);
}
body[data-page-key="home"] .home-svc-pill{cursor:default;}
body[data-page-key="home"] .svc-pill:hover{
  transform:translateY(-1px);
  border-color:#93c5fd;
  box-shadow:0 10px 18px rgba(59,130,246,.2);
}
body[data-page-key="home"] .home-svc-pill:hover{
  transform:none;
  border-color:#cbd5f5;
  box-shadow:none;
}
body[data-page-key="home"] .svc-promo-cta{
  flex:0 0 auto;
  width:100%;
  padding:12px 16px;
  font-size:15px;
  font-weight:800;
  letter-spacing:.2px;
  border-radius:14px;
  min-height:46px;
  color:#fff;
  border:1px solid #ea580c;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)) padding-box,
    linear-gradient(135deg,#f97316,#ea580c 58%,#dc2626);
  box-shadow:0 14px 28px rgba(234,88,12,.34), inset 0 1px 0 rgba(255,255,255,.32);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
body[data-page-key="home"] .svc-promo-cta:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 18px 34px rgba(234,88,12,.42), inset 0 1px 0 rgba(255,255,255,.32);
}
body[data-page-key="home"] .svc-promo-cta:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(251,146,60,.35), 0 18px 34px rgba(234,88,12,.42), inset 0 1px 0 rgba(255,255,255,.32);
}
body[data-page-key="home"] .svc-promo-mini{font-size:12px;color:#64748b;line-height:1.6;}
body[data-page-key="home"] .svc-promo-price{
  display:flex;
  align-items:baseline;
  gap:8px;
  font-weight:800;
  margin-top:6px;
}
body[data-page-key="home"] .svc-price-old{
  font-size:14px;
  color:#94a3b8;
  text-decoration:line-through;
}
body[data-page-key="home"] .svc-price-new{
  color:#dc2626;
  font-size:18px;
}
body[data-page-key="home"] .svc-promo-limited{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:12px;
  color:#991b1b;
  background:#fff5f5;
  border:1px solid rgba(220,38,38,.15);
  padding:6px 10px;
  border-radius:999px;
  margin-top:8px;
}
body[data-page-key="home"] .svc-promo-limited-label{
  font-weight:800;
  letter-spacing:.2px;
  background:#fee2e2;
  color:#b91c1c;
  padding:2px 8px;
  border-radius:999px;
}
body[data-page-key="home"] .svc-promo-period{
  color:#7f1d1d;
}
body[data-page-key="home"] .svc-promo-earlybird{
  color:#b91c1c;
  font-weight:700;
}
body[data-page-key="home"] .svc-promo-countdown{
  font-weight:800;
  color:#dc2626;
  background:#fff;
  border:1px solid rgba(220,38,38,.2);
  padding:2px 8px;
  border-radius:999px;
}
body[data-page-key="home"] .svc-promo-stories{
  margin-top:12px;
  padding:12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  background:#f8fafc;
}
body[data-page-key="home"] .svc-promo-stories-head{
  font-size:12px;
  font-weight:700;
  color:#64748b;
  margin-bottom:6px;
}
body[data-page-key="home"] .svc-promo-story-media{
  display:none;
  margin:0 0 8px;
}
body[data-page-key="home"] .svc-promo-story-media img{
  width:100%;
  max-height:160px;
  object-fit:cover;
  border-radius:10px;
  display:block;
}
body[data-page-key="home"] .svc-promo-story-msg{
  font-size:14px;
  color:#0f172a;
  line-height:1.6;
  min-height:44px;
  white-space:pre-wrap;
  word-break:break-word;
}
body[data-page-key="home"] .svc-promo-stories .svc-promo-story-msg{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;
  overflow:hidden;
}
body[data-page-key="home"] .svc-promo-story-more{
  margin-top:6px;
  border:0;
  background:transparent;
  color:#2563eb;
  font-size:12px;
  cursor:pointer;
  padding:0;
}
body[data-page-key="home"] .svc-promo-story-meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-top:6px;
  font-size:12px;
  color:#64748b;
}
body[data-page-key="home"] .svc-promo-right .svc-promo-flow-trigger,
body[data-page-key="home"] .svc-promo-right .svc-promo-example-trigger{
  width:100%;
  justify-content:center;
}
body[data-page-key="home"] .svc-promo-right .svc-promo-flow-trigger{
  margin-top:2px;
}
body[data-page-key="home"] .svc-promo-right .svc-promo-example-trigger{
  margin-top:0;
}
body[data-page-key="home"] .svc-story-modal{
  width:min(520px, 92vw);
  border:none;
  border-radius:18px;
  padding:0;
  box-shadow:0 20px 60px rgba(15,23,42,.2);
}
body[data-page-key="home"] .svc-story-modal::backdrop{
  background:rgba(15,23,42,.35);
}
body[data-page-key="home"] .svc-story-card{
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
body[data-page-key="home"] .svc-story-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body[data-page-key="home"] .svc-story-title{
  font-size:14px;
  font-weight:800;
  color:#0f172a;
}
body[data-page-key="home"] .svc-story-close{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  font-size:18px;
  cursor:pointer;
}
body[data-page-key="home"] .svc-story-body{
  display:flex;
  flex-direction:column;
  gap:10px;
}
body[data-page-key="home"] .svc-story-media{
  display:none;
}
body[data-page-key="home"] .svc-story-media img{
  width:100%;
  max-height:200px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}
body[data-page-key="home"] .svc-story-msg{
  font-size:14px;
  color:#0f172a;
  line-height:1.7;
  white-space:pre-wrap;
}
body[data-page-key="home"] .svc-story-meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  color:#64748b;
}
body[data-page-key="home"] .svc-story-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
body[data-page-key="home"] .svc-story-actions .btn{
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#0f172a;
  border-radius:999px;
  padding:8px 16px;
  font-weight:600;
  font-size:13px;
  cursor:pointer;
  box-shadow:var(--shadow-sm);
}
body[data-page-key="home"] .svc-story-actions .btn:hover{
  border-color:rgba(203,163,120,0.5);
  box-shadow:var(--shadow-md);
  transform:translateY(-1px);
}
.section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:var(--space-3);
  margin-bottom:var(--sp-24);
}
.section-head h2{
  font-size:var(--fs-h2);
  font-weight:600;
  line-height:1.2;
  margin:0;
}
.section-head p{
  margin:0;
  color:var(--text-muted);
  line-height:1.6;
}
.section-note{
  font-size:var(--text-sm);
  color:var(--text-muted);
  font-weight:600;
  letter-spacing:0.02em;
  margin-top:4px;
}
.testimonial-section{
  background: linear-gradient(180deg, #fdfaf5, #fcf7f2 65%);
  border-radius:var(--r-20);
  padding:var(--space-5);
  box-shadow:0 20px 40px rgba(15,23,42,0.08);
  border:1px solid rgba(0,0,0,0.05);
}
.testimonial-panels{
  display:block;
  margin-top:var(--space-4);
}
.testimonial-panel{
  background:#fff;
  border-radius:var(--r-20);
  border:1px solid rgba(15,23,42,0.08);
  padding:var(--space-5);
  margin-bottom:var(--space-4);
  display:flex;
  flex-direction:column;
  gap:var(--space-3);
}
.testimonial-panel__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:var(--space-3);
}
.testimonial-panel__label{
  font-size:var(--text-sm);
  font-weight:600;
  color:#b27d3f;
  letter-spacing:0.06em;
}
.testimonial-panel__status{
  font-size:var(--text-xs);
  color:var(--text-muted);
  margin-top:6px;
  letter-spacing:0.08em;
}
.testimonial-panel__badge{
  font-size:var(--text-xs);
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:4px 14px;
  border-radius:999px;
  background:var(--surface);
  color:var(--accent-strong);
  border:1px solid rgba(197,157,91,0.35);
}
.testimonial-panel__body{
  display:flex;
  flex-direction:column;
  gap:var(--space-3);
  flex:1;
  min-height:170px;
}
.testimonial-panel__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(250px,1fr));
  gap:var(--space-3);
  align-content:start;
}
.testimonial-panel__more{
  display:flex;
  justify-content:center;
  margin-top:var(--space-3);
}
.testimonial-show-more{
  border:none;
  background:var(--accent-soft);
  color:var(--accent-strong);
  padding:6px 18px;
  border-radius:999px;
  font-size:var(--text-sm);
  font-weight:600;
  cursor:pointer;
  transition:background 0.2s ease, transform 0.2s ease;
}
.testimonial-show-more:hover{
  background:rgba(197,157,91,0.25);
  transform:translateY(-1px);
}
.testimonial-show-more:active{
  transform:translateY(0);
}
.testimonial-story-pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.story-page-btn{
  min-width:88px;
}
.story-page-btn[disabled]{
  opacity:.45;
  cursor:not-allowed;
}
.story-page-info{
  font-size:12px;
  font-weight:700;
  color:#7a6a4c;
  letter-spacing:.02em;
}
.testimonial-panel__placeholder{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:var(--space-3);
  font-size:var(--text-sm);
  color:var(--text-muted);
  background:rgba(255,255,255,0.6);
  border-radius:var(--r-16);
  border:1px dashed rgba(0,0,0,0.15);
  text-align:center;
}
.testimonial-panel__foot{
  border-top:1px solid rgba(15,23,42,0.08);
  padding-top:var(--space-2);
}
  .testimonial-panel__foot a{
  font-size:var(--text-sm);
  font-weight:600;
  color:var(--accent-strong);
  text-decoration:none;
  border-bottom:1px solid transparent;
  display:inline-flex;
  align-items:center;
}
.testimonial-panel__foot a:hover{
  border-bottom-color:var(--accent-strong);
}
.testimonial-item{
  background:#fff;
  border-radius:var(--r-16);
  border:1px solid rgba(15,23,42,0.08);
  padding:var(--space-3);
  display:flex;
  gap:var(--space-3);
  align-items:flex-start;
  min-height:0;
  box-shadow:0 10px 20px rgba(15,23,42,0.08);
}
.testimonial-item.is-story-target{
  border-color:rgba(197,157,91,0.6);
  box-shadow:0 0 0 2px rgba(197,157,91,0.2), 0 14px 30px rgba(15,23,42,0.12);
}
.testimonial-item__media{
  width:80px;
  height:80px;
  flex:0 0 auto;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.08);
  background:#fff;
}
.testimonial-item__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
}
.testimonial-item__text{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.testimonial-item__quote{
  margin:0;
  font-size:var(--text-sm);
  line-height:1.6;
  color:var(--text);
}
.testimonial-item__meta{
  display:flex;
  justify-content:space-between;
  font-size:var(--text-xs);
  color:var(--text-muted);
  flex-wrap:wrap;
  gap:4px;
}
.testimonial-item__meta strong{
  font-size:var(--text-sm);
  color:var(--text);
}
.testimonial-item__name{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.testimonial-verified-badge{
  display:inline-flex;
  width:16px;
  height:16px;
  border-radius:999px;
  background:linear-gradient(140deg,#f9e27c 8%,#d9a319 55%,#b77a05 100%);
  box-shadow:0 2px 6px rgba(163,110,10,0.35);
  align-items:center;
  justify-content:center;
  border:1px solid rgba(114,76,8,0.22);
  flex:0 0 auto;
}
.testimonial-verified-badge svg{
  width:14px;
  height:14px;
}
.testimonial-item__row{
  display:flex;
  justify-content:flex-start;
  gap:6px;
  flex-wrap:wrap;
  align-items:center;
}
.testimonial-item__hint{
  font-size:var(--text-xs);
  color:var(--text-muted);
}
.testimonial-item__tag{
  align-self:flex-start;
  font-size:var(--text-xs);
  font-weight:600;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(197,157,91,0.12);
  color:var(--accent-strong);
  border:1px solid rgba(0,0,0,0.08);
  letter-spacing:0.05em;
}
.testimonial-footer{
  margin-top:var(--space-4);
  text-align:right;
}
  .testimonial-cta{
    display:inline-flex;
    align-items:center;
  border-radius:999px;
  border:1px solid var(--line);
  padding:8px 18px;
  font-size:var(--text-sm);
  font-weight:600;
  color:var(--text);
  background:var(--surface-2);
  transition:all 0.2s ease;
}
.testimonial-cta:hover{
  border-color:rgba(197,157,91,0.6);
  color:var(--accent-strong);
  box-shadow:var(--shadow-sm);
}

@media(max-width:840px){
  .testimonial-section{
    padding:var(--space-4);
  }
  .testimonial-panel{
    padding:var(--space-4);
  }
  .testimonial-panel__grid{
    grid-template-columns:1fr;
  }
  .testimonial-item{
    flex-direction:column;
    padding:var(--space-3);
  }
  .testimonial-item__media{
    width:100%;
    height:140px;
  }
}

.card-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--sp-12);
}
.entry-card{
  padding:16px;
  border-radius:var(--r-16);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  transition:all 0.2s ease;
}
.entry-card strong{font-size:var(--text-base);}
.entry-card span{font-size:var(--fs-small);color:var(--text-muted);line-height:1.55;}
.entry-chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.chip{
  padding:4px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:var(--text-xs);
  font-weight:600;
}
.entry-card:active{transform:scale(0.99);}

.preview-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-4);
}
.preview-card{
  position:relative;
  padding:18px;
  border-radius:var(--r-16);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:var(--space-2);
  transition:all 0.2s ease;
}
.preview-label{
  font-size:var(--text-xs);
  color:var(--text-muted);
}
.preview-card h3{
  margin:0 0 var(--space-1);
  font-size:var(--text-lg);
}
.preview-card p{
  margin:0;
  color:var(--text-muted);
  font-size:var(--text-sm);
}

.cta-card{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  flex-direction:column;
  gap:var(--space-4);
  padding:20px;
  border-radius:var(--r-16);
  background:var(--surface-2);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.cta-card h3{margin:0 0 var(--space-1);font-size:var(--text-lg);} 
.cta-card p{margin:0;color:var(--text-muted);font-size:var(--text-sm);} 
.cta-form{
  display:flex;
  flex-direction:column;
  gap:var(--space-3);
  width:100%;
}
.cta-form input{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(230,225,217,0.9);
  font-size:var(--text-sm);
  background:var(--surface);
}
.cta-form button{
  border:none;
  border-radius:999px;
  padding:10px 18px;
  background:#111827;
  color:#fff;
  font-weight:600;
  font-size:var(--text-sm);
  cursor:pointer;
  min-height:44px;
}

.site-footer{
  margin-top:var(--sp-64);
  padding-top:var(--sp-24);
  padding-bottom:calc(var(--sp-32) + env(safe-area-inset-bottom));
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  text-align:center;
  gap:var(--space-3);
  color:var(--text-muted);
  font-size:var(--fs-small);
}

.admin-bar{
  position:fixed;
  right:24px;
  bottom:calc(24px + env(safe-area-inset-bottom));
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(17,24,39,0.92);
  color:#fff;
  box-shadow:var(--shadow-lg);
  z-index:50;
}
.admin-bar__title{
  font-size:var(--text-xs);
  font-weight:600;
  letter-spacing:0.2px;
}
.admin-bar__toggle,
.admin-bar__save{
  border:none;
  border-radius:999px;
  padding:8px 14px;
  font-size:var(--text-xs);
  font-weight:700;
  cursor:pointer;
}
.admin-bar__toggle{background:#fbbf24;color:#3b2305;}
.admin-bar__save{background:#10b981;color:#fff;}
.admin-bar__translate{background:#6366f1;color:#fff;}
.admin-bar__translate:disabled{background:#a5b4fc;cursor:not-allowed;}

body.is-editing [data-edit-key]{
  outline:1px dashed rgba(197,157,91,0.6);
  outline-offset:2px;
  border-radius:8px;
  background:rgba(255,255,255,0.75);
}
body.is-editing a{pointer-events:none;}

:focus-visible{
  outline:none;
  box-shadow:var(--focus-ring);
}
button:focus-visible,
input:focus-visible,
a:focus-visible{
  outline:none;
  box-shadow:var(--focus-ring);
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto;transition:none;}
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Tablet: 481px–1024px */
@media(min-width:481px){
  .nav-shell{border-radius:999px;}
  .nav-cta{display:inline-flex;}
  .brand-name{display:inline;}
  .search-field{flex-wrap:nowrap;}
  .page{padding:0 var(--sp-24) calc(var(--sp-64) + env(safe-area-inset-bottom));}
  .hero-shell{padding:var(--sp-64) var(--sp-32);border-radius:var(--r-20);}
  .hero-content .lead{font-size:var(--text-lg);}
  .hero-primary-cta{display:none;}
  .hero-cta__actions{flex-direction:row;align-items:center;}
  .hero-cta__primary,
  .hero-cta__secondary{
    width:auto;
    padding:12px 20px;
  }
  .hero-cta__audience-badge{max-width:min(560px, 100%);}
  .search-field input{flex:1;}
  .primary-btn{width:auto;}
  .hero-ctas{grid-template-columns:repeat(3,minmax(0,1fr));}
  .bento-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-16);}
  .preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .cta-card{flex-direction:row;align-items:center;}
  .cta-form{flex-direction:row;width:auto;}
  .cta-form input{min-width:240px;}
  .cta-form button{width:auto;}
  .entry-card{padding:20px;}
  .preview-card{padding:20px;}
}

/* Desktop: >=1025px */
@media(min-width:1025px){
  .nav-links{display:flex;}
  .nav-toggle{display:none;}
  .hero{grid-template-columns:1.1fr 0.9fr;gap:var(--sp-32);}
  .hero-shell{margin-top:var(--sp-64);padding:var(--sp-80) var(--sp-64);}
  .section{margin-top:var(--sp-80);}
  .section-head{margin-bottom:var(--sp-32);}
  .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-20);}
  .preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (hover:hover){
  .nav-links a:hover{border-color:rgba(197,157,91,0.3);background:rgba(255,255,255,0.95);transform:translateY(-1px);} 
  .nav-cta:hover{transform:translateY(-1px);box-shadow:var(--shadow-md);} 
  .bento-mini-card:hover{transform:translateY(-2px);border-color:rgba(197,157,91,0.3);box-shadow:var(--shadow-md);} 
  .bento-mini-card:hover .bento-mini__arrow{transform:translate(2px,-2px);} 
  .cta-button:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);} 
  .entry-card:hover{transform:translateY(-2px);border-color:rgba(197,157,91,0.3);box-shadow:var(--shadow-md);} 
  .preview-card:hover{transform:translateY(-2px);border-color:rgba(197,157,91,0.3);box-shadow:var(--shadow-md);} 
}

/* About creator/admin styles */
.subpage{
  margin-top:var(--sp-48);
  display:grid;
  gap:var(--space-6);
}
.sub-hero h1{
  font-size:var(--text-3xl);
  margin:0 0 var(--space-2);
}
.sub-hero p{
  margin:0;
  color:var(--text-muted);
  font-size:var(--text-base);
}
.methodology-block{
  display:grid;
  gap:8px;
  margin-top:var(--space-4);
}
.methodology-block p{
  margin:0;
  color:var(--text-muted);
  line-height:1.7;
}
.methodology-block .methodology-steps{
  color:var(--text);
}

.query-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-weight:600;
  font-size:var(--text-sm);
}
.mode-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-4);
}
.mode-btn{
  padding:18px;
  border-radius:var(--r-16);
  border:1px solid rgba(230,225,217,0.9);
  background:var(--surface);
  text-align:left;
  cursor:pointer;
  transition:all 0.2s ease;
}
.mode-btn h3{margin:0 0 6px;font-size:var(--text-base);} 
.mode-btn p{margin:0;color:var(--text-muted);font-size:var(--text-sm);} 

.placeholder-card{
  padding:24px;
  border-radius:var(--r-20);
  border:1px dashed rgba(17,24,39,0.2);
  background:rgba(255,255,255,0.7);
  font-weight:600;
  color:var(--text-muted);
}

.trust-grid{
  display:flex;
  flex-direction:column;
  gap:var(--space-5);
}
.trust-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  gap:16px 24px;
  align-items:baseline;
  padding:20px 0;
  border-bottom:1px solid rgba(230,225,217,0.9);
}
.trust-card:last-child{border-bottom:none;padding-bottom:0;}
.trust-card h3{
  margin:0;
  font-size:clamp(15px,1.4vw,18px);
  font-weight:800;
  color:var(--text);
  line-height:1.3;
}
.trust-card p{margin:0;color:var(--text-muted);font-size:var(--text-sm);line-height:1.7;} 

.creator-card{
  display:grid;
  gap:var(--space-5);
  border-radius:var(--r-20);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.creator-card__cover img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}
.creator-card__content{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-4);
  padding:20px;
  align-items:flex-start;
}
.creator-card__body{
  position:relative;
}
.creator-card__avatar img{
  width:84px;
  height:84px;
  border-radius:24px;
  object-fit:cover;
  box-shadow:var(--shadow-sm);
  border:3px solid var(--surface);
}
.creator-card__label{
  font-size:var(--text-xs);
  color:var(--text-muted);
  letter-spacing:0.4px;
  text-transform:uppercase;
  margin-bottom:var(--space-2);
}
.creator-card__body h2{
  margin:0 0 var(--space-2);
  font-size:var(--text-xl);
}
.creator-card__body p{
  margin:0 0 var(--space-4);
  color:var(--text-muted);
  font-size:var(--text-sm);
  white-space:pre-line;
}
.creator-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:var(--space-4);
}
.creator-chip{
  padding:6px 12px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent-strong);
  font-size:var(--text-xs);
  font-weight:600;
}
.creator-card__socials{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.creator-social{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--surface-2);
  border:1px solid rgba(230,225,217,0.8);
  font-size:var(--text-xs);
  font-weight:600;
  color:var(--text);
  transition:all 0.2s ease;
}
.creator-social img{
  width:18px;
  height:18px;
  object-fit:contain;
}

.creator-admin{
  margin-top:var(--space-6);
  padding:20px;
  border-radius:var(--r-16);
  background:var(--surface-2);
  border:1px dashed rgba(0,0,0,0.12);
}
.creator-admin h3{margin:0 0 var(--space-3);font-size:var(--text-lg);} 
.creator-admin__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-3);
}
.creator-admin__grid label{
  display:grid;
  gap:6px;
  font-size:var(--text-sm);
  color:var(--text);
}
.creator-admin__grid input{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(230,225,217,0.9);
  background:var(--surface);
  font-size:var(--text-sm);
}
.creator-admin__upload{
  margin-top:var(--space-4);
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-4);
}
.creator-admin__label{
  font-size:var(--text-sm);
  font-weight:600;
  margin-bottom:6px;
}
.creator-admin__hint{
  font-size:var(--text-xs);
  color:var(--text-muted);
  margin-top:6px;
}

@media(min-width:481px){
  .mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .trust-card{grid-template-columns:minmax(0,1fr) minmax(0,2.5fr);}
  .creator-card__content{grid-template-columns:auto 1fr;align-items:center;}
  .creator-card__avatar img{width:96px;height:96px;}
  .creator-card__cover img{height:220px;}
  .creator-admin__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .creator-admin__upload{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media(min-width:1025px){
  .creator-card__content{
    grid-template-columns:auto 1fr;
    align-items:center;
  }
  .creator-card__avatar{
    align-self:center;
  }
  .creator-card__avatar img{
    width:96px;
    height:96px;
  }
}

@media(min-width:1025px){
  .trust-card{grid-template-columns:minmax(0,1fr) minmax(0,3fr);}
}

@media (max-width:720px){
  .brand-mark,
  .brand-mark img{
    height:32px;
  }
  .trust-card{
    grid-template-columns:1fr;
    gap:6px;
    padding:16px 0;
  }
}
.fortune-share-btn{
  margin-top:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:999px;
  padding:8px 14px;
  font-size:12px;
  font-weight:600;
  color:#0f172a;
  background:linear-gradient(135deg,#fde68a,#f59e0b);
  box-shadow:0 10px 20px rgba(245,158,11,.25);
  cursor:pointer;
}
.fortune-share-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
  box-shadow:none;
}

.phone-flow-trigger{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #15803d;
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0)) padding-box,
    linear-gradient(135deg,#22c55e,#16a34a 58%,#15803d);
  color:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.2px;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(22,163,74,.28), inset 0 1px 0 rgba(255,255,255,.28);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.phone-flow-trigger:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 16px 30px rgba(22,163,74,.36), inset 0 1px 0 rgba(255,255,255,.28);
}

.phone-flow-trigger:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(74,222,128,.35), 0 16px 30px rgba(22,163,74,.36), inset 0 1px 0 rgba(255,255,255,.28);
}

.phone-flow-trigger:active{
  transform:translateY(0);
}

.fortune-card-example-trigger{
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  border-radius:999px;
  border:1px solid rgba(22,163,74,.28);
  background:linear-gradient(135deg, rgba(225,248,237,.92), rgba(236,253,245,.96));
  color:#166534;
  padding:10px 16px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(22,163,74,.12);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.fortune-card-example-trigger:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(22,163,74,.2);
  border-color:rgba(22,163,74,.42);
}

.fortune-card-example-dialog{
  border:none;
  padding:0;
  background:transparent;
  width:min(760px,96vw);
  max-width:760px;
}

.fortune-card-example-dialog::backdrop{
  background:rgba(15,23,42,.5);
  backdrop-filter:blur(4px);
}

.fortune-card-example-dialog__card{
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow:0 30px 70px rgba(15,23,42,.28);
  overflow:hidden;
}

.fortune-card-example-dialog__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.fortune-card-example-dialog__head h3{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#0f172a;
}

.fortune-card-example-dialog__body{
  padding:14px;
  display:grid;
  gap:12px;
}

.fortune-card-example-dialog__body p{
  margin:0;
  color:#64748b;
  font-size:14px;
  line-height:1.7;
}

.fortune-card-example-dialog__frame{
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:radial-gradient(circle at 14% 10%, rgba(199,164,106,.16), transparent 48%), #f8f7f3;
  padding:10px;
}

.fortune-card-example-dialog__frame img{
  display:block;
  width:min(100%,420px);
  margin:0 auto;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 16px 34px rgba(15,23,42,.12);
  background:#fff;
}

.phone-flow-dialog{
  border:none;
  border-radius:18px;
  padding:0;
  max-width:640px;
  width:92%;
  background:#fff;
  color:#0f172a;
  box-shadow:0 30px 70px rgba(15,23,42,.35);
}

.phone-flow-card{
  padding:20px;
  display:grid;
  gap:12px;
}

.phone-flow-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.phone-flow-head h3{
  font-size:18px;
  font-weight:800;
  margin:0;
}

.phone-flow-close{
  border:none;
  background:#f1f5f9;
  color:#0f172a;
  border-radius:999px;
  width:28px;
  height:28px;
  cursor:pointer;
}

.phone-flow-body{
  display:grid;
  gap:10px;
  font-size:14px;
  line-height:1.7;
  color:#475569;
}
.phone-flow-body a{
  color:#1d4ed8;
  text-decoration:underline;
  text-underline-offset:3px;
}
.phone-flow-body a:hover{
  color:#1e40af;
}

.phone-flow-body ul{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:4px;
}

.phone-flow-label{
  font-weight:700;
  color:#0f172a;
}

.phone-flow-template{
  display:none;
}
@media (max-width:560px){
  .fortune-card-example-dialog{
    width:96vw;
  }
  .fortune-card-example-dialog__head{
    padding:14px;
  }
  .fortune-card-example-dialog__head h3{
    font-size:16px;
  }
  .fortune-card-example-dialog__body{
    padding:10px;
  }
  .fortune-reveal-mark{
    font-size:30px;
    letter-spacing:.1em;
  }
  .fortune-reveal-watermark{
    font-size:18px;
    right:-8px;
  }
}
@media (prefers-reduced-motion: reduce){
  .fortune-reveal-stage.is-running .fortune-reveal-card,
  .fortune-reveal-stage.is-running .fortune-reveal-copy,
  .fortune-reveal-stage.is-running .fortune-reveal-glow,
  .fortune-reveal-stage.is-unlocking .fortune-reveal-card,
  .fortune-reveal-stage.is-unlocking .fortune-reveal-copy,
  .fortune-card.is-reveal-in{
    animation:none !important;
  }
}

/* fortune dialog refresh: align home with quiz latest daily fortune UI */
.fortune-dialog{background:rgba(15,23,42,.42);backdrop-filter:blur(16px);}
.fortune-shell{max-width:820px;border-radius:28px;padding:24px;background:#fffdf9;border:1px solid rgba(148,163,184,.18);box-shadow:0 30px 70px rgba(15,23,42,.22);}
.fortune-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:10px;border-bottom:1px solid rgba(148,163,184,.14);}
.fortune-title{font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1.2;color:#0f172a;}
.fortune-date{font-size:13px;color:#64748b;margin-top:6px;}
.fortune-close{border:1px solid rgba(15,23,42,.12);background:rgba(255,255,255,.92);color:#0f172a;border-radius:999px;width:34px;height:34px;cursor:pointer;box-shadow:0 8px 16px rgba(15,23,42,.08);}
.fortune-body{display:grid;gap:14px;position:relative;min-height:180px;}
.fortune-loading{padding:16px;border-radius:14px;border:1px dashed rgba(148,163,184,.24);background:#f8fafc;color:#64748b;font-size:13px;text-align:center;}
.fortune-error{padding:12px;border-radius:12px;background:#fef2f2;border:1px solid rgba(239,68,68,.2);color:#991b1b;font-size:13px;}
.fortune-reveal-stage{display:none;align-items:center;justify-content:center;min-height:300px;padding:20px 0 12px;perspective:1200px;isolation:isolate;}
.fortune-reveal-stage::before{content:"";position:absolute;inset:24px 8% 10px;border-radius:34px;background:radial-gradient(circle at 50% 24%, rgba(232,190,113,.18), transparent 34%),radial-gradient(circle at 50% 100%, rgba(15,23,42,.12), transparent 48%);filter:blur(18px);z-index:0;pointer-events:none;}
.fortune-reveal-card{width:min(90%,372px);aspect-ratio:1.68/1;border-radius:24px;background:linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.02)),radial-gradient(circle at 18% 10%, rgba(244,214,147,.26), transparent 34%),radial-gradient(circle at 82% 18%, rgba(255,255,255,.08), transparent 28%),linear-gradient(135deg, #12213f 0%, #1b2c52 42%, #26354a 100%);border:1px solid rgba(244,214,147,.24);box-shadow:0 24px 48px rgba(15,23,42,.22),0 10px 26px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;transform-style:preserve-3d;z-index:1;}
.fortune-reveal-card::before,.fortune-reveal-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;}
.fortune-reveal-card::before{inset:auto 12% -16px 12%;height:34px;border-radius:999px;background:radial-gradient(circle, rgba(15,23,42,.3), transparent 70%);filter:blur(12px);opacity:.75;z-index:-1;}
.fortune-reveal-card::after{inset:12px;border:1px solid rgba(255,255,255,.08);}
.fortune-reveal-copy{position:absolute;inset:0;z-index:2;pointer-events:none;display:flex;flex-direction:column;justify-content:space-between;padding:18px 18px 16px;}
.fortune-reveal-brand{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);box-shadow:0 10px 24px rgba(15,23,42,.14);}
.fortune-reveal-brand-logo{width:16px;height:16px;filter:brightness(0) invert(1);opacity:.95;flex:0 0 auto;}
.fortune-reveal-brand-text{color:rgba(255,255,255,.9);font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;line-height:1;}
.fortune-reveal-stage.is-running .fortune-reveal-card{animation:fortuneFloat 1800ms ease-in-out infinite, fortuneTiltLoop 2200ms cubic-bezier(.42,0,.2,1) infinite;}
.fortune-reveal-stage.is-running .fortune-reveal-copy{animation:fortuneCopyPulse 1400ms ease-in-out infinite alternate;}
.fortune-reveal-stage.is-unlocking .fortune-reveal-card{animation:fortuneUnlock 520ms cubic-bezier(.17,.84,.44,1) forwards;}
.fortune-reveal-stage.is-unlocking .fortune-reveal-copy{animation:none;}
.fortune-reveal-glow{position:absolute;inset:-22% -35%;background:linear-gradient(110deg, transparent 24%, rgba(255,255,255,.05) 38%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.05) 62%, transparent 76%);transform:translateX(-72%);opacity:.8;pointer-events:none;}
.fortune-reveal-stage.is-running .fortune-reveal-glow{animation:fortuneGlint 1400ms linear infinite;}
.fortune-reveal-mark{display:flex;align-items:center;gap:10px;color:#fff;font-size:15px;line-height:1.55;font-weight:800;letter-spacing:.04em;text-shadow:0 10px 22px rgba(15,23,42,.36);max-width:220px;}
.fortune-reveal-mark::before{content:"";width:36px;height:1px;border-radius:999px;background:linear-gradient(90deg, rgba(244,214,147,.18), rgba(244,214,147,.92));flex:none;}
.fortune-reveal-watermark{color:rgba(244,214,147,.68);font-size:11px;font-weight:700;letter-spacing:.32em;text-transform:uppercase;opacity:.86;}
.fortune-card{padding:22px;border-radius:22px;background:radial-gradient(circle at top right, rgba(199,164,106,.13), transparent 26%),linear-gradient(180deg, #fffdfa 0%, #f8fafc 100%);border:1px solid rgba(148,163,184,.16);box-shadow:0 18px 36px rgba(15,23,42,.08);}
.fortune-card.is-reveal-in{animation:fortuneCardEnter 360ms cubic-bezier(.17,.84,.44,1);}
.fortune-stars{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#a16207;margin-bottom:12px;font-weight:700;}
.fortune-summary{max-width:30ch;font-size:22px;font-weight:700;color:#0f172a;margin-bottom:18px;line-height:1.62;letter-spacing:-.02em;}
.fortune-section{margin-top:14px;padding-top:14px;border-top:1px solid rgba(148,163,184,.16);}
.fortune-label{font-size:11px;letter-spacing:.08em;color:#8a7b65;margin-bottom:10px;font-weight:700;}
.fortune-text{font-size:15px;line-height:1.85;color:#0f172a;}
.fortune-meta{margin-top:18px;margin-bottom:0;display:flex;flex-wrap:wrap;gap:6px;font-size:10px;color:#94a3b8;}
.fortune-meta span{padding:5px 9px;border-radius:999px;border:1px solid rgba(199,164,106,.18);background:rgba(255,253,248,.72);color:#9a7a45;font-weight:600;letter-spacing:.02em;}
.fortune-explain{margin-top:16px;padding-top:16px;border-top:1px solid rgba(148,163,184,.16);display:grid;gap:12px;}
.fortune-explain-toggle{border:none;background:#fff;border:1px solid rgba(148,163,184,.18);color:#0f172a;font-size:14px;font-weight:700;line-height:1.4;border-radius:999px;padding:10px 16px;display:inline-flex;align-items:center;gap:6px;width:fit-content;max-width:100%;text-align:left;cursor:pointer;box-shadow:0 8px 16px rgba(15,23,42,.06);}
.fortune-explain-toggle[aria-expanded="true"]{background:#fffdf8;}
.fortune-explain-body{display:grid;gap:10px;padding:14px 16px;border-radius:16px;border:1px solid rgba(148,163,184,.14);background:rgba(255,255,255,.78);font-size:13px;line-height:1.72;color:#0f172a;}
.fortune-explain-title{font-weight:700;font-size:17px;line-height:1.4;margin:0;}
.fortune-explain-desc,.fortune-explain-how{color:#64748b;line-height:1.75;margin:0;}
.fortune-task{display:grid;gap:10px;margin-top:8px;padding:14px 16px;border:1px solid #b7efcf;border-radius:16px;background:linear-gradient(180deg,#f4fff8,#eefcf5);box-shadow:0 8px 20px rgba(34,197,94,.08);}
.fortune-task-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.fortune-task-kicker{font-size:12px;line-height:1;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:#16a34a;margin-bottom:0;}
.fortune-task-mini{font-size:12px;line-height:1.5;color:#15803d;font-weight:600;text-align:right;}
.fortune-task .fortune-label{color:#166534;font-weight:800;}
.fortune-task .fortune-text{color:#14532d;}
.fortune-task-toggle{border:1px solid #bbf7d0;background:#fff;border-radius:999px;padding:12px 16px;font-size:14px;font-weight:800;color:#166534;cursor:pointer;text-align:center;box-shadow:0 8px 18px rgba(34,197,94,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease;}
.fortune-task-toggle:hover{transform:translateY(-1px);box-shadow:0 12px 22px rgba(34,197,94,.12);}
.fortune-task-toggle[aria-pressed="true"]{background:linear-gradient(180deg,#16a34a,#15803d);border-color:#15803d;color:#f0fdf4;box-shadow:0 10px 22px rgba(22,163,74,.2);}
.fortune-task-streak{font-size:12px;color:#15803d;font-weight:700;}
.fortune-task-feedback{margin-top:2px;font-size:12px;line-height:1.72;color:#166534;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.72);border:1px solid rgba(22,163,74,.16);}
@keyframes fortuneTiltLoop{0%{transform:translateY(0) rotateZ(0deg) rotateX(0deg) scale(1);}45%{transform:translateY(-4px) rotateZ(-1.6deg) rotateX(3.5deg) scale(1.012);}100%{transform:translateY(0) rotateZ(1.4deg) rotateX(-2.4deg) scale(1);}}
@keyframes fortuneCopyPulse{from{opacity:.92;transform:translateY(0);}to{opacity:1;transform:translateY(-2px);}}
