/* Shared top-level journal navigation on product detail pages ONLY.
 * Does not restyle original V31 gameplay or HOME/PORTFOLIO. */
.hs-product-tabs{
 display:flex;flex-wrap:wrap;align-items:center;gap:7px;
 max-width:1160px;margin:18px auto 14px;padding:5px 15px;
 box-sizing:border-box;border-bottom:1px solid #d9e1e9;
 position:sticky;top:var(--hs-detail-header-height,78px);z-index:99000;
 background:rgba(255,253,248,.97);backdrop-filter:blur(12px);
 border-radius:0 0 10px 10px;box-shadow:0 7px 14px rgba(16,35,51,.035);
 font-family:system-ui,-apple-system,'Segoe UI',sans-serif
}
.hs-product-tabs button{
 appearance:none;border:1px solid transparent;border-bottom:3px solid transparent;
 border-radius:9px 9px 0 0;padding:12px 21px;min-height:46px;
 background:transparent;color:#37526c;font:700 14px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;
 cursor:pointer;white-space:nowrap
}
.hs-product-tabs button[aria-selected="true"]{background:#f0f6fa;border-color:#d5e1eb;border-bottom-color:#df7924;color:#0b2d60}
.hs-product-tabs button:hover{background:#f7f9fc}
.hs-product-tabs button:focus-visible{outline:3px solid #de8c2a;outline-offset:3px}
.hs-product-journal{background:#fffaf4;color:#183650;padding:clamp(24px,5vw,56px) 18px min(15vh,100px);min-height:54vh;font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.hs-product-journal[hidden],main[data-hs-product-overview][hidden]{display:none!important}
.hs-product-journal-inner{max-width:1050px;margin:0 auto}
.hs-product-journal-eyebrow{color:#b56727;font-size:12px;font-weight:800;letter-spacing:.15em}
.hs-product-journal h2{font-size:clamp(27px,4vw,42px);color:#0b2d60;line-height:1.2;margin:10px 0 20px}
.hs-product-journal p{font-size:clamp(14px,2vw,17px);line-height:1.8;max-width:65ch;word-break:keep-all}
@media(max-width:600px){.hs-product-tabs{margin:8px 12px;padding:3px 5px;gap:4px}.hs-product-tabs button{font-size:14px;padding:9px 15px;min-height:44px}.hs-product-journal{min-height:44vh}}
@media(prefers-reduced-motion:reduce){.hs-product-tabs *{transition:none!important}}

/* Source-backed historical review, not an empty placeholder or an image gallery.
   Only the owner-selected 6x product journals receive this style. */
.hs-journal-review-note{color:#755d49;font-size:13px!important;background:#fff2df;border-left:3px solid #b97929;padding:12px 16px;margin:0 0 28px;max-width:none!important}
.hs-journal-translation-note{color:#6c5b4b;font-size:13px!important;margin:16px 0}
.hs-journal-timeline{list-style:none;margin:0;padding:0 0 0 23px;border-left:2px solid #dfc6a8}
.hs-journal-event{position:relative;padding:6px 0 30px 25px;margin:0 0 13px;border-bottom:1px solid #ecdfcf}
.hs-journal-event::before{content:"";position:absolute;top:13px;left:-31px;width:12px;height:12px;border-radius:50%;background:#c1792e;border:3px solid #fffaf4}
.hs-journal-date-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;font-weight:700;margin-bottom:11px;color:#8a5b29}
.hs-journal-event-date{font-variant-numeric:tabular-nums;letter-spacing:.02em}
.hs-journal-event-kind{background:#f4e7d6;padding:4px 9px;border-radius:999px;color:#765029}
.hs-journal-event h3{font-size:clamp(19px,2.6vw,27px);line-height:1.3;color:#133c64;margin:0 0 10px;word-break:keep-all}
.hs-journal-event>p{font-size:clamp(14px,1.7vw,16px);color:#3c5268;line-height:1.8;margin:0}
/* The behind-the-scenes story is visible immediately: no collapsed accordion. */
.hs-journal-behind{
 margin:18px 0 0;padding:17px 20px 19px;
 border-left:4px solid #b97929;border-radius:0 11px 11px 0;
 background:linear-gradient(105deg,#fbefdb,#fffaf5);
}
.hs-journal-behind-label{
 display:block;margin:0 0 8px;color:#805124;font:800 12px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;
 letter-spacing:.04em;
}
.hs-journal-behind>p{margin:0!important;padding:0!important;color:#3f5267;max-width:70ch!important;font-size:15px!important;line-height:1.8!important}
@media(max-width:600px){.hs-journal-timeline{padding-left:14px}.hs-journal-event{padding-left:17px}.hs-journal-event::before{left:-23px}}

/* On details, primary sticky header always stacks above the secondary sticky journal tabs. */
body > header.site-head--shared{z-index:100000}
/* Corporate RIGHT mark only on the three new product detail headers.
   Original V31 details already have the exact approved right corporate mark. */
.site-head--shared .head-content:has(.hs-studio-corner){display:grid;grid-template-columns:minmax(0,1fr) auto minmax(110px,.65fr);align-items:center}
.site-head--shared .head-content:has(.hs-studio-corner) .main-nav{justify-self:center}
.site-head--shared .hs-studio-corner{display:flex;align-items:center;justify-content:flex-end;justify-self:end;min-height:44px;max-width:165px;text-decoration:none}
.site-head--shared .hs-studio-corner img{display:block;width:clamp(102px,10vw,145px);height:auto;object-fit:contain}
.site-head--shared .hs-studio-corner:hover img{opacity:.82}
.site-head--shared .hs-studio-corner:focus-visible{outline:3px solid #e0a249;outline-offset:4px;border-radius:5px}
@media(max-width:720px){
 .site-head--shared .head-content:has(.hs-studio-corner){grid-template-columns:minmax(0,1fr) auto auto;gap:7px}
 .site-head--shared .head-content:has(.hs-studio-corner) .haeppy-mobile-menu{grid-column:2;grid-row:1}
 .site-head--shared .head-content:has(.hs-studio-corner) .hs-studio-corner{grid-column:3;grid-row:1}
 .site-head--shared .hs-studio-corner img{width:clamp(74px,22vw,102px)}
 .site-head--shared .head-content:has(.hs-studio-corner) .brand-logo--product{max-width:min(130px,34vw);max-height:47px}
 .hs-product-tabs{margin:0 8px 10px;max-width:calc(100% - 16px);padding:5px}
}
@media(prefers-reduced-motion:reduce){.site-head--shared .hs-studio-corner img{transition:none}}


/* PRODUCT MASTHEAD — header + overview/journal tabs form ONE sticky region.
   The tabs remain in document flow instead of floating over the page hero. */
.hs-detail-masthead{
  position:sticky;top:0;z-index:100000;width:100%;
  background:#fff;border-bottom:1px solid #d9e4d9;
  box-shadow:0 3px 13px rgba(13,44,32,.065);
  isolation:isolate;
}
.hs-detail-masthead > :is(.site-head--shared,.hp-product-header){
  position:relative!important;top:auto!important;inset:auto!important;
  z-index:1!important;width:100%;margin:0;
}
.hs-detail-masthead > .site-head--shared{background:#fff!important;border-bottom:0}
.hs-detail-masthead > .hs-product-tabs{
  position:relative!important;top:auto!important;z-index:1!important;
  width:min(1160px,calc(100% - 38px));max-width:none;
  margin:0 auto;padding:0;min-height:46px;
  background:transparent;backdrop-filter:none;
  border:0;border-radius:0;box-shadow:none;
}
.hs-detail-masthead .hs-product-tabs button{
  padding:10px 20px;min-height:45px;border-radius:0;background:transparent;
}
.hs-detail-masthead .hs-product-tabs button[aria-selected="true"]{
  border-color:transparent transparent #2e7653;
  color:#194d35;background:#f0f7f0;
}
.hs-detail-masthead .hs-product-tabs button:hover{background:#edf5ed}
.hs-detail-masthead .hs-product-tabs button:focus-visible{outline:2px solid #3e8b64;outline-offset:-2px}
.hs-detail-masthead--salim{
  background:#fff;border-bottom-color:#d9e7db;
}
.hs-detail-masthead--salim .site-head--shared :is(.main-nav a,.haeppy-mobile-menu summary){color:#244b39}
.hs-detail-masthead--salim .site-head--shared .main-nav a:is(:hover,:focus-visible,[aria-current="page"]){
  color:#287a50;text-decoration-color:#61a477
}
.hs-detail-masthead--salim .hs-product-tabs{border-top:1px solid #eef2ed}
.hs-detail-masthead--salim .hs-product-tabs button{color:#456651}
.hs-detail-masthead--salim .hs-product-tabs button[aria-selected="true"]{
  color:#1f6743;background:#f0f7f0;border-bottom-color:#317d54
}
.hs-detail-masthead--salim .hs-product-tabs button:hover{background:#ecf5ed}
.hs-detail-masthead--football-club{background:#071c21;border-bottom-color:#28473f}
.hs-detail-masthead--football-club .hs-product-tabs button{color:#d9ece6}
.hs-detail-masthead--football-club .hs-product-tabs button[aria-selected="true"]{
  background:#16382e;color:#d6ff91;border-bottom-color:#b2ec70}
.hs-detail-masthead--football-club .hs-product-tabs button:hover{background:#1b3a34}
.hs-detail-masthead--last-commander{background:#152221;border-bottom-color:#3c5149}
.hs-detail-masthead--last-commander .hs-product-tabs button{color:#e1e5dd}
.hs-detail-masthead--last-commander .hs-product-tabs button[aria-selected="true"]{
  background:#2b3c34;color:#f2cb90;border-bottom-color:#dbaf6d}
.hs-detail-masthead--last-commander .hs-product-tabs button:hover{background:#26372e}
.hs-detail-masthead--tychicus-link .hs-product-tabs button[aria-selected="true"]{
  color:#165083;background:#e9f2fd;border-bottom-color:#347eb8
}
.hs-detail-masthead--ant-kingdom-queen-escape .hs-product-tabs button[aria-selected="true"]{
  color:#386441;background:#f1f5df;border-bottom-color:#668c46
}
.hs-detail-masthead--ant-kingdom-alpha-swarm .hs-product-tabs button[aria-selected="true"]{
  color:#8b562e;background:#fff3e5;border-bottom-color:#c5894d
}
html{scroll-padding-top:145px}
@media(max-width:720px){
 .hs-detail-masthead > .hs-product-tabs{width:calc(100% - 26px)}
 .hs-detail-masthead .hs-product-tabs button{padding:9px 15px;min-height:43px;font-size:13px}
}
