:root {
  --bg: #030303;
  --panel: rgba(18, 18, 18, 0.92);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 215, 0, 0.18);
  --line-strong: rgba(255, 215, 0, 0.42);
  --text: #f7f7f7;
  --muted: #a7a7a7;
  --dim: #6f6f6f;
  --gold: #ffd700;
  --gold-dark: #b88700;
  --gold-soft: #fffbe0;
  --danger: #ff6b6b;
  --glow: rgba(255, 215, 0, 0.34);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 215, 0, 0.11), transparent 34%),
    linear-gradient(180deg, #090806 0%, #030303 44%, #000 100%);
  font-family: 'Inter', sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 215, 0, 0.08), transparent 30%),
    radial-gradient(circle at 82% 6%, rgba(255, 215, 0, 0.09), transparent 26%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 64%);
}

button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.goat-header {
  position: fixed;
  top: 16px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 0;
  pointer-events: auto;
}

.goat-header > * {
  pointer-events: auto;
}

.settings-top-nav {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.06), 0 18px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.settings-top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.settings-top-nav a:hover,
.settings-top-nav a.active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
}

.settings-top-actions {
  grid-column: 3;
  justify-self: end;
}

.settings-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  width: min(430px, 26vw);
  padding: 0 16px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 999px;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(22, 18, 6, 0.88), rgba(8, 8, 8, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.04);
}

.settings-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-weight: 800;
}

.settings-search input::placeholder {
  color: var(--dim);
}

@media (min-width: 981px) {
  .goat-title {
    display: none;
  }
}

.goat-home,
.goat-settings-btn {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.07);
}

.goat-title span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.goat-title h1 {
  margin: 3px 0 0;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.settings-page {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 340px));
  margin: 0 0 0 clamp(300px, 29vw, 560px);
  padding: 136px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.settings-sidebar {
  position: fixed;
  top: 6px;
  left: 8px;
  bottom: 14px;
  z-index: 35;
  width: 248px;
  padding: 28px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(8, 8, 8, 0.88);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44), 0 0 32px rgba(255, 215, 0, 0.06);
}

.sidebar-kicker,
.page-kicker,
.section-head span,
.field-label,
.profile-section small,
.pin-status,
.save-bar > span,
.metric-card span,
.billing-next span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.settings-sidebar h2 {
  margin: 10px 8px 22px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.38rem;
  text-shadow: 0 0 28px rgba(255, 215, 0, 0.2);
}

.settings-nav {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  text-align: left;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.settings-nav-item i {
  width: 18px;
  color: currentColor;
}

.settings-nav-item:hover,
.settings-nav-item.active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.06), 0 0 24px rgba(255, 215, 0, 0.08);
}

.settings-content {
  min-width: 0;
  padding-right: 0;
  display: flex;
  justify-content: center;
}

.settings-view {
  display: none;
  width: min(100%, 880px);
}

.settings-view.active {
  display: block;
}

.brand-link {
  display: none;
  align-items: center;
  min-height: 42px;
  margin-bottom: 22px;
  color: var(--text);
  text-decoration: none;
}

.brand-link img { max-height: 38px; }
.brand-fallback {
  display: none;
  gap: 8px;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
}
.brand-fallback i, .brand-fallback span { color: var(--gold); }

.account-header,
.section-hero {
  margin-bottom: 34px;
}

.section-hero.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
}

.account-header h1,
.section-hero h1 {
  margin: 10px 0 0;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.7rem, 5.2vw, 4.85rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(255, 215, 0, 0.24);
}

.account-header p,
.section-hero p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.top-profile-trigger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(18, 18, 18, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.08), 0 14px 34px rgba(0, 0, 0, 0.38);
}

.top-profile-trigger > i {
  display: none;
}

.top-profile-trigger.goat-settings-btn .top-avatar,
.top-profile-trigger.goat-settings-btn .top-profile-copy {
  display: grid;
}

.top-avatar,
.pill-avatar {
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #111111;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
}

.top-avatar img,
.pill-avatar img,
.profile-preview img,
.avatar-choice img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.top-profile-copy {
  display: grid;
  min-width: 0;
  text-align: left;
}

.top-profile-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.top-profile-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top-profile-menu {
  position: fixed;
  top: 70px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 45;
  display: none;
  width: min(300px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 9, 9, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.68);
}

.top-profile-menu.open { display: grid; gap: 4px; }

.top-profile-menu a,
.top-profile-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 13px;
  border-radius: 11px;
  color: var(--text);
  background: transparent;
  text-align: left;
  text-decoration: none;
  font-weight: 800;
}

.top-profile-menu a:hover,
.top-profile-menu button:hover {
  color: #050505;
  background: var(--gold);
}

.active-profile-pill {
  display: none;
}

.profile-form {
  display: grid;
  gap: 22px;
}

.profile-section,
.save-bar {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 34px rgba(255, 215, 0, 0.055);
}

.profile-section::before,
.save-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 0%, rgba(255, 215, 0, 0.12), transparent 34%);
  opacity: 0.5;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.045), transparent);
}

.section-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 900;
}

.avatar-editor {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 28px 28px;
}

.profile-preview {
  flex: 0 0 auto;
  width: 138px;
  height: 138px;
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: #111111;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 42px rgba(255, 215, 0, 0.22);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #050505;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.16);
}

.ghost-btn:hover,
.save-btn:hover {
  box-shadow: 0 0 34px var(--glow);
}

.avatar-actions p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(7, 58px);
  gap: 10px;
  margin-top: 18px;
}

.avatar-choice {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.18);
  border-radius: 14px;
  background: #151515;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.avatar-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.65);
}

.avatar-choice.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15), 0 0 22px var(--glow);
}

.field-label {
  display: block;
  padding: 26px 28px 10px;
}

.profile-input,
.pin-input,
.checkout-panel textarea {
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  background: linear-gradient(180deg, rgba(22, 18, 6, 0.9), rgba(8, 8, 8, 0.94));
  font-weight: 900;
}

.profile-input {
  width: calc(100% - 56px);
  margin: 0 28px;
  padding: 18px 20px;
  font-size: 1.15rem;
}

.profile-input:focus,
.pin-input:focus,
.checkout-panel textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.profile-section small {
  display: block;
  padding: 12px 28px 28px;
}

.pin-tabs {
  display: flex;
  gap: 12px;
  padding: 28px 28px 20px;
  flex-wrap: wrap;
}

.pin-tab {
  padding: 0;
  color: var(--dim);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pin-tab:hover,
.pin-tab.active {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.28);
}

.pin-tab + .pin-tab::before {
  content: "/";
  margin-right: 12px;
  color: var(--dim);
}

.pin-status {
  margin: 0;
  padding: 0 28px 28px;
}

.pin-input-row {
  display: grid;
  gap: 12px;
  padding: 0 28px 28px;
}

.pin-input-row[hidden] {
  display: none !important;
}

.pin-input {
  display: none;
}

.pin-boxes {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pin-box {
  width: 54px;
  height: 58px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(22, 18, 6, 0.9), rgba(8, 8, 8, 0.94));
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
}

.pin-box:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.pin-input-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
}

.save-bar > span i {
  color: var(--gold);
  font-size: 0.55rem;
  margin-right: 8px;
  filter: drop-shadow(0 0 8px var(--gold));
}

.save-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cancel-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cancel-link:hover { color: var(--gold); }

.save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  color: #050505;
  background: linear-gradient(135deg, #fff7c2, var(--gold) 55%, var(--gold-dark));
  font-weight: 900;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.24);
}

.save-btn.compact {
  min-height: 48px;
}

.save-btn:disabled,
.ghost-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 34px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.subscription-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 30px 28px;
}

.subscription-summary > div:first-child {
  grid-column: 1 / -1;
}

.subscription-summary > div:first-child strong {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.subscription-summary > div:first-child span {
  color: var(--muted);
  font-weight: 800;
}

.metric-card,
.wide-note,
.plan-card,
.billing-next,
.billing-row,
.empty-box,
.device-row {
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
}

.wide-note {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 17px 18px;
  color: var(--text);
  font-weight: 800;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  padding: 28px;
}

.plan-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.plan-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.plan-card strong {
  font-size: 1.75rem;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.checkout-panel {
  display: grid;
  gap: 12px;
  margin: 0 28px 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22, 18, 6, 0.72), rgba(8, 8, 8, 0.82));
}

.checkout-panel label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.checkout-panel textarea {
  min-height: 96px;
  padding: 14px;
  resize: vertical;
}

.billing-next {
  margin: 28px;
  padding: 24px;
}

.billing-next strong {
  display: block;
  margin-top: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
}

.billing-list,
.devices-list {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.billing-row,
.device-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.billing-row strong,
.device-row strong {
  display: block;
  margin-bottom: 6px;
}

.billing-row span,
.device-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.billing-status {
  height: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-box {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.device-row {
  align-items: center;
}

.device-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.device-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.07);
}

.device-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.device-meta small {
  display: block;
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.device-action {
  min-width: 132px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
}

.device-action:hover {
  color: #050505;
  background: var(--gold);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  transform: translate(-50%, 18px);
  max-width: min(520px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(22, 18, 6, 0.97), rgba(8, 8, 8, 0.96));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-weight: 800;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-bottom-nav {
  display: none;
}

.mobile-bottom-item {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 980px) {
  .goat-header {
    position: fixed;
    top: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 12px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .settings-top-nav,
  .settings-top-actions {
    display: none;
  }

  .goat-home {
    display: grid;
  }

  .goat-title {
    display: none;
  }

  .top-profile-trigger {
    justify-self: auto;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }

  .top-profile-trigger > i {
    display: none;
  }

  .top-profile-trigger.goat-settings-btn .top-avatar {
    display: block;
  }

  .top-profile-trigger.goat-settings-btn .top-profile-copy {
    display: none;
  }

  .settings-page {
    width: min(100% - 32px, 760px);
    margin: 0 auto;
    padding-top: 88px;
    grid-template-columns: 1fr;
  }

  .settings-sidebar {
    position: static;
    width: auto;
    min-height: auto;
  }

  .settings-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-content {
    padding-right: 0;
  }

  .top-profile-menu {
    top: 70px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .goat-header {
    top: 12px;
    left: 50%;
    width: auto;
    margin: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .goat-home,
  .top-profile-trigger {
    width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
  }

  .goat-title h1 {
    font-size: 1rem;
    display: none;
  }

  .goat-title span {
    display: none;
  }

  .settings-page {
    width: 100%;
    margin: 0;
    padding: 82px 14px 110px;
    padding-bottom: 110px;
  }

  .settings-sidebar {
    position: sticky;
    top: 68px;
    z-index: 30;
    margin: 0 -14px 48px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .settings-sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar-kicker,
  .settings-sidebar h2 {
    display: none;
  }

  .settings-nav {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    min-width: max-content;
    padding: 0;
    border: 0;
  }

  .settings-nav-item {
    flex: 0 0 auto;
    min-height: 34px;
    width: auto;
    padding: 0 14px;
    border-color: rgba(255, 215, 0, 0.16);
    border-radius: 999px;
    font-size: 0.82rem;
  }

  .settings-nav-item i {
    display: none;
  }

  .settings-content {
    width: 100%;
  }

  .account-header,
  .section-hero {
    margin-bottom: 28px;
  }

  .account-header h1,
  .section-hero h1 {
    margin-top: 12px;
    font-size: clamp(2.1rem, 12vw, 3.35rem);
    line-height: 0.95;
  }

  .account-header p,
  .section-hero p {
    margin-top: 12px;
    max-width: 310px;
    font-size: 0.93rem;
  }

  .active-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    margin-top: 22px;
    padding: 5px 14px 5px 5px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.86);
  }

  .active-profile-pill strong,
  .active-profile-pill small {
    display: block;
  }

  .active-profile-pill strong {
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 900;
  }

  .active-profile-pill small {
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .pill-avatar {
    width: 38px;
    height: 38px;
  }

  .subscription-summary,
  .device-meta {
    grid-template-columns: 1fr;
  }

  .section-hero.hero-row,
  .avatar-editor,
  .save-bar,
  .billing-row,
  .device-row {
    flex-direction: column;
    align-items: stretch;
  }

  .avatar-editor {
    align-items: center;
    padding-top: 24px;
  }

  .avatar-actions {
    width: 100%;
    text-align: center;
  }

  .profile-preview {
    width: 122px;
    height: 122px;
  }

  .profile-section,
  .save-bar {
    border-radius: 14px;
  }

  .profile-form {
    gap: 18px;
  }

  .avatar-grid {
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  }

  .avatar-choice {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }

  .save-actions {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: min(282px, calc(100% - 56px));
    height: 60px;
    padding: 0 6px;
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 999px;
    background: rgba(13, 13, 13, 0.9);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 215, 0, 0.1);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-bottom-item {
    display: flex;
    width: 104px;
    height: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 18px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
  }

  .mobile-bottom-item i {
    font-size: 17px;
  }

  .mobile-bottom-item.active {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.08);
  }
}
