  .acct-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(139,92,246,0.5), transparent 55%), linear-gradient(135deg, #1c1533, #140f22); color: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); }
  .acct-hero__id { display: flex; align-items: center; gap: 16px; }
  .acct-hero__avatar { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px -10px rgba(255,46,131,0.8); }
  .acct-hero__hi { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); }
  .acct-hero__mail { font-size: 0.9rem; color: rgba(255,255,255,0.72); margin-top: 3px; }
  .acct-hero__tier { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .acct-hero__tierbadge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }
  .acct-hero__tierbadge .icon { width: 16px; height: 16px; color: var(--star); }

  .acct { display: grid; grid-template-columns: 244px 1fr; gap: 22px; align-items: start; }
  .acct-nav { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); position: sticky; top: 150px; }
  .acct-nav__item { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
  .acct-nav__item .icon { width: 19px; height: 19px; }
  .acct-nav__item:hover { background: var(--surface-soft); color: var(--ink); }
  .acct-nav__item.is-active { background: var(--ink); color: #fff; }
  .acct-nav__cta { margin-top: 8px; }

  .acct-main { display: grid; gap: 22px; min-width: 0; }
  .acct-main__content { display: grid; gap: 22px; }
  /* Needed so the `hidden` toggle wins over `display: grid` (equal specificity → author order). */
  .acct-main__content[hidden] { display: none; }

  /* Embedded assistant in a bounded block: the dock has a fixed, reasonable height and the assistant
     scrolls INTERNALLY (its composer stays pinned at the bottom) instead of growing the whole page.
     The mount is a flex column so the widget's shadow layout fills the block (see the theme's
     `[data-template-id="layout"]:has(...fullscreen)` rules that make the inner chain height:100%). */
  .acct-lumi { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
  .acct-lumi__body { position: relative; height: min(860px, 86vh); overflow: hidden; }
  .acct-lumi__body #secondary-assistant-root { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  /* The embedded assistant reuses the floating-window width (~460px). As a grid item it defaults to
     min-width:auto, so on a narrow viewport it would keep that min-content width and overflow the
     column. Let the grid items shrink so the dock reflows to the available width (the widget's own
     .skdwn-container-base is max-width:100%, so it follows once its host can shrink). */
  .acct-main > * { min-width: 0; }
  .acct-lumi, .acct-lumi__body { min-width: 0; max-width: 100%; }

  .acct-rewards { display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; gap: 14px; background: var(--surface); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-sm); align-items: center; }
  .rew-tile { display: flex; flex-direction: column; gap: 2px; }
  .rew-tile__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-soft); color: var(--brand); margin-bottom: 8px; }
  .rew-tile__icon .icon { width: 18px; height: 18px; }
  .rew-tile__value { font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
  .rew-tile__label { font-size: 0.8rem; color: var(--muted); }
  .rew-progress__top { display: flex; flex-direction: column; gap: 2px; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
  .rew-progress__top strong { color: var(--ink); font-weight: 700; }
  .rew-progress__bar { height: 10px; border-radius: 999px; background: var(--surface-soft); overflow: hidden; }
  .rew-progress__fill { height: 100%; border-radius: 999px; background: linear-gradient(100deg, var(--brand), var(--brand-2)); }

  .orders { display: grid; gap: 14px; }
  .order { background: var(--surface); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
  .order__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .order__num { font-weight: 700; }
  .order__date { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
  .order__status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
  .order__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .order__status--ok { background: rgba(18,161,80,0.12); color: var(--ok); }
  .order__status--transit { background: rgba(139,92,246,0.14); color: var(--brand-2); }
  .order__body { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
  .order__thumbs { display: flex; }
  .order__thumb { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, hsl(var(--hue), 90%, 66%), hsl(calc(var(--hue) + 42), 82%, 52%)); box-shadow: 0 0 0 3px var(--surface); }
  .order__thumb + .order__thumb { margin-left: -12px; }
  .order__thumb .icon { width: 22px; height: 22px; color: rgba(255,255,255,0.94); }
  .order__desc { flex: 1 1 auto; min-width: 0; font-size: 0.94rem; }
  .order__desc span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
  .order__total { font-family: var(--display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
  .order__actions { display: flex; flex-wrap: wrap; gap: 8px; }

  .infocards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .line { display: flex; align-items: flex-start; gap: 12px; }
  .line__icon { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-soft); color: var(--brand); }
  .line__icon .icon { width: 19px; height: 19px; }
  .line__title { font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
  .line__sub { font-size: 0.86rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }
  .pill-default { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-dark); background: #ffe6f2; padding: 2px 7px; border-radius: 999px; }
  .panel__link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--brand-dark); }

  @media (max-width: 900px) {
    .acct { grid-template-columns: 1fr; }
    .acct-nav { flex-direction: row; flex-wrap: wrap; position: static; }
    .acct-nav__item { flex: 1 1 auto; justify-content: center; }
    .acct-nav__cta { flex-basis: 100%; }
    .acct-rewards { grid-template-columns: 1fr 1fr; }
    .infocards { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .acct-rewards { grid-template-columns: 1fr; }
    .order__body { flex-wrap: wrap; }
  }
