/* The announcement is a child of the fullscreen root so it also works on TVs. */
.tv-celebration{position:fixed;inset:0;z-index:100;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#25437add,#0d111af5 72%);backdrop-filter:blur(12px);isolation:isolate}
.tv-celebration-card{position:relative;width:min(1000px,90vw);padding:clamp(24px,4vw,64px);text-align:center;animation:tv-win-arrive .65s cubic-bezier(.16,1,.3,1) both}
.tv-celebration-label{display:block;font-size:clamp(12px,1vw,18px);letter-spacing:.35em;font-weight:800;color:#95b2e9}
.tv-celebration-carrier{margin:25px auto 10px;display:grid;justify-items:center;gap:14px}.tv-celebration-carrier .carrier-brand{display:grid;place-items:center;width:clamp(200px,22vw,340px);height:clamp(72px,7vw,108px);padding:20px 26px;background:#fff;border:1px solid #acc4f0;border-radius:18px;box-shadow:0 0 70px #4b7fdf44}.tv-celebration-carrier .carrier-brand[data-plate=dark]{background:#282922}.tv-celebration-carrier img{width:100%;height:100%;min-height:0;object-fit:contain}.tv-celebration-carrier .carrier-fallback{font-size:clamp(17px,2vw,28px);font-weight:800;color:#22324f;overflow-wrap:anywhere}#tvCelebrationCarrier{color:#d5e1f7;font-size:clamp(20px,2vw,34px);font-weight:800;overflow-wrap:anywhere}
.tv-celebration h2{font-size:clamp(36px,5vw,100px);line-height:1.05;letter-spacing:-.04em;margin:30px 0 16px;color:#f1f5fc;font-weight:950;text-shadow:0 6px 28px #0003}
#tvCelebrationAgent{display:block;font-size:clamp(25px,3vw,58px);font-weight:700;overflow-wrap:anywhere;color:#bcd0f4}
.tv-celebration-amount{margin:28px 0 20px;padding:24px;border-top:1px solid #7da0e055;border-bottom:1px solid #7da0e055;background:linear-gradient(90deg,transparent,#457bde22,transparent)}
.tv-celebration-amount>span{display:block;font-size:clamp(45px,7vw,134px);line-height:1.05;font-weight:900;letter-spacing:-.04em;color:#6d97e5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tv-celebration-amount small{display:block;margin-top:14px;font-size:clamp(11px,1vw,18px);letter-spacing:.3em;color:#99b3e2}
#tvCelebrationPolicy{font-size:clamp(14px,1.4vw,24px);color:#c0d0ee;line-height:1.5;overflow-wrap:anywhere}
#tvCelebrationDismiss{position:absolute;right:24px;top:22px;z-index:3;width:48px;height:48px;border-radius:50%;border:1px solid #6b86b8;background:#162033;color:#c5d6f5;font-size:30px;cursor:pointer}
.tv-celebration-progress{height:3px;width:180px;margin:30px auto 0;background:#729be6;transform-origin:left;animation:tv-win-progress var(--tv-celebration-duration,8.5s) linear both}
.tv-celebration-glow{position:absolute;width:min(80vw,1000px);aspect-ratio:1;border:1px solid #8daeeb30;border-radius:50%;z-index:-1;box-shadow:0 0 0 90px #457bde06,0 0 0 180px #457bde05;animation:tv-win-glow 4s ease-in-out infinite alternate}
@keyframes tv-win-arrive{from{opacity:0;transform:translateY(50px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes tv-win-progress{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes tv-win-glow{from{transform:scale(.9);opacity:.4}to{transform:scale(1.1);opacity:1}}
@media(max-height:760px){.tv-celebration-carrier{margin:14px auto;gap:8px}.tv-celebration-carrier .carrier-brand{height:65px;padding:12px 20px}#tvCelebrationCarrier{font-size:20px}.tv-celebration h2{margin:18px 0 12px}.tv-celebration-amount{margin:16px 0;padding:14px}.tv-celebration-card{padding:20px}.tv-celebration-progress{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.tv-celebration-card,.tv-celebration-glow,.tv-celebration-progress{animation:none}}

.tv-sound-dialog{position:fixed;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:32px;background:#171e2b;color:#edf2fb;border:1px solid #49608b;border-radius:20px;box-shadow:0 24px 90px #0008}.tv-sound-dialog::backdrop{background:#090d13bc;backdrop-filter:blur(8px)}.tv-sound-dialog h2{margin:12px 0 16px;font-size:28px}.tv-sound-dialog p{color:#b2c2df;font-size:15px;line-height:1.6}.tv-sound-dialog small{display:block;margin:12px 0 24px;color:#a1b1ce;font-size:12px;line-height:1.6}.tv-dialog-close{position:absolute;right:14px;top:10px;border:0;background:none;color:#b2c2df;font-size:30px;cursor:pointer}.tv-clip-picker{position:relative;display:block;overflow:hidden;background:#4378da;border:1px solid #82a6e9;border-radius:9px;padding:14px;text-align:center;font-weight:800;color:#0a1220;cursor:pointer}.tv-clip-picker:focus-within{outline:3px solid #bbcff3;outline-offset:3px}.tv-clip-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.tv-clip-current{padding:16px;background:#0e121a;border:1px solid #3a4c6c;border-radius:9px}.tv-clip-current span{display:block;color:#899dc2;font-size:10px;letter-spacing:1.8px}.tv-clip-current strong{display:block;margin-top:8px;overflow-wrap:anywhere}.tv-clip-status:empty{display:none}.tv-clip-status.is-error{color:#ffb1a3}.tv-clip-actions{display:flex;gap:10px;margin-top:20px}.tv-clip-actions button{flex:1;background:#23314a;border:1px solid #506a9b;color:#e4ecfa;border-radius:8px;padding:12px;cursor:pointer}.tv-clip-actions button:disabled{cursor:default}
.tv-clip-select-label{display:block;font-size:13px;font-weight:700;color:#adc0e2;margin-top:20px}#tvClipSelect{width:100%;margin:9px 0 20px;background:#0e121a;color:#edf2fb;padding:13px;border:1px solid #5a75a7;border-radius:9px;font-size:16px}.tv-screen:fullscreen #tvSoundSettings,.tv-screen:fullscreen #tvFxSettings{display:none}

/* Deal celebrations (tv-celebrations.js): scenes staged on top of the live leaderboard.
   #tvFx holds vector actors, #tvFxCanvas the particles, #tvCelebration the reveal plate.
   No full-screen blur: re-blurring the animated board every frame halves the frame rate on TV PCs. */
.tv-fx,.tv-fx-canvas{position:fixed;inset:0;pointer-events:none;overflow:hidden}
.tv-fx{z-index:95}.tv-fx-canvas{z-index:105;width:100%;height:100%}
.tv-actor{position:absolute;left:0;top:0;will-change:transform}
.tv-actor svg{display:block;width:100%;height:auto;overflow:visible}
/* The reveal plate: a row tag, a ribbon, a featured card or the closing-streak list. */
.tv-celebration.tv-plate{inset:auto;left:0;top:0;display:block;overflow:visible;background:none;backdrop-filter:none;transform-origin:0 0;will-change:transform,opacity;pointer-events:none;isolation:auto}
.tv-plate .tv-celebration-glow{display:none}
.tv-plate .tv-celebration-card{width:auto;animation:none;padding:0;text-align:left;color:#eaf0fb}
.tv-plate #tvCelebrationDismiss{pointer-events:auto;right:-12px;top:-12px;width:32px;height:32px;font-size:20px;line-height:1;z-index:4;box-shadow:0 4px 14px #0008}
.tv-plate .tv-celebration-label{font-size:10px;letter-spacing:.22em}
.tv-plate.is-preview .tv-celebration-label{color:#9fe8ff}
.tv-plate.is-preview .tv-celebration-carrier{display:none}
.tv-plate-ribbon.is-preview .tv-celebration-label{color:#123848}
.tv-plate .tv-celebration-amount{margin:0;padding:0;border:0;background:none}
.tv-plate .tv-celebration-amount>span{font-size:clamp(28px,2.3vw,46px);letter-spacing:-.03em;color:#81a5e9}
.tv-plate .tv-celebration-amount small{margin-top:4px;font-size:10px;letter-spacing:.18em;color:#aabee4}
.tv-plate #tvCelebrationAgent{font-size:clamp(17px,1.35vw,26px);color:#e3ebfa}
.tv-plate #tvCelebrationPolicy{margin:6px 0 0;font-size:12px;color:#a8b9da}
.tv-plate .tv-celebration-progress{display:none}
.tv-plate .tv-celebration-carrier{margin:0}
.tv-plate .tv-celebration-carrier .carrier-brand{width:clamp(96px,8vw,140px);height:clamp(36px,3vw,52px);padding:6px 10px;border-radius:10px;box-shadow:none}
/* Tier 1 tag: a compact stamped plate riding on the row's right edge. */
.tv-plate-tag{width:clamp(250px,20vw,360px)}
.tv-plate-tag .tv-celebration-card{padding:14px 18px 14px;background:linear-gradient(160deg,#18243b,#0d131f);border:1px solid #80a5e98c;border-radius:16px;box-shadow:0 16px 40px #000a,0 0 30px #6390e333}
.tv-plate-tag .tv-celebration-carrier,.tv-plate-tag #tvCelebrationPolicy{display:none}
.tv-plate-tag h2{display:inline-block;margin:12px 0 4px;padding:2px 10px;font-size:clamp(20px,1.6vw,30px);letter-spacing:.02em;color:#0a1427;background:linear-gradient(180deg,#a9c2f0,#4e81df);border-radius:8px;transform:rotate(-5deg);box-shadow:0 4px 0 #214280;animation:tv-fx-stamp .55s .1s cubic-bezier(.2,1.6,.4,1) both}
.tv-plate-tag #tvCelebrationAgent{display:block;margin-top:4px}
/* Tier 2 ribbon: a gold banner that unfurls out of the row. */
.tv-plate-ribbon{width:clamp(420px,34vw,640px)}
.tv-plate-ribbon .tv-celebration-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"label label label" "carrier title amount" "carrier agent amount" "carrier policy amount";column-gap:18px;align-items:center;padding:12px 22px 12px 26px;background:linear-gradient(180deg,#a9c2f0,#5887de 55%,#3866bc);color:#0a1427;border-radius:6px 16px 16px 6px;box-shadow:0 14px 40px #000b,inset 0 1px 0 #fff6,inset 0 -3px 0 #21428077}
.tv-plate-ribbon .tv-celebration-card::before{content:'';position:absolute;left:-17px;top:50%;width:0;height:0;border-style:solid;border-width:18px 18px 18px 0;border-color:transparent #5887de transparent transparent;transform:translateY(-50%)}
.tv-plate-ribbon .tv-celebration-label{grid-area:label;color:#162b53}
.tv-plate-ribbon .tv-celebration-carrier{grid-area:carrier}.tv-plate-ribbon #tvCelebrationCarrier{display:none}
.tv-plate-ribbon h2{grid-area:title;margin:2px 0 0;font-size:clamp(24px,2vw,40px);font-weight:950;letter-spacing:-.02em;color:#0a1427}
.tv-plate-ribbon #tvCelebrationAgent{grid-area:agent;color:#0e1d38}
.tv-plate-ribbon #tvCelebrationPolicy{grid-area:policy;color:#162b53}
.tv-plate-ribbon .tv-celebration-amount{grid-area:amount;text-align:right}
.tv-plate-ribbon .tv-celebration-amount>span{color:#0a1427}.tv-plate-ribbon .tv-celebration-amount small{color:#162b53}
/* Tiers 3–4 featured card: grows out of the row, flies back into it. */
.tv-plate-card{width:clamp(380px,32vw,600px);max-width:calc(100vw - 32px)}
.tv-plate-card .tv-celebration-card{position:relative;display:grid;justify-items:center;gap:6px;padding:22px 28px 22px;text-align:center;background:radial-gradient(ellipse at 50% 0,#1f3764,#0e1522 70%);border:1px solid #80a5e999;border-radius:24px;box-shadow:0 30px 80px #000c,0 0 60px #5788e240}
.tv-plate-card h2{margin:6px 0 0;font-size:clamp(30px,2.8vw,58px);line-height:1;letter-spacing:-.03em;color:#ecf1fb}
.tv-plate-card .tv-celebration-amount{text-align:center;margin-top:6px}
.tv-plate-card .tv-celebration-amount>span{font-size:clamp(38px,3.6vw,72px)}
.tv-plate.tv-tier-4 .tv-celebration-card::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:24px;padding:2px;background:conic-gradient(from var(--tv-fx-angle),#3c74dd,#81a5e9,#dde6f8,#3c74dd,#3c74dd);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:tv-fx-spin 2.4s linear infinite}
.tv-plate.tv-tier-4 h2{background:linear-gradient(180deg,#e5ecfa,#749ce7 55%,#3c74dd);-webkit-background-clip:text;background-clip:text;color:transparent}
/* Closing streak: one card naming every close in the burst. */
.tv-plate-streak{width:clamp(320px,26vw,460px)}
.tv-plate-streak .tv-celebration-card{padding:18px 20px;background:linear-gradient(160deg,#18243b,#0c111a);border:1px solid #80a5e98c;border-radius:20px;box-shadow:0 20px 60px #000c}
.tv-plate-streak .tv-celebration-carrier,.tv-plate-streak #tvCelebrationPolicy{display:none}
.tv-plate-streak h2{margin:4px 0;font-size:clamp(24px,2vw,38px);color:#81a5e9}
.tv-streak-list{display:grid;gap:6px;margin:12px 0 0;padding:0;list-style:none;max-height:50vh;overflow:hidden}
.tv-streak-item{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name amount" "tier amount";column-gap:12px;padding:8px 12px;background:#ffffff0d;border:1px solid #80a5e933;border-radius:10px;animation:tv-fx-slide .45s cubic-bezier(.2,1.3,.4,1) both}
.tv-streak-item b{grid-area:name;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-streak-item span{grid-area:amount;align-self:center;font-weight:900;color:#81a5e9;font-variant-numeric:tabular-nums}.tv-streak-item i{grid-area:tier;font-style:normal;font-size:10px;letter-spacing:.16em;color:#92a9d3}
.tv-streak-item.tv-tier-4{border-color:#6390e3aa;background:#4a7edf1f}.tv-streak-more{opacity:.85}
/* The winning row: lit and outlined; every other row dims until the scene ends. */
.tv-screen .sales-rank-row,.tv-screen .sales-deal{transition:opacity .45s ease,filter .45s ease,background-color .45s ease,box-shadow .45s ease}
.tv-screen .sales-today,.tv-screen .sales-totals{transition:opacity .45s ease}
#tvBoard.tv-spotlight .sales-rank-row:not(.tv-row-hit){opacity:.32;filter:saturate(.35)}
#tvBoard.tv-spotlight .sales-today,#tvBoard.tv-spotlight .sales-totals{opacity:.62}
.sales-deal.tv-feed-hit{box-shadow:inset 3px 0 0 #80a5e9;background-color:#4a7edf1f}
.sales-rank-row.tv-row-hit,.sales-rank-row.tv-row-ping{position:relative;overflow:hidden;background:linear-gradient(90deg,#4a7edf4d,#739be61f 60%,#739be608);box-shadow:inset 3px 0 0 #80a5e9,inset 0 0 0 1px #80a5e980}
.sales-rank-row.tv-row-hit strong,.sales-rank-row.tv-row-hit .sales-agent{color:#e1eafa}
.sales-rank-row.tv-row-hit .sales-place{color:#8eafeb}
.sales-rank-row.tv-row-tier-4{background:linear-gradient(90deg,#3c74dd5c,#749ce72b 55%,#4a7edf10)}
.sales-rank-row.tv-row-ripple::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 0 30%,#ccdbf777 45%,#81a5e9aa 50%,#ccdbf777 55%,transparent 70%) no-repeat;background-size:60% 100%;animation:tv-fx-ripple 1.1s ease-out both}
.sales-rank-row.tv-row-flash{animation:tv-fx-flash-row .8s ease-out}
.sales-rank-row.tv-row-ping{animation:tv-fx-flash-row .9s ease-out}
/* Actors. */
.tv-cannon svg{filter:drop-shadow(0 12px 18px #000a)}
.tv-cannon-barrel{transform-box:view-box;transform-origin:150px 75px}
.tv-cannon-glow{opacity:0;transition:opacity .25s}.tv-cannon.is-charging .tv-cannon-glow{opacity:.95;animation:tv-fx-pulse-glow .18s ease-in-out infinite alternate}
.tv-rocket{width:34px;transform-origin:17px 37px}.tv-rocket-flame{transform-box:fill-box;transform-origin:50% 0;animation:tv-fx-flame .09s ease-in-out infinite alternate}
.tv-fx-brackets{position:absolute;left:0;top:0;animation:tv-fx-brackets .6s cubic-bezier(.2,1.4,.4,1) both;transition:opacity .25s}
.tv-fx-brackets i{position:absolute;width:24px;height:18px;border:3px solid #9fe8ff;filter:drop-shadow(0 0 6px #7fd6ff)}
.tv-fx-brackets .c0{left:0;top:0;border-right:0;border-bottom:0}.tv-fx-brackets .c1{right:0;top:0;border-left:0;border-bottom:0}.tv-fx-brackets .c2{left:0;bottom:0;border-right:0;border-top:0}.tv-fx-brackets .c3{right:0;bottom:0;border-left:0;border-top:0}
.tv-fx-brackets.is-closing{animation:tv-fx-brackets-out .6s ease-in both}
.tv-vault{perspective:1000px}
.tv-vault-body{position:absolute;inset:0}.tv-vault-body svg{filter:drop-shadow(0 26px 40px #000c)}
.tv-vault-core{position:absolute;inset:12%;border-radius:22px;overflow:hidden;background:radial-gradient(circle,#fff6d6,#ffc35c 35%,#a8551a 70%,#3a1c08);opacity:0;transition:opacity .4s}
.tv-vault-core::before{content:'';position:absolute;inset:-40%;background:repeating-conic-gradient(from 0deg,#fff4c466 0 8deg,transparent 8deg 22deg);animation:tv-fx-turn 7s linear infinite}
.tv-vault.is-open .tv-vault-core{opacity:1}
.tv-vault-door{position:absolute;inset:9%;transform-origin:0 50%;backface-visibility:hidden}
.tv-vault-dial{position:absolute;inset:27%}
.tv-vault-logo{position:absolute;left:39%;top:39%;width:22%;height:22%;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px #ffd58a,0 0 20px #ffb34788}
.tv-clamp{width:56px}.tv-clamp svg{filter:drop-shadow(0 6px 10px #0009)}
.tv-crown{width:52px}.tv-crown svg{filter:drop-shadow(0 6px 10px #000a) drop-shadow(0 0 12px #ffd36b88)}
.tv-seal{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle,#ffe7a8,#d39a4f 62%,#7a4a1c);border:3px solid #ffe2a6;box-shadow:0 6px 20px #000a,0 0 30px #ffb34799;animation:tv-fx-seal .5s cubic-bezier(.2,1.5,.4,1) both}
.tv-seal img{width:38px;height:38px;border-radius:50%;object-fit:cover;margin-top:-6px}.tv-seal span{position:absolute;bottom:7px;font-size:8px;font-weight:900;letter-spacing:.14em;color:#3a1c08}
.tv-fx-dusk{position:absolute;inset:0;background:radial-gradient(ellipse 70% 55% at 50% -12%,#6390e330,transparent 70%),#020408;opacity:0;animation:tv-fx-dusk 1.3s ease-in forwards;transition:opacity .9s ease}
.tv-fx-dusk::before{content:'';position:absolute;left:50%;top:-30%;width:120vmax;height:120vmax;translate:-50% 0;background:conic-gradient(from 165deg at 50% 0,transparent 0 10deg,#81a5e91c 14deg 22deg,transparent 26deg);animation:tv-fx-sweep-light 2.6s ease-in-out both}
.tv-fx-dusk.is-lit{opacity:.38;animation:none}.tv-fx-dusk.is-leaving{opacity:0;animation:none}
.tv-fx-vignette{position:absolute;inset:0;background:radial-gradient(ellipse max(320px,30vw) max(140px,15vh) at var(--fx-x,50%) var(--fx-y,45%),transparent 0 35%,#05070b9c 100%);animation:tv-fx-fade .6s ease both}
.tv-fx-vignette-4{background:radial-gradient(ellipse max(300px,26vw) max(130px,13vh) at var(--fx-x,50%) var(--fx-y,45%),transparent 0 30%,#030304c4 100%)}
.tv-fx-badge{position:absolute;z-index:2;display:grid;justify-items:center;gap:1px;padding:7px 16px 6px;border-radius:999px;background:linear-gradient(180deg,#9cb8ed,#4077dc);color:#0a1427;box-shadow:0 10px 30px #0007,0 0 30px #5788e277;white-space:nowrap;transform:translate(-50%,-100%);animation:tv-fx-badge 2.6s cubic-bezier(.16,1,.3,1) both}
.tv-fx-badge strong{font-size:clamp(18px,1.5vw,32px);font-weight:900;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.1}
.tv-fx-badge span{font-size:8px;letter-spacing:.2em;font-weight:800}
@property --tv-fx-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes tv-fx-spin{to{--tv-fx-angle:360deg}}
@keyframes tv-fx-turn{to{rotate:360deg}}
@keyframes tv-fx-stamp{0%{opacity:0;transform:rotate(-14deg) scale(2.2)}60%{opacity:1;transform:rotate(-3deg) scale(.92)}100%{opacity:1;transform:rotate(-5deg) scale(1)}}
@keyframes tv-fx-slide{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes tv-fx-ripple{from{background-position:-80% 0}to{background-position:180% 0}}
@keyframes tv-fx-flash-row{0%{background-color:#aec6f166}100%{background-color:transparent}}
@keyframes tv-fx-pulse-glow{from{opacity:.55}to{opacity:1}}
@keyframes tv-fx-flame{from{transform:scaleY(.8)}to{transform:scaleY(1.25)}}
@keyframes tv-fx-brackets{from{opacity:0;scale:1.25}to{opacity:1;scale:1}}
@keyframes tv-fx-brackets-out{to{opacity:0;scale:.9}}
@keyframes tv-fx-seal{0%{opacity:0;scale:2.2;rotate:-25deg}70%{opacity:1;scale:.92;rotate:4deg}100%{opacity:1;scale:1;rotate:0deg}}
@keyframes tv-fx-dusk{to{opacity:.55}}
@keyframes tv-fx-sweep-light{from{rotate:-28deg;opacity:0}30%{opacity:1}to{rotate:28deg;opacity:0}}
@keyframes tv-fx-fade{from{opacity:0}to{opacity:1}}
@keyframes tv-fx-badge{0%{opacity:0;transform:translate(-50%,-55%) scale(.55)}14%{opacity:1;transform:translate(-50%,-125%) scale(1.06)}70%{opacity:1;transform:translate(-50%,-185%) scale(1)}100%{opacity:0;transform:translate(-50%,-250%) scale(.96)}}
/* Reduced motion keeps the same information and the row spotlight, with fades only. */
.tv-fx-reduced .tv-plate h2,.tv-fx-reduced .tv-plate .tv-celebration-card::before,.tv-fx-reduced .tv-streak-item,.tv-fx-reduced .tv-fx-vignette,.tv-fx-reduced .sales-rank-row::after{animation:none}
.tv-fx-reduced .sales-rank-row.tv-row-ping{animation:none}
@media(prefers-reduced-motion:reduce){.tv-plate h2,.tv-plate .tv-celebration-card::before,.tv-streak-item,.tv-fx-vignette,.tv-fx-dusk,.tv-fx-dusk::before{animation:none}}
@media(max-width:760px){.tv-plate-ribbon .tv-celebration-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label label" "title amount" "agent amount" "policy amount"}.tv-plate-ribbon .tv-celebration-carrier{display:none}.tv-plate-ribbon .tv-celebration-card::before{display:none}}
/* Celebration settings share the sound dialog's look. */
.tv-fx-dialog{width:min(600px,calc(100vw - 32px));overflow:auto}
.tv-fx-scope{font-size:14px}
.tv-fx-now{margin:4px 0 14px}.tv-fx-now button,.tv-fx-previews button{background:#23314a;border:1px solid #506a9b;color:#e4ecfa;border-radius:8px;padding:11px 10px;cursor:pointer}.tv-fx-now button{width:100%}.tv-fx-now button:disabled{opacity:.5;cursor:default}
.tv-fx-form{display:grid;gap:12px;margin-top:8px}
.tv-fx-check{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.4;color:#cad7ef;cursor:pointer}.tv-fx-check input{width:18px;height:18px;margin:1px 0 0;accent-color:#356ed9;flex-shrink:0}
.tv-fx-form fieldset{display:grid;grid-template-columns:1fr minmax(110px,150px);gap:8px 12px;align-items:center;margin:6px 0 0;padding:14px 16px;border:1px solid #3a4c6c;border-radius:12px}
.tv-fx-form legend{padding:0 6px;font-size:12px;font-weight:700;letter-spacing:.06em;color:#adc0e2}
.tv-fx-form fieldset small{grid-column:1/-1;margin:2px 0 0}
.tv-fx-times{display:grid;grid-template-columns:1fr minmax(110px,170px);gap:8px 12px;align-items:center}
.tv-fx-form label:not(.tv-fx-check){font-size:14px;color:#adc0e2}
.tv-fx-form input[type=number],.tv-fx-form select{width:100%;background:#0e121a;color:#edf2fb;padding:10px 12px;border:1px solid #5a75a7;border-radius:9px;font-size:16px;font-variant-numeric:tabular-nums}
.tv-fx-form input[type=range]{width:100%;accent-color:#356ed9}
.tv-fx-sound-state{margin:0;font-size:13px;color:#96e8b5}.tv-fx-sound-state.is-off{color:#ffd098}
.tv-fx-form .tv-clip-actions{margin-top:4px}
.tv-fx-form .tv-clip-actions button[type=submit]{background:#4378da;border-color:#82a6e9;color:#0a1220;font-weight:800}
.tv-fx-preview-title{margin:24px 0 6px;font-size:15px;letter-spacing:.04em;color:#cad7ef}
.tv-fx-preview-note{margin:0 0 10px;font-size:13px}
.tv-fx-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tv-fx-previews button:nth-last-child(-n+2){background:#243758;border-color:#5a7dbf}
