/* ADFIQ Wali: reference-inspired visual layer; the pesantren photo stays visible. */
body[data-wali-auth=in],body[data-wali-auth=pending]{background:#f8fafc;color:#24364d}
.phone-shell{background:#f8fafc}
.home-hero{background-image:linear-gradient(110deg,rgba(9,96,164,.83),rgba(15,83,159,.64)),url('gapura.jpg')!important;background-position:center 45%;background-size:cover;border-radius:0 0 34px 34px;min-height:188px;padding-bottom:58px}
.home-title h1{font-size:clamp(25px,6vw,30px);font-weight:750;letter-spacing:-.02em;text-shadow:0 1px 5px #17385b}
.home-title p,.home-title span{color:#f0f8ff;text-shadow:0 1px 4px #17385b}
.home-hero .wali-brand-logo{background:#fff;border-radius:18px;box-shadow:0 4px 14px #14375b35}
.header-action{border:1px solid #ffffff55;background:#ffffff2b;color:#fff;border-radius:15px;backdrop-filter:blur(8px)}
.home-content{gap:17px}
.home-content .balance-card,.home-content .wali-student-context,.home-content .panel-card,.portal-menu,.portal-utility,.profile-card,.list-item,.stat-card{border-radius:20px;border:1px solid #e5edf4;box-shadow:0 5px 22px #2038580b;background:#fff}
.home-content .balance-card{background:linear-gradient(115deg,#3eb4ec,#236bd5);border-color:#a9d9f9;color:#fff;box-shadow:0 12px 28px #2f86c42a}
.balance-card h2,.balance-card p,.balance-card span,.balance-card a:not(.topup-btn),.balance-card .portal-balance-history{color:#fff}
.balance-card .portal-balance-history{border-color:#ffffff50}
.balance-card .topup-btn{background:#fff;color:#2069cc;border-radius:13px;box-shadow:0 4px 12px #0a4d8c28}
.wali-student-context{padding:18px;gap:8px}
.wali-student-context strong{font-size:15px;color:#21394f}
.portal-menu{background:transparent;border:0;box-shadow:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0}
.portal-menu .menu-card,.menu-grid .menu-card{background:#fff;border:1px solid #e7edf4;border-radius:17px;box-shadow:0 3px 12px #1736550a;min-width:0;min-height:105px;padding:13px 7px;text-align:center;align-items:center;justify-content:center}
.portal-menu .menu-icon,.menu-grid .menu-icon{background:#eaf7fe;color:#168bbf;border-radius:13px;margin:0 auto 9px;width:42px;height:42px}
.portal-menu .menu-card strong,.menu-grid .menu-card strong{font-size:11px;line-height:1.3;color:#40566d;overflow-wrap:anywhere}
.portal-menu .menu-card small,.menu-grid .menu-card small{display:none}
.page-header{background:linear-gradient(110deg,rgba(13,99,168,.87),rgba(17,92,162,.72)),url('gapura.jpg') center 42%/cover!important;border:0;border-radius:0 0 27px 27px;color:#fff;padding-bottom:29px;box-shadow:0 6px 18px #153e6420}
.page-header .page-title h1,.page-header .page-title p{color:#fff;text-shadow:0 1px 5px #15395b}
.page-header .back-btn,.page-header .header-action{background:#ffffff29;border:1px solid #ffffff60;color:#fff;backdrop-filter:blur(8px)}
.page-body{padding-top:18px}
.page-body .panel-card,.page-body .profile-card,.page-body .list-item{border-radius:19px;border-color:#e3ebf3;box-shadow:0 4px 18px #1738580b}
.page-body .panel-head h3,.profile-card h3{color:#233a53}
.page-body .mini-btn,.page-body .primary-btn,.page-body button{border-radius:12px}
.page-body .stat-card{border-radius:17px}
.bottom-nav{background:rgba(255,255,255,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid #e6edf4;border-radius:18px 18px 0 0;box-shadow:0 -5px 23px #234a7014}
.quick{border-radius:12px}.quick.active{background:#eaf5ff;color:#2676c8}
@media(max-width:360px){.portal-menu{gap:6px}.portal-menu .menu-card{padding:10px 3px;min-height:96px}.portal-menu .menu-card strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.phone-shell *{scroll-behavior:auto!important}}
