@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap";
:root {
  --cream:#f6f3eb;
  --ink:#26372d;
  --muted:#667167;
  --line:#d9ded3;
  --green:#304f3d;
  --blue:#d6e7f0;
  --pink:#f0d8d5;
  --orange:#b75032;
  --white:#fffdf7;
  --serif:"DM Serif Display",Georgia,serif;
  --sans:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: .5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a25230;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}
h1 {
  font-size: clamp(48px, 5.9vw, 88px);
  margin-bottom: 24px;
}
h2 {
  font-size: 34px;
  margin-bottom: 16px;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
}
em {
  font-weight: 400;
  color: var(--green);
}
.site-header {
  max-width: 1500px;
  margin: auto;
  padding: 25px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -3px;
  white-space: nowrap;
}
.brand-star {
  font-family: var(--sans);
  font-size: 25px;
  margin: 0 1px;
  color: var(--orange);
}
.brand-sub {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
  width: 65px;
  margin-left: 16px;
  white-space: normal;
}
.site-header nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.site-header nav a {
  text-decoration: none;
}
.site-header nav a:hover {
  text-decoration: underline;
}
.eyebrow,
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.eyebrow {
  margin-bottom: 22px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #62886a;
  border-radius: 50%;
  margin-right: 7px;
}
.guest-layout {
  max-width: 1300px;
  margin: auto;
  padding: 64px 5vw 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 70px;
}
.intro {
  position: relative;
  padding-top: 18px;
}
.intro > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 16px;
}
.intro-stamp {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #a5b59c;
  border-radius: 50%;
  height: 137px;
  width: 137px;
  text-align: center;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 2px;
  transform: rotate(-12deg);
  margin: 32px 0;
  color: var(--green);
}
.intro-stamp span {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0;
}
.mini-score {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 30px;
  max-width: 360px;
}
.mini-score strong {
  font-size: 27px;
  font-family: var(--serif);
  font-weight: 400;
}
.mini-score small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.connection {
  font-size: 11px !important;
  color: var(--muted);
  margin: 18px 0 0;
}
.connection[data-state=error] {
  color: #a63d29;
}
.entry-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  align-self: start;
  box-shadow: 0 10px 45px #26372d05;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}
.pill {
  font-size: 9px;
  letter-spacing: .4px;
  border-radius: 20px;
  background: #e8eddf;
  padding: 5px 9px;
  white-space: nowrap;
}
.pill.closed {
  background: #f1ddd1;
}
.market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 25px;
}
.market-tabs button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  font-size: 12px;
  min-height: 40px;
}
.market-tabs button[aria-pressed=true] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.game-heading h2 {
  font-size: 34px;
  margin-bottom: 8px;
}
.game-heading p {
  color: var(--muted);
  font-size: 13px;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.choice {
  position: relative;
  display: block !important;
  margin: 0 !important;
  padding: 20px 14px;
  border: 2px solid transparent;
  border-radius: 6px;
  text-align: center;
  background: #edf0e6;
  cursor: pointer;
}
.choice.boy {
  background: var(--blue);
}
.choice.girl {
  background: var(--pink);
}
.choice:has(input:checked) {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--white) inset;
}
.choice input {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 15px;
  height: 15px;
  accent-color: var(--ink);
  padding: 0;
}
.choice strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}
.choice small {
  font-size: 11px;
  font-weight: 400;
}
.choice .choice-amount {
  display: block;
  font-size: 12px;
  margin-top: 9px;
}
.choices.time .choice strong {
  font-family: var(--sans);
  font-size: 13px;
  margin: 15px 0 4px;
}
.bet-form label,
.login-form label,
.result-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0 8px;
}
.bet-form input:not([type=radio]):not([type=checkbox]),
.login-form input,
.result-form input,
select {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 1px solid #bfc8ba;
  border-radius: 4px;
  padding: 12px;
  margin-top: 7px;
  min-height: 46px;
  font-size: 16px;
}
input::placeholder {
  color: #929a90;
}
.amount-label {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.amount-label span {
  font-weight: 400;
  color: var(--muted);
}
.amount-row {
  display: flex;
  gap: 8px;
}
.amount-row button {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 4px;
  min-width: 50px;
  padding: 8px;
  font-size: 13px;
}
.amount-row button.active {
  border-color: var(--green);
  background: #e8eddf;
}
.amount-input {
  position: relative;
  flex: 1;
}
.amount-input span {
  position: absolute;
  top: 12px;
  left: 11px;
}
.amount-input input {
  padding-left: 25px !important;
  margin: 0 !important;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 17px 0;
  margin-top: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.estimate strong {
  font-size: 27px;
  font-family: var(--serif);
  font-weight: 400;
  white-space: nowrap;
}
.estimate small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
.promise {
  font-size: 12px;
  line-height: 1.6;
  margin: 18px 0;
  color: #644735;
  background: #f5eee0;
  padding: 12px;
  border-radius: 4px;
}
.promise strong {
  font-weight: 700;
}
.primary,
.secondary {
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 13px;
  min-height: 46px;
}
.primary {
  background: var(--green);
  color: #fffdf7;
}
.primary:hover {
  background: #203e2d;
}
.secondary {
  background: transparent;
}
.secondary:hover {
  background: #e8eddf;
}
.bet-form .primary {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px;
  font-size: 12px;
}
.error {
  color: #a43824;
  font-size: 12px;
  margin: 10px 0;
}
.save-note {
  font-size: 10px !important;
  color: var(--muted);
  text-align: center;
  margin: 10px 0 0 !important;
}
.below-grid {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}
.below-grid h2 {
  font-size: 30px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.rules ol {
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
}
.rules li {
  padding: 0 0 10px 6px;
}
.rules .eyebrow {
  margin-bottom: 14px;
}
.receipt-list {
  display: grid;
  gap: 10px;
}
.receipt-row {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.receipt-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.receipt-row .receipt-return {
  text-align: right;
}
.empty {
  padding: 20px 0;
  font-size: 13px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 5vw;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
#mode-banner {
  background: #edd5a4;
  color: #3e382a;
  font-size: 12px;
  text-align: center;
  padding: 9px 20px;
  font-weight: 500;
}
#mode-banner a {
  margin-left: 12px;
}
#setup {
  padding: 25px;
  border: 1px dashed #a6ad9b;
  border-radius: 6px;
}
#setup p {
  font-size: 13px;
}
#setup h2 {
  font-size: 30px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 500px);
  padding: 14px 22px;
  background: var(--ink);
  color: var(--white);
  border-radius: 5px;
  font-size: 13px;
  z-index: 10;
  box-shadow: 0 6px 30px #0002;
}
.toast.error {
  background: #813824;
}
.iou-board,
.winner-board {
  grid-column: 1/-1;
  background: #eee4d3;
  border: 1px solid #dfd0b6;
  border-radius: 6px;
  padding: 24px 30px;
}
.iou-board h2,
.winner-board h2 {
  font-size: 30px;
  margin-bottom: 8px;
}
.iou-board p {
  font-size: 13px;
  margin-bottom: 12px;
}
.iou-list,
.winner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.iou-person,
.winner-person {
  border: 1px solid #cfc0a7;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 13px;
  background: #f9f2e6;
}
.winner-board {
  background: #e4eadb;
  border-color: #cad5bf;
}
.winner-person {
  background: #f3f7ed;
  border-color: #cad5bf;
}
.winner-person small {
  display: block;
}
.display-layout {
  padding: 34px 4vw;
  max-width: 1550px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 22px 30px;
}
.display-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.display-header .connection {
  margin: 0;
}
.board-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 26px;
}
.board-heading .eyebrow {
  margin-bottom: 14px;
}
.board-heading h1 {
  font-size: clamp(44px, 4.6vw, 72px);
  margin: 0;
}
.pot-total {
  text-align: right;
  white-space: nowrap;
  padding-bottom: 4px;
}
.pot-total span {
  display: block;
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 700;
}
.pot-total strong {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  display: block;
  line-height: 1.3;
}
.pot-total small {
  font-size: 11px;
  color: var(--muted);
}
.gender-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.odds-card {
  border-radius: 7px;
  padding: 23px 25px 18px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
.odds-card.girl {
  background: var(--pink);
}
.odds-card .odds-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.odds-card h2 {
  font-size: 46px;
  margin: 18px 0 6px;
}
.odds-card .pays {
  font-size: 14px;
  display: block;
}
.odds-card .pays strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  margin-left: 6px;
}
.odds-card .share {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #26372d25;
  margin-top: 16px;
  padding-top: 12px;
  font-size: 11px;
}
.odds-card .orbit {
  position: absolute;
  right: -25px;
  top: 40px;
  width: 135px;
  height: 135px;
  border: 1px solid #fff9;
  border-radius: 50%;
  pointer-events: none;
}
.odds-card .orbit:after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #fff9;
  border-radius: 50%;
}
.board-disclaimer {
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0 20px;
  max-width: 650px;
}
.side-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.side-card {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 5px;
  background: #fff9;
}
.side-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  margin: 5px 0 12px;
}
.side-card .side-icon {
  font-size: 20px;
}
.side-card strong {
  font-size: 18px;
  font-weight: 500;
}
.side-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.side-card .pill {
  display: inline-block;
  margin-top: 8px;
}
.scan-panel {
  background: var(--green);
  color: #fffdf1;
  border-radius: 7px;
  padding: 28px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scan-panel .eyebrow {
  font-size: 9px;
  color: #cadac7;
  margin-bottom: 16px;
}
.scan-panel h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.scan-panel em {
  color: #e6d7b3;
}
.qr {
  width: 100%;
  max-width: 215px;
  background: white;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
}
.qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.join-url {
  font-size: 10px;
  word-break: break-word;
}
.scan-panel p {
  font-size: 12px;
  color: #d0dacb;
  margin: 18px 0 8px;
}
.scan-star {
  font-size: 40px;
  color: #e4c7a4;
  line-height: 1;
  margin: 10px;
}
.iou-reminder {
  font-size: 10px;
  color: #d5decf;
  line-height: 1.6;
  border-top: 1px solid #ffffff30;
  padding-top: 16px;
  margin-top: 12px;
}
.activity {
  grid-column: 1/-1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.activity .eyebrow {
  margin-bottom: 12px;
}
.recent-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.recent-item {
  font-size: 11px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
}
.new-bet {
  animation: arrive .5s ease-out;
}
@keyframes arrive {
  from {
    opacity: .2;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.admin-layout {
  max-width: 1250px;
  padding: 45px 5vw 60px;
  margin: auto;
}
.admin-layout h1 {
  font-size: 55px;
}
.admin-layout .eyebrow {
  margin-bottom: 12px;
}
.login-form {
  max-width: 400px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 25px;
  margin: 30px 0;
  border-radius: 6px;
}
.login-form .primary {
  width: 100%;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0 40px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#admin-summary {
  font-size: 13px;
}
#admin-summary strong {
  font-size: 24px;
  font-family: var(--serif);
  font-weight: 400;
}
#admin-summary small {
  display: block;
  color: var(--muted);
}
.admin-markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0 45px;
}
.admin-market {
  background: var(--white);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.admin-market h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  margin: 12px 0 8px;
}
.admin-market p {
  font-size: 12px;
  color: var(--muted);
}
.admin-market .market-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.market-actions button {
  font-size: 11px;
  padding: 9px;
  min-height: 40px;
}
.market-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ledger-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.ledger-heading > div {
  max-width: 650px;
}
.ledger-heading label {
  font-size: 11px;
  min-width: 150px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
  min-width: 800px;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px;
  border-bottom: 2px solid var(--line);
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
td select {
  font-size: 12px;
  min-height: 40px;
  padding: 8px;
  margin: 0;
}
td button {
  font-size: 11px;
  padding: 8px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  min-height: 40px;
}
tr.voided {
  color: var(--muted);
  background: #eae9e355;
}
.table-wrap .empty {
  text-align: center;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: var(--white);
  color: var(--ink);
  width: min(92vw, 460px);
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 25px 80px #0003;
}
dialog::backdrop {
  background: #17261fb3;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 38px;
}
dialog p {
  font-size: 13px;
}
dialog .receipt-check {
  font-size: 40px;
  color: var(--green);
  margin-bottom: 14px;
}
dialog .receipt-detail {
  padding: 18px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 20px;
}
dialog .receipt-detail strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}
dialog .receipt-detail small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
dialog .receipt-detail .locked-receipt strong {
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
}
.taken-slots { font-size: 14px; margin: 10px 0 18px; }
.taken-slots summary { cursor: pointer; }
.taken-slots p { overflow-wrap: anywhere; max-height: 140px; overflow-y: auto; }
.exposure { margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.exposure p { margin: 6px 0; }
dialog .dialog-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
dialog a.primary {
  display: block;
  text-align: center;
  text-decoration: none;
}
dialog a.payment-button {
  background: #1769d2;
  border-color: #1769d2;
  color: #fff;
  font-size: 16px;
}
dialog a.payment-button:hover {
  background: #1253a8;
  border-color: #1253a8;
}
dialog .dialog-buttons > * {
  flex: 1;
}
.settle-preview {
  padding: 15px;
  background: #e8eddf;
  border-radius: 4px;
  margin: 18px 0;
}
.settle-preview p {
  margin-bottom: 5px;
}
.result-form .confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.confirm-check input {
  width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--green);
}
@media (min-width: 1500px) {
  .site-header {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 1100px) {
  .guest-layout {
    gap: 40px;
    padding-top: 45px;
  }
  .entry-panel {
    padding: 24px;
  }
  .display-layout {
    grid-template-columns: 1fr 220px;
    gap: 20px;
    padding: 25px 3vw;
  }
  .scan-panel {
    padding: 22px 18px;
  }
  .board-heading h1 {
    font-size: 47px;
  }
  .pot-total strong {
    font-size: 40px;
  }
  .side-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .side-card {
    padding: 12px;
  }
  .side-card h3 {
    margin: 0 0 4px;
  }
  .side-card .side-icon {
    display: none;
  }
  .side-card .pill {
    margin-top: 5px;
  }
  .odds-card {
    padding: 18px;
  }
  .odds-card h2 {
    font-size: 38px;
    margin-top: 12px;
  }
  .odds-card .pays strong {
    font-size: 36px;
  }
  .admin-markets {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 18px 5vw;
  }
  .site-header nav {
    gap: 15px;
    font-size: 10px;
  }
  .brand {
    font-size: 32px;
  }
  .brand-sub {
    font-size: 8px;
    width: 50px;
    margin-left: 12px;
  }
  .brand-star {
    font-size: 21px;
  }
  .guest-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 5vw;
  }
  .intro {
    padding: 0;
  }
  .intro h1 {
    font-size: 53px;
    margin-bottom: 16px;
  }
  .intro > p {
    font-size: 14px;
    max-width: 300px;
  }
  .intro-stamp {
    position: absolute;
    right: 0;
    bottom: 24px;
    width: 86px;
    height: 86px;
    font-size: 6px;
    letter-spacing: 1px;
    margin: 0;
  }
  .intro-stamp span {
    font-size: 12px;
  }
  .intro .eyebrow {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .mini-score {
    margin-top: 22px;
    gap: 26px;
    max-width: 240px;
  }
  .mini-score strong {
    font-size: 24px;
  }
  .intro .connection {
    margin-top: 10px;
  }
  .entry-panel {
    padding: 22px;
  }
  .below-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 25px;
  }
  .below-grid h2 {
    font-size: 29px;
  }
  .market-tabs {
    gap: 6px;
  }
  .market-tabs button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .display-header {
    gap: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .display-header .connection {
    width: 100%;
    text-align: right;
    font-size: 9px !important;
  }
  .display-header button {
    font-size: 9px;
    padding: 5px 7px;
    min-height: 32px;
  }
  .display-layout {
    grid-template-columns: 1fr;
    padding: 25px 5vw;
  }
  .board-heading {
    gap: 14px;
  }
  .board-heading h1 {
    font-size: 41px;
  }
  .board-heading .eyebrow {
    font-size: 8px;
    max-width: 180px;
  }
  .pot-total strong {
    font-size: 35px;
  }
  .pot-total span {
    font-size: 7px;
    letter-spacing: .8px;
  }
  .pot-total small {
    font-size: 9px;
  }
  .gender-board {
    gap: 12px;
  }
  .odds-card {
    padding: 16px;
  }
  .odds-card .odds-top {
    font-size: 8px;
  }
  .odds-card .pays {
    font-size: 12px;
  }
  .odds-card .pays strong {
    font-size: 32px;
  }
  .odds-card .share {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .scan-panel {
    padding: 28px;
  }
  .qr {
    max-width: 200px;
  }
  .scan-star {
    display: none;
  }
  .scan-panel h2 {
    font-size: 34px;
  }
  .scan-panel h2 br {
    display: none;
  }
  .scan-panel .iou-reminder {
    max-width: 290px;
  }
  .scan-panel p {
    margin-top: 12px;
  }
  .side-card h3 {
    font-size: 22px;
  }
  .admin-layout {
    padding-top: 30px;
  }
  .admin-layout h1 {
    font-size: 44px;
  }
  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 25px;
  }
  .admin-markets {
    grid-template-columns: 1fr;
  }
  .ledger-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .ledger-heading select {
    margin-bottom: 18px;
  }
  .iou-board,
  .winner-board {
    padding: 22px;
  }
  .iou-board h2 {
    font-size: 27px;
  }
  footer {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .amount-row {
    gap: 6px;
  }
  .amount-row button {
    min-width: 45px;
  }
  .receipt-row {
    padding: 12px;
  }
  dialog {
    padding: 25px;
  }
  .activity {
    padding-top: 20px;
  }
}
@media (max-width: 360px) {
  .intro-stamp {
    display: none;
  }
  .intro h1 {
    font-size: 46px;
  }
  .entry-panel {
    padding: 16px;
  }
  .amount-row button {
    min-width: 40px;
    padding: 6px;
  }
  .pot-total strong {
    font-size: 28px;
  }
  .board-heading h1 {
    font-size: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.host-bonus {
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.host-bonus label {
  display: block;
  font-weight: 600;
}
.host-bonus .bonus-input {
  display: flex;
  gap: 6px;
  margin: 8px 0;
}
.host-bonus input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 1px solid #bfc8ba;
  border-radius: 4px;
  padding: 8px;
  font-size: 14px;
}
.host-bonus button {
  min-width: 60px;
  padding: 8px;
  font-size: 11px;
}
.host-bonus small {
  display: block;
  color: var(--muted);
}
@media (min-width: 761px) and (max-height: 900px) {
  body[data-page=display] .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  body[data-page=display] .display-layout {
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 15px 24px;
  }
  body[data-page=display] .board-heading {
    margin-bottom: 18px;
  }
  body[data-page=display] .board-heading h1 {
    font-size: 44px;
  }
  body[data-page=display] .board-heading .eyebrow {
    margin-bottom: 10px;
  }
  body[data-page=display] .side-board {
    grid-template-columns: repeat(3, 1fr);
  }
  body[data-page=display] .side-card {
    padding: 12px 9px;
  }
  body[data-page=display] .side-card h3 {
    font-size: 17px;
    min-height: 36px;
  }
  body[data-page=display] .side-card .side-icon {
    display: none;
  }
  body[data-page=display] .side-card strong {
    font-size: 16px;
  }
  body[data-page=display] .side-card small {
    font-size: 9px;
  }
  body[data-page=display] .odds-card {
    padding: 16px 18px;
  }
  body[data-page=display] .odds-card h2 {
    margin-top: 12px;
    font-size: 36px;
  }
  body[data-page=display] .odds-card .pays strong {
    font-size: 35px;
  }
  body[data-page=display] .odds-card .share {
    margin-top: 12px;
    padding-top: 9px;
  }
  body[data-page=display] .scan-panel {
    padding: 22px 18px;
  }
  body[data-page=display] .scan-panel h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  body[data-page=display] .scan-star {
    display: none;
  }
  body[data-page=display] .activity {
    padding-top: 14px;
  }
  body[data-page=display] .recent-item {
    padding: 7px 11px;
    font-size: 10px;
  }
  body[data-page=display] .board-disclaimer {
    margin: 10px 0 14px;
  }
  body[data-page=display] .board-main {
    min-width: 0;
  }
}
