/* Both reward dialogs share the approved illustrations throughout the year. */
html body dialog#dlgPick.bonusChoice,
html body dialog#dlgPick.bonusChoice[data-bonus="mini"] {
  --shell: url("../festive/frame.webp");
  --normal-chest: url("../festive/standard.webp");
  --double-chest: url("../festive/double.webp");
  border-radius: clamp(17px, 3.1vw, 37px);
}
html body dialog#dlgPick.bonusChoice[data-bonus="mini"] { --symbol: url("../festive/hourglass.webp"); }
#dlgPick .dlgHead::before {
  inset: 3% 18% 0 34%;
  background-image: url("aurora.webp");
  mask-image: radial-gradient(ellipse at center, black 44%, #000e 64%, transparent 78%);
}
#dlgPick .pkArt, #dlgPick[data-bonus="mini"] .pkArt {aspect-ratio: 595/382;}
@media (min-width:561px) and (min-height:481px) {
  #dlgPick #pickBody, #dlgPick[data-bonus="mini"] #pickBody {padding: .8cqw 6.7% 7.1cqw 8% !important;}
}

/* Atmosphere and snowflakes sit below playing pieces and never receive clicks. */
.nyBoardArt, .nySnowCap {display:none;pointer-events:none;}
.polarSeason .nyBoardArt {display:initial;}
html.polarSeason .nySnowCap {
  display:block;position:absolute;top:2px;left:8%;width:84%;height:clamp(4px,.65vw,9px);
  opacity:.94;background:linear-gradient(180deg,#effdff 10%,#a7c7ee 58%,#6988ac 95%);
  clip-path:polygon(0 60%,4% 28%,10% 12%,17% 33%,25% 19%,31% 43%,40% 15%,51% 31%,57% 13%,63% 34%,70% 22%,79% 38%,88% 16%,95% 35%,100% 58%,92% 63%,87% 51%,83% 86%,80% 56%,67% 71%,60% 51%,53% 81%,49% 58%,39% 63%,32% 53%,27% 100%,25% 60%,19% 73%,13% 57%,4% 73%);
}
html.polarSeason #polarScenery .polarFir::after {
  content:"";position:absolute;bottom:-6%;left:-9%;width:118%;height:64%;
  background: center bottom / contain no-repeat;pointer-events:none;
}
html.polarSeason #polarScenery .polarFir.left::after {background-image:url("lira.webp");}
html.polarSeason #polarScenery .polarFir.right::after {background-image:url("snowman.webp");}
html.polarSeason body.portraitMatch:not(.boardFs) #gameTable {
  grid-template-areas:"tools tools" "notices notices" "opponent local" "board board" "match match" "info info";
  grid-template-rows:repeat(6,auto) !important;
}
html.polarSeason body.portraitMatch:not(.boardFs) #gameHeader {padding-top:31px !important;}
html.polarSeason body.portraitMatch:not(.boardFs) #gameHeader #polarFlight:not([hidden]) {
  top:-2px;left:5% !important;width:44% !important;height:43px;transform:none;
}
html.polarSeason body.portraitMatch #gameTable #boardStage #mStakeChips {
  flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;
  scrollbar-width:thin;scrollbar-color:#81639b transparent;
}
html.polarSeason body.portraitMatch #gameTable #boardStage #mStakeChips .chip {
  flex:0 0 max(43px,13%);width:auto;scroll-snap-align:center;touch-action:pan-x;
}
html.polarSeason body.portraitMatch:not(.boardFs) #gameTable > aside.players {
  min-height:104px;
  background:url("lira.webp") left top/20% auto no-repeat,url("snowman.webp") right top/20% auto no-repeat;
}
html.polarSeason body.portraitMatch:not(.boardFs) #gameTable #matchSummary {width:57% !important;margin:0 auto !important;}
/* Each path also resolves relative to the original reward stylesheet. */
#dlgPick .pkArt {background-image:url("../festive/standard.webp");}
#dlgPick .x2 .pkArt {background-image:url("../festive/double.webp");}
html.polarSeason body.portraitMatch:not(.boardFs) #compactPlayers .pcard:not(.detailsOpen) .pc-grid {display:none !important;}
html.polarSeason body.portraitMatch:not(.boardFs) #compactPlayers .pname {position:relative;padding-inline-end:12px;}
html.polarSeason body.portraitMatch:not(.boardFs) #compactPlayers .phoneNameDetails {
 display:block;position:absolute;inset:0;width:100%;height:100%;background:transparent !important;border:0 !important;box-shadow:none !important;color:#ffdd91;
}
html.polarSeason body.portraitMatch:not(.boardFs) #compactPlayers .phoneNameDetails::after {
 content:"";position:absolute;right:2px;top:40%;width:5px;height:5px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);
}
html.polarSeason body.portraitMatch #compactPlayers .phoneNameDetails[aria-expanded="true"]::after {transform:rotate(225deg);}
html.polarSeason body:not(.homeOn) #polarFlight:not([hidden]),
html.polarSeason body:not(.homeOn) #polarScenery > #polarPostcard:not([hidden]) {background-image:url("santa-flight.webp");}
html.polarSeason body:not(.homeOn) #polarPostcard:not([hidden]) {
 background-image:url("santa-flight.webp"),url("../polar-orbit/fir-sapphire.webp"),url("../polar-orbit/fir-amethyst.webp"),url("../polar-orbit/snowfields.webp");
}
