.phone-content {
  overflow: hidden;
  background: var(--bg);
}
.app-root {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.app {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.app-header {
  flex: none;
  min-height: 58px;
  padding: 7px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-seal {
  width: var(--seal, 30px);
  height: var(--seal, 30px);
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-light);
  border: 1px solid var(--gold-line);
  background:
    radial-gradient(circle at 50% 50%, rgba(198, 161, 107, .16), transparent 62%),
    #171511;
  box-shadow: inset 0 0 0 3px rgba(17, 17, 15, .7);
}
.brand-words { display: grid; gap: 1px; min-width: 0; }
.brand-cn {
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.1;
  letter-spacing: .1em;
  color: var(--gold-light);
}
.brand-en {
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: .24em;
  color: var(--muted-2);
  white-space: nowrap;
}
.wx-capsule {
  flex: none;
  width: 86px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-evenly;
  border: 1px solid rgba(242, 237, 228, .17);
  border-radius: var(--pill);
  background: rgba(242, 237, 228, .035);
  color: rgba(242, 237, 228, .55);
}
.wx-dots { display: inline-flex; align-items: center; }
.wx-divider {
  width: 1px;
  height: 14px;
  background: rgba(242, 237, 228, .16);
}
.wx-circle {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.4px solid currentColor;
  position: relative;
}
.wx-circle::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}
.app-header--sub {
  min-height: 54px;
  padding-top: 5px;
  padding-bottom: 7px;
  background: linear-gradient(to bottom, rgba(17, 17, 15, .96), rgba(17, 17, 15, .72));
  backdrop-filter: blur(8px);
}
.back-btn { margin-left: -8px; }
.header-titles {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  gap: 1px;
}
.header-title {
  font-family: var(--serif);
  font-size: var(--fs-card);
  letter-spacing: .04em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-subtitle {
  font-size: var(--fs-label);
  letter-spacing: .08em;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-header--sub .wx-capsule {
  width: 26px;
  border: 0;
  background: transparent;
  color: rgba(242, 237, 228, .3);
  height: 26px;
}
.app-header--sub .wx-capsule .wx-dots,
.app-header--sub .wx-capsule .wx-divider { display: none; }
.app-header--sub .wx-capsule .wx-circle { width: 16px; height: 16px; }

.app-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 2px 16px 24px;
  -webkit-overflow-scrolling: touch;
}
.app-main::-webkit-scrollbar { display: none; }
.app-main.is-entering { animation: screen-in var(--dur-3) var(--ease) both; }
.app-main.is-back { animation: screen-back var(--dur-3) var(--ease) both; }

.app-bottom {
  flex: none;
  background: linear-gradient(to top, var(--bg) 72%, rgba(17, 17, 15, .92));
}
.tabbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 4px 8px 6px;
  border-top: 1px solid var(--line-soft);
  background: rgba(17, 17, 15, .97);
}
.tab-item {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 1px;
  align-content: center;
  border-radius: var(--r-2);
  color: var(--muted-2);
  transition: color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.tab-item .tab-icon {
  width: 34px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.tab-item .tab-label {
  font-size: var(--fs-label);
  line-height: 1.1;
  letter-spacing: .06em;
}
.tab-item.is-active { color: var(--gold-light); }
.tab-item.is-active .tab-icon {
  background: var(--gold-soft);
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(198, 161, 107, .2);
}
.tab-item:active { transform: scale(.96); }

.mini-player {
  margin: 0 12px 6px;
  padding: 8px 12px 9px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.mini-player .vinyl { --vinyl: 30px; }
.mini-player .vinyl-label { font-size: var(--fs-label); }
.mini-copy { min-width: 0; display: grid; gap: 1px; }
.mini-title {
  font-size: var(--fs-label);
  line-height: 1.3;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-meta {
  font-size: var(--fs-label);
  line-height: 1.2;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  color: var(--gold-light);
}
.mini-progress {
  grid-column: 1 / -1;
  height: 1.5px;
  margin-top: -2px;
  background: rgba(242, 237, 228, .08);
  border-radius: 2px;
  overflow: hidden;
}
.mini-progress i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: var(--gold);
  transition: width .2s linear;
}

.brand-en { display: none; }
.brand-cn {
  font-family: var(--serif);
  font-size: var(--fs-brand);
  line-height: 1.2;
  letter-spacing: .06em;
  color: var(--text);
}
.app-header {
  min-height: 56px;
  padding: 0 var(--space-page);
}
.app-header--sub {
  min-height: 52px;
  padding: 0 var(--space-page);
  background: var(--bg);
  backdrop-filter: none;
}
.app-main {
  padding: 0 var(--space-page) 24px;
}
.header-title { font-size: 1.125rem; }
.header-subtitle { font-size: var(--fs-label); color: var(--muted); }
.back-btn { margin-left: -10px; }

.tabbar {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 4px 8px 6px;
}
.tab-item { min-height: 52px; }
.tab-item .tab-icon { width: 36px; height: 32px; }
.tab-item .tab-label { font-size: var(--fs-aux); letter-spacing: .02em; }
.tab-item.is-active { color: var(--text); }
.tab-item.is-active .tab-icon {
  background: transparent;
  box-shadow: none;
  color: var(--gold);
}
.tab-item .tab-icon .od-icon { transition: color var(--motion-tab) var(--ease-out); }
.tab-item.is-active .tab-icon .od-icon { animation: tab-icon-in var(--motion-tab) var(--ease-out) both; }
@keyframes tab-icon-in {
  0% { transform: scale(.92); opacity: .7; }
  100% { transform: scale(1); opacity: 1; }
}

.mini-player {
  grid-template-columns: 32px minmax(0, 1fr) 44px 44px;
  margin: 0 16px 6px;
  padding: 8px 12px 9px;
  background: var(--card);
  border-color: var(--line);
  border-radius: 12px;
}
.mini-title { font-size: var(--fs-aux); }
.mini-meta { font-size: var(--fs-label); color: var(--muted); }
.mini-toggle { width: var(--tap); height: var(--tap); border-color: var(--line); color: var(--gold); }
.mini-close { width: var(--tap); height: var(--tap); display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.mini-progress { grid-column: 1 / -1; height: 2px; background: var(--line); }
.mini-progress i { background: var(--gold); }
