/* Guernsey Raiders ticket store. Club brand (green, white, Archivo). Sharp edges, hairline rules, type-led. */
@font-face { font-family: "Archivo Black"; src: url("/fonts/archivo-black-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-500-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
:root {
  --bg: #08170D; --g1: #0F2A18; --g2: #1E7B34; --g3: #3DAE49; --gold: #D9B648;
  --ink: #0d0d0d; --mute: #6d6d6d; --line: rgba(255,255,255,.12); --line-dk: #e4e4e4; --paper: #fff;
  --head: "Archivo Black", "Arial Black", Arial, sans-serif; --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px); --max: 1180px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: #fff; }
body { font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }

/* header */
.bar { position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(8, 23, 13, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font: 400 15px/1 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.bar-r { margin-left: auto; font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.testbar { background: var(--gold); color: #111; text-align: center; font: 600 13px/1.3 var(--body); padding: 7px 16px; }

/* hero */
.hero { position: relative; height: min(62vh, 560px); min-height: 380px; overflow: hidden; display: flex; align-items: flex-end; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: -1px 0; background: linear-gradient(180deg, rgba(8,23,13,.05) 30%, rgba(8,23,13,.92) 86%, var(--bg) 97%); }
.hero .in { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px 34px; }
.hero h1 { font: 400 clamp(44px, 8vw, 96px)/.92 var(--head); margin: 0; text-transform: uppercase; letter-spacing: -.01em; }
.credit { position: absolute; right: 14px; top: 12px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.65); }

/* fixtures: a list, not cards */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px 56px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; padding: 30px 0 14px; border-bottom: 2px solid #fff; }
.list-head h2 { font: 400 20px/1 var(--head); margin: 0; text-transform: uppercase; }
.list-head span { font-size: 14px; color: rgba(255,255,255,.6); }
.fx { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.fx:hover .go { background: #DDFF3C; color: var(--bg); }   /* Fantastix volt on hover */
.fx:hover h3 { color: var(--g3); }
.date .d { font: 400 52px/.9 var(--head); }
.date .m { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--g3); margin-top: 8px; }
.fx h3 { font: 400 clamp(22px, 3vw, 32px)/1.05 var(--head); margin: 0; text-transform: uppercase; transition: color .15s; }
.fx h3 small { display: block; font: 600 13px/1 var(--body); letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.fx .meta { color: rgba(255,255,255,.72); font-size: 15px; margin-top: 10px; }
/* the Tickets button is a ticket: Fantastix ticket-x notches cut into both ends, a perforation before the arrow */
.go { position: relative; display: inline-flex; align-items: center; gap: 0; height: 50px; padding: 0 0 0 26px; background: var(--g3); color: var(--bg);
  font: 400 15px/1 var(--head); text-transform: uppercase; white-space: nowrap; transition: background .15s, color .15s;
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat; }
.go .stub { display: inline-grid; place-items: center; width: 54px; height: 100%; margin-left: 22px; border-left: 2px dashed rgba(8, 23, 13, .35); }
.go svg { width: 16px; height: 16px; }
.fx:hover .go .stub { border-left-color: rgba(8, 23, 13, .25); }
.empty { padding: 40px 0; color: rgba(255,255,255,.7); }

/* match page */
.mhero { position: relative; height: min(48vh, 440px); min-height: 280px; overflow: hidden; }
.mhero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.mhero::after { content: ""; position: absolute; inset: -1px 0; background: linear-gradient(180deg, rgba(8,23,13,0) 35%, var(--bg) 97%); }
.mgrid { max-width: var(--max); margin: -96px auto 0; position: relative; z-index: 1; padding: 0 20px 56px; display: grid; gap: 0 48px; }
.mtitle small { display: block; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--g3); margin-bottom: 12px; }
.mtitle h1 { font: 400 clamp(38px, 6vw, 72px)/.95 var(--head); margin: 0; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 36px; margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div span { display: block; font-size: 13px; color: rgba(255,255,255,.55); }
.facts div b { font: 400 17px/1.3 var(--head); }
.also { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.65); }
.buy { margin-top: 30px; background: var(--paper); color: var(--ink); }
.tline { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line-dk); }
.tline b { font: 400 20px/1.1 var(--head); text-transform: uppercase; }
.tline .l span { display: block; color: var(--mute); font-size: 14px; margin-top: 4px; }
.tline .p { font: 400 20px/1 var(--head); min-width: 70px; text-align: right; }
.step { display: grid; grid-template-columns: 44px 40px 44px; height: 44px; border: 1px solid var(--line-dk); }
.step button { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.step button:hover:not(:disabled) { background: #f3f3f3; }
.step button:disabled { color: #c9c9c9; cursor: default; }
.step output { display: grid; place-items: center; font: 400 18px/1 var(--head); border-left: 1px solid var(--line-dk); border-right: 1px solid var(--line-dk); }
.step.on output { color: var(--g2); }
.form { padding: 18px 24px 4px; }
.form label { display: block; font-size: 14px; color: var(--mute); margin: 12px 0 6px; }
.form input { width: 100%; height: 52px; border: 1px solid var(--line-dk); border-radius: 0; padding: 0 14px; font-size: 17px; color: var(--ink); outline: none; background: #fff; }
.form input:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form input.err { border-color: #c4232b; box-shadow: inset 0 0 0 1px #c4232b; }
.msg { color: #c4232b; font-size: 14px; min-height: 20px; padding: 8px 24px 0; }
.payfix { padding: 12px 24px 24px; }
.btn { width: 100%; height: 60px; border: 0; background: var(--g2); color: #fff; font: 400 18px/1 var(--head); text-transform: uppercase; letter-spacing: .01em; cursor: pointer; transition: background .15s; }
.btn:hover:not(:disabled) { background: #186a2c; }
.btn:disabled { background: #c9d3cb; cursor: default; }
.btn.alt { background: #f2f2f2; color: var(--ink); }

/* order page: real tickets */
.done { max-width: 760px; margin: 0 auto; padding: 44px 20px 56px; }
.done h1 { font: 400 clamp(40px, 7vw, 64px)/.95 var(--head); margin: 0; text-transform: uppercase; }
.done .sub { color: rgba(255,255,255,.75); margin: 16px 0 0; }
.tk { position: relative; margin-top: 26px; background: #fff; color: var(--ink);
  -webkit-mask: radial-gradient(circle 14px at 0 172px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 172px, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 14px at 0 172px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 172px, #0000 98%, #000) right / 51% 100% no-repeat; }
.tk .top { height: 172px; padding: 22px 24px; background: var(--g1) url("/email/match-hero.jpg") center / cover; position: relative; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.tk .top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,23,13,.25), rgba(8,23,13,.9)); }
.tk .top > * { position: relative; }
.tk .top small { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.tk .top b { font: 400 26px/1 var(--head); text-transform: uppercase; margin-top: 8px; }
.tk .perf { border-top: 2px dashed #d8d8d8; margin: 0 22px; }
.tk .body { display: grid; grid-template-columns: 1fr 160px; gap: 20px; padding: 22px 24px 18px; align-items: start; }
.tk .k { font-size: 13px; color: var(--mute); }
.tk .v { font: 400 18px/1.25 var(--head); margin: 2px 0 14px; text-transform: uppercase; }
.tk .qr svg { width: 160px; height: 160px; display: block; }
.tk .ref { font: 600 13px/1 var(--body); letter-spacing: .08em; color: var(--mute); text-align: center; margin-top: 8px; }
.tk .wallet { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 24px 24px; }
.tk .wallet img { height: 44px; display: block; }
.links { margin-top: 28px; display: grid; gap: 1px; background: var(--line); }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; background: var(--bg); text-decoration: none; font: 400 16px/1 var(--head); text-transform: uppercase; border-bottom: 1px solid var(--line); }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 30px 20px 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; color: rgba(255,255,255,.6); font-size: 14px; }
.foot-in p { margin: 0; }
.foot .powered img { display: block; }

/* payment sheet */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; }
.sheet .pnl { width: 100%; max-width: 520px; background: #fff; color: var(--ink); padding: 26px 24px calc(26px + var(--safe-b)); max-height: 92vh; overflow: auto; }
.sheet h2 { font: 400 24px/1.05 var(--head); margin: 0; text-transform: uppercase; }
.sheet .amt { font: 400 40px/1 var(--head); margin: 16px 0 20px; }
#sumup-card { min-height: 200px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 99; background: #111; color: #fff; padding: 13px 18px; transition: all .25s; font-weight: 600; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 900px) {
  .mgrid { grid-template-columns: 1fr 440px; align-items: start; }
  .buy { margin-top: 0; position: sticky; top: 88px; }
  .sheet { align-items: center; }
}
@media (max-width: 640px) {
  .fx { grid-template-columns: 74px 1fr; gap: 16px; } .fx .go { grid-column: 1 / -1; justify-content: space-between; }
  .date .d { font-size: 42px; } .facts { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .tline { grid-template-columns: 1fr auto; padding: 20px; } .tline .p { grid-column: 1; text-align: left; min-width: 0; grid-row: 2; font-size: 17px; } .step { grid-row: 1 / span 2; grid-column: 2; }
  .tk .body { grid-template-columns: 1fr; } .tk .qr { justify-self: center; } .foot-in { flex-direction: column; text-align: center; }
}

/* My tickets */
.bar-r { text-decoration: none; }
.bar-r:hover { color: #fff; }
.acct-head { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 40px; }
.acct-head h1, .signin h1 { font: 400 clamp(38px, 6vw, 60px)/.95 var(--head); margin: 0; text-transform: uppercase; }
.acct-mail { color: rgba(255,255,255,.6); margin: 10px 0 0; }
.link { border: 0; background: none; color: rgba(255,255,255,.75); font: 600 14px/1 var(--body); text-decoration: underline; cursor: pointer; padding: 8px 0; }
.card-row { grid-template-columns: 110px 1fr auto; }
.card-row .acts { display: flex; align-items: center; gap: 16px; }
.card-row .acts img { display: block; height: 40px; }
.card-row .plain { font: 400 14px/1 var(--head); text-transform: uppercase; }
.signin { max-width: 440px; margin: 0 auto; padding: 56px 20px 64px; }
.signin p { color: rgba(255,255,255,.7); margin: 16px 0 0; }
.signin label { display: block; font-size: 14px; color: rgba(255,255,255,.65); margin: 24px 0 8px; }
.signin input { width: 100%; height: 56px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; padding: 0 16px; font-size: 18px; outline: none; border-radius: 0; }
.signin input:focus { border-color: #fff; }
.signin input.code { font: 400 28px/1 var(--head); letter-spacing: .4em; text-align: center; }
.signin .msg { padding: 10px 0 0; color: #ff8a8b; }
.signin .btn { margin-top: 14px; }
.signin .link { margin-top: 14px; }
@media (max-width: 640px) { .card-row { grid-template-columns: 74px 1fr; } .card-row .acts { grid-column: 1 / -1; } .acct-head { padding-top: 28px; } }
