:root {
  --brand: #13aaa4;
  --brand-dark: #087a76;
  --ink: #234746;
  --muted: #687f7d;
  --line: #dcece9;
  --shadow: 0 6px 22px #225b4e09;
}
body {
  background: #f6fbfa;
  color: var(--ink);
  font-family:
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #eeaf35;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.wrap {
  max-width: 1100px;
  padding-left: 24px;
  padding-right: 24px;
}
main.wrap {
  padding-top: 28px;
  padding-bottom: 30px;
}
.hdr {
  position: relative;
  background: #fff;
  border-top: 5px solid var(--brand);
  box-shadow: 0 3px 16px #144a4105;
}
.hdrin {
  height: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 12px;
}
.brand-link {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
}
.bname {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.btag {
  font-size: 10px;
  display: block;
}
.door-logo {
  height: 40px;
  width: 34px;
  background: #0b8f88;
  display: inline-block;
  border-radius: 8px 8px 2px 2px;
  position: relative;
  border: 4px solid #0b8f88;
}
.door-logo i {
  position: absolute;
  top: 1px;
  right: 5px;
  bottom: 0;
  left: 0;
  background: #a8ebe0;
  transform: skewY(-12deg);
  transform-origin: bottom left;
  border-radius: 3px;
}
.door-logo:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: #087a76;
  right: 11px;
  top: 19px;
  border-radius: 50%;
}
.hnav {
  gap: 10px;
  justify-content: flex-end;
}
.hnavi {
  min-width: 66px;
  min-height: 48px;
  font-size: 11px;
  border-radius: 12px;
  padding: 7px 10px;
}
.hnavi .hi {
  font-family: Arial, sans-serif;
  font-size: 22px;
}
.account-row {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #edf3f2;
  padding-top: 8px;
  font-size: 12px;
}
.account-row #whoName {
  font-weight: 700;
}
.device-label {
  color: var(--muted);
  margin-right: auto;
  font-size: 10px;
}
.account-row .btn {
  font-size: 11px;
  min-height: 32px;
  padding: 4px 10px;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h2 {
  font-size: 17px;
  margin: 0 0 12px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #678f89;
  display: block;
  margin-bottom: 10px;
}
.ptitle {
  font-size: 28px;
  letter-spacing: -0.6px;
  margin: 4px 0 16px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 22px 0 12px;
}
.section-heading h2.sec,
.section-heading h2 {
  margin: 0;
}
.section-heading .ptitle {
  margin-bottom: 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 0;
  min-height: 40px;
}
.pill {
  display: inline-block;
  background: #e8f5f2;
  border-radius: 20px;
  padding: 5px 10px;
  color: #4b7871;
  font-size: 10px;
  font-weight: 700;
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      115deg,
      #e0f5ee,
      #eaf9f8);
  border: 1px solid #d3eee5;
  border-radius: 24px;
  min-height: 255px;
  padding: 32px;
  margin: 0;
}
.hero .wleft {
  z-index: 2;
  width: 57%;
}
.hero .wtitle {
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -0.7px;
}
.wsub {
  font-size: 13px;
  line-height: 1.9;
  margin: 10px 0 20px;
}
.hero-art {
  position: absolute;
  width: 64%;
  height: 100%;
  object-fit: cover;
  right: -45px;
  bottom: 0;
  z-index: 0;
}
.hero .btn {
  box-shadow: 0 5px 12px #0b8f8830;
}
.encouragement {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffaf0;
  border: 1px solid #f4e9cd;
  border-radius: 16px;
  margin: 15px 0;
  padding: 14px 18px;
}
.encouragement b {
  font-size: 13px;
}
.encouragement p {
  font-size: 11px;
  color: #7e7b61;
  margin: 4px 0 0;
}
.sun-symbol {
  font-size: 32px;
  color: #e6b250;
}
.guestbanner {
  background: #e8f7f4;
  border: 1px dashed #bdddd5;
  color: #456e65;
  padding: 12px 16px;
  margin: 14px 0;
  border-radius: 14px;
}
.guestbanner .btn.primary {
  background: var(--brand);
  color: white;
  border: 0;
}
.gb-txt b {
  font-size: 12px;
}
.gb-txt span {
  font-size: 10px;
}
.gamegrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gcard {
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #165d4b16;
}
.gcard .gtitle {
  font-size: 14px;
  margin: 12px 13px 5px;
}
.gcard .gdesc {
  font-size: 10px;
  margin: 0 13px 9px;
  min-height: 18px;
}
.gcard .btn {
  border-radius: 0;
  min-height: 42px;
  margin: 0;
  border: 0;
  background: #fff;
  color: var(--brand-dark);
  border-top: 1px solid #edf4f1;
  text-align: left;
  padding-left: 13px;
  font-size: 11px;
}
.gcard .btn:hover {
  background: #e6f7f2;
}
.gclear {
  margin: 0 12px 8px;
}
.game-preview {
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  gap: 6px;
  background: #d8f4e8;
}
.game-preview:before,
.game-preview:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background: #ffffff45;
  left: -20px;
  bottom: -55px;
}
.game-preview:after {
  left: auto;
  right: -15px;
  bottom: auto;
  top: -42px;
  width: 80px;
  height: 80px;
}
.game-preview.sky {
  background: #d6ecfa;
}
.game-preview.peach {
  background: #ffebce;
}
.game-preview.lilac {
  background: #e9e1fb;
}
.preview-tile {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 29px;
  min-height: 39px;
  padding: 6px;
  background: #fffdf6;
  border-bottom: 4px solid #d9cbaa;
  border-radius: 7px;
  box-shadow: 0 4px 9px #325b661c;
  font-size: 20px;
  font-weight: 800;
  color: #476d69;
  transform: rotate(-5deg);
}
.preview-tile:nth-child(2) {
  transform: rotate(6deg);
  color: #bc7540;
}
.preview-tile:nth-child(3) {
  transform: rotate(-2deg);
}
.preview-sentence .preview-tile,
.preview-category .preview-tile,
.preview-opposites .preview-tile,
.preview-compound .preview-tile,
.preview-ladder .preview-tile {
  font-size: 14px;
}
.preview-wordsearch {
  flex-direction: column;
  gap: 3px;
}
.preview-wordsearch .preview-tile {
  font: 700 14px monospace;
  letter-spacing: 9px;
  padding-left: 12px;
  min-height: 23px;
  border-width: 2px;
  transform: none;
}
.preview-picture .vocab-drawing {
  width: 84px;
  height: 78px;
}
.preview-picture .preview-tile {
  position: absolute;
  right: 17px;
  bottom: 20px;
  font-size: 13px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 22px;
  box-shadow: var(--shadow);
  margin: 16px 0;
}
.challenge {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 24px;
  background:
    linear-gradient(
      125deg,
      #ecf8f4,
      #fff);
}
.challenge h2 {
  font-size: 17px;
  margin: 4px 0 7px;
}
.challenge p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.challenge-track {
  display: flex;
  gap: 6px;
}
.day-dot {
  display: grid;
  place-items: center;
  border: 1px solid #cbdfd7;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  font-size: 10px;
  background: #fff;
  color: #7f9990;
}
.day-dot.done {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
progress {
  display: block;
  width: 100%;
  height: 9px;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #e6efed;
}
progress::-webkit-progress-bar {
  background: #e6efed;
}
progress::-webkit-progress-value {
  background:
    linear-gradient(
      90deg,
      #21b2a5,
      #74cda7);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: #21b2a5;
}
.challenge progress {
  grid-column: 1/-1;
  margin-top: 12px;
}
.fine-print {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}
.profile-card {
  background:
    linear-gradient(
      130deg,
      #fff,
      #f2fbf7);
}
.profile-card .usercard {
  border: 0;
  box-shadow: none;
  background: none;
  padding: 0;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  gap: 14px;
}
.uinfo {
  min-width: 0;
}
.uname {
  font-size: 24px;
}
.uavatar {
  background: #d4f0e7;
  height: 70px;
  width: 70px;
  overflow: hidden;
}
.uavatar svg {
  height: 100%;
  width: 100%;
}
.level-token {
  color: #b88828;
  background: #fff6da;
  border: 2px solid #f2dc98;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.xp-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 10px;
}
.avatar-picker {
  margin-top: 15px;
  color: var(--brand-dark);
  font-size: 11px;
}
.avatar-picker summary {
  cursor: pointer;
  padding: 6px 0;
}
.avatar-choices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.avatar-choice {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
}
.avatar-choice[aria-pressed=true] {
  border-color: var(--brand);
}
.avatar-choice svg {
  width: 100%;
  height: 100%;
}
.stats4 {
  gap: 12px;
  margin: 16px 0;
  grid-template-columns: repeat(4, 1fr);
}
.st4 {
  padding: 17px 8px;
  gap: 8px;
}
.st4l {
  font-size: 11px;
}
.st4v {
  font-size: 29px;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.badge {
  font-size: 9px;
  text-align: center;
  line-height: 1.6;
  color: var(--muted);
}
.badge-symbol {
  width: 48px;
  height: 53px;
  -webkit-clip-path: polygon(50% 0, 95% 20%, 87% 76%, 50% 100%, 13% 76%, 5% 20%);
  clip-path: polygon(50% 0, 95% 20%, 87% 76%, 50% 100%, 13% 76%, 5% 20%);
  background: #eaf0ef;
  color: #899c99;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto 8px;
}
.badge.earned .badge-symbol {
  background:
    linear-gradient(
      130deg,
      #ffe19d,
      #efb13d);
  color: #80580f;
}
.badge.earned {
  color: #9b751c;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  text-align: center;
}
.calendar-cell {
  font-size: 11px;
  padding: 8px 0;
  border-radius: 50%;
  max-width: 36px;
  width: 100%;
  margin: auto;
  color: #728c84;
}
.calendar-cell.heading {
  font-size: 10px;
  color: #8b9e97;
}
.calendar-cell.active {
  background: #20ad9f;
  color: white;
}
.calendar-cell.today {
  box-shadow: 0 0 0 1px var(--brand);
}
.quote-card {
  font: italic 20px Georgia, serif;
  line-height: 1.55;
  color: #5a9381;
  text-align: center;
  margin: 28px 0 8px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #e9f5ea,
      transparent);
  padding: 23px;
}
.quote-card b {
  color: #327b65;
  font-weight: 400;
}
.account-actions {
  flex-wrap: wrap;
  margin-top: 16px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.analytics-grid .panel {
  margin: 0;
}
.radar svg {
  width: 100%;
  max-height: 250px;
}
.radar-labels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.radar-labels span {
  font-size: 10px;
  background: #f3f8f6;
  padding: 5px 7px;
  border-radius: 8px;
}
.trend {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 185px;
  gap: 7px;
  margin-top: 12px;
}
.trend-column {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
}
.trend-bar {
  width: 70%;
  min-height: 2px;
  border-radius: 5px 5px 0 0;
  background: #4cb7a0;
}
.performance-row,
.activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #edf3f1;
  font-size: 12px;
}
.performance-row:last-child,
.activity-row:last-child {
  border: 0;
}
.performance-row .details {
  flex: 1;
}
.performance-row progress {
  margin-top: 8px;
  height: 6px;
}
.performance-row small,
.activity-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.versus-banner {
  background:
    linear-gradient(
      120deg,
      #0b9f9a,
      #65cebb);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  min-height: 180px;
}
.versus-banner h2 {
  font-size: 24px;
  line-height: 1.5;
}
.versus-banner p {
  font-size: 11px;
}
.versus-banner img {
  width: 47%;
  max-height: 180px;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.mode-card {
  margin: 0;
}
.mode-icon {
  background: #e0f3ed;
  color: #52a891;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
}
.mode-card h2 {
  font-size: 16px;
}
.mode-card p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.mode-card .btn {
  font-size: 11px;
}
.coming-strip {
  display: flex;
  justify-content: space-between;
  padding: 17px 20px;
  border: 1px dashed #bfdbd0;
  border-radius: 14px;
  font-size: 13px;
}
.room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 12px;
}
.room small {
  display: block;
  color: var(--muted);
}
.join-code {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.join-code input {
  max-width: 150px;
}
.arena-tiles {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 8px;
}
.arena-answer {
  max-width: 300px;
}
.arena-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.scoreboard {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  background: #eff8f4;
  padding: 14px;
  border-radius: 12px;
  margin: 12px 0;
}
.storage-notice {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: #fff2cf;
  border: 1px solid #cf982d;
  color: #694d16;
  padding: 16px;
  z-index: 150;
  font-size: 13px;
}
@media (max-width: 800px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hdrin {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .brand {
    justify-content: center;
    width: auto;
  }
  .bname {
    font-size: 20px;
  }
  .btag {
    font-size: 8px;
  }
  .hnav {
    grid-row: 2;
    justify-content: space-between;
    padding: 5px 0 0;
  }
  .account-row {
    justify-content: flex-end;
  }
  .hnavi {
    flex: 1;
    min-width: 0;
    padding: 6px 2px;
  }
  .hero {
    padding: 24px;
    min-height: 230px;
  }
  .hero .wtitle {
    font-size: 24px;
  }
  .gamegrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-preview {
    height: 135px;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .stats4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .homecols {
    grid-template-columns: 1fr;
  }
  .challenge {
    grid-template-columns: 1fr;
  }
  .challenge-track {
    margin-top: 8px;
  }
  .btag {
    display: block;
  }
}
@media (max-width: 440px) {
  main.wrap {
    padding-top: 18px;
  }
  .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero {
    padding: 22px 18px;
    min-height: 245px;
    border-radius: 18px;
  }
  .hero .wleft {
    width: 64%;
  }
  .hero .wtitle {
    font-size: 22px;
  }
  .hero-art {
    right: -60px;
    width: 75%;
    opacity: 0.87;
  }
  .wsub {
    font-size: 11px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 8px;
  }
  .hero .btn {
    font-size: 11px;
    padding: 9px 12px;
  }
  .encouragement {
    padding: 12px;
  }
  .encouragement b {
    font-size: 11px;
  }
  .encouragement p {
    font-size: 10px;
  }
  .gamegrid {
    gap: 12px;
  }
  .game-preview {
    height: 108px;
  }
  .gcard .gtitle {
    font-size: 12px;
    margin: 10px 10px 4px;
  }
  .gcard .gdesc {
    font-size: 9px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .preview-tile {
    font-size: 18px;
    min-width: 27px;
    min-height: 34px;
  }
  .preview-sentence .preview-tile,
  .preview-compound .preview-tile {
    font-size: 10px;
    padding: 5px;
    min-width: 20px;
  }
  .panel {
    padding: 17px;
    border-radius: 16px;
  }
  .badge-symbol {
    width: 41px;
    height: 46px;
  }
  .badge-grid {
    gap: 5px;
  }
  .badge {
    font-size: 8px;
  }
  .versus-banner {
    padding: 18px;
    min-height: 165px;
  }
  .versus-banner h2 {
    font-size: 18px;
  }
  .mode-card h2 {
    font-size: 13px;
  }
  .mode-card {
    padding: 14px;
  }
  .mode-card .btn {
    font-size: 10px;
    padding: 9px;
  }
  .ptitle {
    font-size: 24px;
  }
  .uname {
    font-size: 22px;
  }
  .usercard .uavatar {
    width: 58px;
    height: 58px;
  }
  .level-token {
    width: 48px;
    height: 48px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.hero .wtitle {
  color: var(--ink);
}
.hero-art {
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 20%);
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 20%);
}
:root {
  --muted: #546f66;
}
.hero .wsub {
  color: #546f66;
}
.fine-print {
  font-size: 11px;
}
.calendar-cell {
  color: #546f66;
  font-size: 12px;
}
.calendar-cell.heading {
  color: #546f66;
}
footer {
  color: #607b71;
}
.avatar-choice {
  width: 44px;
  height: 44px;
}
.room-create,
.classroom-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
select {
  font: inherit;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  max-width: 100%;
}
.classroom-controls {
  padding: 12px;
  background: #f0faf8;
  border-radius: 12px;
}
.classroom-controls p {
  flex-basis: 100%;
}
.projector {
  width: calc(100vw - 32px);
  max-width: 1500px;
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 20px;
  padding: 24px;
  background: #f6fbfa;
  color: var(--ink);
  overflow: auto;
}
.projector::backdrop {
  background: #173c3beb;
}
.projector h1 {
  font-size: clamp(26px, 5vw, 68px);
  margin: 16px 0;
}
.projector-clock {
  font-size: clamp(22px, 4vw, 56px);
  font-weight: 700;
}
.projector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.projector-score {
  font-size: clamp(20px, 2.5vw, 38px);
  padding: 20px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow-wrap: anywhere;
}
.tournament-section {
  margin-top: 24px;
  border-top: 2px solid var(--line);
  padding-top: 20px;
}
.tournament-bracket {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin: 16px 0;
}
.tournament-round,
.tournament-summary {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: white;
  overflow-wrap: anywhere;
}
.tournament-round h3,
.tournament-summary h3 {
  margin-top: 0;
}
.tournament-summary {
  margin: 12px 0;
  background: #f0faf8;
}
#tournamentState > button {
  margin: 8px 8px 8px 0;
}
.tournament-cancel {
  border: 1px solid #cb7d46;
  padding: 12px;
  border-radius: 12px;
  margin: 12px 0;
}
#tournamentCode {
  max-width: 150px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
}
.modal {
  overflow-y: auto;
}
.modal .box {
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}
.auth-close {
  float: right;
  margin: 0 0 12px 12px;
}
button.btn,
.text-button,
.avatar-picker summary,
.backup-panel summary {
  min-height: 44px;
}
.backup-panel label {
  display: block;
  margin: 16px 0 6px;
}
.backup-panel input[type=file] {
  max-width: 100%;
  font: inherit;
}
.backup-panel {
  overflow-wrap: anywhere;
}
section[tabindex="-1"]:focus {
  outline: none;
}
select:focus-visible {
  outline: 3px solid #075f59;
  outline-offset: 3px;
}
@media (max-height: 550px) {
  .modal {
    align-items: flex-start;
  }
}
.btn.sm {
  min-height: 44px;
}
.badge-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.badge-grid .badge {
  min-width: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
#billingSandbox .row {
  flex-wrap: wrap;
}
button.keyboard-tile {
  font-family: inherit;
  color: inherit;
}
button.keyboard-hint {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.keyboard-help {
  margin: 8px 0;
}
button.cb-basket {
  font: inherit;
  color: inherit;
}
button.cb-basket {
  min-width: 0;
}
button.cb-basket > .cb-bemoji,
button.cb-basket > .cb-bname {
  display: block;
}
