.fvv-app {
  --fvv-ink: #17364d;
  container: fleurry-vote / inline-size;
  width: 100%;
  max-width: none;
  margin: 32px 0;
  color: #202830;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fvv-app, .fvv-app * { box-sizing: border-box; }
.fvv-app [hidden] { display: none !important; }
.fvv-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #dce3e8;
  border-radius: 12px;
}
.fvv-layout {
  overflow-wrap: anywhere;
}
.fvv-layout.has-video .fvv-media { margin-bottom: 16px; }
@container fleurry-vote (min-width: 768px) {
  .fvv-card { padding: 28px; }
  .fvv-layout.has-video {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    grid-template-areas: "title title" "instructions gate" "media menu";
    column-gap: 24px;
    align-items: start;
  }
  .fvv-title { grid-area: title; }
  .fvv-instructions { grid-area: instructions; }
  .fvv-gate { grid-area: gate; }
  .fvv-layout.has-video .fvv-media { grid-area: media; margin-bottom: 0; }
  .fvv-menu { grid-area: menu; }
}
.fvv-app .fvv-title {
  margin: 0 0 8px;
  color: var(--fvv-ink);
  font-size: 24px;
  line-height: 1.3;
}
.fvv-lottery { font-size: 16px; font-weight: 500; }
.fvv-bullet { font-size: 14px; font-weight: 500; }
.fvv-app .fvv-instructions { margin: 0 0 16px; }
.fvv-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
}
.fvv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fvv-video.is-loading iframe { opacity: 0; }
.fvv-app .fvv-play-hint { margin: 10px 0 0; }
.fvv-app .fvv-progress { color: #52616d; font-size: 14px; font-weight: 500; white-space: nowrap; }
.fvv-app .fvv-gate { margin: 0 0 16px; min-height: 24px; font-variant-numeric: tabular-nums; }
.fvv-ratings { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.fvv-app .fvv-vote-hint { margin: 0; color: var(--fvv-ink); font-weight: 600; }
.fvv-app .fvv-vote-hint:not(:empty) { margin-top: 10px; }
.fvv-app button, .fvv-app .fvv-login {
  font: inherit;
  font-weight: 650;
  line-height: 1.3;
  padding: 13px 12px;
  min-height: 48px;
  border: 2px solid var(--fvv-ink);
  border-radius: 7px;
  color: var(--fvv-ink);
  background: #fff;
  cursor: pointer;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
}
.fvv-ratings button { width: 100%; }
.fvv-app button:hover:not(:disabled), .fvv-app button.is-selected {
  background: var(--fvv-ink);
  color: #fff;
}
.fvv-app button:focus-visible, .fvv-app a:focus-visible { outline: 3px solid #d39e27; outline-offset: 4px; }
.fvv-app button:disabled { opacity: .45; cursor: not-allowed; }
.fvv-app button.is-selected { opacity: 1; }
.fvv-error { color: #9f1d2b; padding: 12px; border-left: 4px solid #b52c35; background: #fff1f2; }
.fvv-app .fvv-preview { margin: 0 0 20px; padding: 10px 14px; background: #fff3d5; color: #694700; border-radius: 5px; }
.fvv-retry, .fvv-login { display: inline-block; margin: 8px 8px 0 0; }
.fvv-app .fvv-recovery-hint { margin: 8px 0; color: #52616d; font-size: 14px; }
.fvv-app .fvv-login { text-decoration: none; }
