/* Clip 4: the recorded Competition UI, in screen-width units (1178 × 2556). */
.rv { --rv-paper:#FAEBC7; --rv-ink:#0B141B; --rv-card:#273037; --rv-row:#3B444B; --rv-lime:#A0E020; --rv-muted:#98A2A8; --rv-ci:0; --rv-scroll:0; --rv-sheet:119.3; --rv-collapse:1; --rv-press:0; }
.rv .ic { display:block; }
.rv-scene { position:absolute; inset:0; isolation:isolate; overflow:hidden; background:var(--app-bg); visibility:hidden; opacity:0; pointer-events:none; }
.rv[data-rv-scene="competition"] .rv-competition, .rv[data-rv-scene="details"] .rv-details, .rv[data-rv-scene="picker"] .rv-picker, .rv[data-rv-scene="editor"] .rv-editor { visibility:visible; opacity:1; }
.rv-status { position:absolute; z-index:8; inset:0 0 auto; height:15cqw; padding:0; color:#F4F6F8; background:var(--app-bg); }
.rv-status > span:first-child { position:absolute; left:12.9cqw; top:4.6cqw; font:600 4.6cqw/1 Arial,sans-serif; }
.rv-status-icons { position:absolute; right:7.5cqw; top:5.5cqw; width:22cqw; height:4.2cqw; }
.rv-status-icons svg { display:block; width:100%; height:100%; }
.rv[data-rv-scene="editor"] .rv-status { color:#000; background:var(--rv-paper); }
.rv-nav { position:relative; height:9.2cqw; }
.rv-nav .gs-user { padding-top:0; }
.rv-back { position:absolute; z-index:2; left:5cqw; top:0; display:grid; place-items:center; width:7.2cqw; height:7.2cqw; border-radius:50%; background:#4D575F; }
.rv-back .ic { width:7cqw; height:7cqw; }
.rv-competition > .rv-nav, .rv-picker > .rv-nav { position:absolute; top:15cqw; left:0; right:0; }
.rv .rv-tabs { z-index:4; height:21cqw; background:#4D575F; }
.rv-tab-active { color:#79838A; }
.rv h3, .rv h4 { margin:0; font:500 6cqw/1.1 var(--font-numeric); text-align:center; }
.rv-plus { flex:none; display:grid; place-items:center; width:7.2cqw; height:7.2cqw; border-radius:50%; background:var(--rv-lime); color:#304808; }
.rv-plus svg { width:5.2cqw; height:5.2cqw; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
/* Four rightward swipes reveal the chosen competition. */
.rv-carousel { position:absolute; inset:24.2cqw 0 auto; height:132.2cqw; perspective:160cqw; }
.rv-card { --d:calc(var(--i) - var(--rv-ci)); --a:min(1,max(var(--d),calc(var(--d) * -1))); position:absolute; left:6cqw; top:0; width:88cqw; height:132.2cqw; overflow:hidden; border-radius:7cqw; background:var(--rv-card); transform:translateX(calc(var(--d) * 91cqw)) rotateY(calc(var(--d) * -8deg)) scale(calc(1 - .055 * var(--a))); filter:brightness(calc(1 - .5 * var(--a))); }
.rv-card-art { z-index:1; position:absolute; inset:0 0 auto; width:100%; height:28cqw; object-fit:fill; filter:hue-rotate(var(--hue)); mask-image:linear-gradient(#000 96%,transparent); }
.rv-card::before { content:""; position:absolute; inset:0 0 auto; height:65cqw; background:linear-gradient(var(--tint) 42%,var(--rv-card)); }
.rv-card h3 { position:absolute; top:28cqw; left:2cqw; right:2cqw; font-size:6cqw; }
.rv-card-description { position:absolute; top:35cqw; left:3cqw; right:3cqw; text-align:center; font-size:3.5cqw; line-height:1.4; color:#C8D0D8; }
.rv-card h5 { position:absolute; top:60.3cqw; left:0; right:0; margin:0; color:var(--rv-muted); font:700 2.5cqw/1 var(--font-text); letter-spacing:.06em; text-align:center; }
.rv-card .rv-ranking { position:absolute; top:67cqw; left:2cqw; right:2cqw; }
.rv-card .rv-ranking em { display:none; }
.rv-await { position:absolute; top:64.5cqw; left:2cqw; right:2cqw; display:grid; place-items:center; height:9.2cqw; border-radius:99cqw; background:var(--rv-row); color:var(--rv-muted); font-size:3.5cqw; }
.rv-compete { position:absolute; left:6cqw; right:3cqw; bottom:3cqw; height:7.2cqw; display:flex; align-items:center; gap:2cqw; }
.rv-compete > span { position:relative; height:1cqw; width:40cqw; margin-right:auto; border-radius:99cqw; background:#0B141B; }
.rv-compete > span::after { content:""; display:block; width:var(--progress,40%); height:100%; border-radius:inherit; background:var(--accent); }
.rv-compete b { font-size:3.5cqw; }
.rv-compete > i { display:grid; place-items:center; width:7.2cqw; height:7.2cqw; border-radius:50%; background:var(--accent); color:#304808; }
.rv-compete .ic { width:7cqw; height:7cqw; }
.rv-collection { position:absolute; top:158.4cqw; left:2cqw; right:2cqw; height:35.5cqw; padding:4cqw 2cqw 2cqw; border-radius:7cqw; background:var(--rv-card); }
.rv-collection p, .rv-create, .rv-archive { display:grid; place-items:center; height:9.2cqw; border-radius:99cqw; font:600 4.6cqw/1 var(--font-numeric); letter-spacing:.04em; }
.rv-collection p { margin-top:3cqw; background:var(--rv-lime); color:#304808; }
.rv-collection p + p { margin-top:2cqw; background:none; box-shadow:inset 0 0 0 .5cqw var(--rv-lime); color:var(--rv-lime); }
/* The complete details sheet scrolls beneath the fixed status bar and navigation. */
.rv-detail-viewport { position:absolute; top:15cqw; left:0; right:0; bottom:21cqw; overflow:hidden; }
.rv-detail-content { transform:translateY(calc(var(--rv-scroll) * -1cqw)); padding-bottom:3cqw; }
.rv-detail-header { position:relative; height:53cqw; margin:0 4cqw; overflow:hidden; border-radius:7cqw 7cqw 0 0; background:linear-gradient(#34551D 15%,#17261B 60%,var(--app-bg)); }
.rv-detail-header img { position:absolute; top:0; left:0; width:100%; height:28cqw; mask-image:linear-gradient(#000 96%,transparent); }
.rv-detail-header h3 { position:absolute; top:31cqw; left:0; right:0; }
.rv-detail-header > p { position:absolute; top:39.2cqw; left:0; right:0; text-align:center; font-size:3.5cqw; line-height:1.4; color:#C8EC90; }
.rv-block { position:relative; margin:0 4cqw 2cqw; padding:4cqw 2cqw 3cqw; border-radius:7cqw; background:var(--rv-card); }
.rv-your { height:32.4cqw; }
.rv-your > p { display:flex; align-items:center; gap:2cqw; height:9.2cqw; margin-top:3.5cqw; padding:.8cqw 1.2cqw .8cqw 4.4cqw; border-radius:99cqw; background:var(--rv-row); font-size:3.5cqw; }
.rv-your > p > span:nth-child(2) { margin-left:auto; color:var(--rv-muted); }
.rv-your small, .rv-board > small { display:block; margin-top:3.4cqw; color:var(--rv-muted); text-align:center; font-size:3cqw; }
.rv-live { display:grid; align-content:center; justify-items:center; gap:2cqw; height:15.8cqw; margin:0 4cqw 2cqw; border-radius:7cqw; background:#8FE00F; color:#0B141B; }
.rv-live > span { padding:1.1cqw 2.2cqw; border-radius:99cqw; background:#486B0C; color:#FFF; font:700 2.6cqw/1 var(--font-text); letter-spacing:.05em; }
.rv-live > b { font:500 4.6cqw/1 var(--font-numeric); }
.rv-fold { position:absolute; right:3cqw; top:3cqw; display:grid; place-items:center; width:7.2cqw; height:7.2cqw; border-radius:50%; background:#646E76; }
.rv-fold svg { width:5cqw; height:5cqw; fill:none; stroke:currentColor; stroke-width:2; transform:rotate(180deg); }
.rv-hot { height:86.7cqw; }
.rv-podium { position:absolute; left:2cqw; right:2cqw; top:13.3cqw; bottom:2cqw; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2cqw; align-items:end; }
.rv-column { position:relative; height:100%; overflow:hidden; border-radius:7cqw; border:.5cqw solid rgb(255 255 255 / .18); text-align:center; box-shadow:0 0 5cqw rgb(225 198 104 / .1); }
.rv-gold { background:linear-gradient(125deg,#543900,#B5870C 50%,#422907); }
.rv-silver { height:85.5%; background:linear-gradient(145deg,#414956,#A2AEC2 53%,#2C3039); }
.rv-bronze { height:78.3%; background:linear-gradient(145deg,#3E2114,#AA5B2D 52%,#3C251C); }
.rv-column img { position:absolute; top:3cqw; left:50%; transform:translateX(-50%); width:18cqw; height:19cqw; mask-image:radial-gradient(circle closest-side at 50% 46%,#000 96%,transparent 98%),linear-gradient(#000,#000); mask-size:100% 100%,43% 25%; mask-position:center,50% 100%; mask-repeat:no-repeat; }
.rv-metal { position:absolute; top:22.3cqw; left:0; right:0; font:500 4.3cqw/1 var(--font-numeric); color:#E4E8EC; }
.rv-winner { position:absolute; left:0; right:0; top:37cqw; font:500 4.4cqw/1 var(--font-numeric); }
.rv-gold .rv-winner { top:42cqw; }
.rv-column > b { position:absolute; left:0; right:0; bottom:7cqw; font:500 7.6cqw/1 var(--font-numeric); }
.rv-column > small { position:absolute; left:0; right:0; bottom:2cqw; font:500 4.8cqw/1 var(--font-numeric); color:var(--rv-lime); }
.rv-board h4, .rv-rules h4 { margin-bottom:4cqw; }
.rv-board-head { display:flex; justify-content:space-between; padding:0 10cqw; margin-bottom:2cqw; font-size:3.1cqw; color:#7D878E; }
.rv-ranking { display:grid; gap:1cqw; }
.rv-ranking li { display:flex; align-items:center; gap:2cqw; min-width:0; height:9.2cqw; padding:.8cqw 1cqw; border-radius:99cqw; background:var(--rv-row); }
.rv-rank { display:grid; place-items:center; flex:none; width:6.8cqw; height:6.8cqw; border-radius:50%; border:.5cqw solid rgb(255 255 255 / .15); background:#4D575F; font:500 4.4cqw/1 var(--font-numeric); font-style:normal; }
.rv-rank-1 { background:linear-gradient(135deg,#FFE483,#B47C00); }
.rv-rank-2 { background:linear-gradient(135deg,#DAE4F0,#5A697A); }
.rv-rank-3 { background:linear-gradient(135deg,#E9AA6A,#9C4D20); }
.rv-ranking li > span { flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:3.5cqw; }
.rv-ranking li > b { flex:none; font:500 5cqw/1 var(--font-numeric); }
.rv-ranking em { display:grid; place-items:center; width:7.2cqw; height:7.2cqw; border-radius:50%; background:#646E76; }
.rv-ranking em svg { width:4.4cqw; height:4.4cqw; fill:none; stroke:currentColor; stroke-width:2; }
.rv-rules > p { display:flex; justify-content:space-between; align-items:center; gap:3cqw; min-height:8.8cqw; margin-top:1.2cqw; padding:1.4cqw 2.2cqw; border-radius:3cqw; background:var(--rv-row); font-size:3.1cqw; }
.rv-rules > p > span:last-child { display:flex; align-items:center; gap:1cqw; text-align:right; }
.rv-rules h5 { margin:3cqw 1cqw 1cqw; font:700 2.6cqw/1.3 var(--font-text); }
.rv-host { display:grid; place-items:center; width:5.2cqw; height:5.2cqw; border-radius:50%; background:var(--rv-lime); color:var(--rv-ink); font:500 3.8cqw/1 var(--font-numeric); font-style:normal; }
.rv-archive { margin:0 4cqw; color:var(--rv-lime); box-shadow:inset 0 0 0 .4cqw var(--rv-lime); }
/* Submit result: native labels, table spacing and fixed Create new button. */
.rv-picker-panel { position:absolute; top:24.2cqw; left:2cqw; right:2cqw; height:167.8cqw; overflow:hidden; border-radius:7cqw; background:var(--rv-card); }
.rv-picker-panel h3 { position:absolute; top:5cqw; left:0; right:0; }
.rv-picker-x, .rv-picker-new, .rv-editor-x, .rv-reset { position:absolute; display:grid; place-items:center; width:7.2cqw; height:7.2cqw; border-radius:50%; background:var(--rv-lime); color:#304808; }
.rv-picker-x { right:3cqw; top:4cqw; }
.rv-picker-x .ic, .rv-editor-x .ic, .rv-reset .ic { width:7cqw; height:7cqw; }
.rv-picker-note { position:absolute; top:14cqw; left:4cqw; right:4cqw; font-size:3.5cqw; line-height:1.3; color:#C8D0D8; }
.rv-picker-search { position:absolute; top:24.8cqw; left:4cqw; width:79.5cqw; height:9.2cqw; display:flex; align-items:center; justify-content:space-between; padding:0 3cqw; border-radius:99cqw; background:var(--app-bg); font-size:3.5cqw; color:#7D878E; }
.rv-picker-search .ic { width:7cqw; height:7cqw; color:#FFF; }
.rv-picker-new { right:3cqw; top:25.8cqw; }
.rv-picker-new > .ic { width:7cqw; height:7cqw; }
.rv-picker-new > b { position:absolute; bottom:0; right:0; display:grid; place-items:center; width:3.8cqw; height:3.8cqw; border-radius:50%; background:var(--rv-lime); font-size:4cqw; line-height:1; }
.rv-table-head, .rv-table > p { display:grid; grid-template-columns:29.4% 9.7% 15.7% 23% 22.2%; align-items:center; }
.rv-table-head { position:absolute; top:38cqw; left:7cqw; right:4cqw; color:#7D878E; font-size:3.1cqw; white-space:nowrap; }
.rv-table { position:absolute; top:45.2cqw; left:4cqw; right:2cqw; }
.rv-table > p { height:9.2cqw; margin-bottom:1cqw; padding:0 3cqw; border-radius:99cqw; background:var(--rv-row); font-size:3.5cqw; white-space:nowrap; }
.rv-table > p span { overflow:hidden; text-overflow:ellipsis; }
.rv-create { position:absolute; z-index:2; top:156.6cqw; left:4cqw; right:2cqw; background:var(--rv-lime); color:#304808; box-shadow:0 -2cqw 2cqw var(--rv-card); }
/* Manual target: the same 500-unit face as Clip 2, now with the recorded whole-number editor. */
.rv-editor { background:var(--rv-paper); color:#F4F6F8; }
.rv-target { position:absolute; top:17cqw; left:0; width:100%; height:100cqw; }
.rv-ring { fill:none; stroke:var(--rv-ink); stroke-width:.4; }
.rv-black { fill:var(--rv-ink); }
.rv-white-ring { fill:none; stroke:#E9DDBC; stroke-width:.4; }
.rv-numbers text { font:500 11.5px var(--font-numeric); text-anchor:middle; dominant-baseline:central; }
.rv-numbers .i { fill:var(--rv-ink); }
.rv-numbers .c { fill:var(--rv-paper); }
.rv-shots circle, .rv-loupe [data-rv-zoom-shot] { fill:#FF6000; }
.rv-shots circle { display:none; }
.rv-shots circle.on { display:block; }
.rv-aim { fill:none; stroke:#547820; stroke-width:2; opacity:0; }
.rv[data-rv-drag="yes"] .rv-aim { opacity:1; }
.rv-editor-x { top:15cqw; right:5cqw; }
.rv-loupe { position:absolute; z-index:3; left:4cqw; top:21cqw; width:42cqw; height:42cqw; border:.95cqw solid #80B925; border-radius:50%; visibility:hidden; background:var(--rv-paper); }
.rv[data-rv-drag="yes"] .rv-loupe { visibility:visible; }
.rv-loupe > svg { display:block; width:100%; height:100%; overflow:hidden; border-radius:50%; }
.rv-loupe > b { position:absolute; right:-1.5cqw; top:-2cqw; display:grid; place-items:center; width:11.2cqw; height:11.2cqw; border:.95cqw solid #80B925; border-radius:50%; background:#547820; color:#FFF; font:500 5.6cqw/1 var(--font-numeric); }
.rv-sheet { position:absolute; left:0; right:0; top:calc(var(--rv-sheet) * 1cqw); bottom:0; border-radius:7cqw 7cqw 0 0; background:var(--rv-card); }
.rv-grab { position:absolute; top:-2cqw; left:38cqw; width:24cqw; height:4.2cqw; display:grid; place-items:center; border-radius:3cqw; background:var(--rv-row); color:#7D878E; }
.rv-grab svg { width:6cqw; height:4cqw; fill:none; stroke:currentColor; stroke-width:2; transform:rotate(calc(var(--rv-collapse) * 180deg)); }
.rv-sheet h3 { position:absolute; top:4.2cqw; left:0; right:0; }
.rv-reset { top:3.2cqw; right:3.2cqw; background:#4D575F; color:#C8D0D8; }
.rv-mode, .rv-scoring { position:absolute; left:2cqw; right:2cqw; height:9.2cqw; padding:1cqw; display:grid; grid-template-columns:1fr 1fr; align-items:center; text-align:center; border-radius:99cqw; background:var(--rv-row); color:#C8D0D8; font-size:3.5cqw; }
.rv-mode { top:13.2cqw; font-weight:700; }
.rv-mode > span:first-child, .rv-scoring > span:first-child { display:grid; place-items:center; height:7.2cqw; border-radius:99cqw; background:#646E76; color:#F4F6F8; }
.rv-requirement { position:absolute; top:25.1cqw; left:0; right:0; color:#FFA000; font-size:3.2cqw; text-align:center; }
.rv-chips { position:absolute; top:30.6cqw; left:4cqw; display:flex; gap:1.2cqw; }
.rv-chips li { position:relative; display:none; width:9.2cqw; height:15.2cqw; border-radius:99cqw; background:var(--rv-row); text-align:center; color:var(--rv-muted); font-size:3.1cqw; }
.rv-chips li.on { display:block; }
.rv-chips li.active { color:#304808; background:var(--rv-lime); }
.rv-chips li > span { position:absolute; top:2.1cqw; left:0; right:0; }
.rv-chips li > b { position:absolute; left:1cqw; top:7.1cqw; width:7.2cqw; height:7.2cqw; display:grid; place-items:center; border-radius:50%; background:var(--rv-ink); color:#FFF; font:500 4.4cqw/1 var(--font-numeric); }
.rv-chips li:last-child > b, .rv-chips li[data-next] > b { background:#547820; color:#C8EC90; }
.rv-totals { position:absolute; top:47.8cqw; left:2cqw; right:2cqw; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1cqw; }
.rv-totals p { display:flex; align-items:center; justify-content:space-between; height:9.2cqw; padding:0 3cqw; border-radius:99cqw; background:var(--rv-row); font-size:3.5cqw; color:var(--rv-muted); }
.rv-totals b { color:var(--rv-lime); font:500 5.2cqw/1 var(--font-numeric); }
.rv-scoring { top:59cqw; }
.rv-setup { position:absolute; top:72cqw; left:2cqw; right:2cqw; }
.rv-setup h5 { margin:0 1cqw 2.2cqw; font:700 3cqw/1 var(--font-text); }
.rv-setup > p { display:flex; align-items:center; gap:2cqw; height:9.2cqw; margin-bottom:2cqw; padding:0 1cqw 0 3cqw; border-radius:99cqw; background:var(--rv-row); font-size:3.5cqw; color:#C8D0D8; }
.rv-setup > p > span:first-child { margin-right:auto; color:#8C969D; }
.rv-photo-options { display:grid; grid-template-columns:1fr 1fr; gap:1cqw; color:var(--rv-lime); font:500 4cqw/1 var(--font-numeric); text-align:center; }
.rv-photo-options span { padding:2cqw; border-radius:99cqw; box-shadow:inset 0 0 0 .3cqw var(--rv-lime); }
.rv-save-wrap { position:absolute; left:0; right:0; bottom:0; padding:4cqw 2cqw calc((10 + 5 * var(--rv-collapse)) * 1cqw); background:linear-gradient(transparent,var(--rv-card) 45%); }
.rv-save { display:grid; place-items:center; height:9.2cqw; border-radius:99cqw; background:#547820; color:#304808; font:600 4.6cqw/1 var(--font-numeric); letter-spacing:.04em; }
.rv[data-rv-drag="no"][data-rv-has-shots="yes"] .rv-save { background:var(--rv-lime); }
@media (prefers-reduced-motion:reduce) { .rv *, .rv *::after { animation:none !important; transition:none !important; } }

.rv[data-rv-action="add"] [data-rv-add], .rv[data-rv-action="close"] .rv-editor-x { transform:scale(.86); filter:brightness(.88); }
.rv[data-rv-action="create"] .rv-create { filter:brightness(.8); transform:scale(.98); }
.rv[data-rv-action="open"] .rv-card[style*="--i:-4"] { opacity:.8; }

.rv-table-head > span { display:flex; align-items:center; gap:.6cqw; }
.rv-sort { flex:none; display:block; width:2.4cqw; height:3.4cqw; }
.rv-sort svg { display:block; width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

.rv-card[style*="--i:0;"] { --progress:74%; }
.rv-card-summary { position:absolute; top:35.5cqw; left:4cqw; right:4cqw; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font:600 3.1cqw/1.3 var(--font-text); }
.rv-card-description.rv-open-description { top:40.5cqw; color:#C8EC90; }

/* These native competition headers contain no user identities. Keep their original artwork and lettering. */
.rv-native-header img { height:53cqw; mask-image:none; }
.rv-native-header h3, .rv-native-header > p { color:transparent; }
.rv-card-art.rv-native-red { height:57.87cqw; mask-image:none; filter:none; }
.rv-card-art.rv-native-open { height:61.28cqw; mask-image:none; filter:none; }
.rv-card:has(.rv-native-red) > :is(h3,.rv-card-description), .rv-card:has(.rv-native-open) > :is(h3,.rv-card-description,.rv-card-summary) { color:transparent; }
.rv-card:has(.rv-native-open) h5 { top:63.5cqw; }
