/* Bombay 777 landing, design "tags": hanging card tags on rails. Flat colours only. */
:root {
  --navy: #001F4E; --orange: #E26100; --act: #C94A00; --blue: #2B5C9E; --gold: #D9A21B;
  --kraft: #F3E9D8; --kraft-d: #E6D6B8; --kraft-line: #CDB98F; --paper: #FFFDF7; --twine: #7A5A2E;
  --ink: #0B1630; --muted: #4C566C; --line: #CDB98F; --soft: #FBF5E9; --head: #FFFDF7; --accent: #C94A00; --accent-ink: #fff;
  --red: #B3261E; --today: #FFE9A8;
  --fb: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --fm: "Courier Prime", ui-monospace, Menlo, Consolas, monospace; --fw: "Alegreya Sans", system-ui, sans-serif;
  --amber-dk: #C94A00; --on-amber: #001F4E; --page: #F3E9D8;
}
html { background: var(--kraft); }
body { background: var(--kraft); color: var(--ink); font: 500 1.1rem/1.5 var(--fb); min-height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23C9B58C' opacity='.35'%3E%3Ccircle cx='14' cy='22' r='1.2'/%3E%3Ccircle cx='71' cy='9' r='1'/%3E%3Ccircle cx='98' cy='57' r='1.3'/%3E%3Ccircle cx='38' cy='83' r='1'/%3E%3Ccircle cx='109' cy='108' r='1.1'/%3E%3Ccircle cx='62' cy='51' r='.9'/%3E%3C/g%3E%3Cpath d='M8 60h14M80 100h18M50 20h10' stroke='%23C9B58C' stroke-opacity='.3' stroke-width='1'/%3E%3C/svg%3E"); }
a { color: var(--navy); }
main { display: block; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px;
  background: var(--act); color: #fff; font: 800 1.15rem var(--fb); text-decoration: none; cursor: pointer; box-shadow: 0 5px 0 #7d2e00; transition: transform .12s, box-shadow .12s; }
.btn small { font: 700 .85em var(--fm); opacity: .95; }
.btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 #7d2e00; }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 #7d2e00; }
.btn-sm { min-height: 46px; padding: 0 16px; font-size: 1rem; border-radius: 12px; box-shadow: 0 4px 0 #7d2e00; }
.btn.alt { background: var(--navy); box-shadow: 0 4px 0 #000d26; }
.btn.alt:active { box-shadow: 0 0 0 #000d26; transform: translateY(4px); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* top bar */
.bar { background: var(--navy); color: #fff; border-bottom: 5px solid var(--orange); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 1.35rem/1 var(--fb); letter-spacing: .01em; min-height: 48px; }
.brand img { border-radius: 50%; background: #fff; }
.bar .btn { background: var(--act); }
.bar .btn small { display: none; }

/* eyelet: a punched hole with a navy ring */
.eye { display: block; position: absolute; left: 50%; top: 8px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; border: 4px solid var(--navy); background: var(--kraft); box-shadow: inset 0 2px 0 rgba(0,0,0,.18); }
.sh .eye { position: static; display: inline-block; vertical-align: -3px; width: 20px; height: 20px; margin: 0 10px 0 0; flex: none; }

/* the rail and the tags that hang from it */
.rack { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 14px; margin: 0 0 8px; }
.cell { position: relative; padding-top: 28px; }
.cell::before { content: ""; position: absolute; z-index: 3; top: 0; left: -6px; right: -6px; height: 9px; border-radius: 5px; background: var(--navy); box-shadow: 0 3px 0 rgba(0,31,78,.22), inset 0 2px 0 #2B5C9E; }
.tg { position: relative; display: block; transform-origin: 50% -24px; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.lp { position: absolute; z-index: 2; left: 50%; top: -26px; width: 36px; height: 48px; margin-left: -18px; pointer-events: none; overflow: visible; }
.card { position: relative; background: var(--paper); border: 2px solid var(--kraft-line); border-radius: 16px; padding: 34px 8px 0; text-align: center; box-shadow: 0 4px 0 rgba(122,90,46,.28); overflow: hidden; }
.tg.go { animation: sway 1s ease-out; }
@media (hover: hover) { .tg:hover { animation: sway 1s ease-out; } }
.tg:focus-within { animation: sway 1s ease-out; }
@keyframes sway { 0% { transform: rotate(0); } 18% { transform: rotate(4deg); } 40% { transform: rotate(-3deg); } 62% { transform: rotate(1.8deg); } 82% { transform: rotate(-.8deg); } 100% { transform: rotate(0); } }

/* hero */
.hero { padding-top: 18px; }
.hero-in { display: grid; gap: 26px; padding-bottom: 6px; }
.kick { font: 700 .95rem var(--fm); text-transform: uppercase; letter-spacing: .08em; color: var(--act); }
.hero h1 { font: 800 clamp(2rem, 8.4vw, 3.5rem)/1.04 var(--fb); color: var(--navy); margin: 6px 0 14px; letter-spacing: -.01em; }
.slogan { position: relative; display: inline-block; font: italic 500 1.2rem/1.35 var(--fb); background: var(--paper); border: 2px dashed var(--kraft-line); border-radius: 12px; padding: 12px 18px 12px 40px; margin-bottom: 18px; color: var(--navy); }
.slogan::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 3px solid var(--navy); background: var(--kraft); }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.upd { font: 400 .9rem var(--fm); color: var(--muted); }
.today { position: relative; padding-top: 28px; max-width: 320px; }
.today::before { content: ""; position: absolute; z-index: 3; top: 0; left: -6px; right: -6px; height: 9px; border-radius: 5px; background: var(--navy); box-shadow: 0 3px 0 rgba(0,31,78,.22), inset 0 2px 0 #2B5C9E; }
.big-tag .card { background: var(--navy); border-color: var(--navy); color: #fff; padding: 38px 18px 20px; box-shadow: 0 6px 0 rgba(0,31,78,.3); }
.big-tag .eye { border-color: var(--gold); background: var(--kraft); }
.t-lab { font: 700 .95rem var(--fm); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.t-date { font: 800 2.2rem/1.1 var(--fb); }
.t-n { margin-top: 8px; font-size: 1.2rem; } .t-n b { font: 700 2rem var(--fm); color: var(--gold); }
.t-s { margin-top: 6px; font: 400 .95rem var(--fm); opacity: .92; }
.idx { margin-top: 20px; }
.r-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
.mini .card { display: block; padding: 30px 4px 0; min-height: 76px; border-radius: 14px; }
.mini .eye { top: 7px; width: 16px; height: 16px; margin-left: -8px; border-width: 3px; }
.mn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 2px 8px; font: 800 1rem/1.1 var(--fb); color: var(--navy); }
.mini:hover .card { background: #fff; border-color: var(--orange); }
.mini .lp { top: -26px; }

/* up next */
.next { margin-top: 26px; }
.lab { font: 700 .95rem var(--fm); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.up { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.up li { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--kraft-line); border-left: 8px solid var(--gold); border-radius: 10px; padding: 6px 12px; line-height: 1.2; }
.up b { font-weight: 800; color: var(--navy); } .up span { font: 400 .8rem var(--fm); color: var(--muted); white-space: nowrap; }

/* sections */
.sec { padding-top: 44px; scroll-margin-top: 8px; }
.sh { display: flex; align-items: center; font: 800 clamp(1.6rem, 6vw, 2.2rem)/1.1 var(--fb); color: var(--navy); }
.sub { margin: 4px 0 6px; color: var(--muted); font-size: 1.05rem; }
.grp { font: 700 1rem var(--fm); text-transform: uppercase; letter-spacing: .1em; color: var(--act); margin: 20px 0 0; }

/* market tags */
.mk h4 { font: 800 1.12rem/1.1 var(--fb); color: var(--navy); min-height: 2.2em; display: flex; align-items: center; justify-content: center; }
.tm { font: 700 .74rem var(--fm); color: var(--muted); margin: 2px 0 4px; white-space: nowrap; }
.res { display: flex; align-items: baseline; justify-content: center; gap: 4px; font-family: var(--fm); margin: 4px 0 6px; }
.res i { font: 700 .98rem var(--fm); font-style: normal; color: var(--muted); }
.res b { font: 700 2.5rem/1 var(--fm); color: var(--orange); letter-spacing: -.02em; }
.stp { margin-bottom: 8px; }
.stp span { display: inline-block; font: 700 .78rem var(--fm); text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: var(--kraft); color: var(--navy); border: 2px dashed var(--kraft-line); }
.hol { display: none; font: 800 1.5rem/1 var(--fb); color: #fff; margin: 14px 0 12px; }
.lk { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -8px; border-top: 2px solid var(--kraft-line); }
.lk a { display: flex; align-items: center; justify-content: center; min-height: 46px; font: 800 1rem var(--fb); color: var(--navy); text-decoration: none; }
.lk a + a { border-left: 2px solid var(--kraft-line); }
.lk a:hover { background: var(--navy); color: #fff; }
.mk[data-state="closed"] .card { border-bottom: 8px solid var(--navy); }
.mk[data-state="open"] .card { border-bottom: 8px solid var(--gold); }
.mk[data-state="open"] .stp span { background: var(--gold); color: var(--navy); border-style: solid; border-color: var(--gold); }
.mk[data-state="closed"] .stp span { background: var(--navy); color: #fff; border-style: solid; border-color: var(--navy); }
.mk[data-state="waiting"] .card { background: #FAF3E4; border-style: dashed; }
.mk[data-state="waiting"] .res b, .mk[data-state="waiting"] .res i { color: #5A6378; }
.mk[data-state="holiday"] .card { background: var(--navy); border-color: var(--navy); }
.mk[data-state="holiday"] h4, .mk[data-state="holiday"] .tm { color: #fff; }
.mk[data-state="holiday"] .tm { opacity: .85; }
.mk[data-state="holiday"] .res { display: none; }
.mk[data-state="holiday"] .hol { display: block; }
.mk[data-state="holiday"] .stp { display: none; }
.mk[data-state="holiday"] .eye { border-color: var(--gold); }
.mk[data-state="holiday"] .lk { border-color: #2B5C9E; }
.mk[data-state="holiday"] .lk a { color: #fff; } .mk[data-state="holiday"] .lk a + a { border-color: #2B5C9E; }
.mk[data-state="holiday"] .lk a:hover { background: var(--gold); color: var(--navy); }

/* round tags: Starline and Jackpot */
.round { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); column-gap: 4px; margin-top: 6px; }
.round .cell { display: flex; justify-content: center; }
.round .cell::before { left: -2px; right: -2px; height: 6px; background: var(--twine); box-shadow: none; border-radius: 0; }
.round .cell { padding-top: 22px; }
.rd { width: 74px; transform-origin: 50% -18px; }
.rd .lp { top: -22px; width: 26px; margin-left: -13px; height: 36px; }
.rd .card { border-radius: 50%; width: 74px; height: 74px; padding: 22px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border-width: 2px; }
.rd .eye { top: 5px; width: 14px; height: 14px; margin-left: -7px; border-width: 3px; }
.rd .rt { font: 700 .66rem/1 var(--fm); color: var(--muted); white-space: nowrap; margin-top: 3px; }
.rd b { font: 700 1.04rem/1.15 var(--fm); color: var(--muted); }
.rd.has .card { background: var(--paper); border-color: var(--navy); border-width: 3px; }
.rd.has b { color: var(--orange); font-size: 1.12rem; }
.rd.has .rt { color: var(--navy); }
.jp .rd.has .card { background: var(--blue); border-color: var(--navy); }
.jp .rd.has b { color: #fff; font-size: 1.5rem; } .jp .rd.has .rt { color: #fff; }
.jp .rd b { font-size: 1.3rem; }
.more { margin-top: 14px; }

/* shipping tag + steps */
.ship { display: grid; gap: 28px; margin-top: 12px; }
.ship-tag { position: relative; padding-top: 28px; max-width: 340px; }
.ship-tag::before { content: ""; position: absolute; z-index: 3; top: 0; left: -6px; right: -6px; height: 9px; border-radius: 5px; background: var(--navy); box-shadow: 0 3px 0 rgba(0,31,78,.22), inset 0 2px 0 #2B5C9E; }
.ship-tag .lp { top: 2px; }
.ship-tag { transform-origin: 50% 4px; }
.ship-tag .card { border-radius: 20px 20px 16px 16px; padding: 44px 22px 20px; border-width: 3px; border-color: var(--navy); box-shadow: 0 6px 0 rgba(0,31,78,.25); background: var(--paper); }
.ship-tag .eye { top: 12px; width: 26px; height: 26px; margin-left: -13px; border-width: 5px; }
.to { font: 700 .95rem var(--fm); text-transform: uppercase; letter-spacing: .06em; color: var(--act); margin-bottom: 10px; }
#qr { width: 180px; height: 180px; margin: 0 auto; padding: 8px; background: #fff; border: 2px solid var(--navy); border-radius: 10px; color: var(--navy); }
#qr svg { width: 100%; height: 100%; display: block; }
.scan { margin-top: 10px; font: 700 .9rem var(--fm); color: var(--muted); }
.ship-t h3 { font: 800 1.6rem/1.1 var(--fb); color: var(--navy); margin-bottom: 12px; }
.steps { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 2px solid var(--kraft-line); border-radius: 14px; padding: 10px 14px 10px 10px; }
.steps .n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.2rem var(--fm); }
.steps b { font-weight: 800; font-size: 1.15rem; color: var(--navy); } .steps p { color: var(--muted); font-size: 1.02rem; line-height: 1.35; }
.ver { margin-top: 12px; font: 400 .9rem var(--fm); color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 14px; max-width: 820px; }
.faq details { background: var(--paper); border: 2px solid var(--kraft-line); border-radius: 14px; }
.faq summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; cursor: pointer; font: 800 1.12rem/1.2 var(--fb); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--navy); background: var(--kraft); }
.faq summary::after { content: "+"; margin-left: auto; font: 700 1.5rem var(--fm); color: var(--act); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] { border-color: var(--navy); }
.faq p { padding: 0 16px 16px 42px; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }

/* footer */
.foot { margin-top: 60px; background: var(--navy); color: #fff; border-top: 5px solid var(--orange); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding: 18px 0 22px; }
.fn { font: 800 1.3rem var(--fb); }
.fl { display: flex; flex-wrap: wrap; gap: 0 6px; }
.fl a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: #fff; font-weight: 700; }

/* shared chart pages */
.chart-page .page { padding: 28px 0 10px; }
.page .crumbs a { color: var(--act); }
.page h1 { font: 800 clamp(1.7rem, 6vw, 2.6rem)/1.1 var(--fb); color: var(--navy); display: flex; align-items: center; gap: 12px; }
.page h1::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--navy); background: var(--kraft); }
.page .lead { color: var(--muted); font-size: 1.08rem; }
.today-strip { background: var(--paper); border: 2px dashed var(--kraft-line); }
.today-strip b { color: var(--orange); }
.tabs { border-bottom: 3px solid var(--navy); }
.tabs a { font-weight: 800; color: var(--muted); border-radius: 12px 12px 0 0; min-height: 46px; display: inline-flex; align-items: center; }
.tabs a[aria-selected="true"] { background: var(--navy); color: #fff; border-bottom-color: var(--navy); }
.tbl-wrap { border: 2px solid var(--navy); background: var(--paper); border-radius: 14px; box-shadow: 0 5px 0 rgba(0,31,78,.2); }
table.chart thead th { background: var(--navy); color: #fff; }
table.chart tbody th { background: var(--kraft); color: var(--navy); }
table.chart th, table.chart td { border-color: var(--kraft-line); }
table.chart td.today { box-shadow: inset 0 0 0 2px var(--act); }
table.chart td.pend, table.chart td.na, table.chart .na { color: #6B7388; }
.chip { background: var(--paper); border: 2px solid var(--kraft-line); color: var(--navy); font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--act); }
.page .sec h2 { font: 800 1.5rem var(--fb); color: var(--navy); }
.crumbs a, .jump a { display: inline-block; padding: 8px 0; }

@media (min-width: 560px) {
  .rack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .round { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .bar .btn small { display: inline; }
}
@media (min-width: 860px) {
  .hero-in { grid-template-columns: 1fr 320px; align-items: center; gap: 40px; }
  .rack { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
  .r-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 820px; }
  .ship { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
  .res b { font-size: 2.7rem; }
}
@media (min-width: 1100px) {
  .rack { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .round { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}
@media (max-width: 380px) {
  .res b { font-size: 2.2rem; } .res i { font-size: .88rem; }
  .brand { font-size: 1.2rem; } .brand img { width: 38px; height: 38px; }
  .btn-sm { padding: 0 12px; }
  .mn { font-size: .92rem; }
  .card { padding-inline: 4px; }
  .mk h4 { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { .tg, .tg.go { animation: none !important; } }
