/* PHP/Bootstrap integration; all assets served locally, no Tailwind or React. */
code{color:#315f68}
.avatar-accessory>svg,.avatar-accessory>img{width:75px;height:58px}.avatar-accessory{pointer-events:none}
[hidden] {
  display: none !important;
}
fieldset {
  margin: 18px 0 0;
  border: 0;
  min-width: 0;
  padding: 0;
}
legend {
  font-size: 13px;
  font-weight: 600;
  float: none;
  width: auto;
  margin: 0 0 8px;
}
.breadcrumb {
  margin-bottom: 0;
}
.btn {
  vertical-align: middle;
}
.btn img,
.icon-btn img,
.js-icon {
  display: inline-block;
  object-fit: contain;
  flex-shrink: 0;
}
.btn-primary .js-icon {
  filter: brightness(0) invert(1);
}
.tabs > a {
  border: 0;
  background: transparent;
  color: #536a78;
  padding: 13px 2px 15px;
  min-height: 46px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 650;
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
}
.tabs > a.active {
  color: #08796e;
}
.tabs > a.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #08796e;
  border-radius: 5px 5px 0 0;
}
.tabs > a > span {
  font-size: 9px;
  border-radius: 5px;
  background: #e6f1ed;
  padding: 1px 5px;
}
.filter-pills > a {
  border: 1px solid #dde7eb;
  border-radius: 8px;
  background: white;
  padding: 9px 15px;
  min-height: 38px;
  font-size: 11px;
  color: #536a78;
}
.filter-pills > a.active {
  background: #e6f5ee;
  border-color: #b6dfd0;
  color: #08796e;
  font-weight: 700;
}
.admin-menu > a {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 39px;
  padding: 11px 12px;
  margin: 1px 0;
  border-radius: 7px;
  font-size: 11px;
  color: #536a78;
}
.admin-menu > a.active {
  color: #08796e;
  background: #e9f6ef;
  font-weight: 700;
}
.admin-menu > a:hover {
  background: #f1f7f3;
}
.header-avatar > svg:first-child {
  width: 39px;
  height: 39px;
}
.avatar-frame > svg {
  width: 58px;
  height: 58px;
}
.large-avatar > svg,
.large-avatar > img {
  width: 100px;
  height: 100px;
}
.rank-avatar {
  width: 40px;
  height: 40px;
}
.passport-cover > svg:last-child {
  width: 78px;
  height: 78px;
}
.avatar-picker > label {
  border: 1px solid #e2ebe8;
  border-radius: 14px;
  background: #fafcfb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 13px;
  width: 104px;
  color: #416456;
  font-size: 11px;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.avatar-picker > label.selected {
  border: 2px solid #087f73;
  background: #edfaf3;
  padding: 12px;
}
.avatar-picker > label:focus-within,
.interest-picker > label:focus-within {
  outline: 3px solid #08796e;
  outline-offset: 3px;
}
.interest-picker > label {
  background: #fbfdfc;
  border: 1px solid #dfeae5;
  border-radius: 11px;
  position: relative;
  padding: 8px;
  color: #416456;
  font-size: 10px;
  text-align: center;
  cursor: pointer;
  margin: 0;
}
.interest-picker > label > svg {
  width: 100%;
  height: 85px;
}
.interest-picker > label.selected {
  border-color: #087f73;
  background: #ebf8f0;
  box-shadow: inset 0 0 0 1px #087f73;
}
.form-control,
.form-select {
  color: #102544;
  background-color: white;
  border-color: #ccd9e4;
  border-radius: 10px;
  min-height: 45px;
  font-size: 13px;
  padding: 11px 13px;
}
.form-control:focus,
.form-select:focus {
  border-color: #10998a;
  box-shadow: 0 0 0 0.2rem #14b8a626;
}
.form-error:empty {
  display: none;
}
.table {
  --bs-table-bg: transparent;
  color: #5e7687;
  font-size: 11px;
  margin: 0;
}
.table > thead > tr > th {
  background: #f8fafb;
  color: #536a78;
  font-weight: 600;
  font-size: 9px;
  padding: 13px 12px;
}
.table > tbody > tr > td {
  padding: 16px 12px;
  border-color: #edf1f3;
  color: #536a78;
}
.table td.positive {
  color: #08796e;
}
.table td.negative {
  color: #a93650;
}
.table-wrap:focus-visible {
  outline-offset: 2px;
}
.modal {
  --bs-modal-border-radius: 20px;
  --bs-modal-border-color: #dde9e3;
  --bs-modal-padding: 24px;
}
.modal-title {
  font-size: 24px;
}
.modal-header {
  border-bottom: 0;
  padding: 26px 26px 12px;
  align-items: flex-start;
}
.modal-body {
  padding: 12px 26px 26px;
  color: #536a78;
}
.modal-body > p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.modal-footer {
  border-top: 1px solid #edf1f3;
  padding: 18px 26px;
}
.modal-content {
  box-shadow: 0 20px 80px #10254435;
}
.modal-header .btn-close {
  margin: 0 0 0 12px;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.modal-backdrop {
  --bs-backdrop-bg: #102544;
  --bs-backdrop-opacity: 0.45;
}
.toast-container {
  z-index: 1095;
}
.toast-container .toast {
  position: static;
  transform: none;
  width: 360px;
  max-width: calc(100vw - 35px);
  padding: 3px;
  border-radius: 12px;
  font-size: 13px;
  left: auto;
  bottom: auto;
  gap: 0;
  box-shadow: 0 8px 30px #10254428;
  background: #102f44 !important;
}
.toast-body {
  overflow-wrap: anywhere;
}
.room-slot > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.game-guidance > img {
  width: 53px;
  height: 65px;
  object-fit: contain;
}
.result-celebration .js-icon {
  width: 54px;
  height: 54px;
}
.poster-controls fieldset {
  margin-top: 15px;
}
.game-session [aria-pressed]:focus-visible {
  outline: 3px solid #08796e;
  outline-offset: 3px;
}
.game-result h2:focus,
.question-text:focus {
  outline: none;
}
.game-result h2:focus-visible,
.question-text:focus-visible {
  outline: 2px solid #08796e;
  outline-offset: 6px;
}
.poster-preview button {
  z-index: 1;
}
.world-card .world-map {
  max-width: none;
}
.btn-close:focus {
  outline: 3px solid #08796e;
  box-shadow: none;
}
.form-control:disabled {
  background: #f2f5f6;
}
.onboarding-steps > span {
  display: flex;
}
.report-filters > div > label {
  margin: 0 0 7px;
}
.admin-content > h2 {
  margin-bottom: 18px;
}
.room-controls form > .btn {
  width: 100%;
  margin: 20px 0;
}
.room-controls form > label {
  margin: 16px 0;
}
.camera-box p {
  font-size: 12px;
}
.registration-code {
  display: block;
}
.landing-world .map-zone {
  pointer-events: none;
}
.landing-world .zone-label {
  pointer-events: none;
}
@media (max-width: 1050px) {
  .admin-menu {
    overflow-x: auto;
  }
  .admin-menu > a {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .avatar-picker > label {
    width: 86px;
  }
}
@media (max-width: 800px) {
  .avatar-picker > label {
    width: calc(25% - 6px);
  }
  .admin-menu > a {
    font-size: 10px;
    padding: 10px 12px;
  }
  .report-filters .form-select,
  .report-filters .form-control {
    font-size: 10px;
  }
  .room-controls form {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .tabs > a {
    font-size: 11px;
  }
  .filter-pills > a {
    font-size: 9px;
    padding: 8px 11px;
    min-height: 35px;
  }
  .header-avatar > svg:first-child {
    width: 31px;
    height: 31px;
  }
  .avatar-picker > label {
    width: calc(50% - 4px);
  }
  .avatar-picker > label > svg {
    width: 67px;
    height: 67px;
  }
  .interest-picker > label {
    font-size: 9px;
  }
  .interest-picker > label > svg {
    height: 88px;
  }
  .passport-cover > svg:last-child {
    display: none;
  }
  .avatar-frame > svg {
    width: 53px;
    height: 53px;
  }
  .modal-title {
    font-size: 22px;
  }
  .modal-header {
    padding: 23px 22px 10px;
  }
  .modal-body {
    padding: 12px 22px 23px;
  }
  .modal-footer {
    padding: 17px 22px;
  }
  .game-guidance > img {
    width: 39px;
    height: 49px;
  }
  .toast-container {
    bottom: 72px !important;
  }
  .report-filters .form-select,
  .report-filters .form-control {
    min-height: 42px;
  }
  .table > tbody > tr > td {
    padding: 14px 9px;
    font-size: 10px;
  }
  .table > thead > tr > th {
    padding: 13px 9px;
    font-size: 8px;
  }
  .room-controls form > .btn {
    width: 100%;
  }
}
