/* Account, auth, tracking, wishlist, FAQ, order confirmation ───────── */
.container--narrow { max-width: 880px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.mono { font-family: var(--font-mono); letter-spacing: .02em; }
.copy-btn { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; color: var(--muted); font-size: 12px; vertical-align: middle; }
.copy-btn:hover { background: var(--bg-2); color: var(--ink); }
.link-btn { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.link-btn--danger { color: var(--danger); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--subtle); flex-shrink: 0; }
.dot--good { background: var(--success); }
.dot--bad { background: var(--danger); }
.dot--wait { background: var(--star); }
.dot--live { background: var(--accent); box-shadow: 0 0 0 0 rgba(255,79,0,.5); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,79,0,.45); } 70% { box-shadow: 0 0 0 7px rgba(255,79,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,79,0,0); } }
.status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: var(--bg-2); color: var(--ink-2); }
.status--good { background: var(--success-soft); color: var(--success); }
.status--bad { background: var(--danger-soft); color: var(--danger); }
.status--live { background: var(--accent-soft); color: var(--accent-hover); }
.status--wait { background: var(--warning-soft); color: var(--warning); }
.form-grid { display: grid; grid-template-columns: 1fr; column-gap: 14px; }
.form-grid__full { grid-column: 1 / -1; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* ── Auth ── */
.auth { padding-top: 12px; }
.auth-grid { display: grid; gap: 0; max-width: 1040px; margin: 0 auto; }
@media (min-width: 960px) { .auth-grid { grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; margin-top: 16px; } }
.auth-aside { display: none; }
@media (min-width: 960px) {
    .auth-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px; background: var(--ink); color: #B9BBC0; position: relative; overflow: hidden; }
    .auth-aside::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 48px solid rgba(255,79,0,.12); }
    .auth-aside__title { color: #fff; font-size: 52px; font-weight: 850; font-stretch: 118%; letter-spacing: -.03em; line-height: .98; margin: 14px 0 16px; }
    .auth-aside p { color: #8E9096; font-size: 15px; max-width: 320px; }
    .auth-aside__perks { display: grid; gap: 18px; position: relative; z-index: 1; }
    .auth-aside__perks li { display: flex; gap: 14px; }
    .auth-aside__perks i { width: 38px; height: 38px; border-radius: 10px; background: #1D1F21; color: #fff; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
    .auth-aside__perks b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
    .auth-aside__perks span { font-size: 13px; color: #8E9096; line-height: 1.4; }
    .auth-aside code { font-family: var(--font-mono); color: #fff; background: #26282B; padding: 1px 6px; border-radius: 4px; font-size: 12px; }
}
.auth-card { width: 100%; max-width: 440px; margin: 0 auto; padding: 8px 0 24px; }
@media (min-width: 960px) { .auth-card { max-width: none; padding: 48px 56px; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r); background: var(--bg-2); margin-bottom: 28px; }
.seg__item { height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; font-weight: 500; color: var(--muted); transition: background var(--t-fast), color var(--t-fast); }
.seg__item.is-active { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--sh-1); }
.auth-title { font-size: 30px; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin: 4px 0 22px; }
.auth .notice { margin-bottom: 16px; }
.auth-google { gap: 10px; font-weight: 500; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 12px; color: var(--subtle); }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-link { font-size: 12.5px; font-weight: 500; color: var(--ink-3); text-decoration: underline; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-foot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pwd { position: relative; }
.pwd .input { padding-right: 48px; }
.pwd__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.pwd__toggle:hover { color: var(--ink); }
.pwd-meter { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.pwd-meter i { width: 36px; height: 4px; border-radius: 2px; background: var(--line); transition: background var(--t-fast); }
.pwd-meter i.is-weak { background: var(--danger); }
.pwd-meter i.is-ok { background: var(--star); }
.pwd-meter i.is-strong { background: var(--success); }
.pwd-meter span { margin-left: 8px; font-size: 12px; color: var(--muted); }
body.page-login .ftr, body.page-register .ftr { margin-top: 48px; }

/* ── Account / profile ── */
.acct-grid { display: grid; gap: 16px; margin-top: 4px; }
@media (min-width: 1024px) { .acct-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 16px; } .acct-side { position: sticky; top: calc(var(--header-h) + 16px); } }
@media (max-width: 1023.98px) {
    .acct--hub .acct-main { display: none; }
    .acct--tab .acct-side { display: none; }
}
.acct-side { display: grid; gap: 12px; }
.acct-user { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--ink); color: #fff; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.acct-user::after { content: ''; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(255,79,0,.14); }
.acct-avatar { position: relative; width: 64px; height: 64px; border-radius: 50%; background: #2C2E31; flex-shrink: 0; }
.acct-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.acct-avatar > span { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #fff; }
.acct-avatar__cam { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 11px; cursor: pointer; box-shadow: 0 0 0 3px var(--ink); }
.acct-avatar--sm { width: 52px; height: 52px; background: var(--bg-2); }
.acct-avatar--sm > span { color: var(--ink); font-size: 20px; }
.acct-user__txt { min-width: 0; position: relative; z-index: 1; }
.acct-user__name { font-family: var(--font-display); font-size: 19px; font-weight: 750; font-stretch: 108%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-user__mail { font-size: 12.5px; color: #9FA2A8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-user .tag--soft-accent { background: rgba(255,79,0,.18); color: #FF9A66; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.acct-stats > * { background: var(--surface); padding: 12px; text-align: center; }
.acct-stats b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-stats span { font-size: 11.5px; color: var(--muted); }
.acct-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.acct-nav__item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); transition: background var(--t-fast); }
.acct-nav__item:last-child { border-bottom: 0; }
.acct-nav__item:hover { background: var(--surface-2); }
.acct-nav__ico { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 14px; color: var(--ink-2); flex-shrink: 0; }
.acct-nav__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acct-nav__txt b { font-size: 14px; font-weight: 600; }
.acct-nav__txt small { font-size: 12px; color: var(--muted); }
.acct-nav__chev { font-size: 11px; color: var(--subtle); }
.acct-nav__item.is-danger, .acct-nav__item.is-danger .acct-nav__ico { color: var(--danger); }
.acct-nav__item.is-danger .acct-nav__ico { background: var(--danger-soft); }
@media (min-width: 1024px) {
    .acct-nav__item.is-active { background: var(--bg); }
    .acct-nav__item.is-active .acct-nav__ico { background: var(--ink); color: #fff; }
}
.acct-main { min-width: 0; display: grid; gap: 12px; align-content: start; }
.acct-subhead { display: flex; align-items: center; gap: 12px; margin: 4px 0 4px; }
.acct-title { flex: 1; font-size: 24px; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
@media (min-width: 1024px) { .acct-back { display: none; } .acct-title { font-size: 28px; } }
.acct-photo { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.acct-divider { margin: 10px 0 14px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.acct-divider b { display: block; font-size: 15px; }
.acct-divider span { font-size: 12.5px; color: var(--muted); }

.order-list { display: grid; gap: 12px; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.order-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.order-card__num { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; }
.order-card__date { font-size: 12px; color: var(--muted); }
.order-card__pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.order-card .order-lines { padding: 4px 16px; }
.order-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.order-card__total span { display: block; font-size: 11.5px; color: var(--muted); }
.order-card__total b { font-size: 17px; font-weight: 700; }
.order-card__actions { display: flex; gap: 8px; }

.order-lines { display: grid; }
.order-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-line:last-child { border-bottom: 0; }
.order-line img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--tile); flex-shrink: 0; mix-blend-mode: multiply; }
.order-line__info { flex: 1; min-width: 0; }
.order-line__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-line__meta { font-size: 12px; color: var(--muted); }
.order-totals { display: grid; gap: 6px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.order-totals > div { display: flex; justify-content: space-between; }
.order-totals .good { color: var(--success); }
.order-totals .total { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-weight: 600; color: var(--ink); font-size: 16px; }
.order-totals .total span:last-child { font-size: 20px; font-weight: 700; }

.addr-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .addr-grid { grid-template-columns: 1fr 1fr; } }
.addr-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.addr-card.is-default { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.addr-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.addr-card__name { font-size: 15px; font-weight: 600; }
.addr-card__lines { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.addr-card__phone { font-size: 13px; color: var(--muted); }
.addr-card__phone i { font-size: 11px; margin-right: 4px; }
.addr-card__actions { display: flex; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.addr-box { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--bg); font-size: 13.5px; }
.addr-box i { color: var(--ink-3); margin-top: 3px; }
.addr-box b { display: block; font-weight: 600; }
.addr-box span { color: var(--muted); }

/* ── Tracking ── */
.track-hero { margin: 8px 0 18px; }
.track-hero .h1 { margin: 8px 0 6px; }
.track-form { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px 0 16px; margin-top: 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.track-form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18,19,20,.06); }
.track-form > i { color: var(--muted); }
.track-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; }
.track-form .btn { height: 44px; }
.track-recent { margin-top: 16px; }
.track-recent .eyebrow { display: block; margin-bottom: 8px; }
.track-recent .chip { gap: 8px; }
.track-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.track-status { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; font-stretch: 110%; margin: 4px 0 2px; }
.track-awb { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; }
.track-awb .copy-btn { margin-top: -2px; }
@media (max-width: 599px) { .track-awb { align-items: flex-start; } }

.tracker { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin: 6px 0 18px; counter-reset: s; }
.tracker::before { content: ''; position: absolute; top: 17px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.tracker li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tracker li > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font-size: 12px; font-weight: 600; color: var(--subtle); position: relative; z-index: 1; }
.tracker li b { font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.25; }
.tracker li.is-done > span { background: var(--ink); border-color: var(--ink); color: #fff; }
.tracker li.is-done b { color: var(--ink-2); }
.tracker li.is-on > span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px var(--accent-soft); }
.tracker li.is-on b { color: var(--ink); font-weight: 600; }
.tracker.is-cancelled li.is-on > span { background: var(--danger); border-color: var(--danger); box-shadow: 0 0 0 5px var(--danger-soft); }
@media (min-width: 700px) { .tracker li b { font-size: 12.5px; } }

.timeline { position: relative; display: grid; gap: 18px; padding-left: 22px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -22px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); }
.timeline li:first-child::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.timeline__head time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline__loc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.timeline__loc i { font-size: 11px; margin-right: 3px; }
.timeline__note { font-size: 13px; margin-top: 4px; }
.feature-trio { display: grid; gap: 10px; }
@media (min-width: 700px) { .feature-trio { grid-template-columns: repeat(3, 1fr); } }
.feature-trio > div { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 4px; }
.feature-trio i { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; margin-bottom: 8px; }
.feature-trio b { font-size: 14.5px; }
.feature-trio span { font-size: 13px; color: var(--muted); }
.track .card--pad, .success .card--pad { margin-bottom: 12px; }

/* ── Order success ── */
.success-hero { text-align: center; padding: 20px 0 24px; }
.success-hero .h1 { margin: 10px auto 10px; max-width: 560px; }
.success-hero .lead { max-width: 480px; margin: 0 auto; }
.success-check { width: 72px; height: 72px; margin: 0 auto 16px; }
.success-check svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke: var(--success); stroke-width: 3; fill: var(--success-soft); stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawStroke .7s var(--ease-out) forwards; }
.success-check path { stroke: var(--success); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawStroke .45s .5s var(--ease-out) forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
.success-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-align: left; }
.success-stats > div { background: var(--surface); padding: 14px 16px; }
.success-stats dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.success-stats dd { font-size: 15px; font-weight: 600; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
@media (min-width: 700px) { .success-stats { grid-template-columns: repeat(4, 1fr); } }
.success-actions { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 700px) { .success-actions { display: flex; justify-content: center; } }

/* ── FAQ ── */
.faq-hero { margin: 8px 0 16px; }
.faq-hero .h1 { margin-top: 8px; }
.faq-search .icon-btn { flex-shrink: 0; }
.faq-search input::-webkit-search-cancel-button { display: none; }
.faq-cats { margin-bottom: 8px; }
.faq-cats .chip .muted { font-size: 11.5px; }
.faq-cats .chip.is-active .muted { color: #9B9EA4; }
.faq-list { display: grid; }
.faq-group { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 28px 0 6px; font-stretch: 100%; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; text-align: left; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.faq-q i { font-size: 12px; color: var(--muted); transition: transform var(--t-fast); flex-shrink: 0; }
.faq-item.active .faq-q i { transform: rotate(45deg); color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a__inner { padding: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: var(--ink-3); max-width: 680px; }
.help-card { display: grid; gap: 18px; margin-top: 36px; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #B9BBC0; }
.help-card h3 { color: #fff; font-size: 22px; font-weight: 800; font-stretch: 110%; margin-bottom: 6px; }
.help-card p { color: #8E9096; font-size: 14px; }
.help-card__cta { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 800px) { .help-card { grid-template-columns: 1fr auto; align-items: center; padding: 32px; } }
