/* ============================================================
   ku web - display-responsive-8544b5.css
   Mobile-first shell for kuweb.homes, drawn on a 320-430px
   canvas. Every class and variable uses the site prefix
   frame544b5- . Design tone: humanist headings over a clear
   body face, small radii with dense rhythm, grouped cover
   cards for games, segmented action buttons.
   ============================================================ */

:root {
  --frame544b5-ink: #333333;
  --frame544b5-ink-deep: #232120;
  --frame544b5-ink-panel: #3b3733;
  --frame544b5-ink-card: #2d2a27;
  --frame544b5-ink-line: #4a423b;
  --frame544b5-paper: #FAFAFA;
  --frame544b5-paper-soft: #e9dfd8;
  --frame544b5-rose: #BC8F8F;
  --frame544b5-coffee: #6F4E37;
  --frame544b5-lime: #7CFC00;
  --frame544b5-lilac: #CC99FF;
  --frame544b5-font-head: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --frame544b5-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --frame544b5-r-s: 4px;
  --frame544b5-r-m: 7px;
  --frame544b5-r-l: 10px;
  --frame544b5-top-h: 58px;
  --frame544b5-bnav-h: 62px;
  --frame544b5-gap: 8px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--frame544b5-ink-deep);
  color: var(--frame544b5-paper);
  font-family: var(--frame544b5-font-body);
  font-size: 15px;
  line-height: 1.55;
}

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

a { color: var(--frame544b5-lilac); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--frame544b5-lime);
  outline-offset: 2px;
}

/* Phone canvas: keeps the same centered column on wide screens */
.frame544b5-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame544b5-ink);
  position: relative;
  overflow-x: hidden;
}

/* Main column clears the fixed top bar and bottom rail */
.frame544b5-main {
  padding-top: calc(var(--frame544b5-top-h) + 6px);
  padding-bottom: calc(var(--frame544b5-bnav-h) + 30px);
}

/* ---------- Top bar: minimal title + action band ---------- */
.frame544b5-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #3e3934 0%, var(--frame544b5-ink) 100%);
  border-bottom: 1px solid var(--frame544b5-ink-line);
}

.frame544b5-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  min-height: var(--frame544b5-top-h);
}

.frame544b5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
  text-decoration: none;
  color: var(--frame544b5-paper);
}

.frame544b5-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--frame544b5-r-s);
  flex: none;
  border: 1px solid var(--frame544b5-ink-line);
}

.frame544b5-name {
  font-family: var(--frame544b5-font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .3px;
  white-space: nowrap;
  color: var(--frame544b5-paper);
}

/* Segmented register / login pair */
.frame544b5-acts {
  display: flex;
  flex: none;
  border: 1px solid #8a6a4f;
  border-radius: var(--frame544b5-r-m);
  overflow: hidden;
}

.frame544b5-btn {
  font-family: var(--frame544b5-font-body);
  font-weight: 700;
  cursor: pointer;
}

.frame544b5-acts .frame544b5-btn {
  border: 0;
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
}

.frame544b5-reg {
  background: var(--frame544b5-coffee);
  color: var(--frame544b5-paper);
}

.frame544b5-log {
  background: #332e2b;
  color: var(--frame544b5-paper-soft);
  border-left: 1px solid #8a6a4f;
}

.frame544b5-menubtn {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #332e2b;
  color: var(--frame544b5-paper-soft);
  border: 1px solid var(--frame544b5-ink-line);
  border-radius: var(--frame544b5-r-m);
  cursor: pointer;
}

.frame544b5-menubtn svg { width: 22px; height: 22px; }

/* ---------- Layered dropdown menu ---------- */
.frame544b5-drop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  background: #2c2926;
  border-bottom: 1px solid var(--frame544b5-ink-line);
}

.frame544b5-drop.frame544b5-open { max-height: 560px; }

.frame544b5-drop-g { padding: 9px 10px 3px; }

.frame544b5-drop-t {
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame544b5-rose);
  font-family: var(--frame544b5-font-head);
}

.frame544b5-drop-l {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frame544b5-drop-l a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--frame544b5-r-s);
  background: #3a3531;
  border: 1px solid var(--frame544b5-ink-line);
  color: var(--frame544b5-paper);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
}

.frame544b5-drop-l a:active { background: #463f39; }

/* ---------- Hero ---------- */
.frame544b5-hero {
  padding: 10px 12px 12px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(204,153,255,.16), transparent 60%),
    radial-gradient(90% 80% at 0% 110%, rgba(111,78,55,.35), transparent 60%);
}

.frame544b5-hero h1 {
  margin: 0 0 6px;
  font-family: var(--frame544b5-font-head);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: .2px;
}

.frame544b5-hero > p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--frame544b5-paper-soft);
}

/* Hero segmented CTA pair */
.frame544b5-duo {
  display: flex;
  border: 1px solid #8a6a4f;
  border-radius: var(--frame544b5-r-m);
  overflow: hidden;
}

.frame544b5-duo .frame544b5-btn {
  flex: 1;
  min-height: 46px;
  border: 0;
  font-size: 14px;
  padding: 0 10px;
}

.frame544b5-duo .frame544b5-btn + .frame544b5-btn {
  border-left: 1px solid #8a6a4f;
}

/* ---------- Quick metric band ---------- */
.frame544b5-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 10px 12px;
}

.frame544b5-metric {
  background: var(--frame544b5-ink-card);
  border: 1px solid var(--frame544b5-ink-line);
  border-radius: var(--frame544b5-r-m);
  padding: 7px 4px;
  text-align: center;
}

.frame544b5-metric b {
  display: block;
  font-family: var(--frame544b5-font-head);
  font-size: 14.5px;
  color: var(--frame544b5-lime);
  line-height: 1.2;
}

.frame544b5-metric span {
  display: block;
  font-size: 10.5px;
  color: var(--frame544b5-rose);
  margin-top: 2px;
}

/* ---------- Carousel ---------- */
.frame544b5-caro {
  position: relative;
  margin: 0 10px 12px;
  border-radius: var(--frame544b5-r-l);
  overflow: hidden;
  border: 1px solid var(--frame544b5-ink-line);
  background: var(--frame544b5-ink-card);
}

.frame544b5-track {
  display: flex;
  transition: transform .35s ease;
}

.frame544b5-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  text-decoration: none;
}

.frame544b5-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.frame544b5-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, transparent, rgba(35,33,32,.88));
  color: var(--frame544b5-paper);
  font-family: var(--frame544b5-font-head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.frame544b5-dots {
  position: absolute;
  bottom: 7px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.frame544b5-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(250,250,250,.7);
  background: rgba(250,250,250,.25);
  cursor: pointer;
}

.frame544b5-dot.frame544b5-on {
  background: var(--frame544b5-lime);
  border-color: var(--frame544b5-lime);
}

/* ---------- Category shortcut chips ---------- */
.frame544b5-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 10px 12px;
  scrollbar-width: none;
}

.frame544b5-chips::-webkit-scrollbar { display: none; }

.frame544b5-chip {
  flex: none;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--frame544b5-ink-card);
  border: 1px solid var(--frame544b5-ink-line);
  color: var(--frame544b5-paper-soft);
  text-decoration: none;
  font-size: 12.5px;
  white-space: nowrap;
}

.frame544b5-chip.frame544b5-chip-live {
  border-color: #7c9a4d;
  color: var(--frame544b5-lime);
}

/* ---------- Game sections: grouped cover cards ---------- */
.frame544b5-sec {
  margin: 4px 10px 14px;
  border: 1px solid var(--frame544b5-ink-line);
  border-radius: var(--frame544b5-r-l);
  background: var(--frame544b5-ink-panel);
  overflow: hidden;
  scroll-margin-top: calc(var(--frame544b5-top-h) + 12px);
}

.frame544b5-cover {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--frame544b5-ink-line);
  border-left: 4px solid var(--frame544b5-coffee);
}

.frame544b5-cover h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--frame544b5-font-head);
  font-size: 16px;
  line-height: 1.3;
  color: var(--frame544b5-paper);
}

.frame544b5-tally {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 4px 8px;
  border-radius: var(--frame544b5-r-s);
  background: rgba(124,252,0,.14);
  color: var(--frame544b5-lime);
  border: 1px solid rgba(124,252,0,.35);
}

/* Per-category cover accents */
.frame544b5-sec--slot .frame544b5-cover {
  border-left-color: var(--frame544b5-coffee);
  background: linear-gradient(90deg, rgba(111,78,55,.55), rgba(59,55,51,.1));
}

.frame544b5-sec--hot .frame544b5-cover {
  border-left-color: var(--frame544b5-rose);
  background: linear-gradient(90deg, rgba(188,143,143,.38), rgba(59,55,51,.1));
}

.frame544b5-sec--hot .frame544b5-tally {
  background: rgba(188,143,143,.2);
  color: #eec3c3;
  border-color: rgba(188,143,143,.5);
}

.frame544b5-sec--cards .frame544b5-cover {
  border-left-color: var(--frame544b5-lilac);
  background: linear-gradient(90deg, rgba(204,153,255,.3), rgba(59,55,51,.1));
}

.frame544b5-sec--cards .frame544b5-tally {
  background: rgba(204,153,255,.16);
  color: #ddbcff;
  border-color: rgba(204,153,255,.45);
}

.frame544b5-sec--live .frame544b5-cover {
  border-left-color: var(--frame544b5-lime);
  background: linear-gradient(90deg, rgba(124,252,0,.16), rgba(59,55,51,.1));
}

.frame544b5-sec--fish .frame544b5-cover {
  border-left-color: #5f8fd6;
  background: linear-gradient(90deg, rgba(95,143,214,.28), rgba(59,55,51,.1));
}

.frame544b5-sec--fish .frame544b5-tally {
  background: rgba(95,143,214,.18);
  color: #a9c6ec;
  border-color: rgba(95,143,214,.5);
}

.frame544b5-secintro {
  margin: 0;
  padding: 9px 12px 2px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--frame544b5-paper-soft);
}

.frame544b5-secintro a { color: var(--frame544b5-lilac); }

/* Compact game grid: 4 columns at 320px, 5 from 396px up */
.frame544b5-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--frame544b5-gap);
  padding: 10px;
}

.frame544b5-gcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  background: var(--frame544b5-ink-card);
  border: 1px solid #453e38;
  border-radius: var(--frame544b5-r-m);
  text-decoration: none;
  text-align: center;
  color: var(--frame544b5-paper);
  transition: transform .16s ease, border-color .16s ease;
}

.frame544b5-gcard:active {
  transform: translateY(2px);
  border-color: var(--frame544b5-rose);
}

.frame544b5-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frame544b5-r-s);
}

.frame544b5-gname {
  font-size: 10.5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  padding: 0 1px 2px;
}

/* ---------- Steps strip ---------- */
.frame544b5-steps {
  margin: 0 10px 14px;
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  counter-reset: frame544b5-step;
}

.frame544b5-steps li {
  counter-increment: frame544b5-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--frame544b5-ink-panel);
  border: 1px solid var(--frame544b5-ink-line);
  border-radius: var(--frame544b5-r-m);
  padding: 9px 11px;
  font-size: 13px;
  color: var(--frame544b5-paper-soft);
}

.frame544b5-steps li::before {
  content: counter(frame544b5-step);
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--frame544b5-coffee);
  color: var(--frame544b5-paper);
  font-family: var(--frame544b5-font-head);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- Compact comparison table ---------- */
.frame544b5-tablewrap {
  overflow-x: auto;
  padding: 10px 10px 12px;
  scrollbar-width: none;
}

.frame544b5-tablewrap::-webkit-scrollbar { display: none; }

.frame544b5-table {
  width: 100%;
  min-width: 330px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
}

.frame544b5-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 2px 8px;
  font-size: 12.5px;
  color: var(--frame544b5-paper-soft);
}

.frame544b5-table th,
.frame544b5-table td {
  padding: 8px 8px;
  text-align: left;
  border: 1px solid #453e38;
  vertical-align: top;
}

.frame544b5-table th {
  background: rgba(111,78,55,.4);
  color: var(--frame544b5-paper);
  font-family: var(--frame544b5-font-head);
  font-size: 12px;
  letter-spacing: .3px;
}

.frame544b5-table td {
  background: var(--frame544b5-ink-card);
  color: var(--frame544b5-paper-soft);
}

.frame544b5-table td:first-child {
  color: var(--frame544b5-paper);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Feature grid ---------- */
.frame544b5-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}

.frame544b5-feat {
  background: var(--frame544b5-ink-card);
  border: 1px solid #453e38;
  border-radius: var(--frame544b5-r-m);
  padding: 10px 9px;
}

.frame544b5-feat b {
  display: block;
  font-family: var(--frame544b5-font-head);
  color: var(--frame544b5-lime);
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.frame544b5-feat span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--frame544b5-paper-soft);
}

/* ---------- Security checklist ---------- */
.frame544b5-checks {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.frame544b5-checks li {
  position: relative;
  padding: 9px 10px 9px 32px;
  background: var(--frame544b5-ink-card);
  border: 1px solid #453e38;
  border-radius: var(--frame544b5-r-m);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--frame544b5-paper-soft);
}

.frame544b5-checks li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--frame544b5-lime);
  border-bottom: 2.5px solid var(--frame544b5-lime);
  transform: rotate(-45deg);
}

/* ---------- Direct answer panel ---------- */
.frame544b5-answer {
  margin: 4px 10px 14px;
  padding: 12px;
  border: 1px dashed var(--frame544b5-rose);
  border-radius: var(--frame544b5-r-m);
  background: rgba(188,143,143,.08);
}

.frame544b5-answer p {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--frame544b5-paper);
}

.frame544b5-answer p:last-child { margin-bottom: 0; }

.frame544b5-answer h3,
.frame544b5-h3 {
  margin: 12px 0 4px;
  font-family: var(--frame544b5-font-head);
  font-size: 14px;
  color: var(--frame544b5-lilac);
  line-height: 1.35;
}

.frame544b5-answer h3:first-of-type { margin-top: 10px; }

/* ---------- Pros and limits twin panels ---------- */
.frame544b5-pl {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.frame544b5-pro,
.frame544b5-lim {
  border-radius: var(--frame544b5-r-m);
  padding: 10px 11px;
  font-size: 12.5px;
  line-height: 1.55;
}

.frame544b5-pro {
  background: rgba(124,252,0,.07);
  border: 1px solid rgba(124,252,0,.35);
}

.frame544b5-lim {
  background: rgba(188,143,143,.09);
  border: 1px dashed rgba(188,143,143,.5);
}

.frame544b5-pl b {
  display: block;
  font-family: var(--frame544b5-font-head);
  font-size: 13px;
  margin-bottom: 5px;
  color: var(--frame544b5-paper);
}

.frame544b5-pro ul,
.frame544b5-lim ul {
  margin: 0;
  padding-left: 17px;
  display: grid;
  gap: 4px;
  color: var(--frame544b5-paper-soft);
}

/* ---------- Homepage extended footer ---------- */
.frame544b5-ext {
  margin: 6px 10px 8px;
  border-top: 2px solid var(--frame544b5-coffee);
  padding-top: 12px;
}

.frame544b5-ext h2 {
  margin: 0 0 8px;
  font-family: var(--frame544b5-font-head);
  font-size: 16px;
  line-height: 1.3;
}

.frame544b5-extbrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.frame544b5-extbrand img {
  width: 44px;
  height: 44px;
  border-radius: var(--frame544b5-r-m);
  border: 1px solid var(--frame544b5-ink-line);
  flex: none;
}

.frame544b5-extbrand p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--frame544b5-paper-soft);
}

.frame544b5-ext-t {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--frame544b5-rose);
  font-family: var(--frame544b5-font-head);
  margin: 0 0 6px;
}

.frame544b5-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.frame544b5-dir a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 9px;
  background: var(--frame544b5-ink-card);
  border: 1px solid #453e38;
  border-radius: var(--frame544b5-r-s);
  text-decoration: none;
  color: var(--frame544b5-paper-soft);
  font-size: 12.5px;
  line-height: 1.25;
}

/* Six promo shortcuts, horizontal rail */
.frame544b5-promos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  margin-bottom: 10px;
  scrollbar-width: none;
}

.frame544b5-promos::-webkit-scrollbar { display: none; }

.frame544b5-promo {
  flex: none;
  min-width: 104px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  min-height: 58px;
  justify-content: center;
  text-align: left;
  background: linear-gradient(180deg, #463b31, #332c26);
  border: 1px solid #8a6a4f;
  border-top: 3px solid var(--frame544b5-lime);
  border-radius: var(--frame544b5-r-m);
  color: var(--frame544b5-paper);
  font-family: var(--frame544b5-font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.frame544b5-promo em {
  font-style: normal;
  font-weight: 400;
  font-size: 10.5px;
  color: #d9bfae;
}

.frame544b5-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #b9a99f;
  padding: 9px 10px;
  border: 1px solid var(--frame544b5-ink-line);
  border-radius: var(--frame544b5-r-m);
  background: rgba(35,33,32,.5);
}

/* ---------- Common footer ---------- */
.frame544b5-foot {
  padding: 12px 14px 8px;
  text-align: center;
  color: #b9a99f;
  font-size: 12px;
  line-height: 1.6;
}

.frame544b5-foot p { margin: 0; }

/* ---------- Bottom navigation rail ---------- */
.frame544b5-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: #262320;
  border-top: 1px solid var(--frame544b5-ink-line);
  padding: 4px 3px calc(4px + env(safe-area-inset-bottom, 0px));
}

.frame544b5-bnav a,
.frame544b5-bnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 5px 2px;
  background: none;
  border: 0;
  border-radius: var(--frame544b5-r-m);
  color: #cfc2b9;
  text-decoration: none;
  font-family: var(--frame544b5-font-body);
  font-size: 10.5px;
  line-height: 1.2;
  cursor: pointer;
}

.frame544b5-bnav svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.frame544b5-bnav .frame544b5-on {
  background: rgba(124,252,0,.14);
  color: var(--frame544b5-lime);
}

/* ---------- Small phone refinements ---------- */
@media (max-width: 430px) {
  .frame544b5-hero h1 { font-size: 20px; }
  .frame544b5-metric b { font-size: 14px; }
  .frame544b5-sec { margin-left: 8px; margin-right: 8px; }
  .frame544b5-grid { padding: 9px; }
}

@media (max-width: 390px) {
  .frame544b5-metrics { grid-template-columns: repeat(2, 1fr); }
  .frame544b5-name { font-size: 15.5px; }
  .frame544b5-acts .frame544b5-btn { padding: 0 9px; font-size: 12px; }
  .frame544b5-drop-l { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  .frame544b5-logo { width: 30px; height: 30px; }
  .frame544b5-acts .frame544b5-btn { padding: 0 7px; font-size: 11.5px; }
  .frame544b5-hero h1 { font-size: 18.5px; }
  .frame544b5-gname { font-size: 10px; }
}

/* Wider screens keep the centered phone canvas */
@media (min-width: 431px) {
  .frame544b5-shell {
    box-shadow: 0 0 0 1px #171514, 0 0 42px rgba(0,0,0,.55);
  }
}

/* 5-column game grid on the upper half of the phone band */
@media (min-width: 396px) {
  .frame544b5-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Respect users who prefer stillness */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame544b5-track { transition: none; }
  .frame544b5-gcard { transition: none; }
  .frame544b5-drop { transition: none; }
}

/* ---------- Help-page reading patterns ---------- */
.frame544b5-helpintro {
  margin: 0 10px 12px;
  padding: 13px 12px;
  border-left: 4px solid var(--frame544b5-lilac);
  background: linear-gradient(135deg, rgba(204,153,255,.16), rgba(111,78,55,.14));
  border-radius: var(--frame544b5-r-m);
}

.frame544b5-helpintro h1 {
  margin: 0 0 7px;
  font-family: var(--frame544b5-font-head);
  font-size: 21px;
  line-height: 1.28;
}

.frame544b5-helpintro p {
  margin: 0 0 10px;
  color: var(--frame544b5-paper-soft);
  font-size: 13.5px;
}

.frame544b5-helpintro p:last-child { margin-bottom: 0; }

.frame544b5-helpcta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.frame544b5-helpcta a,
.frame544b5-helpcta button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 1px solid #8a6a4f;
  border-radius: var(--frame544b5-r-s);
  background: var(--frame544b5-coffee);
  color: var(--frame544b5-paper);
  font: 700 12.5px/1.2 var(--frame544b5-font-body);
  text-decoration: none;
  cursor: pointer;
}

.frame544b5-helpcta a:nth-child(2),
.frame544b5-helpcta button:nth-child(2) {
  background: #332e2b;
  color: var(--frame544b5-paper-soft);
}

.frame544b5-branch {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.frame544b5-branch article {
  padding: 10px 11px;
  border: 1px solid #453e38;
  border-radius: var(--frame544b5-r-m);
  background: var(--frame544b5-ink-card);
}

.frame544b5-branch b {
  display: block;
  margin-bottom: 4px;
  color: var(--frame544b5-lime);
  font: 700 13px/1.3 var(--frame544b5-font-head);
}

.frame544b5-branch p {
  margin: 0;
  color: var(--frame544b5-paper-soft);
  font-size: 12.5px;
  line-height: 1.55;
}

.frame544b5-help-table {
  margin: 0 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.frame544b5-help-table::-webkit-scrollbar { display: none; }

.frame544b5-help-table table {
  width: 100%;
  min-width: 330px;
  border-collapse: collapse;
  font-size: 12px;
}

.frame544b5-help-table th,
.frame544b5-help-table td {
  padding: 8px;
  border: 1px solid #453e38;
  text-align: left;
  vertical-align: top;
}

.frame544b5-help-table th {
  background: rgba(111,78,55,.42);
  color: var(--frame544b5-paper);
  font-family: var(--frame544b5-font-head);
}

.frame544b5-help-table td {
  background: var(--frame544b5-ink-card);
  color: var(--frame544b5-paper-soft);
}

.frame544b5-review-ledger {
  display: grid;
  gap: 6px;
  margin: 0 10px 12px;
}

.frame544b5-review-ledger div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--frame544b5-ink-line);
  background: rgba(45,42,39,.72);
}

.frame544b5-review-ledger b {
  color: var(--frame544b5-rose);
  font: 700 12px/1.35 var(--frame544b5-font-head);
}

.frame544b5-review-ledger span {
  color: var(--frame544b5-paper-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.frame544b5-review-flow {
  display: grid;
  gap: 0;
  margin: 0 10px 12px;
  border: 1px solid var(--frame544b5-ink-line);
  border-radius: var(--frame544b5-r-l);
  overflow: hidden;
}

.frame544b5-review-flow div {
  position: relative;
  padding: 11px 12px 11px 39px;
  background: var(--frame544b5-ink-card);
  border-bottom: 1px solid #453e38;
}

.frame544b5-review-flow div:last-child { border-bottom: 0; }

.frame544b5-review-flow b {
  display: block;
  margin-bottom: 3px;
  color: var(--frame544b5-lilac);
  font: 700 13px/1.3 var(--frame544b5-font-head);
}

.frame544b5-review-flow span {
  color: var(--frame544b5-paper-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.frame544b5-review-flow div::before {
  content: attr(data-step);
  position: absolute;
  left: 11px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--frame544b5-coffee);
  color: var(--frame544b5-paper);
  font: 700 11px/1 var(--frame544b5-font-head);
}

.frame544b5-review-qa {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.frame544b5-review-qa details {
  border: 1px solid #453e38;
  border-radius: var(--frame544b5-r-m);
  background: var(--frame544b5-ink-card);
  padding: 9px 10px;
}

.frame544b5-review-qa summary {
  color: var(--frame544b5-paper);
  cursor: pointer;
  font: 700 13px/1.4 var(--frame544b5-font-head);
}

.frame544b5-review-qa p {
  margin: 7px 0 0;
  color: var(--frame544b5-paper-soft);
  font-size: 12.5px;
  line-height: 1.55;
}

@media (min-width: 396px) {
  .frame544b5-branch { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 350px) {
  .frame544b5-review-ledger div { grid-template-columns: 78px 1fr; }
  .frame544b5-helpcta a,
  .frame544b5-helpcta button { padding-left: 8px; padding-right: 8px; }
}
