/* V1070: strictly on the current E-Voucher host (class is applied to NEW host only).
   One late-loaded stylesheet; legacy webshop and admin routes retain earlier CSS. */
html.ev-next-v1064 #profile #profileCouponSummaryV454 {display:none!important}
html.ev-next-v1064 #profile #profileEditSettingRow {display:none!important}
html.ev-next-v1064 #profile .ev70-security-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
  margin:0 0 14px;
}
html.ev-next-v1064 #profile .ev70-security-action {
  display:flex;align-items:center;gap:12px;min-width:0;text-align:left;
  padding:14px;border:1px solid #d6e6fd;border-radius:14px;background:linear-gradient(145deg,#fff,#f1f7ff);
  box-shadow:0 4px 15px rgba(12,83,182,.06);color:#173a6a;cursor:pointer;
}
html.ev-next-v1064 #profile .ev70-security-action .ev70-action-icon {
  flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;
  border-radius:11px;background:#e2efff;color:#1168e6;font-size:20px;
}
html.ev-next-v1064 #profile .ev70-security-action b {display:block;font-size:13px;line-height:1.5}
html.ev-next-v1064 #profile .ev70-security-action small {display:block;margin-top:2px;font-size:11px;color:#7185a2;line-height:1.5}
html.ev-next-v1064 #profile .ev70-security-action:hover {background:#e7f3ff;border-color:#8fc3ff}
html.ev-next-v1064 #profile .ev70-security-action:focus-visible {outline:3px solid #93c4ff;outline-offset:2px}
/* Reuse the existing profile API handler. Show only the appropriate fields in each edit mode. */
html.ev-next-v1064 #profileEditModal.ev70-mode-name .field:has(#oldPassword),
html.ev-next-v1064 #profileEditModal.ev70-mode-name .field:has(#newPassword),
html.ev-next-v1064 #profileEditModal.ev70-mode-name .field:has(#ev70PasswordConfirm) {display:none!important}
html.ev-next-v1064 #profileEditModal.ev70-mode-password .field:has(#profileName) {display:none!important}
html.ev-next-v1064 #profileEditModal.ev70-mode-password .field:has(#ev70PasswordConfirm) {display:block!important}
html.ev-next-v1064 #profileEditModal .ev70-modal-error {font-size:12px;color:#ba263e;margin:7px 0}
html.ev-next-v1064 #profileEditModal .ev70-modal-error:empty {display:none!important}
html.ev-next-v1064 dialog.ev70-change-pin-dialog {
  border:1px solid #cee3fc;border-radius:20px;box-shadow:0 25px 75px #061d4560;
  padding:0;width:min(440px,calc(100vw - 24px));max-height:90dvh;color:#183861;background:#fff;
}
html.ev-next-v1064 dialog.ev70-change-pin-dialog::backdrop {background:#091f48a9}
html.ev-next-v1064 .ev70-change-pin-box {padding:22px;display:grid;gap:12px;overflow:auto;max-height:86dvh}
html.ev-next-v1064 .ev70-change-pin-box h2 {font-size:21px;margin:0;color:#075cde}
html.ev-next-v1064 .ev70-change-pin-box p {margin:0;font-size:12px;color:#667f9f}
html.ev-next-v1064 .ev70-change-pin-box label {display:grid;gap:5px;font-size:12px;font-weight:800}
html.ev-next-v1064 .ev70-change-pin-box input {box-sizing:border-box;width:100%;height:44px;padding:0 12px;
  background:#f7fbff;border:1px solid #c4dcfb;border-radius:11px;font-size:17px;letter-spacing:4px}
html.ev-next-v1064 .ev70-change-pin-box .ev70-pin-error {color:#ca2438;font-size:12px;min-height:1em}
html.ev-next-v1064 .ev70-change-pin-actions {display:flex;gap:8px}
html.ev-next-v1064 .ev70-change-pin-actions button {flex:1;min-height:42px;border-radius:11px;
  border:1px solid #bdd6f7;background:#f2f8ff;color:#1558b4;cursor:pointer;font-weight:800}
html.ev-next-v1064 .ev70-change-pin-actions button[type=submit]{background:linear-gradient(120deg,#178cff,#0861ed);color:#fff;border:0}
html.ev-next-v1064 .ev70-change-pin-actions button:disabled {opacity:.6;cursor:progress}
/* Detail/conditions remain accessible via scrolling but are no longer screen-filling on every device. */
html.ev-next-v1064 dialog.ev67-detail-dialog {
  inset:0!important;width:min(800px,calc(100vw - 28px))!important;
  height:min(84dvh,790px)!important;max-height:84dvh!important;
  margin:auto!important;border-radius:19px!important;border:1px solid #d4e8ff!important;
  box-shadow:0 24px 75px rgba(2,26,71,.3)!important;
}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-top {
  min-height:49px!important;padding:8px 16px!important;
}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-top strong {font-size:15px!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-close {min-height:34px!important;font-size:12px!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-main {
  width:calc(100% - 26px)!important;gap:13px!important;margin:12px auto!important;
}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-image-area {padding:5px!important;border-radius:12px!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-image {max-height:41dvh!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-information {padding:12px!important;border-radius:13px!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-title {font-size:18px!important;margin-bottom:9px!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-tabs {margin-bottom:9px!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-tabs button {min-height:38px!important;font-size:13px!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-panel {min-height:0!important;padding:11px!important;font-size:13px!important;line-height:1.7!important}
html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-condition-line {padding:8px 2px!important;line-height:1.6!important}
/* Wallet redesign preserves all original buttons/IDs and provider data. */
html.ev-next-v1064 #wallet.topup-premium-page-v438 {max-width:1020px!important;margin:0 auto!important;color:#17375c}
html.ev-next-v1064 #wallet .topup-hero-v438 {
  position:relative;isolation:isolate;overflow:hidden;border-radius:19px!important;
  background:linear-gradient(120deg,#075be5 0%,#1a8bff 60%,#6ccaff 100%)!important;
  border:1px solid #8bc7ff!important;box-shadow:0 15px 35px #1b6ec52e!important;
}
html.ev-next-v1064 #wallet .topup-hero-v438::before {
  content:"";position:absolute;right:-25px;top:-65px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle,#ffffff78,#ffffff0a 67%);z-index:-1;
}
html.ev-next-v1064 #wallet .topup-hero-v438 .ev70-topup-art {
  position:absolute;right:16%;top:15px;width:78px;height:78px;object-fit:contain;
  filter:drop-shadow(0 10px 12px #063d8e60);pointer-events:none;
}
html.ev-next-v1064 #wallet .topup-hero-v438 :is(h2,.topup-eyebrow-v438) {color:#fff!important}
html.ev-next-v1064 #wallet .topup-bank-section-v438 .card,
html.ev-next-v1064 #wallet .topup-truemoney-section-v797 .card {
  border:1px solid #d5e5f9!important;border-radius:17px!important;
  box-shadow:0 8px 24px #1e5fab12!important;background:#fff!important;
}
html.ev-next-v1064 #wallet .topup-step-head-v438 {gap:8px!important;margin:15px 0 9px!important}
html.ev-next-v1064 #wallet .topup-step-head-v438 h3 {font-size:17px!important}
html.ev-next-v1064 #wallet .topup-quick-amounts-v438 {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
html.ev-next-v1064 #wallet .topup-quick-amounts-v438 button {border-radius:10px!important;font-size:12px!important;min-width:0!important}
html.ev-next-v1064 #wallet .topup-upload-zone-v438 {border-radius:14px!important}
/* Phone / smaller tablet. Maintain readable tap targets >= 40px. */
@media(max-width:760px){
  html.ev-next-v1064 body.webshop-v301 #app>main.container:has(#home.active){padding-top:0!important;margin-top:0!important}
  html.ev-next-v1064 body.webshop-v301 #home .banner-row-v301 {
    margin-top:0!important;margin-bottom:8px!important;padding:0!important;
    width:100%!important;max-width:none!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home #bannerMain {
    width:100vw!important;left:50%!important;transform:translateX(-50%)!important;
    aspect-ratio:2048/682!important;margin:0!important;border-radius:0 0 12px 12px!important;
    border:0!important;box-shadow:0 7px 18px #315e9d20!important;
  }
  html.ev-next-v1064 body.webshop-v301 #home #bannerMain img{object-fit:contain!important}
  /* Compact storefront cards/text; graphic (sky/welcome imagery) remains visible. */
  html.ev-next-v1064 body.webshop-v301 #home .section-head h2 {font-size:14px!important}
  html.ev-next-v1064 body.webshop-v301 #home #productGrid>.product .name{font-size:10px!important;line-height:1.45!important}
  html.ev-next-v1064 body.webshop-v301 #home .ev67-categories {padding:9px!important}
  html.ev-next-v1064 body.webshop-v301 #home .ev67-categories #categoryTabsV198 button {font-size:11px!important;min-height:40px!important}
  html.ev-next-v1064 #profile .profile-mobile-page-v429 {gap:9px!important;padding:2px 4px 80px!important}
  html.ev-next-v1064 #profile .settings-card {border-radius:13px!important;padding:10px!important}
  html.ev-next-v1064 #profile .profile-hero-top-v429 {min-height:66px!important;padding:10px!important;border-radius:12px!important}
  html.ev-next-v1064 #profile .profile-avatar-v429 {width:39px!important;height:39px!important;min-width:39px!important;font-size:17px!important}
  html.ev-next-v1064 #profile .profile-hero-copy-v429 h2 {font-size:17px!important}
  html.ev-next-v1064 #profile .profile-account-table-body-v564 {gap:5px!important;padding:6px!important}
  html.ev-next-v1064 #profile .profile-account-cell-v564 {min-height:61px!important;padding:7px!important}
  html.ev-next-v1064 #profile .profile-account-cell-v564 b {font-size:11px!important}
  html.ev-next-v1064 #profile .settings-head {font-size:14px!important;padding:10px!important;min-height:38px!important;margin-bottom:9px!important}
  html.ev-next-v1064 #profile .ev70-security-grid {grid-template-columns:1fr!important;gap:6px!important}
  html.ev-next-v1064 #profile .ev70-security-action {padding:9px 11px;min-height:49px;border-radius:11px}
  html.ev-next-v1064 #profile .ev70-security-action b {font-size:12px}
  html.ev-next-v1064 #profile .ev70-security-action small {font-size:10px}
  html.ev-next-v1064 #profile .ev70-security-action .ev70-action-icon {width:32px;height:32px;flex-basis:32px;font-size:17px}
  html.ev-next-v1064 #profile .settings-list .setting-row {min-height:60px!important;padding:8px!important}
  html.ev-next-v1064 #profile .setting-desc {font-size:9px!important}
  /* Slim hamburger navigation; remove descriptions, account stats, headings */
  html.ev-next-v1064 #mobileMenuDrawerV301.mobile-menu-drawer-v301 {
    width:min(75vw,260px)!important;max-width:260px!important;
  }
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-head-v301 {min-height:47px!important;padding:8px 11px!important}
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-head-v301>button {width:32px!important;height:32px!important}
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-account-v911,
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-section-label-v428,
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-list-v456 button>small,
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-handle-v301 {display:none!important}
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-list-v456 {gap:3px!important;padding:8px!important}
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-list-v456 button {
    box-sizing:border-box!important;min-height:40px!important;height:auto!important;
    padding:7px 9px!important;gap:7px!important;font-size:11.5px!important;border-radius:9px!important;
  }
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-list-v456 button>b {font-size:11.5px!important}
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-list-v456 button>span {width:24px!important;height:24px!important;min-width:24px!important}
  html.ev-next-v1064 #mobileMenuDrawerV301 .mobile-menu-list-v456 button>i {font-size:15px!important}
  /* Top up compact mobile layout with the same blue graphic language as desktop. */
  html.ev-next-v1064 #wallet.topup-premium-page-v438 {padding:5px!important}
  html.ev-next-v1064 #wallet .topup-hero-v438 {padding:12px!important;min-height:110px!important;border-radius:14px!important}
  html.ev-next-v1064 #wallet .topup-hero-v438 h2 {font-size:19px!important}
  html.ev-next-v1064 #wallet .topup-hero-v438 .ev70-topup-art {width:53px;height:53px;top:8px;right:9px}
  html.ev-next-v1064 #wallet .topup-trust-row-v438 {gap:5px!important;flex-wrap:wrap}
  html.ev-next-v1064 #wallet .topup-trust-row-v438 span {font-size:9px!important}
  html.ev-next-v1064 #wallet .topup-balance-card-v438 {padding:10px!important;min-height:55px!important;border-radius:11px!important}
  html.ev-next-v1064 #wallet .topup-bank-grid-v438 {grid-template-columns:1fr!important;gap:8px!important}
  html.ev-next-v1064 #wallet .topup-bank-grid-v438>.card {padding:10px!important;border-radius:13px!important}
  html.ev-next-v1064 #wallet .topup-step-head-v438 {margin:10px 0 8px!important}
  html.ev-next-v1064 #wallet .topup-step-head-v438 h3 {font-size:15px!important}
  html.ev-next-v1064 #wallet .topup-step-head-v438 p {font-size:10px!important}
  html.ev-next-v1064 #wallet .topup-card-label-v438 {gap:8px!important}
  html.ev-next-v1064 #wallet .topup-card-label-v438 b {font-size:12px!important}
  html.ev-next-v1064 #wallet .topup-account-box-v438 .bank-account-row {padding:6px 0!important}
  html.ev-next-v1064 #wallet .topup-account-box-v438 .bank-account-row :is(span,b) {font-size:11px!important}
  html.ev-next-v1064 #wallet .topup-quick-amounts-v438 button{min-height:39px!important;font-size:10.5px!important}
  html.ev-next-v1064 #wallet .topup-form-v438 :is(input,label){font-size:11px!important}
  html.ev-next-v1064 dialog.ev67-detail-dialog {width:calc(100vw - 16px)!important;height:min(77dvh,670px)!important;max-height:77dvh!important;border-radius:15px!important}
  html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-main {width:calc(100% - 18px)!important;grid-template-columns:1fr!important;margin:7px auto!important;gap:8px!important}
  html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-image {max-height:19dvh!important}
  html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-title {font-size:15px!important;margin-bottom:7px!important}
  html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-panel {font-size:12px!important;padding:9px!important}
  html.ev-next-v1064 dialog.ev67-detail-dialog .ev67-dialog-close {font-size:11px!important;min-height:32px!important}
  html.ev-next-v1064 dialog.ev70-change-pin-dialog {max-height:86dvh}
  html.ev-next-v1064 .ev70-change-pin-box {padding:15px}
}
/* Decorative artwork exists on phones as well as desktop, without fetching sensitive data. */
html.ev-next-v1064 #profile .profile-hero-top-v429 {position:relative;overflow:hidden;padding-right:83px!important}
html.ev-next-v1064 #profile .ev70-profile-art {position:absolute;right:13px;top:50%;transform:translateY(-50%);
  width:65px;height:65px;object-fit:contain;filter:drop-shadow(0 9px 12px #05296a3c);pointer-events:none}
@media(max-width:760px){html.ev-next-v1064 #profile .profile-hero-top-v429{padding-right:60px!important}
html.ev-next-v1064 #profile .ev70-profile-art{width:48px;height:48px;right:7px}}
