@font-face {
  font-family: Slovakio;
  src: url('../vendor/fonts/InterVariable.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900
}

:root {
  --blue: #174be8;
  --blue-dark: #113bc3;
  --red: #ef3c48;
  --ink: #111c34;
  --muted: #6e7788;
  --line: #e5e9f0;
  --pale: #f3f6fb;
  --soft-blue: #eaf0ff;
  --radius: 16px;
  --shadow: 0 12px 35px #10264b0c
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Slovakio, Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

button,
input,
select,
textarea {
  font: inherit
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent
}

button {
  cursor: pointer
}

a {
  color: inherit;
  text-decoration: none
}

a:hover {
  color: var(--blue)
}

img {
  max-width: 100%
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8caaff;
  outline-offset: 3px
}

h1,
h2,
h3,
h4,
p {
  margin: 0
}

h1,
h2,
h3,
h4 {
  line-height: 1.13;
  letter-spacing: -.035em
}

h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 780
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 750
}

h3 {
  font-size: 22px
}

p {
  color: var(--muted)
}

[hidden] {
  display: none !important
}

.container {
  width: min(1240px, calc(100% - 80px));
  margin: auto
}

.site-header {
  height: 88px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 100
}

.nav-wrap {
  max-width: 1360px;
  height: 100%;
  padding: 0 40px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.9px;
  white-space: nowrap
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: auto;
  font-weight: 570;
  font-size: 14px
}

.desktop-nav a {
  position: relative;
  padding: 31px 0
}

.desktop-nav .active:after {
  position: absolute;
  content: "";
  bottom: 0;
  height: 3px;
  background: var(--blue);
  left: 0;
  right: 0
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600
}

.menu-toggle {
  display: none
}

.mobile-menu {
  background: white;
  box-shadow: var(--shadow);
  padding: 14px 24px
}

.mobile-menu a {
  display: block;
  padding: 10px 0
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 23px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.3;
  background: #fff;
  transition: background .18s, transform .18s
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--pale)
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.btn-dark:hover {
  background: #203354;
  color: #fff
}

.btn-danger {
  background: #fff0f1;
  color: #b2202b;
  border-color: #ffd3d7
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: white
}

.btn-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 13px
}

.btn-large {
  min-height: 56px;
  padding: 17px 25px
}

.btn-quiet {
  border-color: transparent;
  background: transparent
}

.btn-block {
  width: 100%
}

.btn:disabled {
  cursor: wait;
  opacity: .6;
  transform: none
}

.icon-button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  height: 44px;
  min-width: 44px;
  color: var(--ink)
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 19px
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 30px;
  padding: 5px 11px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .015em
}

.pill-red {
  background: #fff0f2;
  color: #c62a39
}

.pill-neutral {
  background: var(--pale);
  color: var(--muted)
}

.pill-green {
  background: #eaf8ef;
  color: #267747
}

.muted {
  color: var(--muted)
}

.text-blue {
  color: var(--blue)
}

.text-red {
  color: var(--red)
}

.tiny {
  font-size: 12px
}

.hero {
  overflow: hidden;
  position: relative
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  min-height: 620px;
  gap: 25px
}

.hero-copy {
  padding: 62px 0 60px;
  position: relative;
  z-index: 2
}

.hero h1 {
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.035;
  letter-spacing: -.062em
}

.hero h1 span {
  color: var(--blue)
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  max-width: 420px;
  margin-top: 27px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px
}

.hero-note {
  margin-top: 17px;
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center
}

.hero-note i {
  color: var(--blue)
}

.hero-map {
  position: relative;
  height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate
}

.map-grid {
  position: absolute;
  inset: 20px -100px 10px -25px;
  background-image: linear-gradient(#dde5f466 1px, transparent 1px), linear-gradient(90deg, #dde5f466 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse, black 30%, transparent 73%);
  z-index: -1
}

.slovakia-map {
  width: 100%;
  height: 380px;
  overflow: visible
}

.district-shape {
  stroke: #fff;
  stroke-width: 1.25;
  fill: #dee6f7;
  transition: fill .2s
}

.district-shape:hover {
  fill: #a6bcf8
}

.district-shape.pilot {
  fill: var(--blue)
}

.district-shape.pilot-alt {
  fill: var(--red)
}

.map-caption {
  position: absolute;
  right: 5px;
  bottom: 20px;
  color: #8290a6;
  font-size: 10px
}

.map-float {
  position: absolute;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 12px;
  box-shadow: 0 12px 38px #1b386313;
  padding: 16px 18px;
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 216px
}

.map-float-one {
  top: 40px;
  right: 40px;
  transform: rotate(3deg)
}

.map-float-two {
  bottom: 45px;
  left: 10px;
  transform: rotate(-3deg)
}

.map-float .tile-icon {
  width: 40px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 19px
}

.map-float strong {
  font-size: 13px;
  display: block
}

.map-float small {
  display: block;
  font-size: 11px;
  color: var(--muted)
}

.map-annotation {
  position: absolute;
  right: 10px;
  bottom: 105px;
  font-size: 12px;
  letter-spacing: .03em;
  font-weight: 650;
  color: var(--blue);
  transform: rotate(-6deg)
}

.hero-statbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafbfd
}

.statbar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  padding: 28px 0;
  align-items: center
}

.statbar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 28px;
  border-left: 1px solid var(--line)
}

.statbar-item:first-child {
  padding-left: 0;
  border-left: 0
}

.statbar-item strong {
  font-size: 33px;
  letter-spacing: -1.4px;
  line-height: 1
}

.statbar-item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5
}

.statbar-slogan {
  font-size: 13px;
  color: var(--muted);
  text-align: right
}

.statbar-slogan b {
  color: var(--ink)
}

.section {
  padding: 80px 0
}

.section-soft {
  background: var(--pale)
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  margin-bottom: 35px
}

.section-head p {
  max-width: 450px;
  margin-top: 13px
}

.text-link {
  font-weight: 650;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px
}

.step {
  position: relative
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: #abb5c7
}

.step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 20px;
  color: var(--blue)
}

.step h3 {
  font-size: 22px;
  margin-bottom: 13px
}

.step p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 315px
}

.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.pilot-card {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s
}

.pilot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--ink)
}

.pilot-art {
  height: 215px;
  position: relative;
  overflow: hidden;
  background: #eaf0ff
}

.pilot-art img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.pilot-art .pill {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff
}

.pilot-info {
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.pilot-info h3 {
  font-size: 25px
}

.pilot-info p {
  font-size: 12px;
  margin-top: 8px
}

.circle-link {
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  flex-shrink: 0
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--blue);
  color: white;
  border-radius: 18px;
  padding: 46px 50px
}

.callout p {
  color: #c4d1ff;
  margin-top: 12px
}

.callout .btn {
  white-space: nowrap;
  border-color: white;
  color: var(--blue)
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 50px
}

.footer-top {
  padding: 40px 0;
  display: flex;
  gap: 55px;
  align-items: flex-start
}

.footer-top p {
  font-size: 12px;
  line-height: 1.8
}

.footer-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 12px;
  color: var(--muted)
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8490a2
}

.footer-country {
  display: flex;
  align-items: center;
  gap: 8px
}

.tricolor {
  display: inline-block;
  width: 17px;
  height: 12px;
  background: linear-gradient(#fff 0 33%, var(--blue) 33% 66%, var(--red) 66%);
  border: 1px solid var(--line)
}

.page-heading {
  padding: 42px 0 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px
}

.page-heading h1 {
  font-size: 38px;
  letter-spacing: -.045em
}

.page-heading p {
  font-size: 14px;
  margin-top: 13px
}

.page-heading .eyebrow {
  margin-bottom: 11px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px
}

.card h3 {
  font-size: 19px
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px
}

.card-head h2 {
  font-size: 23px
}

.card-head h3 {
  font-size: 18px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 23px
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px
}

.stat-label i {
  color: #9faabe
}

.stat-value {
  font-size: 31px;
  font-weight: 760;
  letter-spacing: -1.2px;
  line-height: 1.1
}

.stat-foot {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px
}

.stat-card.featured {
  background: var(--blue);
  color: white;
  border-color: var(--blue)
}

.stat-card.featured .stat-label,
.stat-card.featured .stat-label i,
.stat-card.featured .stat-foot {
  color: #cfdaff
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 24px
}

.stack {
  display: grid;
  gap: 22px;
  align-content: start
}

.mission-preview {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.mission-preview:last-child {
  border-bottom: 0
}

.mission-symbol {
  background: var(--pale);
  border-radius: 12px;
  height: 42px;
  width: 42px;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 16px
}

.mission-preview h4 {
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.4
}

.mission-preview p {
  font-size: 12px;
  margin-top: 5px
}

.points-tag {
  font-weight: 750;
  font-size: 13px;
  color: var(--blue);
  white-space: nowrap
}

.district-banner {
  border-radius: 14px;
  padding: 26px;
  background: var(--soft-blue);
  position: relative;
  overflow: hidden
}

.district-banner h3 {
  font-size: 25px;
  margin: 14px 0
}

.district-banner p {
  font-size: 12px
}

.district-banner .btn {
  margin-top: 20px
}

.progress {
  height: 6px;
  background: #e1e8f5;
  border-radius: 10px;
  overflow: hidden
}

.progress>span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 10px;
  min-width: 2px
}

.progress-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin: 16px 0 8px
}

.feed-item {
  display: flex;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px
}

.feed-item:last-child {
  border: 0
}

.feed-item>i {
  color: var(--blue);
  padding-top: 4px
}

.feed-item time {
  display: block;
  color: #96a0af;
  font-size: 10px;
  margin-top: 4px
}

.feed-item p {
  color: var(--ink)
}

.map-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px
}

.map-toolbar select {
  width: auto;
  min-width: 230px
}

.map-toolbar .map-legend {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-left: auto
}

.legend-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  margin-right: 6px
}

.legend-dot.red {
  background: var(--red)
}

.legend-dot.gray {
  background: #a9b6cb
}

.game-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  height: 650px;
  min-height: 550px
}

.missions-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.panel-title {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700
}

.missions-list {
  overflow-y: auto;
  padding: 9px
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: #fff;
  padding: 16px 12px;
  border-radius: 10px;
  color: var(--ink);
  position: relative
}

.mission-item:hover {
  background: var(--pale)
}

.mission-item.selected {
  background: var(--soft-blue);
  border-color: #d6e0ff
}

.mission-item.completed .mission-symbol {
  background: #eaf8ef;
  color: #287a48
}

.mission-item .mission-symbol {
  width: 35px;
  height: 38px;
  flex-shrink: 0;
  font-size: 13px
}

.mission-item strong {
  font-size: 13px;
  line-height: 1.4;
  display: block
}

.mission-item small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px
}

.mission-item .points-tag {
  margin-left: auto;
  font-size: 11px;
  padding-top: 2px
}

.map-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #e9eef3
}

.map-canvas {
  height: 100%;
  width: 100%;
  z-index: 1
}

.map-canvas .leaflet-control-attribution {
  font-size: 9px
}

.map-privacy-note {
  position: absolute;
  top: 15px;
  left: 55px;
  right: 15px;
  z-index: 400;
  font-size: 11px;
  background: #ffffffed;
  padding: 9px 12px;
  border-radius: 7px;
  box-shadow: 0 2px 8px #10204015;
  pointer-events: none
}

.mission-detail {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 401;
  background: white;
  border-radius: 13px;
  box-shadow: 0 10px 35px #18294130;
  padding: 22px;
  max-width: 420px;
  max-height: 75%;
  overflow-y: auto
}

.mission-detail .detail-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px
}

.mission-detail h3 {
  font-size: 22px;
  margin-bottom: 13px
}

.riddle {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7
}

.mission-detail .detail-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px
}

.mission-detail .detail-actions .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 12px
}

.gps-status {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6
}

.hint {
  font-size: 13px;
  border-left: 3px solid var(--blue);
  padding: 9px 12px;
  background: var(--pale);
  margin-top: 14px
}

.leaflet-marker-icon .map-pin {
  background: var(--blue);
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 9px #1d376644
}

.leaflet-marker-icon .map-pin.player {
  background: var(--red)
}

.leaflet-marker-icon .map-pin.done {
  background: #248454
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 690px
}

.auth-story {
  background: var(--soft-blue);
  padding: 65px 10% 60px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative
}

.auth-story h1 {
  font-size: 58px;
  max-width: 410px;
  line-height: 1.06
}

.auth-story p {
  max-width: 360px;
  margin-top: 24px;
  line-height: 1.8;
  font-size: 15px
}

.auth-quote {
  margin-top: 70px;
  border-top: 1px solid #cad7f4;
  padding-top: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 650
}

.auth-quote i {
  font-size: 25px;
  color: var(--blue)
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 40px
}

.auth-form {
  width: 100%;
  max-width: 410px
}

.auth-form h2 {
  font-size: 30px
}

.auth-form>p {
  font-size: 13px;
  margin: 12px 0 27px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  min-width: 0
}

.field label,
label.field {
  font-size: 12px;
  font-weight: 650;
  color: var(--ink)
}

input,
select,
textarea {
  border: 1px solid #dce2eb;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  min-height: 46px;
  padding: 11px 13px;
  width: 100%;
  line-height: 1.5
}

input::placeholder,
textarea::placeholder {
  color: #a3adbb
}

textarea {
  resize: vertical;
  min-height: 95px
}

input[type=checkbox],
input[type=radio] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue)
}

input[type=file] {
  font-size: 12px
}

.field small {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  margin: 20px 0
}

.check-field input {
  margin-top: 3px;
  flex-shrink: 0
}

.check-field a {
  color: var(--blue);
  text-decoration: underline
}

.auth-bottom {
  font-size: 13px;
  text-align: center;
  margin-top: 22px
}

.auth-bottom a {
  color: var(--blue);
  font-weight: 650
}

.form-message,
.notice {
  padding: 13px 16px;
  border: 1px solid #d4dffb;
  background: var(--soft-blue);
  border-radius: 9px;
  font-size: 13px;
  color: #244f9f;
  margin-bottom: 20px
}

.form-message.error,
.notice.error,
.notice-danger {
  background: #fff1f2;
  color: #a32330;
  border-color: #ffd3d7
}

.form-message.success,
.notice.success {
  background: #edf8f0;
  color: #237344;
  border-color: #cae9d4
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px
}

.form-grid .full {
  grid-column: 1/-1
}

.filters {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px
}

.tabs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px;
  gap: 4px;
  background: #fff
}

.tab {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 10px 17px;
  font-weight: 650;
  font-size: 12px;
  color: var(--muted);
  min-height: 40px
}

.tab.active {
  background: var(--blue);
  color: white
}

.filters select {
  width: auto;
  min-width: 170px;
  max-width: 270px;
  font-size: 13px
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: auto
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
  white-space: nowrap
}

thead {
  background: #f8fafc
}

th {
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
  padding: 16px 20px
}

td {
  padding: 19px 20px;
  border-top: 1px solid var(--line)
}

tbody tr:hover {
  background: #fbfcff
}

td.rank {
  font-weight: 750;
  color: #8c98ab;
  width: 75px;
  font-size: 15px
}

tr.top-row td.rank {
  color: var(--blue)
}

.table-name {
  font-weight: 700;
  display: flex;
  gap: 12px;
  align-items: center
}

.table-name small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px
}

.table-score {
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--blue);
  font-size: 18px
}

.rank-badge {
  height: 32px;
  width: 28px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  border-radius: 7px;
  color: var(--blue);
  font-size: 12px
}

.leaderboard-intro {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 12px;
  background: var(--pale);
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 20px;
  color: var(--muted)
}

.leaderboard-intro i {
  color: var(--blue)
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--soft-blue);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  flex-shrink: 0
}

.avatar-small {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 15px
}

.avatar-large {
  width: 92px;
  height: 100px;
  font-size: 40px;
  border-radius: 23px
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 24px
}

.profile-heading h1 {
  font-size: 35px
}

.profile-heading p {
  margin-top: 8px
}

.profile-heading .pill {
  margin-top: 13px
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px
}

.achievement {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 23px 14px;
  text-align: center;
  opacity: .47
}

.achievement.unlocked {
  opacity: 1;
  background: #f9fbff;
  border-color: #d6e1ff
}

.achievement i {
  font-size: 27px;
  color: var(--blue);
  margin-bottom: 15px;
  display: block
}

.achievement h4 {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.4
}

.achievement p {
  font-size: 10px;
  margin-top: 8px;
  line-height: 1.5
}

.avatar-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0
}

.avatar-option {
  border: 1px solid var(--line);
  background: white;
  color: var(--blue);
  height: 48px;
  width: 48px;
  border-radius: 10px;
  font-size: 20px
}

.avatar-option.selected {
  border: 2px solid var(--blue);
  background: var(--soft-blue)
}

.battle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.battle-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: block
}

.battle-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 11px;
  color: var(--muted)
}

.battle-teams {
  display: grid;
  grid-template-columns: 1fr 35px 1fr;
  text-align: center;
  align-items: center;
  gap: 10px
}

.battle-team h3 {
  font-size: 18px;
  line-height: 1.3;
  min-height: 48px
}

.battle-team strong {
  font-size: 36px;
  display: block;
  margin: 14px 0;
  letter-spacing: -1.5px;
  color: var(--blue)
}

.battle-team:last-child strong {
  color: var(--red)
}

.versus {
  font-size: 11px;
  font-weight: 800;
  color: #a5afbd
}

.battle-card .btn {
  margin-top: 22px
}

.arena {
  max-width: 800px;
  margin: 0 auto
}

.battle-scoreboard {
  background: var(--pale);
  padding: 30px;
  border-radius: 16px
}

.battle-timer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 22px 0
}

.question-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  margin-top: 24px
}

.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 23px
}

.question-card h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 26px
}

.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.answer {
  min-height: 65px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink)
}

.answer span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--pale);
  border-radius: 7px;
  font-size: 11px;
  flex-shrink: 0;
  font-weight: 700
}

.answer:hover {
  border-color: var(--blue);
  background: var(--soft-blue)
}

.answer.correct {
  background: #ecf8f0;
  border-color: #51a876
}

.answer.wrong {
  background: #fff0f2;
  border-color: var(--red)
}

.question-result {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 650
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.district-hero {
  padding: 35px;
  background: var(--soft-blue);
  border-radius: 16px;
  margin: 35px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px
}

.district-hero h1 {
  font-size: 42px;
  max-width: 700px
}

.district-hero p {
  margin-top: 12px
}

.district-rank {
  font-size: 66px;
  font-weight: 800;
  letter-spacing: -4px;
  color: var(--blue);
  line-height: 1
}

.district-rank small {
  font-size: 11px;
  display: block;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 500;
  margin-top: 12px;
  text-align: right
}

.content {
  max-width: 780px;
  margin: 45px auto
}

.content h1 {
  font-size: 42px;
  margin-bottom: 28px
}

.content h2 {
  font-size: 24px;
  margin: 34px 0 14px
}

.content p,
.content ul,
.content ol {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px
}

.content li {
  margin-bottom: 8px
}

.content a {
  color: var(--blue);
  text-decoration: underline
}

.content strong {
  color: var(--ink)
}

.admin-bar {
  background: var(--ink);
  color: white
}

.admin-bar .container {
  display: flex;
  align-items: center;
  gap: 23px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 12px;
  white-space: nowrap
}

.admin-bar span {
  font-weight: 700;
  margin-right: 10px
}

.admin-bar a:hover {
  color: #a8c1ff
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0
}

.admin-table input {
  min-width: 80px
}

.admin-table .btn {
  padding: 8px 13px;
  font-size: 12px
}

.empty-state {
  text-align: center;
  padding: 50px 25px
}

.empty-state>i {
  font-size: 27px;
  color: #9aafd8;
  margin-bottom: 19px
}

.empty-state h3 {
  font-size: 19px;
  margin-bottom: 10px
}

.empty-state p {
  font-size: 13px;
  max-width: 360px;
  margin: auto
}

.loading {
  padding: 35px;
  color: var(--muted);
  font-size: 13px;
  text-align: center
}

.loading i {
  margin-right: 9px;
  color: var(--blue)
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 16px 23px;
  z-index: 10000;
  max-width: calc(100vw - 32px);
  font-size: 13px
}

.toast.error {
  background: #a62634
}

.success-burst {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5000;
  background: #10244965;
  backdrop-filter: blur(3px)
}

.success-box {
  background: #fff;
  padding: 42px 35px;
  border-radius: 22px;
  width: min(420px, calc(100% - 35px));
  text-align: center;
  animation: appear .3s ease
}

.success-box>i {
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 22px
}

.success-box h2 {
  font-size: 27px;
  line-height: 1.25
}

.success-points {
  font-size: 67px;
  letter-spacing: -3px;
  color: var(--blue);
  font-weight: 800;
  margin: 15px 0
}

.success-box p {
  font-size: 13px;
  margin-bottom: 20px
}

.success-box .btn {
  width: 100%
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 15px;
  padding: 14px;
  background: var(--blue);
  color: white;
  z-index: 10000
}

.skip-link:focus {
  top: 10px
}

.subtle-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0
}

.error-page {
  text-align: center;
  padding: 100px 24px
}

.error-page p {
  margin: 18px auto 30px;
  max-width: 500px
}

.offline-note {
  background: #fff5dc;
  color: #79571c;
  padding: 9px 18px;
  text-align: center;
  font-size: 12px
}

.mini-list {
  display: grid;
  gap: 12px
}

.mini-row {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px
}

.mini-row:last-child {
  border: 0
}

.mini-row strong {
  margin-left: auto;
  color: var(--blue);
  font-size: 14px
}

.mini-row .rank {
  color: #9ea9bb;
  width: 18px;
  font-size: 11px
}

.row-actions {
  display: flex;
  gap: 8px
}

.row-actions form {
  display: inline
}

.section-gap {
  margin-top: 30px
}

.place-image {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px
}

@keyframes appear {
  from {
    transform: translateY(15px) scale(.97);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }
}

@media(min-width:1500px) {
  .hero-grid {
    min-height: 670px
  }

  .hero-map {
    height: 540px
  }
}

@media(max-width:1100px) {
  .container {
    width: calc(100% - 48px)
  }

  .nav-wrap {
    padding: 0 24px;
    gap: 24px
  }

  .desktop-nav {
    gap: 20px
  }

  .nav-actions {
    gap: 15px
  }

  .hero h1 {
    font-size: 62px
  }

  .hero-actions {
    gap: 7px
  }

  .hero-actions .btn {
    padding: 15px 18px
  }

  .map-float-one {
    right: 5px
  }

  .game-layout {
    grid-template-columns: 300px 1fr
  }

  .map-toolbar .map-legend {
    gap: 12px
  }

  .achievements-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .auth-story {
    padding: 55px 9%
  }

  .auth-story h1 {
    font-size: 49px
  }

  .footer-top {
    gap: 30px
  }

  .footer-links {
    gap: 18px
  }
}

@media(max-width:850px) {
  .desktop-nav {
    display: none
  }

  .nav-actions {
    margin-left: auto
  }

  .menu-toggle {
    display: block
  }

  .site-header {
    height: 74px
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 510px;
    gap: 0
  }

  .hero h1 {
    font-size: 53px
  }

  .hero-desc {
    font-size: 14px;
    max-width: 320px
  }

  .hero-actions {
    flex-wrap: wrap
  }

  .hero-actions .btn-large {
    min-height: 48px;
    padding: 13px 18px;
    font-size: 12px
  }

  .hero-map {
    height: 390px
  }

  .map-float {
    min-width: 180px;
    padding: 12px;
    gap: 9px
  }

  .map-float-one {
    top: 20px;
    right: 0
  }

  .map-float-two {
    bottom: 20px;
    left: 0
  }

  .map-float strong {
    font-size: 11px
  }

  .map-float small {
    font-size: 9px
  }

  .map-annotation {
    bottom: 85px;
    font-size: 10px
  }

  .statbar-inner {
    grid-template-columns: repeat(3, 1fr)
  }

  .statbar-slogan {
    display: none
  }

  .statbar-item {
    padding-left: 20px;
    gap: 12px
  }

  .statbar-item strong {
    font-size: 29px
  }

  .section {
    padding: 60px 0
  }

  .steps {
    gap: 22px
  }

  .step h3 {
    font-size: 20px
  }

  .step p {
    font-size: 13px
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr
  }

  .stats-grid {
    gap: 12px
  }

  .stat-card {
    padding: 19px 16px
  }

  .stat-value {
    font-size: 27px
  }

  .footer-top {
    flex-wrap: wrap
  }

  .footer-links {
    margin-left: 0
  }

  .game-layout {
    grid-template-columns: 260px 1fr;
    height: 630px
  }

  .mission-detail {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 17px
  }

  .mission-detail h3 {
    font-size: 20px
  }

  .map-toolbar .map-legend {
    display: none
  }

  .auth-layout {
    grid-template-columns: .8fr 1fr
  }

  .auth-story h1 {
    font-size: 43px
  }

  .auth-form-wrap {
    padding: 40px 25px
  }

  .profile-grid {
    grid-template-columns: 1fr
  }

  .achievements-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .battle-team h3 {
    font-size: 16px
  }

  .battle-card {
    padding: 19px
  }

  .callout {
    padding: 35px
  }

  .callout h2 {
    font-size: 28px
  }

  .two-col {
    grid-template-columns: 1fr
  }

  .page-heading h1 {
    font-size: 34px
  }
}

@media(max-width:600px) {
  .container {
    width: calc(100% - 36px)
  }

  .nav-wrap {
    padding: 0 18px;
    gap: 13px
  }

  .brand {
    font-size: 21px;
    gap: 8px
  }

  .brand img {
    width: 27px
  }

  .site-header {
    height: 70px
  }

  .nav-actions {
    gap: 10px
  }

  .nav-login,
  .nav-home {
    display: none
  }

  .nav-actions .btn-small {
    font-size: 11px;
    min-height: 38px;
    padding: 10px 13px;
    gap: 6px
  }

  .menu-toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border: 0
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }

  .hero-copy {
    padding: 44px 0 10px
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: .1em
  }

  .hero h1 {
    font-size: 60px;
    letter-spacing: -.065em
  }

  .hero-desc {
    font-size: 15px;
    max-width: 350px;
    margin-top: 21px;
    line-height: 1.75
  }

  .hero-actions {
    margin-top: 24px;
    gap: 9px
  }

  .hero-actions .btn-large {
    min-height: 50px;
    padding: 14px 19px;
    font-size: 12px
  }

  .hero-note {
    font-size: 10px;
    margin-top: 13px
  }

  .hero-map {
    height: 325px;
    margin: 8px 0 15px
  }

  .slovakia-map {
    height: 275px
  }

  .map-float-one {
    top: 10px;
    right: 5px
  }

  .map-float-two {
    bottom: 9px;
    left: 0
  }

  .map-float {
    min-width: 183px
  }

  .map-caption {
    bottom: -6px;
    right: 0;
    font-size: 8px
  }

  .map-annotation {
    bottom: 57px;
    right: 1px
  }

  .statbar-inner {
    padding: 23px 0;
    gap: 8px
  }

  .statbar-item {
    display: block;
    padding-left: 15px
  }

  .statbar-item strong {
    font-size: 31px;
    display: block;
    margin-bottom: 8px
  }

  .statbar-item span {
    font-size: 10px;
    line-height: 1.5;
    display: block
  }

  .section {
    padding: 48px 0
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 26px
  }

  .section-head h2 {
    font-size: 31px
  }

  .section-head p {
    font-size: 13px
  }

  .section-head .eyebrow {
    margin-bottom: 13px
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .step {
    padding-left: 70px;
    min-height: 78px
  }

  .step-top {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0
  }

  .step-num {
    display: none
  }

  .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px
  }

  .step h3 {
    font-size: 21px;
    margin-bottom: 8px
  }

  .step p {
    max-width: none;
    font-size: 13px
  }

  .pilot-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .pilot-art {
    height: 190px
  }

  .pilot-info {
    padding: 21px
  }

  .pilot-info h3 {
    font-size: 23px
  }

  .callout {
    display: block;
    padding: 30px 25px
  }

  .callout h2 {
    font-size: 30px
  }

  .callout p {
    font-size: 13px
  }

  .callout .btn {
    margin-top: 23px;
    width: 100%
  }

  .site-footer {
    margin-top: 35px
  }

  .footer-top {
    display: block;
    padding: 30px 0
  }

  .footer-top p {
    margin-top: 17px
  }

  .footer-links {
    margin-top: 24px;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 11px
  }

  .footer-bottom {
    font-size: 10px;
    gap: 13px;
    flex-wrap: wrap;
    padding: 18px 0
  }

  .page-heading {
    padding: 29px 0 23px;
    align-items: flex-start
  }

  .page-heading h1 {
    font-size: 30px
  }

  .page-heading p {
    font-size: 12px
  }

  .page-heading>.btn {
    font-size: 11px;
    padding: 11px 13px;
    white-space: nowrap
  }

  .page-heading .eyebrow {
    font-size: 9px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 22px
  }

  .stat-card {
    padding: 18px
  }

  .stat-label {
    font-size: 11px;
    margin-bottom: 10px
  }

  .stat-value {
    font-size: 29px
  }

  .stat-foot {
    font-size: 10px
  }

  .dashboard-grid,
  .profile-grid {
    grid-template-columns: 1fr
  }

  .card {
    padding: 21px;
    border-radius: 13px
  }

  .card-head h2 {
    font-size: 21px
  }

  .card-head h3 {
    font-size: 18px
  }

  .card-head .text-link {
    font-size: 11px
  }

  .mission-preview {
    gap: 10px
  }

  .mission-preview h4 {
    font-size: 12px
  }

  .mission-preview p {
    font-size: 11px
  }

  .mission-preview .points-tag {
    font-size: 11px
  }

  .game-layout {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 13px;
    min-height: 0
  }

  .missions-panel {
    order: 2;
    height: auto;
    max-height: 365px
  }

  .map-stage {
    height: 510px;
    order: 1
  }

  .mission-detail {
    max-height: 75%;
    max-width: none
  }

  .map-toolbar {
    gap: 10px;
    margin-bottom: 13px
  }

  .map-toolbar select {
    min-width: 0;
    width: 100%;
    font-size: 12px
  }

  .map-toolbar .btn {
    padding: 10px 13px;
    font-size: 11px;
    white-space: nowrap
  }

  .map-privacy-note {
    left: 49px;
    top: 11px;
    font-size: 9px
  }

  .panel-title {
    padding: 15px;
    font-size: 13px
  }

  .missions-list {
    padding: 5px
  }

  .mission-item {
    padding: 13px 11px
  }

  .auth-layout {
    display: block;
    min-height: 0
  }

  .auth-story {
    display: none
  }

  .auth-form-wrap {
    padding: 42px 23px
  }

  .auth-form h2 {
    font-size: 30px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .filters {
    gap: 10px
  }

  .tabs {
    width: 100%;
    display: flex
  }

  .tab {
    flex: 1;
    padding: 9px 12px;
    font-size: 11px
  }

  .filters select {
    min-width: 0;
    max-width: none;
    flex: 1;
    font-size: 12px
  }

  th {
    padding: 13px 15px;
    font-size: 9px
  }

  td {
    padding: 17px 15px;
    font-size: 12px
  }

  .table-score {
    font-size: 16px
  }

  .table-name {
    gap: 9px
  }

  .rank-badge {
    height: 28px;
    width: 24px
  }

  .leaderboard-intro {
    font-size: 11px;
    align-items: flex-start
  }

  .hide-mobile {
    display: none
  }

  .profile-heading {
    gap: 16px
  }

  .profile-heading h1 {
    font-size: 28px
  }

  .avatar-large {
    width: 72px;
    height: 80px;
    font-size: 31px;
    border-radius: 18px
  }

  .profile-heading p {
    font-size: 12px
  }

  .achievements-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .achievement {
    padding: 20px 12px
  }

  .battle-grid {
    grid-template-columns: 1fr
  }

  .battle-team h3 {
    font-size: 17px;
    min-height: 43px
  }

  .question-card {
    padding: 22px
  }

  .question-card h2 {
    font-size: 23px
  }

  .answer-grid {
    grid-template-columns: 1fr
  }

  .answer {
    min-height: 56px
  }

  .battle-scoreboard {
    padding: 22px 16px
  }

  .district-hero {
    padding: 25px 21px;
    margin-top: 24px;
    align-items: flex-start
  }

  .district-hero h1 {
    font-size: 31px
  }

  .district-hero p {
    font-size: 11px
  }

  .district-rank {
    font-size: 44px;
    letter-spacing: -2px;
    white-space: nowrap
  }

  .district-rank small {
    font-size: 9px;
    max-width: 70px;
    white-space: normal;
    line-height: 1.6
  }

  .content {
    margin: 30px 18px
  }

  .content h1 {
    font-size: 34px
  }

  .content h2 {
    font-size: 22px
  }

  .content p,
  .content li {
    font-size: 13px
  }

  .admin-bar .container {
    gap: 18px;
    font-size: 11px
  }

  .admin-bar span {
    display: none
  }

  .success-box {
    padding: 32px 25px
  }

  .success-points {
    font-size: 58px
  }

  .footer-country {
    font-size: 10px
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.admin-thumbnail {
  max-width: 130px;
  max-height: 80px;
  object-fit: cover;
  border-radius: 8px
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px
}

.checkbox input {
  width: 18px;
  min-height: 18px
}

.field-wide {
  grid-column: 1/-1
}

.pagination {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  align-items: center
}

.danger-zone {
  border-color: #f2c7cc;
  background: #fffafb
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0
}

.admin-nav a {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px
}

.card+.card {
  margin-top: 22px
}

.stack>.card+.card {
  margin-top: 0
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px
}

legend {
  font-size: 13px;
  font-weight: 650;
  padding: 0 8px
}

code {
  background: var(--pale);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 12px
}

.answer:disabled {
  cursor: default;
  opacity: .7
}

.answer.correct:disabled,
.answer.wrong:disabled {
  opacity: 1
}

.admin-page main {
  width: min(1240px, calc(100% - 48px));
  margin: auto
}

.admin-page .admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 22px 0
}

.admin-page h2 {
  font-size: 25px;
  margin-bottom: 16px
}

.admin-page .form-grid {
  margin-top: 20px
}

.admin-page .notice-error {
  background: #fff1f2;
  color: #a32330;
  border-color: #ffd3d7
}

.admin-page .admin-grid>.card {
  margin-top: 0
}

.admin-page .admin-nav {
  display: none
}

@media(max-width:600px) {
  .admin-page main {
    width: calc(100% - 36px)
  }

  .admin-page .admin-grid {
    grid-template-columns: 1fr
  }

  .admin-page h2 {
    font-size: 23px
  }
}

body[data-page="setup"] main {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto 50px
}

body[data-page="setup"] .card h2 {
  font-size: 25px;
  margin-bottom: 16px
}

body[data-page="setup"] form {
  margin-top: 24px
}

/* Informácia ostáva pri mape aj pri výpadku externých dlaždíc. */
.map-tile-notice {
  max-width: 265px;
  padding: 10px 12px;
  background: #fff;
  color: #465571;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  font: 11px/1.5 Inter, sans-serif;
  box-shadow: 0 2px 12px #12294e12;
}
.leaflet-container { background-color: #edf2fa; }

.site-footer .brand img {
  width: 190px;
  height: auto;
}