/* Isolated KONEBE event UI: existing product styles are unchanged. */
.konebe-competition-block{display:grid;gap:15px;margin-bottom:18px;min-width:0}
.konebe-competition-card{display:block;width:100%;padding:17px;border-radius:21px;border:1px solid rgba(249,205,102,.38);background:linear-gradient(130deg,#272118,#141c28 58%,#112335);color:#fef4d9;text-align:left;box-shadow:0 14px 36px #0002;box-sizing:border-box}
.konebe-competition-teaser{cursor:pointer;margin:12px 0 15px;font:inherit;transition:transform .2s ease,border-color .2s ease}
.konebe-competition-teaser:active{transform:scale(.99)}
.konebe-competition-card:focus-visible,.konebe-competition-refresh:focus-visible{outline:3px solid #eec577;outline-offset:3px}
.konebe-competition-top{display:flex;align-items:center;gap:12px}.konebe-competition-top>span:nth-child(2){min-width:0;flex:1}.konebe-competition-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:13px;background:#f5cd721f;border:1px solid #f5cd7244;color:#f6d077}.konebe-competition-icon svg{width:25px;height:25px}
.konebe-competition-top small{display:block;font-weight:800;letter-spacing:.09em;font-size:9px;color:#d9ba74}.konebe-competition-top strong{display:block;font-size:15px;color:#fff;line-height:1.3}
.konebe-competition-state{white-space:nowrap;font-size:9px;color:#d4ffde;background:#33864a35;padding:5px 7px;border-radius:12px}.konebe-competition-prize{display:block;font-size:25px;font-weight:900;letter-spacing:.014em;color:#ffd67b;margin-top:14px}.konebe-competition-sub{display:block;color:#ecedf1;font-size:12px;font-weight:750;margin:1px 0 11px}.konebe-competition-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:11px;color:#e1cc94}.konebe-competition-meta [data-competition-countdown]{font-weight:750}
.konebe-competition-open{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;margin-top:13px;color:#ffd785;border-top:1px solid #ffd78528;padding-top:10px}
.konebe-competition-summary{font-size:11px;display:block;margin-top:10px;color:#e9e3d5}.konebe-competition-summary b{color:#fff}
.konebe-competition-event{padding:0;overflow:hidden}.konebe-competition-event>summary{display:block;list-style:none;cursor:pointer;padding:16px}.konebe-competition-event>summary::-webkit-details-marker{display:none}.konebe-competition-chevron{transition:transform .25s ease}.konebe-competition-event[open] .konebe-competition-chevron{transform:rotate(180deg)}.konebe-competition-rules{border-top:1px solid #ffd78530;padding:13px 18px 16px;background:#0d1929}.konebe-competition-rules h3{font-size:14px;color:#ffe3a3;margin:0 0 9px}.konebe-competition-rules p{font-size:12px;color:#dae2eb;line-height:1.55;margin:8px 0}
.konebe-competition-standings{min-width:0;border:1px solid #ffffff20;border-radius:18px;padding:15px;background:#111c2d;color:#f6f7f9}.konebe-competition-ranking-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.konebe-competition-ranking-header small{font-size:10px;color:#afbbcc}.konebe-competition-ranking-header h2{display:flex;align-items:center;gap:8px;font-size:18px;margin:5px 0}.konebe-competition-ranking-header h2 svg{width:20px;height:20px;color:#f3d17f}.konebe-competition-refresh{border:1px solid #ffffff24;border-radius:11px;background:#ffffff0d;color:#fff;min-width:36px;min-height:36px;cursor:pointer;font-size:19px}
.konebe-competition-my{background:#ffffff09;border:1px solid #ffffff16;border-radius:13px;padding:11px;margin:10px 0 14px}.konebe-competition-my h3{font-size:12px;color:#dccb91;margin:0 0 10px}.konebe-competition-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.konebe-competition-stats article{min-width:0;padding:8px 6px;border-radius:8px;background:#ffffff0b}.konebe-competition-stats article span{display:block;color:#abb4c2;font-size:10px}.konebe-competition-stats article strong{font-size:13px;word-break:break-word}.konebe-competition-my>small{font-size:11px;color:#ffcb9d}
.konebe-competition-table{width:100%;min-width:0}.konebe-competition-row{display:grid;grid-template-columns:37px minmax(0,1.8fr) minmax(65px,.7fr) minmax(70px,.85fr);gap:5px;align-items:center;padding:10px 6px;border-bottom:1px solid #ffffff13;font-size:11px}.konebe-competition-row > span:nth-child(2){overflow-wrap:anywhere;font-weight:700}.konebe-competition-row > span:nth-child(2) small{display:block;font-size:9px;font-weight:500;color:#93a3b8}.konebe-competition-row strong,.konebe-competition-row>span:last-child{text-align:right}.konebe-competition-tablehead{font-size:9px;font-weight:850;letter-spacing:.04em;color:#94a8c2}.konebe-competition-row.is-podium{background:#d8b3540e}.konebe-competition-row.is-mine{background:#608ee42a;border-left:2px solid #73b4ff}.konebe-competition-placeholder{padding:16px 4px;font-size:12px;color:#b9c8d7}.konebe-competition-disclaimer{font-size:10px;line-height:1.5;color:#a8b4c0;margin:15px 0 0}
/* V2.59: TOP 10 visible; one personal placement card directly beneath it. */
.konebe-competition-position{margin-top:13px;padding:11px 9px 8px;border:1px solid #73b4ff59;border-radius:13px;background:#608ee417;min-width:0}
.konebe-competition-position h3{margin:0 0 7px 5px;font-size:12px;font-weight:800;color:#c4dfff}
.konebe-competition-position .konebe-competition-row{border-bottom:0;border-radius:8px}
.konebe-competition-position .konebe-competition-placeholder{margin:0;padding:7px 5px 10px}
/* V2.65: financial ranking uses the fixed KONEBE brand image. */
.konebe-competition-row .konebe-rank-person{display:flex;align-items:center;gap:8px;min-width:0;overflow:visible;font-weight:700}
.konebe-competition-row .konebe-rank-avatar{width:32px;height:32px;min-width:32px;flex:0 0 32px;box-sizing:border-box;overflow:hidden}
.konebe-competition-row .konebe-rank-avatar img{width:100%;height:100%;object-fit:contain;padding:3px;box-sizing:border-box}
.konebe-rank-person-text{min-width:0;flex:1;display:grid;gap:3px}
.konebe-rank-nickname{display:flex;align-items:center;flex-wrap:wrap;column-gap:5px;row-gap:2px;min-width:0}
.konebe-rank-username{min-width:0;max-width:100%;overflow-wrap:anywhere;font-weight:750}
.konebe-competition-row .konebe-rank-person-text>small{font-size:9px;font-weight:500;color:#93a3b8}
@media(max-width:440px){
 .konebe-competition-row .konebe-rank-person{gap:6px}
 .konebe-competition-row .konebe-rank-avatar{width:27px;height:27px;min-width:27px;flex-basis:27px}
}
/* V2.55: header event trophy is the icon itself, without a surrounding card. */
.dashboard-header-compact .header-event-trophy-button.icon-button,
.dashboard-header-compact .header-event-trophy-button.icon-button:hover,
.dashboard-header-compact .header-event-trophy-button.icon-button:active,
.dashboard-header-compact .header-event-trophy-button.icon-button.is-active{
  border:0!important;background:transparent!important;box-shadow:none!important;
  border-radius:0!important;padding:0!important;color:#f2ca62!important;
  display:grid;place-items:center;appearance:none;
}
.dashboard-header-compact .header-event-trophy-button svg{
  width:24px;height:24px;max-width:24px;max-height:24px;
  overflow:visible;filter:drop-shadow(0 0 2.5px rgba(255,190,62,.42));
  transition:filter .2s ease;pointer-events:none;
}
.dashboard-header-compact .header-event-trophy-button:hover svg,
.dashboard-header-compact .header-event-trophy-button.is-active svg{
  filter:drop-shadow(0 0 5px rgba(255,211,111,.75));
}
.dashboard-header-compact .header-event-trophy-button:focus-visible{
  outline:2px solid #ecc268;outline-offset:0;
}
.konebe-header-trophy-shine-band{
  animation:konebe-header-trophy-lightpass 3.6s ease-in-out infinite;
}
@keyframes konebe-header-trophy-lightpass{
  0%,13%{transform:translateX(0)}
  48%,100%{transform:translateX(49px)}
}
.dashboard-header-compact .header-brand-logo-static{cursor:default}
@media(prefers-reduced-motion:reduce){
  .konebe-header-trophy-shine-band{animation:none;opacity:0}
  .dashboard-header-compact .header-event-trophy-button svg{transition:none}
}
@media(max-width:440px){.konebe-competition-state{font-size:8px}.konebe-competition-prize{font-size:22px}.konebe-competition-top strong{font-size:13px}.konebe-competition-row{grid-template-columns:28px minmax(0,1.8fr) minmax(45px,.7fr) minmax(64px,.85fr);font-size:10px;gap:3px}.konebe-competition-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.konebe-competition-teaser,.konebe-competition-chevron{transition:none}}

/* V2.67: referral CTA appears only when a successful ranking response has no visitor classification. */
.konebe-competition-unranked{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:0 5px 7px}
.konebe-competition-unranked .konebe-competition-placeholder{margin:0;padding:5px 0 0}
.konebe-competition-participate{appearance:none;min-height:40px;min-width:126px;padding:9px 18px;border:1px solid #b8ff3b;border-radius:11px;background:#b8ff3b;color:#17241a;font-size:12px;font-weight:850;cursor:pointer;touch-action:manipulation}
.konebe-competition-participate:hover{background:#d0ff81}
.konebe-competition-participate:focus-visible{outline:3px solid #eec577;outline-offset:3px}

/* Position CTA: fixed to the card's right edge and vertically centered on the full card. */
.konebe-competition-position-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:27px;}
.konebe-competition-position-heading h3{margin:0 0 0 5px;min-width:0;}
.konebe-competition-position.has-participate{position:relative;padding-right:105px;}
.konebe-competition-position>.konebe-competition-participate{position:absolute;top:50%;right:9px;transform:translateY(-50%);min-width:0;min-height:27px;padding:5px 11px;border-radius:8px;font-size:10px;line-height:1.1;white-space:nowrap;}
.konebe-competition-position .konebe-competition-unranked{padding:0 5px 2px;}
