:root {
  --frame: #f2f5f3;
  --ground: #fff;
  --ink: #1c2925;
  --muted: #637069;
  --line: #e6ebe7;
  --soft: #f8faf8;
  --accent: #27704d;
  --blue: #3c6b9d;
  --amber: #a16c1b;
  --red: #ad3a35;
  --radius: 9px;
  color-scheme: light;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--frame);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background-color 0.15s,
    color 0.15s;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
:focus-visible {
  outline: 3px solid #398864;
  outline-offset: 3px;
}
svg {
  width: 19px;
  height: 19px;
  flex: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  line-height: 1.6;
}
small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
b,
strong {
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.right {
  text-align: right;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: #fff;
  padding: 15px;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  width: 228px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 27px 16px 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 0.4px;
  font-weight: 400;
}
.mark {
  color: var(--accent);
}
.mark svg {
  width: 31px;
  height: 34px;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 35px 0 30px;
  padding: 11px;
  border: 1px solid #dce4de;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.workspace-mark {
  font-size: 11px;
  border: 1px solid #dce4de;
  background: #fff;
  padding: 10px 7px;
  border-radius: 5px;
}
.nav-label {
  padding: 0 12px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
nav {
  display: grid;
  gap: 5px;
}
nav a,
.nav-bottom > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  font-size: 13px;
  border-radius: 6px;
  color: #536159;
}
nav a:hover,
.nav-bottom > a:hover {
  background: #e5ebe6;
  color: #13291e;
}
nav a[aria-current] {
  background: #e1e8e2;
  color: #163d2a;
  font-weight: 600;
}
.nav-bottom {
  margin-top: auto;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #dfe6e0;
  margin-top: 16px;
  padding-top: 18px;
  font-size: 12px;
}
.account form {
  margin-left: auto;
}
.avatar {
  background: #dce5df;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.text-button {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 4px;
  font-size: 12px;
}
.text-button:hover {
  color: var(--ink);
}
.topbar {
  height: 64px;
  margin-left: 228px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.topbar b {
  font-weight: 400;
  color: var(--ink);
}
.slash {
  margin: 0 12px;
  color: #a8b3ac;
}
.top-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.top-status i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: calc(100dvh - 72px);
  margin: 0 8px 8px 228px;
  padding: 32px;
  min-width: 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 29px;
}
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
}
.page-heading p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 37px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #d6dfd8;
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.button:hover {
  background: #edf2ee;
}
.button.primary {
  background: #243e30;
  color: #fff;
  border-color: #243e30;
}
.button.primary:hover {
  background: #365a44;
}
.button.small {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
}
.button.danger {
  color: var(--red);
  border-color: #e8c9c5;
}
.button.danger:hover {
  background: #fcefed;
}
.button svg {
  width: 16px;
  height: 16px;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 28px;
}
.stat-strip > div {
  padding: 19px 22px;
  border-right: 1px solid var(--line);
}
.stat-strip > div:last-child {
  border: 0;
}
.stat-strip span {
  color: var(--muted);
  font-size: 12px;
}
.stat-strip strong {
  display: block;
  font-size: 29px;
  font-weight: 400;
  margin: 6px 0 3px;
}
.stat-strip small {
  font-size: 11px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px;
  margin-bottom: 24px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.panel-heading small {
  margin-top: 5px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  padding: 0 12px 12px;
}
td {
  padding: 17px 12px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
td:last-child,
th:last-child {
  padding-right: 0;
}
.row-title {
  display: block;
  font-weight: 500;
  margin-bottom: 3px;
}
.row-title:hover {
  color: var(--accent);
}
.team-inline {
  display: flex;
  gap: 7px;
  flex-direction: column;
  font-size: 11px;
  color: var(--muted);
}
.team-inline span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.team0 {
  background: var(--accent);
}
.team1 {
  background: var(--blue);
}
.team2 {
  background: var(--amber);
}
.badge {
  display: inline-flex;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1.3;
  background: #f0f3f0;
  border-radius: 4px;
  color: #55645a;
  white-space: nowrap;
}
.badge.green {
  background: #e7f3eb;
  color: #256341;
}
.badge.amber {
  background: #fff3db;
  color: #875b17;
}
.badge.red {
  background: #ffebe8;
  color: #a5332b;
}
.event-card {
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.event-card:first-of-type {
  border: 0;
  padding-top: 0;
}
.event-card h3 {
  margin: 8px 0;
}
.event-card .actions {
  margin-top: 15px;
}
.event-card p {
  font-size: 12px;
  color: var(--muted);
}
.section-link {
  font-size: 12px;
  color: var(--accent);
}
.section-link:hover {
  text-decoration: underline;
}
.round-list {
  display: grid;
  gap: 20px;
}
.round-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.round-number {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--muted);
}
.round-row strong {
  font-size: 12px;
  display: block;
}
.round-row small {
  font-size: 11px;
}
.round-row .points {
  margin-left: auto;
  text-align: right;
  font-size: 16px;
  color: var(--accent);
}
.notice {
  background: #f5f8f5;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.notice strong {
  color: var(--ink);
}
.notice.amber {
  background: #fffbef;
  border-color: #f1e4bd;
  color: #795b28;
}
.stage-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.stage-strip span {
  flex: 1;
  padding: 13px;
  background: var(--soft);
  border-radius: 6px;
  font-size: 12px;
}
.stage-strip i {
  color: #94a398;
  font-style: normal;
}
.empty {
  text-align: center;
  padding: 40px 18px;
  border: 1px dashed #dbe4dc;
  border-radius: 8px;
}
.empty-symbol {
  display: block;
  color: #84988b;
  margin-bottom: 12px;
}
.empty-symbol svg {
  width: 28px;
  height: 28px;
}
.empty h3 {
  margin-bottom: 6px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  max-width: 350px;
  margin: auto auto 16px;
}
.empty .actions {
  justify-content: center;
}
form.stack {
  display: grid;
  gap: 17px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
}
input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid #ced8d0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  min-height: 39px;
  font-weight: 400;
  font-size: 13px;
}
textarea {
  resize: vertical;
}
input[type="file"] {
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #758378;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.form-section {
  max-width: 850px;
}
.search-row {
  display: flex;
  gap: 10px;
  align-items: end;
  margin-bottom: 20px;
}
.search-row label {
  flex: 1;
}
.question-row .body {
  max-width: 500px;
  line-height: 1.6;
}
.question-row details {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
details.panel > summary {
  font-size: 14px;
  font-weight: 500;
}
details.panel[open] > summary {
  margin-bottom: 20px;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #738078;
  gap: 15px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #243e30;
  color: white;
  padding: 12px 20px;
  border-radius: 7px;
  display: none;
  max-width: 90%;
  font-size: 13px;
}
.alert {
  padding: 14px;
  border: 1px solid #eacac6;
  background: #fff4f2;
  border-radius: 6px;
  color: #913930;
  margin-bottom: 20px;
  font-size: 13px;
}
.login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(430px, 100%);
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.login .brand {
  margin-bottom: 35px;
  padding: 0;
}
.login h1 {
  font-size: 24px;
  margin-bottom: 8px;
}
.login p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.session-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  padding-bottom: 14px;
  margin-bottom: 24px;
  overflow: auto;
}
.session-tabs span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.session-tabs .current {
  color: var(--ink);
  font-weight: 600;
}
.question-card {
  padding: 27px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.question-text {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  margin: 28px 0;
  letter-spacing: -0.4px;
}
.answer-box {
  padding: 15px 0 0;
  border-top: 1px solid #dde5df;
  color: var(--accent);
  font-size: 13px;
}
.timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 15px;
}
.timer {
  font-family: "IBM Plex Mono", monospace;
  font-size: 30px;
}
.timer small {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
}
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.score-team {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 15px;
  text-align: left;
  background: white;
  display: block;
  min-width: 0;
}
.score-team[aria-pressed="true"] {
  border: 2px solid #476c54;
  padding: 17px 14px;
  background: #f7faf7;
}
.score-team:disabled {
  opacity: 0.5;
  cursor: default;
}
.score-team .team-label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.score-team strong {
  display: block;
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.score-team .score {
  display: block;
  font-size: 29px;
  font-weight: 400;
  margin: 10px 0;
}
.judge-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.judge-actions .button {
  flex: 1;
}
.live-log {
  list-style: none;
  padding: 0;
  margin: 0;
}
.live-log li {
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}
.live-log b {
  float: right;
  color: var(--accent);
}
.media {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  border-radius: 6px;
}
audio.media {
  width: 100%;
  margin-top: 15px;
}
.live-preview {
  background: #142b22;
  color: #fff;
  border-radius: 8px;
  padding: 20px;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.live-preview small {
  color: #adc4b6;
}
.live-preview p {
  font-size: 16px;
  line-height: 1.5;
}
.mini-scores {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}
.projection {
  background: #102b23;
  color: #f7faf5;
  min-height: 100dvh;
  padding: 4vh 5vw;
  display: flex;
  flex-direction: column;
  color-scheme: dark;
}
.projection header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.projection .brand {
  font-size: 20px;
}
.projection .brand small {
  color: #b5cbbc;
}
.projection .mark {
  color: #b1cb6a;
}
.projection-meta {
  text-align: right;
  font-size: 14px;
  color: #c3d4c9;
}
.projection-main {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4vh 0;
}
.projection h1 {
  font-size: clamp(28px, 3.5vw, 58px);
  line-height: 1.35;
  font-weight: 500;
  max-width: 1100px;
  letter-spacing: -1px;
  margin: 20px auto;
}
.projection .projection-kicker {
  font-size: 15px;
  color: #c0d697;
}
.projection .timer {
  font-size: clamp(25px, 3vw, 50px);
  color: #d5e59f;
}
.projection .score-grid {
  gap: 2vw;
}
.projection .score-team {
  background: #1a372d;
  border: 1px solid #385246;
  text-align: center;
  padding: 20px;
  color: #fff;
}
.projection .score-team strong {
  font-size: clamp(14px, 1.7vw, 25px);
}
.projection .score-team .team-label {
  color: #bbcec1;
  justify-content: center;
  font-size: 12px;
}
.projection .score-team .score {
  font-size: clamp(32px, 4vw, 65px);
  color: #e6f0c9;
  margin: 5px 0;
}
.projection .score-team[data-active="true"] {
  border-color: #c4d792;
}
.projection .media {
  max-height: 30vh;
  max-width: 70vw;
}
.projector-controls {
  margin-top: 17px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #acc1b3;
}
.projector-controls button {
  background: transparent;
  color: #d0dfd3;
  border: 1px solid #4e6859;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 11px;
}
.projection .offline {
  color: #ffd4aa;
}
.rank-row {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  gap: 18px;
}
.rank-number {
  font-size: 24px;
  color: var(--muted);
  width: 35px;
}
.rank-row .rank-score {
  margin-left: auto;
  font-size: 28px;
}
.rank-row small {
  margin-top: 5px;
}
.demo-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.error-page {
  max-width: 650px;
  margin: 15vh auto;
  padding: 30px;
}
@media (min-width: 1500px) {
  .sheet {
    padding: 38px 44px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .live-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
  }
  .topbar {
    margin-left: 190px;
  }
  .sheet {
    margin-left: 190px;
    padding: 24px;
  }
  .grid,
  .live-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .score-team {
    padding: 14px 10px;
  }
  .brand {
    font-size: 16px;
  }
  .workspace {
    padding: 8px;
  }
  .top-status {
    display: none;
  }
}
@media (max-width: 850px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 16px;
    display: block;
  }
  .sidebar .brand {
    width: max-content;
  }
  .workspace,
  .nav-label,
  .nav-bottom {
    display: none;
  }
  nav {
    display: flex;
    gap: 4px;
    overflow: auto;
    margin-top: 20px;
  }
  nav a {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px;
  }
  nav svg {
    width: 15px;
    height: 15px;
  }
  .topbar {
    margin: 0;
    height: 34px;
    padding: 0 22px 12px;
    font-size: 11px;
  }
  .sheet {
    margin: 0 8px 8px;
    padding: 23px;
    min-height: 70vh;
  }
  .grid,
  .live-layout {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: start;
  }
  .page-heading .actions {
    justify-content: end;
  }
  .stat-strip > div {
    padding: 14px;
  }
  .projection {
    padding: 25px;
  }
  .projection .brand {
    font-size: 16px;
  }
}
@media (max-width: 560px) {
  .sheet {
    padding: 20px 16px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading .actions {
    justify-content: start;
    margin-top: 16px;
  }
  h1 {
    font-size: 24px;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }
  .stat-strip > div {
    border-bottom: 1px solid var(--line);
  }
  .stat-strip > div:nth-child(2) {
    border-right: 0;
  }
  .stat-strip > div:nth-child(3) {
    border-bottom: 0;
  }
  .stat-strip > div:last-child {
    border: 0;
  }
  .stat-strip strong {
    font-size: 25px;
  }
  .form-grid,
  .form-grid.three {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 17px;
  }
  .button {
    min-height: 44px;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-row label {
    min-width: 100%;
  }
  .score-grid {
    gap: 6px;
  }
  .score-team {
    padding: 12px 8px;
  }
  .score-team[aria-pressed="true"] {
    padding: 11px 7px;
  }
  .score-team strong {
    font-size: 11px;
  }
  .score-team .score {
    font-size: 25px;
  }
  .question-text {
    font-size: 20px;
  }
  .timer-row {
    flex-wrap: wrap;
  }
  .projection {
    padding: 20px 16px;
  }
  .projection .brand small {
    font-size: 9px;
  }
  .projection-meta {
    font-size: 10px;
  }
  .projection .score-team {
    padding: 12px 6px;
  }
  .projection .score-team strong {
    font-size: 12px;
  }
  .projection .score-team .team-label {
    font-size: 10px;
  }
  .projection header .mark svg {
    width: 22px;
  }
  .projection header .brand {
    font-size: 14px;
    gap: 6px;
  }
  footer {
    display: block;
    line-height: 1.9;
  }
  footer span {
    display: block;
  }
  .stage-strip {
    gap: 5px;
  }
  .stage-strip span {
    font-size: 10px;
    padding: 9px;
  }
  .table-wrap table {
    min-width: 560px;
  }
  .question-meta {
    gap: 10px;
  }
  .login-card {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
/* Operator controls stay in the first desktop viewport. */
.score-team:disabled {
  opacity: 1;
}
.score-team:disabled .score {
  color: var(--ink);
}
.live-layout .question-card {
  padding: 22px;
  min-height: 200px;
}
.live-layout .question-text {
  font-size: 22px;
  margin: 18px 0;
}
.live-layout .score-team {
  padding: 12px 15px;
}
.live-layout .score-team[aria-pressed="true"] {
  padding: 11px 14px;
}
.live-layout .score-team .score {
  margin: 6px 0;
}
.live-layout .timer-row {
  padding: 16px 0;
}
.session-tabs {
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.login form + small {
  margin-top: 18px;
}
@media (max-width: 560px) {
  .live-layout .score-team {
    padding: 12px 8px;
  }
  .live-layout .score-team[aria-pressed="true"] {
    padding: 11px 7px;
  }
  .live-layout .question-text {
    font-size: 20px;
  }
}
.grid > *,
.live-layout > * {
  min-width: 0;
}
@media (max-width: 850px) {
  .grid,
  .live-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .panel-heading {
    flex-wrap: wrap;
    align-items: start;
  }
  .table-wrap .match-table {
    min-width: 0;
  }
  .match-table thead {
    display: none;
  }
  .match-table,
  .match-table tbody,
  .match-table tr,
  .match-table td {
    display: block;
    width: 100%;
  }
  .match-table tr {
    border-top: 1px solid var(--line);
    padding: 16px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .match-table td {
    border: 0;
    padding: 0;
    font-size: 13px;
  }
  .match-table td:nth-child(1) {
    grid-column: 1;
  }
  .match-table td:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .match-table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .match-table td:nth-child(4) {
    grid-column: 1/-1;
    grid-row: 3;
    text-align: left;
  }
  .match-table .team-inline {
    gap: 6px;
  }
  .match-table .button {
    margin-top: 5px;
  }
}
