/* Shared website templates (owner, 2 Dec 2026: "navigation, payment buttons, reading styles: everything
   templatised"). One header, one Pay card, one reading switch, used on every website page. The event
   look (dark, scratch cards) keeps its own styling and is not changed here. */
:root{--eh-orange:#ff5a1f;--eh-ink:#141414;--eh-cream:#fbf6ec;--eh-soft:#4f4b45;--eh-line:#e2ddd4;
  --eh-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}

/* 1. Header: orange bar, "8th House" left, account button (and language switch where offered) right. */
.eh-header,body.m2 .site-header{display:flex!important;align-items:center;gap:10px;min-height:60px;height:auto!important;
  padding:max(10px,env(safe-area-inset-top)) max(16px,calc((100vw - 1240px)/2)) 10px!important;
  background:var(--eh-orange)!important;color:var(--eh-ink);border:0!important;box-shadow:none!important}
.eh-header .brand,body.m2 .site-header .brand{margin-right:auto;font:800 19px/1 var(--eh-sans)!important;letter-spacing:-.01em;
  color:var(--eh-ink)!important;text-decoration:none}
body.m2 .site-header .brand-long,body.m2 .site-header .header-link,body.m2 .site-header .preview-label{display:none!important}

/* 2. Pay card: the same everywhere a guest runs out of questions. */
.pay-card{display:grid;gap:6px;justify-items:center;text-align:center;margin:12px 0;padding:16px 18px;border:1.5px solid var(--eh-ink);
  border-radius:18px;background:#fff;color:var(--eh-ink)}
.pay-card[hidden]{display:none!important}
.pay-card .pay-title{margin:0;font:800 18px/1.2 var(--eh-sans)}
.pay-card .pay-text{margin:0;font:500 15px/1.45 var(--eh-sans);color:var(--eh-soft)}
.pay-card .pay-go{width:100%;max-width:360px;min-height:50px;margin-top:6px;border:0;border-radius:99px;background:var(--eh-ink);color:#fff;
  font:800 17px/1 var(--eh-sans);cursor:pointer}
.pay-card .pay-go[hidden]{display:none}
.pay-card .pay-go:disabled{opacity:.6}
.pay-card .pay-line{margin:0;font:500 13px/1.4 var(--eh-sans);color:var(--eh-soft)}
.pay-card .pay-line.problem{color:#b42318;font-weight:700}

/* 3. Reading switch rows: "Guruji's style" and "Other readings". */
.mode-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px}
.mode-bar-label{flex:none;font:700 12px/1 var(--eh-sans);text-transform:uppercase;letter-spacing:.05em;opacity:.75}
.mode-bar :is(button,a){flex:none;white-space:nowrap;padding:7px 12px;border-radius:99px;border:1.5px solid currentColor;
  background:transparent;color:inherit;font:600 13px/1.2 var(--eh-sans);text-decoration:none;cursor:pointer}
.mode-bar button[aria-pressed="true"]{background:var(--eh-ink);color:#fff;border-color:var(--eh-ink)}
body.m2 .mode-bar :is(button,a){background:#fff!important;color:var(--eh-ink)!important;border:1.5px solid var(--eh-ink)!important}
body.m2 .mode-bar button[aria-pressed="true"]{background:var(--eh-ink)!important;color:#fff!important}
body.m2.roast-mode .mode-bar button[aria-pressed="true"]{background:var(--eh-orange)!important;color:var(--eh-ink)!important;border-color:var(--eh-orange)!important}
@media(max-width:480px){
  .mode-bar{gap:5px;flex-wrap:nowrap}
  .mode-bar-label{font-size:10.5px;letter-spacing:.02em}
  .mode-bar :is(button,a){padding:6px 9px;font-size:12.5px}
}
/* Only the brand pushes: the account button and language switch sit together on the right. */
.eh-header > :not(.brand),body.m2 .site-header > :not(.brand){margin-left:0!important}
/* Legal pages: the header replaces their old in-page masthead. */
.eh-header ~ main > a.brand{display:none}
/* The Pay button keeps its own colours on every page (Couples' cream look painted it black on black). */
.pay-card .pay-go{background:var(--eh-ink)!important;color:#fff!important;border:0!important}
/* Couples: the card is the notice; no second box around it. */
.access-notice:has(> .pay-card:not([hidden])){border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
