/* Only what MudBlazor utility classes cannot express. */
.touch-target {
    min-height: 44px;
    min-width: 44px;
}

.draw-button {
    min-height: 72px;
    font-size: 1.25rem;
}

.prize-thumb {
    width: 100%;
    max-width: 8rem;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--mud-default-borderradius);
}

.prize-banner-img {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
    border-radius: var(--mud-default-borderradius);
    flex-shrink: 0;
}

.drawn-list {
    max-height: 32rem;
    overflow-y: auto;
}

.drawn-list .seq {
    min-width: 2.5rem;
    color: var(--mud-palette-text-secondary);
}

.drawn-list .dot {
    width: .9rem;
    height: .9rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.lh-1 {
    line-height: 1;
}

/* Blazor focuses the h1 on navigation for screen readers; the heading is not interactive, so hide the ring. */
h1:focus {
    outline: none;
}

/* Fullscreen shows only the stage, with the animation filling the screen. */
.draw-stage:fullscreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    overflow: auto;
    background: var(--mud-palette-background);
}

.draw-stage:fullscreen .rolling,
.draw-stage:fullscreen .slot {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
}

.draw-stage:fullscreen .wheel {
    width: min(100%, 78vh);
    margin-inline: auto;
}

.site-footer {
    padding: 1.5rem 1rem;
    text-align: center;
    border-top: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
}

.legal ul {
    margin: 0 0 .5rem 1.25rem;
    padding: 0;
}

.prize-dialog-img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: var(--mud-default-borderradius);
}

.hero {
    background:
        radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--mud-palette-secondary) 22%, transparent), transparent 45%),
        linear-gradient(135deg, color-mix(in srgb, var(--mud-palette-primary) 16%, var(--mud-palette-background)), var(--mud-palette-background));
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.hero-title {
    font-weight: 800;
    line-height: 1.1;
}

.hero-text {
    max-width: 36rem;
    color: var(--mud-palette-text-secondary);
}

.hero-cta {
    min-height: 48px;
    padding-inline: 2rem;
}

.hero-logo {
    width: min(9rem, 40%);
    height: auto;
    border-radius: 22%;
    box-shadow: var(--mud-elevation-10);
}

.landing-steps {
    padding-inline-start: 1.5rem;
}

.landing-steps li {
    margin-bottom: .5rem;
}

/* Round colour swatch that opens the colour picker. */
.color-swatch-button {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--mud-palette-lines-inputs);
    cursor: pointer;
}

.color-swatch-button:disabled {
    opacity: .6;
    cursor: default;
}
