/* Round outcomes (owner, 2026-11-22). The owner rejected a recolour of the old League-style strip and a gold plaque
   ("too vibe-coded"), then picked the Sunburst out of ten prototypes: no frame, the Find Match rays
   (skin/play-flow/burst.png) rising behind the word, the round above it and nothing else. His notes: the rays must feather out on every side with no
   straight edge anywhere; no underline or flourish; a big word; a defeat is ruby red, never gold. A draw is
   silver. The markup is unchanged (match-results.mjs roundResultsHTML). */
#wb-ui #wb-banner{top:38%;width:min(520px,calc(100vw - 32px));padding:0;border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;z-index:6;pointer-events:none}
#wb-ui .wb-round-result{--round-accent:#e8e2d4;--round-ink:linear-gradient(#ffffff,#e8e2d4 45%,#a8a294);
 position:relative;padding:98px 20px 14px;border:0;background:radial-gradient(closest-side ellipse at 50% 58%,#0b0705c8,#0b070566 50%,#0b070522 78%,transparent)}
#wb-ui .wb-round-result[data-outcome=victory]{--round-accent:#ffd100;--round-ink:linear-gradient(#fff6c4,#ffd100 48%,#c98a1e);}
#wb-ui .wb-round-result[data-outcome=defeat]{--round-accent:#e0324a;--round-ink:linear-gradient(#ff8f9a,#e0324a 46%,#8f1024);}
/* Rays: the burst art itself, so the rays keep their shape, feathered away at the bottom and both sides so no edge
   shows. A defeat turns the same art ruby (the art is orange; -40 degrees lands on ruby); a draw is grey. */
#wb-ui .wb-round-result:before{content:'';position:absolute;z-index:0;left:50%;top:-14px;width:min(500px,100%);height:210px;transform:translateX(-50%);background:url('./skin/play-flow/burst.png') center/100% 100% no-repeat;filter:var(--round-rays-filter,grayscale(1) brightness(1.1));pointer-events:none;
 /* One elliptical mask that reaches zero before every side of the box, so no straight edge can show. */
 -webkit-mask:radial-gradient(closest-side ellipse at 50% 56%,#000 22%,#000a 48%,#0004 72%,transparent);mask:radial-gradient(closest-side ellipse at 50% 56%,#000 22%,#000a 48%,#0004 72%,transparent)}
#wb-ui .wb-round-result[data-outcome=victory]{--round-rays-filter:brightness(1.45) saturate(1.15)}
/* A victory breathes (owner, 2026-11-22: "lightly pulsate… a slight brightness, to indicate victory"): the rays alone
   brighten and settle every three seconds. Still for players who ask for reduced motion. */
@media(prefers-reduced-motion:no-preference){#wb-ui .wb-round-result[data-outcome=victory]:before{animation:wb-round-breathe 3s ease-in-out infinite}
 @keyframes wb-round-breathe{0%,100%{filter:brightness(1.25) saturate(1.1)}50%{filter:brightness(1.75) saturate(1.2)}}}
#wb-ui .wb-round-result[data-outcome=defeat]{--round-rays-filter:hue-rotate(-40deg) saturate(2.4) brightness(.78)}
#wb-ui .wb-round-result>*{position:relative;z-index:1}
/* A rest turn keeps its own compact panel (match-results.css): no rays. */
#wb-ui .wb-round-result[data-round-kind=rest]:before{content:none}
#wb-ui #wb-banner .wb-round-title{display:block;margin:0 0 6px}
#wb-ui #wb-banner .wb-round-title>span{display:none}
#wb-ui #wb-banner .wb-round-title strong{display:inline-block;font-family:WarbandFriz,Georgia,serif!important;font-weight:400!important;font-size:clamp(54px,6vw,80px)!important;line-height:1.05;letter-spacing:1px;text-transform:none;color:var(--round-accent)!important;background:var(--round-ink);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none!important;filter:drop-shadow(0 2px 2px #000)}
#wb-ui #wb-banner .wb-result-eyebrow{display:block;font-family:WarbandFriz,Georgia,serif!important;color:#cdbf9f!important;font-size:13px!important;letter-spacing:.5px;text-transform:none;text-shadow:0 1px 2px #000}
#wb-ui #wb-banner .wb-round-result p{font:13px/1.5 Arial,sans-serif!important;color:#f1e5c8!important;text-shadow:0 1px 2px #000}
#wb-match-loading{z-index:180!important;isolation:isolate;top:calc(var(--wb-header-bottom,84px) + 80px)!important;max-width:calc(100vw - 32px);white-space:nowrap;font:600 clamp(14px,1.5vw,20px)/1.4 WarbandFriz,Georgia,serif!important;color:#f1e5c8!important;border:1px solid #d6b16a!important;border-image:none!important;background:linear-gradient(#21170ff5,#0b0705fa)!important;padding:12px 24px!important;box-shadow:0 4px 18px #0008;pointer-events:none}
#wb-ui.wb-recruitment-pending #wb-shop{filter:brightness(.38) saturate(.5);pointer-events:none!important}
#wb-ui #wb-drake-waiting{font:11px/1.4 Arial,sans-serif!important;color:#ffcf76!important;margin:8px 0 0}
@media(prefers-reduced-motion:no-preference){#wb-ui .wb-round-result{animation:wb-duel-arrive .35s ease-out}@keyframes wb-duel-arrive{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}}

#wb-ui #wb-banner .wb-round-result[data-outcome=defeat] p{color:#ff9aa4!important}
#wb-ui #wb-shop .wb-card.wb-owned-match{box-shadow:none!important}
/* The frame's border-image fill covers inset shadows; tint above that fill. */
#wb-ui #wb-shop .wb-card.wb-owned-match::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:1px;background:radial-gradient(ellipse at center,#75c94400 55%,#75c94430 100%);box-shadow:inset 0 0 9px 2px #75c94480;z-index:1}
#wb-ui .wb-hero.wb-hero-hit{animation:wb-hero-health-hit 1s ease-out}
@keyframes wb-hero-health-hit{0%,30%{background-color:#8f1515;box-shadow:inset 0 0 22px #ff3636bb,0 0 12px #f22b2b88}55%{background-color:#421313}100%{background-color:#0b0705cc}}
#wb-ui #wb-shop .wb-card-top-count{font-size:10px!important;max-width:calc(100% - 62px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* While other fights run: how many, and View Deck to pass the wait. */
#wb-ui .wb-round-result .wb-round-waiting{margin:6px auto 0;max-width:34ch;font-size:13px;line-height:1.35;color:#e8d6ac}
