/* ── Home screen layout layers ──
   L0 hero shell → L1 topbar → L2 brand → L3 ask card → L4 scroll body
*/

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

.home-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--c-bg-base, #120f1f);
  color: var(--c-text, #fff);
}

.home-tab-panel {
  flex: 1;
  min-height: 0;
}

.home-main-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.home-profile-panel {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.home-profile-panel .profile-shell {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

/* L0 — Hero shell */
.home-hero {
  position: relative;
  z-index: var(--z-content, 2);
  flex-shrink: 0;
  padding-bottom: 4px;
  background: linear-gradient(180deg, #15132c 0%, var(--c-bg-base, #120f1f) 72%);
}

/* Shared top bar — home + explore tabs */
.home-screen > .home-topbar {
  flex-shrink: 0;
}

.home-screen[data-active-tab='home'] > .home-topbar {
  background: linear-gradient(180deg, #1e1b3a 0%, #15132c 100%);
}

.home-screen[data-active-tab='explore'] > .home-topbar,
.home-screen[data-active-tab='footprints'] > .home-topbar {
  background: var(--c-bg-base, #120f1f);
  border-bottom: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
}

/* L1 — Top bar */
.home-topbar {
  position: relative;
  z-index: var(--z-topbar, 20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 16px 10px;
  overflow: visible;
}

.home-loc-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-loc-flag-btn {
  flex-shrink: 0;
  width: 34px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.home-loc-flag-mount {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.home-loc-flag-btn .home-loc-flag-wrap,
.home-loc-flag-btn .home-loc-flag-mount {
  display: block;
  width: 100%;
  height: 100%;
}

.home-loc-flag-btn .home-loc-flag,
.home-loc-flag-btn .cooked-flag {
  display: block;
  width: 34px;
  height: 26px;
  object-fit: cover;
  border-radius: 6px;
}

.home-loc-flag-btn .home-loc-flag-wrap.is-emoji {
  display: grid;
  place-items: center;
  width: 34px;
  height: 26px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.home-loc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  padding: 4px 8px 4px 2px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  color: var(--c-text, #fff);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.home-loc-trigger:active {
  transform: scale(0.98);
}

.home-loc-trigger:focus-visible {
  outline: none;
  border-color: rgba(216, 255, 54, 0.45);
  box-shadow: 0 0 0 4px rgba(123, 77, 255, 0.18);
}

.home-loc-label {
  font: 700 22px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-loc-chevron {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.home-loc-chevron svg {
  width: 14px;
  height: 14px;
  display: block;
  transform: translateY(0.5px);
  transition: transform 160ms ease;
}

.home-loc-trigger[aria-expanded='true'] .home-loc-chevron svg {
  transform: rotate(180deg) translateY(-0.5px);
}

.home-topbar-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

/* Language picker — globe.css loads only on globe journey; mirror styles on home */
.home-topbar .globe-lang-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.home-topbar .globe-lang-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--c-text, #fff);
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.home-topbar .globe-lang-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.home-topbar .globe-lang-toggle:active {
  transform: scale(.96);
}

.home-topbar .globe-lang-toggle[aria-expanded='true'],
.home-topbar .globe-lang-toggle:focus-visible {
  outline: none;
  background: transparent;
  color: #fff;
}

.home-topbar .globe-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: calc(var(--z-topbar, 20) + 3);
  min-width: 148px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(123,87,255,.18), transparent 48%),
    rgba(22, 18, 38, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.home-topbar .globe-lang-menu[hidden] {
  display: none !important;
}

.home-topbar .globe-lang-menu button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #fff;
  font: 600 13px var(--font-ui, 'Kalam', sans-serif);
  text-align: left;
  cursor: pointer;
}

.home-topbar .globe-lang-menu button:hover,
.home-topbar .globe-lang-menu button:focus {
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.home-topbar .globe-lang-menu button.active {
  background: linear-gradient(135deg, rgba(123, 87, 255, 0.34), rgba(216,255,54,.10));
  color: #fff;
}

.home-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--c-text, #fff);
  cursor: pointer;
  flex-shrink: 0;
}

.home-icon-btn svg {
  width: 22px;
  height: 22px;
}

.home-checkin-badge {
  position: absolute;
  left: 16px;
  top: calc(max(12px, env(safe-area-inset-top)) + 44px);
}

/* Area picker popup — above quick chips + bottom tab */
.home-area-shade {
  position: absolute;
  z-index: var(--z-overlay, 50);
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.home-area-popup {
  position: absolute;
  z-index: calc(var(--z-overlay, 50) + 1);
  left: 16px;
  right: 16px;
  top: calc(max(12px, env(safe-area-inset-top)) + 52px);
  max-width: 320px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(123, 87, 255, 0.22), transparent 45%),
    rgba(22, 18, 38, 0.96);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.home-area-country-block {
  margin-bottom: 4px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
}

.home-area-country {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--c-text, #fff);
  font: 700 15px var(--font-ui, 'Pretendard', sans-serif);
  text-align: left;
  cursor: pointer;
}

.home-area-country-name {
  display: block;
  line-height: 1.3;
}

.home-area-country-stats {
  padding: 0 14px 12px 52px;
  color: rgba(255, 255, 255, 0.72);
  font: 500 12px/1.55 var(--font-ui, 'Pretendard', sans-serif);
}

.home-area-country-stats p {
  margin: 0;
}

.home-area-country-stats p + p {
  margin-top: 2px;
}

.home-area-country-flag {
  width: 28px;
  height: 21px;
  flex-shrink: 0;
  display: block;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.home-area-country-flag .home-area-country-flag-img-wrap,
.home-area-country-flag .home-area-country-flag-img,
.home-area-country-flag .cooked-flag {
  display: block;
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 4px;
}

.home-area-country-flag .home-area-country-flag-img-wrap.is-emoji {
  display: grid;
  place-items: center;
  width: 28px;
  height: 21px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.home-area-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.home-area-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--c-text, #fff);
  font: 600 16px var(--font-ui, 'Pretendard', sans-serif);
  text-align: left;
  cursor: pointer;
}

.home-area-option-name {
  min-width: 0;
}

.home-area-option.is-locked {
  color: rgba(255, 255, 255, 0.36);
  cursor: not-allowed;
}

.home-area-option.is-locked:hover,
.home-area-option.is-locked:focus-visible {
  background: transparent;
}

.home-area-option-badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font: 600 11px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.01em;
}

.home-area-option:hover,
.home-area-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.home-area-option.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(123,87,255,.42), rgba(216,255,54,.10));
}

.home-area-option-add {
  color: var(--c-accent, #7b57ff);
  font-weight: 700;
}

.home-area-option-add:hover,
.home-area-option-add:focus-visible {
  background: var(--c-accent-soft, rgba(123, 87, 255, 0.1));
}

#areaRequestSheet {
  z-index: var(--z-sheet, 45);
}

#areaRequestSheet .request-input input,
#areaRequestSheet .request-input textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  resize: vertical;
}

#areaRequestSheet .request-input span {
  display: block;
  font: 600 13px var(--font-ui, 'Pretendard', sans-serif);
  color: rgba(255, 255, 255, 0.78);
}

.area-request-status {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font: 500 13px var(--font-ui, 'Pretendard', sans-serif);
}

.area-request-status.is-error {
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.12);
}

.area-request-status.is-success {
  color: #b8f5c8;
  background: rgba(72, 200, 120, 0.14);
}

#areaRequestSheet .area-request-head {
  padding-right: 0;
}

.area-request-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 4px;
}

.area-request-btn {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 14px;
  font: 700 16px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.01em;
  cursor: pointer;
}

.area-request-btn-primary {
  border: 0;
  background: var(--c-accent, #7b57ff);
  color: #fff;
  box-shadow: 0 6px 20px rgba(123, 87, 255, 0.35);
}

.area-request-btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.area-request-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-text, #fff);
}

/* L2 — Brand */
.home-brand {
  position: relative;
  z-index: calc(var(--z-content, 2) + 1);
  padding: 4px 20px 18px;
  text-align: center;
}

.home-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.home-brand-skull {
  display: block;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.home-brand-skull-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.home-brand-skull svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-brand-title {
  margin: 0;
  font-family: var(--font-brand, 'Kalam', cursive);
  font-weight: 700;
  font-size: clamp(32px, 9vw, 40px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--c-text, #fff);
  transform: skewX(-4deg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.home-brand-tagline {
  margin: 10px 0 0;
  font: 600 16px var(--font-ui, 'Pretendard', sans-serif);
  color: rgba(255, 255, 255, 0.9);
}

/* L3 — Ask card (light surface on dark hero) */
.home-ask-card {
  position: relative;
  z-index: calc(var(--z-content, 2) + 2);
  margin: 0 16px 12px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  color: #12122b;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.home-ask-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.home-ask-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  resize: none;
  overflow: hidden;
  background: transparent;
  color: #12122b;
  font: 500 15px/36px var(--font-ui, 'Pretendard', sans-serif);
  outline: none;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.home-ask-input::placeholder {
  color: #9e9e9e;
}

.home-ask-camera {
  flex-shrink: 0;
  align-self: center;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6f6884;
  cursor: pointer;
}

.home-ask-camera svg {
  width: 22px;
  height: 22px;
}

/* L4 — Scrollable body */
.home-body {
  position: relative;
  z-index: var(--z-content, 2);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.home-community-pending {
  margin: 0 16px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(123, 87, 255, 0.12);
  border: 1px solid rgba(123, 87, 255, 0.22);
  color: var(--c-text-secondary, #a099b0);
  font: 600 12px var(--font-ui, 'Pretendard', sans-serif);
  line-height: 1.45;
  text-align: center;
}

.home-section {
  padding: 8px 16px calc(88px + env(safe-area-inset-bottom));
}

.home-quick-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-trending-categories {
  padding: 0 0 12px;
  margin: 0;
}

.home-quick-actions::-webkit-scrollbar {
  display: none;
}

.home-quick-chip {
  flex-shrink: 0;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--c-bg-surface, #1e1b2e);
  color: var(--c-text, #fff);
  font: 600 13px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.01em;
  cursor: pointer;
}

.home-quick-chip.is-active {
  background: var(--c-accent, #7b57ff);
  color: #fff;
  box-shadow: 0 4px 14px rgba(123, 87, 255, 0.28);
}

.home-quick-chip:active {
  opacity: 0.85;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.home-section-head h2 {
  margin: 0;
  font: 700 16px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.02em;
  color: var(--c-text, #fff);
}

.home-section-more {
  border: 0;
  background: transparent;
  color: var(--c-text-muted, #6f6884);
  font: 500 13px var(--font-ui, 'Pretendard', sans-serif);
  cursor: pointer;
}

.home-trending {
  display: grid;
  gap: 10px;
}

.home-trending-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--c-bg-surface, #1e1b2e);
  cursor: pointer;
}

.home-trending-card:active {
  opacity: 0.92;
}

.home-trending-main {
  min-width: 0;
  flex: 1;
}

.home-trending-thumb {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

.home-trending-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-trending-thumb.is-photo {
  border-radius: 14px;
}

.home-trending-main b {
  display: block;
  margin-bottom: 4px;
  font: 600 15px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: -0.02em;
  color: var(--c-text, #fff);
  line-height: 1.35;
}

.home-trending-solved-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(124, 60, 255, 0.22);
  color: #d8c4ff;
  font: 700 10px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-trending-card.is-solved {
  border-color: rgba(124, 60, 255, 0.28);
}

.home-trending-main small {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  color: var(--c-text-muted, #6f6884);
  font: 500 12px var(--font-ui, 'Pretendard', sans-serif);
}

.home-trending-main small i {
  font-style: normal;
  opacity: .55;
}

.home-trending-views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.home-trending-views svg {
  width: 14px;
  height: 14px;
  display: block;
}

.home-trending-views b {
  color: inherit;
  font: inherit;
}

.home-trending-right-metric {
  flex: 0 0 auto;
  min-width: 48px;
  justify-content: center;
  align-self: center;
  color: var(--c-text-secondary, #a099b0);
  font: 800 12px var(--font-ui, 'Pretendard', sans-serif);
  line-height: 1;
  transform: translateY(1px);
}

.home-trending-right-metric svg {
  width: 15px;
  height: 15px;
}

.home-trending-replies {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 34px;
  justify-content: flex-end;
  font: 800 12px var(--font-ui, 'Pretendard', sans-serif);
  color: var(--c-text-secondary, #a099b0);
  line-height: 1;
}

.home-trending-replies svg {
  width: 17px;
  height: 17px;
  display: block;
}

.home-trending-replies b {
  color: inherit;
  font: inherit;
}

.home-trending-empty {
  padding: 18px;
  border: 1px dashed var(--c-border-strong, rgba(255, 255, 255, 0.14));
  border-radius: var(--r-md, 14px);
  color: var(--c-text-muted, #6f6884);
  font-size: 13px;
  text-align: center;
}

.home-footprint-card {
  padding: 14px;
  border: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--r-md, 14px);
  background: var(--c-bg-surface, #1e1b2e);
  box-shadow: var(--shadow-card, none);
}

.home-footprint-card b {
  display: block;
  margin-bottom: 6px;
  font: 800 14px 'DM Sans', sans-serif;
  color: var(--c-text, #fff);
}

.home-footprint-card p {
  margin: 0;
  color: var(--c-text-secondary, #a099b0);
  font-size: 13px;
  line-height: 1.45;
}

.home-footprint-empty {
  padding: 18px;
  border: 1px dashed var(--c-border-strong, rgba(255, 255, 255, 0.14));
  border-radius: var(--r-md, 14px);
  color: var(--c-text-muted, #6f6884);
  font-size: 13px;
  text-align: center;
}

.home-dock {
  position: absolute;
  z-index: var(--z-fab, 30);
  left: 16px;
  right: 16px;
  bottom: calc(10px + 66px + 12px);
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.home-dock > * {
  pointer-events: auto;
}

.home-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-dock, 25);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  height: calc(69px + env(safe-area-inset-bottom));
  padding-bottom: calc(5px + env(safe-area-inset-bottom));
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: #0a0814;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.home-bottom-nav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  padding: 6px 0 8px;
  border: 0;
  background: transparent;
  color: #8f879e;
  cursor: pointer;
  transition: color 0.18s ease;
  overflow: visible;
}

.home-bottom-nav button::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 87, 255, 0.5) 0%, rgba(123, 87, 255, 0.22) 42%, transparent 72%);
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 0;
}

.home-bottom-nav button b {
  position: relative;
  z-index: 1;
  display: block;
  font: 600 10px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: 0.02em;
  text-transform: capitalize;
  line-height: 1.1;
  margin-top: 1px;
}

.home-bottom-nav button.active b {
  color: #fff;
}

.home-bottom-nav .nav-icon-wrap {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  border-radius: 0;
  font-size: 20px;
  line-height: 1;
  background: transparent;
  box-shadow: none;
}

.home-bottom-nav .nav-icon-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.home-bottom-nav button.active {
  background: transparent;
  color: #fff;
}

.home-bottom-nav button.active::before {
  opacity: 1;
}

.home-bottom-nav button.active .nav-icon-wrap {
  background: transparent;
  box-shadow: none;
}

.home-bottom-nav button.active .nav-icon-svg {
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(160, 120, 255, 0.65));
}
