/* THE ORDER REVEAL (round 237, js/reveal.js): design F on the canvas 'BLACKLENS Results Reveal'. A 390-wide stage, scaled to the window; the background fills the window. */
body.rv-on { overflow: hidden; }
#rv { position: fixed; inset: 0; z-index: 9000; overflow: hidden; outline: none; color: #f2f2f2; background: radial-gradient(ellipse at 50% 38%, #232323, #0a0a0a 62%); font-family: var(--rep-font, Bahnschrift, sans-serif); }
#rv, #rv * { box-sizing: border-box; font-weight: 350 !important; font-stretch: 87.5% !important; letter-spacing: .15px !important; font-synthesis: none; font-feature-settings: "tnum" 1; }
#rv button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.rv-flood { position: absolute; inset: 0; }
.rv-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 20px 20px; transition: opacity .35s; pointer-events: none; }
#rv.lock .rv-grid, #rv.splash .rv-grid { opacity: 0; }
.rv-stage { position: absolute; left: 50%; top: 0; width: 390px; height: var(--H, 844px); margin-left: -195px; transform: scale(var(--s, 1)); transform-origin: top center; }
#rv .bl-mk { display: block; }
#rv .bl-mk path { fill: #d8c89a; }
#rv .bl-top { position: absolute; left: 0; right: 0; top: 0; height: 60px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; z-index: 3; }
#rv .bl-top .bl-mk { width: 22px; height: 22px; flex: none; }
#rv .bl-top .o { flex: 1; min-width: 0; font-size: 12px; color: #bdbdbd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#rv .bl-skip { min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 12px; color: #d9d9d9; box-shadow: inset 0 0 0 1px #3d3d3d; white-space: nowrap; }
#rv .bl-x { flex: none; width: 44px; height: 44px; border-radius: 10px; font-size: 22px; line-height: 1; color: #d9d9d9; box-shadow: inset 0 0 0 1px #3d3d3d; }
#rv .bl-btn { width: 100%; min-height: 52px; border-radius: 13px; font-size: 15px; color: #fff; background: #dc4f4c; }
#rv .bl-btn.gold { color: #15120a; background: linear-gradient(180deg, #f1e3b3, #c9a85c); }
#rv .bl-btn.ghost { color: #d9d9d9; background: none; box-shadow: inset 0 0 0 1px #3d3d3d; }
#rv .bl-btn:disabled { background: #2a2a2a; color: #7f7f7f; cursor: default; }

/* the splash */
#rv .x-spl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#rv.splash { background: #060606; }
#rv .x-frame { position: relative; width: 196px; height: 274px; padding: 14px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); place-items: center; }
#rv .x-frame::before, #rv .x-frame::after { content: ''; position: absolute; width: 26px; height: 26px; border: 2px solid #dc4f4c; }
#rv .x-frame::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
#rv .x-frame::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
#rv .x-dot { width: 7px; height: 7px; border-radius: 50%; background: #2c2c2c; animation: rvDot .3s ease forwards; }
@keyframes rvDot { to { background: #d8c89a; box-shadow: 0 0 10px rgba(216,200,154,.75); } }
#rv .x-spl h2 { margin: 26px 0 0; font-size: 21px; opacity: 0; animation: rvUp .5s ease 1.2s forwards; }
#rv .x-spl p { margin: 8px 0 0; font-size: 13.5px; color: #a6a6a6; opacity: 0; animation: rvUp .5s ease 1.6s forwards; }
@keyframes rvUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#rv .x-line { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #dc4f4c; transform-origin: left; animation: rvLine 3s linear forwards; }
@keyframes rvLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
#rv .x-splbar { position: absolute; right: 12px; top: 8px; display: flex; gap: 8px; }

/* the grade's background */
#rv .x-metal { position: absolute; inset: 0; overflow: hidden; clip-path: circle(0px at var(--fx) var(--fy)); animation: rvFlood .75s cubic-bezier(.3,.7,.2,1) .05s forwards; }
#rv .x-metal.gold { background: radial-gradient(ellipse at 50% 38%, #f9ecba 0%, #e6ca7a 46%, #c7a252 100%); }
#rv .x-metal.silver { background: radial-gradient(ellipse at 50% 38%, #fcfdfe 0%, #d6d9dd 46%, #a3a7ad 100%); }
#rv .x-metal.duo { background: radial-gradient(ellipse at 50% 38%, rgba(255,255,255,.5), rgba(255,255,255,0) 60%), linear-gradient(128deg, #d3b363 0%, #f0dc9c 30%, #f6f7f8 52%, #cfd2d6 74%, #a3a7ad 100%); }
@keyframes rvFlood { to { clip-path: circle(150vmax at var(--fx) var(--fy)); } }
#rv .x-metal i { position: absolute; inset: -30% -70%; background: linear-gradient(112deg, transparent 44%, rgba(255,255,255,.65) 50%, transparent 56%); animation: rvSheen 1.5s ease .55s both; }
@keyframes rvSheen { from { transform: translateX(-48%); } to { transform: translateX(48%); } }
#rv .x-ruler { position: absolute; left: 0; top: 60px; bottom: 0; width: 13px; background: repeating-linear-gradient(180deg, #5c5c5c 0 1px, transparent 1px 10px); opacity: .7; transition: opacity .35s; }
#rv.lock .x-ruler { opacity: 0; }
#rv .x-rays { position: absolute; left: 50%; top: var(--cy); width: 940px; height: 940px; margin: -470px 0 0 -470px; border-radius: 50%; background: repeating-conic-gradient(rgba(242,221,156,.34) 0 8deg, transparent 8deg 18deg); -webkit-mask-image: radial-gradient(closest-side, #000 18%, transparent 70%); mask-image: radial-gradient(closest-side, #000 18%, transparent 70%); animation: rvFadeIn .5s ease both, rvSpin 18s linear infinite; pointer-events: none; }
#rv.metal .x-rays { background: repeating-conic-gradient(rgba(255,255,255,.4) 0 8deg, transparent 8deg 18deg); }
@keyframes rvFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rvSpin { to { transform: rotate(360deg); } }

/* the label's place, the card */
#rv .x-top { position: relative; z-index: 3; }
#rv .x-zone { position: absolute; left: 0; right: 0; top: 60px; height: 88px; display: flex; align-items: center; justify-content: center; }
#rv .x-ghost { width: 258px; height: 86px; display: flex; align-items: center; justify-content: center; border-radius: 4px; box-shadow: inset 0 0 0 1px #3a3a3a; text-align: center; }
#rv .x-ghost b { display: block; font-size: 17px; color: #8f8f8f; }
#rv .x-ghost span { display: block; margin-top: 4px; font-size: 10.5px; color: #8f8f8f; }
#rv.scan .x-ghost b { color: #dc4f4c; }
#rv .x-ghost.on b { font-size: 34px; color: inherit; }
#rv .x-ghost.on span { color: inherit; }
#rv .x-plate { display: block; width: 258px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 10px 24px rgba(0,0,0,.6); animation: rvDrop .46s cubic-bezier(.3,1.25,.5,1) both; }
#rv.metal .x-plate { box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 12px 26px rgba(0,0,0,.42); }
@keyframes rvDrop { from { transform: translateY(-92px); opacity: 0; } to { transform: none; opacity: 1; } }
#rv .x-slot { position: absolute; left: 50%; top: 154px; width: var(--cw); margin-left: calc(var(--cw) / -2); }
#rv.lock .x-slot { animation: rvJolt .3s ease .2s; }
@keyframes rvJolt { 0%, 100% { transform: none; } 40% { transform: translateY(5px); } }
#rv .x-card { position: relative; display: block; height: var(--ch); border-radius: 9px; overflow: hidden; background: #111; }
#rv .x-im { display: block; width: 100%; height: 100%; object-fit: contain; }
#rv.lock.tier-gem .x-card { box-shadow: 0 0 0 2px #e9d594, 0 0 58px rgba(242,221,156,.7); }
#rv.lock.tier-plain .x-card { box-shadow: 0 18px 44px rgba(0,0,0,.8); }
#rv.lock.metal .x-card { box-shadow: 0 0 0 2px #15120a, 0 18px 44px rgba(40,34,10,.55); }
#rv .x-fx, #rv .x-tiles { position: absolute; inset: 0; }
#rv .x-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); }
#rv .x-tile { background: #161616; box-shadow: inset 0 0 0 .5px rgba(216,200,154,.14); }
#rv .x-tile.go { animation: rvTile .26s ease forwards; }
@keyframes rvTile { 0% { background: #161616; } 45% { background: rgba(255,255,255,.62); } 100% { background: transparent; box-shadow: none; } }
#rv .x-sl { position: absolute; inset: 0; border-radius: 9px; background: linear-gradient(155deg, #2f2f2f, #161616 46%, #0a0a0a); box-shadow: inset 0 0 0 1.5px rgba(216,200,154,.5); }
#rv .x-sl .bl-mk { position: absolute; left: 34%; top: 33%; width: 32%; }
#rv .x-sl em { position: absolute; left: 0; right: 0; top: 64%; text-align: center; font-style: normal; font-size: 12px; color: #d8c89a; }
#rv.scan .x-sl { animation: rvFade .35s ease forwards; pointer-events: none; }
@keyframes rvFade { to { opacity: 0; } }
#rv .x-head { position: absolute; left: -12px; right: -12px; top: 0; height: 3px; background: #ff6e6a; box-shadow: 0 0 16px 4px rgba(220,79,76,.85); animation: rvHead 1.55s linear forwards; }
#rv .x-head.fast { animation-duration: .55s; }
@keyframes rvHead { from { top: 0; } to { top: 100%; opacity: .3; } }
#rv .x-fx2 { position: absolute; inset: 0; pointer-events: none; }
#rv .x-brk { position: absolute; inset: -8px; background: linear-gradient(#dc4f4c,#dc4f4c) 0 0/24px 2px no-repeat, linear-gradient(#dc4f4c,#dc4f4c) 0 0/2px 24px no-repeat, linear-gradient(#dc4f4c,#dc4f4c) 100% 0/24px 2px no-repeat, linear-gradient(#dc4f4c,#dc4f4c) 100% 0/2px 24px no-repeat, linear-gradient(#dc4f4c,#dc4f4c) 0 100%/24px 2px no-repeat, linear-gradient(#dc4f4c,#dc4f4c) 0 100%/2px 24px no-repeat, linear-gradient(#dc4f4c,#dc4f4c) 100% 100%/24px 2px no-repeat, linear-gradient(#dc4f4c,#dc4f4c) 100% 100%/2px 24px no-repeat; }
#rv .x-spark { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
#rv .x-spark i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff3c9; box-shadow: 0 0 10px 2px rgba(242,221,156,.9); opacity: 0; animation: rvSpark .95s ease-out forwards; }
#rv.metal .x-spark i { background: #fff; box-shadow: 0 0 10px 2px #fff; }
@keyframes rvSpark { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(240px); } }

/* the figures */
#rv .x-side { position: absolute; top: var(--st); width: 68px; display: grid; gap: 44px; text-align: center; }
#rv .x-side.l { left: 9px; }
#rv .x-side.r { right: 9px; }
#rv .x-stat { display: grid; gap: 4px; }
#rv .x-stat i { font-style: normal; font-size: 9.5px; color: #a6a6a6; }
#rv .x-stat b { font-size: 29px; line-height: 1; }
#rv .x-stat.w b { color: #3d3d3d; }
#rv .x-stat.on b { animation: rvStamp .28s ease both; }
@keyframes rvStamp { from { transform: scale(1.6); opacity: 0; } to { transform: none; opacity: 1; } }
#rv .x-info { position: absolute; left: 16px; right: 16px; top: var(--it); text-align: center; }
#rv .x-score { display: flex; align-items: baseline; justify-content: center; gap: 9px; margin-bottom: 5px; }
#rv .x-score i { font-style: normal; font-size: 11px; color: #9b9b9b; }
#rv .x-score b { font-size: 32px; line-height: 1.05; font-variant-numeric: tabular-nums; }
#rv .x-nm { margin: 0; font-size: 15.5px; line-height: 1.2; color: #e6e6e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#rv .x-ln { margin: 2px 0 0; font-size: 12px; color: #9b9b9b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the tray: six in view, a longer order slides */
#rv .x-tray { position: absolute; left: 16px; right: 16px; top: var(--tt); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 6); gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 0 2px 3px; }
#rv .x-tray::-webkit-scrollbar { display: none; }
#rv .x-t { display: block; width: 100%; padding: 0; text-align: center; }
#rv .x-t .g { display: block; height: 17px; font-size: 12.5px; line-height: 17px; color: #d8c89a; }
#rv .x-t .pic { display: block; position: relative; border-radius: 5px; aspect-ratio: 63 / 88; }
#rv .x-t img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
#rv .x-t .seal { display: block; width: 100%; height: 100%; background: linear-gradient(155deg, #2c2c2c, #0b0b0b); box-shadow: inset 0 0 0 1px rgba(216,200,154,.32); border-radius: 5px; }
#rv .x-t.cur .pic { outline: 2px solid #dc4f4c; outline-offset: 1px; }
#rv .x-foot { position: absolute; left: 16px; right: 16px; bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px; }
#rv .x-foot.one { grid-template-columns: minmax(0, 1fr); }

/* type on a metal background */
#rv.metal .bl-top .o { color: #2b2d31; }
#rv.metal .bl-top .bl-mk path { fill: #15120a; }
#rv.metal .bl-skip, #rv.metal .bl-x { color: #15120a; box-shadow: inset 0 0 0 1px #15120a; }
#rv.metal .x-nm { color: #15120a; }
#rv.metal .x-ln { color: #2b2d31; }
#rv.metal .x-stat i { color: #2b2d31; }
#rv.metal .x-stat b, #rv.metal .x-stat.on b { color: #15120a; }
#rv.metal .x-score i { color: #2b2d31; }
#rv.metal .x-score b { color: #15120a; }
#rv.metal .x-t .g { color: #15120a; }
#rv.metal .x-t.cur .pic { outline-color: #15120a; }
#rv.metal .bl-btn { color: #fff; background: #15120a; }
#rv.lock.tier-perfect.metal .bl-btn { color: #f7e6ab; }
#rv.metal .bl-btn.ghost, #rv.lock.tier-perfect.metal .bl-btn.ghost { color: #15120a; background: none; box-shadow: inset 0 0 0 1px #15120a; }

/* all the cards */
#rv .x-done { position: absolute; left: 16px; right: 16px; top: 60px; bottom: 80px; overflow-y: auto; scrollbar-width: none; }
#rv .x-done::-webkit-scrollbar { display: none; }
#rv .x-done h1 { margin: 0; font-size: 32px; line-height: 1.05; }
#rv .x-done p { margin: 8px 0 0; font-size: 14px; color: #d8c89a; }
#rv .x-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; margin-top: 14px; }
#rv .x-c { border-radius: 8px; padding: 5px; }
#rv .x-gr { display: flex; align-items: center; justify-content: center; gap: 5px; height: 34px; margin-bottom: 4px; line-height: 1.05; text-align: center; color: #f2f2f2; }
#rv .x-gr b { flex: none; font-size: 24px; }
#rv .x-gr span { min-width: 0; font-size: 12.5px; color: #d8c89a; }
#rv .x-c:is(.tier-perfect, .tier-gem, .tier-shine) :is(.x-gr, .x-gr span) { color: #15120a; }
#rv .x-c .cd { display: block; width: 100%; height: auto; border-radius: 5px; }
#rv .x-c.tier-gem { background: linear-gradient(128deg, #f0dc9c, #f6f7f8 52%, #a3a7ad); }
#rv .x-c.tier-perfect { background: radial-gradient(ellipse at 50% 40%, #f9ecba, #c7a252); }
#rv .x-c.tier-shine { background: radial-gradient(ellipse at 50% 40%, #fcfdfe, #a3a7ad); }

/* a holder and a label */
#rv .h-wrap { position: absolute; left: 0; right: 0; top: 54px; bottom: 78px; padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
#rv .h-wrap h1 { margin: 0; font-size: 23px; line-height: 1.1; }
#rv .h-all { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) repeat(var(--nc, 3), 36px); gap: 4px; align-items: center; }
#rv .h-all .w { padding-right: 3px; font-size: 13px; color: #bdbdbd; }
#rv .h-all .txt { min-height: 42px; padding: 0 2px; border-radius: 9px; font-size: 12.5px; color: #e6e6e6; box-shadow: inset 0 0 0 1px #3d3d3d; }
#rv .h-all .txt.on { color: #15120a; background: #d8c89a; box-shadow: none; }
#rv .sw { position: relative; display: block; width: 100%; height: 42px; padding: 9px 5px; border-radius: 9px; box-shadow: inset 0 0 0 1px #3d3d3d; }
#rv .sw.on { box-shadow: inset 0 0 0 2px #f2f2f2; }
#rv .sw i { display: block; width: 100%; height: 100%; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
#rv .sw.c-gold i { background: linear-gradient(135deg, #0c0c0c 0 52%, #c79d5e 52% 100%); }
#rv .sw.c-white i { background: linear-gradient(135deg, #f3f2ee 0 52%, #121212 52% 100%); }
#rv .sw.c-silver i { background: linear-gradient(135deg, #aeb2b7 0, #8b9096 30%, #a6abb1 52%, #fff 52% 100%); }
#rv .sw.c-sg i { background: linear-gradient(135deg, #ced1d6 0, #b0b4ba 30%, #c4c8cd 52%, #7a5618 52% 100%); }
#rv .sw.def::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #d8c89a; }
#rv .h-note { display: flex; align-items: center; gap: 8px; }
#rv .h-note .tx { flex: 1; margin: 0; font-size: 12px; line-height: 1.3; color: #a6a6a6; }
#rv .h-note .rs { flex: none; min-height: 32px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; color: #d9d9d9; box-shadow: inset 0 0 0 1px #3d3d3d; }
#rv .h-list { flex: 1; min-height: 0; display: grid; align-content: start; gap: 5px; overflow-y: auto; }
#rv .h-row { display: grid; grid-template-columns: 44px 146px minmax(0, 1fr); gap: 4px 6px; padding: 5px; border-radius: 9px; background: #151515; box-shadow: inset 0 0 0 1px #262626; }
#rv .h-row .th { grid-row: 1 / span 2; display: block; width: 44px; height: auto; border-radius: 3px; }
#rv .h-row .pv { display: block; width: 146px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
#rv .h-row .pv.none { aspect-ratio: 709 / 236; background: #1f1f1f; }
#rv .h-row .sws { display: grid; grid-template-columns: repeat(var(--nc, 3), minmax(0, 1fr)); gap: 3px; }
#rv .h-row .sw { height: 48px; padding: 13px 5px; }
#rv .h-seg { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
#rv .h-seg button { min-height: 30px; border-radius: 7px; font-size: 12.5px; color: #bdbdbd; box-shadow: inset 0 0 0 1px #333; }
#rv .h-seg button.on { color: #fff; background: #dc4f4c; box-shadow: none; }
#rv .h-err { margin: 0; font-size: 13px; color: #ff9d9a; }
#rv .h-foot { position: absolute; left: 16px; right: 16px; bottom: 18px; }
#rv .t-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 26px; text-align: center; }
#rv .t-wrap h1 { margin: 0; font-size: 30px; line-height: 1.1; }
#rv .t-wrap p { margin: 0; font-size: 15px; line-height: 1.45; color: #cfcfcf; }
#rv .t-wrap .bl-btn { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) {
  #rv *, #rv *::before, #rv *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* the order page: the sealed results (js/request.js) */
.rq-reveal { display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 0 0 1px rgba(216, 200, 154, .45); }
.rq-reveal .rq-revbtns { display: grid; gap: 8px; }
.rq-jcm em.rq-jcp { color: #d8c89a; }

/* ROUND 267: a customer chooses only the holder; the label's colour follows the grade */
#rv .h-all { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
#rv .h-row { align-items: center; }
#rv .h-row .th { grid-row: auto; }
#rv .h-seg { grid-column: auto; }
#rv .h-seg button { min-height: 44px; }
