.phone-stage { background: #fff; }
.phone-screen { position: relative; }
.phone-device {
  border-color: #514858;
  background: #080708;
  box-shadow: 0 0 0 1px #28242b, inset 0 0 0 2px #69616e, 0 17px 44px #22202920;
}
.phone-status, .mini-bar-wrap, .bank-topbar, .bank-screen, .bank-sheet-screen { background: #050505; }
.bank-screen, .bank-sheet-screen, .bank-topbar { --bank-pad: clamp(13px, 4.7vw, 20px); }
.bank-screen .phone-status, .bank-sheet-screen .phone-status { flex-basis: 51px; }
.bank-screen .phone-scroll, .bank-sheet-screen .phone-scroll { border-radius: 30px 30px 0 0; scrollbar-width: none; }
.bank-screen .phone-bottom, .bank-sheet-screen .phone-bottom { position: absolute; z-index: 3; inset: auto 0 0; height: 24px; background: transparent; pointer-events: none; }
.bank-screen .phone-bottom span, .bank-sheet-screen .phone-bottom span { width: 34%; height: 5px; background: #18181b; }

@supports (transform: scale(calc(100dvh / 892px))) {
  @media (min-width: 521px) {
    .phone-stage { display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .phone-device { flex: 0 0 430px; height: 892px; transform: scale(min(1, calc((100dvh - 32px) / 892px))); }
  }
}

.bank-topbar { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 9px; min-height: 86px; padding: 10px var(--bank-pad) 16px; color: #fff; }
.bank-topbar a { flex: 0 0 auto; }
.bank-topbar a:focus-visible, .bank-assistant:focus-visible { outline-color: #fca3ce; }
.bank-tools { display: flex; align-items: center; gap: 8px; }
.bank-profile { position: relative; display: flex; align-items: center; min-width: 66px; min-height: 48px; }
.bank-profile img { position: relative; width: 47px; height: 47px; border-radius: 50%; }
.profile-pearl { position: absolute; right: 0; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(ellipse at 65% 24%, #fff 6%, transparent 60%), linear-gradient(180deg, #b9d9f5 8%, #a9a1c1 45%, #fff 64%, #dce8ff 79%, #8ea2ba 100%); }
.bank-perks, .bank-tool { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; }
.bank-perks { gap: 4px; padding: 0 12px; background: #f62e20; font-size: 17px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bank-perks img { width: 24px; height: 20px; object-fit: contain; border-radius: 5px; }
.bank-tool { width: 46px; background: #202022; }
.bank-tool:hover { background: #303034; }
.bank-perks:hover { background: #d9271c; }

.bank-main { padding: 0 0 28px; background: #fbfbfb; }
.bank-main h2, .bank-sheet h1, .bank-sheet h2 { font-family: inherit; letter-spacing: -.025em; }
.bank-money { padding: 16px var(--bank-pad) 22px; background: linear-gradient(#fcfcfc 39%, #f8f8f8); }
.bank-section-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.bank-section-header h2 { font-size: 24px; line-height: 1.1; }
.bank-section-header h2 a { display: inline-flex; align-items: center; gap: 3px; min-height: 44px; }
.invite-pill { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 11px; border-radius: 20px; color: #1b2e00; background: #adf000; font-size: 14px; font-weight: 700; white-space: nowrap; }
.invite-pill img { width: 19px; height: 21px; object-fit: contain; border-radius: 4px; }
.account-rail { display: flex; overflow-x: auto; margin-top: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.account-card { display: grid; justify-items: center; align-content: center; flex: 0 0 100%; min-width: 0; min-height: 129px; padding: 6px 0; scroll-snap-align: start; text-align: center; }
.account-type { display: flex; align-items: center; justify-content: center; gap: 9px; color: #69696e; font-size: 14px; }
.account-symbol { display: grid; place-items: center; width: 27px; height: 20px; border-radius: 4px; color: #fff; background: #657382; }
.salary-symbol { background: #f32f25; }
.salary-symbol svg { display: none; }
.salary-symbol::after { content: ''; justify-self: end; align-self: end; width: 6px; height: 2px; margin: 0 4px 4px 0; border-radius: 2px; background: #fff; }
.account-card > strong { margin-top: 12px; color: #040404; font-size: 44px; line-height: 1.05; letter-spacing: -.038em; font-variant-numeric: tabular-nums; }
.account-cashback { display: inline-flex; align-items: center; gap: 3px; min-height: 32px; margin-top: 8px; color: #626268; font-size: 14px; }
.account-cashback:hover { color: #242426; }
.account-controls { display: flex; justify-content: center; align-items: center; margin: 3px 0 4px; }
.account-controls button { display: grid; place-items: center; width: 21px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; }
.account-controls button::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #b7b7b9; }
.account-controls button[aria-pressed="true"]::after, .account-controls button:hover::after { background: #202023; }
.money-promo { position: relative; width: min(82%, 274px); min-height: 73px; margin: 7px auto 0; border-radius: 23px; background: #fff; box-shadow: 0 4px 21px #26253809; }
.money-promo a { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 73px; padding: 7px 35px; border-radius: inherit; text-align: center; }
.money-promo a span { color: #69696e; font-size: 14px; }
.money-promo a strong { font-size: 20px; line-height: 1.14; }
.money-promo button { position: absolute; inset: 50% 5px auto auto; display: grid; place-items: center; width: 36px; height: 44px; border: 0; border-radius: 14px; color: #6c6c71; background: transparent; translate: 0 -50%; }
.money-promo button:hover { color: #27272b; }
.money-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(60px, 1.24fr); gap: 5px; margin-top: 24px; }
.money-shortcuts a { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; border-radius: 999px; background: #fff; box-shadow: 0 3px 13px #26253809; font-size: 14px; font-weight: 700; }
.money-shortcuts a:hover, .bank-nav a:hover { background: #efeff1; }
.money-shortcuts a:last-child svg { box-sizing: content-box; width: 17px; height: 17px; padding: 4px; border-radius: 50%; color: #74747c; background: #eeeef0; }
.money-shortcuts a:nth-child(4) svg { color: #21705f; }
.bank-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; min-height: 71px; margin-top: 14px; padding: 4px; border-radius: 24px; background: #fff; box-shadow: 0 4px 16px #26253809; }
.bank-nav a { display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 56px; padding: 3px 0; border-radius: 17px; font-size: 13px; font-weight: 700; }

.bank-stack { display: grid; }
.stack-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; min-height: 86px; padding: 15px var(--bank-pad) 30px; border-radius: 28px 28px 0 0; }
.stack-card + .stack-card { margin-top: -14px; }
.stack-card > strong, .stack-course-copy strong { margin-top: 4px; font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.stack-card > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; max-width: 48%; min-height: 35px; padding: 4px 11px; border-radius: 20px; background: #ffffff6b; font-size: 14px; line-height: 1.08; font-weight: 700; }
.stack-card:hover > span { background: #ffffffb8; }
.stack-card:focus-visible { outline-offset: -4px; }
.stack-investment { background: #b3ee89; }
.stack-fuel { background: #e9c4f5; }
.stack-travel { background: #b8adff; }
.stack-courses { position: relative; isolation: isolate; overflow: hidden; min-height: 117px; padding-bottom: 22px; border-radius: 28px 28px 0 0; background: #ffc2b8; }
.stack-courses img { position: absolute; z-index: -1; right: 9px; bottom: -50px; width: 153px; height: 171px; object-fit: contain; pointer-events: none; }
.stack-course-copy { display: grid; gap: 6px; max-width: 66%; }
.stack-course-copy small { color: #521e1d; font-size: 13px; line-height: 1.24; }
.bank-assistant { position: absolute; z-index: 4; right: var(--bank-pad); bottom: 41px; display: grid; place-items: center; width: 59px; height: 59px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 30% 15%, #ff75c4, #fd286e 48%, #f80825 77%, #db1026); box-shadow: inset 0 1px 3px #fff9, 0 7px 16px #c7114e36; }
.bank-assistant:hover { filter: brightness(1.07); }

.bank-discover { display: grid; gap: 23px; padding: 19px 0 9px; border-radius: 26px 26px 0 0; background: #fbfbfb; }
.bank-collection { min-width: 0; }
.bank-collection h2 { margin: 0 var(--bank-pad) 9px; font-size: 19px; line-height: 1.2; }
.bank-collection h2 a { display: inline-flex; align-items: center; gap: 2px; min-height: 28px; }
.bank-rail { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--bank-pad) 4px; scroll-padding-inline: var(--bank-pad); scroll-snap-type: x proximity; scrollbar-width: none; }
.bank-promo-card { position: relative; display: grid; align-content: start; gap: 4px; flex: 0 0 121px; min-height: 122px; overflow: hidden; padding: 12px; border-radius: 17px; scroll-snap-align: start; font-size: 15px; line-height: 1.16; }
.bank-promo-card small { font-size: 12px; line-height: 1.25; }
.bank-promo-card img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.bank-promo-card.peach, .benefit-card.peach { background: #fbd0c7; color: #44231b; }
.bank-promo-card.lime, .benefit-card.lime { background: #c7f4aa; color: #243616; }
.bank-promo-card.lilac, .benefit-card.lilac { background: #e1c5f5; color: #302249; }
.bank-promo-card.blue { background: #cddcff; color: #272a54; }
.bank-promo-card.neutral { background: #eeeff1; color: #2e3037; }

.bank-sheet { display: flex; flex-direction: column; min-height: 100%; padding: 0 0 28px; background: #fcfcfc; }
.bank-sheet-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 70px; padding: 13px var(--bank-pad) 4px; background: #fcfcfc; }
.sheet-grip { position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; border-radius: 6px; background: #cdced2; translate: -50%; }
.bank-sheet-head h1 { font-size: 24px; line-height: 1.1; }
.bank-sheet-head > a { display: grid; place-items: center; width: 44px; min-height: 44px; border-radius: 50%; background: #f0f0f1; }
.bank-sheet-head > a:hover { background: #e7e7eb; }
.bank-sheet-body { flex: 1 1 auto; min-width: 0; }
.bank-stub { margin: 16px var(--bank-pad); color: #626268; }
.bank-sheet-body button { color: inherit; }

.benefit-offers { margin-top: 4px; }
.benefit-card { position: relative; isolation: isolate; display: flex; flex-direction: column; flex: 0 0 156px; min-height: 212px; padding: 16px 11px 9px; overflow: hidden; border-radius: 24px; scroll-snap-align: start; }
.benefit-card.lime { background: linear-gradient(#bcffdc, #42ed96); }
.benefit-card.lilac { background: linear-gradient(#d0c4fa, #9c87ee); }
.benefit-card h2 { font-size: 18px; line-height: 1.14; }
.benefit-card p { margin: 6px 0 auto; font-size: 14px; }
.benefit-card img { position: absolute; z-index: -1; inset: auto 0 29px; width: 100%; height: 80px; object-fit: cover; mask-image: linear-gradient(transparent, #000 14%); }
.benefit-card button { min-height: 37px; border: 0; border-radius: 999px; background: #fff; font-weight: 700; }
.benefit-card button:hover { background: #eff0f2; }
.benefit-balance { display: grid; justify-items: center; gap: 9px; padding: 20px var(--bank-pad) 26px; text-align: center; }
.benefit-balance p { color: #66666a; font-size: 14px; }
.benefit-balance strong { display: flex; align-items: center; gap: 4px; color: #141417; font-size: 43px; line-height: 1.04; letter-spacing: -.035em; }
.benefit-balance strong svg:first-child { color: #ed3026; }
.benefit-balance strong svg:last-child { color: #75757d; }
.benefit-balance > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: min(100%, 285px); margin-top: 6px; }
.benefit-balance button { display: grid; gap: 2px; padding: 10px 8px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 4px 15px #20202c0c; font-size: 13px; }
.benefit-balance button b { font-size: 15px; }

.travel-cover { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 295px; aspect-ratio: 1.07; margin: 4px var(--bank-pad) 0; overflow: hidden; border-radius: 24px; color: #fff; background: #274834; text-align: center; }
.travel-cover img, .travel-cover::after { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.travel-cover::after { content: ''; background: linear-gradient(transparent 42%, #141e12bc); }
.travel-cover > div { padding: 21px 8px; }
.travel-cover h2 { font-size: 24px; }
.travel-cover p { margin: 4px 0 16px; font-size: 14px; }
.travel-cover button { min-height: 40px; padding: 0 17px; border: 0; border-radius: 999px; background: #3d493a; font-weight: 700; }
.travel-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 17px var(--bank-pad); }
.travel-modes button { display: grid; justify-items: center; gap: 5px; padding: 0; border: 0; background: transparent; font-size: 13px; }
.travel-modes button > span { display: grid; place-items: center; width: 100%; max-width: 69px; aspect-ratio: 1; overflow: hidden; border-radius: 20px; color: #ea3526; background: #eeeef1; }
.travel-modes button img { width: 100%; height: 100%; object-fit: contain; }
.travel-modes button small { color: #626268; }
.travel-history { margin: 7px var(--bank-pad) 12px; font-size: 20px; }
.travel-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(75%, 282px); margin: 0 auto; padding: 5px; border-radius: 26px; background: #fff; box-shadow: 0 6px 21px #14142719; }
.travel-nav button { display: grid; place-items: center; gap: 4px; min-height: 44px; padding: 4px 0; border: 0; border-radius: 21px; color: #65656e; background: transparent; font-size: 11px; }
.travel-nav button:first-child { color: #19191f; background: #f2f2f3; }

.show-cover { position: relative; isolation: isolate; display: grid; align-items: end; margin: 4px var(--bank-pad) 0; aspect-ratio: .89; overflow: hidden; padding: 15px; border-radius: 22px; background: #f1eef0; }
.show-cover img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.show-cover button { justify-self: center; display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 13px; border: 0; border-radius: 999px; color: #fff; background: #db2d23; font-weight: 700; }
.show-dots { display: flex; justify-content: center; gap: 5px; margin: 12px 0 19px; }
.show-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d6d6da; }
.show-dots i:first-child { background: #19191f; }
.show-collection + .show-collection { margin-top: 18px; }
.show-collection button { display: grid; gap: 6px; flex: 0 0 44%; align-content: start; padding: 0; border: 0; background: transparent; text-align: start; scroll-snap-align: start; }
.show-collection button img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.show-collection button strong { font-size: 13px; line-height: 1.25; }

.assistant-screen .bank-sheet { padding-bottom: 0; }
.assistant-sheet-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; }
.assistant-sheet-head h1 { font-size: 18px; text-align: center; }
.assistant-sheet-head > .assistant-orb { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 30% 15%, #ff75c4, #fd286e 48%, #f80825 77%, #db1026); }
.bank-panel-assistant { display: flex; flex-direction: column; min-height: 490px; padding: 0 var(--bank-pad) 30px; background: radial-gradient(ellipse at 27% 88%, #fb6f8f 18%, transparent 61%), linear-gradient(#fcfcfc 4%, #ebe1f6 25%, #d583eb 57%, #d63fe8); }
.assistant-start { flex: 1 1 auto; display: grid; align-content: start; justify-items: center; text-align: center; }
.assistant-start > p { margin: 11px 0; color: #853da0; font-size: 13px; }
.assistant-start > div { display: grid; justify-items: center; gap: 8px; margin: clamp(38px, 14vh, 116px) 0 24px; }
.assistant-start h2 { margin-bottom: 10px; font-size: 26px; }
.assistant-start button { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 13px; border: 0; border-radius: 999px; background: #fdf0f9d8; font-size: 14px; text-align: left; }
.assistant-start button svg { color: #7823a6; }
.assistant-entry { display: grid; grid-template-columns: 43px minmax(0, 1fr) 43px; gap: 6px; margin-top: auto; }
.assistant-entry > * { min-height: 43px; border: 0; border-radius: 999px; background: #fff; }
.assistant-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 0 11px; }
.assistant-input input { min-width: 0; min-height: 39px; padding: 0; border: 0; border-radius: 9px; background: transparent; }
.assistant-input input:focus-visible { outline-offset: 0; }

@media (max-width: 360px) {
  .bank-tools { gap: 5px; }
  .account-card > strong { font-size: 37px; }
  .account-type, .account-cashback { font-size: 13px; }
  .stack-card > strong, .stack-course-copy strong { font-size: 21px; }
  .stack-card > span { padding: 4px 9px; font-size: 12px; }
  .bank-nav a { font-size: 11px; }
}

.course-bank .bank-topbar { min-height: 61px; padding-block: 1px 9px; }
.course-bank .bank-profile { min-height: 44px; min-width: 61px; }
.course-bank .bank-profile img { width: 40px; height: 40px; }
.course-bank .bank-tool, .course-bank .bank-perks { min-height: 44px; }
.course-bank .bank-tool { width: 44px; }
.course-bank .course-sheet-head {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  min-height: 58px;
  padding: 10px var(--bank-pad) 3px;
  border-radius: 28px 28px 0 0;
  border-bottom: 1px solid #efeff1;
  background: #fcfcfc;
  text-align: center;
}
.course-sheet-head h1, .course-sheet-title { font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.course-bank .phone-scroll { border-radius: 0; background: #fcfcfc; }
.course-bank .phone-bottom { position: static; flex-basis: 19px; height: auto; background: #fcfcfc; }
.course-bank :focus-visible { outline-color: #bd251e; }
