/* 蒲公英 PC 侧边栏搬运版 2026-11-25
   来源：站点原有 .fixed_right（首页/文章页等 478 页已有），仅给缺它的 /p/ 页面补齐。
   使用独立类名 .pgy-fixed-right，绝不覆盖站点原组件样式。 */
.pgy-fixed-right{
  z-index:999999;position:fixed;left:10px;top:50%;transform:translateY(-200px);
  width:86px;height:420px;cursor:pointer;border-radius:4px;background:#fff;
  box-shadow:0 0 20px rgba(0,0,0,.06);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased
}
/* 窄屏（含手机访问 www）隐藏，避免压住正文 */
@media (max-width:1199px){.pgy-fixed-right{display:none!important}}

.pgy-fixed-right ul{margin:0;padding:0;list-style:none}
.pgy-fixed-right li{list-style:none}
.pgy-fixed-right .fr_box{
  width:100%;height:84px;position:relative;border-bottom:solid 1px #f6f6f6;
  display:flex;justify-content:center;align-items:center;flex-direction:column;
  text-align:center;transition:all ease .2s
}
.pgy-fixed-right li:last-child .fr_box{border-bottom:none}
.pgy-fixed-right .fr_box>a{display:block;text-decoration:none}
.pgy-fixed-right .fr_box>a h4{margin-top:6px;margin-bottom:0;font-size:14px;color:#555;line-height:14px;font-weight:400}
.pgy-fixed-right .fr_box .icon{width:36px;height:36px;margin:0 auto 5px;background-position:center;background-repeat:no-repeat}
.pgy-fixed-right li.a .fr_box .icon{background-image:url(https://www.pgyenglish.com/file/img/r_zixun.png)}
.pgy-fixed-right li.b .fr_box .icon{background-image:url(https://www.pgyenglish.com/file/img/r_weixin.png)}
.pgy-fixed-right li.c .fr_box .icon{background-image:url(https://www.pgyenglish.com/file/img/r_tel.png)}
.pgy-fixed-right li.d .fr_box .icon{background-image:url(https://www.pgyenglish.com/file/img/r_yuyue.png)}
.pgy-fixed-right li.e .fr_box .icon{background-image:url(https://www.pgyenglish.com/file/img/r_top.png)}
.pgy-fixed-right li.active .fr_box,.pgy-fixed-right li .fr_box:hover{background-color:#28a6c5}
.pgy-fixed-right li.active .fr_box>a h4,.pgy-fixed-right li .fr_box:hover>a h4{color:#fff}
.pgy-fixed-right li:first-child.active .fr_box,.pgy-fixed-right li:first-child .fr_box:hover{border-top-left-radius:4px;border-top-right-radius:4px}
.pgy-fixed-right li:last-child.active .fr_box,.pgy-fixed-right li:last-child .fr_box:hover{border-bottom-left-radius:4px;border-bottom-right-radius:4px}
.pgy-fixed-right li.active .fr_box .icon,.pgy-fixed-right li.a .fr_box:hover .icon{background-image:url(https://www.pgyenglish.com/file/img/r_h_zixun.png)}
.pgy-fixed-right li.b .fr_box:hover .icon{background-image:url(https://www.pgyenglish.com/file/img/r_h_weixin.png)}
.pgy-fixed-right li.c .fr_box:hover .icon{background-image:url(https://www.pgyenglish.com/file/img/r_h_tel.png)}
.pgy-fixed-right li.d .fr_box:hover .icon{background-image:url(https://www.pgyenglish.com/file/img/r_h_yuyue.png)}
.pgy-fixed-right li.e .fr_box:hover .icon{background-image:url(https://www.pgyenglish.com/file/img/r_h_top.png)}

.pgy-fixed-right .popbox{
  display:none;position:absolute;width:260px;background-color:#fff;top:0;left:80px;
  box-shadow:0 0 8px #c7c7c7;border-top-right-radius:4px;border-bottom-right-radius:4px;
  padding:20px;box-sizing:border-box;cursor:default
}
.pgy-fixed-right li.b:hover .popbox,
.pgy-fixed-right li.c:hover .popbox,
.pgy-fixed-right li.d:hover .popbox{display:block}
.pgy-fixed-right .popbox>h3{font-size:16px;font-weight:bold;margin-bottom:5px;line-height:20px;color:#333}
.pgy-fixed-right li.d .popbox>a{display:block;line-height:20px;margin-bottom:10px;color:#1e8aa5;text-decoration:none}
.pgy-fixed-right .popbox img{width:150px;height:150px;margin:0 auto;display:block;border-radius:4px}
.pgy-fixed-right li.b .popbox p{font-size:12px;color:#333;line-height:20px;margin-top:10px}
.pgy-fixed-right li.c .popbox a{font-size:24px;color:#1e8aa5;margin-top:15px;display:inline-block}
.pgy-fixed-right .popbox>p{font-size:12px;color:#666;line-height:18px;margin:12px 0 0}

#pgy-fr-toast{
  position:fixed;left:50%;bottom:34px;transform:translateX(-50%);
  background:rgba(17,34,51,.9);color:#fff;padding:10px 20px;border-radius:22px;
  z-index:2147483001;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s
}
#pgy-fr-toast.on{opacity:1}
