/* ==========================================================================
   pragmatic-play.homes - shared mobile shell stylesheet
   File   : css/compact-eef05e-shell.css
   Prefix : cef05e-  (all classes) / --cef05e- (all custom properties)
   Canvas : 320-430px mobile first, centered phone canvas on wide screens
   Palette: #2C2C2C base - #F0F8FF text - #48D1CC primary - #87CEFA outline
            #87CEEB indicator - #E5E5E5 muted
   Feel   : technical headings, near-square tool corners, image cards with
            bottom name bars, state-color-only motion, sliding indicators.
   ========================================================================== */

:root {
  --cef05e-ink: #2C2C2C;
  --cef05e-void: #212121;
  --cef05e-panel: #313131;
  --cef05e-panel-2: #3a3a3a;
  --cef05e-line: #414141;
  --cef05e-text: #F0F8FF;
  --cef05e-muted: #E5E5E5;
  --cef05e-dim: rgba(240, 248, 255, 0.64);
  --cef05e-faint: rgba(240, 248, 255, 0.42);
  --cef05e-teal: #48D1CC;
  --cef05e-teal-soft: rgba(72, 209, 204, 0.09);
  --cef05e-sky: #87CEFA;
  --cef05e-sky-2: #87CEEB;
  --cef05e-head-font: 'Chakra Petch', 'Segoe UI', Arial, sans-serif;
  --cef05e-body-font: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --cef05e-r: 3px;
  --cef05e-r-lg: 5px;
  --cef05e-shell: 480px;
  --cef05e-bnav-h: 62px;
}

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

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #191919;
  color: var(--cef05e-text);
  font-family: var(--cef05e-body-font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

h1, h2, h3, h4, p, ol, ul, figure {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--cef05e-sky);
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--cef05e-sky-2);
  outline-offset: 2px;
}

.cef05e-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;
}

/* ---------- centered phone canvas ---------- */

.cef05e-canvas {
  position: relative;
  max-width: var(--cef05e-shell);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cef05e-ink);
  overflow-x: clip;
}

/* ---------- asymmetric brand header ---------- */

.cef05e-tophead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(33, 33, 33, 0.97);
  border-bottom: 1px solid var(--cef05e-line);
  padding: 9px 12px 9px;
}

.cef05e-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cef05e-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-decoration: none;
}

.cef05e-logo {
  display: block;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  object-fit: cover;
}

.cef05e-wordmark {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.08;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--cef05e-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cef05e-wordmark b {
  color: var(--cef05e-teal);
  font-weight: 700;
}

.cef05e-menubtn {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cef05e-panel);
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  color: var(--cef05e-sky);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.cef05e-menubtn:hover,
.cef05e-menubtn:focus-visible {
  background: var(--cef05e-ink);
  border-color: var(--cef05e-sky);
  color: var(--cef05e-sky-2);
}

.cef05e-menubtn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

/* action row: compact cluster pinned right, keeps the header asymmetric */
.cef05e-actrow {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 9px;
}

.cef05e-btn {
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--cef05e-head-font);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: var(--cef05e-r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.cef05e-btn-register {
  background: var(--cef05e-teal);
  color: #1c2b2b;
}

.cef05e-btn-register:hover,
.cef05e-btn-register:focus-visible {
  background: var(--cef05e-ink);
  color: var(--cef05e-teal);
  border-color: var(--cef05e-teal);
}

.cef05e-btn-login {
  background: transparent;
  color: var(--cef05e-sky);
  border-color: var(--cef05e-sky);
}

.cef05e-btn-login:hover,
.cef05e-btn-login:focus-visible {
  background: var(--cef05e-sky);
  color: var(--cef05e-ink);
}

/* ---------- side drawer menu ---------- */

.cef05e-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}

.cef05e-scrim.cef05e-show {
  opacity: 1;
  pointer-events: auto;
}

.cef05e-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 240px));
  width: min(84vw, 316px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--cef05e-void);
  border-right: 1px solid var(--cef05e-line);
  transform: translateX(-103%);
  transition: transform 0.22s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cef05e-drawer.cef05e-open {
  transform: translateX(0);
}

.cef05e-drawer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 13px;
  border-bottom: 1px solid var(--cef05e-line);
}

.cef05e-drawer-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--cef05e-r);
  border: 1px solid var(--cef05e-line);
  object-fit: cover;
}

.cef05e-drawer-title {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cef05e-dim);
  flex: 1;
}

.cef05e-drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  color: var(--cef05e-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.cef05e-drawer-close:hover,
.cef05e-drawer-close:focus-visible {
  color: var(--cef05e-sky-2);
  border-color: var(--cef05e-sky-2);
}

.cef05e-drawer-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cef05e-drawnav {
  padding: 6px 0 10px;
}

.cef05e-drawgroup {
  padding: 15px 16px 5px;
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cef05e-faint);
}

/* sliding indicator: bar grows in from the left edge on hover/focus/active */
.cef05e-drawlink {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 14px 8px 21px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  color: var(--cef05e-muted);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.cef05e-drawlink::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--cef05e-sky-2);
  transform: translateY(-50%);
  transition: height 0.18s ease;
}

.cef05e-drawlink:hover,
.cef05e-drawlink:focus-visible {
  color: var(--cef05e-sky);
  background: rgba(135, 206, 235, 0.07);
}

.cef05e-drawlink:hover::before,
.cef05e-drawlink:focus-visible::before,
.cef05e-drawlink.cef05e-on::before {
  height: 58%;
}

.cef05e-drawlink.cef05e-on {
  color: var(--cef05e-teal);
  background: var(--cef05e-teal-soft);
}

.cef05e-drawer-cta {
  margin: auto 13px 18px;
  padding-top: 14px;
  border-top: 1px solid var(--cef05e-line);
}

.cef05e-drawer-cta .cef05e-btn {
  width: 100%;
}

/* ---------- main column ---------- */

.cef05e-main {
  padding: 16px 12px calc(var(--cef05e-bnav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

.cef05e-kicker {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--cef05e-teal);
}

.cef05e-h1 {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: clamp(21px, 6.2vw, 26px);
  line-height: 1.22;
  letter-spacing: 0.2px;
  margin: 7px 0 9px;
}

.cef05e-herosub {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--cef05e-muted);
}

/* ---------- hero banner carousel ---------- */

.cef05e-herostrip {
  margin-top: 13px;
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  overflow: hidden;
  background: var(--cef05e-void);
}

.cef05e-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cef05e-hero-track::-webkit-scrollbar {
  display: none;
}

.cef05e-ban {
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  scroll-snap-align: center;
  display: block;
}

.cef05e-ban img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.cef05e-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.cef05e-dot {
  width: 26px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--cef05e-panel-2);
  cursor: pointer;
  transition: background-color 0.15s;
}

.cef05e-dot.cef05e-on {
  background: var(--cef05e-teal);
}

/* ---------- game sections ---------- */

.cef05e-gamesec {
  margin-top: 28px;
}

.cef05e-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-left: 3px solid var(--cef05e-teal);
  padding-left: 10px;
}

.cef05e-sec-head h2 {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.28;
  letter-spacing: 0.2px;
  color: var(--cef05e-text);
}

.cef05e-sec-count {
  flex: none;
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--cef05e-faint);
  text-transform: uppercase;
}

.cef05e-secnote {
  margin: 9px 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cef05e-dim);
}

.cef05e-secnote a {
  color: var(--cef05e-sky);
}

.cef05e-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

/* game card: square image with a bottom name bar */
.cef05e-gcard {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--cef05e-panel);
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  overflow: hidden;
  cursor: pointer;
  color: var(--cef05e-muted);
  transition: border-color 0.15s;
}

.cef05e-gcard:hover,
.cef05e-gcard:focus-visible {
  border-color: var(--cef05e-teal);
}

.cef05e-gcard-frame {
  display: block;
  aspect-ratio: 1 / 1;
  background: #262626;
}

.cef05e-gcard-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cef05e-gcard-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 4px;
  background: #282828;
  border-top: 1px solid var(--cef05e-line);
  font-family: var(--cef05e-head-font);
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  text-align: center;
  overflow-wrap: anywhere;
  transition: color 0.15s, background-color 0.15s;
}

.cef05e-gcard:hover .cef05e-gcard-name,
.cef05e-gcard:focus-visible .cef05e-gcard-name {
  color: var(--cef05e-teal);
  background: #303030;
}

/* ---------- prose modules after the game wall ---------- */

.cef05e-module {
  margin-top: 28px;
}

.cef05e-module h2 {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.3;
  color: var(--cef05e-text);
  margin-bottom: 9px;
}

.cef05e-prose p {
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--cef05e-muted);
}

.cef05e-prose p + p {
  margin-top: 9px;
}

.cef05e-prose a {
  color: var(--cef05e-sky);
}

/* direct-answer strip */
.cef05e-answer {
  border: 1px solid var(--cef05e-line);
  border-left: 3px solid var(--cef05e-sky);
  background: var(--cef05e-panel);
  border-radius: var(--cef05e-r);
  padding: 13px 12px;
}

.cef05e-answer h2 {
  margin-bottom: 8px;
}

.cef05e-answer p {
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--cef05e-muted);
}

.cef05e-answer p + p {
  margin-top: 8px;
}

/* step list */
.cef05e-steps {
  border-top: 1px solid var(--cef05e-line);
}

.cef05e-step {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cef05e-line);
}

.cef05e-step-n {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 13px;
  color: var(--cef05e-teal);
  border: 1px solid var(--cef05e-teal);
  border-radius: var(--cef05e-r);
}

.cef05e-step h3 {
  font-family: var(--cef05e-head-font);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--cef05e-text);
  margin-bottom: 3px;
}

.cef05e-step p {
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--cef05e-dim);
}

/* trick grid */
.cef05e-tricks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cef05e-trick {
  background: var(--cef05e-panel);
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  padding: 10px 10px 11px;
  transition: border-color 0.15s;
}

.cef05e-trick:hover {
  border-color: var(--cef05e-teal);
}

.cef05e-trick h3 {
  font-family: var(--cef05e-head-font);
  font-weight: 600;
  font-size: 12.8px;
  line-height: 1.3;
  color: var(--cef05e-teal);
  margin-bottom: 4px;
}

.cef05e-trick p {
  font-size: 12.2px;
  line-height: 1.55;
  color: var(--cef05e-dim);
}

/* app panel */
.cef05e-apppanel {
  border: 1px solid var(--cef05e-line);
  background: var(--cef05e-void);
  border-radius: var(--cef05e-r-lg);
  padding: 14px 12px;
}

.cef05e-apppanel h2 {
  margin-bottom: 8px;
}

.cef05e-apppanel p {
  font-size: 13.2px;
  line-height: 1.62;
  color: var(--cef05e-muted);
}

.cef05e-apppanel p + p {
  margin-top: 8px;
}

.cef05e-appbtns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* cta band */
.cef05e-ctaband {
  border: 1px solid var(--cef05e-teal);
  background: var(--cef05e-teal-soft);
  border-radius: var(--cef05e-r-lg);
  padding: 16px 14px;
  text-align: center;
}

.cef05e-ctaband h2 {
  margin-bottom: 7px;
}

.cef05e-ctaband p {
  font-size: 13.2px;
  line-height: 1.6;
  color: var(--cef05e-muted);
  margin-bottom: 13px;
}

.cef05e-ctarow {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.cef05e-ctalink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--cef05e-head-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--cef05e-r);
  border: 1px solid var(--cef05e-sky);
  color: var(--cef05e-sky);
  transition: background-color 0.15s, color 0.15s;
}

.cef05e-ctalink:hover,
.cef05e-ctalink:focus-visible {
  background: var(--cef05e-sky);
  color: var(--cef05e-ink);
}

/* ---------- extended homepage footer ---------- */

.cef05e-xf {
  margin-top: 32px;
  border-top: 1px solid var(--cef05e-line);
  padding-top: 18px;
}

.cef05e-xf-title {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--cef05e-text);
  margin-bottom: 12px;
}

.cef05e-xf-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cef05e-xf-brand img {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  object-fit: cover;
}

.cef05e-xf-brand p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--cef05e-dim);
}

.cef05e-xf-dir {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 14px;
}

.cef05e-xf-group {
  border: 1px solid var(--cef05e-line);
  border-radius: var(--cef05e-r);
  padding: 10px 11px;
  background: var(--cef05e-void);
}

.cef05e-xf-label {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cef05e-faint);
  margin-bottom: 7px;
}

.cef05e-xf-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.cef05e-xf-link {
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--cef05e-sky);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s;
}

.cef05e-xf-link:hover,
.cef05e-xf-link:focus-visible {
  color: var(--cef05e-teal);
}

.cef05e-xf-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.cef05e-xf-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  background: var(--cef05e-panel);
  border: 1px solid var(--cef05e-teal);
  border-radius: var(--cef05e-r);
  color: var(--cef05e-teal);
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 12.3px;
  line-height: 1.25;
  letter-spacing: 0.3px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.cef05e-xf-promo:hover,
.cef05e-xf-promo:focus-visible {
  background: var(--cef05e-teal);
  color: var(--cef05e-ink);
}

.cef05e-xf-promo svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cef05e-xf-disc {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--cef05e-line);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--cef05e-faint);
}

/* ---------- common footer + layered bottom nav ---------- */

.cef05e-footer {
  padding: 15px 12px 12px;
  border-top: 1px solid var(--cef05e-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--cef05e-faint);
}

.cef05e-bnav {
  position: fixed;
  bottom: 0;
  left: max(0px, calc(50% - 240px));
  width: min(100%, var(--cef05e-shell));
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(25, 25, 25, 0.98);
  border-top: 1px solid var(--cef05e-line);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
}

.cef05e-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 2px 1px;
  background: none;
  border: 0;
  text-decoration: none;
  color: var(--cef05e-muted);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}

/* top marker layer of the bottom strip */
.cef05e-bnav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24%;
  right: 24%;
  height: 2px;
  background: transparent;
  transition: background-color 0.15s;
}

.cef05e-bnav-item:hover {
  color: var(--cef05e-sky);
}

.cef05e-bnav-item.cef05e-on {
  color: var(--cef05e-teal);
  transform: translateY(-2px);
}

.cef05e-bnav-item.cef05e-on::before {
  background: var(--cef05e-teal);
}

.cef05e-bnav-ico svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cef05e-bnav-label {
  font-family: var(--cef05e-head-font);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.5px;
}

/* ---------- responsive ladder ---------- */

@media (min-width: 375px) {
  .cef05e-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cef05e-gcard-name {
    font-size: 11px;
  }

  .cef05e-grid {
    gap: 9px 7px;
  }

  .cef05e-herosub,
  .cef05e-prose p,
  .cef05e-answer p {
    font-size: 14px;
  }
}

/* 5-column game wall on wider phones */
@media (min-width: 400px) {
  .cef05e-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 430px) {
  .cef05e-h1 {
    font-size: 26px;
  }

  .cef05e-secnote,
  .cef05e-step p,
  .cef05e-trick p {
    font-size: 13.5px;
  }

  .cef05e-xf-dir {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cef05e-xf-links {
    grid-template-columns: 1fr;
  }

  .cef05e-tricks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* wide screens: keep the centered phone canvas with a visible edge */
@media (min-width: 520px) {
  body {
    background: #141414;
  }

  .cef05e-canvas {
    border-left: 1px solid var(--cef05e-line);
    border-right: 1px solid var(--cef05e-line);
    box-shadow: 0 0 46px rgba(0, 0, 0, 0.55);
  }
}

/* Compatible completion: readable help content and accessible controls. */
.cef05e-hero-track { position: relative; }
.cef05e-drawer:not(.cef05e-open) { visibility: hidden; }
.cef05e-drawer-close { width: 44px; height: 44px; }
.cef05e-dot { width: 44px; height: 44px; background: transparent; position: relative; }
.cef05e-dot::after { content: ''; position: absolute; left: 6px; right: 6px; top: 19px; height: 6px; background: var(--cef05e-panel-2); }
.cef05e-dot.cef05e-on { background: transparent; }
.cef05e-dot.cef05e-on::after { background: var(--cef05e-teal); }
.cef05e-dots { margin-top: 0; gap: 2px; flex-wrap: wrap; align-items: center; }
.cef05e-pause { min-height: 44px; color: var(--cef05e-sky); background: transparent; border: 1px solid var(--cef05e-line); padding: 6px 10px; }
.cef05e-main { padding-bottom: 30px; }
.cef05e-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); color: var(--cef05e-muted); }
.cef05e-secnote, .cef05e-step p, .cef05e-trick p, .cef05e-xf-disc, .cef05e-xf-brand p { color: var(--cef05e-muted); }
.cef05e-xf-link { min-height: 44px; display: flex; align-items: center; }
.cef05e-xf-label, .cef05e-drawgroup, .cef05e-sec-count { color: var(--cef05e-muted); }
.cef05e-tricks { grid-template-columns: 1fr; }
.cef05e-module h3 { font-family: var(--cef05e-head-font); font-size: 15px; margin: 16px 0 6px; color: var(--cef05e-sky); }
.cef05e-module li + li { margin-top: 10px; }
.cef05e-module p + h3 { margin-top: 18px; }
.cef05e-module a:not(.cef05e-ctalink) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cef05e-case { padding: 13px 0; border-bottom: 1px solid var(--cef05e-line); }
.cef05e-case h3 { margin-top: 0; }
.cef05e-case .cef05e-btn { margin-top: 10px; }
.cef05e-terms dt { font-weight: 600; color: var(--cef05e-sky); margin-top: 15px; }
.cef05e-terms dd { margin: 5px 0 0; }
.cef05e-branch { border-left: 3px solid var(--cef05e-sky); padding: 0 0 0 12px; margin-top: 14px; }
.cef05e-branch .cef05e-btn { margin: 10px 0; }
.cef05e-compare { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cef05e-compare article { border-top: 1px solid var(--cef05e-line); padding-top: 8px; }
.cef05e-note { margin-top: 14px; padding: 12px; border: 1px solid var(--cef05e-sky); }
.cef05e-skip { position: fixed; top: -100px; left: 12px; z-index: 100; padding: 10px; background: var(--cef05e-ink); }
.cef05e-skip:focus { top: 8px; }
html { scroll-padding-top: 145px; }
/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .cef05e-drawer,
  .cef05e-scrim,
  .cef05e-drawlink::before,
  .cef05e-bnav-item,
  .cef05e-dot,
  .cef05e-btn,
  .cef05e-gcard,
  .cef05e-xf-promo,
  .cef05e-xf-link,
  .cef05e-menubtn,
  .cef05e-ctalink {
    transition: none;
  }
}
