/* FALARYA PREMIUM MOBIL V3 - targeted presentation layer
   Load AFTER mobile-premium-v2.css. No server/reading/API changes.
   Existing logo, backgrounds, cards, links, music controls remain. */
@media (max-width:760px) {
  /* Compact but do not conceal music, menu or install controls. */
  .topbar {
    padding:7px 10px 8px!important;
    row-gap:4px!important;
    column-gap:6px!important;
    align-items:center!important;
  }
  .topbar .brand { font-size:19px!important; gap:6px!important; }
  .topbar .falarya-brand-logo { height:30px!important; width:30px!important; flex-basis:30px!important; }
  .topbar .falarya-brand-text { font-size:19px!important; }
  .topbar .header-tools { gap:4px!important; min-width:0!important; }
  .topbar .header-tools :is(button,select,.user-music-button) { box-sizing:border-box; min-height:36px; }
  .topbar #musicSelect { max-width:104px!important; min-width:0!important; font-size:11px!important; padding:5px 4px!important; }
  .topbar .user-music-button { font-size:11px!important; padding:6px!important; white-space:nowrap; }
  .topbar #soundToggle { min-width:34px!important; width:34px!important; padding:5px!important; }
  .topbar #mobileMenu { min-width:36px!important; width:36px!important; height:36px!important; }
  .topbar #installApp:not([hidden]) { min-height:32px!important; padding:5px 9px!important; font-size:11px!important; }
  /* Compact brand presentation; keep the real hero image. */
  body:not(.admin-body) .hero { min-height:clamp(350px,54svh,470px)!important; }
  body:not(.admin-body) .hero-copy { padding:clamp(84px,15svh,130px) 16px 21px!important; }
  body:not(.admin-body) .hero h1 { font-size:clamp(31px,8.9vw,41px)!important; line-height:1.04!important; margin:8px 0!important; }
  body:not(.admin-body) .hero-copy > p { font-size:13px!important; line-height:1.45!important; margin:8px 0!important; }
  body:not(.admin-body) .hero-copy .kicker { font-size:10px!important; letter-spacing:.10em!important; }
  body:not(.admin-body) .hero-actions { margin-top:12px!important; }
  body:not(.admin-body) .hero-actions .primary { min-height:44px!important; }
  body:not(.admin-body) .hero-seal { width:70px!important; height:70px!important; }
  /* Preserve all introductory copy; reduce its footprint, not its substance. */
  body:not(.admin-body) .intro { padding:17px 16px!important; gap:7px!important; }
  body:not(.admin-body) .intro h2 { font-size:clamp(22px,5.9vw,29px)!important; line-height:1.1!important; margin:5px 0!important; }
  body:not(.admin-body) .intro p { font-size:12px!important; line-height:1.44!important; margin:4px 0!important; }
  body:not(.admin-body) #services { padding:18px 11px 36px!important; scroll-margin-top:95px; }
  body:not(.admin-body) #services .section-head { margin-bottom:13px!important; }
  body:not(.admin-body) #services .section-head h2 { font-size:clamp(24px,6.8vw,32px)!important; line-height:1.09!important; }
  body:not(.admin-body) #services .section-head p { font-size:12px!important; line-height:1.45!important; }
  body:not(.admin-body) #services .service-grid { gap:9px!important; }
  body:not(.admin-body) #services .service-card { height:clamp(208px,56vw,250px)!important; }
  body:not(.admin-body) #services .service-card h3 { font-size:clamp(17px,4.9vw,23px)!important; }
  body:not(.admin-body) #services .service-card p { font-size:10.5px!important; }
  body:not(.admin-body) #services .service-card > div:last-child { left:10px!important; right:10px!important; bottom:10px!important; }
  /* Never let buttons or controls obstruct mobile form or reading content. */
  .result-page,.dashboard { padding-bottom:max(84px,calc(env(safe-area-inset-bottom,0px) + 62px))!important; }
  .reading-text { font-size:16px!important; line-height:1.75!important; }
  .ritual-form :is(button,input,select,textarea) { max-width:100%; }
}
@media (min-width:341px) and (max-width:390px) {
  .topbar .header-tools { flex:1 1 100%!important; justify-content:flex-end!important; }
  .topbar #installApp:not([hidden]) { margin-right:auto!important; }
}
@media (max-width:340px) {
  .topbar .header-tools { flex:1 1 100%!important; justify-content:flex-end!important; }
  body:not(.admin-body) #services .service-card { height:235px!important; }
}
@media (min-width:761px) and (max-width:1180px) {
  #services .service-grid { gap:12px!important; }
  #services .service-card { height:clamp(270px,32vw,355px)!important; }
  .intro { padding-top:32px!important; padding-bottom:32px!important; }
}
@media (prefers-reduced-motion:reduce) {
  .hero *,#services .service-card * { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
