/* Buddy – Employee of the Month (fixed corner card) */
.eotm{position:fixed;right:20px;bottom:20px;z-index:900;font-family:"Inter",system-ui,sans-serif;color:#1c2a36}
.eotm-card{position:relative;width:260px;box-sizing:border-box;padding:16px 16px 14px;background:#fbf8f0;border:1px solid #ddd0ac;border-top:4px solid #9c5f22;border-radius:16px;box-shadow:0 2px 4px rgba(28,42,54,.08),0 14px 34px rgba(28,42,54,.22);display:flex;gap:12px;align-items:center;transform-origin:bottom right}
.eotm-photo-wrap{position:relative;flex:0 0 auto}
.eotm-photo{display:block;width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #9c5f22;box-shadow:0 0 0 3px #f2ecdc}
.eotm-medal{position:absolute;right:-6px;bottom:-4px;font-size:22px;line-height:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
.eotm-text{min-width:0}
.eotm-title{margin:0;padding-right:16px;font-size:.66rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9c5f22}
.eotm-name{margin:2px 0 0;font-family:"Fraunces",Georgia,serif;font-size:1.45rem;font-weight:600;line-height:1.1;color:#1c2a36}
.eotm-role{margin:2px 0 0;font-size:.8rem;font-weight:600;color:#1c2a36}
.eotm-line{margin:4px 0 0;font-size:.74rem;line-height:1.35;color:#5b6672}
.eotm-min{position:absolute;top:6px;right:6px;width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:#5b6672;font-size:18px;line-height:1;cursor:pointer;display:grid;place-items:center}
.eotm-min:hover{background:#ece3cd;color:#1c2a36}
.eotm-avatar{position:relative;display:none;width:64px;height:64px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
.eotm-avatar .eotm-photo{width:64px;height:64px;box-shadow:0 0 0 3px #f2ecdc,0 10px 24px rgba(28,42,54,.3)}
.eotm.is-min .eotm-card{display:none}
.eotm.is-min .eotm-avatar{display:block}
.eotm button:focus-visible{outline:2px solid #2f6f8f;outline-offset:3px}
@media (hover:hover){.eotm-card:hover,.eotm-avatar:hover{animation:eotm-wiggle .6s ease-in-out}}
@keyframes eotm-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-2.5deg)}50%{transform:rotate(2deg)}75%{transform:rotate(-1deg)}}
@keyframes eotm-in{from{opacity:0;transform:translateY(24px) scale(.92)}to{opacity:1;transform:none}}
.eotm{animation:eotm-in .6s cubic-bezier(.2,.9,.3,1.2) .8s both}
@media (max-width:599px){
  .eotm{right:12px;bottom:12px}
  .eotm-card{width:220px;padding:12px 12px 10px;gap:10px}
  .eotm-photo{width:56px;height:56px}
  .eotm-name{font-size:1.2rem}
  .eotm-line{display:none}
  .eotm-avatar,.eotm-avatar .eotm-photo{width:56px;height:56px}
}
@media (prefers-reduced-motion:reduce){.eotm{animation:none}.eotm-card:hover,.eotm-avatar:hover{animation:none}}
@media print{.eotm{display:none}}
/* Stack: Buddy on top, Aaron (2nd Place) below; both in normal flow so they never overlap */
.eotm-stack{position:fixed;right:20px;bottom:20px;z-index:900;display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none}
.eotm-stack .eotm{position:static;pointer-events:auto}
.eotm-stack .eotm--second{animation-delay:1.1s}
/* 2nd Place: ~72% scale, silver ribbon */
.eotm--second .eotm-card{width:190px;padding:11px 11px 10px;gap:9px;border-radius:12px;border-top:3px solid #8a96a3;background:#f6f7f9;border-color:#d3d9e0;border-top-color:#8a96a3;box-shadow:0 2px 4px rgba(28,42,54,.07),0 10px 24px rgba(28,42,54,.18)}
.eotm--second .eotm-photo{width:52px;height:52px;border:2px solid #8a96a3;box-shadow:0 0 0 2px #e9edf1}
.eotm--second .eotm-medal{font-size:16px;right:-5px;bottom:-3px}
.eotm--second .eotm-title{font-size:.56rem;letter-spacing:.08em;line-height:1.3;color:#5e6b78;padding-right:14px}
.eotm--second .eotm-name{font-size:1.08rem}
.eotm--second .eotm-role{font-size:.7rem}
.eotm--second .eotm-line{font-size:.66rem;margin-top:2px}
.eotm--second .eotm-min{width:22px;height:22px;font-size:15px;top:4px;right:4px}
.eotm--second .eotm-min:hover{background:#e3e8ed}
.eotm--second .eotm-avatar,.eotm--second .eotm-avatar .eotm-photo{width:46px;height:46px}
.eotm--second .eotm-avatar .eotm-photo{box-shadow:0 0 0 2px #e9edf1,0 8px 18px rgba(28,42,54,.28)}
@media (max-width:599px){
  .eotm-stack{right:12px;bottom:12px;gap:8px}
  .eotm-stack .eotm{right:auto;bottom:auto}
  .eotm--second .eotm-card{width:165px;padding:9px 9px 8px;gap:8px}
  .eotm--second .eotm-photo{width:42px;height:42px}
  .eotm--second .eotm-name{font-size:.95rem}
  .eotm--second .eotm-avatar,.eotm--second .eotm-avatar .eotm-photo{width:40px;height:40px}
}
:root[data-theme="dark"] .eotm--second .eotm-card{background:#151d26;border-color:#2b3846;border-top-color:#b9c3cd}
:root[data-theme="dark"] .eotm--second .eotm-photo{border-color:#b9c3cd;box-shadow:0 0 0 2px #101923}
:root[data-theme="dark"] .eotm--second .eotm-avatar .eotm-photo{box-shadow:0 0 0 2px #101923,0 8px 18px rgba(0,0,0,.5)}
:root[data-theme="dark"] .eotm--second .eotm-title{color:#b9c3cd}
:root[data-theme="dark"] .eotm--second .eotm-min:hover{background:#1d2a37}
@media print{.eotm-stack{display:none}}
