
@media(max-width:900px){
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body.rn-safe{
  --rn-bottom:env(safe-area-inset-bottom,0px);
  --rn-top:env(safe-area-inset-top,0px);
  background:var(--rn-soft)!important;
  overflow-x:hidden!important;
  padding-bottom:calc(76px + var(--rn-bottom))!important;
  -webkit-font-smoothing:antialiased;
}
body.rn-safe *,body.rn-safe *:before,body.rn-safe *:after{box-sizing:border-box}
body.rn-safe img,body.rn-safe video,body.rn-safe iframe{max-width:100%;height:auto}
body.rn-safe iframe{width:100%}

/* Mobile shell: deliberately isolated from existing radio/PWA elements */
#rn-safe-top{
  position:sticky;top:0;z-index:10000;
  height:calc(58px + var(--rn-top));
  padding:var(--rn-top) 14px 0;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(0,0,0,.08);
  display:flex;align-items:center;gap:10px;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)
}
#rn-safe-top .logo{
  font:800 22px/1 system-ui,-apple-system,sans-serif;
  color:#111;text-decoration:none;letter-spacing:-.7px
}
#rn-safe-top .logo b{color:var(--rn-accent)}
#rn-safe-top .spacer{flex:1}
#rn-safe-top button{
  width:42px;height:42px;border:0;border-radius:50%;
  background:#f2f3f5;color:#111;font-size:20px
}

#rn-safe-bottom{
  position:fixed;left:8px;right:8px;
  bottom:calc(8px + var(--rn-bottom));
  z-index:9000;height:62px;
  background:rgba(18,18,18,.97);border-radius:20px;
  display:grid;grid-template-columns:repeat(4,1fr);
  box-shadow:0 12px 32px rgba(0,0,0,.24);
  overflow:hidden
}
#rn-safe-bottom a,#rn-safe-bottom button{
  border:0;background:none;color:#fff;text-decoration:none;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;padding:0;font:600 10px/1 system-ui,-apple-system,sans-serif
}
#rn-safe-bottom .ico{font-size:20px;line-height:1}

/* Search overlay owned only by this plugin */
#rn-safe-search{
  position:fixed;inset:0;z-index:12000;
  background:rgba(0,0,0,.46);display:none;
  padding:calc(72px + var(--rn-top)) 14px 14px
}
#rn-safe-search.open{display:block}
#rn-safe-search .box{
  background:#fff;border-radius:18px;padding:14px;
  box-shadow:0 18px 50px rgba(0,0,0,.28)
}
#rn-safe-search form{display:flex;gap:8px}
#rn-safe-search input{
  flex:1;min-width:0;height:48px;
  border:1px solid #ddd;border-radius:13px;
  padding:0 13px;font-size:16px
}
#rn-safe-search button{
  height:48px;border:0;border-radius:13px;
  background:#111;color:#fff;padding:0 14px;font-weight:700
}

/* Content-only styling. No selectors target radio, audio controls, install prompts,
   service-worker/PWA banners, cookie scripts, fixed player UI or their buttons. */
body.rn-safe .site,
body.rn-safe main,
body.rn-safe .site-content,
body.rn-safe .content-area,
body.rn-safe .container,
body.rn-safe .wrapper,
body.rn-safe .td-container,
body.rn-safe .td-pb-row,
body.rn-safe .tdc-row,
body.rn-safe .jeg_main{
  min-width:0!important;max-width:100%!important
}
body.rn-safe .site-content,
body.rn-safe .content-area,
body.rn-safe main,
body.rn-safe .td-container,
body.rn-safe .td-pb-row,
body.rn-safe .tdc-row{
  padding-left:12px!important;padding-right:12px!important
}
body.rn-safe h1{font-size:clamp(30px,8.5vw,42px)!important;line-height:1.07!important;letter-spacing:-.03em}
body.rn-safe h2{font-size:clamp(23px,6.5vw,31px)!important;line-height:1.13!important}
body.rn-safe h3{font-size:clamp(18px,5vw,23px)!important;line-height:1.2!important}
body.rn-safe .entry-content,
body.rn-safe .td-post-content,
body.rn-safe .jeg_post_content{
  font-size:17px!important;line-height:1.72!important
}
body.rn-safe article,
body.rn-safe .td_module_wrap,
body.rn-safe .jeg_post{
  border-radius:15px;overflow:hidden
}
body.rn-safe article img,
body.rn-safe .td_module_wrap img,
body.rn-safe .jeg_post img{
  display:block;width:100%;object-fit:cover
}
body.rn-safe .entry-title,
body.rn-safe .td-module-title,
body.rn-safe .jeg_post_title{text-wrap:balance}
body.rn-safe .entry-meta,
body.rn-safe .td-post-date,
body.rn-safe .jeg_meta_date{font-size:12px!important;color:#73767b!important}
body.rn-safe table{display:block;width:100%;overflow-x:auto}
body.rn-safe input,body.rn-safe select,body.rn-safe textarea{max-width:100%;font-size:16px}

/* Keep third-party/site native fixed UI above our nav without changing its functionality */
body.rn-safe audio{max-width:100%}
}

/* Extra-small devices */
@media(max-width:390px){
#rn-safe-top{padding-left:10px;padding-right:10px}
#rn-safe-bottom{left:6px;right:6px}
}
