/* ============================================================
   Gilas Latest News - mobile-first visuals
   File: css/responsive-c0f4f2-visuals.css
   Class prefix: cf4f2f-  |  Palette: #2D2D2D base / #FFCCCB ink
   Direction: mono accents + regular body, small radii,
   high density strips, scenario-branch rhythm,
   state-color-only motion, compact icon-text CTAs.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --cf4f2f-void: #1a1a1a;
  --cf4f2f-base: #2d2d2d;
  --cf4f2f-ink: #242424;
  --cf4f2f-panel: #363636;
  --cf4f2f-panel-2: #3e3e3e;
  --cf4f2f-line: #4b4b4b;
  --cf4f2f-line-soft: #414141;
  --cf4f2f-blush: #ffcccb;
  --cf4f2f-blush-strong: #ffd9d8;
  --cf4f2f-mist: #f6ecea;
  --cf4f2f-dim: #c7a9a7;
  --cf4f2f-tint: rgba(255, 204, 203, 0.09);
  --cf4f2f-r-sm: 4px;
  --cf4f2f-r: 6px;
  --cf4f2f-r-lg: 9px;
  --cf4f2f-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, Menlo, monospace;
  --cf4f2f-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cf4f2f-void);
  color: var(--cf4f2f-mist);
  font-family: var(--cf4f2f-sans);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(255, 204, 203, 0.12);
}

img { max-width: 100%; display: block; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: var(--cf4f2f-blush); text-decoration: none; }

a:hover { color: var(--cf4f2f-blush-strong); }

::selection { background: var(--cf4f2f-blush); color: #2b2222; }

:focus-visible {
  outline: 2px solid var(--cf4f2f-blush);
  outline-offset: 2px;
  border-radius: var(--cf4f2f-r-sm);
}

.cf4f2f-noscroll { overflow: hidden; }

/* phone canvas: 320-430px first, wider screens keep the canvas centered */
.cf4f2f-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--cf4f2f-base);
}

/* ---------- top action band ---------- */
.cf4f2f-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
  background: rgba(36, 36, 36, 0.97);
  border-bottom: 1px solid var(--cf4f2f-line);
}

.cf4f2f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cf4f2f-mist);
}

.cf4f2f-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--cf4f2f-r);
  border: 1px solid var(--cf4f2f-line);
  background: var(--cf4f2f-ink);
  object-fit: cover;
}

.cf4f2f-brand-name {
  font-family: var(--cf4f2f-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--cf4f2f-blush);
}

.cf4f2f-acts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cf4f2f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--cf4f2f-r);
  font-family: var(--cf4f2f-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cf4f2f-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }

.cf4f2f-btn-solid {
  background: var(--cf4f2f-blush);
  color: #2b2222;
  border: 1px solid var(--cf4f2f-blush);
}

.cf4f2f-btn-solid:hover,
.cf4f2f-btn-solid:active {
  background: var(--cf4f2f-blush-strong);
  color: #2b2222;
}

.cf4f2f-btn-ghost {
  border: 1px solid var(--cf4f2f-line);
  background: var(--cf4f2f-panel);
  color: var(--cf4f2f-blush);
}

.cf4f2f-btn-ghost:hover,
.cf4f2f-btn-ghost:active {
  border-color: var(--cf4f2f-blush);
  background: var(--cf4f2f-panel-2);
}

.cf4f2f-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--cf4f2f-r);
  border: 1px solid var(--cf4f2f-line);
  background: var(--cf4f2f-panel);
  color: var(--cf4f2f-blush);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.cf4f2f-burger svg { width: 20px; height: 20px; }

.cf4f2f-burger:hover,
.cf4f2f-burger:active { border-color: var(--cf4f2f-blush); background: var(--cf4f2f-panel-2); }

/* ---------- slide-up route sheet ---------- */
.cf4f2f-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(20, 18, 18, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cf4f2f-scrim.cf4f2f-open { opacity: 1; pointer-events: auto; }

.cf4f2f-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 102%);
  width: min(100%, 430px);
  z-index: 60;
  max-height: 80dvh;
  overflow-y: auto;
  padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
  background: var(--cf4f2f-ink);
  border: 1px solid var(--cf4f2f-line);
  border-bottom: 0;
  border-radius: var(--cf4f2f-r-lg) var(--cf4f2f-r-lg) 0 0;
  visibility: hidden;
  transition: transform 0.26s ease, visibility 0s linear 0.26s;
}

.cf4f2f-sheet.cf4f2f-open {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform 0.26s ease, visibility 0s;
}

.cf4f2f-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.cf4f2f-sheet-title {
  margin: 0;
  font-family: var(--cf4f2f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cf4f2f-dim);
}

.cf4f2f-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--cf4f2f-r);
  border: 1px solid var(--cf4f2f-line);
  background: var(--cf4f2f-panel);
  color: var(--cf4f2f-mist);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.cf4f2f-sheet-close svg { width: 16px; height: 16px; }

.cf4f2f-sheet-close:hover { border-color: var(--cf4f2f-blush); color: var(--cf4f2f-blush); }

.cf4f2f-sheet-label {
  margin: 12px 0 6px;
  font-family: var(--cf4f2f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cf4f2f-dim);
}

.cf4f2f-sheet-list { list-style: none; margin: 0; padding: 0; }

.cf4f2f-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--cf4f2f-r);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.cf4f2f-route:hover,
.cf4f2f-route:active {
  background: var(--cf4f2f-panel);
  border-color: var(--cf4f2f-line);
}

.cf4f2f-route-name { font-size: 13.5px; font-weight: 600; color: var(--cf4f2f-mist); }

.cf4f2f-route.cf4f2f-here .cf4f2f-route-name {
  color: var(--cf4f2f-blush);
  font-weight: 700;
}

.cf4f2f-route.cf4f2f-here .cf4f2f-route-name::after {
  content: "you are here";
  margin-left: 8px;
  font-family: var(--cf4f2f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf4f2f-blush);
  border: 1px solid var(--cf4f2f-line);
  border-radius: var(--cf4f2f-r-sm);
  padding: 2px 5px;
}

.cf4f2f-route-note {
  font-family: var(--cf4f2f-mono);
  font-size: 10px;
  color: var(--cf4f2f-dim);
  white-space: nowrap;
}

.cf4f2f-sheet-cta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ---------- main column ---------- */
.cf4f2f-main {
  padding: 70px 12px calc(92px + env(safe-area-inset-bottom));
}

.cf4f2f-sec { margin-top: 28px; }

/* ---------- hero ---------- */
.cf4f2f-kicker {
  display: block;
  margin: 0 0 8px;
  font-family: var(--cf4f2f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cf4f2f-dim);
}

.cf4f2f-h1 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cf4f2f-mist);
}

.cf4f2f-h1 em {
  font-style: normal;
  color: var(--cf4f2f-blush);
}

.cf4f2f-lead {
  margin: 0;
  font-size: 14px;
  color: var(--cf4f2f-dim);
}

.cf4f2f-lead strong { color: var(--cf4f2f-mist); font-weight: 600; }

.cf4f2f-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.cf4f2f-chip {
  font-family: var(--cf4f2f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cf4f2f-blush);
  background: var(--cf4f2f-panel);
  border: 1px solid var(--cf4f2f-line);
  border-radius: var(--cf4f2f-r-sm);
  padding: 5px 8px;
}

/* ---------- carousel ---------- */
.cf4f2f-csl {
  position: relative;
  margin-top: 16px;
  border: 1px solid var(--cf4f2f-line);
  border-radius: var(--cf4f2f-r-lg);
  overflow: hidden;
  background: var(--cf4f2f-ink);
}

.cf4f2f-slide { display: none; width: 100%; text-align: left; }

.cf4f2f-slide.cf4f2f-on { display: block; }

.cf4f2f-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--cf4f2f-ink);
}

.cf4f2f-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 26px 64px 10px 12px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.92) 78%);
  text-align: left;
}

.cf4f2f-slide-cap strong {
  display: block;
  font-family: var(--cf4f2f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cf4f2f-blush);
}

.cf4f2f-slide-cap span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--cf4f2f-mist);
}

.cf4f2f-dots {
  position: absolute;
  right: 8px;
  bottom: 10px;
  display: flex;
  gap: 2px;
  z-index: 2;
}

.cf4f2f-dot {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cf4f2f-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(246, 236, 236, 0.38);
  transition: background-color 0.18s ease;
}

.cf4f2f-dot.cf4f2f-on::before { background: var(--cf4f2f-blush); }

/* ---------- section heads ---------- */
.cf4f2f-h2 {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--cf4f2f-blush);
  font-size: 18.5px;
  line-height: 1.3;
  font-weight: 750;
  color: var(--cf4f2f-mist);
}

.cf4f2f-note {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--cf4f2f-dim);
}

.cf4f2f-note strong { color: var(--cf4f2f-mist); font-weight: 600; }

/* ---------- game library ---------- */
.cf4f2f-cat { margin-top: 20px; }

.cf4f2f-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.cf4f2f-cat h3 {
  margin: 0;
  font-family: var(--cf4f2f-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf4f2f-blush);
}

.cf4f2f-cat-count {
  flex: 0 0 auto;
  font-family: var(--cf4f2f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cf4f2f-dim);
  border: 1px solid var(--cf4f2f-line);
  border-radius: var(--cf4f2f-r-sm);
  padding: 2px 6px;
}

.cf4f2f-cat-line {
  margin: 4px 0 10px;
  font-size: 12.5px;
  color: var(--cf4f2f-dim);
}

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

.cf4f2f-gbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 72px;
  padding: 6px;
  background: var(--cf4f2f-panel);
  border: 1px solid var(--cf4f2f-line-soft);
  border-radius: var(--cf4f2f-r);
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.cf4f2f-gbar:hover,
.cf4f2f-gbar:active {
  border-color: var(--cf4f2f-blush);
  background: var(--cf4f2f-panel-2);
}

.cf4f2f-gbar img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: var(--cf4f2f-r-sm);
  background: var(--cf4f2f-ink);
  object-fit: cover;
}

.cf4f2f-gbar span {
  min-width: 0;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cf4f2f-mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ---------- winner feed ---------- */
.cf4f2f-feed {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.cf4f2f-feed-row {
  display: grid;
  grid-template-columns: 34px 62px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: var(--cf4f2f-panel);
  border: 1px solid var(--cf4f2f-line-soft);
  border-radius: var(--cf4f2f-r);
  font-family: var(--cf4f2f-mono);
  font-size: 11px;
  line-height: 1.3;
}

.cf4f2f-feed-time { color: var(--cf4f2f-dim); }

.cf4f2f-feed-who { color: var(--cf4f2f-mist); font-weight: 700; }

.cf4f2f-feed-game {
  color: var(--cf4f2f-dim);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cf4f2f-feed-amt {
  color: var(--cf4f2f-blush);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- faq ---------- */
.cf4f2f-faq { margin-top: 6px; }

.cf4f2f-faq h3 {
  margin: 16px 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cf4f2f-mist);
}

.cf4f2f-faq h3::before {
  content: "Q.";
  margin-right: 7px;
  font-family: var(--cf4f2f-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cf4f2f-blush);
}

.cf4f2f-faq p { margin: 0; font-size: 13.5px; color: var(--cf4f2f-dim); }

/* ---------- scenario branches ---------- */
.cf4f2f-branches {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.cf4f2f-branch {
  padding: 11px 12px;
  background: var(--cf4f2f-panel);
  border: 1px solid var(--cf4f2f-line-soft);
  border-left: 3px solid var(--cf4f2f-blush);
  border-radius: 0 var(--cf4f2f-r) var(--cf4f2f-r) 0;
}

.cf4f2f-branch-tag {
  display: block;
  margin-bottom: 5px;
  font-family: var(--cf4f2f-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cf4f2f-blush);
}

.cf4f2f-branch h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cf4f2f-mist);
}

.cf4f2f-branch p { margin: 0; font-size: 13px; color: var(--cf4f2f-dim); }

/* ---------- criteria checklist ---------- */
.cf4f2f-check {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.cf4f2f-check li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--cf4f2f-line-soft);
  font-size: 13.5px;
  color: var(--cf4f2f-dim);
}

.cf4f2f-check li:last-child { border-bottom: 0; }

.cf4f2f-check li::before {
  content: ">";
  position: absolute;
  left: 6px;
  top: 8px;
  font-family: var(--cf4f2f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cf4f2f-blush);
}

.cf4f2f-check strong { color: var(--cf4f2f-mist); font-weight: 600; }

/* ---------- scenario answer callout ---------- */
.cf4f2f-answer {
  margin-top: 12px;
  padding: 14px 13px;
  background: var(--cf4f2f-tint);
  border: 1px solid var(--cf4f2f-blush);
  border-radius: var(--cf4f2f-r);
}

.cf4f2f-answer-lead {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--cf4f2f-mist);
}

.cf4f2f-answer-lead strong { color: var(--cf4f2f-blush); }

.cf4f2f-steps {
  margin: 0;
  padding-left: 20px;
}

.cf4f2f-steps li {
  margin: 0 0 9px;
  font-size: 13px;
  color: var(--cf4f2f-dim);
}

.cf4f2f-steps li:last-child { margin-bottom: 0; }

.cf4f2f-steps strong { color: var(--cf4f2f-mist); font-weight: 600; }

/* ---------- extended footer (homepage only) ---------- */
.cf4f2f-xfoot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--cf4f2f-line);
}

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

.cf4f2f-xgroup { margin-bottom: 20px; }

.cf4f2f-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.cf4f2f-dir a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--cf4f2f-line-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cf4f2f-mist);
  transition: color 0.18s ease;
}

.cf4f2f-dir a:hover,
.cf4f2f-dir a:active { color: var(--cf4f2f-blush); }

.cf4f2f-brandnote {
  margin: 0;
  font-size: 12.5px;
  color: var(--cf4f2f-dim);
}

.cf4f2f-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cf4f2f-lane {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 9px 10px;
  background: var(--cf4f2f-panel);
  border: 1px solid var(--cf4f2f-line);
  border-radius: var(--cf4f2f-r);
  text-align: left;
  font-family: var(--cf4f2f-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--cf4f2f-blush);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.cf4f2f-lane svg { width: 16px; height: 16px; flex: 0 0 auto; }

.cf4f2f-lane:hover,
.cf4f2f-lane:active {
  border-color: var(--cf4f2f-blush);
  background: var(--cf4f2f-panel-2);
}

.cf4f2f-disc {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cf4f2f-dim);
}

/* ---------- common footer ---------- */
.cf4f2f-foot {
  margin-top: 8px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--cf4f2f-line-soft);
  text-align: center;
  font-family: var(--cf4f2f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cf4f2f-dim);
}

/* ---------- bottom dock ---------- */
.cf4f2f-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  background: rgba(36, 36, 36, 0.98);
  border-top: 1px solid var(--cf4f2f-line);
}

.cf4f2f-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: var(--cf4f2f-r);
  color: var(--cf4f2f-dim);
  transition: color 0.18s ease;
}

.cf4f2f-dock-item svg { width: 22px; height: 22px; }

.cf4f2f-dock-label {
  font-family: var(--cf4f2f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cf4f2f-dock-item:hover,
.cf4f2f-dock-item:active { color: var(--cf4f2f-mist); }

.cf4f2f-dock-item.cf4f2f-active { color: var(--cf4f2f-blush); }

.cf4f2f-dock-item.cf4f2f-active .cf4f2f-dock-label { font-weight: 700; }

.cf4f2f-dock-item.cf4f2f-active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--cf4f2f-blush);
}

/* ---------- wider phone canvas ---------- */
@media (min-width: 375px) {
  .cf4f2f-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cf4f2f-h1 { font-size: 25px; }
  .cf4f2f-dir a { font-size: 13px; }
  .cf4f2f-gbar { min-height: 76px; }
  .cf4f2f-gbar img { width: 34px; height: 34px; }
  .cf4f2f-gbar span { font-size: 10px; }
}

@media (min-width: 430px) {
  .cf4f2f-canvas {
    border-left: 1px solid var(--cf4f2f-line);
    border-right: 1px solid var(--cf4f2f-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
  .cf4f2f-gbar span { font-size: 12px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
