/* FIVE PK - PKO Jackpot wheel (13/10/2026) */
.pkoj-wheel { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(0,0,0,.45); animation: pkoj-in .25s ease-out; cursor: default; }
body > .pkoj-wheel { position: fixed; }
.pkoj-wheel.is-done { cursor: pointer; }
.pkoj-wheel.is-out { opacity: 0; transition: opacity .25s; }
.pkoj-card { width: min(320px, 86vw); padding: 14px 16px 16px; border-radius: 18px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 0%, #2b2140, #120d1c 70%); border: 2px solid #d4af37; box-shadow: 0 10px 40px rgba(0,0,0,.6), 0 0 24px rgba(212,175,55,.35); }
.pkoj-title { font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; color: #f3d36b; }
.pkoj-sub { font-size: .85rem; opacity: .85; margin: 2px 0 10px; }
.pkoj-stage { position: relative; width: min(220px, 60vw); aspect-ratio: 1; margin: 0 auto; }
.pkoj-disc { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 5px #d4af37, 0 0 18px rgba(212,175,55,.6);
  transition: transform 3.3s cubic-bezier(.12,.67,.12,1); will-change: transform; }
.pkoj-disc svg { width: 100%; height: 100%; display: block; }
.pkoj-disc text { fill: #fff; font: 800 15px system-ui, sans-serif; paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: 2px; }
.pkoj-pointer { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0;
  border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid #f3d36b; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.pkoj-result { min-height: 3.2em; margin-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pkoj-result strong { font-size: 2rem; line-height: 1; color: #f3d36b; animation: pkoj-pop .45s cubic-bezier(.2,1.6,.4,1); }
.pkoj-result span { font-weight: 700; }
.pkoj-result small { font-size: .72rem; opacity: .75; }
.pkoj-wheel.is-big .pkoj-card { animation: pkoj-glow 1s ease-in-out infinite alternate; }
@keyframes pkoj-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pkoj-pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pkoj-glow { from { box-shadow: 0 0 20px rgba(212,175,55,.4); } to { box-shadow: 0 0 46px rgba(243,211,107,.95); } }
@media (max-width: 640px) { .pkoj-card { padding: 10px 12px 12px; } .pkoj-title { font-size: 1rem; } .pkoj-result strong { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .pkoj-disc { transition: none; } .pkoj-result strong, .pkoj-wheel.is-big .pkoj-card { animation: none; } }
/* Tournament end screen (15/10/2026) */
.fivepk-tourney-end { position: absolute; inset: 0; z-index: 55; display: grid; place-items: center; background: rgba(0,0,0,.55); animation: pkoj-in .3s ease-out; }
body > .fivepk-tourney-end { position: fixed; }
.fte-card { width: min(340px, 88vw); padding: 14px 16px 16px; border-radius: 18px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 0%, #1a2142, #0b0f1e 70%); border: 2px solid #d4af37; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.fte-kicker { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #f3d36b; font-size: .8rem; }
.fte-name { font-size: .85rem; opacity: .85; }
.fte-trophy { font-size: 2.4rem; line-height: 1.2; }
.fte-winner { font-size: 1.1rem; } .fte-winner strong { color: #f3d36b; }
.fte-prize { font-weight: 700; margin-top: 2px; }
.fte-last { margin: 10px 0 6px; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 2px; }
.fte-last span { font-size: .72rem; opacity: .75; text-transform: uppercase; } .fte-last small { font-size: .74rem; opacity: .85; }
.fte-ranks { list-style: none; margin: 6px 0 10px; padding: 0; font-size: .85rem; }
.fte-ranks li { display: flex; gap: 6px; justify-content: center; } .fte-ranks li span { opacity: .8; }
.fte-lobby { display: inline-block; text-decoration: none; }
body.fivepk-tournament-over #reconnect-banner, body.fivepk-tournament-over #table-session-banner { display: none !important; }
body.fivepk-tournament-over .action-panel, body.fivepk-tournament-over #pre-action-panel { display: none !important; }
@media (max-width: 640px) { .fte-card { padding: 10px 12px 12px; } .fte-trophy { font-size: 1.8rem; } }
