  /* ---------- the sheets' shared pieces (old-sheets-new-style.md): loaded after admin.css and before poker.css ----------
     The amount with its − / +, the slider and the preset tiles came out of poker.css verbatim (the Raise and Change bet
     sheets wear them unchanged), then the blocks every bottom sheet in the ☰ menu's look builds from: the content-sized
     sheet, notes, section labels, dark boxes, cream cards, white fields, option rows, switches, ticks and pills. The
     bottom sheet itself (.modal.tsheet, .sheet.tsh, the grip, the head, the ×, .tsbody, .foot, .tbtn) is in table.css. */
  .pkamt { display: grid; grid-template-columns: 78px minmax(0, 1fr) 78px; gap: 12px; align-items: stretch; }
  .pkamt .pkstep { min-height: 84px; background: #5B6B7A; color: #fff; border: 4px solid var(--ink2); border-radius: 20px; box-shadow: 0 5px 0 var(--ink2); font: 38px/1 var(--lilita); font-weight: 400; padding: 0; transition: none; }
  .pkamt .pkstep:hover:not(:disabled) { filter: none; } .pkamt .pkstep:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); }
  .pkamt input { min-height: 84px; width: 100%; background: #fff; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 22px; box-shadow: 0 5px 0 var(--ink2); font: 40px/1 var(--lilita); text-align: center; padding: 0 10px; outline: none; }
  .pkamt input:focus { box-shadow: 0 5px 0 var(--ink2), 0 0 0 3px #FFD23F; }
  .pkslide { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin: 16px 0 0; background: transparent; padding: 0; border: 0; outline: none; }
  .pkslide::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: var(--felt-edge, #06281A); border: 3px solid var(--ink2); box-sizing: border-box; }
  .pkslide::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; margin-top: -15px; border-radius: 50%; background: #FFD23F; border: 4px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); }
  .pkslide::-moz-range-track { height: 12px; border-radius: 999px; background: var(--felt-edge, #06281A); border: 3px solid var(--ink2); }
  .pkslide::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #FFD23F; border: 4px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); }
  .pkslbl { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font: 17px/1.2 var(--lilita); color: #D6F2E0; }
  .pkpicks2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; margin-bottom: 16px; } /* (green between the picks and the line over Cancel) */
  .pkpicks2 button { min-height: 70px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--felt-edge, #06281A); color: #fff; border: 4px solid var(--ink2); border-radius: 18px; box-shadow: 0 4px 0 var(--ink2); transition: none; }
  .pkpicks2 button b { font: 23px/1 var(--lilita); font-weight: 400; white-space: nowrap; } .pkpicks2 button small { font: 16px/1 var(--lilita); }
  .pkpicks2 button.on { background: #FFD23F; color: var(--ink2); } .pkpicks2 button.allin { background: #E8505B; } .pkpicks2 button.allin.on { background: #FFD23F; color: var(--ink2); }
  .pkpicks2 button:hover:not(:disabled) { filter: none; } .pkpicks2 button:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink2); }
  .pkamt .pkval { display: grid; place-items: center; min-height: 84px; min-width: 0; background: #fff; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 22px; box-shadow: 0 5px 0 var(--ink2); font: 40px/1 var(--lilita); font-weight: 400; padding: 0 10px; white-space: nowrap; overflow: hidden; } /* (an amount set only by its − / +) */
  .pkslide.fill::-webkit-slider-runnable-track { background: linear-gradient(90deg, #FFD23F var(--p, 0%), var(--felt-edge, #06281A) var(--p, 0%)); } /* (craps's slider fills up to its thumb) */
  .pkslide.fill::-moz-range-progress { height: 12px; border-radius: 999px; background: #FFD23F; }
  /* a bottom sheet as tall as what it holds */
  .sheet.tsh.fit { height: auto; max-height: calc(100vh - 36px); max-height: calc(var(--app-h, 100dvh) - 36px); }
  .tsh .tstitle.long { font-size: 25px; } /* (a long title steps down and may wrap) */
  .tsh .tsnote b { color: #fff; } .tsh .tsnote.center { text-align: center; } .tsh .tsnote:empty { display: none; }
  .tsh .tsnote.bad { color: #FF8A8A; }
  /* a section label: small, letter-spaced, upper case; a value may sit on its right */
  .tsh .tslbl { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 14px 0 8px; font: 800 12px/1.2 var(--nunito); letter-spacing: .12em; text-transform: uppercase; color: #9FD3B5; }
  .tsh .tslbl .r { font: 800 14px/1.2 var(--nunito); letter-spacing: 0; text-transform: none; text-align: right; }
  .tsh .tsbox .tslbl:first-child { margin-top: 0; }
  /* the dark box and the cream card */
  .tsh .tsbox { margin-top: 12px; padding: 12px 14px; background: #06281A; border: 3px solid var(--ink2); border-radius: 18px; }
  .tsh .tscard { margin-top: 12px; padding: 12px 14px; background: #FFF4D6; color: var(--ink2); border: 4px solid var(--ink2); border-radius: 22px; box-shadow: 0 6px 0 var(--ink2); font: 800 15px/1.4 var(--nunito); }
  .tsh .tscard b { font-weight: 800; } .tsh .tscard:empty { display: none; }
  /* a box whose list scrolls inside it, fading out at its bottom */
  .tsh .tsfade { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); padding-bottom: 22px; }
  .tsh .tsfade::-webkit-scrollbar { display: none; }
  /* the white field, with "chips" inside it and the "= 10,000 chips" echo under it */
  .tsh .money { position: relative; margin: 0; }
  .tsh .money input, .tsh input.tsfield { display: block; width: 100%; height: 56px; padding: 0 70px 0 14px; background: #fff; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 14px; box-shadow: 0 4px 0 var(--ink2); font: 28px/1 var(--lilita); outline: none; }
  .tsh input.tsfield { padding-right: 14px; }
  .tsh .money input:focus, .tsh input.tsfield:focus { border-color: var(--ink2); box-shadow: 0 4px 0 var(--ink2), 0 0 0 3px #FFD23F; }
  .tsh .money input:disabled, .tsh input.tsfield:disabled { opacity: .6; }
  .tsh .money::after { top: 28px; right: 16px; color: #8A7A55; font: 17px/1 var(--lilita); }
  .tsh .parsedamt { margin-top: 8px; color: var(--lob-yellow); font: 800 13px/1.2 var(--nunito); }
  /* option rows: chunky buttons, the picked one yellow (a select's .segrow from prettifyForm, or buttons of its own) */
  .tsh .tsopts, .tsh .segrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; max-width: none; width: 100%; margin: 0; }
  .tsh .tsopts > button, .tsh .segrow button { min-width: 0; min-height: 52px; padding: 6px 8px; background: #06281A; color: #fff; border: 3px solid var(--ink2); border-radius: 16px; box-shadow: 0 4px 0 var(--ink2); font: 19px/1.1 var(--lilita); font-weight: 400; white-space: normal; text-align: center; transition: none; }
  .tsh .tsbox .tsopts > button, .tsh .tsbox .segrow button { background: #0B3D22; }
  .tsh .tsopts > button.on, .tsh .tsopts > button.active, .tsh .tsopts > button[aria-pressed="true"], .tsh .segrow button.active { background: #FFD23F; color: var(--ink2); }
  .tsh .tsopts > button:hover:not(:disabled), .tsh .segrow button:hover:not(:disabled) { filter: none; }
  .tsh .tsopts > button:active:not(:disabled), .tsh .segrow button:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink2); }
  .tsh .segrow button:disabled, .tsh .tsopts > button:disabled { opacity: .5; }
  /* switches: Settings' .tog look for prettifyForm's .switch too (72×40, green when on) */
  .tsh .switch, .tsh .switch.sm { flex: 0 0 72px; width: 72px; height: 40px; }
  .tsh .switch .track { background: #1B3B2A; border: 3px solid var(--ink2); box-shadow: 0 3px 0 var(--ink2); transition: background .15s; }
  .tsh .switch .knob, .tsh .switch.sm .knob { top: 4px; left: 4px; width: 26px; height: 26px; background: #fff; border: 2px solid var(--ink2); box-shadow: none; transition: transform .15s; }
  .tsh .switch input:checked + .track, .tsh .switch.sm input:checked + .track { background: #7ED957; }
  .tsh .switch input:checked + .track .knob, .tsh .switch.sm input:checked + .track .knob { transform: translateX(32px); }
  .tsh .switch input:disabled + .track { opacity: .5; }
  .tsh .switch.xs { flex: 0 0 56px; width: 56px; height: 34px; } .tsh .switch.xs .knob { top: 3px; left: 3px; width: 22px; height: 22px; } .tsh .switch.xs input:checked + .track .knob { transform: translateX(22px); }
  /* ticks: 24 px chunky squares, green with an ink ✓ when on */
  .tsh input.tick, .tsh .types input[type=checkbox] { -webkit-appearance: none; appearance: none; position: relative; flex: 0 0 24px; width: 24px; height: 24px; margin: 0; padding: 0; background: #1B3B2A; border: 3px solid var(--ink2); border-radius: 7px; box-shadow: 0 2px 0 var(--ink2); cursor: pointer; }
  .tsh input.tick:checked, .tsh .types input[type=checkbox]:checked { background: #7ED957; }
  .tsh input.tick:checked::after, .tsh .types input[type=checkbox]:checked::after { content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 11px; border: solid var(--ink2); border-width: 0 3px 3px 0; transform: rotate(45deg); }
  .tsh input.tick:disabled, .tsh .types input[type=checkbox]:disabled { opacity: .55; cursor: default; }
  /* pills */
  .tsh .tspill { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; padding: 0 14px; background: #fff; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 999px; font: 17px/1 var(--lilita); font-weight: 400; white-space: nowrap; }
  .tsh .tspill.green { background: #7ED957; } .tsh .tspill.cream { background: #FFF4D6; } .tsh .tspill.red { background: #E8505B; color: #fff; } .tsh .tspill.purple { background: #B57BFF; color: #fff; text-shadow: 1px 1px 0 var(--ink2); } .tsh .tspill.orange { background: #FF8A3D; color: #fff; text-shadow: 1px 1px 0 var(--ink2); }
  .tsh .tspill:empty { display: none; }
  .tsh .tspills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
