/* T-Bank home for iOS Safari: layout only, no TUI compositor traps. */
html,body{
  margin:0;
  background:#121212;
  color:#F6F7F8;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Roboto,"Helvetica Neue",sans-serif;
  -webkit-text-size-adjust:100%;
}
html{background:#121212;}
body{max-width:430px;margin:0 auto;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;}
[hidden],.sf-hidden{display:none!important;}
canvas,[data-qa-type="atom-sensitive__canvas"]{display:none!important;}
.abhgu7SGd{display:none!important;}
[data-style-layer=actions],.cbhoP-xKB{display:none!important;}

.application,
[data-qa-type="independent-general-ib-layout"],
[data-qa-type="mobile-ib-container"]{
  background:#121212;
  color:#F6F7F8;
}
[data-qa-type="mobile-ib-container"]{
  padding:0 16px 110px;
  box-sizing:border-box;
}

/* Header */
[data-qa-type="mobile-ib-app-bar-header"]{padding:8px 0 4px;}
[data-qa-type="mobile-homer-person-title"]{display:block;}
[data-qa-type="mobile-homer-person-title"] > div,
.bb1fi7ohb{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
}
[data-qa-type="mobile-homer-person-title-inner"]{
  display:flex;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
  width:auto;
}
.hb1fi7ohb{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.fb9sctw2x,.ab9sctw2x,.hb9sctw2x{
  width:36px;height:36px;flex:none;
}
[data-qa-type="mobile-homer-person-title-avatar-letter"]{
  width:36px;height:36px;border-radius:50%;
  background:#3A3A3C;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:600;flex:none;
}
[data-qa-type="mobile-homer-person-title-text"]{
  margin:0;font-size:22px;font-weight:700;letter-spacing:-.02em;
  display:flex;align-items:center;gap:4px;
}
[data-qa-type="mobile-homer-person-title-link"]{
  display:inline-flex;align-items:center;gap:4px;
}
[data-qa-type="mobile-homer-person-title-invite-friend-link"]{
  width:36px;height:36px;border-radius:50%;overflow:hidden;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(201.68deg,#7D2AFE 8.69%,#8418E4 91.55%);
}
[data-qa-type="mobile-homer-person-title-invite-friend-link"] svg{
  width:20px;height:20px;color:#fff;
}
[data-qa-type="mobile-homer-person-title-text"] [data-tui=icon] svg{
  width:16px;height:16px;
}

/* Search */
[data-qa-type="mobile-ib-search-preview"]{margin:8px 0 12px;}
[data-qa-type="mobile-ib-search-preview-searchPreview"]{
  background:#1C1C1E;border-radius:14px;padding:0 12px;height:44px;
  display:flex;align-items:center;overflow:hidden;
}
[data-qa-type="mobile-ib-search-preview-searchPreview.inputbox"]{
  display:grid;
  grid-template-columns:32px 1fr;
  align-items:center;
  width:100%;
  column-gap:8px;
}
[data-qa-type="mobile-ib-search-preview-searchPreview.inputbox.accessories"]{
  grid-column:1;
  grid-row:1;
  display:flex;
  align-items:center;
}
[data-qa-type="mobile-ib-search-preview-searchPreview.inputbox.input"]{
  grid-column:2;
  grid-row:1;
  border:0;background:transparent;color:#F6F7F8;font-size:15px;width:100%;outline:none;
}
[data-qa-type="mobile-ib-search-preview-searchPreview.inputbox.input"]::placeholder{color:#8E8E93;}
[data-qa-type="mobile-ib-search-preview-searchPreview.icon-search"] svg{width:24px;height:24px;color:#8E8E93;}

/* Spending */
[data-qa-type="mobile-pumba-payment-history"]{margin:0 0 12px;}
[data-qa-type="mobile-pumba-payment-history"] [data-qa-type="click-area"],
[data-qa-type="mobile-pumba-payment-history"] [data-appearance=elevated]{
  background:#1C1C1E;border-radius:20px;padding:12px 16px;display:block;
}

/* Cashback */
[data-qa-type="mobile-bonuses-entrypoint"]{margin:0 0 12px;}
[data-qa-type="mobile-bonuses-entrypoint-block"]{
  width:100%;border:0;background:transparent;padding:0;text-align:left;
}
[data-qa-type="atom-panel"],
[data-qa-type="mobile-bonuses-entrypoint"] [data-appearance=elevated]{
  background:#1C1C1E;border-radius:20px;padding:12px 16px;
}
[data-qa-type="atom-panel-title-text"] h3,
[data-qa-type="tui/typography"]{
  margin:0 8px 8px 0;font-size:17px;font-weight:700;color:#fff;
}
[data-qa-type="tui/header.wrapper"]{display:flex;align-items:center;justify-content:space-between;}
[data-qa-type="tui/badge-notification"]{
  min-width:18px;height:18px;padding:0 5px;border-radius:9px;
  background:#F53D5C;color:#fff;font-size:11px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;
}
[data-qa-type="mobile-bonuses-entrypoint-list"]{display:none;}
[data-qa-type="mobile-bonuses-entrypoint-list"] img{
  width:36px;height:36px;border-radius:12px;object-fit:cover;display:block;
}

/* Pay buttons */
[data-qa-type="mobile-fry-pay-buttons"]{margin:4px 0 10px;}
[data-qa-type="mobile-fry-pay-buttons"] > div{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
}
[data-qa-type="mobile-fry-pay-buttons"] a{
  background:#1C1C1E;border-radius:16px;padding:8px 6px 8px;
  text-align:center;min-height:72px;box-sizing:border-box;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
}
[data-qa-type="mobile-fry-pay-buttons"] svg.fbU8hbInJ{display:none!important;}
[data-qa-type="mobile-fry-pay-buttons"] [data-tui=icon] svg,
[data-qa-type="mobile-fry-pay-buttons"] [data-qa-type="uikit/icon.content"] svg{
  width:28px;height:28px;display:block;
}
[data-qa-type="mobile-fry-pay-buttons"] [data-qa-type="uikit/icon.content"]{
  width:28px!important;height:28px!important;
}
[data-qa-type="mobile-fry-pay-buttons"] span[style*="nowrap"]{
  display:block;font-size:11px;font-weight:600;line-height:14px;color:#fff;
}

/* Account card */
[data-qa-type="independent-homer-product-widget"],
[data-qa-type="independent-homer-product-full-async"],
[data-qa-type="molecule-product-widgets"],
[data-qa-type="visible-items"],
[data-qa-type="widgetWrapper"],
[data-qa-type="tui/swipe-actions"],
[data-qa-type="tui/swipe-actions.face"],
[data-qa-type="independent-homer-debit-widget"]{
  display:block !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  width:100% !important;
}
[data-qa-type="molecule-product-widgets"] ul,
[data-qa-type="visible-items"]{
  list-style:none;margin:0;padding:0;
  display:block !important;
}
[data-qa-type="molecule-account-cardLarge"],
[data-qa-type="independent-homer-debit-widget"] [data-appearance=elevated]{
  background:#2A2A2E;border-radius:24px;padding:14px 16px;color:#fff;
  min-height:200px;box-sizing:border-box;overflow:visible !important;
}
[data-qa-type="molecule-account-headerLine"]{
  display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap;
}
[data-qa-type="molecule-account-headerLine"] a{display:flex;align-items:center;gap:8px;min-width:0;flex:1;}
.jbDqw3kkb,.ablbkpKl3{display:inline-flex;align-items:center;flex:none;}
[data-qa-type="tui/badge"]{
  display:inline-flex !important;align-items:center;gap:4px;
  padding:2px 8px !important;border-radius:8px;font-size:12px;font-weight:600;
  background:linear-gradient(45deg,#333,#5c5c5c);vertical-align:middle;
  width:auto !important;height:22px !important;max-height:22px !important;
  overflow:hidden;box-sizing:border-box;
}
[data-qa-type="molecule-account-cardLarge"] > .abDqw3kkb,
.abDqw3kkb{display:flex;align-items:flex-start;}
.fbDqw3kkb{
  display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0;
}
.abBnN36nU,.bbBnN36nU,.cbBnN36nU,.abq_ewn2Q,.bbq_ewn2Q,.cbq_ewn2Q,
.abYfoNpPB{
  display:block !important;
  height:auto !important;
  overflow:visible !important;
  position:relative !important;
  min-height:34px;
}
[data-qa-type="replenish-text"],.abCFABHTV{
  display:block !important;
  height:auto !important;
  overflow:visible !important;
  position:relative !important;
}
.bbDqw3kkb{flex:none;width:40px;height:40px;margin-right:16px;}
.bbDqw3kkb [data-tui=icon]{width:40px;height:40px;display:flex;align-items:center;justify-content:center;position:relative;}
.bbDqw3kkb [data-tui=icon] svg{width:24px;height:24px;color:#fff;position:relative;z-index:1;}
.bb-iVKb1M{display:none;}
.bbDqw3kkb .bb-iVKb1M{
  display:block !important;
  position:absolute;inset:0;border-radius:50%;background:#428BF9;
}
.cbDqw3kkb{flex:1;min-width:0;}
[data-qa-type="molecule-account-title"] > [data-qa-type="atom-sensitive"],
[data-qa-type="molecule-account-title"] [data-qa-type="atom-sensitive__text"]{
  font-size:21px;font-weight:700;color:#fff;line-height:26px;
}
[data-qa-type="molecule-account-badge-text"],
[data-qa-type="tui/badge"] [data-qa-type="atom-sensitive__text"]{
  font-size:12px !important;font-weight:600;line-height:16px !important;
}
[data-qa-type="molecule-account-subtitle"],
.gbDqw3kkb{color:#9299A2;font-size:13px;margin-top:4px;}
[data-qa-type="tui/badge"]{
  display:inline-flex;align-items:center;gap:4px;margin-left:8px;
  padding:2px 8px;border-radius:8px;font-size:12px;font-weight:600;
  background:linear-gradient(45deg,#333,#5c5c5c);vertical-align:middle;
}
[data-qa-type="tui/badge"] svg,
[data-qa-type="tui/badge"] [data-qa-type="uikit/icon.content"],
[data-qa-type="molecule-account-badge-icon"],
[data-qa-type="molecule-account-badge-icon"] [data-qa-type="uikit/icon.content"]{
  width:12px !important;height:12px !important;max-width:12px !important;max-height:12px !important;
}

[data-qa-type="molecule-account-cardScroll"],
[data-qa-type="molecule-account-cardScroll.scroll"]{margin-top:8px;}
[data-qa-type="tui/thumbnail-card"],
.fbCNR8Fwm{
  position:relative;display:block;width:52px;height:34px;
  border-radius:6px;overflow:hidden;background:#1c1c1b;
}
[data-qa-type="tui/thumbnail-card"] img,
.abIv6Mduy{width:100%;height:100%;object-fit:cover;display:block;}
#tbank-card-number-overlay,
.cbCNR8Fwm{
  position:absolute;left:4px;bottom:3px;
  font-size:10px;font-weight:600;letter-spacing:.2px;color:#fff;
  line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.9);white-space:nowrap;
}

[data-qa-type="replenish-text"]{margin-top:10px;}
[data-qa-type="tui/notification"]{
  display:flex;align-items:center;gap:12px;
  padding:10px 12px 10px 12px;border-radius:12px;
  background:rgba(66,139,249,.16);color:#fff;
}
[data-qa-type="tui/notification"] a{color:#fff;font-size:15px;font-weight:500;}
[data-qa-type="tui/notification-icon-left"] svg{width:24px;height:24px;}
[data-qa-type="tui/notification-icon-right"] svg{width:7px;height:16px;}

/* Teasers */
[data-qa-type="mobile-ib-teaser-gallery"]{margin:16px -16px 8px;padding:0 16px;}
[data-qa-type="mobile-ib-teaser-gallery-cards-wrap"]{
  display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding-bottom:8px;
}
[data-qa-type^="mobile-ib-teaser-gallery-card-item"]{
  flex:0 0 148px;height:118px;border-radius:16px;overflow:hidden;
  position:relative;background:#1C1C1E;
}
[data-qa-type^="mobile-ib-teaser-gallery-card-item"] img{
  position:absolute;right:0;bottom:0;width:auto;height:78px;object-fit:contain;
}
[data-qa-type^="mobile-ib-teaser-gallery-card-item"] h2{
  position:relative;z-index:1;margin:12px;font-size:15px;font-weight:700;max-width:90%;
}

/* House / auto / shopping — compact cards, no carousel chrome */
[data-qa-type="mobile-myauto-spheres-entrypoint"]{margin:18px 0 8px;}
[data-qa-type="mobile-myauto-spheres-entrypoint-header"] h1,
[data-qa-type="mobile-general-ib-header-title"]{
  font-size:22px;font-weight:700;margin:0 0 12px;
}
[data-qa-type="mobile-myauto-spheres-entrypoint-box"]{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
}
.sphere,[data-qa-type$="_sphere"]{
  background:#1C1C1E;border-radius:16px;overflow:hidden;min-height:118px;position:relative;
}
[data-qa-type="mobile-myauto-spheres-entrypoint-home-image"] img,
[data-qa-type="mobile-myauto-spheres-entrypoint-auto-image"] img{
  width:100%;height:80px;object-fit:cover;display:block;
}
[data-qa-type="molecule-sphere-entrypoint-entity-entityAction"]{
  display:inline-flex;align-items:center;gap:4px;margin:8px 10px 10px;
  background:#ffffff1a;border-radius:14px;padding:6px 10px;font-size:13px;font-weight:600;
}
[data-qa-type="molecule-sphere-entrypoint-entity-entityAction"] svg{width:16px;height:16px;}
[data-qa-type="atom-carousel__carousel-ul"]{list-style:none;margin:0;padding:0;}
[data-qa-type="mobile-shopping-sphere-entrypoint-banner"]{
  background:#1C1C1E;border-radius:20px;overflow:hidden;margin:8px 0 16px;
}
[data-qa-type="mobile-shopping-sphere-entrypoint-banner"] img{
  width:100%;height:120px;object-fit:cover;display:block;
}
[data-qa-type="molecule-sphere-entrypoint-offers-offer-0-title.line"]{
  display:block;font-size:18px;font-weight:700;padding:12px 16px 0;
}
[data-qa-type="molecule-sphere-entrypoint-offers-offer-0-subtitle.line"]{
  display:block;font-size:14px;color:#9299A2;padding:4px 16px 12px;
}

/* Default icon cap so leftover SVGs cannot explode */
[data-tui=icon]{display:inline-flex;align-items:center;justify-content:center;}
[data-qa-type="uikit/icon.content"] svg{max-width:28px;max-height:28px;}
