.tab-page-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 18px;
}

/* —— Home top bar —— */
.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-top: 2px;
}

.home-avatar {
  width: var(--touch);
  height: var(--touch);
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  position: relative;
}

.home-avatar__dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.home-top__actions {
  display: flex;
  gap: 8px;
}

.home-icon-btn {
  width: var(--touch);
  height: var(--touch);
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  position: relative;
}

.home-icon-btn svg {
  width: var(--icon-md);
  height: var(--icon-md);
}

.home-lang-btn {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.home-icon-btn:active {
  background: var(--surface-elevated);
}

.home-icon-btn__dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* —— Hero (text ~55% | image ~45%, mockup parity) —— */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 52%);
  gap: 0;
  align-items: center;
  margin-bottom: 28px;
  overflow: visible;
}

.home-hero__greet {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 6px;
  white-space: pre-line;
}

.home-hero__title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0 0 8px;
  white-space: pre-line;
}

.home-hero__sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
  white-space: pre-line;
}

.home-hero__visual {
  position: relative;
  width: 100%;
  max-width: 210px;
  height: 178px;
  margin-left: auto;
  margin-right: -6px;
  justify-self: end;
  flex-shrink: 0;
  overflow: visible;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 122, 255, 0.35) 0%,
    rgba(0, 122, 255, 0.12) 50%,
    transparent 72%
  );
  z-index: 0;
  pointer-events: none;
}

.home-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 118%;
  height: 118%;
  margin-left: auto;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* —— Care rhythm —— */
.rhythm-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.rhythm-head__info {
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1;
  padding: 0;
  margin-left: auto;
}

.rhythm-head__title {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
}

.rhythm-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 0;
  scrollbar-width: none;
}

.rhythm-scroll::-webkit-scrollbar {
  display: none;
}

.rhythm-scroll + .rhythm-head {
  margin-top: 28px;
}

.rhythm-day {
  flex: 0 0 44px;
  padding: 8px 4px 6px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
}

.rhythm-day--on {
  background: var(--accent);
  border-color: var(--accent);
}

.rhythm-day__dow {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.rhythm-day--on .rhythm-day__dow,
.rhythm-day--on .rhythm-day__num {
  color: #fff;
}

.rhythm-day__num {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.rhythm-day__mark {
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rhythm-day__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.rhythm-day__check {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

/* —— Dashboard grid —— */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin-bottom: 0;
}

.dash-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 12px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.dash-card:active {
  opacity: 0.92;
}

.dash-card--battery {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.dash-card--case,
.dash-card--next {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
}

.dash-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
}

.dash-card__head svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.dash-card__label {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dash-card__pct {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 7px;
}

.dash-card__status {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}

.dash-ring {
  width: 92px;
  height: 92px;
  margin: -14px auto 10px;
  position: relative;
}

.dash-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dash-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.dash-ring__center span:first-child {
  font-size: 0.9rem;
}

.dash-ring__center span:last-child {
  font-size: 0.82rem;
  font-weight: 800;
}

.dash-card__cta {
  margin-top: auto;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  border: none;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-card--case .dash-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.dash-card__clean {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.dash-card__clean-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.dash-card__clean--ok {
  color: var(--accent);
}

.dash-card__clean--warn {
  color: var(--warning);
}

.dash-card__clean--warn .dash-card__clean-dot {
  background: var(--warning);
  box-shadow: 0 0 0 4px rgba(255, 159, 10, 0.16);
}

.dash-card__mini {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 auto;
}

.dash-card__thumb {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 1.45rem;
  opacity: 0.85;
}

.dash-card--next .dash-card__date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 auto;
}

.dash-card--next .dash-card__thumb {
  font-size: 1.65rem;
  right: 6px;
  bottom: 6px;
}

/* —— Quick tools —— */
.tools-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dash-grid + .tools-head {
  margin-top: 28px;
}

.tools-head__title {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
}

.tools-head__chev {
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
}

.tools-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 0;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  min-height: 116px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  color: var(--text);
}

.tool-item:active {
  opacity: 0.92;
}

.tool-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.tool-item__icon svg {
  width: var(--icon-md);
  height: var(--icon-md);
}

.tool-item__label {
  font-size: 0.78rem;
  color: var(--text);
  text-align: left;
  line-height: 1.25;
  font-weight: 700;
}

/* —— Home extra (AI + recent log) —— */
.tools-row + .home-extra {
  margin-top: 28px;
}

.home-extra {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-extra__card {
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.home-extra__card--ai {
  background: linear-gradient(145deg, rgba(0, 122, 255, 0.18), var(--surface));
  border-color: rgba(0, 122, 255, 0.35);
}

.home-extra__card:active {
  opacity: 0.92;
}

.home-extra__badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--accent);
  padding: 3px 7px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.home-extra__title {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.home-extra__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.home-extra__body {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

.home-extra__head {
  margin-bottom: 10px;
}

.home-extra__empty {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  padding: 8px 2px;
}

.home-recent-item {
  margin-bottom: 8px;
}

.home-recent-item:last-child {
  margin-bottom: 0;
}

/* —— Care guide list —— */
.guide-intro {
  margin-bottom: 14px;
}

.guide-intro__lead {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.guide-intro__body {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.guide-card:active {
  opacity: 0.92;
}

.guide-card--focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.35);
}

.guide-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.guide-card__pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.guide-card__meta {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.guide-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.guide-card__recommended {
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.64rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 9px;
  margin: 0;
  z-index: 2;
}

.guide-card__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 8px;
}

.guide-card__tools {
  font-size: 0.72rem;
  color: var(--text-subtle);
  margin: 0 0 10px;
}

.guide-card__tools span {
  color: var(--accent);
  font-weight: 700;
}

.guide-card__steps {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-card__steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--text);
}

.guide-card__steps li span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.guide-card__steps .guide-card__more {
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.guide-card__preview {
  font-size: 0.72rem;
  color: var(--text-subtle);
  margin: 0 0 12px;
  line-height: 1.4;
}

.guide-card__cta {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.guide-card__cta:active {
  opacity: 0.9;
}

.guide-step-overview {
  margin-bottom: 12px;
}

.guide-step-overview__meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* —— Notifications —— */
.notification-card {
  min-height: 92px;
  padding: 16px 16px;
  border-radius: 22px;
  gap: 10px;
}

.notification-card .list-card__title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.notification-card .list-card__sub {
  font-size: 0.83rem;
  line-height: 1.42;
}

.notification-card__chev {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--text-subtle);
}

/* —— More menu —— */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: left;
  color: var(--text);
}

.menu-item:active {
  background: var(--surface-elevated);
}

.menu-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.menu-item__icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
}

.menu-item__body {
  flex: 1;
}

.menu-item__title {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 3px;
}

.menu-item__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
}

.menu-item__chev {
  color: var(--text-subtle);
}

/* —— Shared sub screens —— */
.hero-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.hero-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 18px;
  line-height: 1.45;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.card--clickable {
  cursor: pointer;
}

.card--clickable:active {
  opacity: 0.9;
}

.card--part {
  position: relative;
  padding-top: 38px;
}

.card--part__pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.card__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__title {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 3px;
}

.card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.card__meta--lg {
  margin-top: 6px;
  font-size: 0.85rem;
}

.pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
}

.pill--ok {
  background: var(--accent-soft);
  color: var(--accent);
}

.pill--warn {
  background: rgba(255, 159, 10, 0.15);
  color: var(--warning);
}

.pill--bad {
  background: rgba(255, 69, 58, 0.15);
  color: #ff453a;
}

.pill--info {
  background: var(--accent-soft);
  color: var(--accent);
}

.list-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 13px 14px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: var(--text);
}

.list-card:active {
  opacity: 0.9;
}

.list-card__title {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.list-card__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.list-card__chev {
  color: var(--text-subtle);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.chip--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  flex: 1;
  padding: 11px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn[disabled],
.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.25);
}

.btn--secondary[disabled],
.btn--secondary:disabled {
  background: #2a2a2f;
  border-color: rgba(255, 255, 255, 0.05);
  color: #8e8e93;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
}

.step-box {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 14px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.step-box__n {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-box__title {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.step-box__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 12px;
}

.caution {
  background: rgba(255, 159, 10, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--warning);
}

.progress {
  display: flex;
  gap: 6px;
  margin: 16px 0;
}

.progress__dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-elevated);
}

.progress__dot--on {
  background: var(--accent);
}

.illus {
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
}

.illus__inner {
  font-size: 3rem;
  line-height: 1;
}

.illus--photo {
  background: #000;
  padding: 12px 8px 8px;
  min-height: 0;
  overflow: hidden;
}

.illus__photo {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.illus--shak {
  animation: illusPanelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.illus--shak .illus__photo {
  animation: illusShakIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes illusPanelIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes illusShakIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .illus--shak,
  .illus--shak .illus__photo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.shell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shell-tile {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 12px;
  border: 2px solid transparent;
  cursor: pointer;
}

.shell-tile--current {
  border-color: var(--accent);
}

.shell-tile__swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  margin-bottom: 10px;
}

.shell-preview {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  margin: 0 auto 12px;
}

.empty-hint {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.complete-success {
  width: 72px;
  height: 72px;
  margin: 6px auto 12px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.complete-success__icon {
  font-size: 1.9rem;
  color: #fff;
}

@keyframes successPop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confetti-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 80;
}

/* Find location (dark) */
.find-targets {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.find-target {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.find-target--on {
  background: var(--accent);
  color: #fff;
}

.find-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 12px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.find-map {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: #0d1117;
  overflow: hidden;
  margin-bottom: 16px;
}

.find-map__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 122, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.find-map__you {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--surface-elevated);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.find-map__ring {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 122, 255, 0.4);
  border-radius: 50%;
  animation: findRipple 2.4s ease-out infinite;
}

.find-map__ring--1 {
  width: 40%;
  height: 40%;
}

.find-map__ring--2 {
  width: 65%;
  height: 65%;
  animation-delay: 0.6s;
}

.find-map__ring--3 {
  width: 90%;
  height: 90%;
  animation-delay: 1.2s;
}

.find-map__dot {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  z-index: 3;
  transition: left 0.5s, top 0.5s;
}

@keyframes findRipple {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.find-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.find-signal__track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-elevated);
  overflow: hidden;
}

.find-signal__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.find-note,
.find-sound-hint {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-align: center;
}

.section-title {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin: 16px 0 10px;
}

@media (prefers-reduced-motion: reduce) {
  .find-map__ring,
  .complete-success {
    animation: none;
  }
}
