/* Advicer 3.1.1 — UI polish, live countdown, notification badge and LWS auth refinements. */

/* Auth actions: keep a visible, consistent gap between primary and secondary actions. */
.auth-v14-card .auth-submit + .auth-secondary-btn,
.auth-v14-card form + .auth-secondary-btn{margin-top:12px!important}
.auth-v14-card .auth-secondary-btn{display:flex;align-items:center;justify-content:center;min-height:50px;width:100%}

/* Dynamic viewport sizing prevents a phantom footer/scroll gap on auth screens. */
body.auth-page{min-height:100dvh!important;overflow-x:hidden}
body.auth-page main{min-height:0!important;flex:1 1 auto!important}
body.auth-page .auth-v14{min-height:100dvh!important}
body.auth-page .auth-v14-panel{min-height:0!important}

/* Feed avatars: no decorative coloured ring around profile photos. */
.author-avatar{width:46px!important;height:46px!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
.author-avatar::before{content:none!important;display:none!important}
.author-avatar .avatar{width:46px!important;height:46px!important;border:0!important;box-shadow:none!important;border-radius:50%!important}

/* Percent result indicators must remain geometrically circular at every percentage. */
.choice-pct,
.choice.is-winner .choice-pct{box-sizing:border-box!important;aspect-ratio:1/1!important;min-width:0!important;min-height:0!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;line-height:1!important;white-space:nowrap!important;flex:0 0 auto!important}
.choice-pct{width:44px!important;height:44px!important}
.choice.is-winner .choice-pct{width:54px!important;height:54px!important}

/* Wishlist star clears the majority badge rather than sitting on top of it. */
.choice.is-winner + .choice-wishlist{top:58px!important}

/* Profile moderation links share one baseline and one interaction height. */
.profile-safety-actions{display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:wrap!important}
.profile-safety-actions form{display:flex!important;align-items:center!important;margin:0!important}
.profile-report-link,.profile-block-link{margin:0!important;min-height:30px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;line-height:1!important;padding:0!important;vertical-align:middle!important}
.profile-report-link svg,.profile-block-link svg{display:block!important;flex:0 0 auto!important}

/* Live publication countdown. */
.card-status.post-countdown{font-variant-numeric:tabular-nums;white-space:nowrap}
.card-status.post-countdown [data-countdown-value],
.time-pill [data-countdown-value]{font-variant-numeric:tabular-nums;letter-spacing:.02em}

/* Notification indicator: always red and clearly separated from the bell. */
.bell{position:relative!important}
.bell [data-notification-badge]{position:absolute!important;top:-5px!important;right:-7px!important;z-index:4!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:999px!important;display:grid!important;place-items:center!important;background:#e8424e!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 4px 10px rgba(199,42,55,.28)!important;font-size:10px!important;font-weight:900!important;line-height:1!important}
.bell [data-notification-badge][hidden],.notification-mobile-count[hidden]{display:none!important}
.notification-mobile-count{background:#e8424e!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 3px 8px rgba(199,42,55,.24)!important}

@media(max-width:760px){
  .choice-pct{width:38px!important;height:38px!important;font-size:10px!important}
  .choice.is-winner .choice-pct{width:46px!important;height:46px!important;font-size:13px!important}
  .choice.is-winner + .choice-wishlist{top:50px!important}
  .card-status.post-countdown{display:inline-flex!important;font-size:9px!important;padding:5px 7px!important}
  .author-avatar{width:42px!important;height:42px!important}
  .author-avatar .avatar{width:42px!important;height:42px!important}
  .profile-safety-actions{gap:12px!important}
}

@media(max-width:390px){
  .card-status.post-countdown{font-size:8px!important}
  .choice.is-winner + .choice-wishlist{top:47px!important}
}
