/* Code-drawn blue/gold and crimson/gold victory crests, no image assets. */
.wood-live #round-result{--crest-light:#36d6ff;--crest-mid:#075ae1;--crest-dark:#061849;position:fixed;z-index:9000;left:50%;transform:translate(-50%,-50%);width:min(390px,calc(100vw - 24px));aspect-ratio:420/220;height:auto;pointer-events:none;isolation:isolate;border:0;padding:0;margin:0;background:transparent;animation:victory-life 2.8s both}
.wood-live #round-result[hidden]{display:none}
.wood-live #round-result[data-side=player]{--crest-light:#ff4c88;--crest-mid:#bd123e;--crest-dark:#420718}
.victory-emblem{position:relative;width:100%;height:100%;aspect-ratio:420/220;animation:crest-impact 2.8s both;filter:drop-shadow(0 6px 5px #05050dbb)}
.victory-crest{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 7px var(--crest-mid))}
#result-victory{position:absolute;left:50%;top:48%;transform:translate(-50%,-38%) skew(-6deg);white-space:nowrap;display:block;font:1000 96px/1.05 'PingFang SC','Microsoft YaHei',system-ui,sans-serif;letter-spacing:4px;color:#ffdc78;background:linear-gradient(125deg,#b77524 6%,#ffe8a1 16%,#fff9cb 28%,#ffdb6b 39%,#a86819 47%,#fff1aa 53%,#ffe483 65%,#bd791f 86%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:1px #fff0ad;filter:drop-shadow(0 2px 0 #aa5c0e) drop-shadow(0 4px 0 #693508) drop-shadow(0 5px 0 var(--crest-dark)) drop-shadow(0 1px 2px var(--crest-light));}
#result-victory::after{content:attr(data-text);position:absolute;inset:0;background:linear-gradient(110deg,transparent 38%,#fff 49%,transparent 60%);background-size:300% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:0;animation:crest-sheen 2.8s both}
.victory-burst{position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse,var(--crest-light),transparent 66%);filter:blur(12px);animation:crest-aura 2.8s both}
.victory-burst::after{content:'';position:absolute;inset:18% 12%;border:2px solid var(--crest-light);border-radius:50%;box-shadow:0 0 14px var(--crest-mid),inset 0 0 14px var(--crest-mid);animation:crest-ring 2.8s both}
.victory-spark{position:absolute;width:24px;height:24px;background:linear-gradient(transparent,#fff9cb,transparent);clip-path:polygon(50% 0,59% 40%,100% 50%,59% 59%,50% 100%,41% 59%,0 50%,41% 40%);filter:drop-shadow(0 0 5px #fff);animation:crest-spark 2.8s both}
.spark-one{left:18%;top:40%}.spark-two{right:18%;top:67%;animation-delay:.12s}.spark-three{left:47%;top:25%;width:18px;height:18px;animation-delay:.22s}
@keyframes victory-life{0%,88%{opacity:1}100%{opacity:0}}
@keyframes crest-impact{0%{opacity:0;transform:translateY(-42px) scale(1.8) rotate(-7deg)}8%{opacity:1;transform:translateY(4px) scale(.88) rotate(1deg)}15%{transform:translateY(-3px) scale(1.08) rotate(-1deg)}23%,84%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-12px) scale(.95)}}
@keyframes crest-aura{0%{opacity:0;transform:scale(.4)}10%{opacity:.85;transform:scale(1.1)}30%,80%{opacity:.35;transform:scale(1)}100%{opacity:0;transform:scale(1.15)}}
@keyframes crest-ring{0%,7%{opacity:0;transform:scale(.3)}12%{opacity:.8}40%,100%{opacity:0;transform:scale(1.8)}}
@keyframes crest-sheen{0%,20%{opacity:0;background-position:140% 0}25%{opacity:.9}65%{opacity:0;background-position:-40% 0}100%{opacity:0}}
@keyframes crest-spark{0%,16%{opacity:0;transform:scale(.1) rotate(0)}28%{opacity:1;transform:scale(1) rotate(90deg)}45%,100%{opacity:0;transform:scale(.2) rotate(160deg)}}
@media(max-width:440px){#result-victory{font-size:clamp(58px,22vw,88px)}}
@media(prefers-reduced-motion:reduce){.wood-live #round-result,.victory-emblem,.victory-burst,.victory-burst::after,#result-victory::after,.victory-spark{animation:none}.victory-burst{opacity:.2}.victory-burst::after,.victory-spark,#result-victory::after{display:none}}
