:root {
  --ink: #102d4c;
  --muted: #45627b;
  --purple: #1677bc;
  --purple-deep: #0e568d;
  --purple-soft: #e7f5ff;
  --pink: #27bfd2;
  --yellow: #ffd449;
  --mint: #a9eaf2;
  --line: #d9edf8;
  --white: #fff;
  --shadow: 0 12px 28px rgba(16, 45, 76, .1);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: #f3fbff; font-family: "Nunito", ui-rounded, system-ui, sans-serif; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.app { display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 25px 16px 18px; color: #fff; background: linear-gradient(167deg, #0b4f82 0%, #1677bc 62%, #2aa7d8 100%); }
.brand, .mobile-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-family: "Fredoka", sans-serif; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.brand { margin: 0 13px 43px; font-size: 1.12rem; }
.mobile-brand { display: none; color: var(--purple-deep); font-size: 1rem; }
.brand-mark { position: relative; display: block; width: 37px; height: 37px; border: 3px solid #fff; border-radius: 13px; background: #39b8f2 url("../../assets/mimic-me-avatar.png") center 24% / 225% auto no-repeat; box-shadow: 0 4px 0 rgba(4,32,55,.27), inset 0 2px 0 rgba(255,255,255,.5); transform: rotate(-6deg); }
.brand-mark > i { opacity: 0; }
.side-label { margin: 0 14px 12px; color: rgba(255,255,255,.53); font-size: .66rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.side-nav { display: grid; gap: 5px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 13px; color: rgba(255,255,255,.77); font-size: .88rem; font-weight: 900; text-decoration: none; }
.side-nav a:hover, .side-nav a.active { color: #fff; background: rgba(255,255,255,.16); }
.nav-icon { display: grid; flex: 0 0 27px; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.08)); box-shadow: inset 0 2px 0 rgba(255,255,255,.25), 0 3px 0 rgba(49,28,139,.18); font-size: .76rem; }
.nav-count { margin-left: auto; padding: 2px 8px; border-radius: 999px; color: var(--purple-deep); background: var(--yellow); font-size: .68rem; }
.side-bottom { margin-top: auto; }
.back-link { display: flex; align-items: center; gap: 8px; margin: 0 13px 20px; color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 900; text-decoration: none; }
.back-link:hover { color: #fff; }
.account-mini { display: flex; align-items: center; gap: 10px; padding: 12px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(255,255,255,.09); }
.avatar { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 12px; color: var(--purple-deep); background: var(--yellow); font-family: "Fredoka", sans-serif; font-weight: 700; }
.avatar.has-image { color: transparent; background-position: center; background-size: cover; }
.account-mini strong { display: block; overflow: hidden; max-width: 145px; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.account-mini span { display: block; margin-top: 2px; color: rgba(255,255,255,.6); font-size: .67rem; font-weight: 800; }
.content { min-width: 0; min-height: 100vh; padding: 25px clamp(22px, 4vw, 56px) 45px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.topbar-label { color: var(--muted); font-size: .82rem; font-weight: 900; }
.topbar-label span { color: var(--purple-deep); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.circle-button, .icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); background: var(--white); }
.circle-button:hover, .icon-button:hover { color: var(--purple-deep); border-color: #d8d1fb; }
.icon-button.logout-button { color: #c54464; }
.icon-button.logout-button:hover { color: #a72e4c; border-color: #f2b6c7; background: #fff4f7; }
.user-pill { display: flex; align-items: center; gap: 9px; max-width: 220px; padding: 4px 11px 4px 5px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-size: .76rem; font-weight: 900; }
.user-pill .avatar { width: 29px; height: 29px; border-radius: 50%; font-size: .77rem; }
.user-pill [data-user-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-nav { display: none; }
.page-hero { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 20px; min-height: 170px; padding: 28px 31px; overflow: hidden; border-radius: 25px; color: #fff; background: linear-gradient(110deg, #0c5d96, #1677bc 58%, #55bde2); box-shadow: 0 13px 0 rgba(16,65,101,.12), var(--shadow); }
.page-hero::after { content: ""; position: absolute; width: 250px; height: 250px; right: 55px; top: -180px; border-radius: 50%; background: rgba(255,255,255,.13); }
.page-hero > div { position: relative; z-index: 1; }
.kicker { margin: 0 0 8px; color: var(--yellow); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.page-hero h1 { margin: 0; font-family: "Fredoka", sans-serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.page-hero p { max-width: 540px; margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: .84rem; font-weight: 800; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 0; border-radius: 13px; color: var(--ink); background: var(--yellow); box-shadow: 0 4px 0 rgba(47,28,120,.2); font-family: "Fredoka", sans-serif; font-size: .88rem; font-weight: 700; text-decoration: none; }
.button:hover { transform: translateY(-1px); }
.button-purple { color: #fff; background: var(--purple); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 31px 0 14px; }
.section-head h2 { margin: 0; font-family: "Fredoka", sans-serif; font-size: 1.55rem; letter-spacing: -.04em; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; font-weight: 800; }
.panel { border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.pack-list { overflow: hidden; }
.pack-row { display: grid; grid-template-columns: 48px minmax(0,1fr) auto auto; align-items: center; gap: 13px; padding: 15px 18px; }
.pack-row + .pack-row { border-top: 1px solid var(--line); }
.pack-avatar { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 15px; color: var(--purple-deep); background: #e9e3ff; font-size: 1.1rem; box-shadow: inset 0 2px 0 rgba(255,255,255,.66), 0 4px 0 rgba(61,37,139,.1); }
.pack-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.my-sounds-page .pack-row { grid-template-columns: 72px minmax(0,1fr) auto auto; }
.my-sounds-page .pack-avatar { width: 72px; height: 72px; border-radius: 19px; font-size: 1.45rem; }
.pack-info { min-width: 0; }
.pack-info strong { display: block; overflow: hidden; font-family: "Fredoka", sans-serif; font-size: .98rem; text-overflow: ellipsis; white-space: nowrap; }
.pack-info p { margin: 4px 0 0; color: var(--muted); font-size: .7rem; font-weight: 800; }
.pack-status { padding: 5px 9px; border-radius: 999px; color: #16876d; background: #e2f8f0; font-size: .64rem; font-weight: 900; white-space: nowrap; }
.pack-status.inactive { color: #a56a08; background: #fff3ca; }
.pack-actions { display: flex; align-items: center; gap: 4px; }
.pack-action { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid transparent; border-radius: 9px; color: #88829f; background: transparent; font-size: .8rem; }
.pack-action:hover { color: var(--purple-deep); background: var(--purple-soft); }
.pack-action.toggle { color: #16876d; }
.pack-action.delete { color: #c54464; }
.pack-action.delete:hover { background: #fff0f4; }
.pack-action:disabled { opacity: .5; cursor: wait; }
.preview-button { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; padding: 5px 9px; border: 1px solid #e4defd; border-radius: 999px; color: var(--purple-deep); background: #fff; font-size: .65rem; font-weight: 900; }
.preview-button:hover { background: var(--purple-soft); }
.preview-panel { grid-column: 1 / -1; margin: -3px 18px 1px 61px; padding: 11px; border: 1px solid #e4defd; border-radius: 13px; background: #fbfaff; }
.preview-panel[hidden] { display: none; }
.clip-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: .72rem; font-weight: 900; }
.clip-row + .clip-row { margin-top: 5px; background: #fff; }
.clip-row button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; color: #fff; background: var(--purple); }
.empty-state { display: grid; place-items: center; min-height: 150px; padding: 30px; color: var(--muted); text-align: center; }
.empty-state strong { display: block; color: var(--ink); font-family: "Fredoka", sans-serif; font-size: 1rem; }
.empty-state span { display: block; margin-top: 6px; font-size: .76rem; font-weight: 800; }
.discover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.discover-card { display: flex; align-items: flex-start; gap: 13px; min-width: 0; padding: 18px; }
.discover-card > div { min-width: 0; }
.discover-card strong { display: block; overflow: hidden; font-family: "Fredoka", sans-serif; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.discover-card p { margin: 4px 0 0; color: var(--muted); font-size: .68rem; font-weight: 800; }
.discover-card .pack-status { display: inline-block; margin-top: 8px; }
.discover-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; padding: 7px 10px; border: 1px solid #e4defd; border-radius: 999px; color: var(--purple-deep); background: #fff; font-size: .66rem; font-weight: 900; }
.discover-open:hover { background: var(--purple-soft); }
.discover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 224px)); justify-content: start; gap: 12px; }
.discover-grid .empty-state { grid-column: 1 / -1; }
.discover-card { display: flex; flex-direction: column; width: 100%; max-width: 224px; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.discover-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 45, 76, .14); }
.discover-cover { position: relative; width: 100%; aspect-ratio: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #e7f4fe 0%, #d0ebfc 50%, #bce0f8 100%); display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), 0 4px 12px rgba(16, 45, 76, .05); }
.discover-cover img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.discover-card:hover .discover-cover img { transform: scale(1.02); }
.discover-cover-placeholder { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: rgba(255, 255, 255, .85); color: var(--purple-deep); font-size: 2.2rem; box-shadow: 0 8px 20px rgba(14, 86, 141, .15); transition: transform .2s ease; }
.discover-card:hover .discover-cover-placeholder { transform: scale(1.08); }
.discover-body { display: flex; flex-direction: column; flex: 1; min-width: 0; margin-top: 11px; }
.discover-title { margin: 0; color: var(--ink); font-family: "Fredoka", sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discover-creator { display: flex; align-items: center; gap: 6px; margin: 3px 0 10px; color: var(--muted); font-size: .7rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discover-creator i { color: var(--purple); font-size: .82rem; }
.discover-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.discover-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.discover-badge-sfx { color: var(--purple-deep); background: #e7f4fe; border: 1px solid #c9e6fb; }
.discover-badge-plays { color: #11785f; background: #e2f8f0; border: 1px solid #c6eedf; }
.discover-open { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: auto; min-height: 38px; padding: 8px 13px; border: 0; border-radius: 12px; color: #fff; background: var(--purple); box-shadow: 0 3px 0 rgba(14, 86, 141, .28); font-family: "Fredoka", sans-serif; font-size: .84rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.discover-open:hover { background: var(--purple-deep); transform: translateY(-2px); box-shadow: 0 6px 0 rgba(14, 86, 141, .28); }
.discover-open:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(14, 86, 141, .28); }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.settings-card { padding: 21px; }
.settings-card h3 { margin: 0 0 16px; font-family: "Fredoka", sans-serif; font-size: 1.15rem; }
.profile-strip { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.profile-strip .avatar { flex: 0 0 70px; width: 70px; height: 70px; border-radius: 22px; font-size: 1.3rem; }
.profile-strip strong { display: block; font-family: "Fredoka", sans-serif; font-size: 1.14rem; }
.profile-strip p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; font-weight: 800; overflow-wrap: anywhere; }
.upload-avatar { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 7px 10px; border: 1px solid #e4defd; border-radius: 10px; color: var(--purple-deep); background: #fff; font-size: .68rem; font-weight: 900; cursor: pointer; }
.upload-avatar input { display: none; }
.settings-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.settings-fields label, .field label { display: grid; gap: 6px; color: var(--ink); font-size: .7rem; font-weight: 900; }
.settings-fields input, .field input { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #e2dfed; border-radius: 10px; color: var(--ink); background: #f8f7fc; font-size: .76rem; font-weight: 800; }
.settings-fields input:disabled { opacity: .75; }
.field + .field { margin-top: 11px; }
.settings-status, .notice { min-height: 16px; margin: 10px 0 0; color: var(--purple-deep); font-size: .68rem; font-weight: 900; }
.settings-status.error, .notice.error { color: #c54464; }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 15px; }
.notice { padding: 11px 13px; border-radius: 12px; background: var(--purple-soft); }
.notice:empty { display: none; }
.detail-backdrop { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(39,30,83,.58); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.detail-backdrop.open { opacity: 1; pointer-events: auto; }
.detail-card { width: min(100%, 650px); max-height: min(720px, calc(100vh - 36px)); overflow: auto; padding: 25px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 25px 75px rgba(29,20,80,.35); transform: translateY(10px); transition: transform .2s ease; }
.detail-backdrop.open .detail-card { transform: translateY(0); }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.detail-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.detail-title h2 { margin: 0; overflow: hidden; font-family: "Fredoka", sans-serif; font-size: 1.55rem; text-overflow: ellipsis; white-space: nowrap; }
.detail-title p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; font-weight: 800; }
.detail-icon { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 18px; }
.detail-close { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; color: var(--muted); background: #f5f3fa; }
.detail-close:hover { color: var(--purple-deep); background: var(--purple-soft); }
.detail-actions { display: flex; align-items: center; gap: 8px; }
.detail-report { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; color: #c54464; background: #fff0f4; }
.detail-report:hover { color: #a72e4c; background: #ffdfe8; }
.detail-report:disabled { opacity: .5; cursor: wait; }
.detail-description { margin: 20px 0 17px; color: var(--muted); font-size: .78rem; font-weight: 800; line-height: 1.5; }
.detail-clips { display: grid; gap: 7px; }
.detail-clip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; border: 1px solid #ece9f7; border-radius: 12px; background: #fbfaff; }
.detail-clip > div { min-width: 0; }
.detail-clip strong { display: block; overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.detail-clip span { display: block; margin-top: 3px; color: var(--muted); font-size: .63rem; font-weight: 800; }
.detail-play { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 9px; color: #fff; background: var(--purple); box-shadow: 0 3px 0 rgba(61,37,139,.18); }
.detail-play:hover, .detail-play.is-playing { background: var(--pink); }
.detail-play:disabled { opacity: .6; cursor: wait; }
.report-card { width: min(100%, 430px); padding: 27px; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: var(--white); box-shadow: 0 25px 75px rgba(29,20,80,.35); transform: translateY(10px); transition: transform .2s ease; }
.detail-backdrop.open .report-card { transform: translateY(0); }
.report-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; color: #c54464; background: #fff0f4; }
.report-card h2 { margin: 0; font-family: "Fredoka", sans-serif; font-size: 1.45rem; }
.report-card > p { margin: 8px 0 18px; color: var(--muted); font-size: .78rem; font-weight: 800; line-height: 1.5; }
.report-label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .7rem; font-weight: 900; }
.report-select { width: 100%; padding: 10px 11px; border: 1px solid #e2dfed; border-radius: 10px; color: var(--ink); background: #f8f7fc; font-family: inherit; font-size: .76rem; font-weight: 800; }
.report-card .report-note { margin: 10px 0 0; color: var(--muted); font-size: .67rem; }
.report-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 21px; }
.report-cancel, .report-submit { min-height: 38px; padding: 8px 13px; border-radius: 11px; font-family: "Fredoka", sans-serif; font-size: .78rem; font-weight: 700; }
.report-cancel { border: 1px solid var(--line); color: var(--muted); background: #fff; }
.report-submit { border: 0; color: #fff; background: #c54464; box-shadow: 0 3px 0 rgba(112,25,47,.2); }
.report-submit:hover { background: #a72e4c; }
.report-submit:disabled { opacity: .6; cursor: wait; }
.info-page { display: grid; grid-template-rows: auto 1fr; min-height: 100vh; background: #f3fbff; }
.info-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px max(24px, calc((100% - 1180px) / 2)); background: #0b568d; }
.info-header .brand { margin: 0; }
.info-header .button { color: var(--ink); background: var(--yellow); }
.info-main { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: clamp(54px, 8vw, 100px) 0; }
.info-main h1 { margin: 0; color: var(--ink); font-family: "Fredoka", sans-serif; font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: .95; letter-spacing: -.03em; }
.info-main p { color: var(--muted); font-size: 1rem; font-weight: 800; line-height: 1.7; }
.info-card { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.info-card p { margin: 0; font-size: .9rem; }

@media (max-width: 850px) {
  .app { grid-template-columns: 205px minmax(0,1fr); }
  .content { padding-inline: 22px; }
  .pack-row { grid-template-columns: 48px minmax(0,1fr) auto; }
  .pack-row > .pack-status { grid-column: 2; justify-self: start; }
  .pack-row > .pack-actions { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 700px) {
  body { padding-bottom: 0; }
  .app { display: block; }
  .sidebar { display: none; }
  .content { min-height: 100vh; padding: 15px 14px 104px; }
  .topbar { margin-bottom: 18px; }
  .mobile-brand { display: inline-flex; }
  .topbar-label { display: none; }
  .top-actions { gap: 6px; }
  .top-actions .circle-button { display: none; }
  .user-pill { max-width: 154px; padding-right: 8px; }
  .user-pill [data-user-name] { max-width: 88px; }
  .mobile-nav { position: fixed; z-index: 50; right: 10px; bottom: 10px; left: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.96); box-shadow: 0 8px 26px rgba(16,45,76,.2); backdrop-filter: blur(12px); }
  .mobile-nav a { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; border-radius: 13px; color: var(--muted); font-size: .61rem; font-weight: 900; line-height: 1.1; text-decoration: none; white-space: nowrap; }
  .mobile-nav a i { font-size: .9rem; }
  .mobile-nav a.active { color: var(--purple-deep); background: var(--purple-soft); }
  .my-sounds-page .pack-row { grid-template-columns: 64px minmax(0,1fr) auto; }
  .my-sounds-page .pack-avatar { width: 64px; height: 64px; border-radius: 17px; }
  .page-hero { display: block; min-height: 0; padding: 24px 21px; }
  .page-hero .button { margin-top: 18px; }
  .section-head { align-items: start; margin-top: 26px; }
  .section-head .text-link { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-fields { grid-template-columns: 1fr; }
  .discover-grid { grid-template-columns: 1fr; }
  .discover-card { justify-self: center; }
  .detail-card { padding: 20px 16px; border-radius: 20px; }
  .info-header { padding: 16px 15px; }
  .info-header .brand { font-size: .98rem; }
  .info-header .button { min-height: 38px; padding: 8px 12px; font-size: .78rem; }
  .info-main { width: min(100% - 30px, 560px); padding: 52px 0 70px; }
}
@media (max-width: 430px) {
  .user-pill .fa-chevron-down { display: none; }
  .user-pill [data-user-name] { max-width: 72px; }
  .pack-row { grid-template-columns: 42px minmax(0,1fr) auto; gap: 9px; padding: 13px 12px; }
  .pack-avatar { width: 42px; height: 42px; }
  .my-sounds-page .pack-row { grid-template-columns: 60px minmax(0,1fr) auto; }
  .my-sounds-page .pack-avatar { width: 60px; height: 60px; border-radius: 16px; }
  .pack-row > .pack-status { grid-column: 2; }
  .pack-actions { gap: 0; }
  .pack-action { width: 28px; height: 28px; }
  .preview-panel { margin-left: 51px; }
}
