/* ==========================================================================
   Aroin Play - mobile shell stylesheet
   canvas: css/aroin-play-shell-90bed1.css
   class prefix: frame0bed1-
   palette anchors: #2E4057 base / #006400 action / #4682B4 accent
   tone: geometric headings over a neutral body face, stroke-led restrained
   corners, icon-name bars, fact-first disclosure, restrained fade feedback,
   staggered primary/secondary CTAs.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --frame0bed1-bg: #2E4057;
  --frame0bed1-bg-deep: #24344a;
  --frame0bed1-bg-deeper: #1a2738;
  --frame0bed1-inkwell: #131d2a;
  --frame0bed1-panel: rgba(226, 238, 249, 0.05);
  --frame0bed1-panel-strong: rgba(226, 238, 249, 0.09);
  --frame0bed1-hair: rgba(146, 180, 214, 0.30);
  --frame0bed1-hair-soft: rgba(146, 180, 214, 0.16);
  --frame0bed1-ink: #EAF1F8;
  --frame0bed1-muted: #B4C4D6;
  --frame0bed1-faint: #8DA2B8;
  --frame0bed1-steel: #4682B4;
  --frame0bed1-steel-bright: #7FB2DC;
  --frame0bed1-green: #006400;
  --frame0bed1-green-bright: #31A85D;
  --frame0bed1-glow: rgba(70, 130, 180, 0.32);
  --frame0bed1-radius: 10px;
  --frame0bed1-radius-lg: 14px;
  --frame0bed1-face-h: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --frame0bed1-face-b: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame0bed1-tabbar-h: 62px;
}

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

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

body {
  margin: 0;
  background: var(--frame0bed1-inkwell);
  color: var(--frame0bed1-ink);
  font-family: var(--frame0bed1-face-b);
  font-size: 15px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

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

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

a { color: var(--frame0bed1-steel-bright); text-decoration: none; }

a:hover,
a:focus-visible { text-decoration: underline; }

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--frame0bed1-steel-bright);
  outline-offset: 2px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

::selection { background: rgba(70, 130, 180, 0.45); color: #fff; }

/* ---------- phone canvas ---------- */
.frame0bed1-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(70, 130, 180, 0.16) 0%, rgba(70, 130, 180, 0) 60%),
    var(--frame0bed1-bg);
  box-shadow: 0 0 0 1px rgba(146, 180, 214, 0.08);
}

@media (min-width: 480px) {
  .frame0bed1-canvas {
    box-shadow: 0 0 0 1px var(--frame0bed1-hair-soft), 0 24px 70px rgba(0, 0, 0, 0.55);
  }
}

.frame0bed1-main {
  padding: 14px 12px calc(var(--frame0bed1-tabbar-h) + 34px + env(safe-area-inset-bottom, 0px));
}

.frame0bed1-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  padding: 10px 14px;
  background: var(--frame0bed1-green);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.frame0bed1-skip:focus { top: 8px; text-decoration: none; }

/* ==========================================================================
   masthead - edge-aligned functional header
   ========================================================================== */
.frame0bed1-masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(26, 39, 56, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame0bed1-hair);
}

.frame0bed1-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px 8px;
}

.frame0bed1-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.frame0bed1-brand:hover { text-decoration: none; }

.frame0bed1-brand-plate {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame0bed1-hair);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel-strong);
  overflow: hidden;
}

.frame0bed1-brand-plate img { width: 30px; height: 30px; object-fit: contain; }

.frame0bed1-brand-word {
  font-family: var(--frame0bed1-face-h);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--frame0bed1-ink);
  line-height: 1.1;
}

.frame0bed1-burger {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--frame0bed1-hair);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
  color: var(--frame0bed1-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.frame0bed1-burger:hover {
  color: var(--frame0bed1-ink);
  border-color: var(--frame0bed1-steel);
  box-shadow: 0 0 12px var(--frame0bed1-glow);
}

.frame0bed1-burger svg { width: 18px; height: 18px; display: block; }

.frame0bed1-burger[aria-expanded="true"] svg { transform: rotate(90deg); }

.frame0bed1-burger svg { transition: transform 0.2s ease; }

/* action strip: register leads, login follows at a smaller size */
.frame0bed1-actions {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
  padding: 0 12px 10px;
}

/* ---------- staggered CTAs ---------- */
.frame0bed1-btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(160deg, #0a7c33 0%, var(--frame0bed1-green) 78%);
  border: 1px solid rgba(120, 220, 160, 0.4);
  color: #F2FFF6;
  font-family: var(--frame0bed1-face-h);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(0, 100, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.frame0bed1-btn-join:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(49, 168, 93, 0.4);
  text-decoration: none;
}

.frame0bed1-btn-join:active { transform: translateY(0); }

.frame0bed1-btn-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--frame0bed1-steel);
  background: rgba(70, 130, 180, 0.10);
  color: var(--frame0bed1-steel-bright);
  font-family: var(--frame0bed1-face-h);
  font-weight: 600;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.frame0bed1-btn-signin:hover {
  border-color: var(--frame0bed1-steel-bright);
  background: rgba(70, 130, 180, 0.2);
  box-shadow: 0 0 14px var(--frame0bed1-glow);
  text-decoration: none;
}

.frame0bed1-btn-xl {
  min-height: 50px;
  font-size: 16px;
  width: 100%;
}

/* inline promo text link used inside help-page prose */
.frame0bed1-inline {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--frame0bed1-green-bright);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(49, 168, 93, 0.45);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.frame0bed1-inline:hover {
  color: #6fdd9b;
  text-shadow: 0 0 10px rgba(49, 168, 93, 0.55);
  text-decoration: none;
}

/* ==========================================================================
   sectioned menu sheet + scrim
   ========================================================================== */
.frame0bed1-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(9, 15, 23, 0.66);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.frame0bed1-scrim.frame0bed1-open { opacity: 1; }

.frame0bed1-sheet {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: var(--frame0bed1-bg-deeper);
  border-right: 1px solid var(--frame0bed1-hair-soft);
  border-left: 1px solid var(--frame0bed1-hair-soft);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 14px calc(var(--frame0bed1-tabbar-h) + 20px);
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.frame0bed1-sheet.frame0bed1-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.frame0bed1-sheet-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0 12px;
  background: var(--frame0bed1-bg-deeper);
  border-bottom: 1px solid var(--frame0bed1-hair-soft);
}

.frame0bed1-sheet-title {
  font-family: var(--frame0bed1-face-h);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frame0bed1-steel-bright);
}

.frame0bed1-sheet-x {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame0bed1-hair);
  border-radius: var(--frame0bed1-radius);
  color: var(--frame0bed1-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.frame0bed1-sheet-x:hover { color: var(--frame0bed1-ink); border-color: var(--frame0bed1-steel); }

.frame0bed1-sheet-x svg { width: 16px; height: 16px; }

.frame0bed1-sheet-block { padding: 16px 0 4px; }

.frame0bed1-sheet-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame0bed1-faint);
  padding: 0 2px 8px;
}

.frame0bed1-sheet-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  margin-bottom: 8px;
  background: var(--frame0bed1-panel);
  color: var(--frame0bed1-ink);
  font-family: var(--frame0bed1-face-h);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.frame0bed1-sheet-link small {
  font-family: var(--frame0bed1-face-b);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--frame0bed1-faint);
  text-align: right;
  flex: none;
}

.frame0bed1-sheet-link:hover {
  border-color: var(--frame0bed1-steel);
  background: var(--frame0bed1-panel-strong);
  box-shadow: 0 0 12px var(--frame0bed1-glow);
  text-decoration: none;
}

/* ==========================================================================
   hero
   ========================================================================== */
.frame0bed1-hero {
  padding: 18px 2px 6px;
}

.frame0bed1-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame0bed1-green-bright);
  border: 1px solid rgba(49, 168, 93, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(0, 100, 0, 0.18);
}

.frame0bed1-hero-title {
  font-family: var(--frame0bed1-face-h);
  font-size: clamp(24px, 7vw, 31px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 14px 0 10px;
  text-wrap: balance;
}

.frame0bed1-hero-sub {
  color: var(--frame0bed1-muted);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.frame0bed1-hero-cta {
  display: grid;
  gap: 9px;
}

/* ---------- notice strip ---------- */
.frame0bed1-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 4px;
  padding: 9px 12px;
  border: 1px dashed var(--frame0bed1-hair);
  border-radius: var(--frame0bed1-radius);
  color: var(--frame0bed1-muted);
  font-size: 12px;
  line-height: 1.5;
}

.frame0bed1-note svg { flex: none; width: 15px; height: 15px; color: var(--frame0bed1-steel-bright); }

/* ==========================================================================
   promo showcase carousel
   ========================================================================== */
.frame0bed1-show {
  position: relative;
  border: 1px solid var(--frame0bed1-hair);
  border-radius: var(--frame0bed1-radius-lg);
  overflow: hidden;
  background: var(--frame0bed1-bg-deep);
}

.frame0bed1-slide {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  overflow: hidden;
}

.frame0bed1-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.frame0bed1-slide:hover img { transform: scale(1.03); }

.frame0bed1-slide:not(.frame0bed1-slide-on) {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.frame0bed1-slide.frame0bed1-slide-on {
  position: relative;
  opacity: 1;
  visibility: visible;
  animation: frame0bed1fade 0.45s ease both;
}

@keyframes frame0bed1fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.frame0bed1-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 14px 11px;
  background: linear-gradient(180deg, rgba(19, 29, 42, 0) 0%, rgba(19, 29, 42, 0.88) 62%);
  text-align: left;
}

.frame0bed1-slide-copy b {
  font-family: var(--frame0bed1-face-h);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.frame0bed1-slide-copy small {
  font-size: 11.5px;
  color: var(--frame0bed1-muted);
}

.frame0bed1-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}

.frame0bed1-dot {
  min-width: 44px;
  min-height: 30px;
  display: grid;
  place-items: center;
}

.frame0bed1-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--frame0bed1-steel-bright);
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.frame0bed1-dot.frame0bed1-dot-on::after {
  background: var(--frame0bed1-green-bright);
  border-color: var(--frame0bed1-green-bright);
  transform: scale(1.15);
}

/* ==========================================================================
   bands (generic section rhythm)
   ========================================================================== */
.frame0bed1-band {
  margin-top: 26px;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.frame0bed1-band.frame0bed1-pre { opacity: 0; transform: translateY(10px); }

.frame0bed1-band-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 10px;
}

.frame0bed1-band-idx {
  flex: none;
  font-family: var(--frame0bed1-face-h);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px var(--frame0bed1-steel);
  padding-top: 2px;
}

.frame0bed1-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--frame0bed1-steel-bright);
  margin-bottom: 3px;
}

.frame0bed1-band h2 {
  font-family: var(--frame0bed1-face-h);
  font-size: clamp(18px, 5.4vw, 21px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.frame0bed1-lede,
.frame0bed1-prose p {
  color: var(--frame0bed1-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.frame0bed1-prose p:last-child { margin-bottom: 0; }

.frame0bed1-prose strong { color: var(--frame0bed1-ink); font-weight: 600; }

.frame0bed1-fine {
  font-size: 11.5px;
  color: var(--frame0bed1-faint);
  line-height: 1.55;
  margin-top: 9px;
}

/* ---------- category quick rail ---------- */
.frame0bed1-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-top: 18px;
  scrollbar-width: none;
}

.frame0bed1-rail::-webkit-scrollbar { display: none; }

.frame0bed1-railchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--frame0bed1-hair);
  border-radius: 999px;
  background: var(--frame0bed1-panel);
  color: var(--frame0bed1-ink);
  font-family: var(--frame0bed1-face-h);
  font-weight: 600;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.frame0bed1-railchip span {
  font-family: var(--frame0bed1-face-b);
  font-size: 11px;
  font-weight: 700;
  color: var(--frame0bed1-green-bright);
}

.frame0bed1-railchip:hover {
  border-color: var(--frame0bed1-steel-bright);
  box-shadow: 0 0 12px var(--frame0bed1-glow);
  text-decoration: none;
}

/* ---------- spotlight icon-name bar ---------- */
.frame0bed1-spotbar {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 10px 11px;
  margin: 4px 0 12px;
  border: 1px solid var(--frame0bed1-hair);
  border-left: 3px solid var(--frame0bed1-green-bright);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel-strong);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.frame0bed1-spotbar:hover { box-shadow: 0 0 16px var(--frame0bed1-glow); }

.frame0bed1-spot-ico {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 9px;
  border: 1px solid var(--frame0bed1-hair-soft);
  object-fit: cover;
}

.frame0bed1-spot-txt { min-width: 0; display: grid; gap: 2px; }

.frame0bed1-spot-txt b {
  font-family: var(--frame0bed1-face-h);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--frame0bed1-ink);
}

.frame0bed1-spot-txt small {
  font-size: 12px;
  color: var(--frame0bed1-muted);
  line-height: 1.45;
}

.frame0bed1-spot-go {
  flex: none;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame0bed1-steel);
  border-radius: 50%;
  color: var(--frame0bed1-steel-bright);
}

.frame0bed1-spot-go svg { width: 13px; height: 13px; }

/* ---------- game grid: 4 cols at 320px, 5 cols on wider phones ---------- */
.frame0bed1-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 375px) {
  .frame0bed1-grid { gap: 9px; }
}

@media (min-width: 414px) {
  .frame0bed1-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.frame0bed1-gcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
  padding: 5px 5px 7px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.frame0bed1-gcard:hover {
  border-color: var(--frame0bed1-steel);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 18, 28, 0.5);
}

.frame0bed1-gthumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  overflow: hidden;
  background: var(--frame0bed1-bg-deep);
}

.frame0bed1-gthumb img { width: 100%; height: 100%; object-fit: cover; }

.frame0bed1-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--frame0bed1-muted);
  overflow-wrap: anywhere;
}

.frame0bed1-gcard:hover .frame0bed1-gname { color: var(--frame0bed1-ink); }

/* ---------- fact chips ---------- */
.frame0bed1-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}

.frame0bed1-fact {
  padding: 10px 11px;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
}

.frame0bed1-fact b {
  display: block;
  font-family: var(--frame0bed1-face-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame0bed1-green-bright);
  margin-bottom: 3px;
}

.frame0bed1-fact small { font-size: 11.5px; color: var(--frame0bed1-muted); line-height: 1.45; display: block; }

/* ---------- winners list (icon-name bars) ---------- */
.frame0bed1-wins {
  display: grid;
  gap: 7px;
  margin: 4px 0 2px;
}

.frame0bed1-winrow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
}

.frame0bed1-win-who {
  font-family: var(--frame0bed1-face-h);
  font-weight: 600;
  font-size: 13px;
  color: var(--frame0bed1-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame0bed1-win-game {
  font-size: 11.5px;
  color: var(--frame0bed1-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame0bed1-win-amt {
  font-family: var(--frame0bed1-face-h);
  font-weight: 700;
  font-size: 14px;
  color: var(--frame0bed1-green-bright);
  text-align: right;
}

.frame0bed1-win-ago {
  grid-column: 2 / -1;
  font-size: 10.5px;
  color: var(--frame0bed1-faint);
  text-align: right;
  margin-top: -4px;
}

/* ---------- steps ---------- */
.frame0bed1-steps {
  counter-reset: frame0bed1step;
  display: grid;
  gap: 8px;
}

.frame0bed1-steps li {
  counter-increment: frame0bed1step;
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
}

.frame0bed1-steps li::before {
  content: counter(frame0bed1step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--frame0bed1-steel);
  border-radius: 9px;
  font-family: var(--frame0bed1-face-h);
  font-size: 13px;
  font-weight: 700;
  color: var(--frame0bed1-steel-bright);
}

.frame0bed1-steps b {
  display: block;
  font-family: var(--frame0bed1-face-h);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frame0bed1-ink);
  margin-bottom: 2px;
}

.frame0bed1-steps small { font-size: 12px; color: var(--frame0bed1-muted); line-height: 1.5; }

/* ---------- checklist ---------- */
.frame0bed1-checks { display: grid; gap: 7px; }

.frame0bed1-check {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px 11px 10px 9px;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
  font-size: 12.5px;
  color: var(--frame0bed1-muted);
}

.frame0bed1-check::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--frame0bed1-green-bright);
  border-radius: 6px;
  background: rgba(0, 100, 0, 0.22);
  box-shadow: inset 0 0 0 9px rgba(19, 29, 42, 0) ;
}

.frame0bed1-check::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  width: 5px;
  height: 9px;
  border: solid var(--frame0bed1-green-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

/* ---------- FAQ disclosure (fact-first) ---------- */
.frame0bed1-qlist { display: grid; gap: 8px; }

details.frame0bed1-q {
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
  overflow: hidden;
}

details.frame0bed1-q[open] { border-color: var(--frame0bed1-hair); }

.frame0bed1-q-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 12px;
  cursor: pointer;
  font-family: var(--frame0bed1-face-h);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--frame0bed1-ink);
  list-style: none;
  transition: color 0.2s ease;
}

.frame0bed1-q-sum::-webkit-details-marker { display: none; }

.frame0bed1-q-sum:hover { color: #fff; }

.frame0bed1-q-sum::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border: solid var(--frame0bed1-steel-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] > .frame0bed1-q-sum::after { transform: rotate(225deg); }

.frame0bed1-q-body {
  padding: 0 12px 13px;
  font-size: 13px;
  color: var(--frame0bed1-muted);
  line-height: 1.6;
  animation: frame0bed1fade 0.3s ease both;
}

/* ---------- vip tier rows ---------- */
.frame0bed1-tiers { display: grid; gap: 7px; margin-top: 4px; }

.frame0bed1-tier {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: var(--frame0bed1-radius);
  background: var(--frame0bed1-panel);
}

.frame0bed1-tier b {
  font-family: var(--frame0bed1-face-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame0bed1-steel-bright);
  padding: 4px 9px;
  border: 1px solid var(--frame0bed1-hair);
  border-radius: 999px;
  white-space: nowrap;
}

.frame0bed1-tier small { font-size: 12px; color: var(--frame0bed1-muted); line-height: 1.5; }

/* ==========================================================================
   extended footer (homepage only) then universal footer
   ========================================================================== */
.frame0bed1-xfoot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--frame0bed1-hair);
}

.frame0bed1-xfoot-brand {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding-bottom: 16px;
}

.frame0bed1-xfoot-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border: 1px solid var(--frame0bed1-hair-soft);
  border-radius: 8px;
  padding: 3px;
  background: var(--frame0bed1-panel-strong);
}

.frame0bed1-xfoot-brand p { font-size: 12.5px; color: var(--frame0bed1-muted); line-height: 1.6; }

.frame0bed1-xhead {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--frame0bed1-steel-bright);
  margin-bottom: 9px;
}

.frame0bed1-xfoot-dir { padding-bottom: 16px; }

.frame0bed1-dircol { margin-bottom: 10px; }

.frame0bed1-dircol h3 {
  font-family: var(--frame0bed1-face-h);
  font-size: 12px;
  font-weight: 600;
  color: var(--frame0bed1-faint);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.frame0bed1-dircol ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.frame0bed1-dirlink {
  font-size: 12px;
  color: var(--frame0bed1-muted);
  border-bottom: 1px dotted var(--frame0bed1-hair-soft);
  padding-bottom: 3px;
}

.frame0bed1-dirlink:hover { color: var(--frame0bed1-steel-bright); }

.frame0bed1-xfoot-promo { padding-bottom: 16px; }

.frame0bed1-promoitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  text-align: left;
  padding: 10px 13px;
  margin-bottom: 7px;
  border: 1px solid var(--frame0bed1-hair);
  border-radius: var(--frame0bed1-radius);
  background: linear-gradient(150deg, rgba(0, 100, 0, 0.24), rgba(70, 130, 180, 0.10));
  color: var(--frame0bed1-ink);
  font-family: var(--frame0bed1-face-h);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.frame0bed1-promoitem:hover {
  border-color: var(--frame0bed1-green-bright);
  box-shadow: 0 0 14px rgba(49, 168, 93, 0.28);
}

.frame0bed1-promoitem svg { flex: none; width: 14px; height: 14px; color: var(--frame0bed1-green-bright); }

.frame0bed1-xfoot-note {
  font-size: 11.5px;
  color: var(--frame0bed1-faint);
  line-height: 1.6;
  padding-top: 4px;
}

.frame0bed1-universal {
  margin-top: 22px;
  padding: 14px 2px 4px;
  border-top: 1px solid var(--frame0bed1-hair-soft);
  text-align: center;
  font-size: 11.5px;
  color: var(--frame0bed1-faint);
}

/* ==========================================================================
   outlined function tab bar (fixed to the phone canvas bottom)
   ========================================================================== */
.frame0bed1-tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  min-height: var(--frame0bed1-tabbar-h);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(19, 29, 42, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--frame0bed1-hair);
}

.frame0bed1-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  border-radius: var(--frame0bed1-radius);
  border: 1px solid transparent;
  color: var(--frame0bed1-muted);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.frame0bed1-tab:hover { color: var(--frame0bed1-ink); text-decoration: none; }

.frame0bed1-tab-ico { display: block; width: 23px; height: 23px; }

.frame0bed1-tab-ico svg { width: 100%; height: 100%; display: block; }

/* two-tone icons: outline strokes + a fill layer that grows when active */
.frame0bed1-tab-ico .frame0bed1-ico-fill { opacity: 0.42; transition: opacity 0.2s ease; fill: var(--frame0bed1-steel); }

.frame0bed1-tab-ico .frame0bed1-ico-line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.frame0bed1-tab-txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.frame0bed1-tab.frame0bed1-tab-on { color: var(--frame0bed1-green-bright); }

.frame0bed1-tab.frame0bed1-tab-on .frame0bed1-ico-fill { opacity: 1; fill: var(--frame0bed1-green-bright); }

.frame0bed1-tab.frame0bed1-tab-on .frame0bed1-tab-txt { color: var(--frame0bed1-green-bright); }

.frame0bed1-tab.frame0bed1-tab-on {
  border-color: rgba(49, 168, 93, 0.45);
  box-shadow: 0 0 12px rgba(49, 168, 93, 0.18);
}

/* promo roles get a steady accent so they read as exits */
.frame0bed1-tab[data-frame0bed1-role="promo"] .frame0bed1-ico-fill { fill: var(--frame0bed1-steel); opacity: 0.7; }

/* ---------- body scroll lock while the sheet is open ---------- */
body.frame0bed1-lock { overflow: hidden; }

/* ---------- restrained motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .frame0bed1-band.frame0bed1-pre { opacity: 1; transform: none; }
}

/* ---------- wide-screen behaviour: keep the phone canvas ---------- */
@media (min-width: 480px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(70, 130, 180, 0.10) 0%, rgba(0, 0, 0, 0) 70%),
      var(--frame0bed1-inkwell);
  }

  .frame0bed1-main { padding-left: 16px; padding-right: 16px; }

  .frame0bed1-brandrow, .frame0bed1-actions { padding-left: 16px; padding-right: 16px; }
}
