/* All selectors are scoped to .cdz-root; no framework or global reset required. */
.cdz-root {
  --cdz-max-width: 720px;
  --cdz-plaque-ratio: 5.1;
  --cdz-badge-left: 5.2%;
  --cdz-badge-width: 35.5%;
  --cdz-badge-top: 48%;
  --cdz-label-left: 41%;
  --cdz-label-right: 9%;
  --cdz-label-top: 48%;
  --cdz-hand-width: 10%;
  --cdz-hand-right: 3%;
  --cdz-hand-bottom: -8%;
  --cdz-replay-ratio: 4.4444;
  --cdz-replay-width: 34%;
  box-sizing: border-box;
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--cdz-max-width);
  margin: 0 auto;
  padding: 8px max(6px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  color: #fff6dc;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.2;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
}
.cdz-root *, .cdz-root *::before, .cdz-root *::after { box-sizing: border-box; }
.cdz-root[hidden] { display: none !important; pointer-events: none !important; }
.cdz-root[data-cdz-placement="overlay"] { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 30; }
.cdz-root .cdz-download {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--cdz-plaque-ratio);
  min-height: 58px;
  border: 0;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: #073a2d;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .13s ease, filter .13s ease;
  outline-offset: 4px;
}
.cdz-root .cdz-download:focus-visible, .cdz-root .cdz-replay:focus-visible { outline: 3px solid #fff2c2; }
.cdz-root .cdz-download:active:not([aria-disabled="true"]) { transform: translateY(2px) scale(.993); filter: brightness(.92); }
.cdz-root .cdz-plaque { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.cdz-root .cdz-badge {
  position: absolute;
  left: var(--cdz-badge-left);
  top: var(--cdz-badge-top);
  width: var(--cdz-badge-width);
  height: auto;
  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
}
.cdz-root .cdz-badge-fallback { display: none; position: absolute; left: var(--cdz-badge-left); width: var(--cdz-badge-width); top: 50%; transform: translateY(-50%); color: #fff; font-size: 14px; text-align: center; }
.cdz-root .cdz-label {
  position: absolute;
  left: var(--cdz-label-left);
  right: var(--cdz-label-right);
  top: var(--cdz-label-top);
  transform: translateY(-50%);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 4.8vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,244,180,.45);
  pointer-events: none;
}
.cdz-root .cdz-hand {
  position: absolute;
  width: var(--cdz-hand-width);
  height: auto;
  right: var(--cdz-hand-right);
  bottom: var(--cdz-hand-bottom);
  pointer-events: none;
  transform-origin: 20% 15%;
  animation: cdz-tap 3.4s ease-in-out infinite;
  z-index: 2;
}
.cdz-root .cdz-sheen {
  position: absolute;
  left: 45%; right: 5%; top: 15%; bottom: 16%;
  border-radius: 8px;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,228,.32) 48%, transparent 61%);
  background-size: 300% 100%;
  opacity: 0;
  animation: cdz-shine 6.2s ease-in-out infinite;
  pointer-events: none;
}
.cdz-root .cdz-download[aria-disabled="true"] { cursor: default; filter: saturate(.68); }
.cdz-root .cdz-download[aria-disabled="true"] .cdz-hand, .cdz-root .cdz-download[aria-disabled="true"] .cdz-sheen { display: none; }
.cdz-root .cdz-replay {
  position: relative;
  display: block;
  width: var(--cdz-replay-width);
  min-width: 104px;
  aspect-ratio: var(--cdz-replay-ratio);
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff0c9;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform .13s ease, filter .13s ease;
  outline-offset: 2px;
}
.cdz-root .cdz-replay:active:not(:disabled) { transform: translateY(1px); filter: brightness(.88); }
.cdz-root .cdz-replay:disabled { opacity: .55; cursor: default; }
.cdz-root .cdz-replay-art { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); pointer-events: none; }
.cdz-root .cdz-replay-label { position: relative; display: block; font-size: clamp(14px, 4.2vw, 26px); font-weight: 800; line-height: 1; letter-spacing: .03em; text-shadow: 0 1px 2px #062018; pointer-events: none; }
.cdz-root .cdz-footnote, .cdz-root .cdz-status { margin: 0; text-align: center; max-width: 100%; font-weight: 400; line-height: 1.35; overflow-wrap: break-word; }
.cdz-root .cdz-footnote { font-size: clamp(9px, 2.55vw, 13px); color: #e7e4d5; text-shadow: 0 1px 3px #071510; }
.cdz-root .cdz-status { font-size: 11px; color: #ffe2a6; }
.cdz-root .cdz-status[hidden] { display: none; }
.cdz-root img[data-load-error="true"] { visibility: hidden; }
.cdz-root .cdz-download[data-art-error="true"] { border: 1px solid #d8b867; border-radius: 10px; background: linear-gradient(90deg,#092d23 0 40%,#edc45d 41% 100%); }
.cdz-root .cdz-download[data-badge-error="true"] .cdz-badge-fallback { display: block; }
.cdz-root .cdz-replay[data-art-error="true"] { border: 1px solid #d8b867; background: #0b3326; }
@supports (font-size: 1cqw) {
  .cdz-root .cdz-label { font-size: clamp(15px, 4.8cqw, 34px); }
  .cdz-root .cdz-replay-label { font-size: clamp(14px, 4.2cqw, 26px); }
  .cdz-root .cdz-footnote { font-size: clamp(9px, 2.55cqw, 13px); }
}
@media (hover: hover) {
  .cdz-root .cdz-download:hover:not([aria-disabled="true"]) { filter: brightness(1.045); }
  .cdz-root .cdz-replay:hover:not(:disabled) { filter: brightness(1.1); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .cdz-root { --cdz-max-width: 430px; gap: 5px; padding-top: 4px; padding-bottom: max(4px, env(safe-area-inset-bottom)); }
  .cdz-root .cdz-footnote { font-size: 9px; }
  .cdz-root .cdz-status { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cdz-root .cdz-hand, .cdz-root .cdz-sheen { animation: none; }
  .cdz-root .cdz-sheen { display: none; }
  .cdz-root .cdz-download, .cdz-root .cdz-replay { transition: none; }
}
@keyframes cdz-tap { 0%, 62%, 100% { transform: translate(0,0) rotate(0); } 70%, 79% { transform: translate(-2px,-2px) rotate(-3deg); } 74%, 83% { transform: translate(0,1px) rotate(1deg); } }
@keyframes cdz-shine { 0%, 69%, 100% { opacity: 0; background-position: 100% 0; } 73% { opacity: .5; } 86% { opacity: .5; background-position: 0 0; } 88% { opacity: 0; } }
