@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;}
body{
  min-height:100vh;
  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;
}

.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) var(--space-6);
  display:flex;
  flex-direction:column;
  gap:var(--space-5);
  transform:translateX(100%);
  transition:transform 0.25s ease;
  box-shadow:var(--shadow-lg);
}
.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);
}
.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);
}
.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:#0f172a;
  color:#fff;
  border:1px solid transparent;
  box-shadow:var(--shadow-sm);
}
.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-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;
}
.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-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-meta{
  margin-top: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:12px;
  padding-top:12px;
  border-top:1px solid rgba(148,163,184,.25);
  display:grid;
  gap:8px;
}
.fortune-explain-toggle{
  border:none;
  background:#fff;
  border:1px solid rgba(148,163,184,.25);
  color:#0f172a;
  font-size:13px;
  border-radius:999px;
  padding:8px 12px;
  text-align:left;
  cursor:pointer;
}
.fortune-explain-toggle[aria-expanded="true"]{
  background:#f1f5f9;
}
.fortune-explain-body{
  display:grid;
  gap:6px;
  font-size:13px;
  line-height:1.6;
  color:#0f172a;
}
.fortune-explain-title{
  font-weight:700;
}
.fortune-explain-desc,.fortune-explain-how{
  color:#64748b;
}
.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);
}
.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;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc);
  border:1px solid var(--line);
}
@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;
}
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:10px 14px;
  font-size:14px;
  border-radius:14px;
  min-height:44px;
  box-shadow:0 8px 18px rgba(16,149,214,.25);
}
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-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-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__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__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:space-between;
  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;}

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;
  }
  .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:grid;
  grid-template-columns:1fr;
  gap:var(--space-4);
}
.trust-card{
  padding:18px;
  border-radius:var(--r-16);
  background:var(--surface);
  border:1px solid rgba(230,225,217,0.9);
  box-shadow:var(--shadow-sm);
}
.trust-card h3{margin:0 0 6px;font-size:var(--text-base);} 
.trust-card p{margin:0;color:var(--text-muted);font-size:var(--text-sm);} 

.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-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .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-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width:720px){
  .brand-mark,
  .brand-mark img{
    height:32px;
  }
}
.fortune-share-btn{
  margin-top:12px;
  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;
}
