@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=IBM+Plex+Mono:wght@500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root{
  --bg:#0b0c0f;--panel:#15171c;--panel2:#1b1e24;--text:#f3efe7;--muted:#a9a197;
  --line:#34302b;--accent:#e96347;--accent-soft:#2b1b17;--warm:#d9b96e;--good:#83d3a4;
  --max:1120px;--reading:760px
}
*{box-sizing:border-box}
html{color-scheme:dark;scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 50% -12%,#24201b 0,#0b0c0f 42%,#08090b 100%);color:var(--text);font:16px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}
a{color:#f09a86;text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:#ffc0b1}
.siteHeader{border-bottom:1px solid var(--line);background:rgba(11,12,15,.9);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}
.headerInner{width:min(var(--max),calc(100% - 28px));margin:auto;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.wordmark{font-weight:1000;font-size:25px;line-height:1;letter-spacing:-.055em;text-decoration:none;color:var(--text)}
.wordmark span{color:var(--accent)}
.mainNav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.mainNav a{font-size:11px;letter-spacing:.09em;font-weight:900;text-decoration:none;color:var(--muted);padding:8px 9px;border-radius:8px}
.mainNav a:hover,.mainNav a[aria-current="page"]{color:var(--text);background:#1a1918}
.playLink{border:1px solid #6a4238!important;color:#ffd2c6!important;background:#211512!important}
.hero{width:min(var(--max),calc(100% - 28px));margin:0 auto;padding:72px 0 40px;border-bottom:1px solid var(--line)}
.eyebrow{font-size:11px;font-weight:950;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
h1{font-size:clamp(42px,8vw,82px);line-height:.94;letter-spacing:-.055em;margin:0;max-width:900px}
.hero p{max-width:760px;color:#cbc4ba;font-size:clamp(17px,2.3vw,21px);line-height:1.55;margin:20px 0 0}
.heroActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #77483d;border-radius:9px;background:var(--accent);color:#1b0b07!important;text-decoration:none;font-size:12px;font-weight:950;letter-spacing:.06em}
.button.secondary{background:#15171c;color:var(--text)!important;border-color:var(--line)}
.pageShell{width:min(var(--max),calc(100% - 28px));margin:0 auto;padding:38px 0 70px;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:48px;align-items:start}
.article{max-width:var(--reading)}
.article .lede{font-size:20px;line-height:1.6;color:#d7d0c6;margin:0 0 28px}
h2{font-size:clamp(26px,4vw,36px);line-height:1.15;letter-spacing:-.035em;margin:46px 0 13px}
h3{font-size:20px;line-height:1.3;margin:28px 0 8px;color:#f7f2ea}
p{margin:0 0 18px;color:#d3ccc2}
ul,ol{padding-left:22px;margin:0 0 22px;color:#d3ccc2}li+li{margin-top:8px}
.callout{margin:28px 0;padding:18px 20px;border-left:3px solid var(--accent);background:#151411;border-radius:0 10px 10px 0;color:#ddd5cb}
.callout strong{color:#fff}
.exercise{margin:28px 0;padding:20px;border:1px solid #514239;border-radius:14px;background:linear-gradient(145deg,#191816,#121315)}
.exerciseLabel{font-size:10px;font-weight:950;letter-spacing:.15em;color:var(--warm);text-transform:uppercase;margin-bottom:7px}
.exercise h3{margin:0 0 8px}.exercise p:last-child,.callout p:last-child{margin-bottom:0}
.inlineStat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0}.inlineStat div{padding:15px;border:1px solid var(--line);border-radius:12px;background:#131519}.inlineStat strong{display:block;font-size:22px}.inlineStat span{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.sidebar{position:sticky;top:94px;border-left:1px solid var(--line);padding-left:22px}.sideTitle{font-size:10px;font-weight:950;letter-spacing:.14em;color:var(--muted);text-transform:uppercase;margin-bottom:10px}.sidebar a{display:block;color:#c7beb2;text-decoration:none;font-size:13px;line-height:1.35;padding:7px 0}.sidebar a:hover{color:#fff}.sidebar .sideDivider{height:1px;background:var(--line);margin:16px 0}.sidebar .sideCta{color:#ffab97;font-weight:850}
.meta{display:flex;gap:9px 16px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:16px}.meta span{white-space:nowrap}
.guideGrid{width:min(var(--max),calc(100% - 28px));margin:0 auto;padding:34px 0 70px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.guideCard{display:flex;flex-direction:column;min-height:230px;padding:22px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#17191e,#111215);text-decoration:none;color:var(--text);transition:transform .15s ease,border-color .15s ease}
.guideCard:hover{transform:translateY(-2px);border-color:#715248;color:var(--text)}
.guideCard .tag{font-size:10px;font-weight:950;letter-spacing:.14em;color:var(--accent);text-transform:uppercase}.guideCard h2{font-size:25px;margin:10px 0 8px}.guideCard p{font-size:14px;color:var(--muted);margin:0;flex:1}.guideCard .arrow{font-size:12px;font-weight:900;color:#f0a08d;margin-top:18px}
.sectionIntro{grid-column:1/-1;padding:14px 0 4px}.sectionIntro h2{margin:0 0 8px}.sectionIntro p{max-width:740px}
.related{margin-top:52px;padding-top:26px;border-top:1px solid var(--line)}.relatedLinks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.relatedLinks a{padding:14px;border:1px solid var(--line);border-radius:10px;text-decoration:none;background:#131519;color:#e6dfd5;font-size:13px;font-weight:800}.relatedLinks a:hover{border-color:#6c4b42}
.siteFooter{border-top:1px solid var(--line);padding:28px 0 44px;color:var(--muted);font-size:12px}.footerInner{width:min(var(--max),calc(100% - 28px));margin:auto;display:flex;gap:18px;justify-content:space-between;align-items:flex-start}.footerNav{display:flex;gap:9px 15px;flex-wrap:wrap;justify-content:flex-end}.footerNav a{color:var(--muted);text-decoration:none}.footerNav a:hover{color:var(--text)}
.faq{max-width:820px}.faqItem{padding:24px 0;border-bottom:1px solid var(--line)}.faqItem h2{font-size:24px;margin:0 0 9px}.faqItem p:last-child{margin-bottom:0}
.aboutGrid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin:28px 0}.aboutCard{border:1px solid var(--line);border-radius:14px;padding:20px;background:#131519}.aboutCard h3{margin-top:0}.aboutCard p:last-child{margin-bottom:0}
.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:18px}.breadcrumbs a{color:var(--muted)}
@media(max-width:820px){.pageShell{grid-template-columns:1fr;gap:16px}.sidebar{position:static;border-left:0;border-top:1px solid var(--line);padding:22px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.sidebar .sideTitle,.sidebar .sideDivider{grid-column:1/-1}.guideGrid{grid-template-columns:1fr}.aboutGrid{grid-template-columns:1fr}.hero{padding-top:48px}.relatedLinks{grid-template-columns:1fr}}
@media(max-width:560px){.headerInner{min-height:62px}.mainNav{gap:1px}.mainNav a{font-size:9px;padding:7px 6px}.wordmark{font-size:22px}.hero{padding:42px 0 30px}.hero p{font-size:17px}.pageShell{padding-top:28px}.article .lede{font-size:18px}.inlineStat{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.footerInner{display:block}.footerNav{justify-content:flex-start;margin-top:12px}.guideCard{min-height:0}}


.meta a{color:inherit;text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--muted) 45%,transparent)}
.meta a:hover{color:var(--text);border-bottom-color:var(--accent)}


/* R118: legal/account pages share the TempoLock editorial layout. */
.legalArticle{max-width:820px}
.legalArticle table{width:100%;border-collapse:collapse;margin:24px 0 30px;font-size:13px;line-height:1.5;display:block;overflow-x:auto}
.legalArticle th,.legalArticle td{border:1px solid var(--line);padding:11px 12px;text-align:left;vertical-align:top;min-width:150px}
.legalArticle th{background:#17191e;color:#f3efe7;font-size:11px;letter-spacing:.035em}
.legalArticle code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.92em;background:#17191e;border:1px solid var(--line);border-radius:5px;padding:2px 5px;color:#f1d7cf}
.legalArticle .notice{margin:26px 0;padding:17px 19px;border-left:3px solid var(--accent);background:#151411;border-radius:0 10px 10px 0;color:#ddd5cb}
.legalArticle .notice strong{color:#fff}
.legalArticle .button{margin:8px 0 20px}
.legalArticle h2:first-of-type{margin-top:34px}
.legalSide a[aria-current="page"]{color:#fff;font-weight:900}
@media(max-width:560px){.legalArticle table{font-size:12px}.legalArticle th,.legalArticle td{padding:9px 10px;min-width:135px}}


/* R122: expose every public information page in the shared editorial header. */
.mainNav{min-width:0}
@media(max-width:900px){
  .headerInner{display:block;padding:12px 0 10px}
  .wordmark{display:inline-block;margin:0 0 10px}
  .mainNav{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:3px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:0 0 2px}
  .mainNav::-webkit-scrollbar{display:none}
  .mainNav a{flex:0 0 auto;white-space:nowrap}
}
@media(max-width:560px){
  .headerInner{min-height:0}
  .mainNav a{font-size:9px;padding:7px 7px}
}


/* R196: mode/tool landing pages added after AdSense low-value-content review. */
.modeGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px 0}
.modeTile{display:flex;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#17191e,#111215);text-decoration:none;color:var(--text)}
.modeTile:hover{border-color:#715248;color:var(--text);transform:translateY(-1px)}
.modeTile .modeTag{font-size:10px;font-weight:950;letter-spacing:.14em;color:var(--accent);text-transform:uppercase}
.modeTile h3{font-size:23px;margin:8px 0 7px}.modeTile p{font-size:14px;color:var(--muted);margin:0;flex:1}.modeTile .modeArrow{font-size:11px;font-weight:900;color:#f0a08d;margin-top:16px}
.featureGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0 30px}.featureBox{padding:17px;border:1px solid var(--line);border-radius:12px;background:#131519}.featureBox strong{display:block;color:#fff;margin-bottom:5px}.featureBox p{font-size:14px;margin:0;color:#bdb5aa}
.steps{counter-reset:step;list-style:none;padding:0;margin:24px 0}.steps li{counter-increment:step;position:relative;padding:0 0 20px 48px;min-height:36px}.steps li::before{content:counter(step);position:absolute;left:0;top:-2px;width:32px;height:32px;border:1px solid #6a4238;border-radius:50%;display:grid;place-items:center;color:#f0a08d;font-weight:950;font-size:12px;background:#171311}.steps li+li{margin-top:0}.steps strong{color:#fff}
.scoreTable{width:100%;border-collapse:collapse;margin:24px 0 30px;font-size:14px}.scoreTable th,.scoreTable td{border-bottom:1px solid var(--line);padding:11px 10px;text-align:left;vertical-align:top}.scoreTable th{color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.scoreTable td:first-child{font-weight:900;color:#fff}
.practicePlan{margin:30px 0;padding:20px;border:1px solid #5d493e;border-radius:14px;background:linear-gradient(145deg,#191816,#121315)}.practicePlan h3{margin:0 0 9px}.practicePlan p:last-child{margin-bottom:0}
.pageCta{margin:36px 0 6px;padding:22px;border:1px solid #5f4037;border-radius:14px;background:#171311}.pageCta h2{margin:0 0 8px;font-size:28px}.pageCta p{margin-bottom:14px}.pageCta .button{margin-right:8px;margin-bottom:8px}
@media(max-width:680px){.modeGrid,.featureGrid{grid-template-columns:1fr}.scoreTable{font-size:12px}.scoreTable th,.scoreTable td{padding:9px 7px}}

/* R265: on desktop the footer is centred: the copyright line, then the links. */
@media(min-width:561px){.footerInner{flex-direction:column;align-items:center;text-align:center;gap:12px}.footerNav{justify-content:center}}

/* R302: content/about/legal pages use the real TempoLock masthead language.
   The information-page grid replaces Practice / Leaderboards / Tools on these pages. */
.siteHeader{
  position:relative;background:#14120f;border-bottom:1px solid rgba(243,238,227,.14);
  color:#f3eee3;padding:0 0 12px;
}
.tempoHomeTop{
  width:min(960px,calc(100% - 28px));margin:0 auto;
  display:grid;grid-template-columns:40px minmax(0,1fr) auto;
  grid-template-areas:"spacer spacer profile" "brand brand brand";
  align-items:center;gap:18px 14px;min-height:0;padding:10px 0 4px;text-align:left;
}
.tempoHomeBrand{grid-area:brand;display:block;margin-top:2px;color:#f3eee3;text-decoration:none;min-width:0}
.tempoHomeLogo{
  display:block;margin:0;font-family:'Big Shoulders Display','Arial Narrow',Impact,sans-serif;font-weight:800;
  font-size:clamp(52px,8vw,78px);line-height:.86;letter-spacing:.01em;color:#f3eee3;white-space:nowrap;
}
.tempoHomeLogo>span{color:#e1472c}
.tempoHomeTagline{display:block;margin:11px 0 0;color:#9c9384;font-family:'IBM Plex Sans',sans-serif;font-size:15.5px;line-height:1.25;max-width:36ch}
.tempoHomeProfile{
  grid-area:profile;justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:9px;
  min-width:0;padding:5px 7px 5px 10px;color:#f3eee3;text-decoration:none;text-align:right;
  background:transparent;border:0;box-shadow:none;
}
.tempoHomeProfile:hover{color:#f3eee3;background:rgba(243,238,227,.035)}
.tempoHomeProfileText{min-width:0}
.tempoHomeProfile b{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:'IBM Plex Sans',sans-serif;font-size:13px;font-weight:500;color:#9c9384}
.tempoHomeProfileMeta{display:flex;align-items:center;justify-content:flex-end;gap:4px;white-space:nowrap;margin-top:2px}
.tempoHomeProfile small{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;color:#c9a227;white-space:nowrap}
.tempoHomeProfileDivider{color:#6f6759;opacity:.62;font-size:9px;line-height:1}
.tempoHomeGearHit{display:flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;margin:-6px -6px -6px 0;border-radius:12px;flex:0 0 auto}
.tempoHomeProfile:hover .tempoHomeGearHit{background:rgba(243,238,227,.04)}
.tempoHeaderGear{width:17px;height:17px;fill:none;stroke:#9c9384;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:.9}

.tempoHomeScale{
  width:min(960px,calc(100% - 28px));margin:24px auto 16px;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;height:20px;align-items:end;opacity:.9;
}
.tempoHeaderBeatGroup{display:grid;grid-template-columns:1.22fr repeat(3,1fr);gap:4px;align-items:end;min-width:0}
.tempoHeaderBeat{display:block;width:100%;min-width:0;margin:0;border:0;border-radius:0;box-shadow:none}
.tempoHeaderMajor{height:18px;background:#81796d}.tempoHeaderSub{height:10px;background:#5f594f}.tempoHeaderDownbeat{background:#e1472c}

.siteHeader .infoNav{
  width:min(960px,calc(100% - 28px));margin:0 auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  border-top:1px solid rgba(243,238,227,.14);border-left:1px solid rgba(243,238,227,.14);background:transparent;
}
.siteHeader .infoNav a{
  min-width:0;min-height:48px;padding:9px 8px;display:flex;align-items:center;justify-content:center;text-align:center;
  border-right:1px solid rgba(243,238,227,.14);border-bottom:1px solid rgba(243,238,227,.14);
  color:#9c9384;text-decoration:none;font-family:'IBM Plex Sans',sans-serif;font-size:11px;line-height:1.2;font-weight:600;letter-spacing:.01em;
}
.siteHeader .infoNav a:hover,.siteHeader .infoNav a:focus-visible{color:#f3eee3;background:rgba(243,238,227,.035);outline:none}
.siteHeader .infoNav a[aria-current="page"]{color:#f3eee3;background:rgba(225,71,44,.075);box-shadow:inset 0 -2px #e1472c}

@media(max-width:900px){.siteHeader .infoNav{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){
  .siteHeader{padding-bottom:10px}
  .tempoHomeTop{
    grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand profile";column-gap:10px;row-gap:0;
    margin:0 auto;padding:8px 0 12px;align-items:center;
  }
  .tempoHomeBrand{justify-self:start;align-self:center;width:auto;margin:0;min-width:0}
  .tempoHomeLogo{font-size:clamp(36px,10.7vw,48px);line-height:.88}
  .tempoHomeTagline{margin:6px 0 0 1px;font-size:clamp(10px,3.15vw,13px);line-height:1.15;white-space:nowrap;max-width:none}
  .tempoHomeProfile{justify-self:end;align-self:center;max-width:154px;padding:6px 4px 6px 8px;gap:6px}
  .tempoHomeProfile b{max-width:112px;font-size:12px}
  .tempoHomeProfile small{font-size:9.5px}
  .tempoHomeProfileMeta{gap:3px}
  .tempoHomeGearHit{min-width:40px;min-height:40px;margin:-7px -5px -7px 0}
  .tempoHeaderGear{width:17px;height:17px}
  .tempoHomeScale{gap:7px;margin:21px auto 15px;height:20px}
  .tempoHeaderBeatGroup{gap:3px}.tempoHeaderMajor{height:15px}.tempoHeaderSub{height:8px}
  .siteHeader .infoNav{grid-template-columns:repeat(3,minmax(0,1fr))}
  .siteHeader .infoNav a{min-height:46px;padding:8px 5px;font-size:9.5px;line-height:1.15}
}
@media(max-width:380px){
  .tempoHomeLogo{font-size:clamp(33px,10.2vw,40px)}.tempoHomeTagline{font-size:10px}
  .tempoHomeProfile{max-width:142px}.tempoHomeProfile b{max-width:101px;font-size:11px}.tempoHomeProfile small{font-size:8.6px}
  .tempoHomeGearHit{min-width:36px;min-height:38px}
  .siteHeader .infoNav a{font-size:9px;padding-left:4px;padding-right:4px}
}

/* R303: content pages use the same masthead geometry as the live homepage.
   Page navigation stays fully visible, but is a lighter four-across segmented grid on phones. */
.siteHeader{padding:0 0 10px;background:#14120f;border-bottom:1px solid rgba(243,238,227,.14);color:#f3eee3;backdrop-filter:none}
.siteHeader .top{
  width:min(960px,calc(100% - 28px));
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand profile";
  align-items:center;column-gap:22px;row-gap:0;min-height:0;margin:8px auto 13px;padding:0;text-align:left;
}
.siteHeader .brand{grid-area:brand;align-self:center;justify-self:start;min-width:0;margin:0;color:#f3eee3;text-decoration:none}
.siteHeader .brand h1{margin:0;font-family:'Big Shoulders Display','Arial Narrow',Impact,sans-serif;font-weight:800;font-size:clamp(52px,8vw,78px);line-height:.86;letter-spacing:.01em;color:#f3eee3;white-space:nowrap}
.siteHeader .editorialTick{display:inline;color:#e1472c}
.siteHeader .brand p{margin:11px 0 0;color:#9c9384;font-family:'IBM Plex Sans',sans-serif;font-size:15.5px;line-height:1.25;max-width:36ch}
.siteHeader .profileStack{grid-area:profile;position:static;transform:none;justify-self:end;align-self:center;display:flex;flex-direction:column;align-items:flex-end;min-width:0;margin:0}
.siteHeader .profile{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;padding:5px 7px 5px 10px;color:#f3eee3;text-decoration:none;text-align:right;background:transparent;border:0;box-shadow:none}
.siteHeader .profile:hover{color:#f3eee3;background:rgba(243,238,227,.035)}
.siteHeader .profileText{min-width:0}
.siteHeader .profile b{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:'IBM Plex Sans',sans-serif;font-size:13px;font-weight:500;color:#9c9384}
.siteHeader .profileMetaLine{display:flex;align-items:center;justify-content:flex-end;gap:4px;white-space:nowrap;margin-top:2px}
.siteHeader .profile small{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;color:#c9a227;white-space:nowrap}
.siteHeader .profileMetaDivider{color:#6f6759;opacity:.62;font-size:9px;line-height:1}
.siteHeader .profileGearHit{display:flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;margin:-6px -6px -6px 0;border-radius:12px;flex:0 0 auto}
.siteHeader .profileGear{width:17px;height:17px;fill:none;stroke:#9c9384;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.siteHeader .editorialScale{width:min(960px,calc(100% - 28px));margin:24px auto 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;height:20px;align-items:end;opacity:.9}
.siteHeader .editorialBeatGroup{display:grid;grid-template-columns:1.22fr repeat(3,1fr);gap:4px;align-items:end;min-width:0}
.siteHeader .editorialBeat{display:block;width:100%;min-width:0;margin:0;border:0;border-radius:0;box-shadow:none}
.siteHeader .editorialMajor{height:18px;background:#81796d}.siteHeader .editorialSub{height:10px;background:#5f594f}.siteHeader .editorialDownbeat{background:#e1472c}

/* Flat segmented page navigation: lighter than R302's large boxed tiles. */
.siteHeader .infoNav{
  width:min(960px,calc(100% - 28px));margin:0 auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  border-top:1px solid rgba(243,238,227,.14);border-bottom:1px solid rgba(243,238,227,.14);border-left:0;background:transparent;
}
.siteHeader .infoNav a{
  min-width:0;min-height:40px;padding:6px 7px;display:flex;align-items:center;justify-content:center;text-align:center;
  border:0;border-right:1px solid rgba(243,238,227,.14);border-bottom:1px solid rgba(243,238,227,.14);
  color:#9c9384;text-decoration:none;font-family:'IBM Plex Sans',sans-serif;font-size:10px;line-height:1.08;font-weight:600;letter-spacing:0;background:transparent;
}
.siteHeader .infoNav a:nth-child(6n){border-right:0}
.siteHeader .infoNav a:nth-last-child(-n+6){border-bottom:0}
.siteHeader .infoNav a:hover,.siteHeader .infoNav a:focus-visible{color:#f3eee3;background:rgba(243,238,227,.03);outline:none}
.siteHeader .infoNav a[aria-current="page"]{color:#f3eee3;background:rgba(225,71,44,.055);box-shadow:inset 0 -2px #e1472c}

@media(max-width:900px) and (min-width:561px){
  .siteHeader .infoNav{grid-template-columns:repeat(4,minmax(0,1fr))}
  .siteHeader .infoNav a:nth-child(6n){border-right:1px solid rgba(243,238,227,.14)}
  .siteHeader .infoNav a:nth-child(4n){border-right:0}
  .siteHeader .infoNav a:nth-last-child(-n+6){border-bottom:1px solid rgba(243,238,227,.14)}
  .siteHeader .infoNav a:nth-last-child(-n+4){border-bottom:0}
}
@media(max-width:560px){
  .siteHeader{padding-bottom:10px}
  .siteHeader .top{
    grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand profile";column-gap:10px;row-gap:0;
    width:min(960px,calc(100% - 28px));margin:8px auto 12px;padding:0;align-items:center;
  }
  .siteHeader .brand{justify-self:start;align-self:center;width:auto;margin:0;min-width:0}
  .siteHeader .brand h1{font-size:clamp(36px,10.7vw,48px);line-height:.88}
  .siteHeader .brand p{margin:6px 0 0 1px;font-size:clamp(10px,3.15vw,13px);line-height:1.15;white-space:nowrap;max-width:none}
  .siteHeader .profileStack{justify-self:end;align-self:center;max-width:154px}
  .siteHeader .profile{max-width:154px;padding:6px 4px 6px 8px;gap:6px}
  .siteHeader .profile b{max-width:112px;font-size:12px}
  .siteHeader .profile small{font-size:9.5px}
  .siteHeader .profileMetaLine{gap:3px}
  .siteHeader .profileGearHit{min-width:40px;min-height:40px;margin:-7px -5px -7px 0}
  .siteHeader .profileGear{width:17px;height:17px}
  .siteHeader .editorialScale{gap:7px;margin:21px auto 15px;height:20px}
  .siteHeader .editorialBeatGroup{gap:3px}.siteHeader .editorialMajor{height:15px}.siteHeader .editorialSub{height:8px}
  .siteHeader .infoNav{grid-template-columns:repeat(4,minmax(0,1fr));}
  .siteHeader .infoNav a{min-height:38px;padding:5px 3px;font-size:8.6px;line-height:1.08}
  .siteHeader .infoNav a:nth-child(6n){border-right:1px solid rgba(243,238,227,.14)}
  .siteHeader .infoNav a:nth-child(4n){border-right:0}
  .siteHeader .infoNav a:nth-last-child(-n+6){border-bottom:1px solid rgba(243,238,227,.14)}
  .siteHeader .infoNav a:nth-last-child(-n+4){border-bottom:0}
}
@media(max-width:380px){
  .siteHeader .brand h1{font-size:clamp(33px,10.2vw,40px)}.siteHeader .brand p{font-size:10px}
  .siteHeader .profileStack,.siteHeader .profile{max-width:142px}.siteHeader .profile b{max-width:101px;font-size:11px}.siteHeader .profile small{font-size:8.6px}
  .siteHeader .profileGearHit{min-width:36px;min-height:38px}
  .siteHeader .infoNav a{font-size:8px;padding-left:2px;padding-right:2px}
}

/* R304: match the information-page masthead to the real homepage shell rather than
   just matching its inner components. The homepage has outer body padding plus
   Editorial app padding; reproduce those insets here while keeping the header's
   background sticky/full-width. */
@media(max-width:560px){
  .siteHeader{padding:8px 20px 10px!important}
  .siteHeader .top{
    width:auto!important;
    margin:8px 2px 12px!important;
  }
  .siteHeader .editorialScale{
    width:100%!important;
    margin:10px 0 6px!important;
  }
  .siteHeader .infoNav{
    width:100%!important;
    margin:0!important;
  }
}
@media(min-width:561px) and (max-width:899px){
  .siteHeader{padding:14px 26px 10px!important}
  .siteHeader .top{width:min(956px,100%)!important;margin:8px auto 13px!important}
  .siteHeader .editorialScale,.siteHeader .infoNav{width:min(956px,100%)!important}
}
@media(min-width:900px){
  .siteHeader{padding:14px 34px 10px!important}
  .siteHeader .top{width:min(1000px,100%)!important;margin:8px auto 13px!important}
  .siteHeader .editorialScale,.siteHeader .infoNav{width:min(1000px,100%)!important}
}

/* R387: free avatar appears beside name and scores on editorial info pages. */
.siteHeader .tlPlayerIcon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid #7d5645;border-radius:9px;background:#352821;color:#f1b085;font-size:20px;line-height:1}
.siteHeader .profile{gap:7px}
@media(max-width:560px){.siteHeader .tlPlayerIcon{flex-basis:24px;width:24px;height:24px;font-size:15px}}

/* R393: same-size logo and player row on all reading, guide, mode and legal pages.
   Guard against fallback fonts; preserve existing reading-page navigation links. */
.siteHeader .brand h1{display:inline-block;width:max-content;max-width:none;line-height:.94}
.siteHeader .profile{-webkit-tap-highlight-color:transparent}
.siteHeader .profile:focus:not(:focus-visible){outline:none;box-shadow:none}
.siteHeader .profile:focus-visible{outline:2px solid #d5ac70;outline-offset:2px}
@media(max-width:560px){
 .siteHeader .top{display:grid!important;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr)!important;grid-template-areas:'brand profile'!important;align-items:center!important;gap:6px!important;width:100%!important;margin:8px 0 13px!important;padding:0!important}
 .siteHeader .brand{grid-area:brand;width:100%;min-width:0;max-width:100%;overflow:visible;justify-self:start;align-self:center}
 .siteHeader .brand h1{font-family:'Big Shoulders Display','Arial Narrow',Impact,sans-serif;font-size:clamp(22px,7vw,37px)!important;font-weight:800;letter-spacing:-.034em!important;line-height:.94!important;white-space:nowrap}
 .siteHeader .brand p{font-size:clamp(8px,2.1vw,10px)!important;white-space:nowrap;margin-top:5px!important;line-height:1.2}
 .siteHeader .profileStack{grid-area:profile;position:static;transform:none;max-width:none!important;min-width:0;width:100%;justify-self:stretch;align-self:center;align-items:stretch;margin:0}
 .siteHeader .profile{display:grid!important;grid-template-columns:26px minmax(0,1fr) 23px;grid-template-rows:18px 15px;grid-template-areas:'icon name gear' 'icon stats stats';gap:1px 6px;align-items:center;min-width:0;max-width:none!important;width:100%;padding:3px 0!important;margin:0;border:0;box-shadow:none;background:transparent;text-align:left}
 .siteHeader .tlPlayerIcon{grid-area:icon;width:25px;height:25px;flex-basis:25px;font-size:16px}
 .siteHeader .profileText{display:contents}
 .siteHeader .profile b{grid-area:name;display:block;max-width:100%!important;margin:0 0 0 11px;text-align:left;font-size:clamp(10px,2.7vw,12px)!important;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .siteHeader .profileMetaLine{grid-area:stats;display:flex;justify-content:flex-start;gap:3px;max-width:100%;margin:0;white-space:nowrap;overflow:visible}
 .siteHeader .profile small{font-size:clamp(8px,2.3vw,10px)!important;line-height:14px;white-space:nowrap}
 .siteHeader .profileGearHit{grid-area:gear;min-width:23px;min-height:23px;margin:0;padding:0;justify-self:end}
 .siteHeader .profileGear{width:19px;height:19px}
}
@media(max-width:350px){
 .siteHeader .top{grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr)!important;gap:5px!important}
 .siteHeader .brand h1{font-size:clamp(20px,6.7vw,25px)!important}
 .siteHeader .profile{grid-template-columns:23px minmax(0,1fr) 20px;column-gap:4px}
 .siteHeader .tlPlayerIcon{width:23px;height:23px;flex-basis:23px;font-size:14px}
 .siteHeader .profile b{margin-left:9px;font-size:10px!important}
 .siteHeader .profile small{font-size:8px!important}
 .siteHeader .profileGear{width:17px;height:17px}
}

/* R395: content gutters are now governed by theme-shared.css. */
