/* v1470: bilah atas (.app-top) di desktop dibuat ringkas: tinggi 68px -> 44px.
   Penyebab boros: min-height 44px (akses.css) pada tombol bahasa + padding 12px atas-bawah + avatar/logo besar.
   Hanya untuk penunjuk presisi (mouse) dan layar > 600px; di HP/layar sentuh tetap seperti sebelumnya
   (area sentuh 44px dipertahankan). Berdiri sendiri: bila berkas ini dihapus, tampilan kembali seperti v1469. */
@media (min-width:601px) and (pointer:fine){
  html body #site-content .app-top{padding-top:calc(6px + env(safe-area-inset-top,0px))!important;padding-bottom:6px!important;gap:var(--nf-2,8px)!important}
  html body #site-content .app-top>img{height:26px!important}
  html body #site-content .app-top #sw-lang-btn{min-height:32px!important;min-width:0!important;padding:4px 10px!important}
  html body #site-content .app-top .rg-peran{padding:4px 10px}
  html body #site-content .app-top .avt{width:32px!important;height:32px!important;font-size:calc(13px*var(--sh,1))}
  html body #site-content .app-top .avt.masuk{width:auto!important;padding:0 12px}
  html body #site-content .app-top a{width:32px;height:32px;border-radius:10px}
  html body #site-content .app-top svg{width:18px;height:18px}
}

/* v1480: tab bar bawah WAJIB selalu tampil (desktop maupun HP). Fitur sembunyi-otomatis v1471/v1472 dan gagangnya dihapus; header-ringkas.js hanya membersihkan sisa kelas tb-sembunyi. */
html.tb-sembunyi body #site-content .tabbar{translate:none!important;opacity:1!important;pointer-events:auto!important}
.tb-gagang{display:none!important}

/* v1473/v1474: kartu "Radar Bantuan" diganti daftar info isi aplikasi (bukan tombol): Papan Kerja, Shop, Game dan Misi,
   Menfess, Latihan, Status pesanan. Hanya teks; tidak bisa diklik, tanpa angka hidup dan tanpa panggilan API. */
html body #site-content .rdr-isi>.rdr-atas{grid-template-columns:minmax(0,1fr)!important;align-items:start;gap:clamp(12px,2vh,20px)}
html body #site-content .rdr-atas .rdr-aksi{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}
html body #site-content .rdr-atas .rdr-aksi .rdr-tombol{margin-bottom:0;align-self:auto}
html body #site-content .rdr-fitur{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html body #site-content .rdr-fitur li{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border-radius:14px;background:#ffffff12;box-shadow:inset 0 0 0 1px #ffffff1a;cursor:default}
html body #site-content .rdr-fitur .rdr-fi{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#FFC7381f;font-style:normal}
html body #site-content .rdr-fitur svg{width:20px;height:20px;fill:none;stroke:#FFC738;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html body #site-content .rdr-fitur span{display:block;min-width:0;font-size:calc(12.5px*var(--sh,1));line-height:1.35;color:#FFE6F2}
html body #site-content .rdr-fitur b{display:block;margin-bottom:1px;font-size:calc(14px*var(--sh,1));font-weight:800;color:#fff}
@media (max-width:700px){html body #site-content .rdr-fitur{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){html body #site-content .rdr-fitur li{flex-direction:column;align-items:flex-start;gap:8px;padding:11px 12px 12px}html body #site-content .rdr-fitur .rdr-fi{width:32px;height:32px;border-radius:10px}}
@media (max-width:340px){html body #site-content .rdr-fitur{grid-template-columns:minmax(0,1fr)}}

/* v1479: Beranda desktop (>= 1000px) dipadatkan supaya kotak fitur dan chat contoh muat di atas bilah menu bawah dan tidak tertutup. Bilah menu bawah TIDAK diubah (wajib tetap ada); yang diperkecil hanya huruf, jarak, dan ikon di kotak fitur, kartu chat, dan kartu radar. Semua huruf tetap ikut --sh (Huruf besar). */
@media (min-width:1000px){
  html body #site-content .rdr-fitur{gap:8px}
  html body #site-content .rdr-fitur li{gap:8px;padding:7px 10px;border-radius:12px}
  html body #site-content .rdr-fitur .rdr-fi{width:28px;height:28px;border-radius:9px}
  html body #site-content .rdr-fitur svg{width:16px;height:16px}
  html body #site-content .rdr-fitur span{font-size:calc(11px*var(--sh,1));line-height:1.3}
  html body #site-content .rdr-fitur b{font-size:calc(12.5px*var(--sh,1));margin-bottom:0}
  html body #site-content .rdr-ch-hd{padding:8px 14px;gap:8px}
  html body #site-content .rdr-ch-ava{width:28px;height:28px;font-size:15px}
  html body #site-content .rdr-ch-nama b{font-size:calc(12.5px*var(--sh,1))}
  html body #site-content .rdr-ch-nama small{font-size:calc(10.5px*var(--sh,1))}
  html body #site-content .rdr-ch-badan{gap:6px;padding:10px 14px;min-height:0;justify-content:flex-start}
  html body #site-content .rdr-ch-b{max-width:92%;padding:6px 11px;border-radius:14px;font-size:calc(12.5px*var(--sh,1));line-height:1.4}
  html body #site-content .rdr-ch-b.u{border-bottom-right-radius:4px}
  html body #site-content .rdr-ch-b.t{border-bottom-left-radius:4px}
  html body #site-content .rdr-ch-ketik{padding:9px 12px}
}

/* v1481: baris chip salam + lokasi + cuaca di Beranda desktop dipadatkan jadi SATU baris tipis. Teks perkiraan cuaca satu baris (terpotong "..." bila kepanjangan; teks penuh ada di tooltip, diisi beranda-radar.js); tombol cek kota dan perbarui lokasi 44px -> 28px (hanya mouse/layar > 900px; layar sentuh tetap 44px). */
@media (min-width:901px) and (pointer:fine){
  html.rdr-on body #site-content header.hero .hero-inner>.sw-chip{padding:5px 12px!important;font-size:calc(13px*var(--sh,1))!important;min-height:0!important}
  html.rdr-on body #site-content header.hero .hero-inner>.sw-ket{flex:0 1 auto!important;width:auto!important;min-width:0!important;overflow:hidden;flex-wrap:nowrap!important;align-items:center!important;gap:0 14px!important;padding:5px 12px!important;border-radius:14px!important;min-height:0!important}
  html.rdr-on body #site-content header.hero .hero-inner>.sw-chip{flex:none!important;align-self:stretch;display:inline-flex;align-items:center}
  html.rdr-on body #site-content header.hero .sw-ket>.sw-ket-r{gap:8px;min-width:0;padding:0;margin:0}
  html.rdr-on body #site-content header.hero .sw-ket>.sw-ket-lok{flex:none}
  html.rdr-on body #site-content header.hero .sw-ket .sw-ket-lok b{font-size:calc(13px*var(--sh,1));white-space:nowrap}
  html.rdr-on body #site-content header.hero .sw-ket svg{width:16px;height:16px}
  html.rdr-on body #site-content header.hero .sw-ket button.sw-ket-kota,
  html.rdr-on body #site-content header.hero .sw-ket button.sw-ket-gps{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;display:inline-grid;place-items:center}
  html.rdr-on body #site-content header.hero .sw-ket button svg{width:14px;height:14px}
  html.rdr-on body #site-content header.hero .sw-ket>.sw-ket-prak{flex:0 1 auto!important;min-width:0!important;overflow:hidden}
  html.rdr-on body #site-content header.hero .sw-ket-prak>svg{flex:none}
  html.rdr-on body #site-content header.hero .sw-ket-prak>div{flex:0 1 auto;min-width:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:calc(12.5px*var(--sh,1));line-height:1.3}
  html.rdr-on body #site-content header.hero .sw-ket-prak .sw-ket-t,
  html.rdr-on body #site-content header.hero .sw-ket-prak .sw-ket-s{display:inline!important;font-size:inherit!important;margin:0}
  html.rdr-on body #site-content header.hero .sw-ket-prak .sw-ket-s{display:none!important}
}

/* v1486: (1) kartu chat contoh setinggi isinya (tidak ditarik setinggi kartu kiri, jadi tanpa ruang kosong di bawah gelembung); tinggi minimum kecil dicadangkan supaya kartu tidak melompat saat gelembung muncul satu per satu. (2) baris chip salam + kotak lokasi/cuaca dirapikan: rata kiri, jarak 10px (sebelumnya terpisah ~60px oleh column-gap hero-lebar.css), tinggi sama. */
@media (min-width:1000px){
  html body #site-content .rdr-isi>.rdr-ch{align-self:start!important}
  html body #site-content .rdr-ch-badan{flex:none!important;justify-content:flex-start!important;min-height:calc(176px*var(--sh,1))!important}
}
@media (min-width:901px) and (pointer:fine){
  html.rdr-on body #site-content header.hero .hero-inner{justify-content:flex-start!important;align-items:stretch!important;column-gap:10px!important;row-gap:8px!important}
  html.rdr-on body #site-content header.hero .hero-inner>.sw-chip,
  html.rdr-on body #site-content header.hero .hero-inner>.sw-ket{align-self:stretch!important;margin:0!important;min-height:40px!important;box-sizing:border-box}
}
