﻿:root {
  color-scheme: dark;
  --navy-950: #031a2c;
  --navy-900: #062c4b;
  --navy-800: #08476b;
  --cyan: #20d7db;
  --cyan-soft: #8ff5e9;
  --coral: #ff704d;
  --coral-dark: #e54135;
  --gold: #ffd45d;
  --cream: #fff9e9;
  --ink: #102d42;
  --panel: rgba(6, 35, 58, 0.92);
  --line: rgba(173, 246, 240, 0.28);
  --shadow: 0 18px 45px rgba(0, 20, 42, 0.3);
  font-family: Inter, "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overscroll-behavior: none;
  background: radial-gradient(circle at 50% 15%, #147ba1, #031827 68%);
}

body {
  display: grid;
  place-items: center;
  color: var(--cream);
  overflow: hidden;
  touch-action: manipulation;
}

button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.app {
  position: relative;
  width: min(100vw, 520px);
  height: 100svh;
  max-height: 980px;
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.52);
  isolation: isolate;
}

.start-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #0b83bd;
}

.start-bg {
  position: absolute;
  inset: 0;
  background: url("./assets/island-splash.webp") center / cover no-repeat;
  transform: scale(1.02);
  animation: opening-drift 12s ease-in-out infinite alternate;
}

.start-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 49, 82, 0.06) 20%, rgba(3, 21, 38, 0.1) 52%, rgba(3, 21, 38, 0.94) 100%);
}

.sun-flare {
  position: absolute;
  width: 52vmin;
  height: 52vmin;
  top: -12vmin;
  left: -10vmin;
  border-radius: 50%;
  background: rgba(255, 231, 165, 0.58);
  filter: blur(28px);
  mix-blend-mode: screen;
}

.start-head {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(14px + env(safe-area-inset-top)) 16px 0;
}

.edition-pill,
.sector-pill,
.matchup-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 99px;
  background: rgba(4, 40, 66, 0.68);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.language-switch,
.dialog-languages {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 99px;
  background: rgba(3, 32, 52, 0.66);
  backdrop-filter: blur(9px);
}

.language-switch button,
.dialog-languages button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"],
.dialog-languages button[aria-pressed="true"] {
  color: var(--navy-950);
  background: var(--cream);
}

.start-copy {
  position: absolute;
  z-index: 4;
  top: 10.5%;
  left: 18px;
  right: 18px;
  text-align: center;
  filter: drop-shadow(0 4px 14px rgba(0, 35, 57, 0.48));
}

.start-eyebrow {
  margin: 0 0 3px;
  color: #d7fffb;
  font-size: clamp(9px, 2.5vw, 12px);
  font-weight: 950;
  letter-spacing: 0.2em;
}

.start-copy h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  line-height: 0.78;
  transform: skew(-5deg);
}

.start-copy h1 span {
  padding-left: 8px;
  color: var(--cream);
  font-size: clamp(28px, 9vw, 48px);
  font-weight: 1000;
  letter-spacing: 0.14em;
}

.start-copy h1 strong {
  color: var(--coral);
  font-size: clamp(49px, 15vw, 78px);
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -0.055em;
  -webkit-text-stroke: 2px var(--cream);
  text-shadow: 0 5px 0 #083754, 0 8px 22px rgba(2, 31, 48, 0.5);
}

.start-subtitle {
  display: inline-block;
  margin: 15px 0 0;
  padding: 6px 14px;
  border-radius: 4px;
  color: var(--navy-950);
  background: rgba(255, 249, 233, 0.9);
  font-size: clamp(12px, 3.3vw, 15px);
  font-weight: 900;
  transform: skew(-5deg);
}

.start-team {
  position: absolute;
  z-index: 3;
  inset: 20% 0 5.5%;
  pointer-events: none;
}

.start-hero {
  position: absolute;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 18px 22px rgba(0, 25, 42, 0.42));
  pointer-events: none;
  user-select: none;
}

.start-commander {
  z-index: 3;
  width: min(112%, 575px);
  height: 100%;
  left: -6%;
  bottom: 0;
}

.start-sora,
.start-akari {
  z-index: 1;
  width: 82%;
  height: 84%;
  bottom: 2%;
  opacity: 0.94;
  filter: saturate(0.9) brightness(0.9) drop-shadow(0 14px 18px rgba(0, 25, 42, 0.45));
}

.start-sora {
  left: -35%;
  transform: rotate(-2deg);
}

.start-akari {
  right: -35%;
  transform: rotate(2deg);
}

.start-vignette {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 21, 36, 0.24), transparent 24%, transparent 76%, rgba(1, 21, 36, 0.2)),
    linear-gradient(0deg, #031827 0%, transparent 26%);
}

.start-actions {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 22px;
  text-align: center;
}

.primary-cta,
.secondary-cta,
.deploy-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  overflow: hidden;
  border: 2px solid #fff5da;
  border-radius: 16px 4px 16px 4px;
  color: white;
  background: linear-gradient(135deg, #ff8b54, #f2483f 68%);
  box-shadow: 0 6px 0 #a82c31, 0 12px 26px rgba(79, 14, 26, 0.36);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.06em;
  cursor: pointer;
  transform: translateY(-3px);
}

.primary-cta:active,
.deploy-button:active {
  box-shadow: 0 2px 0 #a82c31;
  transform: translateY(1px);
}

.primary-cta b,
.deploy-button b {
  position: absolute;
  right: 20px;
  font-size: 30px;
}

.cta-sheen {
  position: absolute;
  width: 35%;
  height: 180%;
  left: -50%;
  background: rgba(255, 255, 255, 0.3);
  transform: skew(-24deg);
  animation: sheen 3.5s ease-in-out infinite;
}

.start-fineprint {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.game-screen {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  height: 100%;
  background: #d9f8ed;
}

.topbar {
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto 44px;
  gap: 7px;
  align-items: center;
  min-height: 62px;
  padding: calc(7px + env(safe-area-inset-top)) 10px 7px;
  background: linear-gradient(180deg, #062c4b, #073a59);
  box-shadow: 0 3px 14px rgba(0, 28, 47, 0.32);
}

.profile-chip {
  display: flex;
  align-items: center;
  min-width: 0;
}

.profile-avatar {
  width: 42px;
  height: 42px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid var(--cyan-soft);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #176c94);
  box-shadow: 0 0 0 2px rgba(6, 24, 38, 0.72);
}

.profile-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: 7px;
}

.profile-copy small {
  color: #a5d9e4;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-copy b {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-strip {
  display: flex;
  gap: 5px;
}

.resource {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 3px 8px 3px 4px;
  border: 1px solid rgba(149, 239, 235, 0.25);
  border-radius: 99px;
  background: rgba(1, 21, 36, 0.46);
  font-size: 12px;
}

.resource i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 4px;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold);
  font-style: normal;
  font-size: 11px;
}

.energy-resource i {
  background: var(--cyan-soft);
}

.resource small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(1, 21, 36, 0.4);
  font-size: 20px;
  cursor: pointer;
}

.mission-card {
  z-index: 11;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 22px;
  align-items: center;
  width: 100%;
  min-height: 55px;
  padding: 7px 10px;
  border: 0;
  color: var(--ink);
  background: rgba(251, 255, 247, 0.97);
  box-shadow: 0 4px 13px rgba(14, 58, 72, 0.14);
  text-align: left;
  cursor: pointer;
}

.mission-card:active .mission-next {
  transform: translateX(3px);
}

.mission-card:disabled {
  cursor: default;
}

.mission-card:disabled .mission-next {
  opacity: 0.3;
}

.mission-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px 3px 9px 3px;
  color: white;
  background: var(--coral);
  font-weight: 900;
}

.mission-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mission-copy small {
  color: #598195;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.mission-copy b {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sector-pill {
  min-height: 25px;
  border-color: rgba(3, 59, 84, 0.18);
  color: #15617f;
  background: #d9f8f0;
  font-size: 8px;
}

.mission-next {
  color: #3b7287;
  font-size: 26px;
  font-weight: 900;
  text-align: right;
  transition: transform 0.16s ease;
}

.play-area {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.view {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.base-view {
  color: var(--ink);
  background: #61cfe0;
}

.base-scenery {
  position: absolute;
  inset: 0;
  background: url("./assets/base-island-clean-v1.webp") center 69% / 114% auto no-repeat;
  transform: scale(1.02);
}

.base-scenery::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(213, 249, 246, 0.04) 0 48%, rgba(10, 68, 78, 0.2) 100%),
    radial-gradient(circle at 50% 54%, transparent 0 38%, rgba(4, 49, 66, 0.08) 82%);
}

.base-status {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9px 3px 9px 3px;
  color: white;
  background: rgba(4, 40, 62, 0.7);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  font-size: 9px;
}

.base-status small {
  color: var(--cyan-soft);
  font-weight: 900;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63ffac;
  box-shadow: 0 0 8px #63ffac;
  animation: live-pulse 1.8s ease-in-out infinite;
}

.guide-bubble {
  position: absolute;
  z-index: 8;
  top: 41px;
  right: 9px;
  left: 9px;
  display: grid;
  grid-template-columns: 48px 1fr 25px;
  align-items: center;
  min-height: 57px;
  padding: 5px 6px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px 5px 15px 5px;
  color: white;
  background: linear-gradient(115deg, rgba(6, 44, 75, 0.94), rgba(8, 83, 107, 0.91));
  box-shadow: 0 9px 24px rgba(5, 30, 44, 0.27);
  backdrop-filter: blur(8px);
}

.guide-bubble::after {
  position: absolute;
  bottom: -9px;
  left: 64px;
  width: 15px;
  height: 15px;
  content: "";
  border-right: 2px solid rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid rgba(255, 255, 255, 0.82);
  background: #075473;
  transform: rotate(45deg);
}

.guide-portrait {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 2px solid rgba(229, 255, 250, 0.88);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #1f7092);
  box-shadow: 0 3px 10px rgba(1, 27, 43, 0.32);
}

.guide-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-bubble p {
  margin: 0 5px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.45;
}

.guide-bubble button {
  align-self: start;
  width: 44px;
  height: 44px;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
}

.unit-grid {
  position: absolute;
  z-index: 4;
  right: 17px;
  bottom: 33px;
  left: 17px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 19px 6px 19px 6px;
  background: rgba(5, 52, 67, 0.28);
  box-shadow: inset 0 0 26px rgba(201, 255, 238, 0.2), 0 10px 28px rgba(5, 55, 69, 0.2);
  backdrop-filter: blur(3px);
}

.unit-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1 / 0.92;
  padding: 0;
  border: 1px dashed rgba(231, 255, 248, 0.58);
  border-radius: 14px 5px 14px 5px;
  background: rgba(215, 255, 242, 0.22);
  cursor: pointer;
  touch-action: none;
}

.unit-slot::before {
  color: rgba(255, 255, 255, 0.36);
  content: "+";
  font-size: 18px;
  font-weight: 500;
}

.unit-slot.has-unit::before {
  display: none;
}

.unit-slot.is-selected {
  border: 2px solid var(--gold);
  background: rgba(255, 219, 105, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 212, 93, 0.25), 0 0 18px rgba(255, 212, 93, 0.55);
  transform: translateY(-3px);
}

.unit-slot.is-match {
  animation: merge-target 1.1s ease-in-out infinite;
}

.unit-slot.is-dragging {
  opacity: 0.48;
  transform: scale(0.92);
}

.unit-token {
  position: relative;
  display: grid;
  place-items: center;
  width: 72%;
  aspect-ratio: 1;
  border: 2px solid white;
  border-radius: 50% 43% 50% 43%;
  color: white;
  background: linear-gradient(145deg, var(--unit-accent), #0b4666);
  box-shadow: 0 5px 0 rgba(5, 47, 67, 0.5), 0 8px 15px rgba(1, 35, 50, 0.3);
  pointer-events: none;
}

.unit-level {
  position: absolute;
  right: -7px;
  bottom: -5px;
  display: grid;
  place-items: center;
  min-width: 29px;
  height: 19px;
  padding: 0 4px;
  border: 2px solid white;
  border-radius: 8px 3px 8px 3px;
  color: var(--navy-950);
  background: var(--gold);
  font-size: 9px;
  font-weight: 1000;
}

.unit-stars {
  position: absolute;
  top: -8px;
  display: flex;
  gap: 1px;
  color: white;
  font-size: 6px;
  text-shadow: 0 1px 2px #06435d;
}

.merge-tip {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 5px;
  left: 0;
  margin: 0;
  color: white;
  font-size: 8px;
  font-weight: 850;
  text-align: center;
  text-shadow: 0 1px 4px #06384e;
}

.selection-actions {
  position: absolute;
  z-index: 9;
  right: 18px;
  bottom: 40px;
  left: 18px;
  display: flex;
  gap: 6px;
  justify-content: center;
  pointer-events: none;
}

.selection-actions button {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 99px;
  color: white;
  background: rgba(5, 40, 61, 0.88);
  box-shadow: 0 5px 12px rgba(4, 33, 47, 0.24);
  font-size: 9px;
  font-weight: 900;
  pointer-events: auto;
  cursor: pointer;
}

.recruit-panel {
  z-index: 10;
  padding: 7px 10px 9px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(250, 255, 251, 0.98), #e2f6ed);
  box-shadow: 0 -5px 20px rgba(0, 42, 57, 0.18);
}

.recruit-head,
.deploy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recruit-head > span {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.recruit-head b {
  color: var(--navy-900);
  font-size: 11px;
}

.recruit-head small {
  color: #5f8391;
  font-size: 8px;
  font-weight: 750;
}

.recruit-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 6px 0;
}

.recruit-button {
  position: relative;
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  min-width: 0;
  min-height: 47px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(19, 99, 116, 0.18);
  border-radius: 12px 4px 12px 4px;
  color: var(--ink);
  background: white;
  box-shadow: 0 3px 0 #bdddd3;
  cursor: pointer;
}

.recruit-button:active:not(:disabled) {
  box-shadow: 0 1px 0 #bdddd3;
  transform: translateY(2px);
}

.recruit-button:disabled {
  color: #74929c;
  background: #d6e2df;
  filter: grayscale(0.7);
  cursor: not-allowed;
}

.recruit-button .mini-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  align-self: center;
  border-radius: 10px 3px 10px 3px;
  color: white;
  background: var(--unit-accent);
}

.recruit-button b,
.recruit-button small {
  overflow: hidden;
  align-self: end;
  font-size: 8px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruit-button small {
  align-self: start;
  color: #5f8391;
  font-size: 8px;
}

.deploy-row {
  gap: 9px;
}

.power-readout {
  display: flex;
  flex-direction: column;
  min-width: 78px;
}

.power-readout small {
  color: #668995;
  font-size: 8px;
  font-weight: 900;
}

.power-readout strong {
  color: var(--navy-900);
  font-size: 21px;
  line-height: 1;
}

.deploy-button {
  min-height: 44px;
  margin-left: auto;
  border-width: 1px;
  border-radius: 12px 3px 12px 3px;
  box-shadow: 0 4px 0 #a82c31, 0 8px 14px rgba(79, 14, 26, 0.16);
  font-size: 13px;
  transform: translateY(-2px);
}

.deploy-button:disabled {
  border-color: #bfd2cf;
  color: #76908e;
  background: #c9d8d4;
  box-shadow: 0 3px 0 #a8bbb7;
  cursor: not-allowed;
}

.bottom-nav {
  z-index: 13;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px 8px calc(5px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(142, 235, 226, 0.2);
  background:
    linear-gradient(180deg, rgba(73, 159, 169, 0.12), transparent 18%),
    var(--navy-900);
  box-shadow: 0 -8px 22px rgba(7, 39, 61, 0.16);
}

.bottom-nav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 0;
  color: #85b8c6;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-icon-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 30px;
  border: 1px solid rgba(146, 202, 214, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(124, 192, 205, 0.09), rgba(20, 62, 89, 0.08));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-icon-shell::after {
  position: absolute;
  inset: -3px;
  border: 1px solid transparent;
  border-radius: 14px;
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.nav-icon {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon-fill {
  fill: currentColor;
  opacity: 0.08;
}

.nav-icon-core {
  fill: #ffd86b;
  stroke: rgba(255, 247, 199, 0.88);
  opacity: 0.55;
}

.bottom-nav button b {
  margin-top: 2px;
  font-size: 8px;
  letter-spacing: 0.04em;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.bottom-nav button.is-active {
  color: #eefeff;
}

.bottom-nav button.is-active .nav-icon-shell {
  border-color: rgba(134, 245, 239, 0.78);
  color: #f8ffff;
  background: linear-gradient(180deg, rgba(57, 218, 214, 0.29), rgba(25, 91, 119, 0.42));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.32), 0 4px 12px rgba(24, 216, 215, 0.2), 0 0 15px rgba(65, 237, 228, 0.14);
  transform: translateY(-2px);
}

.bottom-nav button.is-active .nav-icon-shell::after {
  border-color: rgba(255, 221, 109, 0.38);
}

.bottom-nav button.is-active .nav-icon-fill {
  opacity: 0.2;
}

.bottom-nav button.is-active .nav-icon-core {
  opacity: 1;
}

.bottom-nav button.is-active b {
  color: #fff8d8;
  text-shadow: 0 0 8px rgba(255, 218, 103, 0.28);
}

.bottom-nav button:active .nav-icon-shell {
  transform: translateY(0) scale(0.92);
}

.bottom-nav button.is-active::before {
  position: absolute;
  top: -4px;
  width: 52px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan) 24%, #fff0a9 50%, var(--cyan) 76%, transparent);
  box-shadow: 0 0 10px var(--cyan);
}

