/* 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: 44px; height: 44px; }
.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.soon:hover h3 { color: inherit; }
.fx .later { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap; }
.fx .dh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.18); }
.fx .dh b { font: 600 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #DDFF3C; }
.fx .dh span { font-size: 15px; color: #fff; }
.fx .dh i { font-style: normal; color: var(--g3); margin-left: 4px; }
.day { margin-top: 28px; }
.day h4 { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #DDFF3C; margin: 0 0 14px; }
.day ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.day li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.day time { font: 400 18px/1.1 var(--head); color: var(--g3); text-transform: uppercase; }
.day li b { display: block; font-size: 17px; font-weight: 600; }
.day li em { display: block; font-style: normal; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 3px; }
.day p { font-size: 14px; color: rgba(255,255,255,.65); margin: 14px 0 0; }
.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; } .fx .later { grid-column: 2; }
  .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; } }

/* ---- half-season memberships ---- */
.ms-hero img { filter: contrast(1.08); }
.ms .mtitle small { color: rgba(255,255,255,.6); }
.ms-valid { margin: 18px 0 0; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--g3); }
/* live preview of the member's card, same proportions as the printed card (86 x 54 mm) */
.cprev { position: relative; width: min(100%, 400px); aspect-ratio: 86 / 54; margin-top: 40px; padding: 7% 7.5%; border-radius: 16px; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, #26923F 0%, #1E7B34 45%, #17672A 100%);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06) inset; transition: background .3s; }
.cprev[data-tier="player"] { background: linear-gradient(155deg, #1d1d1d 0%, #121212 55%, #0b0b0b 100%); }
.cprev::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }
.cp-crest { position: absolute; top: 9%; left: 7.5%; width: 17%; height: auto; }
.cp-season { position: absolute; top: 10%; right: 7.5%; text-align: right; }
.cp-season span { display: block; font: 600 10px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.cp-season b { display: block; font: 400 clamp(20px, 3.4vw, 28px)/1 var(--head); margin-top: 6px; }
.cp-foot { position: absolute; left: 7.5%; right: 7.5%; bottom: 21%; }
.cp-name { font: 400 clamp(19px, 3.2vw, 26px)/1.05 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-label { font: 600 10.5px/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; opacity: .85; }
.cp-hoops { position: absolute; left: 0; right: 0; bottom: 8%; display: grid; gap: 5px; }
.cp-hoops i { display: block; height: 4px; background: rgba(255,255,255,.9); }
.cprev[data-tier="player"] .cp-hoops i { background: #2EB24A; }
.plans { display: grid; }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; width: 100%; padding: 22px 24px; text-align: left; background: #fff; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line-dk); cursor: pointer; font: inherit; transition: background .15s, color .15s; }
.plan:hover:not(:disabled):not(.on) { background: #f4f6f4; }
.plan.on { background: var(--g1); color: #fff; }
.plan.on .l span { color: rgba(255,255,255,.65); }
.plan:disabled { cursor: default; }
.plan b { display: block; font: 400 19px/1.1 var(--head); text-transform: uppercase; }
.plan .l span { display: block; color: var(--mute); font-size: 13px; margin-top: 5px; letter-spacing: .02em; }
.plan .p { font: 400 20px/1 var(--head); white-space: nowrap; }
.plan:disabled .p { font: 600 12px/1 var(--body); letter-spacing: .16em; color: var(--mute); }
.person { border: 0; margin: 0 0 8px; padding: 0; }
.person legend { font: 400 16px/1 var(--head); text-transform: uppercase; padding: 18px 0 2px; }
.person + .person { border-top: 1px solid var(--line-dk); margin-top: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .three { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 12px; }
.form select { width: 100%; height: 52px; border: 1px solid var(--line-dk); border-radius: 0; padding: 0 12px; font: 17px var(--body); color: var(--ink); outline: none; background: #fff; -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.form select:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form .agree.same { margin: 16px 0 0; }
.form textarea { width: 100%; border: 1px solid var(--line-dk); border-radius: 0; padding: 12px 14px; font: 17px/1.4 var(--body); color: var(--ink); outline: none; background: #fff; resize: vertical; }
.form textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form .agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink); line-height: 1.45; margin: 20px 0 6px; cursor: pointer; }
.form .agree input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--g2, #1E7B34); }
.tk.mcard .top { background-image: url("/email/membership-hero.jpg"); background-position: center 35%; }
.tk.mcard .body { grid-template-columns: 1fr; }
.tk .printlink { padding: 0 24px 22px; }
.tk .printlink a { color: var(--g2, #1E7B34); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.tk .printlink svg { width: 14px; height: 14px; }
@media (max-width: 520px) { .form .two { grid-template-columns: 1fr; gap: 0; } .form .three { grid-template-columns: 1fr 1fr; gap: 0 12px; } .form .three > div:first-child { grid-column: 1 / -1; width: 50%; } .plan { padding: 18px 20px; } }
@media (min-width: 900px) { .ms { align-items: start; } .ms .mtitle { position: sticky; top: 96px; } .ms .buy { position: static; } }
