/* =====================================================================
   ph22 engine - shared visual sheet
   Class prefix ... surface0b243-
   Palette ........ #1C2833 / #36454F surfaces, #95A5A6 / #999999 text
   Canvas ......... 320-430px phone-first, centered phone canvas on wide
   Feel ........... poster titles, near-square corners, tool-like chrome
   ===================================================================== */

:root{
  --surface0b243-ink:   #1C2833;                 /* deepest background   */
  --surface0b243-slab:  #36454F;                 /* raised surface       */
  --surface0b243-mist:  #95A5A6;                 /* accent / key text    */
  --surface0b243-fog:   #999999;                 /* muted text           */
  --surface0b243-paper: #E9EEEF;                 /* near-white headline  */
  --surface0b243-soft:  #C4CED0;                 /* body copy            */
  --surface0b243-glow:  #AEBFC2;                 /* primary CTA fill     */
  --surface0b243-deep:  #121A21;                 /* outside the canvas   */
  --surface0b243-line:  rgba(149,165,166,.22);   /* hairlines            */
  --surface0b243-wash:  rgba(54,69,79,.42);      /* card fill            */
  --surface0b243-block: rgba(149,165,166,.14);   /* active tab/nav block */
  --surface0b243-headh: 100px;                   /* fixed header height  */
  --surface0b243-navh:  62px;                    /* fixed bottom nav     */
  --surface0b243-font:  -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,
                        "Helvetica Neue",Arial,sans-serif;
}

/* ---------- base -------------------------------------------------- */

*{ box-sizing:border-box; margin:0; padding:0; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  font-family:var(--surface0b243-font);
  background:var(--surface0b243-ink);
  color:var(--surface0b243-soft);
  font-size:14px;
  line-height:1.65;
  overflow-x:hidden;
  padding-top:calc(var(--surface0b243-headh) + 4px);
  padding-bottom:calc(var(--surface0b243-navh) + 26px + env(safe-area-inset-bottom,0px));
}

img{ display:block; max-width:100%; }
a{ color:var(--surface0b243-mist); text-decoration:none; }
button{ font-family:inherit; border:0; background:none; color:inherit; cursor:pointer; }
ul,ol{ list-style:none; }

.surface0b243-shell{
  width:100%;
  max-width:430px;
  margin:0 auto;
  padding-inline:15px;
}

/* keyboard focus stays visible everywhere */
:focus-visible{
  outline:2px solid var(--surface0b243-mist);
  outline-offset:2px;
  border-radius:2px;
}

.surface0b243-skip{
  position:absolute;
  left:-999px;
  top:8px;
  z-index:90;
  background:var(--surface0b243-glow);
  color:var(--surface0b243-ink);
  font-weight:800;
  font-size:12px;
  padding:10px 14px;
  border-radius:3px;
}
.surface0b243-skip:focus{ left:8px; }

/* ---------- fixed top bar ----------------------------------------- */

.surface0b243-topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  background:rgba(28,40,51,.97);
  border-bottom:1px solid var(--surface0b243-line);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  padding-top:env(safe-area-inset-top,0px);
}

.surface0b243-topin{
  position:relative;
  max-width:430px;
  margin:0 auto;
}

/* row 1 - brand + action cluster */
.surface0b243-toprow{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:56px;
  padding:8px 15px 6px;
}

.surface0b243-brand{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1 1 auto;
  min-width:0;
}

.surface0b243-logo{
  width:34px;
  height:34px;
  border-radius:3px;
  border:1px solid var(--surface0b243-line);
  flex:0 0 auto;
}

/* brand area shows the real logo image and the site name only */
.surface0b243-brandname{
  font-size:17px;
  font-weight:900;
  letter-spacing:.01em;
  color:var(--surface0b243-paper);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.surface0b243-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}

.surface0b243-btn{
  min-height:40px;
  border-radius:3px;
  font-weight:800;
  letter-spacing:.02em;
  transition:transform .12s ease, background-color .2s ease, color .2s ease;
}
.surface0b243-btn:active{ transform:scale(.95); }

.surface0b243-btn-register{
  background:var(--surface0b243-glow);
  color:var(--surface0b243-ink);
  font-size:13px;
  padding:9px 14px;
}

.surface0b243-btn-login{
  border:1px solid var(--surface0b243-line);
  color:var(--surface0b243-mist);
  font-size:12.5px;
  padding:8px 12px;
}

.surface0b243-menubtn{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid var(--surface0b243-line);
  border-radius:3px;
  color:var(--surface0b243-mist);
  transition:transform .12s ease, background-color .2s ease;
}
.surface0b243-menubtn:active{ transform:scale(.92); background:var(--surface0b243-block); }
.surface0b243-menubtn svg{ width:20px; height:20px; }

/* row 2 - category tabs with sliding focus ink */
.surface0b243-tabs{
  border-top:1px solid rgba(149,165,166,.12);
}

.surface0b243-tabslist{
  position:relative;
  display:flex;
  gap:6px;
  padding:7px 15px 8px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.surface0b243-tabslist::-webkit-scrollbar{ display:none; }

.surface0b243-tabink{
  position:absolute;
  top:7px;
  height:31px;
  border-radius:3px;
  background:var(--surface0b243-block);
  border:1px solid rgba(149,165,166,.34);
  transition:left .28s ease, width .28s ease;
  z-index:0;
}

.surface0b243-tab{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.03em;
  color:var(--surface0b243-fog);
  padding:7px 12px;
  border-radius:3px;
  min-height:31px;
  display:inline-flex;
  align-items:center;
  transition:color .2s ease;
}
.surface0b243-tab.is-here{ color:var(--surface0b243-paper); }

/* ---------- layered drop menu ------------------------------------- */

.surface0b243-menu{
  position:absolute;
  top:calc(100% + 7px);
  right:10px;
  width:min(302px, calc(100vw - 26px));
  background:var(--surface0b243-slab);
  border:1px solid var(--surface0b243-line);
  border-radius:4px;
  box-shadow:0 14px 34px rgba(0,0,0,.46);
  padding:8px;
  z-index:60;
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
}
.surface0b243-menu.is-open{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.surface0b243-menulabel{
  font-size:10.5px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--surface0b243-fog);
  padding:10px 10px 5px;
}
.surface0b243-menulabel:first-child{ padding-top:4px; }

.surface0b243-menulink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:44px;
  padding:9px 10px;
  border-radius:3px;
  font-size:13.5px;
  font-weight:600;
  color:var(--surface0b243-soft);
  transition:background-color .16s ease, color .16s ease;
}
.surface0b243-menulink span{
  font-size:11px;
  color:var(--surface0b243-fog);
  font-weight:500;
  white-space:nowrap;
}
.surface0b243-menulink:hover,
.surface0b243-menulink:focus-visible{
  background:var(--surface0b243-block);
  color:var(--surface0b243-paper);
}
.surface0b243-menulink:active{ transform:scale(.98); }

.surface0b243-menuhome{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:9px 10px;
  border-radius:3px;
  font-size:13.5px;
  font-weight:800;
  color:var(--surface0b243-glow);
  border:1px solid rgba(149,165,166,.24);
  margin-bottom:4px;
}

/* ---------- hero --------------------------------------------------- */

.surface0b243-hero{ padding:22px 0 18px; }

.surface0b243-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--surface0b243-mist);
  margin-bottom:10px;
}
.surface0b243-kicker::before{
  content:"";
  width:18px;
  height:2px;
  background:var(--surface0b243-mist);
}

/* poster-weight headline, poster feel with narrow body copy below */
.surface0b243-h1{
  font-size:clamp(23px, 6.4vw, 30px);
  line-height:1.12;
  font-weight:900;
  letter-spacing:-.012em;
  color:var(--surface0b243-paper);
  margin-bottom:12px;
}

.surface0b243-lead{
  font-size:13.8px;
  line-height:1.7;
  color:var(--surface0b243-soft);
  margin-bottom:16px;
}

/* staggered primary / secondary CTAs */
.surface0b243-ctas{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.surface0b243-btn-xl{
  background:var(--surface0b243-glow);
  color:var(--surface0b243-ink);
  font-size:14.5px;
  font-weight:900;
  letter-spacing:.02em;
  padding:15px 22px;
  min-height:50px;
  border-radius:3px;
  box-shadow:0 6px 18px rgba(174,191,194,.18);
  transition:transform .12s ease, box-shadow .2s ease;
}
.surface0b243-btn-xl:active{ transform:scale(.96); }

.surface0b243-btn-alt{
  border:1px solid var(--surface0b243-line);
  color:var(--surface0b243-mist);
  font-size:12.5px;
  font-weight:700;
  padding:10px 14px;
  min-height:44px;
  border-radius:3px;
  transition:transform .12s ease, background-color .2s ease;
}
.surface0b243-btn-alt:active{ transform:scale(.96); background:var(--surface0b243-block); }

/* ---------- promo carousel ----------------------------------------- */

.surface0b243-carousel{ margin:4px 0 14px; }

.surface0b243-cviewport{
  overflow:hidden;
  border-radius:4px;
  border:1px solid var(--surface0b243-line);
  background:var(--surface0b243-slab);
  touch-action:pan-y;
}

.surface0b243-ctrack{
  display:flex;
  transition:transform .45s ease;
}

.surface0b243-cslide{
  position:relative;
  flex:0 0 100%;
  width:100%;
  display:block;
  text-align:left;
}

.surface0b243-cslide img{
  width:100%;
  aspect-ratio:2 / 1;
  object-fit:cover;
}

.surface0b243-ccap{
  position:absolute;
  left:0; right:0; bottom:0;
  display:flex;
  align-items:center;
  gap:8px;
  padding:26px 12px 10px;
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.02em;
  color:var(--surface0b243-paper);
  background:linear-gradient(to top, rgba(18,26,33,.94), rgba(18,26,33,0));
}
.surface0b243-ccap::before{
  content:"";
  width:7px; height:7px;
  background:var(--surface0b243-glow);
  border-radius:1px;
  flex:0 0 auto;
}
.surface0b243-cslide:active .surface0b243-cslide img{ transform:scale(.985); }

.surface0b243-cdots{
  display:flex;
  justify-content:center;
  gap:10px;
  padding:10px 0 2px;
}

.surface0b243-cdot{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
}
.surface0b243-cdot::before{
  content:"";
  width:14px; height:5px;
  border-radius:2px;
  background:var(--surface0b243-slab);
  border:1px solid var(--surface0b243-line);
  transition:background-color .2s ease;
}
.surface0b243-cdot.is-on::before{ background:var(--surface0b243-glow); border-color:var(--surface0b243-glow); }
.surface0b243-cdot:active::before{ transform:scale(.9); }

/* small trust chips under the carousel */
.surface0b243-chips{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:2px 0 4px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.surface0b243-chips::-webkit-scrollbar{ display:none; }

.surface0b243-chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--surface0b243-mist);
  border:1px solid var(--surface0b243-line);
  background:var(--surface0b243-wash);
  padding:7px 10px;
  border-radius:3px;
  min-height:32px;
}
.surface0b243-chip svg{ width:13px; height:13px; flex:0 0 auto; }

/* ---------- game floors -------------------------------------------- */

section[id^="lobby-"]{
  scroll-margin-top:calc(var(--surface0b243-headh) + 12px);
}

.surface0b243-floor{
  padding:20px 0 6px;
  border-top:1px solid rgba(149,165,166,.12);
}

.surface0b243-fkick{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--surface0b243-mist);
  margin-bottom:7px;
}
.surface0b243-fkick b{
  color:var(--surface0b243-fog);
  font-weight:700;
  letter-spacing:.06em;
}

.surface0b243-ftitle{
  font-size:clamp(19px, 5.4vw, 23px);
  line-height:1.18;
  font-weight:900;
  letter-spacing:-.008em;
  color:var(--surface0b243-paper);
  margin-bottom:8px;
}

.surface0b243-flead{
  font-size:13.2px;
  line-height:1.66;
  color:var(--surface0b243-soft);
  margin-bottom:14px;
}
.surface0b243-flead a{
  color:var(--surface0b243-glow);
  font-weight:700;
  border-bottom:1px solid rgba(174,191,194,.45);
}

/* pure-image game cards with a short name underneath */
.surface0b243-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px 8px;
}

.surface0b243-gcard{
  display:block;
  min-width:0;
  border-radius:3px;
  transition:transform .14s ease;
}
.surface0b243-gcard:active{ transform:scale(.94); }

.surface0b243-gart{
  display:block;
  aspect-ratio:1 / 1;
  border:1px solid var(--surface0b243-line);
  border-radius:3px;
  overflow:hidden;
  background:var(--surface0b243-slab);
  margin-bottom:6px;
}
.surface0b243-gart img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.surface0b243-gname{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:10.5px;
  line-height:1.3;
  font-weight:600;
  text-align:center;
  color:#B6C1C3;
  min-height:28px;
}

/* ---------- reading modules ---------------------------------------- */

.surface0b243-notes{ padding:26px 0 8px; }

.surface0b243-note{
  background:var(--surface0b243-wash);
  border:1px solid var(--surface0b243-line);
  border-left:3px solid var(--surface0b243-mist);
  border-radius:4px;
  padding:16px 15px 14px;
  margin-bottom:14px;
}

.surface0b243-nkick{
  font-size:10px;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--surface0b243-mist);
  margin-bottom:6px;
}

.surface0b243-ntitle{
  font-size:clamp(17.5px, 4.8vw, 20px);
  line-height:1.22;
  font-weight:900;
  color:var(--surface0b243-paper);
  margin-bottom:9px;
}

.surface0b243-nlead{
  font-size:13.4px;
  line-height:1.68;
  margin-bottom:10px;
}
.surface0b243-nlead strong{ color:var(--surface0b243-paper); font-weight:800; }

/* short checklist rhythm */
.surface0b243-nlist li{
  position:relative;
  padding-left:17px;
  font-size:13px;
  line-height:1.6;
  margin-bottom:9px;
}
.surface0b243-nlist li::before{
  content:"";
  position:absolute;
  left:0; top:7px;
  width:7px; height:7px;
  border-radius:1px;
  background:var(--surface0b243-mist);
}
.surface0b243-nlist b{ color:var(--surface0b243-paper); font-weight:700; }

/* pros and limits twin blocks */
.surface0b243-pcwrap{
  display:grid;
  gap:10px;
  margin-top:4px;
}

.surface0b243-pgroup{
  border:1px solid var(--surface0b243-line);
  border-radius:3px;
  background:rgba(28,40,51,.5);
  padding:11px 12px;
}

.surface0b243-ptag{
  display:inline-block;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:4px 8px;
  border-radius:2px;
  margin-bottom:9px;
}
.surface0b243-ptag-good{
  color:var(--surface0b243-ink);
  background:var(--surface0b243-glow);
}
.surface0b243-ptag-warn{
  color:var(--surface0b243-glow);
  border:1px solid rgba(174,191,194,.5);
}

.surface0b243-plist li{
  position:relative;
  padding-left:15px;
  font-size:12.8px;
  line-height:1.58;
  margin-bottom:7px;
}
.surface0b243-plist li:last-child{ margin-bottom:0; }
.surface0b243-plist li::before{
  content:"";
  position:absolute;
  left:0; top:8px;
  width:6px; height:2px;
  background:var(--surface0b243-mist);
}

/* ---------- extended home footer ----------------------------------- */

.surface0b243-xf{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid rgba(149,165,166,.16);
}

.surface0b243-xfhead{
  font-size:clamp(18px, 5vw, 21px);
  font-weight:900;
  color:var(--surface0b243-paper);
  margin-bottom:4px;
}
.surface0b243-xfsub{
  font-size:12.5px;
  color:var(--surface0b243-fog);
  margin-bottom:16px;
}

.surface0b243-xgroup{ margin-bottom:18px; }

.surface0b243-xtitle{
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--surface0b243-mist);
  margin-bottom:9px;
  display:flex;
  align-items:center;
  gap:8px;
}
.surface0b243-xtitle::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--surface0b243-line);
}

/* compact directory: 2 columns when the canvas allows it */
.surface0b243-xlinks{
  display:grid;
  grid-template-columns:1fr;
  gap:6px 14px;
}

.surface0b243-xlink{
  display:flex;
  align-items:baseline;
  gap:7px;
  font-size:12.5px;
  font-weight:600;
  color:var(--surface0b243-soft);
  min-height:32px;
  padding:4px 0;
  border-bottom:1px dotted rgba(149,165,166,.18);
  transition:color .16s ease;
}
.surface0b243-xlink i{
  font-style:normal;
  font-size:10.5px;
  color:var(--surface0b243-fog);
  font-weight:500;
}
.surface0b243-xlink:hover, .surface0b243-xlink:focus-visible{ color:var(--surface0b243-paper); }

.surface0b243-xbrand{
  font-size:12.8px;
  line-height:1.66;
  color:var(--surface0b243-soft);
}

/* promo counter - five varied entries */
.surface0b243-xpromos{
  display:grid;
  gap:8px;
}

.surface0b243-xpromo{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:10px 12px;
  border:1px solid rgba(149,165,166,.3);
  border-radius:3px;
  background:var(--surface0b243-wash);
  font-size:12.8px;
  font-weight:700;
  color:var(--surface0b243-paper);
  text-align:left;
  transition:transform .12s ease, background-color .2s ease;
}
.surface0b243-xpromo:nth-child(odd){
  background:rgba(54,69,79,.6);
}
.surface0b243-xpromo svg{
  width:16px; height:16px;
  flex:0 0 auto;
  color:var(--surface0b243-glow);
}
.surface0b243-xpromo:active{ transform:scale(.97); }
.surface0b243-xpromo span{
  flex:1;
}

.surface0b243-xdisc{
  font-size:11.6px;
  line-height:1.6;
  color:var(--surface0b243-fog);
  border:1px dashed rgba(149,165,166,.28);
  border-radius:3px;
  padding:10px 11px;
}

/* ---------- common footer ------------------------------------------ */

.surface0b243-foot{
  margin-top:8px;
  padding:14px 0 6px;
  border-top:1px solid rgba(149,165,166,.12);
  text-align:center;
}

.surface0b243-copy{
  font-size:11.5px;
  color:var(--surface0b243-fog);
  letter-spacing:.03em;
}

/* ---------- fixed bottom nav ---------------------------------------- */

.surface0b243-bnav{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:100%;
  max-width:430px;
  z-index:55;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:4px;
  padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));
  background:rgba(28,40,51,.98);
  border-top:1px solid var(--surface0b243-line);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}

.surface0b243-bnitem{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-height:50px;
  padding:5px 2px;
  border-radius:3px;
  color:var(--surface0b243-fog);
  transition:transform .12s ease, background-color .2s ease, color .2s ease;
}
.surface0b243-bnitem svg{ width:21px; height:21px; }
.surface0b243-bnlabel{
  font-size:10px;
  font-weight:700;
  letter-spacing:.05em;
}
.surface0b243-bnitem:active{ transform:scale(.9); }

/* active role gets a background support block */
.surface0b243-bnitem.is-on{
  background:var(--surface0b243-block);
  border:1px solid rgba(149,165,166,.34);
  color:var(--surface0b243-glow);
}

/* ---------- canvas refinements -------------------------------------- */

/* denser game grid once the canvas passes the small-phone mark */
@media (min-width:375px){
  .surface0b243-grid{ grid-template-columns:repeat(5, minmax(0,1fr)); }
  .surface0b243-gname{ font-size:10.8px; }
  .surface0b243-xlinks{ grid-template-columns:1fr 1fr; }
}

/* phone canvas tuning inside the 430px design width */
@media (max-width:430px){
  .surface0b243-toprow{ padding:8px 12px 6px; }
  .surface0b243-tabslist{ padding:7px 12px 8px; }
  .surface0b243-shell{ padding-inline:13px; }
  .surface0b243-h1{ font-size:clamp(22px, 6.6vw, 27px); }
  .surface0b243-btn-register{ padding:9px 11px; font-size:12.5px; }
  .surface0b243-btn-login{ padding:8px 10px; font-size:12px; }
}

/* wide screens keep the centered phone canvas */
@media (min-width:431px){
  body{ background:var(--surface0b243-deep); }
  .surface0b243-shell{
    background:var(--surface0b243-ink);
    border-inline:1px solid rgba(149,165,166,.14);
    box-shadow:0 0 44px rgba(0,0,0,.5);
  }
  .surface0b243-topin .surface0b243-shell{ box-shadow:none; border-inline:0; }
  .surface0b243-bnav{
    border-inline:1px solid rgba(149,165,166,.14);
    box-shadow:0 -8px 30px rgba(0,0,0,.4);
  }
}

/* honour reduced-motion preferences */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
  }
}

/* ---------- guide pages ---------------------------------------------- */
.surface0b243-guidehero{
  padding:24px 0 18px;
  border-bottom:1px solid rgba(149,165,166,.16);
}
.surface0b243-guidemark{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:11px;
  color:var(--surface0b243-mist);
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.surface0b243-guidemark span:last-child{
  color:var(--surface0b243-fog);
  letter-spacing:.08em;
  white-space:nowrap;
}
.surface0b243-guidedek{
  max-width:39em;
  color:var(--surface0b243-soft);
  font-size:14px;
  line-height:1.72;
}
.surface0b243-guidebar{
  display:flex;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:14px 0 2px;
}
.surface0b243-guidebar::-webkit-scrollbar{ display:none; }
.surface0b243-guidebar a{
  flex:0 0 auto;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border:1px solid var(--surface0b243-line);
  border-radius:3px;
  color:var(--surface0b243-mist);
  background:rgba(54,69,79,.34);
  font-size:11.5px;
  font-weight:800;
}
.surface0b243-guidebar a:active{ transform:scale(.96); }
.surface0b243-guidelead{
  margin:18px 0 13px;
  padding:14px 14px 13px;
  border-left:3px solid var(--surface0b243-glow);
  background:rgba(149,165,166,.1);
  color:var(--surface0b243-paper);
  font-size:14px;
  line-height:1.7;
}
.surface0b243-guidechapter{
  padding:22px 0 4px;
}
.surface0b243-guidechapter h2,
.surface0b243-guidediagnosis h2,
.surface0b243-guidescore h2{
  color:var(--surface0b243-paper);
  font-size:clamp(18px,5vw,22px);
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.01em;
  margin-bottom:9px;
}
.surface0b243-guidechapter > p,
.surface0b243-guidediagnosis > p,
.surface0b243-guidescore > p{
  font-size:13.4px;
  line-height:1.72;
  margin-bottom:12px;
}
.surface0b243-guidechapter > p strong,
.surface0b243-guidediagnosis > p strong,
.surface0b243-guidescore > p strong{ color:var(--surface0b243-paper); }
.surface0b243-guideorder{
  counter-reset:surface0b243-step;
  display:grid;
  gap:9px;
  margin:13px 0 4px;
}
.surface0b243-guideorder li{
  counter-increment:surface0b243-step;
  display:grid;
  grid-template-columns:31px 1fr;
  gap:10px;
  align-items:start;
  padding:11px 10px 11px 8px;
  border:1px solid rgba(149,165,166,.2);
  background:rgba(54,69,79,.3);
  border-radius:3px;
  font-size:13px;
  line-height:1.62;
}
.surface0b243-guideorder li::before{
  content:counter(surface0b243-step,decimal-leading-zero);
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  background:var(--surface0b243-mist);
  color:var(--surface0b243-ink);
  border-radius:2px;
  font-size:11px;
  font-weight:900;
}
.surface0b243-guideorder b,
.surface0b243-guidepoints b{ color:var(--surface0b243-paper); }
.surface0b243-guidepoints{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:13px 0;
}
.surface0b243-guidepoints li{
  min-height:88px;
  padding:11px 10px;
  border-top:2px solid var(--surface0b243-mist);
  background:rgba(28,40,51,.62);
  font-size:12.4px;
  line-height:1.56;
}
.surface0b243-guidepoints b{ display:block; margin-bottom:3px; font-size:12.8px; }
.surface0b243-guidepromo{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  margin:13px 0 2px;
  padding:11px 13px;
  border:1px solid rgba(174,191,194,.4);
  border-radius:3px;
  background:var(--surface0b243-glow);
  color:var(--surface0b243-ink);
  text-align:left;
  font-size:12.8px;
  font-weight:900;
  line-height:1.35;
  transition:transform .12s ease,filter .2s ease;
}
.surface0b243-guidepromo:hover{ filter:brightness(1.06); }
.surface0b243-guidepromo:active{ transform:scale(.97); }
.surface0b243-guidepromo svg{ width:18px; height:18px; flex:0 0 auto; }
.surface0b243-guidepromo span{ flex:1; }
.surface0b243-guidecallout{
  margin:15px 0 2px;
  padding:13px 13px 12px;
  border:1px dashed rgba(149,165,166,.38);
  border-radius:3px;
  color:var(--surface0b243-soft);
  font-size:12.8px;
  line-height:1.65;
}
.surface0b243-guidecallout b{ color:var(--surface0b243-paper); }
.surface0b243-guidelink{
  color:var(--surface0b243-glow);
  font-weight:800;
  border-bottom:1px solid rgba(174,191,194,.45);
}
.surface0b243-guidefootnote{
  margin:21px 0 5px;
  padding:12px 13px;
  background:rgba(54,69,79,.38);
  border-left:3px solid var(--surface0b243-mist);
  color:var(--surface0b243-fog);
  font-size:11.8px;
  line-height:1.62;
}

/* Safety uses a diagnostic matrix rather than the tips page's ordered cards. */
.surface0b243-guidediagnosis{
  padding:22px 0 5px;
}
.surface0b243-guidechecks{
  display:grid;
  gap:8px;
  margin:14px 0;
}
.surface0b243-guidecheck{
  display:grid;
  grid-template-columns:74px 1fr;
  gap:10px;
  align-items:start;
  padding:11px 10px;
  border:1px solid rgba(149,165,166,.2);
  border-radius:3px;
  background:rgba(54,69,79,.28);
}
.surface0b243-guidecheck > strong{
  color:var(--surface0b243-glow);
  font-size:10.5px;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1.35;
}
.surface0b243-guidecheck p{ font-size:12.8px; line-height:1.58; }
.surface0b243-guidecheck p b{ color:var(--surface0b243-paper); }
.surface0b243-guidescore{
  margin-top:18px;
  padding:16px 14px 14px;
  background:rgba(28,40,51,.7);
  border:1px solid var(--surface0b243-line);
  border-radius:4px;
}
.surface0b243-guidescore h2{ margin-bottom:8px; }
.surface0b243-guidecolumns{
  display:grid;
  gap:9px;
  margin:12px 0 2px;
}
.surface0b243-guidecolumn{
  padding:11px 11px 10px;
  border-top:2px solid var(--surface0b243-mist);
  background:rgba(54,69,79,.38);
}
.surface0b243-guidecolumn h3{
  color:var(--surface0b243-paper);
  font-size:13px;
  line-height:1.3;
  margin-bottom:6px;
}
.surface0b243-guidecolumn p{ font-size:12.6px; line-height:1.6; }
.surface0b243-guidecolumn ul{ margin-top:7px; }
.surface0b243-guidecolumn li{
  position:relative;
  padding-left:14px;
  margin-bottom:6px;
  font-size:12.4px;
  line-height:1.55;
}
.surface0b243-guidecolumn li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:6px;
  height:2px;
  background:var(--surface0b243-mist);
}
.surface0b243-guidequestion{
  margin:9px 0;
  border:1px solid rgba(149,165,166,.2);
  border-radius:3px;
  background:rgba(54,69,79,.28);
}
.surface0b243-guidequestion summary{
  min-height:46px;
  display:flex;
  align-items:center;
  padding:10px 12px;
  color:var(--surface0b243-paper);
  font-size:12.8px;
  font-weight:800;
  cursor:pointer;
}
.surface0b243-guidequestion p{
  padding:0 12px 12px;
  color:var(--surface0b243-soft);
  font-size:12.7px;
  line-height:1.62;
}

@media (max-width:360px){
  .surface0b243-guidepoints{ grid-template-columns:1fr; }
  .surface0b243-guidecheck{ grid-template-columns:64px 1fr; }
}
