/* Shared currency symbols, including compact notices outside the video dialog. */
.rewardResource {
  display:inline-block; width:1.35em; height:1.35em; max-width:none;
  object-fit:contain; vertical-align:-.28em; flex:none; pointer-events:none;
}
.chPrize>.rewardResource {width:clamp(28px,6vw,48px);height:clamp(28px,6vw,48px)}
#dlgAdPick {
  box-sizing:border-box; width:min(744px,calc(100vw - 12px),max(470px,calc((100dvh - 12px)*1.043)));
  max-width:calc(100vw - 8px); max-height:calc(100dvh - 8px); margin:auto; padding:0;
  border:0;border-radius:4%;background:transparent;box-shadow:none;
  overflow:auto;scrollbar-width:thin;scrollbar-color:#8d62b0 #0d0920;overscroll-behavior:contain;
  container-type:inline-size;color:#fff4ff;font-family:"Golos Text",system-ui,sans-serif;
}
#dlgAdPick::backdrop {background:#080518b8;backdrop-filter:blur(3px)}
#dlgAdPick .videoStage {
  width:100%;aspect-ratio:1281/1227;position:relative;isolation:isolate;
  background:url('selection-frame.webp') center / 100% 100% no-repeat;
  text-shadow:0 1px 3px #10021c;
}
#dlgAdPick h2,#dlgAdPick p {margin:0}
#dlgAdPick h2,#dlgAdPick .videoClose,#dlgAdPick #apReset,#dlgAdPick #apLeft {
  position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;
}
#dlgAdPick h2 {
  inset:10.1% 20.5% 81.7% 20.5%;color:#ffe09a;
  font:700 5.2cqw/1 Georgia,serif;letter-spacing:-.02em;text-shadow:0 2px #924d26,0 0 .7cqw #853641;
}
#dlgAdPick .videoClose,#dlgAdPick .videoClaim {
  box-sizing:border-box;cursor:pointer;background:transparent;border:0;box-shadow:none;
  color:#fff9f3;font-family:inherit;text-shadow:0 1px 3px #2c0914;
}
#dlgAdPick .videoClose {inset:10% 4.1% 82.9% 80.4%;border-radius:8cqw;padding:0;font-size:2.22cqw;font-weight:650}
#dlgAdPick #apReset {
  inset:20.9% 24.9% 67.7%;flex-direction:column;gap:.45cqw;width:auto;max-width:none;
  padding:0 1.5cqw;border:0;border-radius:0;background:none;color:#fff6ff;
}
#dlgAdPick #apReset span {font:600 2.15cqw/1.1 "Golos Text",system-ui,sans-serif;opacity:1}
#dlgAdPick #apReset b {font:800 4.85cqw/1 "Golos Text",system-ui,sans-serif;color:#ffe089;letter-spacing:.015em;font-variant-numeric:tabular-nums}
#dlgAdPick .videoCards {position:absolute;inset:34.1% 6.05% 16.9%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.85%}
#dlgAdPick .videoCard {position:relative;min-width:0;text-align:center}
#dlgAdPick .videoCard>img {position:absolute;inset:8.6% 14% auto;width:72%;height:28%;object-fit:contain;filter:drop-shadow(0 0 .65cqw #78bcfc80);pointer-events:none}
#dlgAdPick .videoCard.coins>img {filter:drop-shadow(0 0 .6cqw #ffd18380)}
#dlgAdPick .videoCard strong,#dlgAdPick .videoKind,#dlgAdPick .videoClaim,#dlgAdPick .videoLeft {
  position:absolute;left:5%;right:5%;display:grid;place-items:center;line-height:1.1;
}
#dlgAdPick .videoCard strong {top:41.7%;height:13%;font:bold 5.65cqw/1 Georgia,serif;color:#ffdd79;text-shadow:0 1px #9a5720}
#dlgAdPick .videoKind {top:55%;height:10%;color:#efe6ff;font-size:2.45cqw;font-weight:600}
#dlgAdPick .videoClaim {inset:66.6% 8.6% 16.5%;min-width:0;min-height:0;margin:0;padding:0 2%;
  border-radius:4.7cqw;font-size:2.61cqw;font-weight:750;color:#fffcf5}
#dlgAdPick .videoClaim:hover:enabled,#dlgAdPick .videoClose:hover {background:#fff3dc1a}
#dlgAdPick button:focus-visible {outline:2px solid #fff4bd;outline-offset:1px}
#dlgAdPick .videoClaim:disabled {background:#251737cc;color:#d4cbce;cursor:default}
#dlgAdPick .videoLeft {top:85.7%;height:9%;font-size:1.94cqw;color:#fff5ee;font-variant-numeric:tabular-nums}
#dlgAdPick #apLeft {inset:85.4% 18% 7.4%;font-size:2.12cqw;line-height:1.22;color:#e7dbff}
@container(max-width:480px) {
  #dlgAdPick .videoStage {aspect-ratio:.86}
  #dlgAdPick h2 {inset:10% 19.2% 81.2% 12%;font-size:5.7cqw}
  #dlgAdPick .videoClose {inset:9% 1.5% 81% 79%;font-size:clamp(10px,2.9cqw,14px)}
  #dlgAdPick #apReset {left:20%;right:20%}
  #dlgAdPick #apReset span {font-size:clamp(10px,2.8cqw,14px)}
  #dlgAdPick #apReset b {font-size:6.25cqw}
  #dlgAdPick .videoCard>img {inset-inline:11%;width:78%}
  #dlgAdPick .videoCard strong {font-size:7.6cqw}
  #dlgAdPick .videoKind {font-size:clamp(11px,3cqw,14px)}
  #dlgAdPick .videoClaim {inset:65% 0 15%;font-size:clamp(11px,3cqw,14px)}
  #dlgAdPick .videoLeft {inset-inline:0;font-size:clamp(9px,2.55cqw,12px)}
  #dlgAdPick #apLeft {inset-inline:12%;font-size:clamp(11px,2.8cqw,14px)}
}
/* The illustrated shell contains the real button faces and transparent outer corners. */
body.cosmos dialog#dlgAdPick {background:transparent!important}
#dlgAdPick[open] {margin:auto}
#dlgAdPick #apReset {min-height:0}
#dlgAdPick .videoStage button {--button-depth:none;--button-bevel:none;box-shadow:none!important;border:0!important}
#dlgAdPick .videoClaim {display:flex;align-items:center;justify-content:center;gap:.65cqw}
#dlgAdPick .videoClaim::before {content:"";flex:none;width:0;height:0;
  border-top:.95cqw solid transparent;border-bottom:.95cqw solid transparent;border-left:1.55cqw solid currentColor}
@container(max-width:480px) {
  #dlgAdPick #apLeft {left:20%;right:20%;font-size:clamp(11px,2.95cqw,14px)}
  #dlgAdPick .videoLeft {font-size:clamp(9.5px,2.75cqw,13px)}
}
