/* Super App V1.17 — dual-currency money view + compact privacy control */

.money-hero .v17-total-block {
  position:relative;
  align-content:start;
  padding-right:46px;
}
.v17-money-eye {
  position:absolute;
  top:-5px;
  right:0;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:#fff;
  backdrop-filter:blur(4px);
  box-shadow:none;
}
.v17-money-eye:hover {
  background:rgba(255,255,255,.14);
}
.v17-money-eye svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.v17-total-equivalent {
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  margin-top:1px;
}
.v17-total-equivalent span {
  color:rgba(255,255,255,.88);
  font-size:.94rem;
  font-weight:700;
}
.v17-total-equivalent strong {
  color:rgba(255,255,255,.56);
  font-family:inherit !important;
  font-size:.72rem !important;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.v17-currency-breakdown {
  margin-top:13px;
  padding-top:13px;
  border-top:1px solid rgba(255,255,255,.13);
  display:grid;
  gap:9px;
}
.v17-breakdown-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
.v17-breakdown-head > span {
  color:#fff;
  font-size:.82rem;
  font-weight:800;
}
.v17-breakdown-head small {
  color:rgba(255,255,255,.54);
  font-size:.68rem;
}
.v17-breakdown-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.v17-breakdown-row {
  min-width:128px;
  flex:1 1 128px;
  display:grid;
  gap:3px;
  padding:9px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.085);
  border:1px solid rgba(255,255,255,.07);
}
.v17-breakdown-row span {
  color:rgba(255,255,255,.58);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.07em;
}
.v17-breakdown-row strong {
  color:#fff;
  font-family:inherit !important;
  font-size:.9rem !important;
  line-height:1.2;
}
.v17-breakdown-empty,
.v17-fx-note {
  color:rgba(255,255,255,.58) !important;
  font-size:.7rem !important;
  line-height:1.4;
}
.v17-daily-caption {
  grid-column:1 / -1;
  color:rgba(255,255,255,.63) !important;
  font-size:.68rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
  padding:0 1px 1px;
}

.v17-legacy-preferred {
  display:none !important;
}
.v17-dual-currency-settings {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.v17-dual-currency-settings label {
  display:grid;
  gap:6px;
  min-width:0;
  color:var(--muted);
  font-size:13px;
}
.v17-dual-currency-settings select {
  width:100%;
  min-width:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 11px;
  color:var(--ink);
}
.v17-dual-currency-settings label small {
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
.v17-dual-currency-settings > p {
  grid-column:1 / -1;
  margin:0;
  padding:10px 12px;
  border-radius:12px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}

/* V1.16 owns the About DOM text; V1.17 updates the visible version without
   fighting the older MutationObserver over the same text node. */
.v15-version-pill,
.v15-settings-row[data-v15-me-open="about"] .v15-settings-status {
  font-size:0 !important;
}
.v15-version-pill::after,
.v15-settings-row[data-v15-me-open="about"] .v15-settings-status::after {
  content:'V1.17';
  font-size:.72rem;
}
.v15-about-card h3 {
  font-size:0 !important;
}
.v15-about-card h3::after {
  content:'Version V1.17';
  font-size:1.45rem;
}

@media (max-width:820px) {
  .money-hero .v17-total-block {
    padding-right:43px;
  }
  .v17-money-eye {
    width:34px;
    height:34px;
    border-radius:11px;
  }
  .v17-money-eye svg {
    width:18px;
    height:18px;
  }
  .v17-breakdown-row {
    min-width:112px;
    flex-basis:112px;
  }
}

@media (max-width:520px) {
  .v17-dual-currency-settings {
    grid-template-columns:1fr;
  }
  .v17-dual-currency-settings > p {
    grid-column:auto;
  }
  .v17-currency-breakdown {
    margin-top:11px;
  }
  .v17-breakdown-head {
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
  .v17-breakdown-row {
    min-width:calc(50% - 4px);
    flex:1 1 calc(50% - 4px);
  }
}
