:root {
  --wine: #711610;
  --wine-dark: #4c0c08;
  --sand: #e6d9aa;
  --gray: #9a999d;
  --ink: #191918;
  --muted: #69696b;
  --line: #d8d7d2;
  --paper: #f5f4ef;
  --white: #fff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  background: white;
  border-bottom: 1px solid var(--line);
}

.header-rule {
  height: 5px;
  background: var(--wine);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.identity {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.uni-logo {
  width: 235px;
  height: auto;
  display: block;
}

.publishing-entity {
  color: var(--wine);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.change-location {
  padding-bottom: 2px;
  color: var(--wine);
  border-bottom: 1px solid currentColor;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.location-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 77% 42%, rgba(230, 217, 170, .12), transparent 22%),
    radial-gradient(circle at 12% 85%, rgba(154, 153, 157, .12), transparent 27%),
    linear-gradient(135deg, #260805 0%, var(--wine-dark) 42%, #170607 100%);
}

.location-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(230, 217, 170, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(230, 217, 170, .045) 1px, transparent 1px) 0 0 / 64px 64px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.location-hero-inner {
  position: relative;
  z-index: 3;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-index,
.campus-label {
  color: var(--sand);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.location-hero h1 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(58px, 7.2vw, 92px);
  line-height: .85;
  max-width: 980px;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .34);
  text-transform: uppercase;
}

.location-hero .hero-instruction {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .68);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cosmic-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star-layer {
  position: absolute;
  inset: -40%;
  background-repeat: repeat;
  transform-origin: center;
}

.star-layer-one {
  opacity: .7;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(230,217,170,.8) 0 1px, transparent 1.6px);
  background-position: 0 0, 43px 57px;
  background-size: 97px 97px, 131px 131px;
  animation: cosmic-drift 26s linear infinite;
}

.star-layer-two {
  opacity: .32;
  background-image:
    radial-gradient(circle, white 0 1px, transparent 1.5px),
    radial-gradient(circle, var(--sand) 0 1.5px, transparent 2px);
  background-position: 20px 38px, 71px 12px;
  background-size: 67px 67px, 173px 173px;
  animation: cosmic-drift-reverse 42s linear infinite;
}

.orbit {
  position: absolute;
  right: 8%;
  top: 50%;
  border: 1px solid rgba(230, 217, 170, .23);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-18deg);
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 13px rgba(230, 217, 170, .85);
  content: "";
}

.orbit::before {
  top: 15%;
  left: 12%;
}

.orbit::after {
  right: 9%;
  bottom: 19%;
}

.orbit-one {
  width: 360px;
  height: 185px;
  animation: orbit-pulse 7s ease-in-out infinite;
}

.orbit-two {
  right: 3%;
  width: 520px;
  height: 280px;
  opacity: .55;
  animation: orbit-pulse 10s ease-in-out infinite reverse;
}

.cosmic-node {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 16px 4px rgba(230, 217, 170, .48);
}

.node-one {
  top: 22%;
  right: 28%;
  animation: node-blink 2.8s ease-in-out infinite;
}

.node-two {
  right: 7%;
  bottom: 23%;
  animation: node-blink 4s ease-in-out infinite reverse;
}

.cosmic-uni-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 13%;
  width: 150px;
  height: 150px;
  object-fit: contain;
  opacity: .2;
  filter: grayscale(1) brightness(3.2) sepia(.3);
  transform: translateY(-50%);
  animation: seal-float 6s ease-in-out infinite;
}

@keyframes cosmic-drift {
  to { transform: translate3d(97px, 97px, 0) rotate(.01deg); }
}

@keyframes cosmic-drift-reverse {
  to { transform: translate3d(-67px, 67px, 0) rotate(.01deg); }
}

@keyframes orbit-pulse {
  0%, 100% { opacity: .38; transform: translateY(-50%) rotate(-18deg) scale(1); }
  50% { opacity: .75; transform: translateY(-50%) rotate(-15deg) scale(1.035); }
}

@keyframes node-blink {
  0%, 100% { opacity: .3; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes seal-float {
  0%, 100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(calc(-50% - 9px)) rotate(2deg); }
}

.location-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-block: 55px 85px;
}

.location-option {
  min-height: 225px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
  transition: background .15s ease, transform .15s ease;
}

.location-option > div {
  min-width: 0;
  flex: 1 1 auto;
}

.location-option:hover {
  background: #f4efe0;
  transform: translateY(-3px);
}

.option-label {
  color: var(--wine);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.location-option h2 {
  margin: 5px 0 4px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.location-option p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.option-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--wine);
  font-family: var(--mono);
  font-size: 25px;
}

.consultation {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 77% 42%, rgba(230, 217, 170, .12), transparent 22%),
    radial-gradient(circle at 12% 85%, rgba(154, 153, 157, .12), transparent 27%),
    linear-gradient(135deg, #260805 0%, var(--wine-dark) 42%, #170607 100%);
}

.technical-grid {
  position: absolute;
  inset: 0;
  opacity: .3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.consultation::after {
  position: absolute;
  right: -120px;
  bottom: -225px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(230, 217, 170, .22);
  border-radius: 50%;
  content: "";
}

.results-cosmic-field {
  opacity: .78;
}

.results-cosmic-field .cosmic-uni-mark {
  right: 8%;
  opacity: .12;
}

.results-cosmic-field .orbit {
  right: 3%;
}

.consultation-inner {
  position: relative;
  z-index: 3;
  min-height: 410px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 9%;
  padding-block: 50px;
}

.publication-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 7vw, 94px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .78;
  text-transform: uppercase;
}

.campus-label {
  display: block;
  margin-bottom: 18px;
}

.publication-copy h1 em {
  color: var(--sand);
  font-style: normal;
}

.publication-copy > p {
  margin: 26px 0 22px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}

.search-module {
  position: relative;
  z-index: 4;
  padding: 32px;
  color: var(--ink);
  background: var(--white);
  border-top: 5px solid var(--sand);
  box-shadow: 16px 16px 0 rgba(48, 5, 2, .22);
}

.module-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.module-heading span {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.module-heading b {
  color: var(--wine);
  font-family: var(--mono);
  font-size: 10px;
}

.search-module label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.search-field {
  height: 67px;
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: center;
  border: 2px solid var(--ink);
  background: #faf9f6;
}

.search-field:focus-within {
  border-color: var(--wine);
  box-shadow: 0 4px 0 var(--sand);
}

.search-field input {
  min-width: 0;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 17px;
  text-transform: uppercase;
}

.search-button {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--wine);
  cursor: pointer;
}

.search-button:hover,
.search-button:focus-visible {
  background: var(--wine-soft);
}

.search-button .search-indicator {
  border-color: white;
}

.search-button .search-indicator::after {
  background: white;
}

.search-field.is-invalid {
  border-color: var(--wine);
  box-shadow: 0 4px 0 #d8b6b2;
}

.validation-message {
  min-height: 17px;
  margin: 8px 0 0;
  color: var(--wine);
  font-size: 10px;
  font-weight: 500;
}

.search-indicator {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--wine);
  border-radius: 50%;
}

.search-indicator::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 1.5px;
  background: var(--wine);
  content: "";
  transform: rotate(45deg);
}

.result-area {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding-block: 52px;
}

.initial-state,
.message-state {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(25, 25, 24, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(25, 25, 24, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    white;
}

.coordinate {
  color: var(--gray);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
}

.scan-symbol {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 15px 0;
  border: 1px solid var(--gray);
}

.scan-symbol::before,
.scan-symbol::after {
  position: absolute;
  content: "";
  background: var(--wine);
}

.scan-symbol::before {
  top: 25px;
  left: -8px;
  width: 68px;
  height: 1px;
}

.scan-symbol::after {
  top: -8px;
  left: 25px;
  width: 1px;
  height: 68px;
}

.scan-symbol i {
  position: absolute;
  inset: 12px;
  border: 1px solid var(--sand);
  border-radius: 50%;
}

.initial-state h2,
.message-state strong {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  text-transform: uppercase;
}

.initial-state p,
.message-state p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.found-result {
  width: 100%;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
}

.found-result > header {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px;
  border-bottom: 1px solid var(--line);
  background: #f0efe9;
}

.found-result > header span,
.found-result > header b {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.found-result > header span {
  color: var(--wine);
  font-weight: 600;
}

.found-result > header b {
  color: var(--gray);
  font-weight: 400;
}

.result-content {
  display: grid;
  grid-template-columns: 1fr 260px;
  min-height: 205px;
}

.student-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.data-label,
.score-data > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.student-code {
  margin: 3px 0 21px;
  color: var(--wine);
  font-family: var(--mono);
  font-size: 14px;
}

.student-data h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.score-data {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--wine);
}

.score-data::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--sand);
  border-right: 1px solid var(--sand);
  content: "";
}

.score-data > span {
  color: rgba(255,255,255,.65);
}

.score-data strong {
  color: var(--sand);
  font-family: var(--display);
  font-size: 78px;
  line-height: .9;
  white-space: pre-wrap;
}

.score-data small {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.found-result > footer {
  padding: 12px 23px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
}

.state-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--wine);
  border: 1px solid var(--wine);
  font-family: var(--mono);
  font-size: 19px;
}

.loader {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--wine);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.public-list {
  padding-block: 28px 76px;
}

.list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--ink);
}

.list-heading > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.list-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 37px;
  line-height: 1;
  text-transform: uppercase;
}

.list-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.list-heading > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.list-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px;
  background: #e9e7df;
  border-bottom: 1px solid var(--line);
}

.list-search label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.list-search input {
  width: min(310px, 100%);
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--gray);
  border-radius: 0;
  outline: 0;
  background: white;
  font-size: 11px;
}

.list-search input:focus {
  border-color: var(--wine);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  height: 42px;
  padding: 0 18px;
  color: var(--muted);
  background: #f5f4f0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
  text-align: left;
  text-transform: uppercase;
}

th:last-child {
  text-align: right;
}

td {
  height: 60px;
  padding: 9px 18px;
  background: white;
  border-bottom: 1px solid #e8e7e3;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #faf7ed;
}

.code-cell {
  width: 220px;
  color: var(--wine);
  font-family: var(--mono);
  font-size: 10px;
}

.name-cell {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.score-cell {
  width: 150px;
  color: var(--wine);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  text-align: right;
  white-space: pre-wrap;
}

.score-text {
  font-size: 16px;
  letter-spacing: .04em;
}

.score-data strong.score-text {
  font-size: clamp(32px, 5vw, 52px);
}

.mobile-list {
  display: none;
}

.list-empty {
  padding: 35px 20px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 11px;
}

.list-pagination {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--line);
  border-top: 0;
}

.list-pagination > span,
.page-indicator {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-controls button {
  min-height: 34px;
  padding: 0 14px;
  color: var(--wine);
  background: white;
  border: 1px solid var(--wine);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}

.pagination-controls button:hover:not(:disabled) {
  color: white;
  background: var(--wine);
}

.pagination-controls button:disabled {
  color: var(--gray);
  border-color: var(--line);
  cursor: default;
  opacity: .65;
}

.site-footer {
  padding-block: 34px;
  color: #bbb;
  background: #1c1c1b;
  border-top: 5px solid var(--wine);
}

.site-footer > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 50px;
}

.site-footer div > div {
  display: flex;
  flex-direction: column;
}

.site-footer strong {
  color: white;
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
}

.site-footer span,
.site-footer p,
.site-footer small {
  color: #777;
  font-size: 9px;
}

.site-footer p {
  margin: 0;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid #333;
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .header-inner {
    min-height: 67px;
    gap: 12px;
  }

  .uni-logo {
    width: 205px;
  }

  .publishing-entity {
    max-width: 110px;
    font-size: 12px;
    line-height: 1.05;
    text-align: right;
  }

  .header-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 4px;
  }

  .header-actions .publishing-entity {
    display: none;
  }

  .change-location {
    font-size: 11px;
  }

  .location-hero-inner {
    min-height: 360px;
    padding-right: 0;
  }

  .location-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 100%;
    font-size: clamp(36px, 10.8vw, 44px);
    letter-spacing: -.025em;
    line-height: .92;
  }

  .cosmic-uni-mark {
    top: 47%;
    right: -18px;
    width: 125px;
    height: 125px;
    opacity: .13;
  }

  .orbit-one {
    right: -100px;
    width: 330px;
  }

  .orbit-two {
    right: -210px;
    width: 470px;
  }

  .results-cosmic-field .cosmic-uni-mark {
    right: -25px;
  }

  .location-selection {
    grid-template-columns: 1fr;
    padding-block: 30px 55px;
  }

  .location-option {
    min-height: 175px;
    padding: 22px 18px;
  }

  .location-option h2 {
    white-space: normal;
  }

  .consultation-inner {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 39px 46px;
  }

  .publication-copy,
  .search-module {
    min-width: 0;
    width: 100%;
  }

  .publication-copy h1 {
    max-width: 100%;
    font-size: clamp(52px, 16vw, 68px);
    line-height: .84;
  }

  .publication-copy > p {
    margin-block: 22px 16px;
    font-size: 19px;
  }

  .search-module {
    max-width: calc(100vw - 24px);
    margin-inline: -2px;
    padding: 22px 18px;
    box-shadow: 8px 8px 0 rgba(48, 5, 2, .2);
    overflow: hidden;
  }

  .module-heading {
    margin-bottom: 22px;
  }

  .search-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 62px;
    grid-template-columns: minmax(0, 1fr) 52px;
    overflow: hidden;
  }

  .search-field input {
    width: 100%;
    min-width: 0;
    padding-inline: 13px 8px;
    font-size: 15px;
  }

  .search-button {
    width: 52px;
    min-width: 52px;
  }

  .result-area {
    min-height: 290px;
    padding-block: 34px;
  }

  .initial-state,
  .message-state {
    min-height: 205px;
    padding: 22px;
  }

  .initial-state h2,
  .message-state strong {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.05;
  }

  .found-result > header {
    padding-inline: 15px;
  }

  .found-result > header b {
    display: none;
  }

  .result-content {
    grid-template-columns: 1fr;
  }

  .student-data {
    min-height: 175px;
    padding: 24px 19px;
  }

  .student-data h2 {
    font-size: 29px;
  }

  .score-data {
    min-height: 150px;
  }

  .score-data strong {
    font-size: 72px;
  }

  .found-result > footer {
    padding: 13px 16px;
    line-height: 1.5;
  }

  .public-list {
    padding-block: 18px 50px;
  }

  .list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .list-heading h2 {
    font-size: 31px;
  }

  .list-search {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    padding: 13px;
  }

  .list-search input {
    width: 100%;
    height: 43px;
  }

  .list-pagination {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .pagination-controls {
    justify-content: space-between;
  }

  .pagination-controls button {
    min-width: 92px;
  }

  .table-wrap {
    display: none;
  }

  .mobile-list {
    display: block;
    border: 1px solid var(--line);
    border-top: 0;
  }

  .result-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 16px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .result-card:last-child {
    border-bottom: 0;
  }

  .result-card .card-code {
    color: var(--wine);
    font-family: var(--mono);
    font-size: 9px;
  }

  .result-card h3 {
    grid-column: 1;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .result-card .card-score {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    min-width: 66px;
    color: var(--wine);
    font-family: var(--display);
    font-size: 30px;
    font-weight: 700;
    text-align: right;
    white-space: pre-wrap;
  }

  .result-card .card-score.score-text {
    font-size: 15px;
  }

  .site-footer > div {
    grid-template-columns: 1fr;
  }

  .site-footer small {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
