/* SC Hotspot — struktur & layout. Warna tema disuntik app.js dari config.js.
   Sengaja tanpa CSS variables, grid, gap-on-flex, inset, aspect-ratio → aman Android 5. */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.45; min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  background: #eef2ff; color: #1e293b;
}
body.no-scroll { overflow: hidden; }
a { text-decoration: none; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { max-width: 100%; display: block; border: 0; }
svg { display: block; }
[hidden], .is-off { display: none !important; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- dekorasi latar ---------- */
.bg-decor { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; -webkit-filter: blur(50px); filter: blur(50px); opacity: .35; }
.blob.b1 { width: 280px; height: 280px; top: -80px; left: -90px; }
.blob.b2 { width: 320px; height: 320px; bottom: -120px; right: -110px; }
.blob.b3 { width: 200px; height: 200px; top: 40%; right: -80px; opacity: .2; }
.deco { position: absolute; }

/* ---------- layout ---------- */
.wrap { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; padding: 16px 14px 96px; }
.col { width: 100%; }
@media (min-width: 900px) {
  .wrap { max-width: 1000px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; padding-top: 28px; }
  .col { -webkit-flex: 1; flex: 1; min-width: 0; }
  .col-main { -webkit-order: 2; order: 2; margin-left: 28px; position: -webkit-sticky; position: sticky; top: 20px; }
  .col-side { -webkit-order: 1; order: 1; }
}
.wrap.single { max-width: 440px; display: block; }

.card {
  position: relative; border-radius: 22px; padding: 18px; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.7); overflow: hidden;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.row { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.grow { -webkit-flex: 1; flex: 1; min-width: 0; }
.sec-title { font-size: 21px; font-weight: 700; margin: 0; letter-spacing: -.2px; }
.sec-sub { font-size: 13px; margin: 3px 0 14px; }
.section { margin: 4px 2px 20px; }

/* ---------- hero ---------- */
.hero { padding: 18px; }
.hero .row { position: relative; z-index: 1; }
.hero-logo { width: 62px; height: 62px; border-radius: 16px; overflow: hidden; -webkit-flex-shrink: 0; flex-shrink: 0; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { margin-left: 14px; min-width: 0; }
.hero-title { font-size: 19px; font-weight: 800; margin: 0; letter-spacing: .3px; text-transform: uppercase; line-height: 1.2; }
.hero-tag { font-size: 14px; margin: 3px 0 0; }
.hero-decor { position: absolute; top: 0; right: 0; bottom: 0; width: 45%; z-index: 0; pointer-events: none; }
.hero-decor svg { position: absolute; }

/* ---------- running text ---------- */
.marquee { padding: 14px 0 16px; }
.marquee-box { overflow: hidden; white-space: nowrap; position: relative; margin: 0 14px; }
.marquee-track { display: inline-block; padding-left: 100%; -webkit-animation: marquee 18s linear infinite; animation: marquee 18s linear infinite; font-size: 14px; }
.marquee-line { height: 2px; margin: 8px 14px 0; border-radius: 2px; }
@-webkit-keyframes marquee { from { -webkit-transform: translateX(0); } to { -webkit-transform: translateX(-100%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- jadwal sholat ---------- */
.prayer-head { -webkit-align-items: flex-start; align-items: flex-start; font-size: 12.5px; margin-bottom: 12px; }
.prayer-head b { font-size: 13px; }
.prayer-next { text-align: right; }
.prayer-cells { margin: 0 -3px; }
.cell { -webkit-flex: 1; flex: 1; margin: 0 3px; border-radius: 14px; padding: 9px 2px 8px; text-align: center; border: 1.5px solid transparent; min-width: 0; }
.cell .ic { width: 24px; height: 24px; margin: 0 auto 4px; stroke-width: 1.8; }
.cell-time { font-weight: 700; font-size: 15px; }
.cell-name { font-size: 11.5px; }
.cell.past { opacity: .55; }
.c-imsak { color: #6366f1; } .c-subuh { color: #3b82f6; } .c-dzuhur { color: #ef4444; } .c-ashar { color: #f59e0b; } .c-maghrib { color: #0d9488; } .c-isya { color: #16a34a; }

/* ---------- audio ---------- */
.player { border-radius: 999px; padding: 10px 18px 10px 10px; }
.play-btn { width: 46px; height: 46px; border-radius: 50%; color: #fff; -webkit-flex-shrink: 0; flex-shrink: 0; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.play-btn .ic { width: 18px; height: 18px; margin: 0 auto; }
.p-time { font-size: 12px; font-weight: 700; width: 40px; text-align: center; -webkit-flex-shrink: 0; flex-shrink: 0; }
.p-time.first { margin-left: 8px; }
.prog { height: 5px; border-radius: 5px; margin: 0 8px; position: relative; cursor: pointer; }
.prog-fill { height: 100%; width: 0; border-radius: 5px; }
.p-title { display: none; }

/* ---------- login ---------- */
.login-card { padding: 22px 18px 16px; border-radius: 26px; }
.login-card h2 { font-size: 18px; margin: 0; font-weight: 700; }
.login-card .note { font-size: 13px; margin: 4px 0 16px; }
.tabs { border-radius: 14px; padding: 5px; margin-bottom: 14px; }
.tab { -webkit-flex: 1; flex: 1; text-align: center; padding: 10px 4px; border-radius: 10px; font-size: 13.5px; font-weight: 600; -webkit-transition: background .2s; transition: background .2s; }
.field { border-radius: 16px; padding: 0 14px; height: 54px; margin-bottom: 12px; border: 1.5px solid transparent; -webkit-transition: border-color .2s; transition: border-color .2s; }
.field .ic { width: 19px; height: 19px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.field input { -webkit-flex: 1; flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 10px; font-size: 16px; font-weight: 500; }
.field .eye { padding: 8px 0 8px 8px; }
.btn { display: block; width: 100%; height: 54px; border-radius: 16px; font-weight: 700; font-size: 15px; letter-spacing: .6px; text-transform: uppercase; color: #fff; text-align: center; line-height: 54px; }
.btn-primary { margin-top: 6px; -webkit-transition: -webkit-transform .1s; transition: transform .1s; }
.btn-primary:active, .btn-buy:active { -webkit-transform: scale(.98); transform: scale(.98); }
.btn-ghost { height: 46px; line-height: 44px; font-size: 13.5px; margin-top: 10px; border: 1.5px dashed; background: transparent; }
.btn .ic { display: inline-block; vertical-align: -4px; margin-left: 6px; width: 18px; height: 18px; }
.btn-ghost .ic { margin: 0 6px 0 0; }
.divider { font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; margin: 18px 0 10px; }
.divider:before, .divider:after { content: ""; -webkit-flex: 1; flex: 1; height: 1px; }
.divider span { padding: 0 10px; }
.badges { -webkit-justify-content: center; justify-content: center; font-size: 11.5px; }
.badges .row { margin: 0 9px; }
.badges .ic { width: 14px; height: 14px; margin-right: 4px; }
.err { border-radius: 14px; padding: 11px 13px; font-size: 13.5px; margin-bottom: 12px; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; -webkit-align-items: flex-start; align-items: flex-start; }
.err .ic { width: 18px; height: 18px; margin-right: 8px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-top: 1px; }
.shake { -webkit-animation: shake .4s; animation: shake .4s; }
@-webkit-keyframes shake { 20%, 60% { -webkit-transform: translateX(-6px); } 40%, 80% { -webkit-transform: translateX(6px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qr-pane { text-align: center; padding: 6px 4px 4px; }
.qr-ico { width: 74px; height: 74px; border-radius: 20px; margin: 0 auto 10px; }
.qr-ico .ic { width: 36px; height: 36px; margin: 19px auto 0; stroke-width: 1.7; }
.qr-pane p { font-size: 13px; margin: 0 0 12px; }
.qr-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ---------- slider ---------- */
.slider { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(15,23,42,.12); }
.slides { white-space: nowrap; font-size: 0; -webkit-transition: -webkit-transform .5s ease; transition: transform .5s ease; }
.slide { display: inline-block; width: 100%; vertical-align: top; }
.slide img { width: 100%; height: auto; }
.dots { text-align: center; margin: 10px 0 18px; font-size: 0; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 7px; margin: 0 3px; opacity: .35; -webkit-transition: all .3s; transition: all .3s; }
.dot.active { width: 22px; opacity: 1; }

/* ---------- paket ---------- */
.ptabs { border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.ptab { -webkit-flex: 1; flex: 1; text-align: center; padding: 9px 4px; border-radius: 999px; font-size: 14px; font-weight: 600; -webkit-transition: all .2s; transition: all .2s; }
.ptab.active { color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.pkgs { margin: 0 -6px; font-size: 0; }
.pkg { display: inline-block; vertical-align: top; width: -webkit-calc(50% - 12px); width: calc(50% - 12px); margin: 0 6px 12px; border-radius: 18px; padding: 14px; font-size: 15px; border: 1px solid; }
.pkg-top { -webkit-justify-content: space-between; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.pkg-speed { margin-top: 10px; font-size: 13px; }
.pkg-speed b { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin-right: 3px; }
.pkg-dev { font-size: 12.5px; }
.pkg-price { font-size: 16px; font-weight: 800; margin: 12px 0 10px; }
.btn-buy { display: block; width: 100%; height: 38px; line-height: 38px; border-radius: 11px; color: #fff; font-weight: 700; font-size: 12.5px; text-align: center; letter-spacing: .5px; }
@media (max-width: 340px) { .pkg { width: -webkit-calc(100% - 12px); width: calc(100% - 12px); } }

/* ---------- faq ---------- */
.faq-item { border-radius: 16px; margin-bottom: 10px; border: 1px solid; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 15px 16px; font-weight: 600; font-size: 14.5px; }
.faq-q .ic { width: 18px; height: 18px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-left: 10px; -webkit-transition: -webkit-transform .25s; transition: transform .25s; }
.faq-item.open .faq-q .ic { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; -webkit-transition: max-height .3s ease; transition: max-height .3s ease; }
.faq-a div { padding: 12px 16px 15px; font-size: 13.5px; border-top: 1px solid; }
.foot { text-align: center; font-size: 12.5px; padding: 8px 0 4px; }

/* ---------- live chat ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; color: #fff; z-index: 40; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.fab .ic { width: 25px; height: 25px; margin: 0 auto; }
.fab.has-pulse:after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: 2px solid; opacity: 0; -webkit-animation: pulse 2.2s infinite; animation: pulse 2.2s infinite; }
@-webkit-keyframes pulse { 0% { -webkit-transform: scale(1); opacity: .6; } 100% { -webkit-transform: scale(1.5); opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.chat { position: fixed; right: 18px; bottom: 88px; width: 310px; max-width: -webkit-calc(100% - 36px); max-width: calc(100% - 36px); border-radius: 20px; z-index: 41; overflow: hidden; border: 1px solid; box-shadow: 0 20px 50px rgba(15,23,42,.3);
  opacity: 0; visibility: hidden; -webkit-transform: translateY(14px) scale(.97); transform: translateY(14px) scale(.97); -webkit-transform-origin: bottom right; transform-origin: bottom right; -webkit-transition: all .22s; transition: all .22s; }
.chat.open { opacity: 1; visibility: visible; -webkit-transform: none; transform: none; }
.chat-head { padding: 14px 14px; color: #fff; }
.chat-av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.22); margin-right: 10px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.chat-av .ic { width: 20px; height: 20px; margin: 9px auto 0; }
.chat-head b { font-size: 14.5px; display: block; }
.chat-head small { font-size: 11.5px; opacity: .9; }
.chat-head small:before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-right: 5px; }
.chat-x { color: #fff; padding: 4px; }
.chat-body { padding: 14px; max-height: 260px; overflow-y: auto; }
.bubble { display: inline-block; padding: 10px 13px; border-radius: 4px 16px 16px 16px; font-size: 13.5px; margin-bottom: 12px; max-width: 92%; }
.quick { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; font-size: 13px; margin-bottom: 7px; border: 1px solid; font-weight: 500; }
.chat-foot { padding: 10px; border-top: 1px solid; }
.chat-foot input { -webkit-flex: 1; flex: 1; min-width: 0; height: 42px; border-radius: 12px; border: 0; outline: 0; padding: 0 12px; font-size: 14px; }
.chat-send { width: 42px; height: 42px; border-radius: 12px; color: #fff; margin-left: 8px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.chat-send .ic { width: 18px; height: 18px; margin: 0 auto; }
.chat-note { font-size: 10.5px; text-align: center; padding: 0 10px 9px; }

/* ---------- modal ---------- */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(15,23,42,.55); padding: 20px; overflow-y: auto;
  opacity: 0; visibility: hidden; -webkit-transition: opacity .25s, visibility .25s; transition: opacity .25s, visibility .25s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; max-width: 340px; margin: 9vh auto 0; border-radius: 26px; padding: 18px 18px 22px; text-align: center; background: #fff; color: #1e293b;
  -webkit-transform: scale(.92); transform: scale(.92); -webkit-transition: -webkit-transform .25s; transition: transform .25s; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.modal.open .modal-box { -webkit-transform: none; transform: none; }
.modal-img { border-radius: 18px; overflow: hidden; margin-bottom: 16px; }
.modal-box h3 { font-size: 20px; margin: 4px 0 6px; }
.modal-box p { font-size: 14px; margin: 0 0 18px; color: #64748b; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(15,23,42,.06); color: #475569; z-index: 2; }
.modal-x .ic { width: 16px; height: 16px; margin: 0 auto; }
.modal-ico { width: 72px; height: 72px; border-radius: 50%; margin: 8px auto 12px; }
.modal-ico .ic { width: 34px; height: 34px; margin: 19px auto 0; }
.modal-ico.warn { background: #fef3c7; color: #d97706; }
.modal-ico.ok { background: #dcfce7; color: #16a34a; }
.btn-line { display: block; width: 100%; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 600; padding: 8px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 92px; z-index: 70; max-width: 90%; padding: 11px 18px; border-radius: 14px; background: #0f172a; color: #fff; font-size: 13.5px;
  -webkit-transform: translate(-50%, 20px); transform: translate(-50%, 20px); opacity: 0; -webkit-transition: all .25s; transition: all .25s; pointer-events: none; text-align: center; }
.toast.show { opacity: .95; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); }

/* ---------- halaman status / alogin / logout / error ---------- */
.state-ico { width: 84px; height: 84px; border-radius: 50%; margin: 6px auto 14px; position: relative; }
.state-ico .ic { width: 40px; height: 40px; margin: 22px auto 0; }
.center { text-align: center; }
.big-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.info { margin: 16px 0 6px; }
.info-row { -webkit-justify-content: space-between; justify-content: space-between; padding: 12px 14px; border-radius: 14px; margin-bottom: 8px; font-size: 14px; }
.info-row span:first-child { -webkit-align-items: center; align-items: center; }
.info-row .ic { width: 17px; height: 17px; margin-right: 8px; display: inline-block; vertical-align: -3px; }
.info-row b { text-align: right; word-break: break-all; margin-left: 10px; }
.stats { margin: 6px -5px 8px; }
.stat { -webkit-flex: 1; flex: 1; margin: 0 5px; border-radius: 16px; padding: 14px 10px; text-align: center; }
.stat .ic { width: 22px; height: 22px; margin: 0 auto 6px; }
.stat b { display: block; font-size: 17px; }
.stat small { font-size: 12px; }
.countdown { font-size: 13px; margin-top: 12px; }
.ring { -webkit-animation: ring 1.6s ease-out infinite; animation: ring 1.6s ease-out infinite; }
@-webkit-keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.45); } 100% { box-shadow: 0 0 0 22px rgba(34,197,94,0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.45); } 100% { box-shadow: 0 0 0 22px rgba(34,197,94,0); } }

/* ---------- animasi masuk ---------- */
.fade-up { -webkit-animation: fadeUp .5s ease both; animation: fadeUp .5s ease both; }
@-webkit-keyframes fadeUp { from { opacity: 0; -webkit-transform: translateY(14px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.steam { -webkit-animation: steam 2.6s ease-in-out infinite; animation: steam 2.6s ease-in-out infinite; }
@-webkit-keyframes steam { 0% { opacity: 0; -webkit-transform: translateY(6px); } 50% { opacity: .9; } 100% { opacity: 0; -webkit-transform: translateY(-8px); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 50% { opacity: .9; } 100% { opacity: 0; transform: translateY(-8px); } }
.swing { -webkit-transform-origin: 50% 0; transform-origin: 50% 0; -webkit-animation: swing 3.5s ease-in-out infinite; animation: swing 3.5s ease-in-out infinite; }
@-webkit-keyframes swing { 0%, 100% { -webkit-transform: rotate(4deg); } 50% { -webkit-transform: rotate(-4deg); } }
@keyframes swing { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
.twinkle { -webkit-animation: twinkle 2.4s ease-in-out infinite; animation: twinkle 2.4s ease-in-out infinite; }
@-webkit-keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .swing, .twinkle, .steam, .ring, .fab.has-pulse:after { -webkit-animation: none; animation: none; } .marquee-track { padding-left: 0; white-space: normal; } }
