#bucharest-hunt-app {
  --bg: #f4f7fb;
  --card: #ffffff;
  --card-soft: #f8fbff;
  --text: #17324d;
  --muted: #66788a;
  --line: #d9e3ee;
  --blue: #1e4d7a;
  --blue-dark: #163a5d;
  --blue-soft: #eef5fb;
  --yellow: #f3c94d;
  --yellow-soft: #fff7db;
  --green: #2f7d62;
  --green-dark: #256a54;
  --shadow-sm: 0 6px 18px rgba(18, 41, 66, 0.06);
  --shadow-md: 0 12px 34px rgba(18, 41, 66, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  padding: 10px 8px 28px;
}

#bucharest-hunt-app * {
  box-sizing: border-box;
}

#bucharest-hunt-app a,
#bucharest-hunt-app button,
#bucharest-hunt-app input,
#bucharest-hunt-app select {
  -webkit-tap-highlight-color: transparent;
}

#bucharest-hunt-app .bh-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

#bucharest-hunt-app .bh-screen {
  display: none;
}

#bucharest-hunt-app .bh-screen.active {
  display: block;
}

/* HERO */

#bucharest-hunt-app .bh-hero {
  background: linear-gradient(135deg, rgba(30, 77, 122, 0.98), rgba(22, 58, 93, 0.96));
  color: #fff;
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

#bucharest-hunt-app .bh-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(243, 201, 77, 0.12);
}

#bucharest-hunt-app .bh-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 12px;
}

#bucharest-hunt-app .bh-title {
  position: relative;
  z-index: 1;
  font-size: 32px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}

#bucharest-hunt-app .bh-subtitle {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
}

#bucharest-hunt-app .bh-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

#bucharest-hunt-app .bh-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
}

/* LAYOUT */

#bucharest-hunt-app .bh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

#bucharest-hunt-app .bh-sidebar,
#bucharest-hunt-app .bh-main {
  min-width: 0;
}

#bucharest-hunt-app .bh-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}

#bucharest-hunt-app .bh-panel-inner {
  padding: 14px;
  min-width: 0;
}

#bucharest-hunt-app .bh-intro-panel,
#bucharest-hunt-app .bh-register-panel {
  margin-top: 14px;
}

/* LABELS */

#bucharest-hunt-app .bh-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

#bucharest-hunt-app .bh-label-dark {
  color: rgba(255,255,255,0.68);
}

/* ROUTE SELECT */

#bucharest-hunt-app .bh-route-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
  min-width: 0;
}

#bucharest-hunt-app .bh-route-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

#bucharest-hunt-app .bh-route-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

#bucharest-hunt-app .bh-route-btn:active {
  transform: scale(0.995);
}

#bucharest-hunt-app .bh-route-title,
#bucharest-hunt-app .bh-route-desc {
  display: block;
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#bucharest-hunt-app .bh-route-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

#bucharest-hunt-app .bh-route-desc {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

#bucharest-hunt-app .bh-route-btn.active {
  box-shadow: 0 8px 24px rgba(30, 77, 122, 0.08);
}

#bucharest-hunt-app .bh-route-btn[data-route="quick"].active {
  background: linear-gradient(180deg, #fff6dc 0%, #ffe9a8 100%);
  border-color: rgba(220, 171, 35, 0.6);
}

#bucharest-hunt-app .bh-route-btn[data-route="full"].active {
  background: linear-gradient(180deg, #eef6ff 0%, #dcecff 100%);
  border-color: rgba(30, 77, 122, 0.45);
}

/* PREVIEW */

#bucharest-hunt-app .bh-route-preview {
  margin-top: 12px;
  border: 1px dashed #d7e4f0;
  background: #f7f9fb;
  border-radius: 14px;
  padding: 12px;
}

#bucharest-hunt-app .bh-route-preview::before {
  content: "You selected";
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

#bucharest-hunt-app .bh-route-preview h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.15;
  color: var(--text);
}

#bucharest-hunt-app .bh-route-preview p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

#bucharest-hunt-app .bh-route-preview-meta {
  margin-top: 10px !important;
  font-size: 13px !important;
  color: var(--blue) !important;
  font-weight: 600;
}

/* SCREEN ACTIONS */

#bucharest-hunt-app .bh-screen-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

/* REGISTER */

#bucharest-hunt-app .bh-register-head {
  margin-bottom: 14px;
}

#bucharest-hunt-app .bh-register-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

#bucharest-hunt-app .bh-register-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

#bucharest-hunt-app .bh-register-form {
  display: grid;
  gap: 14px;
}

#bucharest-hunt-app .bh-form-grid {
  display: grid;
  gap: 12px;
}

#bucharest-hunt-app .bh-field {
  display: grid;
  gap: 6px;
}

#bucharest-hunt-app .bh-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

#bucharest-hunt-app .bh-field input,
#bucharest-hunt-app .bh-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
}

#bucharest-hunt-app .bh-field input:focus,
#bucharest-hunt-app .bh-field select:focus {
  border-color: rgba(30, 77, 122, 0.4);
  box-shadow: 0 0 0 3px rgba(30, 77, 122, 0.08);
}

#bucharest-hunt-app .bh-register-message {
  min-height: 20px;
  font-size: 13px;
  line-height: 1.45;
}

#bucharest-hunt-app .bh-register-message.success {
  color: var(--green);
}

#bucharest-hunt-app .bh-register-message.error {
  color: #b33a3a;
}

#bucharest-hunt-app .bh-register-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* TOPBAR */

#bucharest-hunt-app .bh-topbar h2 {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

#bucharest-hunt-app .bh-topbar p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}

#bucharest-hunt-app .bh-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

#bucharest-hunt-app .bh-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  border: 1px solid #d9e7f4;
  font-size: 12px;
  color: var(--blue-dark);
  line-height: 1.2;
}

/* INFO ACCORDIONS */

#bucharest-hunt-app .bh-info-list,
#bucharest-hunt-app .bh-accordion-list {
  display: grid;
  gap: 10px;
}

#bucharest-hunt-app .bh-info-list {
  margin-top: 0;
}

#bucharest-hunt-app .bh-info-item {
  border: 1px solid var(--line);
  background: var(--card-soft);
  border-radius: 14px;
  padding: 12px;
}

#bucharest-hunt-app .bh-small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

#bucharest-hunt-app .bh-accordion {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

#bucharest-hunt-app .bh-accordion + .bh-accordion {
  margin-top: 10px;
}

#bucharest-hunt-app .bh-accordion-toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

#bucharest-hunt-app .bh-accordion-icon {
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s ease;
}

#bucharest-hunt-app .bh-accordion.open .bh-accordion-icon {
  transform: rotate(45deg);
}

#bucharest-hunt-app .bh-accordion-content {
  display: none;
  padding: 0 12px 12px;
}

#bucharest-hunt-app .bh-accordion.open .bh-accordion-content {
  display: block;
}

#bucharest-hunt-app .bh-accordion-item {
  border: 1px solid var(--line);
  background: var(--card-soft);
  border-radius: 12px;
  padding: 10px 11px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}

/* PROGRESS */

#bucharest-hunt-app .bh-progress-card {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--card-soft);
}

#bucharest-hunt-app .bh-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.3;
}

#bucharest-hunt-app .bh-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e5edf5;
  overflow: hidden;
}

#bucharest-hunt-app .bh-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--blue));
  width: 10%;
  transition: width 0.25s ease;
}

/* STOP CARD */

#bucharest-hunt-app #bh-current-stop {
  margin-top: 16px;
}

#bucharest-hunt-app .bh-stop {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

#bucharest-hunt-app .bh-stop-inner {
  padding: 16px;
}

#bucharest-hunt-app .bh-stop-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

#bucharest-hunt-app .bh-step-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

#bucharest-hunt-app .bh-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid #d9e7f4;
  flex-shrink: 0;
}

#bucharest-hunt-app .bh-stop h3 {
  font-size: 22px;
  line-height: 1.12;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

#bucharest-hunt-app .bh-stop-area {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

#bucharest-hunt-app .bh-stop-type {
  display: inline-flex;
  align-self: flex-start;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f5f8fc;
  border: 1px solid var(--line);
}

#bucharest-hunt-app .bh-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  background: #fbfdff;
}

#bucharest-hunt-app .bh-block-main {
  background: #fbfdff;
}

#bucharest-hunt-app .bh-block h4 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

#bucharest-hunt-app .bh-block p {
  font-size: 14px;
  line-height: 1.56;
  margin: 0;
font-weight: 600;
}

#bucharest-hunt-app .bh-stop-subtle {
  margin-top: 10px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: var(--muted) !important;
}

/* ABOUT THIS SPOT */

#bucharest-hunt-app .bh-stop-info-box {
  margin-top: 12px;
  border: 1px dashed #d7e4f0;
  background: #f7f9fb;
  border-radius: 14px;
  overflow: hidden;
}

#bucharest-hunt-app .bh-stop-info-toggle {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

#bucharest-hunt-app .bh-stop-info-toggle::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

#bucharest-hunt-app .bh-stop-info-box.open .bh-stop-info-toggle::after {
  content: "–";
}

#bucharest-hunt-app .bh-stop-info-content {
  display: none;
  padding: 0 14px 14px;
}

#bucharest-hunt-app .bh-stop-info-box.open .bh-stop-info-content {
  display: block;
}

#bucharest-hunt-app .bh-stop-info-content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ACTIONS */

#bucharest-hunt-app .bh-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

#bucharest-hunt-app .bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.2s ease;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

#bucharest-hunt-app .bh-btn:active {
  transform: scale(0.995);
}

#bucharest-hunt-app .bh-btn-primary {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 125, 98, 0.25);
  border: none;
}

#bucharest-hunt-app .bh-btn-primary:hover {
  background: var(--green-dark);
}

#bucharest-hunt-app .bh-btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

#bucharest-hunt-app .bh-btn-secondary:hover {
  border-color: #bfd0e0;
}

#bucharest-hunt-app .bh-btn-map {
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(30, 77, 122, 0.25);
  box-shadow: none;
}

#bucharest-hunt-app .bh-btn-map:hover {
  background: #f3f8fc;
  border-color: rgba(30, 77, 122, 0.4);
}

#bucharest-hunt-app .bh-btn-map::before {
  content: "📍";
  margin-right: 6px;
}

#bucharest-hunt-app #bh-next {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#bucharest-hunt-app #bh-next::after {
  content: "→";
  margin-left: 8px;
  font-size: 16px;
}

#bucharest-hunt-app .bh-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

#bucharest-hunt-app .bh-nav .bh-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* FOOTER REMINDER */

#bucharest-hunt-app .bh-footer-note {
  position: static;
  margin-top: 14px;
}

#bucharest-hunt-app .bh-footer-card {
  background: linear-gradient(135deg, rgba(22, 50, 79, 0.98), rgba(18, 40, 64, 0.96));
  color: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#bucharest-hunt-app .bh-footer-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}

#bucharest-hunt-app .bh-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#bucharest-hunt-app .bh-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* TABLET */

@media (min-width: 640px) {
  #bucharest-hunt-app {
    padding: 16px 14px 34px;
  }

  #bucharest-hunt-app .bh-hero {
    padding: 24px 22px;
    border-radius: 24px;
  }

  #bucharest-hunt-app .bh-title {
    font-size: 42px;
  }

  #bucharest-hunt-app .bh-subtitle {
    font-size: 15px;
  }

  #bucharest-hunt-app .bh-panel-inner {
    padding: 18px;
  }

  #bucharest-hunt-app .bh-screen-actions {
    grid-template-columns: 1fr 1fr;
  }

  #bucharest-hunt-app #bh-go-register {
    grid-column: 2;
  }

  #bucharest-hunt-app .bh-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  #bucharest-hunt-app .bh-nav {
    grid-template-columns: 1fr 1fr;
  }

  #bucharest-hunt-app .bh-footer-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* DESKTOP */

@media (min-width: 980px) {
  #bucharest-hunt-app {
    padding: 24px 16px 40px;
  }

  #bucharest-hunt-app .bh-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  #bucharest-hunt-app .bh-sidebar {
    position: sticky;
    top: 20px;
  }

  #bucharest-hunt-app .bh-hero {
    padding: 28px;
    border-radius: 28px;
  }

  #bucharest-hunt-app .bh-title {
    font-size: 54px;
  }

  #bucharest-hunt-app .bh-subtitle {
    font-size: 16px;
  }

  #bucharest-hunt-app .bh-panel {
    border-radius: 22px;
  }

  #bucharest-hunt-app .bh-panel-inner {
    padding: 20px;
  }

  #bucharest-hunt-app .bh-topbar h2 {
    font-size: 32px;
  }

  #bucharest-hunt-app .bh-footer-note {
    position: sticky;
    bottom: 16px;
  }
}

#bucharest-hunt-app .bh-stop-local-box {
  margin-top: 12px;
  border: 1px solid #f0d9a0;
  background: linear-gradient(180deg, #fffaf0 0%, #fff4dc 100%);
  border-radius: 14px;
  padding: 12px 13px;
}

#bucharest-hunt-app .bh-stop-local-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a6d00;
  margin-bottom: 6px;
  font-weight: 700;
}

#bucharest-hunt-app .bh-stop-local-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6f5620;
}

#bucharest-hunt-app .bh-finish-panel {
  margin-top: 14px;
}

#bucharest-hunt-app .bh-finish-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

#bucharest-hunt-app .bh-finish-text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

#bucharest-hunt-app .bh-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 14px;
}

#bucharest-hunt-app .bh-checkbox input {
  margin-top: 2px;
}

#bucharest-hunt-app .bh-disabled {
  opacity: 0.5;
}