/* Card promotion: the supplied campaign layout, using the Stockback message. */
.sb-home-banner{position:relative;display:block;isolation:isolate;aspect-ratio:2.86;min-height:126px;padding:0;border:1px solid #fff;border-radius:12px;background:linear-gradient(110deg,#fffefa 10%,#fff9e7 63%,#fff2c8);overflow:visible}
.promo-banner-background{position:absolute;inset:0;z-index:-1;border-radius:inherit;overflow:hidden;pointer-events:none}
.promo-banner-background:before{content:'';position:absolute;z-index:-1;right:-7%;top:-13%;width:40%;height:132%;border-radius:55% 0 0 55%;background:linear-gradient(140deg,#72bcee,#3a8edc)}
.promo-banner-background:after{content:'';position:absolute;z-index:-1;right:-6%;top:-11%;width:40%;height:127%;border-left:2px solid #fff9;border-radius:55% 0 0 55%;pointer-events:none}
.promo-card-strip{position:absolute;left:0;top:8px;z-index:2;display:block;max-width:85%;padding:4px 12px 4px 16px;border-radius:0 18px 18px 0;background:#ffedb5;color:#e88c08;font-size:clamp(9px,2.8vw,10.8px);line-height:1.25;font-weight:750;white-space:nowrap}
.promo-banner-copy{position:absolute;left:16px;top:38px;z-index:2;max-width:75%}
.sb-home-banner .promo-banner-copy strong{font-size:clamp(17px,4.8vw,19px);line-height:1.12;letter-spacing:-.65px;font-weight:750;color:#262420;margin:0;white-space:nowrap}
.promo-banner-copy em{font-style:normal;color:#f39205}
.promo-banner-cta{position:absolute;left:16px;top:84px;z-index:2;display:inline-flex;align-items:center;gap:3px;font-size:10px;color:#a95913;line-height:1.2}
.promo-banner-cta b{margin-left:0;font-size:12px;font-weight:500}
.promo-banner-terms{position:absolute;left:16px;bottom:7px;z-index:2;color:#928b7b;font-size:7.5px;line-height:1.2;font-style:italic}
.promo-smile-art{position:absolute;right:9px;top:52%;transform:translateY(-50%) rotate(-7deg);display:grid;place-items:center;width:92px;height:64px;background:transparent}
.sb-home-banner .promo-smile-art .smile-stage{width:84px;height:55px;margin:0}
.sb-home-banner .promo-smile-art .smile-reveal{height:55px}
.sb-home-banner .promo-smile-art img.mari-smile{width:84px;min-width:84px;height:55px;filter:brightness(0) invert(1);mix-blend-mode:normal;opacity:1;background:transparent}
.home-offer-terms{font-size:8px;color:#94908a;text-align:right;margin:-3px 2px 9px}

/* Balance native headers after removing the presentation ribbon. */
.header{padding-block:0}
.header .title{height:56px}
.sb-card-rewards>div>span,.sb-card-rewards strong,.sb-card-rewards small,.sb-card-rewards>span,
.sb-mode-hero small,.sb-mode-hero strong,.sb-mode-hero b{color:#262420}
.sb-card-rewards .reward-terms{color:#6f6a62}

/* Reuse the purple and pink fund colours from Mari Invest. */
.sb-selection .etf-option[data-sb="product:global"]{--etf-tint:#e9e9ff;--etf-glow:#7769bc20}
.sb-selection .etf-option[data-sb="product:singapore"]{--etf-tint:#faedf6;--etf-glow:#cd588a20}
.sb-selection .etf-option,.sb-selection .etf-option.selected{background:linear-gradient(var(--etf-tint),white 48%);box-shadow:0 3px 12px var(--etf-glow)}
.sb-selection .etf-option.selected{box-shadow:inset 0 0 0 1px #ff7b28,0 3px 12px var(--etf-glow)}
/* Give daily movements more room while keeping both cards and the CTA visible. */
#phone[data-screen="sbchoose"] #app{padding-bottom:0}
@media(min-height:660px) and (max-height:700px){.sb-selection .etf-chart{height:55px}}
@media(min-height:701px) and (max-height:760px){.sb-selection .etf-chart{height:64px}}

/* A reward summary followed by one consolidated holdings panel. */
.sb-invest-link{position:relative;display:flex;align-items:center;gap:12px;padding:14px 16px;margin:0 0 12px;border:1px solid #ffe0bb;border-radius:12px;background:linear-gradient(115deg,#fff0d9,#fff8ed);text-align:left}
.sb-invest-link .sb-invest-copy{display:block;flex:1;min-width:0}
.sb-invest-link .sb-invest-copy>b{display:block;font-size:15px;letter-spacing:-.15px;font-weight:600;color:#564433}
.sb-invest-link .sb-invest-copy>small{display:block;margin-top:4px;font-size:10px;color:#9c8066}
.sb-invest-link .sb-invest-copy>strong{display:block;font-size:28px;font-weight:650;letter-spacing:-.7px;line-height:1.15;margin-top:8px;color:#14a778}
.sb-invest-link>img{width:70px;height:70px;object-fit:contain;flex:none}
.sb-invest-link .sb-invest-chevron{font-size:20px;font-weight:400;color:#a98058;flex:none}
.invest-holdings{padding:14px 15px 0;border-radius:12px;overflow:hidden}
.invest-holdings>.section-title{font-size:13px;font-weight:500;color:#6b645c;margin:0 0 16px}
.invest-holdings .holding-link{font-size:13px;padding:0 0 10px}
.invest-holding-item{padding:0 0 15px}
.invest-holding-item>.row{font-size:11px;line-height:1.6}
.invest-holding-item>.row b{font-weight:500;color:#4a4743}
.invest-holdings .etf-entry{padding:14px 0;margin:0;border-radius:0;border-top:1px solid #eee9e3;background:transparent;gap:9px}
.invest-holdings .etf-entry-icon{width:33px;height:33px;border-radius:8px}
.invest-holdings .etf-entry b{font-size:12px}
.invest-holdings .etf-entry small{font-size:9px;line-height:1.4;margin-top:3px}
.invest-holdings .etf-entry>span:last-child{font-size:13px;font-weight:500;color:#4f463d}
.invest-holdings-auto{border-top:1px solid #eee9e3}
.invest-holdings-auto .linkrow{padding:12px 0;font-size:11px;gap:9px}
.invest-holdings-auto .linkrow>.icon{width:21px;height:21px;color:#f56600}
.invest-holdings-auto .linkrow>.end{font-size:10px}
.fund-terms{font-size:8px!important;color:#a69b91;margin-left:auto;white-space:nowrap}
.reward-terms{display:block;font-size:8px;margin-top:4px;color:#9c7653}
.offer-terms{font-size:9px;color:#9e8a78;line-height:1.45;margin:8px 0 0}
.savings-interest-body>.offer-terms{text-align:center;margin:8px 0 0}
.etf-order-form>.offer-terms{text-align:center}
@media(max-width:370px){
 .promo-card-strip{padding-left:13px;font-size:9.3px}
 .promo-banner-copy{left:13px}
 .sb-home-banner .promo-banner-copy strong{font-size:17px;letter-spacing:-.6px}
 .promo-banner-cta{top:80px}
 .promo-banner-cta,.promo-banner-terms{left:13px}
 .promo-banner-terms{font-size:7px}
 .promo-smile-art{right:6px;width:84px;height:58px}
 .sb-home-banner .promo-smile-art .smile-stage{width:76px;height:50px}
 .sb-home-banner .promo-smile-art .smile-reveal{height:50px}
 .sb-home-banner .promo-smile-art img.mari-smile{width:76px;min-width:76px;height:50px}
 .sb-invest-link{padding:13px 14px}
 .sb-invest-link>img{width:62px;height:62px}
}
@media(max-height:700px){.header .title{height:52px}}
@media(prefers-reduced-motion:reduce){.promo-smile-art{transform:translateY(-50%)}}
