/* Oddsle shared look: a paper bet slip on a slate sportsbook backdrop. Deliberately single-theme, every color explicit. */
:root {
  --slate: #18202b; --slate-2: #212b38; --on-slate: #e8edf3; --on-slate-2: #8f9cad; --line-slate: #3a4656;
  --paper: #f7f7f3; --ink: #15181c; --ink-2: #5b636d; --rule: #d6d8d2; --hi: #eef2fb;
  --blue: #2457d6; --blue-ink: #ffffff; --track: #d9dde6;
  --win: #1b8a4c; --mid: #b98309; --loss: #c0392b; --gold: #c99a00;
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { background: var(--slate); color: var(--on-slate); font-family: var(--f-body); font-size: 16px; margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible, .ruler:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--slate-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 16px; height: 54px; }
.mark { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 28px; letter-spacing: .04em; margin: 0; text-decoration: none; color: var(--on-slate); display: inline-flex; align-items: center; }
.mark svg { width: 24px; height: 26px; flex: none; margin-right: 9px; }
@media (max-width: 400px) { #hdr-day { display: none; } .hdr-r { gap: 8px; } }
.mark span { color: #7fa2ff; }
.hdr-r { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--on-slate-2); }
.icon { width: 36px; height: 36px; border: 1px solid var(--line-slate); background: none; border-radius: 50%; display: grid; place-items: center; color: var(--on-slate); text-decoration: none; overflow: hidden; padding: 0; }
.icon svg { width: 18px; height: 18px; }
.icon img { width: 100%; height: 100%; object-fit: cover; }
.signin-link { font-family: var(--f-body); font-weight: 600; font-size: 14px; color: var(--on-slate); text-decoration: none; border: 1px solid var(--line-slate); border-radius: 999px; padding: 7px 12px; }

main { max-width: 480px; margin: 0 auto; padding-inline: 16px; padding-block: 20px 48px; display: flex; flex-direction: column; gap: 14px; }

.slip { position: relative; background: var(--paper); color: var(--ink); padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.slip::before, .slip::after { content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: radial-gradient(circle at 8px 0, var(--slate) 5.5px, transparent 6px) repeat-x; background-size: 16px 8px; }
.slip::before { top: 0; }
.slip::after { bottom: 0; transform: rotate(180deg); }
.rule { border: 0; border-top: 1.5px dashed var(--rule); margin: 0; }
.kicker { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); line-height: 1.5; }
.kicker b { color: var(--ink); font-weight: 600; }
h2.h { font-family: var(--f-display); font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1; }
.lede { margin: 0; color: var(--ink-2); line-height: 1.5; }

.go { background: var(--blue); color: var(--blue-ink); border: 0; border-radius: 8px; min-height: 54px; font-family: var(--f-display);
  font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; display: grid; place-items: center; }
.go:disabled { opacity: .35; cursor: default; }
.ghost { background: none; border: 1.5px solid var(--rule); border-radius: 8px; min-height: 48px; font-weight: 600; color: var(--ink); text-decoration: none; display: grid; place-items: center; padding-inline: 12px; }
.danger { color: var(--loss); }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border-radius: 8px; border: 1.5px solid #dadce0;
  background: #fff; color: #1f1f1f; font-family: Roboto, var(--f-body); font-weight: 600; font-size: 16px; text-decoration: none; }
.gbtn svg { width: 20px; height: 20px; }

.toast { position: fixed; left: 50%; top: calc(66px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); background: var(--paper);
  color: var(--ink); padding: 9px 16px; border-radius: 6px; font-weight: 700; font-size: 14px; z-index: 20; box-shadow: 0 4px 16px rgb(0 0 0 / .4); max-width: calc(100vw - 32px); }
dialog { border: 0; background: var(--paper); color: var(--ink); max-width: min(440px, calc(100vw - 32px)); padding: 22px 20px; border-radius: 4px; }
dialog::backdrop { background: rgb(10 14 20 / .7); }
dialog h2 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 800; font-size: 30px; text-transform: uppercase; }
dialog p, dialog li { font-size: 15px; line-height: 1.5; }
dialog ul { padding-left: 18px; }
.note { font-family: var(--f-mono); font-size: 12px; color: var(--on-slate-2); text-align: center; margin: 0; line-height: 1.5; }
.note a { color: var(--on-slate); }
@media (prefers-reduced-motion: no-preference) {
  .slip.in { animation: in .28s ease-out both; }
  @keyframes in { from { transform: translateY(10px); opacity: .4; } to { transform: none; opacity: 1; } }
}
