/* Border Run v4.2.8zo — photoreal dice with face-aligned recessed inlay pips. */
.photoreal-die-shell{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;pointer-events:none!important;user-select:none!important;filter:drop-shadow(0 12px 9px rgba(0,0,0,.58))}
.photo-die-pips{position:absolute!important;left:var(--br-pip-left,16%)!important;top:var(--br-pip-top,24%)!important;width:var(--br-pip-width,58%)!important;height:var(--br-pip-height,60%)!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;grid-template-rows:repeat(3,1fr)!important;z-index:4!important;transform:none!important;transform-origin:center!important;pointer-events:none!important}
/* Several collector shells are photographed with more of the right side wall
   visible, so their front face sits left of the canvas center. Align the pip
   grid to the actual front face instead of applying one offset to every skin. */
[data-br-skin="evidence"],[data-br-skin="internal"],[data-br-skin="route66"],[data-br-skin="hauler"],[data-br-skin="kingpin"],[data-br-skin="dirtydozen"]{--br-pip-left:11%;--br-pip-top:23%;--br-pip-width:58%;--br-pip-height:60%}
[data-br-skin="smuggler"],[data-br-skin="lucky"],[data-br-skin="cbwave"]{--br-pip-left:13%;--br-pip-top:23%;--br-pip-width:58%;--br-pip-height:60%}
/* Each pip is a carved socket with an inlay below the face plane. The bright
   upper-left bevel and dark lower-right wall inherit the rendered die's light. */
.photo-die-pips i{display:block!important;position:relative!important;place-self:center!important;width:clamp(9px,36%,25px)!important;aspect-ratio:1!important;height:auto!important;border:0!important;border-radius:50%!important;background:radial-gradient(circle at 52% 56%,var(--br-die-pip-ring,#070908) 0 64%,var(--br-die-pip-bevel-dark,rgba(0,0,0,.88)) 70% 78%,var(--br-die-pip-bevel-light,rgba(255,255,255,.5)) 92% 100%)!important;box-shadow:inset 2px 2px 4px var(--br-die-pip-bevel-dark,rgba(0,0,0,.88)),inset -1.5px -1.5px 2px var(--br-die-pip-bevel-light,rgba(255,255,255,.5)),-1px -1px 1px rgba(255,255,255,.34),1.5px 2px 2px rgba(0,0,0,.58)!important;transform:none!important;overflow:hidden!important}
.photo-die-pips i::before{content:""!important;position:absolute!important;inset:14%!important;border-radius:50%!important;background:radial-gradient(circle at 35% 30%,var(--br-die-pip-shine,#fff) 0 7%,var(--br-die-pip,#fff) 28% 60%,var(--br-die-pip-shade,rgba(0,0,0,.34)) 100%)!important;box-shadow:inset 1px 1px 2px var(--br-die-pip-shine,#fff),inset -2px -2px 3px var(--br-die-pip-shade,rgba(0,0,0,.34)),0 1px 1px rgba(0,0,0,.52)!important}
.photo-die-pips i::after{content:""!important;position:absolute!important;inset:5%!important;border-radius:50%!important;border-top:1px solid var(--br-die-pip-bevel-light,rgba(255,255,255,.5))!important;border-left:1px solid var(--br-die-pip-bevel-light,rgba(255,255,255,.5))!important;border-right:1px solid transparent!important;border-bottom:1px solid var(--br-die-pip-bevel-dark,rgba(0,0,0,.88))!important;opacity:.72!important}
.photo-die-pips i.p1{grid-area:1/1}.photo-die-pips i.p3{grid-area:1/3}.photo-die-pips i.p4{grid-area:2/1}.photo-die-pips i.p5{grid-area:2/2}.photo-die-pips i.p6{grid-area:2/3}.photo-die-pips i.p7{grid-area:3/1}.photo-die-pips i.p9{grid-area:3/3}
.dice-photo-preview.photoreal-dice-preview{overflow:visible!important;background:radial-gradient(circle,rgba(38,63,57,.34),transparent 68%)!important;border-color:rgba(213,181,95,.34)!important;isolation:isolate!important}
.dice-photo-preview.photoreal-dice-preview>img{object-fit:contain!important;filter:drop-shadow(0 6px 4px rgba(0,0,0,.48))!important}
.dice-photo-preview.photoreal-dice-preview .preview-pips i{width:clamp(5px,48%,13px)!important}
.dice-photo-preview.photoreal-dice-preview.dice-finish-effect-matte>img{filter:saturate(.82) contrast(.96) brightness(.93) drop-shadow(0 6px 4px rgba(0,0,0,.48))!important}
.dice-photo-preview.photoreal-dice-preview.dice-finish-effect-gloss:after,.dice-photo-preview.photoreal-dice-preview.dice-finish-effect-prestige:after{border-radius:14px!important;z-index:5!important}

body>#boardDiceOverlay.separate-dice-screen .die-cube3d.photoreal-die-holder,.city-d6-overlay .die-cube3d.photoreal-die-holder,#hustle2d6Overlay .die-cube3d.photoreal-die-holder{position:relative!important;background:none!important;border:0!important;overflow:visible!important;filter:none!important;transform:none!important;box-shadow:none!important;perspective:1200px!important;transform-style:preserve-3d!important;-webkit-transform-style:preserve-3d!important}
body>#boardDiceOverlay.separate-dice-screen .photoreal-die-holder .photo-die-spin-shell,.city-d6-overlay .photoreal-die-holder .photo-die-spin-shell,#hustle2d6Overlay .photoreal-die-holder .photo-die-spin-shell{position:absolute!important;inset:-14%!important;width:128%!important;height:128%!important;display:block!important;transform-style:preserve-3d!important;-webkit-transform-style:preserve-3d!important;transform:rotateX(0deg) rotateY(0deg) rotateZ(0deg)!important;transform-origin:50% 52%!important;will-change:transform!important}
.photoreal-die-holder.dice-finish-effect-matte .photoreal-die-shell,.photoreal-solid-die.dice-finish-effect-matte .photoreal-die-shell,.photoreal-result-die.dice-finish-effect-matte .photoreal-die-shell{filter:saturate(.82) contrast(.96) brightness(.91) drop-shadow(0 12px 9px rgba(0,0,0,.58))!important}
.photoreal-die-holder.dice-finish-effect-gloss .photoreal-die-shell,.photoreal-solid-die.dice-finish-effect-gloss .photoreal-die-shell,.photoreal-result-die.dice-finish-effect-gloss .photoreal-die-shell{filter:saturate(1.08) contrast(1.06) brightness(1.04) drop-shadow(0 12px 9px rgba(0,0,0,.58))!important}
.photoreal-die-holder.dice-finish-effect-prestige .photoreal-die-shell,.photoreal-solid-die.dice-finish-effect-prestige .photoreal-die-shell,.photoreal-result-die.dice-finish-effect-prestige .photoreal-die-shell{filter:saturate(1.03) contrast(1.13) brightness(1.07) drop-shadow(0 0 10px rgba(238,210,132,.24)) drop-shadow(0 12px 9px rgba(0,0,0,.58))!important}
body>#boardDiceOverlay.separate-dice-screen.rolling .dice-flight-a .photoreal-die-holder .photo-die-spin-shell{animation:v428zoPhotoDieA 1.88s cubic-bezier(.13,.68,.18,1) both!important}
body>#boardDiceOverlay.separate-dice-screen.rolling .dice-flight-b .photoreal-die-holder .photo-die-spin-shell{animation:v428zoPhotoDieB 1.88s cubic-bezier(.13,.68,.18,1) both!important}
.city-d6-overlay.rolling .photoreal-die-holder .photo-die-spin-shell{animation:v428zoPhotoDieA .9s cubic-bezier(.13,.68,.18,1) both!important}
#hustle2d6Overlay.rolling .hustle-dice-flight-a .photoreal-die-holder .photo-die-spin-shell{animation:v428zoPhotoDieA 1.32s cubic-bezier(.13,.68,.18,1) both!important}
#hustle2d6Overlay.rolling .hustle-dice-flight-b .photoreal-die-holder .photo-die-spin-shell{animation:v428zoPhotoDieB 1.32s cubic-bezier(.13,.68,.18,1) both!important}
@keyframes v428zoPhotoDieA{0%{transform:translate3d(-25px,-28px,0) rotateX(18deg) rotateY(-28deg) rotateZ(-720deg) scale(.48)!important;filter:blur(1.5px)}35%{transform:translate3d(12px,-12px,16px) rotateX(210deg) rotateY(286deg) rotateZ(-432deg) scale(.82)!important;filter:blur(.8px)}70%{transform:translate3d(-7px,3px,4px) rotateX(486deg) rotateY(612deg) rotateZ(-146deg) scale(1.08)!important;filter:none}88%{transform:translate3d(3px,-5px,0) rotateX(548deg) rotateY(704deg) rotateZ(-18deg) scale(.96)!important}100%{transform:translate3d(0,0,0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1)!important;filter:none}}
@keyframes v428zoPhotoDieB{0%{transform:translate3d(27px,-31px,0) rotateX(-16deg) rotateY(30deg) rotateZ(738deg) scale(.46)!important;filter:blur(1.5px)}35%{transform:translate3d(-13px,-11px,16px) rotateX(-204deg) rotateY(274deg) rotateZ(449deg) scale(.84)!important;filter:blur(.8px)}70%{transform:translate3d(8px,4px,4px) rotateX(-472deg) rotateY(598deg) rotateZ(154deg) scale(1.08)!important;filter:none}88%{transform:translate3d(-3px,-5px,0) rotateX(-534deg) rotateY(690deg) rotateZ(20deg) scale(.96)!important}100%{transform:translate3d(0,0,0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1)!important;filter:none}}

.hustle-solid-die.photoreal-solid-die,.hustle-result-die.photoreal-result-die,.party-dice-broadcast-pair .party-roll-die.photoreal-result-die{position:relative!important;display:block!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;color:transparent!important}
.photoreal-solid-die .hsd-face{display:none!important}
.photoreal-solid-die .photoreal-die-shell,.photoreal-result-die .photoreal-die-shell{inset:-12%!important;width:124%!important;height:124%!important}
.photoreal-result-die .result-pips,.photoreal-solid-die .solid-pips{z-index:7!important}
.hustle-result-dice .photoreal-result-die i,.party-dice-broadcast-pair .photoreal-result-die i{position:relative!important;width:clamp(6px,42%,12px)!important;height:auto!important}
.party-dice-mini .party-mini-photo-die{position:relative!important;display:block!important;width:34px!important;height:34px!important;overflow:visible!important}
.party-dice-mini .party-mini-photo-die>img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 3px 2px rgba(0,0,0,.52))!important}
.party-dice-mini .mini-pips i{width:clamp(4px,46%,8px)!important;border-width:1px!important}
.roll-die.photoreal-roll-button-die{position:relative!important;display:block!important;padding:0!important;border:0!important;background:none!important;overflow:visible!important;box-shadow:none!important;transform:none!important}
.roll-die.photoreal-roll-button-die .photoreal-die-shell{filter:drop-shadow(0 3px 2px rgba(0,0,0,.54))!important}
.roll-die.photoreal-roll-button-die .button-pips i{width:clamp(4px,46%,9px)!important;border-width:1px!important}
.buyer-dice-preview>.roll-dice-icon{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;height:100%!important}
.buyer-dice-preview .photoreal-roll-button-die{width:54px!important;height:54px!important}
.buyer-dice-preview .photoreal-roll-button-die .button-pips i{width:7px!important}
@media(max-width:560px){.photo-die-pips{left:var(--br-pip-left,16%)!important;top:var(--br-pip-top,24%)!important;width:var(--br-pip-width,58%)!important;height:var(--br-pip-height,60%)!important}.photo-die-pips i{width:clamp(8px,36%,19px)!important}.dice-photo-preview.photoreal-dice-preview .preview-pips i{width:clamp(5px,38%,11px)!important}}


/* v4.2.9zf — iOS-safe photoreal dice shell. Use a background layer inside the
   animated shell so the die art does not disappear during transforms. */
.photo-die-spin-shell{position:relative!important;display:block!important;width:100%!important;height:100%!important;transform-style:preserve-3d!important;overflow:visible!important}
.photoreal-die-surface{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;pointer-events:none!important;user-select:none!important;z-index:1!important;backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important;transform:translateZ(.1px)!important;will-change:transform,opacity!important;filter:drop-shadow(0 12px 9px rgba(0,0,0,.58))!important}
.photo-die-pips{z-index:4!important;backface-visibility:hidden!important;-webkit-backface-visibility:hidden!important;transform:translateZ(.2px)!important}
.photoreal-die-holder{overflow:visible!important}

/* ============================================================
   BORDER RUN v4.2.10fn — FINAL SPECIAL-PIP LEGIBILITY
   Lightning/crown pips are hero marks: large enough to read instantly while
   preserving the 3x3 grid spacing needed by faces 4, 5 and 6.
   ============================================================ */
:is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .photo-die-pips{
  left:10%!important;top:13%!important;width:80%!important;height:78%!important;
}
:is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .photo-die-pips i{
  width:clamp(14px,68%,42px)!important;min-width:14px!important;max-width:42px!important;
  height:auto!important;aspect-ratio:1!important;
}
body>#boardDiceOverlay.separate-dice-screen :is(.true-3d-die[data-br-skin="dominitystormfuzz"],.true-3d-die[data-br-skin="dirtydozenfuzz"]) .br3d-face,
.city-d6-overlay :is(.true-3d-die[data-br-skin="dominitystormfuzz"],.true-3d-die[data-br-skin="dirtydozenfuzz"]) .br3d-face{
  padding:11%!important;
}
body>#boardDiceOverlay.separate-dice-screen :is(.true-3d-die[data-br-skin="dominitystormfuzz"],.true-3d-die[data-br-skin="dirtydozenfuzz"]) .br3d-face i,
.city-d6-overlay :is(.true-3d-die[data-br-skin="dominitystormfuzz"],.true-3d-die[data-br-skin="dirtydozenfuzz"]) .br3d-face i{
  width:clamp(16px,70%,44px)!important;min-width:16px!important;max-width:44px!important;
  height:auto!important;aspect-ratio:1!important;
}
#hustle2d6Overlay :is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .hsd-face i,
#unifiedActionDiceOverlay :is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .hsd-face i{
  width:clamp(12px,64%,28px)!important;min-width:12px!important;max-width:28px!important;
  height:auto!important;aspect-ratio:1!important;
}
#lrPrimaryRoll :is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .photo-die-pips i,
.pr-bottom-nav>.lr-primary-roll :is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .photo-die-pips i,
#lrPrimaryRoll .br-bottom-die:is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .br-bottom-pip,
.pr-bottom-nav>.lr-primary-roll .br-bottom-die:is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .br-bottom-pip{
  width:9px!important;min-width:9px!important;max-width:9px!important;height:9px!important;min-height:9px!important;max-height:9px!important;
}
@media(max-width:430px){
  #lrPrimaryRoll :is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .photo-die-pips i,
  .pr-bottom-nav>.lr-primary-roll :is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .photo-die-pips i,
  #lrPrimaryRoll .br-bottom-die:is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .br-bottom-pip,
  .pr-bottom-nav>.lr-primary-roll .br-bottom-die:is([data-br-skin="dominitystormfuzz"],[data-br-skin="dirtydozenfuzz"]) .br-bottom-pip{
    width:8px!important;min-width:8px!important;max-width:8px!important;height:8px!important;min-height:8px!important;max-height:8px!important;
  }
}
