/* Decorative phone previews follow the current MiniApp's cinema surfaces and type. */
#showcase .evs-phone{--evsm-bg:#080a10;--evsm-text:#f4f5f7;--evsm-muted:#969eaf;--evsm-line:#242832;--evsm-accent:#a99be8;--evsm-on:#12111a;--evsm-filter:none}
:root[data-theme="light"] #showcase .evs-phone{--evsm-bg:#f7f6fb;--evsm-text:#211b31;--evsm-muted:#625a73;--evsm-line:#d8d1e4;--evsm-accent:#5f35ad;--evsm-on:#fff;--evsm-filter:brightness(0) saturate(100%)}
#showcase .evs-screen{background:var(--evsm-bg)!important;color:var(--evsm-text)!important}
#showcase .evs-ui.evs-modern{padding:13px 17px 12px;gap:0;position:relative;color:var(--evsm-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;text-align:start}
#showcase .evs-modern :where(h3,p,span,strong,small){font-family:inherit;letter-spacing:normal;min-inline-size:0}
#showcase .evsm-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 22px;flex-shrink:0}
#showcase .evsm-brand{display:flex;align-items:center;gap:6px;min-width:0}
#showcase .evsm-mark{width:18px;height:18px;object-fit:contain;filter:var(--evsm-filter)}
#showcase .evsm-wordmark{width:81px;height:auto;filter:var(--evsm-filter)}
#showcase .evsm-profile{display:flex;align-items:center;justify-content:center;color:var(--evsm-muted);width:23px;height:23px}
#showcase .evsm-profile svg{width:19px;height:19px}
#showcase .evsm-body{display:flex;flex:1;min-block-size:0;flex-direction:column;gap:0}
#showcase .evsm-eyebrow{font-size:7.4px;font-weight:600;line-height:1.5;letter-spacing:.13em!important;color:var(--evsm-muted);margin-bottom:10px}
#showcase .evsm-title{font-size:29px;line-height:1.08;font-weight:700;letter-spacing:-.045em!important;color:var(--evsm-text)!important;margin:0 0 22px;text-align:start;text-transform:none}
#showcase .evsm-title>span{display:block;letter-spacing:inherit}
#showcase .evsm-title-small{font-size:25px;margin-bottom:25px;max-inline-size:12ch}
#showcase .evsm-balance>span{display:block;color:var(--evsm-muted);font-size:8.5px;line-height:1.45;margin-bottom:9px}
#showcase .evsm-balance>strong{display:block;color:var(--evsm-text)!important;font-size:30px;font-weight:600;line-height:1.1;margin:0}
#showcase .evsm-intro{color:var(--evsm-muted);font-size:9px;line-height:1.6;margin:17px 0 13px}
#showcase .evsm-primary{display:flex;align-items:center;justify-content:space-between;gap:7px;background:var(--evsm-accent);color:var(--evsm-on);padding:11px 12px;border-radius:9px;font-size:9px;font-weight:650;line-height:1.4}
#showcase .evsm-actions{display:flex;flex-direction:column;margin-top:14px}
#showcase .evsm-action{display:flex;align-items:center;gap:8px;min-block-size:37px;border-bottom:1px solid var(--evsm-line);color:var(--evsm-text);font-size:9px;line-height:1.4}
#showcase .evsm-action-icon{color:var(--evsm-muted);font-size:14px;width:14px;flex:none}
#showcase .evsm-arrow{margin-inline-start:auto;color:var(--evsm-muted);font-size:16px}
#showcase .evsm-signin{color:var(--evsm-muted);font-size:7.5px;line-height:1.4;margin-top:14px}
#showcase .evsm-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:3px;border-top:1px solid var(--evsm-line);padding:11px 0 0;margin-top:16px;color:var(--evsm-muted);font-size:7.2px;line-height:1.35;text-align:center;flex-shrink:0}
#showcase .evsm-nav>span{padding-bottom:6px;overflow-wrap:anywhere}
#showcase .evsm-nav .is-current{color:var(--evsm-text);box-shadow:inset 0 -1.5px var(--evsm-accent)}
#showcase .evsm-catalog{display:flex;flex-direction:column;margin-top:0}
#showcase .evsm-catalog-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--evsm-line);padding:16px 0;color:var(--evsm-text);font-size:11px;line-height:1.4}
#showcase .evsm-catalog-row strong{font-weight:600}
#showcase .evsm-catalog-row>span{color:var(--evsm-accent);font-size:14px}
#showcase .evsm-bottom-link{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;line-height:1.45;color:var(--evsm-text);margin-top:auto;padding-top:14px}
#showcase .evsm-total{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--evsm-muted);font-size:9px;line-height:1.4;border-bottom:1px solid var(--evsm-line);padding:22px 0 15px;margin-top:4px}
#showcase .evsm-total strong{color:var(--evsm-text);font-size:15px;font-weight:600}
#showcase .evs-phone-right .evsm-actions{margin-top:12px}
#showcase .evs-phone-right .evsm-action{min-block-size:45px}
#showcase .evs-modern[dir="rtl"]{direction:rtl}
#showcase .evs-modern[dir="rtl"] .evsm-title{letter-spacing:0!important;line-height:1.25}
#showcase .evs-phone-center .evsm-header{margin-bottom:18px}
#showcase .evs-phone-center .evsm-title{margin-bottom:18px}
#showcase .evs-phone-center .evsm-intro{margin:12px 0 10px}
#showcase .evs-phone-center .evsm-actions{margin-top:10px}
#showcase .evs-phone-center .evsm-action{min-block-size:34px}
#showcase .evs-phone-center .evsm-signin{margin-top:9px}
#showcase .evs-phone-center .evsm-nav{margin-top:12px}
@media(max-width:768px){#showcase .evs-phone-center .evsm-header{margin-bottom:14px}#showcase .evs-phone-center .evsm-title{font-size:25px;margin-bottom:16px}#showcase .evs-phone-center .evsm-intro{margin:10px 0 9px}#showcase .evs-phone-center .evsm-actions{margin-top:8px}#showcase .evs-phone-center .evsm-action{min-block-size:31px}#showcase .evs-phone-center .evsm-signin{margin-top:8px}#showcase .evs-phone-center .evsm-nav{margin-top:10px}}

/* Override the legacy rule that forced phone internals dark in the light site theme. */
:root[data-theme="light"] #showcase .evs-phone .evs-screen{background:var(--evsm-bg)!important;color:var(--evsm-text)!important}
:root[data-theme="light"] #showcase .evs-phone .evs-sb{color:var(--evsm-text)!important}
:root[data-theme="light"] #showcase .evs-phone .evs-sb-dots i{background:var(--evsm-muted)!important}
:root[data-theme="light"] #showcase .evs-modern :is(.evsm-action,.evsm-nav,.evsm-catalog-row,.evsm-total){border-color:var(--evsm-line)!important}
