
/* codex:sidebar-pr-desktop-v1 */
@media (min-width:1025px){
  #sidebar .hm-footer-pr{margin:0 0 18px;padding:0;max-width:none;}
  #sidebar .hm-footer-pr__layout{padding:12px;}
  #sidebar .hm-footer-pr__head{display:block;margin:0 0 12px;}
  #sidebar .hm-footer-pr__title{margin:8px 0 0;font-size:17px;line-height:1.35;overflow-wrap:anywhere;}
  #sidebar .hm-footer-pr__section-note{margin:8px 0 10px;font-size:11px;line-height:1.45;}
  #sidebar .hm-footer-pr__intro-cta{display:flex;width:100%;min-height:36px;padding:8px 10px;font-size:12px;line-height:1.35;white-space:normal;text-align:center;}
  #sidebar .hm-footer-pr__track,#sidebar .hm-footer-pr__track--paid,#sidebar .hm-footer-pr__track--official{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  #sidebar .hm-footer-pr__media{aspect-ratio:4/3;height:auto;padding:4px;}
  #sidebar .hm-footer-pr__card{height:auto;}
  #sidebar .hm-footer-pr__caption{min-height:34px;padding:5px 3px;font-size:11px;line-height:1.3;}
}


/* codex:sidebar-pr-paid-one-v1 */
@media (min-width:1025px){
  #sidebar .hm-footer-pr__track--paid{grid-template-columns:1fr;gap:8px;}
}


/* codex:sidebar-pr-refresh-v1 */
@media (min-width:1025px){
  #sidebar .hm-footer-pr{margin:0 0 10px;}
  #sidebar .hm-footer-pr__layout{padding:10px;}
  #sidebar .hm-footer-pr__head{gap:10px;margin:0 0 8px;}
  #sidebar .hm-footer-pr__title{margin:5px 0 0;padding-left:8px;border-left:3px solid #2f7a41;font-size:16px;line-height:1.25;}
  #sidebar .hm-footer-pr__section-note{margin:5px 0 7px;font-size:11px;line-height:1.35;}
  #sidebar .hm-footer-pr__intro-cta{min-height:32px;padding:6px 8px;border-radius:6px;font-size:11px;}
  #sidebar .hm-footer-pr__track,#sidebar .hm-footer-pr__track--paid,#sidebar .hm-footer-pr__track--official{gap:6px;}
  #sidebar .hm-footer-pr__track--paid .hm-footer-pr__media{aspect-ratio:auto;height:150px;padding:4px;}
  #sidebar .hm-footer-pr__caption{min-height:30px;padding:4px 3px;font-size:11px;line-height:1.25;}
}


/* codex:sidebar-pr-paid-sticky-v1 */
@media (min-width:1025px){
  #sidebar .hm-footer-pr__track--paid{
    position:sticky;
    top:16px;
    z-index:4;
    padding:6px;
    border-radius:8px;
    background:rgba(251,254,253,.98);
    box-shadow:0 4px 12px rgba(18,57,65,.08);
  }
}


/* codex:sidebar-pr-paid-follow-v1 */
@media (min-width:1025px){
  #sidebar .hm-footer-pr__paid-follow{
    position:sticky;
    top:16px;
    z-index:3;
    margin:0 0 10px;
    padding:0;
    max-width:none;
  }
  #sidebar .hm-footer-pr__paid-follow .hm-footer-pr__layout{padding:10px;}
  #sidebar .hm-footer-pr__paid-follow .hm-footer-pr__track--paid{
    position:static;
    top:auto;
    z-index:auto;
    padding:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  #sidebar .hm-footer-pr:not(.hm-footer-pr__paid-follow){
    position:relative;
    z-index:4;
  }
}


/* codex:sidebar-pr-free-grid-v1 (2026-10-08 free banners: two columns keep the sticky rail inside the viewport) */
@media (min-width:1025px){
  #sidebar .hm-footer-pr__paid-follow .hm-footer-pr__track--paid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  #sidebar .hm-footer-pr__paid-follow .hm-footer-pr__track--paid .hm-footer-pr__media{height:118px;}
}
