:root {
  --red: #B4081B;
  --cream: #E9E6D5;
  --black: #080808;
  --white: #FFFFFF;
  --line: rgba(8, 8, 8, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --shadow: 0 18px 40px rgba(8, 8, 8, 0.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--cream); color: var(--black); font-family: var(--sans); }
body { overflow-x: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; padding-bottom: 86px; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 18px; background: rgba(233,230,213,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.disc-mark { width: 42px; aspect-ratio: 1; border-radius: 50%; background: var(--black); position: relative; flex: 0 0 auto; }
.disc-mark:after { content: ""; position: absolute; inset: 27%; background: var(--cream); border-radius: 50%; }
.brand-kicker { color: var(--red); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .24em; margin-bottom: 3px; }
.brand-title { font-family: var(--serif); font-size: 21px; line-height: 1; font-weight: 700; }
.header-date { text-align: right; font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.page { width: min(100%,1120px); margin: 0 auto; padding: 18px; }
.hero { min-height: 420px; background: var(--red); color: var(--cream); padding: 30px 24px; display: grid; align-content: space-between; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero:after { content: ""; position: absolute; width: 180px; aspect-ratio: 1; border-radius: 50%; border: 46px solid var(--black); right: -48px; top: -38px; }
.hero-kicker { text-transform: uppercase; letter-spacing: .24em; font-size: 12px; font-weight: 900; position: relative; z-index: 2; }
.hero-title { max-width: 760px; margin: 56px 0 16px; font-family: var(--serif); font-size: clamp(54px,12vw,108px); line-height: .82; letter-spacing: -.04em; position: relative; z-index: 2; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-top: 2px solid rgba(233,230,213,.7); padding-top: 16px; position: relative; z-index: 2; }
.hero-meta strong { display: block; font-size: 20px; margin-bottom: 4px; }
.section { margin-top: 34px; }
.section-eyebrow { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(38px,8vw,72px); line-height: .95; letter-spacing: -.03em; }
.utility-grid { display: grid; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.utility-card { min-height: 150px; border: 1px solid var(--black); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: transparent; text-align: left; color: inherit; }
.utility-card.red { background: var(--red); color: var(--cream); border-color: var(--red); }
.utility-card.black { background: var(--black); color: var(--cream); border-color: var(--black); }
.utility-card h3 { margin: 0; font-size: 20px; text-transform: uppercase; }
.utility-card p { margin: 0; font-size: 14px; line-height: 1.45; }
.card-number { font-family: var(--serif); font-size: 44px; line-height: 1; }
.list-panel { border-top: 2px solid var(--black); }
.list-row { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.list-row h3 { margin: 0; font-size: 18px; }
.list-row p { margin: 0; color: #3b3b36; line-height: 1.45; font-size: 14px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill { border: 1px solid var(--black); background: transparent; padding: 9px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.pill.active { background: var(--black); color: var(--cream); }
.team-grid, .offer-grid { display: grid; gap: 12px; }
.team-card { background: var(--cream); border: 1px solid var(--black); padding: 18px; position: relative; overflow: hidden; }
.team-card:after { content: ""; position: absolute; width: 54px; height: 54px; border: 15px solid var(--red); border-radius: 50%; right: -11px; top: -11px; }
.team-card small { color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.team-card h3 { margin: 8px 0 0; max-width: calc(100% - 44px); font-family: var(--serif); font-size: 28px; line-height: 1.02; }
/* V1.4: benefit cards only. Existing site layout and data connection remain unchanged. */
.benefit-intro { margin: -5px 0 18px; font-size: 14px; line-height: 1.5; }
.benefit-card { min-width: 0; }
.benefit-flip { width: 100%; display: block; padding: 0; border: 0; background: transparent; color: var(--cream); text-align: left; perspective: 1200px; }
.benefit-flip:focus-visible { outline: 3px solid var(--black); outline-offset: 4px; }
.benefit-inner { display: grid; transform-style: preserve-3d; transition: transform 450ms cubic-bezier(.2,.75,.2,1); }
.benefit-flip.is-flipped .benefit-inner { transform: rotateY(180deg); }
.benefit-face { grid-area: 1 / 1; min-width: 0; min-height: 330px; padding: 20px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow-wrap: anywhere; }
.benefit-front { background: var(--red); }
.benefit-card:nth-child(even) .benefit-front { background: var(--black); }
.benefit-back { background: var(--black); transform: rotateY(180deg); }
.benefit-logo { display: flex; justify-content: center; align-items: center; min-height: 95px; height: 95px; padding: 10px 15px; background: var(--cream); color: var(--black); overflow: hidden; }
.benefit-logo-image { max-width: 100%; max-height: 72px; object-fit: contain; }
.benefit-logo-text { font-family: var(--serif); font-size: clamp(25px, 5vw, 34px); font-weight: 800; text-align: center; }
.benefit-logo-text[hidden], .benefit-logo-image[hidden] { display: none; }
.benefit-front-copy { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 18px 0; }
.benefit-eyebrow { text-transform: uppercase; letter-spacing: .11em; font-size: 10px; font-weight: 900; line-height: 1.4; }
.benefit-headline { display: block; font-family: var(--serif); font-size: clamp(29px, 5vw, 47px); line-height: .98; letter-spacing: -.025em; margin: 10px 0 7px; font-weight: 700; }
.benefit-subtitle { display: block; font-size: 16px; line-height: 1.3; font-weight: 700; }
.benefit-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(233,230,213,.55); text-transform: uppercase; letter-spacing: .07em; font-size: 10px; line-height: 1.4; font-weight: 900; }
.benefit-action { white-space: nowrap; }
.benefit-back-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid rgba(233,230,213,.55); padding-bottom: 10px; text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.benefit-back-body { display: flex; flex: 1; flex-direction: column; gap: 11px; padding: 13px 0; font-size: 13px; line-height: 1.42; }
.benefit-back-title { font-family: var(--serif); font-size: 27px; font-weight: 700; line-height: 1; }
.benefit-detail { font-size: 14px; line-height: 1.4; }
.benefit-meta strong { text-transform: uppercase; font-size: 10px; letter-spacing: .06em; }
.benefit-back-footer { border-top: 1px solid rgba(233,230,213,.55); padding-top: 10px; text-align: right; font-size: 11px; font-weight: 900; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .benefit-inner { transition: none; } }
.notice { border: 1px solid var(--red); color: var(--red); padding: 14px 16px; font-weight: 800; margin: 14px 0; }
.schedule-empty { background: var(--black); color: var(--cream); padding: 30px 22px; }
.schedule-empty .big { font-family: var(--serif); font-size: 52px; line-height: .95; margin-bottom: 16px; }
.pass-wrap { max-width: 680px; margin: 0 auto; }
.pass-select { width: 100%; border: 1px solid var(--black); background: var(--cream); padding: 14px; margin: 8px 0 16px; }
.pass-card { background: var(--red); color: var(--cream); padding: 24px; min-height: 480px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.pass-card:after { content: ""; position: absolute; width: 210px; aspect-ratio: 1; border-radius: 50%; border: 54px solid var(--black); top: -58px; right: -70px; }
.pass-topline { display: flex; justify-content: space-between; gap: 14px; position: relative; z-index: 2; }
.pass-label { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; font-weight: 900; }
.pass-team { position: relative; z-index: 2; margin-top: 90px; font-family: var(--serif); font-size: clamp(46px,11vw,82px); line-height: .86; letter-spacing: -.035em; max-width: 88%; }
.pass-bottom { position: absolute; left: 24px; right: 24px; bottom: 24px; border-top: 2px solid rgba(233,230,213,.65); padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; z-index: 2; }
.pass-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.pass-status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cream); }
.qr-placeholder { width: 100px; height: 100px; border: 8px solid var(--cream); background: var(--black); position: relative; }
.qr-placeholder:after { content: "QR"; position: absolute; inset: 0; display: grid; place-items: center; background: var(--cream); color: var(--red); font-weight: 900; font-size: 22px; }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5,1fr); background: var(--black); color: var(--cream); border-top: 2px solid var(--red); }
.nav-btn { border: 0; background: transparent; color: inherit; padding: 11px 6px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; opacity: .66; }
.nav-btn.active { background: var(--red); opacity: 1; }
.loading { padding: 50px 20px; text-align: center; font-family: var(--serif); font-size: 36px; }
.error-box { padding: 14px; background: #fff0f0; border: 1px solid var(--red); color: var(--red); margin-bottom: 18px; font-size: 14px; }
.muted { color: #56564f; }
@media (min-width:720px) { .page{padding:30px}.site-header{padding:16px 30px}.utility-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:520px;padding:38px} }
@media (min-width:980px) { .team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bottom-nav{left:50%;transform:translateX(-50%);max-width:720px;bottom:16px;border:1px solid var(--red)} }


.access-card {
  background: var(--black);
  color: var(--cream);
  padding: 24px;
  border-top: 8px solid var(--red);
  box-shadow: var(--shadow);
}
.access-kicker {
  color: var(--red);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
  margin-bottom: 18px;
}
.access-card h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: .98;
}
.access-card p {
  margin: 0 0 20px;
  line-height: 1.5;
  max-width: 520px;
}
.access-form {
  display: grid;
  gap: 10px;
}
.access-input {
  width: 100%;
  border: 1px solid rgba(233,230,213,.55);
  background: transparent;
  color: var(--cream);
  padding: 14px 15px;
  outline: none;
}
.access-input:focus {
  border-color: var(--red);
}
.access-input::placeholder {
  color: rgba(233,230,213,.55);
}
.access-button {
  border: 0;
  background: var(--red);
  color: var(--cream);
  padding: 14px 18px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}
.access-button:disabled,
.access-input:disabled {
  opacity: .55;
}
.access-error {
  margin-top: 14px;
  border-top: 1px solid rgba(233,230,213,.25);
  padding-top: 14px;
  color: #ff9090;
  font-weight: 800;
}
.pass-intro {
  max-width: 560px;
  line-height: 1.5;
  margin: -4px 0 20px;
}
.pass-team-picker {
  display: grid;
  gap: 10px;
}
.pass-team-choice {
  appearance: none;
  width: 100%;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  padding: 16px;
  text-align: left;
  display: grid;
  gap: 5px;
}
.pass-team-choice:hover,
.pass-team-choice:focus {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.pass-team-choice span {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 900;
}
.pass-team-choice strong {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}
.pass-controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.access-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  font-weight: 900;
}
.change-team-button {
  margin-top: 12px;
}
.pass-card-no-qr {
  min-height: 560px;
}
.partner-logos {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}
.partner-mark {
  min-height: 76px;
  padding: 10px;
  background: var(--cream);
  color: var(--black);
  display: grid;
  place-items: center;
  text-align: center;
}
.partner-mark img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.partner-fallback {
  display: none;
  font-family: var(--serif);
  font-size: clamp(18px,5vw,28px);
  font-weight: 700;
}
.pass-bottom-simple {
  grid-template-columns: 1fr;
}
.pass-dates {
  margin-top: 9px;
}
@media (min-width:720px) {
  .access-form {
    grid-template-columns: 1fr auto;
  }
  .pass-team-picker {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* V1.4.3: simple spinning red disc with a visible missing segment.
   This replaces the boxed Google Sheets status, without touching data loading. */
.nsut-offers-loading {
  min-height: clamp(260px, 43vh, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
.nsut-loading-disc {
  width: 88px;
  height: 88px;
  display: block;
  color: var(--red);
  transform-origin: center;
  animation: nsut-disc-spin 1.1s linear infinite;
}
.nsut-loading-caption {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--black);
}
@keyframes nsut-disc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .nsut-loading-disc { animation: none; }
}

/* V1.4.4: Schedule timetable and view-only filters. Other pages remain unchanged. */
.schedule-page .section-title { font-size: clamp(42px, 8vw, 90px); line-height: .94; }
.schedule-controls { display: grid; gap: 10px; margin: 22px 0 20px; }
.schedule-control-label { display: block; font-weight: 800; font-size: 15px; margin-top: 4px; }
.schedule-search-wrap { position: relative; min-width: 0; z-index: 5; }
.schedule-search-field { border: 1px solid #ada99c; background: rgba(255,255,255,.3); display: flex; align-items: center; min-height: 52px; }
.schedule-search-icon { font-size: 29px; width: 50px; flex: 0 0 50px; text-align: center; line-height: 1; }
.schedule-search-field input { min-width: 0; flex: 1; padding: 12px 0; background: transparent; color: var(--black); border: 0; outline: 0; font: inherit; font-size: 15px; }
.schedule-search-field input:focus-visible { outline: 2px solid var(--red); outline-offset: -3px; }
.schedule-search-field button { width: 44px; min-height: 50px; border: 0; background: transparent; font-size: 25px; color: var(--black); }
.schedule-suggestions { position: absolute; top: calc(100% - 1px); left: 0; right: 0; max-height: 225px; overflow-y: auto; background: #f5f2e7; border: 1px solid #aaa599; box-shadow: 0 8px 16px rgba(0,0,0,.15); z-index: 10; }
.schedule-suggestions[hidden] { display: none; }
.schedule-option { display: block; width: 100%; padding: 12px 14px; background: transparent; border: 0; border-bottom: 1px solid #d4d0c3; text-align: left; font: inherit; font-size: 14px; color: var(--black); cursor: pointer; }
.schedule-option:hover, .schedule-option:focus-visible { background: var(--red); color: var(--cream); }
.schedule-no-options { padding: 12px; font-size: 13px; }
.schedule-day-filters, .schedule-venue-filters { display: grid; gap: 8px; }
.schedule-day-filters { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 7px 0 10px; }
.schedule-venue-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
.schedule-filter { min-width: 0; min-height: 45px; padding: 10px 5px; border: 1px solid #ada99c; border-radius: 4px; background: transparent; color: var(--black); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.schedule-filter.active { background: var(--red); color: #fff; border-color: var(--red); }
.schedule-filter:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.schedule-timetable { display: grid; grid-template-columns: 68px minmax(0,1fr) minmax(0,1fr); border: 1px solid #c9c5ba; border-radius: 5px; overflow: hidden; background: rgba(255,255,255,.28); margin-bottom: 18px; }
.schedule-timetable.one { grid-template-columns: 70px minmax(0,1fr); }
.schedule-head-cell { background: rgba(0,0,0,.045); font-weight: 900; font-size: 11px; letter-spacing: .04em; padding: 13px 4px; text-align: center; border-right: 1px solid #d6d1c7; border-bottom: 1px solid #d6d1c7; }
.schedule-time-cell { display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; font-variant-numeric: tabular-nums; padding: 14px 4px; border-bottom: 1px solid #d6d1c7; border-right: 1px solid #d6d1c7; }
.schedule-game-cell { min-width: 0; min-height: 85px; display: flex; flex-direction: column; justify-content: center; padding: 11px 5px; border-right: 1px solid #d6d1c7; border-bottom: 1px solid #d6d1c7; }
.schedule-game { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 4px 0; overflow-wrap: anywhere; font-weight: 800; font-size: 12px; line-height: 1.25; }
.schedule-game + .schedule-game { border-top: 1px solid #d6d1c7; padding-top: 10px; margin-top: 7px; }
.schedule-game small { font-size: 11px; font-weight: 500; color: #666; }
.schedule-no-matches { padding: 28px 15px; border: 1px solid #c9c5ba; text-align: center; font-size: 14px; margin-bottom: 20px; }
.schedule-retry { margin: 12px auto 0; display: block; background: var(--red); color: white; border: 0; padding: 11px 15px; font-weight: 800; }
@media (min-width: 600px) { .schedule-timetable { grid-template-columns: 100px minmax(0,1fr) minmax(0,1fr); } .schedule-timetable.one { grid-template-columns: 100px minmax(0,1fr); } .schedule-game { font-size: 16px; } .schedule-time-cell { font-size: 16px; } .schedule-filter { font-size: 15px; } }

/* V1.4.6: public-data cache status and installed-app pull-to-refresh.
   No navigation, backend, or existing page layout changes. */
.nsut-data-status { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; padding:6px 12px; background:rgba(8,8,8,.045); color:#45443e; font-size:11px; font-weight:700; line-height:1.4; text-align:center; }
.nsut-status-dot { width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:var(--red); }
.nsut-status-dot.stale { background:#80600b; }
.nsut-data-status button { border:0; padding:3px 7px; background:transparent; color:var(--red); font:inherit; text-decoration:underline; }
.nsut-pull-refresh { position:fixed; top:0; left:50%; transform:translate(-50%,-120%); z-index:35; pointer-events:none; display:flex; align-items:center; gap:10px; padding:10px 16px; border:1px solid var(--red); border-radius:0 0 8px 8px; background:var(--cream); color:var(--black); box-shadow:0 6px 20px rgba(0,0,0,.15); font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; transition:transform .2s ease; }
.nsut-pull-refresh .nsut-loading-disc { width:26px; height:26px; animation:none; }
.nsut-pull-refresh.is-pulling, .nsut-pull-refresh.is-refreshing { transform:translate(-50%,0); }
.nsut-pull-refresh.is-refreshing .nsut-loading-disc { animation:nsut-disc-spin 1.1s linear infinite; }
@media (prefers-reduced-motion:reduce) { .nsut-pull-refresh { transition:none; } .nsut-pull-refresh.is-refreshing .nsut-loading-disc { animation:none; } }

/* V1.4.7: installed mobile web app navigation only.
   The browser version is deliberately unaffected. */
@media (max-width: 979px) {
  html.nsut-installed-app .bottom-nav {
    bottom: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--black);
  }
  html.nsut-installed-app .nav-btn {
    min-height: 54px;
    padding: 15px 4px;
    touch-action: manipulation;
  }
  html.nsut-installed-app .app-shell {
    padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px));
  }
}

/* V1.4.8: Results and women's division text, only on light surfaces. */
.nsut-womens-name { color: var(--red); }
.schedule-option:hover .nsut-womens-name, .schedule-option:focus-visible .nsut-womens-name { color: var(--cream); }
.nsut-schedule-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:20px 0 10px; }
.nsut-schedule-tab { min-height:48px; border:2px solid var(--red); background:transparent; color:var(--red); font-size:13px; font-weight:900; text-transform:uppercase; letter-spacing:.09em; }
.nsut-schedule-tab.active { background:var(--red); color:var(--cream); }
.nsut-schedule-tab:focus-visible { outline:3px solid var(--black); outline-offset:2px; }
.game-live-label { background:var(--red); color:var(--cream); padding:2px 5px; font-size:9px; letter-spacing:.08em; }
.nsut-results-list { display:grid; gap:10px; margin-bottom:24px; }
.nsut-result-card { border:1px solid #c9c5ba; background:rgba(255,255,255,.36); padding:15px; }
.nsut-result-meta { display:flex; justify-content:space-between; gap:12px; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; color:#4a4944; }
.nsut-result-match { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:10px; align-items:center; margin:16px 0 8px; }
.nsut-result-team { font-weight:900; font-size:clamp(12px,3.6vw,18px); overflow-wrap:anywhere; }
.nsut-result-team:last-child { text-align:right; }
.nsut-result-score { white-space:nowrap; font-family:var(--serif); font-size:clamp(19px,6vw,32px); font-variant-numeric:tabular-nums; }
.nsut-result-stage { font-size:11px; color:#56564f; }
/* Pass: retain the original credential proportions and disc, add logos and a live strip. */
.pass-card-no-qr { min-height:560px; padding-bottom:130px; }
.partner-logos { margin-top:28px; }
.nsut-partner-button { width:100%; border:2px solid rgba(233,230,213,.9); border-radius:4px; cursor:pointer; }
.nsut-partner-button:focus-visible { outline:3px solid var(--cream); outline-offset:3px; }
.nsut-partner-dark { background:#080808; color:#fff; }
.nsut-partner-rax { background:#ff0050; color:#fff; }
.nsut-partner-button img { max-height:54px; max-width:100%; }
.nsut-partner-button .partner-fallback { color:#fff; }
.nsut-live-strip { position:relative; z-index:2; margin:20px 0 118px; background:rgba(8,8,8,.24); border-radius:8px; padding:12px 12px 10px; overflow:hidden; }
.nsut-live-strip-top { display:flex; justify-content:space-between; gap:6px; align-items:center; font-size:clamp(8px,2.5vw,11px); font-weight:900; letter-spacing:.1em; }
.nsut-live-strip-top > span:first-child { display:flex; align-items:center; gap:7px; }
.nsut-live-dot { display:inline-block; flex:0 0 9px; width:9px; height:9px; background:var(--cream); border-radius:50%; }
.nsut-live-strip.active .nsut-live-dot { animation:nsut-live-pulse 1.8s ease-in-out infinite; }
.nsut-live-stripes { height:20px; margin-top:10px; background:repeating-linear-gradient(120deg,rgba(233,230,213,.65) 0 9px,transparent 9px 23px); background-size:100px 100%; }
.nsut-live-strip.active .nsut-live-stripes { animation:nsut-live-slide 3s linear infinite; }
.nsut-live-strip.expired { filter:grayscale(1); opacity:.82; }
.nsut-live-strip.upcoming { opacity:.8; }
@keyframes nsut-live-pulse { 50% { opacity:.35; transform:scale(.75); } }
@keyframes nsut-live-slide { to { background-position:100px 0; } }
@media (prefers-reduced-motion:reduce) { .nsut-live-strip.active .nsut-live-stripes, .nsut-live-strip.active .nsut-live-dot { animation:none; } }
.nsut-pass-dialog-backdrop { position:fixed; inset:0; z-index:60; background:rgba(8,8,8,.72); display:flex; justify-content:center; align-items:center; padding:18px; }
.nsut-pass-dialog { position:relative; background:var(--cream); color:var(--black); width:min(100%,480px); max-height:calc(100dvh - 36px); overflow-y:auto; box-shadow:0 18px 50px rgba(0,0,0,.35); border-radius:10px; }
.nsut-dialog-x { position:absolute; top:8px; right:9px; z-index:1; border:0; background:rgba(8,8,8,.8); color:#fff; width:40px; height:40px; border-radius:50%; font-size:26px; }
.nsut-dialog-logo { height:160px; display:grid; place-items:center; padding:30px; }
.nsut-dialog-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.nsut-dialog-body { padding:22px; }
.nsut-dialog-body h2 { font-family:var(--serif); font-size:32px; margin:6px 0 14px; }
.nsut-dialog-offer { border-top:1px solid #c9c5ba; padding:13px 0; line-height:1.5; }
.nsut-dialog-offer strong { font-size:16px; }
.nsut-dialog-offer p { font-size:13px; margin:8px 0 0; }
.nsut-dialog-status { padding:12px; background:rgba(180,8,27,.08); border-left:3px solid var(--red); font-size:13px; }
.nsut-dialog-close { background:var(--red); color:var(--cream); border:0; width:100%; min-height:46px; font-weight:900; }
@media (max-width:400px) { .pass-card { padding:18px; } .pass-card-no-qr { min-height:560px; } .pass-team { font-size:clamp(40px,11vw,68px); } .pass-bottom { left:18px; right:18px; bottom:20px; } .partner-logos { gap:5px; } .partner-mark { padding:5px; min-height:66px; } .nsut-live-strip { padding:10px 8px; } }
/* V1.4.8: noticeably raise installed-app navigation beyond V1.4.7. Browser untouched. */
@media (max-width:979px) {
  html.nsut-installed-app .bottom-nav { bottom:0; padding-bottom:calc(40px + env(safe-area-inset-bottom,0px)); }
  html.nsut-installed-app .nav-btn { min-height:58px; padding:17px 3px; }
  html.nsut-installed-app .app-shell { padding-bottom:calc(142px + env(safe-area-inset-bottom,0px)); }
}

.nsut-offer-logo-dark { background:#080808; color:#fff; }
.nsut-offer-logo-rax { background:#ff0050; color:#fff; }

/* V1.4.9: navigation icons and weekend event details */
.nav-btn { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.nav-icon { display:block; flex:0 0 auto; }
.nav-btn span { display:block; }
.weekend-event-time { color:var(--red) !important; font-weight:900; }
.nsut-dialog-logo-fallback { font-family:var(--serif); font-size:clamp(26px,5vw,38px); font-weight:800; text-align:center; }
@media (max-width:979px) {
  html.nsut-installed-app .nav-btn { padding-top:12px; padding-bottom:12px; }
}
.partner-fallback:not([hidden]) { display:block; }
.partner-mark img[hidden], .nsut-dialog-logo img[hidden], .nsut-dialog-logo-fallback[hidden] { display:none; }

/* V1.4.10: What's On, real Helsinki-time ordering and subdued finished events */
.nsut-events-list { display:grid; gap:12px; }
.nsut-event-card { background:#fffdf5; color:#080808; border:1px solid #c9c5b7; border-radius:10px; overflow:hidden; }
.nsut-event-head { padding:14px; display:flex; justify-content:space-between; align-items:flex-start; gap:8px; }
.nsut-event-head h3 { font-size:18px; line-height:1.2; margin:0; }
.nsut-event-date { font-size:12px; font-weight:800; margin-top:7px; }
.nsut-event-tag { flex-shrink:0; background:var(--red); color:#fff; border-radius:4px; padding:5px 8px; font-size:10px; font-weight:900; letter-spacing:.06em; }
.nsut-event-times { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; padding:13px 14px; border-top:1px solid #d8d4c7; background:#f3f0e6; }
.nsut-event-time-item { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1; }
.nsut-event-time-item span { font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.nsut-event-time-item strong { font-size:20px; font-weight:900; color:var(--red); font-variant-numeric:tabular-nums; }
.nsut-event-time-item strong.nsut-event-relative { font-size:14px; line-height:1.25; }
.nsut-event-location, .nsut-event-details { margin:0; padding:11px 14px; font-size:13px; line-height:1.5; }
.nsut-event-location { border-top:1px solid #d8d4c7; font-weight:700; }
.nsut-event-details { border-top:1px solid #e5e1d5; }
.nsut-event-note { margin:0 14px 14px; border-left:3px solid var(--red); padding:11px 12px; background:#f4f0e6; font-size:12px; line-height:1.5; }
.nsut-event-divider { display:flex; align-items:center; gap:12px; color:#77746f; font-size:11px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; margin:12px 0 0; }
.nsut-event-divider:before,.nsut-event-divider:after { content:""; height:2px; background:var(--red); flex:1; }
.nsut-event-card.is-past { background:#e1dfd7; color:#77746f; border-color:#b9b6ad; }
.nsut-event-card.is-past .nsut-event-tag { background:#d0cdc5; color:#77746f; }
.nsut-event-card.is-past .nsut-event-times { background:#d8d5cc; border-color:#c6c2b8; }
.nsut-event-card.is-past .nsut-event-time-item strong { color:#77746f; }
.nsut-event-card.is-past .nsut-event-location,.nsut-event-card.is-past .nsut-event-details { border-color:#c6c2b8; }
.nsut-event-card.is-past .nsut-event-note { background:#d5d2c9; border-left-color:#a5a098; }

/* V1.4.10: approved animated pass bar, including all three states. */
.nsut-staff-preview-controls { margin:0 0 18px; }
.nsut-staff-preview-controls .pass-select { margin-bottom:6px; }
.nsut-preview-warning { margin:4px 0 12px; color:var(--red); font-size:12px; font-weight:900; line-height:1.4; }
.pass-card-no-qr { min-height:670px; padding-bottom:150px; }
.nsut-live-strip { --nsut-stripe-color:#D6A520; position:relative; z-index:2; margin:20px 0 130px; padding:14px 12px 12px; background:var(--cream); color:var(--black); border-radius:10px; overflow:hidden; }
.nsut-live-strip.upcoming { --nsut-stripe-color:#D6A520; opacity:1; }
.nsut-live-strip.active { --nsut-stripe-color:#16834A; }
.nsut-live-strip.expired { --nsut-stripe-color:#B4081B; filter:none; opacity:1; }
.nsut-live-strip-top { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; font-weight:900; letter-spacing:.08em; }
.nsut-live-strip-top .nsut-live-status { display:flex; align-items:center; gap:7px; color:var(--nsut-stripe-color); text-align:right; white-space:nowrap; }
.nsut-live-dot { display:inline-block; width:13px; height:13px; flex:0 0 13px; background:var(--nsut-stripe-color); border-radius:50%; animation:nsut-status-pulse 1.6s ease-in-out infinite; }
.nsut-live-stripes { position:relative; height:101px; margin:15px 0 10px; background:#171717; border:3px solid #858585; border-radius:8px; overflow:hidden; }
.nsut-live-svg { position:absolute; top:0; left:50%; width:900px; height:95px; transform:translateX(-50%); max-width:none; display:block; }
.nsut-stripe-motion { animation:nsut-stripe-scroll 3s linear infinite; }
.nsut-glow-wide { animation:nsut-wide-breathe 5s ease-in-out infinite; }
.nsut-glow-core { animation:nsut-core-breathe 5s ease-in-out infinite; }
.nsut-live-strip-foot { display:flex; justify-content:space-between; gap:8px; font-size:10px; font-weight:900; letter-spacing:.04em; }
@keyframes nsut-stripe-scroll { from { transform:translateX(0); } to { transform:translateX(24px); } }
@keyframes nsut-wide-breathe { 0%,100% { opacity:.03; } 50% { opacity:1; } }
@keyframes nsut-core-breathe { 0%,100% { opacity:.12; } 50% { opacity:1; } }
@keyframes nsut-status-pulse { 0%,100% { opacity:1; box-shadow:0 0 0 0 var(--nsut-stripe-color); } 50% { opacity:.65; box-shadow:0 0 0 8px transparent; } }
@media (max-width:400px) { .pass-card-no-qr { min-height:670px; } .nsut-live-strip { padding:12px 8px; } .nsut-live-strip-top { font-size:10px; } .nsut-event-time-item strong { font-size:18px; } }
@media (prefers-reduced-motion:reduce) {
  .nsut-stripe-motion,.nsut-glow-wide,.nsut-glow-core,.nsut-live-dot { animation:none !important; }
  .nsut-glow-wide { opacity:.6; }
  .nsut-glow-core { opacity:.65; }
}

/* Compact credential: place the original date/status footer directly below the bar. */
.pass-card-no-qr { min-height:0; padding-bottom:24px; }
.pass-card-no-qr .nsut-live-strip { margin-bottom:0; }
.pass-card-no-qr .pass-bottom-simple { position:relative; left:auto; right:auto; bottom:auto; margin-top:20px; }
.nsut-live-strip .nsut-live-stripes { animation:none; }
.nsut-live-strip .nsut-live-dot { animation:nsut-status-pulse 1.6s ease-in-out infinite; }
@media(max-width:400px) { .pass-card-no-qr { min-height:0; padding-bottom:22px; } }
@media(prefers-reduced-motion:reduce) { .nsut-live-strip .nsut-live-dot { animation:none; } }

/* V1.4.10a: no redundant pass status beneath security bar. */
.pass-card-no-qr .pass-dates { margin-top:0; }

/* V1.4.10b — uniform black offer cards; preserve partner logo surfaces. */
.benefit-front, .benefit-card:nth-child(even) .benefit-front, .benefit-back { background:var(--black); color:var(--cream); }

/* Teams: use the same 3D flip timing as the Offers cards. */
.team-card-flippable { padding:0; overflow:visible; background:transparent; border:0; }
.team-card-flippable::after { display:none; }
.team-flip { display:block; width:100%; border:0; padding:0; color:var(--black); background:transparent; text-align:left; perspective:1200px; }
.team-flip:focus-visible { outline:3px solid var(--red); outline-offset:3px; }
.team-inner { display:grid; transform-style:preserve-3d; transition:transform 450ms cubic-bezier(.2,.75,.2,1); }
.team-flip.is-flipped .team-inner { transform:rotateY(180deg); }
.team-face { grid-area:1 / 1; display:flex; flex-direction:column; min-width:0; min-height:175px; padding:18px; backface-visibility:hidden; -webkit-backface-visibility:hidden; overflow-wrap:anywhere; }
.team-front { position:relative; border:1px solid var(--black); background:var(--cream); overflow:hidden; }
.team-front::after { content:""; position:absolute; width:54px; height:54px; border:15px solid var(--red); border-radius:50%; right:-11px; top:-11px; pointer-events:none; }
.team-face small { color:var(--red); text-transform:uppercase; letter-spacing:.14em; font-weight:900; }
.team-face h3 { margin:8px 0 0; max-width:calc(100% - 44px); font-family:var(--serif); font-size:28px; line-height:1.02; }
.team-flip-hint { display:block; margin-top:auto; padding-top:16px; font-size:10px; text-transform:uppercase; font-weight:900; letter-spacing:.07em; }
.team-back { transform:rotateY(180deg); background:var(--black); color:var(--cream); border:1px solid var(--black); gap:12px; }
.team-back strong { font-family:var(--serif); font-size:23px; line-height:1.1; }
.team-notes { display:block; white-space:pre-line; font-size:14px; line-height:1.5; max-height:230px; overflow-y:auto; overscroll-behavior:contain; }
.team-back .team-flip-hint { border-top:1px solid rgba(233,230,213,.45); }
@media(prefers-reduced-motion:reduce){ .team-inner { transition:none; } }

/* Installed web app only: branded area under navigation; browser layout unchanged. */
.nsut-installed-brand { display:none; }
@media(max-width:979px){
 html.nsut-installed-app .bottom-nav { padding-bottom:0; }
 html.nsut-installed-app .nsut-installed-brand { grid-column:1 / -1; display:flex; align-items:center; justify-content:center; gap:12px; height:86px; padding:9px 14px calc(9px + env(safe-area-inset-bottom,0px)); background:var(--black); border-top:2px solid var(--red); color:var(--cream); }
 html.nsut-installed-app .nsut-footer-disc { width:36px; height:36px; border:9px solid var(--red); border-radius:50%; flex:0 0 auto; }
 html.nsut-installed-app .nsut-footer-wordmark { display:flex; flex-direction:column; gap:4px; }
 html.nsut-installed-app .nsut-footer-wordmark>span { font-size:9px; font-weight:900; letter-spacing:.22em; color:#a6a29a; }
 html.nsut-installed-app .nsut-footer-wordmark>strong { font-family:var(--serif); font-size:22px; line-height:1; }
 html.nsut-installed-app .app-shell { padding-bottom:calc(185px + env(safe-area-inset-bottom,0px)); }
}

/* V1.4.10c — every sponsor logo is presented directly on NSUT black.
   Dynamic Drive logos are transparent; no partner-specific coloured/cream panels. */
.benefit-logo,
.nsut-offer-logo-dark,
.nsut-offer-logo-rax,
.partner-mark,
.nsut-partner-dark,
.nsut-partner-rax,
.nsut-dialog-logo,
.nsut-partner-dark.nsut-dialog-logo,
.nsut-partner-rax.nsut-dialog-logo {
  background: #080808;
  color: #E9E6D5;
}
.benefit-logo-image,
.partner-mark img,
.nsut-dialog-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
}
.nsut-partner-button { border-color: transparent; }

/* V1.4.10d: sheet-driven number of schedule days/venues and multi-line hero copy. */
.hero-title { white-space: pre-line; }
.schedule-day-filters { grid-template-columns: repeat(auto-fit,minmax(105px,1fr)); }
.schedule-venue-filters { grid-template-columns: repeat(auto-fit,minmax(105px,1fr)); }
.schedule-timetable { grid-template-columns: 68px repeat(var(--nsut-schedule-venues,2),minmax(0,1fr)); }
.schedule-timetable.one { grid-template-columns: 70px minmax(0,1fr); }
@media (min-width:600px) {
  .schedule-timetable { grid-template-columns: 100px repeat(var(--nsut-schedule-venues,2),minmax(0,1fr)); }
  .schedule-timetable.one { grid-template-columns: 100px minmax(0,1fr); }
}
/* Pass cards grow with sponsor count; do not overlap footer when sponsors change. */
.pass-card-no-qr { padding-bottom:24px; }
.pass-card-no-qr .nsut-live-strip { margin-bottom:20px; }
.pass-card-no-qr .pass-bottom { position:relative; left:auto; right:auto; bottom:auto; margin-top:16px; }
.nsut-live-strip.unconfigured { --nsut-stripe-color:#B4081B; }
