/* ================================================================
   Takween — accounts: sign in/up, reset, account area, membership card.
   ================================================================ */

/* ── Shared bits ─────────────────────────────────────────────── */
.eye { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 11px; background: none; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.eye:hover, .eye.is-on { background: var(--paper); color: var(--ink); }
.field__label { color: var(--ink); font: 700 13.5px/1.4 var(--display); }
.note { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.note__icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; background: var(--lilac-soft); color: var(--lilac); }
.note__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.note__text strong { color: var(--ink); font: 700 14px var(--display); }
.note__text span { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.note form, .note > .btn { flex-shrink: 0; }
.note--warn .note__icon { background: var(--warn-soft); color: #A5650C; }
.note--soft { background: var(--paper); box-shadow: none; }
.note--soft .note__icon { background: #fff; }
.note--brand { background: var(--ink); color: #fff; transition: transform .3s var(--ease); }
.note--brand:hover { transform: translateY(-3px); }
.note--brand .note__icon { background: var(--pink); color: #fff; }
.note--brand .note__text strong { color: #fff; }
.note--brand .note__text span { color: rgba(255, 255, 255, .7); }
.device-mobile .note { flex-wrap: wrap; }
.device-mobile .note form, .device-mobile .note > .btn { width: 100%; }
.device-mobile .note form .btn { width: 100%; }

/* ── Auth: desktop ───────────────────────────────────────────── */
.auth { padding-bottom: 30px; }
.auth__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 20px; max-width: 1100px; align-items: stretch; }
.auth__aside { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 640px; padding: 44px; border-radius: 34px; color: #fff; }
.auth__emblem { position: absolute; top: 44px; inset-inline-start: 44px; width: 132px; }
.auth__quote { margin: 14px 0 28px; color: #fff; font: 800 26.5px/1.4 var(--display); }
html[lang="en"] .auth__quote { line-height: 1.15; letter-spacing: -.02em; }
.auth__perks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.auth__perks li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); font: 600 14px var(--display); }
.auth__perks li span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--sand); }
.auth__proof { display: flex; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(226, 196, 170, .2); color: rgba(255, 255, 255, .72); font-size: 14px; }
.auth__proof .avatars .avatar { box-shadow: 0 0 0 3px var(--ink); }
.auth__proof b { color: var(--sand); font-family: var(--display); }
.auth__spark { position: absolute; color: var(--sand); }
.auth__spark--1 { top: 56px; inset-inline-end: 60px; }
.auth__spark--2 { top: 170px; inset-inline-end: 120px; color: var(--pink); }
.auth__main { align-self: center; padding: 46px 48px; border-radius: 34px; }
.auth__title { margin: 14px 0 10px; font-size: clamp(24px, 2.34vw, 30px); }
.auth__lead { color: var(--muted); margin-bottom: 26px; }
.auth__row { display: flex; justify-content: flex-end; margin-top: -6px; font-size: 13.5px; }
.auth__switch { margin: 2px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.auth__done { position: relative; display: grid; justify-items: center; gap: 12px; padding: 8px 0; text-align: center; }
.auth__done h3 { font-size: 18.5px; }
.auth__done p { margin: 0; color: var(--muted); }
.auth__done .btn { margin-top: 8px; }
.auth__done-icon { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 26px; background: var(--pink); color: #fff; transform: rotate(-6deg); box-shadow: 0 16px 34px rgba(242, 45, 131, .35); }
.auth__done-icon--ok { background: var(--ok); box-shadow: 0 16px 34px rgba(31, 157, 107, .3); }
.auth__done-icon--warn { background: var(--warn-soft); color: #A5650C; box-shadow: none; }
.auth__s { position: absolute; color: var(--sand); }
.auth__s--1 { top: -12px; inset-inline-end: -14px; color: var(--pink); }
.auth__s--2 { bottom: -6px; inset-inline-start: -14px; color: var(--lilac); }
.auth__done-icon--ok .auth__s--1 { color: var(--sand); }

/* ── Auth: phone ─────────────────────────────────────────────── */
.mauth { padding: 80px 0 20px; }
.mauth__hero { position: relative; margin: 0 8px; padding: 30px 22px 76px; border-radius: 30px; background: var(--ink); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.mauth__hero::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242, 45, 131, .45), transparent 65%); z-index: -1; }
.mauth__hero::after { content: ""; position: absolute; inset: auto auto -50% -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(142, 110, 185, .4), transparent 65%); z-index: -1; }
.mauth__emblem { width: 70px; margin: 0 auto 14px; }
.mauth__hero h1 { color: #fff; font-size: 24.5px; line-height: 1.4; }
html[lang="en"] .mauth__hero h1 { line-height: 1.12; }
.mauth__hero p { margin: 10px auto 0; max-width: 320px; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.7; }
.mauth__spark { position: absolute; color: var(--sand); }
.mauth__spark--1 { top: 26px; inset-inline-start: 26px; }
.mauth__spark--2 { top: 70px; inset-inline-end: 30px; color: var(--pink); }
.mauth__card { position: relative; margin: -52px 14px 0; padding: 22px 18px; border-radius: 26px; box-shadow: var(--shadow); }

/* ── Account: desktop frame ──────────────────────────────────── */
.acc { padding-bottom: 20px; }
.acc__hero { position: relative; display: flex; align-items: center; gap: 22px; padding: 30px 34px; border-radius: 32px; margin-bottom: 20px; color: #fff; }
.acc__avatar { box-shadow: 0 0 0 5px rgba(255, 255, 255, .12); }
.acc__hello { min-width: 0; }
.acc__kicker { color: var(--sand); font: 700 13.5px var(--display); }
.acc__hello h1 { margin: 4px 0 12px; color: #fff; font-size: 25px; }
.acc__wave { display: inline-block; animation: wave 2.4s ease-in-out 1s 2; transform-origin: 70% 70%; }
@keyframes wave { 10%, 30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40%, 100% { transform: none; } }
.acc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.acc__spark { position: absolute; color: var(--sand); }
.acc__spark--1 { top: 26px; inset-inline-end: 44px; }
.acc__spark--2 { bottom: 30px; inset-inline-end: 110px; color: var(--pink); }
.acc__grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 20px; align-items: start; }
.acc__nav { position: sticky; top: 100px; display: grid; gap: 2px; padding: 10px; border-radius: 26px; }
.acc__nav form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.acc__link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 16px; background: none; color: var(--ink); font: 600 14px var(--display); text-align: start; cursor: pointer; transition: background .2s, color .2s; }
.acc__link:hover { background: var(--bg); }
.acc__ic { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; background: var(--paper); color: var(--ink); transition: background .2s, color .2s; }
.acc__chev { margin-inline-start: auto; opacity: .35; }
.acc__link.is-on { background: var(--ink); color: #fff; }
.acc__link.is-on .acc__ic { background: var(--pink); color: #fff; }
.acc__link.is-on .acc__chev { opacity: .7; }
.acc__link--out { color: var(--pink-2); }
.acc__link--out .acc__ic { background: var(--pink-soft); color: var(--pink); }
.acc__main { display: grid; gap: 16px; min-width: 0; }
.acc__section { display: grid; gap: 16px; min-width: 0; }
.acc__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc__title { font-size: 22px; }
.acc__sub { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15.5px; }
.acc__sub .icon { color: var(--pink); }
.acc__back { display: inline-flex; align-items: center; gap: 6px; width: max-content; color: var(--muted); font: 600 13.5px var(--display); }
.acc__back:hover { color: var(--ink); }
.acc__back-ic { transform: scaleX(-1); }
[dir="rtl"] .acc__back-ic { transform: none; }

/* ── Account: phone frame ────────────────────────────────────── */
.macc { padding-inline: 12px; padding-bottom: 8px; }
.macc .acc__hero { gap: 14px; padding: 20px 18px; border-radius: 26px; margin-bottom: 12px; }
.macc .acc__hello h1 { font-size: 19.5px; margin-bottom: 10px; }
.macc .acc__chips .chip { height: 28px; padding: 0 10px; font-size: 12px; }
.macc .acc__spark--2 { display: none; }
.macc__nav { display: flex; gap: 8px; margin: 0 -12px 14px; padding: 4px 12px 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.macc__nav::-webkit-scrollbar { display: none; }
.macc__chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font: 600 13.5px var(--display); scroll-snap-align: start; }
.macc__chip .icon { color: var(--muted); }
.macc__chip.is-on { background: var(--ink); color: #fff; }
.macc__chip.is-on .icon { color: var(--sand); }
.macc__body { display: grid; gap: 12px; }
.macc__out { margin-top: 18px; }
.macc .acc__title { font-size: 18.5px; }
.macc .acc__bar .tabs { width: 100%; }
.macc .acc__bar .tabs__btn { flex: 1; justify-content: center; }

/* ── Dashboard ───────────────────────────────────────────────── */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dash__member { display: grid; gap: 10px; }
.dash__under { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--pink); font: 700 13.5px var(--display); }
.dash__join h3 { margin: 16px 0 8px; color: #fff; font-size: 20px; }
.dash__join p { color: rgba(255, 255, 255, .72); }
.dash__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dash__head h3 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; }
.dash__head h3 .icon { color: var(--pink); }
.dash__head .link { font-size: 13.5px; }
.dash__countdown { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
.dash__countdown b { color: var(--ink); font-family: var(--display); }
.empty--sm { padding: 18px 10px; }
.empty--sm > .icon { width: 50px; height: 50px; padding: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { display: grid; gap: 4px; padding: 18px 20px; transition: transform .3s var(--ease), box-shadow .3s; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 13px; color: #fff; }
.stat__ic--pink { background: var(--pink); }
.stat__ic--lilac { background: var(--lilac); }
.stat__ic--sand { background: var(--sand-2); color: #fff; }
.stat b { color: var(--ink); font: 800 23.5px/1.1 var(--display); }
.stat > span:last-child { color: var(--muted); font-size: 13.5px; }
.stat .stat__ic, .stat .stat__ic--sand { color: #fff; }
.device-mobile .dash { grid-template-columns: minmax(0, 1fr); gap: 12px; }
/* Phone: one compact strip, three equal columns with dividers. */
.device-mobile .stats { gap: 0; padding: 6px 0; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.device-mobile .stat { justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 0; background: none; box-shadow: none; text-align: center; min-width: 0; }
.device-mobile .stat + .stat { border-inline-start: 1px solid var(--line); }
.device-mobile .stat:hover { transform: none; box-shadow: none; }
.device-mobile .stat__ic { width: 30px; height: 30px; margin-bottom: 4px; border-radius: 10px; }
.device-mobile .stat__ic .icon { width: 16px; height: 16px; }
.device-mobile .stat b { font-size: 18px; }
.device-mobile .stat > span:last-child { font-size: 11.5px; line-height: 1.35; }

/* ── Membership card ─────────────────────────────────────────── */
.mcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.586; padding: 20px 22px; border-radius: 22px; color: #fff; overflow: hidden; isolation: isolate;
    background: radial-gradient(120% 140% at 0% 0%, var(--plan) 0%, rgba(41, 37, 73, 0) 60%), linear-gradient(135deg, #3A3566 0%, #292549 55%, #1E1B38 100%);
    box-shadow: 0 26px 50px rgba(41, 37, 73, .35), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .5s var(--ease); }
.mcard:hover { transform: translateY(-4px) rotate(-1.2deg); }
[dir="rtl"] .mcard { background: radial-gradient(120% 140% at 100% 0%, var(--plan) 0%, rgba(41, 37, 73, 0) 60%), linear-gradient(225deg, #3A3566 0%, #292549 55%, #1E1B38 100%); }
.mcard__shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .14) 46%, transparent 60%); }
.mcard__emblem { position: absolute; z-index: -1; width: 64%; inset-inline-end: -16%; bottom: -26%; opacity: .14; }
.mcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mcard__top img { width: auto; height: 32px; }
.mcard__plan { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: 700 12px var(--display); backdrop-filter: blur(6px); }
.mcard__plan .icon { color: var(--sand); }
.mcard__chip { width: 44px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #F5E2CC, #C9A17F 60%, #E2C4AA); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.mcard__no { font: 600 14px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .2em; opacity: .85; }
.mcard__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mcard__bottom small { display: block; margin-bottom: 2px; color: rgba(255, 255, 255, .6); font-size: 11.5px; }
.mcard__bottom strong { font: 700 14px var(--display); }
.mcard__bottom > div:last-child { text-align: end; }
.device-mobile .mcard { padding: 16px 18px; border-radius: 20px; }
.device-mobile .mcard__top img { height: 26px; }

/* ── Ticket stubs ────────────────────────────────────────────── */
.tlist { display: grid; gap: 12px; }
.tstub { --notch: var(--bg); position: relative; display: flex; align-items: stretch; min-height: 104px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.card .tstub { --notch: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.tstub:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tstub::before, .tstub::after { content: ""; position: absolute; z-index: 2; inset-inline-start: 76px; width: 18px; height: 18px; border-radius: 50%; background: var(--notch); }
.tstub::before { top: -9px; }
.tstub::after { bottom: -9px; }
.tstub__date { position: relative; flex-shrink: 0; display: grid; place-content: center; width: 85px; border-start-start-radius: 20px; border-end-start-radius: 20px; background: var(--pink); color: #fff; text-align: center; }
.tstub__date::after { content: ""; position: absolute; top: 12px; bottom: 12px; inset-inline-end: -1px; border-inline-end: 2px dashed rgba(255, 255, 255, .7); }
.tstub--online .tstub__date { background: var(--lilac); }
.tstub--past .tstub__date { background: var(--paper); color: var(--muted); }
.tstub--past .tstub__date::after { border-color: rgba(41, 37, 73, .15); }
.tstub__date b { font: 800 25px/1 var(--display); }
.tstub__date small { font: 600 13px var(--display); opacity: .9; }
.tstub__body { flex: 1; min-width: 0; display: grid; align-content: center; gap: 6px; padding: 14px 18px; }
.tstub__top { display: flex; flex-wrap: wrap; gap: 6px; }
.tstub__title { overflow: hidden; color: var(--ink); font: 700 14.5px var(--display); text-overflow: ellipsis; white-space: nowrap; }
.tstub__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; }
.tstub__meta span { display: inline-flex; align-items: center; gap: 5px; }
.tstub__go { display: grid; place-items: center; padding-inline: 16px; color: var(--ink); }
.tstub--past .tstub__title { color: var(--muted); }
.device-mobile .tstub__date { width: 72px; }
.device-mobile .tstub::before, .device-mobile .tstub::after { inset-inline-start: 63px; }
.device-mobile .tstub__date b { font-size: 22.5px; }
.device-mobile .tstub__body { padding: 12px 14px; }
.device-mobile .tstub__go { padding-inline: 10px; }

/* ── Orders ──────────────────────────────────────────────────── */
.olist { display: grid; gap: 12px; }
.ocard { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.ocard__stack { position: relative; flex-shrink: 0; width: 76px; height: 66px; }
.ocard__thumb { position: absolute; top: 0; inset-inline-start: calc(var(--i) * 13px); display: grid; place-items: center; width: 48px; height: 64px; overflow: hidden; border-radius: 8px; background: var(--c); color: rgba(255, 255, 255, .85); box-shadow: 0 6px 14px rgba(41, 37, 73, .2); transform: rotate(calc((var(--i) - 1) * 6deg)); }
.ocard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ocard__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ocard__ref { color: var(--muted); font: 600 12px ui-monospace, Menlo, monospace; }
.ocard__body strong { overflow: hidden; color: var(--ink); font: 700 14.5px var(--display); text-overflow: ellipsis; white-space: nowrap; }
.ocard__meta { color: var(--muted); font-size: 13px; }
.ocard__end { display: grid; justify-items: end; gap: 8px; }
.ocard__end .money { color: var(--ink); font: 800 14.5px var(--display); }
.device-mobile .ocard { flex-wrap: wrap; gap: 12px; padding: 14px; }
.device-mobile .ocard__end { width: 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }

.odetail { display: grid; gap: 22px; }
.odetail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.odetail__ref { margin: 6px 0 2px; font-size: 20px; }
.odetail__head p { margin: 0; }
.otrack { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; }
.otrack__step { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--muted); font: 600 13px/1.3 var(--display); text-align: center; }
.otrack__step::before { content: ""; position: absolute; top: 15px; inset-inline-end: 50%; width: 100%; height: 3px; background: var(--paper); }
.otrack__step:first-child::before { display: none; }
.otrack__step.is-done::before { background: var(--pink); }
.otrack__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: transparent; transition: box-shadow .3s; }
.otrack__step.is-done { color: var(--ink); }
.otrack__step.is-done .otrack__dot { background: var(--pink); color: #fff; }
.otrack__step.is-now .otrack__dot { box-shadow: 0 0 0 6px var(--pink-soft); }
.oitems { list-style: none; margin: 0; padding: 0; }
.oitems li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.oitems li:first-child { padding-top: 0; }
.oitems__thumb { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 60px; overflow: hidden; border-radius: 8px; background: var(--c); color: rgba(255, 255, 255, .85); }
.oitems__thumb img { width: 100%; height: 100%; object-fit: cover; }
.oitems__name { flex: 1; min-width: 0; display: grid; }
.oitems__name strong { color: var(--ink); font: 700 14px var(--display); }
.oitems__name small { color: var(--muted); font-size: 13px; }
.oitems .money { font: 700 14px var(--display); }
.osum { display: grid; gap: 8px; margin: 0; }
.osum div { display: flex; justify-content: space-between; gap: 12px; }
.osum dt { color: var(--muted); }
.osum dd { margin: 0; font-weight: 600; }
.osum__save dd { color: var(--ok); }
.osum__total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.osum__total dt { color: var(--ink); font: 700 14.5px var(--display); }
.osum__total dd { font: 800 17.5px var(--display); }
.ofulfil { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--paper); }
.ofulfil__ic { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; background: #fff; color: var(--pink); }
.ofulfil strong { display: block; color: var(--ink); font: 700 14px var(--display); }
.ofulfil span { color: var(--muted); font-size: 13.5px; }
.onote { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; }
.oresult { display: flex; align-items: center; gap: 18px; }
.oresult h3 { font-size: 17px; margin-bottom: 4px; }
.oresult p { margin: 0; color: var(--muted); }
.oresult__badge { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 66px; height: 66px; border-radius: 22px; background: var(--ok); color: #fff; transform: rotate(-6deg); }
.oresult__badge .star { position: absolute; color: var(--pink); top: -10px; inset-inline-end: -10px; }
.oresult__badge .star + .star { top: auto; bottom: -6px; inset-inline-end: auto; inset-inline-start: -10px; color: var(--sand); }
.device-mobile .otrack__step { font-size: 11.5px; }
.device-mobile .oresult { flex-direction: column; text-align: center; }

/* ── Membership page ─────────────────────────────────────────── */
.mship { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.kv { display: grid; gap: 12px; margin: 0 0 18px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font: 700 14px var(--display); text-align: end; }
.perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; }
.perks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; }
.perks li span { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; border-radius: 8px; background: var(--pink-soft); color: var(--pink); }
.mship__none h3 { margin: 16px 0 8px; color: #fff; font-size: 22px; }
.mship__none p { color: rgba(255, 255, 255, .72); }
.mship__plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 6px 0 20px; }
.mship__plan { display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); border-inline-start: 4px solid var(--plan); transition: background .2s; }
.mship__plan:hover { background: rgba(255, 255, 255, .14); }
.mship__plan strong { color: #fff; font: 700 14px var(--display); }
.mship__plan span { color: var(--sand); font: 800 16px var(--display); }
.mship__plan small { color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 600; }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hist li:last-child { border-bottom: 0; }
.hist__main { display: grid; min-width: 0; }
.hist__main strong { color: var(--ink); font: 700 14px var(--display); }
.hist__main small { color: var(--muted); font-size: 13px; }
.hist__end { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font: 700 13.5px var(--display); }
.device-mobile .mship { grid-template-columns: minmax(0, 1fr); }
.device-mobile .perks { grid-template-columns: 1fr; }
.device-mobile .hist li { flex-wrap: wrap; }

/* ── Profile ─────────────────────────────────────────────────── */
.prof { gap: 24px; }
.prof__avatar { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.prof__avatar strong { color: var(--ink); font: 700 14px var(--display); }
.prof__preview { box-shadow: 0 12px 26px rgba(41, 37, 73, .2); transition: background .3s; }
.prof__group { display: grid; gap: 16px; }
.prof__group .acc__sub { margin-bottom: 0; }
.prof__save { display: flex; justify-content: flex-end; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: transparent; transition: box-shadow .2s, transform .2s; }
.swatch:hover span { transform: scale(1.08); }
.swatch input:checked + span { color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.swatch input:focus-visible + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pink); }
.gchips { display: flex; flex-wrap: wrap; gap: 8px; }
.gchip { position: relative; cursor: pointer; }
.gchip input { position: absolute; opacity: 0; }
.gchip span { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 13.5px var(--display); transition: background .2s, color .2s; }
.gchip .icon { display: none; }
.gchip input:checked + span { background: var(--ink); color: #fff; }
.gchip input:checked + span .icon { display: inline-block; color: var(--sand); }
.gchip input:focus-visible + span { box-shadow: 0 0 0 3px var(--pink-soft); }
.device-mobile .prof__avatar { flex-direction: column; text-align: center; }
.device-mobile .swatches { justify-content: center; }
.device-mobile .prof__save .btn { width: 100%; }

/* ── Settings ────────────────────────────────────────────────── */
.set { display: grid; gap: 18px; }
.set__head { display: flex; align-items: flex-start; gap: 14px; }
.set__ic { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--pink-soft); color: var(--pink); }
.set__head h3 { font-size: 16px; }
.set__head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.set__current { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-weight: 600; }
.set .seg { max-width: 340px; }
.device-mobile .set .btn { width: 100%; }

/* ── Wallet ──────────────────────────────────────────────────── */
.wcard { position: relative; display: grid; justify-items: start; gap: 6px; padding: 26px; border-radius: 24px; }
.wcard__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: var(--sand); }
.wcard__label { color: rgba(255, 255, 255, .7); font: 600 13.5px var(--display); }
.wcard__amount { color: #fff; font: 800 34px/1.1 var(--display); }
.wcard p { max-width: 520px; margin: 6px 0 12px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.wlist { list-style: none; margin: 0; padding: 0; }
.wlist__row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; }
.wlist__row + .wlist__row { border-top: 1px solid var(--line); }
.wlist__ic { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; background: var(--paper); color: var(--muted); }
.wlist__ic.is-in { background: var(--ok-soft); color: var(--ok); }
.wlist__main { flex: 1; min-width: 0; display: grid; }
.wlist__main strong { color: var(--ink); font: 700 14px var(--display); }
.wlist__main small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wlist__amt { color: var(--ink); font: 800 15px var(--display); white-space: nowrap; }
.wlist__amt.is-in { color: var(--ok); }
.device-mobile .wcard { padding: 20px; }
.device-mobile .wcard__amount { font-size: 28px; }
