  /* ---------- lobby: the home screen, its pages and the table setup wizard (craps-duel-menu-redesign.md; the home is a hub since lobby-hub.md: its layout is in hub.css, the header, the logo's base look, the cards and the pages stay here) ---------- */
  /* the home fills the screen on its own layer (the table stays in .wrap underneath); a PC gets the same centred 440px column, nothing pinned to a corner;
     the column is 100% of the fixed layer, never 100dvh: launched from the home screen, Chrome can count the phone's bars in dvh for a while, and the buttons ran off the bottom;
     the layer is padded by the camera cutout (the installed app runs full screen) and is a size container, so the home's height rules below are container queries
     and cqh: they measure the room under the cutout, where media queries and vh would count it (a 360×780 phone scrolled by 26 px) */
  #lobby { position: fixed; inset: 0; z-index: 1; overflow-y: auto; background: var(--lob-bg); -webkit-overflow-scrolling: touch; padding-top: env(safe-area-inset-top); container-type: size; }
  .homecol { max-width: 440px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); }
  .homehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; }
  .rbtn { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; border: 4px solid var(--ink2); box-shadow: 0 5px 0 var(--ink2); padding: 0; display: grid; place-items: center; color: #fff; transition: transform 80ms, box-shadow 80ms; }
  .rbtn.gear { background: #5B6B7A; } .rbtn.gear svg { width: 26px; height: 26px; }
  .rbtn.news { background: #8B4FE0; position: relative; } .rbtn.news svg { width: 26px; height: 26px; } /* News (news.md): right of the gear, alone at the left while signed out */
  .rbtn.news .ndot { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; background: #E8343B; border: 3px solid var(--ink2); } .rbtn.news .ndot[hidden] { display: none; }
  .rbtn.avatar { background: #FFE9B8; color: var(--ink2); } .rbtn.avatar svg { width: 28px; height: 28px; }
  .rbtn:active:not(:disabled), .pchip:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); }
  .rbtn:focus-visible, .pchip:focus-visible, .gbtn:focus-visible, .pcard:focus-visible, .lpage .back:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  .acct { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 14px; min-width: 0; max-width: calc(100% - 64px); margin-left: auto; } /* top right whether the gear shows or not; signed out the Sign in link and Create an account wrap into right-aligned lines on a narrow phone */
  .pchip { display: inline-flex; align-items: center; gap: 8px; height: 52px; max-width: 100%; padding: 0 16px 0 4px; background: #0B3D22; border: 4px solid var(--ink2); border-radius: 999px; box-shadow: 0 5px 0 var(--ink2); color: #fff; font-family: var(--lilita); font-weight: 400; transition: transform 80ms, box-shadow 80ms; position: relative; }
  .pchip .avw { font-size: 36px; flex: 0 0 auto; } .pchip .avw .av { border: 3px solid var(--ink2); box-sizing: border-box; }
  .pchip .pic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: #FFE9B8; border: 3px solid var(--ink2); display: grid; place-items: center; color: var(--ink2); } .pchip .pic svg { width: 22px; height: 22px; }
  .pchip .nm { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .pchip.create { padding: 0 16px; background: #FFD23F; color: var(--ink2); } /* signed out: the gold Create an account button with the Sign in link to its left (Kiril's ask) */
  .acct .signin { font-family: var(--lilita); font-size: 17px; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-shadow: 0 1px 0 rgba(0,0,0,.45); white-space: nowrap; cursor: pointer; }
  .pchip .bal { font-size: 18px; color: var(--lob-yellow); white-space: nowrap; }
  .pchip .n, .nbadge { position: absolute; top: -14px; right: -6px; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 999px; background: #E8343B; border: 3px solid var(--ink2); color: #fff; font: 18px/1 var(--lilita); display: grid; place-items: center; text-shadow: none; }
  .nbadge { right: 22px; } .nbadge:empty, .pchip .n:empty { display: none; }

  .logo { display: flex; flex-direction: column; align-items: center; font-family: var(--marker); font-size: clamp(76px, 26vw, 104px); line-height: .9; color: var(--lob-yellow);
    text-shadow: -4px -4px 0 var(--ink2), 4px -4px 0 var(--ink2), -4px 4px 0 var(--ink2), 4px 4px 0 var(--ink2), 0 -4px 0 var(--ink2), 0 4px 0 var(--ink2), -4px 0 0 var(--ink2), 4px 0 0 var(--ink2), 0 9px 0 var(--ink2); }
  .logo .l1 { display: block; transform: translateX(-18px) rotate(-4deg); }
  .logo .l2 { display: block; transform: translateX(52px) rotate(-2deg); }
  .playing { font-family: var(--lilita); font-size: 15px; color: #D6F2E0; text-align: center; margin-top: 4px; min-height: 1.2em; }
  .playing:empty { display: none; }
  .homebtns { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .gbtn { position: relative; --rot: 0deg; font-family: var(--marker); font-size: 30px; font-weight: 400; line-height: 1; color: #fff; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); letter-spacing: .01em;
    height: 64px; padding: 0 22px; border: 4px solid var(--ink2); box-shadow: 0 6px 0 var(--ink2), inset 0 -8px 0 rgba(0,0,0,.16), inset 0 5px 0 rgba(255,255,255,.4); transform: rotate(var(--rot)); transition: transform 80ms, box-shadow 80ms, filter 80ms; }
  .gbtn:active:not(:disabled), .gbtn.pressed { transform: rotate(var(--rot)) translateY(4px); box-shadow: 0 2px 0 var(--ink2), inset 0 -8px 0 rgba(0,0,0,.16), inset 0 5px 0 rgba(255,255,255,.4); }
  .gbtn:hover:not(:disabled) { filter: none; }
  .gbtn.play { --rot: -2deg; background: #FFD23F; width: 100%; height: 90px; font-size: 44px; border-radius: 46% 54% 42% 58% / 62% 52% 48% 38%; box-shadow: 0 7px 0 var(--ink2), inset 0 -8px 0 rgba(0,0,0,.16), inset 0 5px 0 rgba(255,255,255,.4); }
  .gbtn.play:active:not(:disabled) { box-shadow: 0 2px 0 var(--ink2), inset 0 -8px 0 rgba(0,0,0,.16), inset 0 5px 0 rgba(255,255,255,.4); }
  .gbtn.tasks { --rot: 1.5deg; background: #FF8A3D; width: min(300px, 100%); align-self: flex-end; border-radius: 52% 48% 56% 44% / 46% 58% 42% 54%; padding-top: 7px; } /* (the word sat high on this one: nudged to the middle, Kiril's ask) */
  .gbtn.go2 { background: #7ED957; width: 100%; height: 70px; font-size: 34px; border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%; margin-top: 22px; }
  .gbtn.yes { background: #7ED957; width: 100%; border-radius: 46% 54% 42% 58% / 62% 52% 48% 38%; } .gbtn.no { background: #3FA9F5; width: 100%; border-radius: 52% 48% 56% 44% / 46% 58% 42% 54%; }
  .gbtn.sit { background: #FFD23F; width: 100%; height: 76px; font-size: 36px; border-radius: 46% 54% 42% 58% / 62% 52% 48% 38%; }
  .gbtn.next { background: #3FA9F5; width: 100%; border-radius: 44% 56% 50% 50% / 58% 44% 56% 42%; }
  .gbtn:disabled { opacity: .55; }
  /* (the home's height steps, the art and the tagline moved out with the hub: lobby-hub.md; the hub's own steps are in hub.css) */
  /* a pending challenge from a friend: a note between the logo and the buttons */
  #challengeBox { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
  #challengeBox:empty { display: none; }
  .chal { background: #FFF3C4; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 16px; box-shadow: 0 4px 0 var(--ink2); padding: 8px 10px; display: flex; align-items: center; gap: 10px; font-family: var(--lilita); font-size: 14px; line-height: 1.25; }
  .chal .msg { flex: 1 1 120px; min-width: 0; } .chal .msg b { color: #7a1f00; }
  .chal .msg .game { display: block; margin-top: 2px; font: 800 12px/1.25 var(--nunito); color: #5a4a1a; } /* the challenge's game and setup, the server's summary line */
  @media (max-width: 379px) { .chal .avw { display: none; } .chal { gap: 8px; padding: 8px; } .chal button { padding: 0 10px; } }
  .chal .acts { display: flex; gap: 6px; flex: 0 0 auto; }
  .chal button { font-family: var(--lilita); font-weight: 400; font-size: 15px; padding: 0 12px; height: 40px; border: 3px solid var(--ink2); border-radius: 12px; box-shadow: 0 3px 0 var(--ink2); color: var(--ink2); }
  .chal button[data-ca] { background: #7ED957; } .chal button[data-cd] { background: #fff; }
  .chal button:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  /* the last-table card (rejoin-rebuy-play-again.md §3): gold in the cartoon look (4 px ink border, 18 px corners, the 0 5px 0 ink shadow), a Lilita title over a Nunito line, a green pill on the right and a small × top right; it sits in #challengeBox under any challenge cards, so the short-phone steps above count it */
  .lastcard { position: relative; background: #FFD23F; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 5px 0 var(--ink2); padding: 10px 12px 10px 14px; display: flex; align-items: center; gap: 10px; }
  .lastcard .lt { flex: 1 1 120px; min-width: 0; padding-right: 14px; }
  .lastcard .lt b { display: block; font: 400 20px/1.1 var(--lilita); overflow-wrap: anywhere; }
  .lastcard .lt small { display: block; margin-top: 3px; font: 800 13px/1.25 var(--nunito); color: #5a4a1a; } .lastcard .lt small.bad { color: #a0261f; }
  .lastcard .lt .linkbtn { background: none; border: 0; padding: 0; margin: 0; box-shadow: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .lastcard .lgo { flex: 0 0 auto; margin-right: 10px; height: 44px; padding: 0 16px; border: 3px solid var(--ink2); border-radius: 999px; box-shadow: 0 3px 0 var(--ink2); background: #7ED957; color: var(--ink2); font: 400 17px var(--lilita); white-space: nowrap; }
  .lastcard .lgo:disabled { opacity: .55; } .lastcard .lgo:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink2); }
  .lastcard .lx { position: absolute; top: 2px; right: 6px; width: 28px; height: 28px; padding: 0; border: 0; background: none; box-shadow: none; color: var(--ink2); font: 400 22px/1 var(--lilita); opacity: .75; }
  @media (max-width: 379px) { .lastcard { gap: 8px; padding: 8px 10px 8px 12px; } .lastcard .lt b { font-size: 18px; } .lastcard .lgo { padding: 0 12px; font-size: 16px; } }
  /* the lobby's pages: Play (the picker), Host / Join / Play solo (one form page), Leaderboard, the setup wizard */
  .lpage { background: var(--lob-bg); }
  .lpage .pagehead { background: transparent; border-bottom: 0; padding: calc(10px + env(safe-area-inset-top)) 16px 0; }
  .lpage .pagehead .row { max-width: 440px; margin: 0 auto; width: 100%; min-height: 58px; gap: 12px; }
  .lpage .pagehead .back { width: 52px; height: 52px; flex: 0 0 52px; padding: 0; border-radius: 50%; background: #fff; color: var(--ink2); border: 4px solid var(--ink2); box-shadow: 0 5px 0 var(--ink2); font: 34px/1 var(--marker); display: grid; place-items: center; transition: transform 80ms, box-shadow 80ms; }
  .lpage .pagehead .back:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); }
  .lpage .pagehead .ptitle { font-family: var(--marker); font-weight: 400; font-size: clamp(32px, 10.5vw, 48px); line-height: 1; color: var(--lob-yellow); text-transform: none; letter-spacing: 0; text-shadow: -3px -3px 0 var(--ink2), 3px -3px 0 var(--ink2), -3px 3px 0 var(--ink2), 3px 3px 0 var(--ink2), 0 6px 0 var(--ink2); transform: rotate(-2deg); transform-origin: left center; min-width: 0; overflow: visible; white-space: nowrap; }
  #wizardPage .ptitle { font-size: clamp(26px, 8vw, 40px); }
  .lpage .pagehead .row > button.secondary { font-family: var(--lilita); font-weight: 400; font-size: 16px; min-height: 44px; padding: 0 14px; background: rgba(0,0,0,.3); color: #fff; border: 3px solid var(--ink2); border-radius: 999px; box-shadow: 0 3px 0 var(--ink2); }
  .lpage .pagebody.lbody { max-width: 440px; margin: 0 auto; padding: 16px 16px calc(28px + env(safe-area-inset-bottom)); font-family: var(--lilita); color: #fff; }
  .lbody label { display: block; font-family: var(--lilita); font-size: 16px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); margin: 16px 0 8px; }
  .lbody input, .lbody select { font-family: var(--lilita); font-size: 22px; color: var(--ink2); background: #fff; border: 4px solid var(--ink2); border-radius: 16px; min-height: 56px; padding: 0 16px; width: 100%; box-shadow: 0 4px 0 var(--ink2); outline: none; }
  .lbody input:focus, .lbody select:focus { border-color: var(--ink2); box-shadow: 0 4px 0 var(--ink2), 0 0 0 3px #fff; }
  .lbody input::placeholder { color: #8a8378; }
  .lbody select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1206' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 22px; padding-right: 44px; }
  .lbody .money::after { color: #8a8378; font-family: var(--lilita); font-size: 15px; } .lbody .money input { padding-right: 4rem; }
  .lbody .hint { color: #E3F5E9; font-size: 14px; line-height: 1.35; min-height: 0; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
  .lbody .hint b { color: #fff; } .lbody .hint code { background: rgba(0,0,0,.35); color: #fff; }
  .lbody .parsedamt { color: var(--lob-yellow); font-size: 14px; }
  .lbody #acctHint, .lbody #hostHint, .lbody #soloHint, .lbody #botStyleHint, .lbody #joinFields .hint, .lbody #lobbyStatus { margin-top: 8px; }
  .lbody #lobbyStatus { text-align: center; margin-top: 12px; font-size: 15px; }
  .pcard { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 100px; border: 4px solid var(--ink2); border-radius: 24px; box-shadow: 0 6px 0 var(--ink2), inset 0 -8px 0 rgba(0,0,0,.14), inset 0 4px 0 rgba(255,255,255,.35); padding: 14px 16px; color: var(--ink2); text-align: left; margin-top: 18px; transition: transform 80ms, box-shadow 80ms; }
  .pcard:first-child { margin-top: 4px; }
  .pcard:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink2), inset 0 -8px 0 rgba(0,0,0,.14), inset 0 4px 0 rgba(255,255,255,.35); }
  .pcard:hover:not(:disabled) { filter: none; }
  .pcard.solo { background: #7ED957; } .pcard.host { background: #FFD23F; } .pcard.join { background: #3FA9F5; }
  .pcard .pico { flex: 0 0 48px; width: 48px; height: 48px; } .pcard .pico svg { width: 48px; height: 48px; display: block; }
  .pcard .ptxt { min-width: 0; } .pcard .ptxt b { display: block; font-family: var(--marker); font-weight: 400; font-size: 28px; line-height: 1; color: #fff; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); }
  .pcard .ptxt small { display: block; font-family: var(--lilita); font-size: 16px; margin-top: 6px; color: var(--ink2); }
  .pcard .pick { margin-left: auto; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; border: 3px solid var(--ink2); background: #fff; display: grid; place-items: center; font-size: 20px; color: var(--ink2); }
  .pcard.on .pick { background: var(--ink2); color: #fff; }
  .lcard { background: rgba(0,0,0,.28); border-radius: 16px; padding: 12px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--cream); }
  .lcard .hint { color: var(--muted); text-shadow: none; font-size: .85rem; }
  /* the wizard: a question, the paytable, the modes (a card a mode: switch, explainer, numbers), the open-table summary */
  .wq { font-family: var(--marker); font-size: clamp(30px, 9vw, 38px); line-height: 1.05; color: #fff; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2), 0 5px 0 var(--ink2); margin: 10px 0 14px; }
  .wtext { font-family: var(--lilita); font-size: 17px; line-height: 1.4; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.35); margin-bottom: 18px; } .wtext b { color: var(--lob-yellow); }
  /* the turn time's row in the wizard (the eight-item session): the label with its line, then five chunky picks, the one set lit yellow */
  .wturnlbl { font-family: var(--lilita); font-size: 20px; line-height: 1.2; color: var(--lob-yellow); text-shadow: 0 1px 0 rgba(0,0,0,.35); margin: 4px 0 8px; } .wturnlbl small { display: block; font-family: var(--nunito); font-weight: 800; font-size: 13px; line-height: 1.35; color: #fff; margin-top: 2px; }
  .wturn { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 18px; } .wturn button { min-width: 0; min-height: 46px; padding: 0 4px; background: #06281A; color: #fff; border: 3px solid var(--ink2); border-radius: 14px; box-shadow: 0 4px 0 var(--ink2); font: 17px/1.1 var(--lilita); font-weight: 400; white-space: nowrap; transition: none; }
  .wturn button.on { background: #FFD23F; color: var(--ink2); } .wturn button:hover:not(:disabled) { filter: none; } .wturn button:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink2); }
  .wbtns { display: flex; flex-direction: column; gap: 22px; margin-top: 18px; }
  .wrow { background: rgba(0,0,0,.3); border: 3px solid rgba(0,0,0,.35); border-radius: 18px; padding: 10px 12px; margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
  .wrow.on { border-color: var(--lob-yellow); background: rgba(255,217,59,.14); }
  .wrow.blocked { opacity: .5; }
  .wrow .wname { font-family: var(--lilita); font-size: 18px; color: #fff; display: flex; align-items: center; gap: 8px; min-width: 0; background: transparent; padding: 0; text-align: left; font-weight: 400; border-radius: 8px; }
  .wrow .wname .ico { font-size: 22px; } .wrow .wname .tt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wrow .wline { grid-column: 1 / -1; font-family: var(--lilita); font-size: 13.5px; line-height: 1.35; color: #D6F2E0; }
  .wrow .wnum { grid-column: 1 / -1; font-family: var(--lilita); font-size: 13px; line-height: 1.35; color: #BFE8CF; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .wrow .wnum b { color: var(--lob-yellow); }
  .wrow .wstat { grid-column: 1 / -1; font-family: var(--lilita); font-size: 13px; color: var(--lob-yellow); }
  .wrow .wctl { display: flex; align-items: center; gap: 8px; }
  .wrow .wmore { font-family: var(--lilita); font-weight: 400; font-size: 14px; min-height: 40px; padding: 0 12px; background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(0,0,0,.4); border-radius: 12px; }
  .wrow .switch.sm { width: 54px; height: 30px; } .wrow .switch.sm .knob { width: 22px; height: 22px; top: 4px; left: 4px; } .wrow .switch.sm input:checked + .track .knob { transform: translateX(24px); } .wrow .switch.sm input:checked + .track { background: linear-gradient(90deg, #ff6a00, #ffb02e); }
  .wrow .methods { grid-column: 1 / -1; display: flex; gap: 6px; } .wrow .methods button { flex: 1; font-family: var(--lilita); font-weight: 400; font-size: 15px; min-height: 44px; background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(0,0,0,.4); border-radius: 12px; } .wrow .methods button.active { background: var(--lob-yellow); color: var(--ink2); }
  .wsum { background: rgba(0,0,0,.28); border-radius: 18px; padding: 12px 14px; margin-top: 10px; font-family: var(--lilita); font-size: 16px; line-height: 1.45; color: #fff; }
  .wsum b { color: var(--lob-yellow); } .wsum ul { margin: 6px 0 0; padding-left: 20px; } .wsum li { margin: 2px 0; }
  .wizfoot { flex: 0 0 auto; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); max-width: 440px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 12px; }
  .wizfoot:empty { display: none; }
  .wizfoot .gbtn { margin-top: 0; }
  /* settings forms in the sheets: a number is a slider with its value, a choice is a row of buttons, a yes/no is a switch */
  .slider { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 260px; }
  .slider input[type=range] { flex: 1; min-width: 0; padding: 0; background: transparent; border: 0; accent-color: var(--gold); height: 28px; }
  .slider output { min-width: 3.2em; text-align: right; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
  .segrow { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
  .segrow button { flex: 0 1 auto; background: rgba(255,255,255,.12); color: var(--cream); padding: .45rem .7rem; font-size: .82rem; min-height: 40px; }
  .segrow button.active { background: var(--gold); color: var(--ink); }
  .segrow button:disabled { opacity: .55; }
  .settings label .slider, .settings label .segrow { margin-left: auto; }
  .settings label.setrow > span { flex: 1; }
  .setgroup { margin-top: 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .setrow2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .92rem; } .setrow2:first-of-type { border-top: 0; }
  .setrow2 small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
  .setrow2 .segrow { flex: 0 0 auto; }
  .setlinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .setlinks button { padding: .55rem .9rem; font-size: .88rem; }

  /* My account and Tasks are pages of their own (not sheets): a header with Back, tabs, and a body that scrolls (Kiril's ask) */
  .page { position: fixed; inset: 0; z-index: 9; display: none; flex-direction: column; background: radial-gradient(ellipse at center, var(--felt) 0%, var(--felt-dark) 70%, var(--felt-edge, #06261a) 100%); }
  .page.open { display: flex; }
  .pagehead { flex: 0 0 auto; padding: calc(8px + env(safe-area-inset-top)) 14px 0; background: rgba(0,0,0,.28); border-bottom: 1px solid rgba(255,255,255,.08); }
  .pagehead .row { display: flex; align-items: center; gap: 10px; min-height: 48px; } .pagehead h2 { margin: 0; flex: 1; font-size: 1.15rem; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
  .pagehead .back { background: rgba(255,255,255,.12); color: var(--cream); padding: .5rem .8rem; font-size: .9rem; } .pagehead .row > button:last-child:not(.back) { padding: .45rem .8rem; font-size: .8rem; }
  .pagehead .tabs { margin: 8px 0 10px; overflow-x: auto; scrollbar-width: none; } .pagehead .tabs.more { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); } /* (a fade says there's more to the right: Claim and Admin sit past the edge on a phone) */ .pagehead .tabs::-webkit-scrollbar { display: none; } .pagehead .tab { flex: 1 0 auto; padding: .5rem .6rem; font-size: .8rem; white-space: nowrap; }
  .pagebody { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 14px calc(28px + env(safe-area-inset-bottom)); width: 100%; max-width: 760px; margin: 0 auto; }
  .pagebody > h3:first-child { margin-top: 10px; }
  /* the join preview (old-sheets-new-style.md §3): a bottom sheet in the ☰ menu's look over the lobby, each mode a dark box with its icon in a small tile, its name, its line and its settings in gold */
  #joinModal .joinlist { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 8px; } #joinModal .joinlist:empty { display: none; }
  #joinModal .joinrow { gap: 14px; padding: 14px; background: #06281A; border: 3px solid var(--ink2); border-radius: 18px; }
  #joinModal .joinrow .mico { display: grid; place-items: center; flex: 0 0 50px; width: 50px; height: 50px; background: #0B3D22; border: 3px solid var(--ink2); border-radius: 14px; font-size: 26px; }
  #joinModal .joinrow b { font: 21px/1.1 var(--lilita); font-weight: 400; color: #fff; }
  #joinModal .joinrow small { margin-top: 4px; font: 800 14px/1.35 var(--nunito); color: #D6F2E0; } #joinModal .joinrow small.set { color: #FFD23F; }
  /* the visual pickers on the craps screens (setup-pickers-and-bet.md §1; the tiles are pickers.css's): how the computer plays on the Duel House form, the wizard's paytable */
  #botStylePick { margin-top: 2px; }
  .wpay { margin-top: 18px; }
