/* Kỳ ngộ giang hồ (js/kyngo.js): bảng truy nã, mũi tên chỉ hướng, nút khiêu chiến */
#kyPoster{position:absolute;left:50%;top:22%;z-index:30;width:236px;max-width:calc(100% - 32px);padding:14px 16px 12px;border-radius:8px;
  background:linear-gradient(180deg,#f1e3c2,#e2cd9f);color:#3a2a17;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.45);cursor:pointer;border:0;
  transform:translate(-50%,-14px) rotate(-1.5deg);opacity:0;transition:opacity .35s,transform .35s;font-family:"Noto Sans",sans-serif}
#kyPoster.in{opacity:1;transform:translate(-50%,0) rotate(-1.5deg)}
#kyPoster.out{opacity:0;transform:translate(-50%,-10px) rotate(-1.5deg)}
#kyPoster .ky-big{font-size:28px;font-weight:800;letter-spacing:.24em;color:#8d2418;line-height:1.1}
#kyPoster.ky-h .ky-big{color:#1f5f55}
#kyPoster .ky-face{width:58px;height:58px;margin:8px auto 6px;border-radius:50%;background:#2a221a;display:grid;place-items:center;border:2px solid #8d241866}
#kyPoster.ky-h .ky-face{border-color:#1f5f5566}
#kyPoster .ky-face svg{width:38px;height:38px}
#kyPoster .ky-nm{font-size:16px;font-weight:800}
#kyPoster .ky-ep{font-size:12px;font-style:italic;opacity:.85}
#kyPoster .ky-ln{font-size:11px;margin-top:4px}
#kyPoster .ky-go{font-size:10px;margin-top:6px;opacity:.75;text-decoration:underline}
#kyPoster .ky-bt{font-size:10.5px;font-weight:700;margin-top:6px;color:#6b3a10}
/* giấy báo nhỏ suốt kỳ ngộ (kiểu nút trên sân: nền tối trong, vòng mờ), chạm = đi tới */
#kyNote{position:absolute;left:50%;bottom:118px;transform:translateX(-50%);z-index:24;max-width:calc(100% - 32px);height:30px;padding:0 14px 0 10px;border:0;border-radius:999px;
  background:rgba(20,26,24,.5);box-shadow:0 0 0 1px rgba(255,255,255,.18);color:#fff;display:flex;align-items:center;gap:7px;font-size:11px;cursor:pointer;white-space:nowrap}
#kyNote b{font-size:10px;letter-spacing:.06em;text-transform:uppercase;padding:2px 7px;border-radius:999px;background:#8d2418;color:#f1e3c2}
#kyNote.ky-h b{background:#1f5f55}
#kyNote .ky-nn{font-weight:700;overflow:hidden;text-overflow:ellipsis;min-width:0}
#kyNote .ky-ns{color:#ffd54f;font-size:10px}
#kyNote:hover,#kyNote:focus-visible{background:rgba(255,193,7,.2)}
#kyBtn{position:absolute;left:50%;bottom:158px;transform:translateX(-50%);z-index:24;height:34px;padding:0 18px;border:0;border-radius:999px;
  background:#2e7d6f;color:#fff;font-weight:700;font-size:13px;box-shadow:0 0 0 1px rgba(255,255,255,.25),0 4px 12px rgba(0,0,0,.4);cursor:pointer}
#kyBtn:hover,#kyBtn:focus-visible{background:#38978a}
#kyPoster[hidden],#kyNote[hidden],#kyBtn[hidden]{display:none!important}

/* giấy báo kỳ ngộ: hàng đầu + thẻ ghim khi giao đấu (2026-11-02) */
#kyNote .ky-l1{display:flex;align-items:center;gap:7px;min-width:0}
#kyNote.ky-pin{height:auto;flex-direction:column;align-items:stretch;gap:5px;padding:6px 14px 7px 10px;border-radius:14px;background:rgba(20,26,24,.72);box-shadow:0 0 0 1px rgba(239,83,80,.55),0 4px 12px rgba(0,0,0,.35)}
#kyNote.ky-pin.ky-h{box-shadow:0 0 0 1px rgba(77,182,172,.55),0 4px 12px rgba(0,0,0,.35)}
#kyNote .ky-l2{display:flex;align-items:center;gap:8px}
#kyNote .ky-hp{flex:1;height:5px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden;display:block;min-width:90px}
#kyNote .ky-hp i{display:block;height:100%;width:100%;border-radius:999px;background:linear-gradient(90deg,#c62828,#ef5350);transition:width .25s}
#kyNote.ky-h .ky-hp i{background:linear-gradient(90deg,#00897b,#4db6ac)}
#kyNote .ky-tm{font-size:10px;color:#cfd8d3;font-variant-numeric:tabular-nums;white-space:nowrap}
#kyNote.ky-run .ky-tm{color:#ffab91;font-weight:700}
#kyNote.ky-run .ky-ns{color:#ffab91}
