/* ==========================================================================
   playtime app gcash - shared palette and layout
   File   : css/responsive-a6ed33-palette.css
   Prefix : every class uses viewed332- , every custom property uses --viewed332-
   Canvas : 320-430px phone-first; wider screens keep the same centered canvas
   Visual : dark slate base, tan hairlines, flame accent; small radii,
            dense rhythm, mono kickers, short-distance section transitions
   ========================================================================== */

:root {
  --viewed332-canvas: #2C3E50;
  --viewed332-sunken: #233347;
  --viewed332-deep: #1B2836;
  --viewed332-card: #37506B;
  --viewed332-card-hi: #406082;
  --viewed332-tan: #8B7355;
  --viewed332-tan-deep: #74603F;
  --viewed332-tan-soft: rgba(139, 115, 85, 0.38);
  --viewed332-tan-faint: rgba(139, 115, 85, 0.18);
  --viewed332-flame: #FF5722;
  --viewed332-flame-hi: #FF7A4D;
  --viewed332-flame-soft: rgba(255, 87, 34, 0.16);
  --viewed332-paper: #F4EEE6;
  --viewed332-paper-dim: #CEC3B4;
  --viewed332-paper-faint: #A79C8E;
  --viewed332-r: 5px;
  --viewed332-r-lg: 8px;
  --viewed332-dock-h: 56px;
  --viewed332-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Roboto Mono", monospace;
  --viewed332-head: "Segoe UI", "Helvetica Neue", system-ui, Arial, sans-serif;
  --viewed332-body: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body.viewed332-page {
  margin: 0;
  background: var(--viewed332-canvas);
  color: var(--viewed332-paper);
  font-family: var(--viewed332-body);
  -webkit-font-smoothing: antialiased;
}

.viewed332-canvas img { max-width: 100%; }

.viewed332-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--viewed332-canvas);
  /* room for the fixed mobile dock so nothing is ever covered */
  padding-bottom: calc(var(--viewed332-dock-h) + 42px);
}

/* --- accessible focus + tap feedback ---------------------------------- */

.viewed332-page a:focus-visible,
.viewed332-page button:focus-visible {
  outline: 2px solid var(--viewed332-flame);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- top bar: centered identity strip + action strip ------------------- */

.viewed332-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #31465E 0%, var(--viewed332-canvas) 100%);
  border-bottom: 1px solid var(--viewed332-tan-soft);
}

.viewed332-top__id {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px 5px;
}

.viewed332-top__logo {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--viewed332-tan-soft);
  background: var(--viewed332-deep);
}

.viewed332-top__brand {
  font-family: var(--viewed332-head);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--viewed332-paper);
}

.viewed332-top__acts {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 0 10px 8px;
}

.viewed332-top__acts .viewed332-btn { flex: 1 1 auto; }

.viewed332-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--viewed332-r);
  border: 1px solid transparent;
  font-family: var(--viewed332-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.viewed332-btn--flame {
  background: var(--viewed332-flame);
  color: #FFFFFF;
}

.viewed332-btn--ghost {
  background: transparent;
  color: var(--viewed332-paper);
  border-color: var(--viewed332-tan-soft);
}

.viewed332-btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 3px var(--viewed332-flame-soft); /* restrained glow feedback */
}

.viewed332-menu-btn {
  flex: 0 0 58px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--viewed332-sunken);
  color: var(--viewed332-paper-dim);
  border: 1px solid var(--viewed332-tan-faint);
  border-radius: var(--viewed332-r);
  font-family: var(--viewed332-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease, box-shadow 0.2s ease;
}

.viewed332-menu-btn svg { width: 16px; height: 16px; }

.viewed332-menu-btn[aria-expanded="true"] { color: var(--viewed332-flame); }

.viewed332-menu-btn:active { box-shadow: 0 0 0 3px var(--viewed332-flame-soft); }

/* --- compact route panel (drop-down under the top bar) ----------------- */

.viewed332-routes {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--viewed332-sunken);
  border-bottom: 1px solid var(--viewed332-tan-soft);
  box-shadow: 0 16px 26px rgba(12, 20, 30, 0.45);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.viewed332-routes[data-open="true"] { max-height: 440px; }

.viewed332-routes a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  font-family: var(--viewed332-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--viewed332-paper-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--viewed332-tan-faint);
  border-right: 1px solid var(--viewed332-tan-faint);
  transition: color 0.16s ease, background 0.16s ease;
}

.viewed332-routes a:nth-child(2n) { border-right: none; }

.viewed332-routes a:active { color: var(--viewed332-paper); background: var(--viewed332-card); }

.viewed332-routes a[aria-current="page"] {
  color: var(--viewed332-flame);
  box-shadow: inset 3px 0 0 var(--viewed332-flame);
}

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

.viewed332-hero { padding: 16px 14px 4px; }

.viewed332-kicker {
  margin: 0 0 6px;
  font-family: var(--viewed332-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewed332-tan);
}

.viewed332-h1 {
  margin: 0 0 9px;
  font-family: var(--viewed332-head);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--viewed332-paper);
}

.viewed332-h1 em {
  font-style: normal;
  color: var(--viewed332-flame-hi);
}

.viewed332-hero p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--viewed332-paper-dim);
}

.viewed332-hero p strong { color: var(--viewed332-paper); font-weight: 700; }

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

.viewed332-show { margin: 12px 12px 0; }

.viewed332-show__frame {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: var(--viewed332-r-lg);
  border: 1px solid var(--viewed332-tan-soft);
  background: var(--viewed332-deep);
  overflow: hidden;
}

.viewed332-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  text-decoration: none;
  transition: opacity 0.5s ease;
}

.viewed332-slide[data-active="true"] { opacity: 1; z-index: 2; }

.viewed332-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewed332-slide__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(23, 33, 46, 0) 0%, rgba(23, 33, 46, 0.9) 82%);
}

.viewed332-slide__tag {
  display: block;
  margin: 0 0 4px;
  font-family: var(--viewed332-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewed332-flame-hi);
}

.viewed332-slide__title {
  margin: 0;
  font-family: var(--viewed332-head);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--viewed332-paper);
}

.viewed332-slide__cta {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: var(--viewed332-r);
  background: var(--viewed332-flame);
  color: #FFFFFF;
  font-family: var(--viewed332-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.viewed332-show__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 8px;
}

.viewed332-show__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.viewed332-show__dot::before {
  content: "";
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--viewed332-tan-soft);
  transition: background 0.2s ease, width 0.2s ease;
}

.viewed332-show__dot[aria-current="true"]::before {
  width: 34px;
  background: var(--viewed332-flame);
}

/* --- game clusters ------------------------------------------------------ */

.viewed332-cluster { padding: 18px 12px 0; }

.viewed332-cluster__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.viewed332-cluster__headgroup { min-width: 0; }

.viewed332-h2 {
  margin: 0;
  font-family: var(--viewed332-head);
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--viewed332-paper);
}

.viewed332-cluster__count {
  flex: 0 0 auto;
  padding-bottom: 2px;
  font-family: var(--viewed332-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--viewed332-paper-faint);
  white-space: nowrap;
}

.viewed332-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--viewed332-paper-dim);
}

.viewed332-note a,
.viewed332-lead a,
.viewed332-style a {
  color: var(--viewed332-flame-hi);
  text-decoration: underline;
  text-decoration-color: var(--viewed332-tan-soft);
  text-underline-offset: 3px;
}

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

/* game tile: square art with a bottom name bar */
.viewed332-tile {
  display: block;
  border-radius: var(--viewed332-r);
  border: 1px solid var(--viewed332-tan-faint);
  background: var(--viewed332-card);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.viewed332-tile:active {
  transform: translateY(1px) scale(0.98);
  border-color: var(--viewed332-flame);
  box-shadow: 0 0 0 3px var(--viewed332-flame-soft);
}

.viewed332-tile__frame {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--viewed332-deep);
  overflow: hidden;
}

.viewed332-tile__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.viewed332-tile:active .viewed332-tile__frame img { transform: scale(1.06); }

.viewed332-tile__bar {
  display: block;
  min-height: 32px;
  padding: 4px 4px 5px;
  background: linear-gradient(180deg, var(--viewed332-tan) 0%, var(--viewed332-tan-deep) 100%);
  color: #201812;
  font-family: var(--viewed332-head);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
}

/* --- info panels (modules after the game wall) -------------------------- */

.viewed332-panel {
  margin: 18px 12px 0;
  padding: 14px 13px 15px;
  background: var(--viewed332-card);
  border: 1px solid var(--viewed332-tan-faint);
  border-radius: var(--viewed332-r-lg);
}

.viewed332-panel .viewed332-h2 { margin-bottom: 8px; }

.viewed332-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--viewed332-paper-dim);
}

.viewed332-lead strong { color: var(--viewed332-paper); font-weight: 700; }

.viewed332-h3 {
  margin: 0 0 4px;
  font-family: var(--viewed332-head);
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--viewed332-paper);
}

/* play style comparison rows */
.viewed332-style {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--viewed332-tan-faint);
}

.viewed332-style__tag {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 1px;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--viewed332-tan);
  color: #1F1710;
  font-family: var(--viewed332-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.viewed332-style p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--viewed332-paper-dim);
}

/* offer rows */
.viewed332-offer {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--viewed332-tan-faint);
}

.viewed332-offer__side { display: flex; flex-direction: column; gap: 5px; }

.viewed332-offer__tag {
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--viewed332-sunken);
  border: 1px solid var(--viewed332-tan-faint);
  color: var(--viewed332-flame-hi);
  font-family: var(--viewed332-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.viewed332-offer__side small {
  font-family: var(--viewed332-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--viewed332-paper-faint);
  text-align: center;
}

.viewed332-offer p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--viewed332-paper-dim);
}

.viewed332-offer__name {
  display: block;
  margin: 0 0 4px;
  font-family: var(--viewed332-head);
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--viewed332-paper);
}

/* security checklist */
.viewed332-checks {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.viewed332-checks li {
  display: flex;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px dashed var(--viewed332-tan-faint);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--viewed332-paper-dim);
}

.viewed332-checks svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.viewed332-qa {
  margin-top: 12px;
  padding: 11px 12px 12px;
  background: var(--viewed332-sunken);
  border: 1px solid var(--viewed332-tan-faint);
  border-radius: var(--viewed332-r);
}

.viewed332-qa .viewed332-h3 { font-size: 12.5px; color: var(--viewed332-flame-hi); }

.viewed332-qa p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--viewed332-paper-dim);
}

/* winners feed */
.viewed332-feed {
  margin: 0 0 10px;
  border: 1px solid var(--viewed332-tan-faint);
  border-radius: var(--viewed332-r);
  overflow: hidden;
}

.viewed332-feed__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: var(--viewed332-sunken);
  border-top: 1px solid var(--viewed332-tan-faint);
}

.viewed332-feed__row:first-child { border-top: none; }

.viewed332-feed__game {
  font-family: var(--viewed332-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--viewed332-paper);
}

.viewed332-feed__amt {
  font-family: var(--viewed332-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--viewed332-flame-hi);
}

.viewed332-feed__ago {
  font-family: var(--viewed332-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--viewed332-paper-faint);
}

.viewed332-feed__cap {
  margin: 0;
  font-family: var(--viewed332-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--viewed332-paper-faint);
}

/* fact sheet */
.viewed332-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
}

.viewed332-facts div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
}

.viewed332-facts dt {
  font-family: var(--viewed332-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--viewed332-tan);
  padding-top: 2px;
}

.viewed332-facts dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--viewed332-paper-dim);
}

/* takeaways */
.viewed332-takes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: viewed332-take;
}

.viewed332-takes li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-top: 1px dashed var(--viewed332-tan-faint);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--viewed332-paper-dim);
}

.viewed332-takes li::before {
  counter-increment: viewed332-take;
  content: counter(viewed332-take, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 11px;
  font-family: var(--viewed332-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--viewed332-flame-hi);
}

/* --- extended footer: brand > directory > promo actions > note ---------- */

.viewed332-extended {
  margin: 22px 12px 0;
  padding: 15px 13px 16px;
  background: var(--viewed332-sunken);
  border: 1px solid var(--viewed332-tan-faint);
  border-radius: var(--viewed332-r-lg);
}

.viewed332-xlabel {
  margin: 16px 0 8px;
  font-family: var(--viewed332-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewed332-tan);
}

.viewed332-xlabel:first-child { margin-top: 0; }

.viewed332-xbrand { font-family: var(--viewed332-head); }

.viewed332-xbrand .viewed332-brandmark {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--viewed332-paper);
}

.viewed332-xbrand p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--viewed332-paper-dim);
}

.viewed332-xdir {
  list-style: none;
  margin: 0;
  padding: 0;
}

.viewed332-xdir li { border-top: 1px dashed var(--viewed332-tan-faint); }

.viewed332-xdir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--viewed332-paper);
  text-decoration: none;
}

.viewed332-xdir a small {
  font-family: var(--viewed332-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewed332-tan);
  white-space: nowrap;
}

.viewed332-xdir a:active { color: var(--viewed332-flame-hi); }

.viewed332-xpromo a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  margin: 6px 0;
  padding: 8px 12px;
  background: var(--viewed332-card);
  border: 1px solid var(--viewed332-tan-soft);
  border-radius: var(--viewed332-r);
  font-family: var(--viewed332-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--viewed332-paper);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.viewed332-xpromo a em {
  font-style: normal;
  font-family: var(--viewed332-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewed332-flame-hi);
  white-space: nowrap;
}

.viewed332-xpromo a:active {
  transform: translateY(1px);
  border-color: var(--viewed332-flame);
  box-shadow: 0 0 0 3px var(--viewed332-flame-soft);
}

.viewed332-xnote {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--viewed332-tan-faint);
  font-size: 11px;
  line-height: 1.62;
  color: var(--viewed332-paper-faint);
}

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

.viewed332-foot { padding: 18px 16px 14px; text-align: center; }

.viewed332-foot p {
  margin: 0;
  font-family: var(--viewed332-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--viewed332-paper-faint);
}

/* --- fixed mobile dock: compact icon rack ------------------------------- */

.viewed332-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(27, 40, 54, 0.97);
  border-top: 1px solid var(--viewed332-tan-soft);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.viewed332-dock a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--viewed332-dock-h);
  color: var(--viewed332-paper-dim);
  text-decoration: none;
  transition: transform 0.16s ease, color 0.16s ease;
}

.viewed332-dock svg { width: 20px; height: 20px; }

.viewed332-dock span {
  font-family: var(--viewed332-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.viewed332-dock a:active { color: var(--viewed332-flame-hi); }

.viewed332-dock a[aria-current="page"] {
  color: var(--viewed332-flame);
  transform: translateY(-2px); /* slight lift for the active role */
}

.viewed332-dock a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--viewed332-flame);
  box-shadow: 0 0 8px var(--viewed332-flame); /* restrained glow cue */
}

/* --- short-distance section transitions --------------------------------- */

.viewed332-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.viewed332-rise.viewed332-in {
  opacity: 1;
  transform: none;
}

/* --- breakpoints --------------------------------------------------------- */

/* 430px phone canvas: five game columns and roomier fact labels */
@media (min-width: 430px) {
  .viewed332-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .viewed332-facts div { grid-template-columns: 128px 1fr; }
  .viewed332-offer { grid-template-columns: 96px 1fr; }
}

/* wide screens: same phone canvas, framed and centered */
@media (min-width: 431px) {
  body.viewed332-page { background: var(--viewed332-deep); }
  .viewed332-canvas {
    border-left: 1px solid var(--viewed332-tan-faint);
    border-right: 1px solid var(--viewed332-tan-faint);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

/* very narrow phones: tighten type without losing 44px targets */
@media (max-width: 360px) {
  .viewed332-h1 { font-size: 18px; }
  .viewed332-h2 { font-size: 15.5px; }
  .viewed332-tile__bar { font-size: 9px; min-height: 30px; }
  .viewed332-facts div { grid-template-columns: 104px 1fr; }
  .viewed332-offer { grid-template-columns: 76px 1fr; }
  .viewed332-top__acts .viewed332-btn { font-size: 12px; padding: 0 8px; }
}

/* users who prefer stillness */
@media (prefers-reduced-motion: reduce) {
  .viewed332-rise { opacity: 1; transform: none; transition: none; }
  .viewed332-slide { transition: none; }
  .viewed332-routes { transition: none; }
  .viewed332-tile,
  .viewed332-btn,
  .viewed332-dock a,
  .viewed332-xpromo a { transition: none; }
}
