:root {
    --bg: #0d0f12;
    --surface: #161a20;
    --surface-light: #20262e;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #d6a85f;
    --accent-hover: #f0c777;
    --danger: #ff6b6b;
    --border: #2b313a;
    --radius: 18px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(214, 168, 95, 0.12), transparent 35%),
        linear-gradient(135deg, #0d0f12, #11151a 60%, #090a0c);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a {
    color: var(--muted);
    font-weight: 600;
}

nav a:hover {
    color: var(--text);
}

.nav-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #17110a;
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.nav-button:hover,
.button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 72px;
}

.hero {
    min-height: 68vh;
    display: grid;
    align-items: center;
}

.hero-card {
    max-width: 760px;
}

.eyebrow {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

h1 {
    font-size: clamp(2.4rem, 7vw, 5.5rem);
    line-height: 0.95;
    margin: 16px 0;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-top: 0;
}

p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 11px 18px;
    color: var(--text);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.03);
}

.secondary-button:hover {
    border-color: var(--accent);
}

.card {
    background: rgba(22, 26, 32, 0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    backdrop-filter: blur(14px);
}

.auth-wrapper {
    min-height: 70vh;
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(440px, 100%);
}

.form-group {
    margin-bottom: 16px;
}

.success {
    color: #dcfce7;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.library-card {
    margin-top: 24px;
}

.library-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.game-search {
    max-width: 420px;
    margin: 0;
}

.library-count {
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.steam-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.steam-game-card {
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: 0.2s ease;
}

.steam-game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 168, 95, 0.55);
}

.steam-game-link {
    display: block;
    height: 100%;
}

.steam-game-image {
    width: 100%;
    height: 105px;
    display: block;
    object-fit: cover;
    background: var(--surface-light);
}

.steam-game-content {
    padding: 14px;
}

.steam-game-content h3 {
    margin: 0 0 10px;
    font-size: 0.98rem;
    line-height: 1.25;
}

.steam-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.steam-meta span {
    color: var(--muted);
    font-size: 0.85rem;
}

.steam-view {
    color: var(--accent) !important;
    font-weight: 800;
}

.no-image .steam-game-content {
    min-height: 115px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 760px) {
    .library-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .game-search {
        max-width: 100%;
    }

    .steam-library-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .steam-game-image {
        height: 82px;
    }
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

input {
    width: 100%;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #0f1216;
    color: var(--text);
    font-size: 1rem;
    outline: none;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(214, 168, 95, 0.12);
}

.error {
    color: #ffd4d4;
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.25);
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.feature-card {
    min-height: 170px;
}

.feature-card span {
    color: var(--accent);
    font-weight: 900;
    font-size: 0.85rem;
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.site-footer p {
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .site-header {
        padding: 18px 0;
    }

    nav {
        gap: 12px;
    }

    .logo {
        font-size: 1.05rem;
    }

    .page {
        padding-top: 18px;
    }

    .hero {
        min-height: 62vh;
    }

    .card {
        padding: 22px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .actions a,
    .actions button,
    .button,
    .secondary-button {
        width: 100%;
    }
}

/* Steam library grid override */
.steam-library-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
}

.steam-game-card {
    width: 100% !important;
    max-width: none !important;
}

.steam-game-card img,
.steam-game-image {
    width: 100% !important;
    height: 105px !important;
    object-fit: cover !important;
}

@media (max-width: 760px) {
    .steam-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .steam-game-image {
        height: 78px !important;
    }
}

@media (max-width: 420px) {
    .steam-library-grid {
        grid-template-columns: 1fr !important;
    }
}

.games-grid-v2 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.game-card-v2 {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: 0.2s ease;
}

.game-card-v2:hover {
    transform: translateY(-3px);
    border-color: rgba(214, 168, 95, 0.55);
}

.game-card-v2 .steam-game-image {
    width: 100%;
    height: 105px;
    display: block;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .games-grid-v2 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .games-grid-v2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .games-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .game-card-v2 .steam-game-image {
        height: 78px;
    }
}

@media (max-width: 420px) {
    .games-grid-v2 {
        grid-template-columns: 1fr;
    }
}
.admin-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.admin-tabs a {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--muted);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.03);
}

.admin-tabs a.active,
.admin-tabs a:hover {
    border-color: var(--accent);
    color: var(--text);
}

.admin-card {
    margin-top: 22px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
}

select {
    width: 100%;
    padding: 14px 15px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #0f1216;
    color: var(--text);
    font-size: 1rem;
    outline: none;
}

.user-list {
    display: grid;
    gap: 12px;
}

.user-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 140px 110px auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.user-row span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
}

.checkbox-label input {
    width: auto;
}

@media (max-width: 900px) {
    .settings-grid,
    .user-row {
        grid-template-columns: 1fr;
    }
}

.account-card {
    position: relative;
}

.account-card.connected {
    border-color: rgba(34, 197, 94, 0.42);
}

.account-card-top,
.stream-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.account-card-top h2,
.stream-header h3 {
    margin-bottom: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill.is-connected {
    color: #dcfce7;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.34);
}

.status-pill.is-disconnected {
    color: #fee2e2;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.connected-detail {
    color: #dcfce7;
    font-size: 0.92rem;
    font-weight: 800;
    margin-top: 12px;
}

.compact-actions {
    margin-top: 18px;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.55;
}

.stream-card {
    margin-top: 28px;
}

.activity-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.activity-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    transition: 0.2s ease;
}

.activity-row:hover {
    border-color: rgba(214, 168, 95, 0.55);
    transform: translateY(-1px);
}

.activity-row img {
    width: 120px;
    height: 45px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--surface-light);
}

.activity-row strong,
.activity-row span {
    display: block;
}

.activity-row span {
    color: var(--muted);
    margin-top: 4px;
    font-size: 0.9rem;
}

.account-connect-card .account-card-top {
    align-items: center;
}

@media (max-width: 650px) {
    .account-card-top,
    .stream-header {
        flex-direction: column;
    }

    .activity-row {
        grid-template-columns: 1fr;
    }

    .activity-row img {
        width: 100%;
        height: auto;
    }
}

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.playlist-card {
    display: flex;
    flex-direction: column;
}

.playlist-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    background: var(--surface-light);
    margin-bottom: 16px;
}

.playlist-placeholder,
.activity-provider-icon {
    display: grid;
    place-items: center;
    color: var(--accent);
    font-weight: 900;
    border: 1px solid var(--border);
}

.playlist-card h3 {
    margin: 0 0 8px;
}

.playlist-card p {
    margin-top: 0;
}

.playlist-card form,
.compact-actions form {
    margin: 0;
}

button.secondary-button {
    cursor: pointer;
}

.stream-actions {
    margin-top: 0;
    justify-content: flex-end;
}

.activity-provider-icon {
    width: 120px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.provider-spotify .activity-provider-icon,
.provider-spotify:hover {
    border-color: rgba(34, 197, 94, 0.45);
}

.provider-steam .activity-provider-icon,
.provider-steam:hover {
    border-color: rgba(96, 165, 250, 0.45);
}

@media (max-width: 650px) {
    .playlist-grid {
        grid-template-columns: 1fr;
    }

    .activity-provider-icon {
        width: 100%;
        height: 64px;
    }
}

.provider-large-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: cover;
    margin: 10px 0;
}

.discord-message-card textarea {
    width: 100%;
    resize: vertical;
    min-height: 130px;
}

.message-form {
    display: grid;
    gap: 16px;
}

.message-list {
    display: grid;
    gap: 14px;
}

.message-row {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.message-row div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.message-row span {
    color: var(--muted);
    font-size: 0.9rem;
}

.message-row p {
    white-space: normal;
    margin: 0 0 12px;
}

.provider-discord .activity-provider-icon,
.provider-discord:hover {
    border-color: rgba(88, 101, 242, 0.55);
}

.full-width {
    grid-column: 1 / -1;
}

.integration-section {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.integration-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.integration-section-header h4 {
    margin: 0;
    color: var(--text);
}

.integration-section-header span {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: right;
}

.randomizer-result {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    align-items: center;
    margin-top: 20px;
}

.randomizer-result img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface-light);
}

@media (max-width: 650px) {
    .integration-section-header,
    .randomizer-result {
        display: block;
    }

    .integration-section-header span {
        display: block;
        text-align: left;
        margin-top: 8px;
    }

    .randomizer-result img {
        margin-bottom: 16px;
    }
}


.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-layout .stream-card {
    position: sticky;
    top: 18px;
}

.dashboard-layout .stream-header {
    display: block;
}

.dashboard-layout .stream-actions {
    margin-top: 12px;
}

.dashboard-layout .activity-list {
    display: grid;
    gap: 10px;
}

.dashboard-layout .activity-row {
    grid-template-columns: 46px 1fr;
    padding: 10px;
}

.dashboard-layout .activity-row img,
.dashboard-layout .activity-provider-icon {
    width: 46px;
    height: 46px;
}

.wheel-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
    gap: 20px;
    align-items: start;
}

.wheel-display {
    display: grid;
    place-items: center;
    gap: 18px;
    text-align: center;
    padding: 18px 0;
}

.wheel-circle {
    width: 150px;
    height: 150px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 4rem;
    border: 1px solid var(--border);
    background: radial-gradient(circle, rgba(214, 168, 95, 0.22), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
}

.wheel-result h3 {
    margin-top: 8px;
}

.consequence-list {
    display: grid;
    gap: 12px;
}

.consequence-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    white-space: nowrap;
}

.danger-button {
    border: 1px solid rgba(255, 112, 112, 0.45);
    color: #ffb4b4;
    background: rgba(255, 112, 112, 0.08);
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .dashboard-layout,
    .wheel-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-layout .stream-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .consequence-row {
        grid-template-columns: 1fr;
    }
}

/* Dashboard stream is back in the normal page flow below the cards. */
.stream-card {
    width: 100%;
}

/* Animated Wheel of Consequence */
.wheel-stage {
    position: relative;
    width: min(360px, 86vw);
    height: min(360px, 86vw);
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.wheel-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.55);
}

.wheel-circle-real {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.10);
    background: var(--wheel-gradient);
    box-shadow: var(--shadow), inset 0 0 0 2px rgba(0, 0, 0, 0.20), inset 0 0 48px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    transform: rotate(0deg);
    transition: transform 4.2s cubic-bezier(0.12, 0.74, 0.12, 1);
}

.wheel-circle-real::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.wheel-circle-real.is-spinning {
    will-change: transform;
}

.wheel-hub {
    position: absolute;
    inset: 50%;
    width: 88px;
    height: 88px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    background: #101419;
    border: 2px solid rgba(214, 168, 95, 0.75);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 1000;
    letter-spacing: 0.16em;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

.wheel-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42%;
    transform-origin: 0 0;
    transform: rotate(var(--label-angle)) translate(28%, -50%);
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(0.58rem, 1.6vw, 0.78rem);
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

@media (max-width: 760px) {
    .wheel-stage {
        width: min(310px, 82vw);
        height: min(310px, 82vw);
    }

    .wheel-hub {
        width: 72px;
        height: 72px;
        font-size: 0.7rem;
    }
}

/* Ohio-style Wheel of Consequence update */
.wheel-card {
    position: relative;
    overflow: hidden;
}

.wheel-card::before {
    content: '';
    position: absolute;
    inset: -120px -80px auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 168, 95, 0.20), transparent 68%);
    pointer-events: none;
}

.wheel-stage {
    width: min(440px, 88vw);
    height: min(440px, 88vw);
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.45));
}

.wheel-stage::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(214,168,95,.9), rgba(239,68,68,.72), rgba(139,92,246,.72), rgba(6,182,212,.72), rgba(214,168,95,.9));
    z-index: 0;
    opacity: .95;
}

.wheel-stage::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.24);
    z-index: 1;
    pointer-events: none;
}

.wheel-pointer {
    top: -30px;
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 38px solid var(--accent);
    color: transparent;
    text-shadow: none;
    z-index: 6;
}

.wheel-circle-real {
    z-index: 2;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    border: 12px solid #111720;
    background: var(--wheel-gradient);
    transition: transform 4.8s cubic-bezier(.10,.82,.12,1);
    box-shadow:
        inset 0 0 0 8px rgba(255,255,255,.08),
        inset 0 0 42px rgba(0,0,0,.38),
        0 18px 48px rgba(0,0,0,.42);
}

.wheel-circle-real::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.24) 0deg 1deg, transparent 1deg 30deg);
    mix-blend-mode: overlay;
    opacity: .65;
}

.wheel-circle-real::after {
    inset: 34px;
    border: 2px solid rgba(255,255,255,.32);
    box-shadow: inset 0 0 18px rgba(0,0,0,.22);
}

.wheel-hub {
    position: absolute;
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 112px;
    height: 112px;
    z-index: 5;
    background: radial-gradient(circle at 35% 30%, #2b3544, #0d1117 70%);
    border: 3px solid var(--accent);
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: .18em;
    text-shadow: 0 0 12px rgba(214,168,95,.45);
}

.wheel-label {
    z-index: 3;
    width: 38%;
    transform: rotate(var(--label-angle)) translate(32%, -50%);
    font-size: clamp(.56rem, 1.4vw, .78rem);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.wheel-circle-real.wheel-idle {
    animation: wheel-breathe 2.6s ease-in-out infinite alternate;
}

.wheel-circle-real.is-spinning {
    animation: none;
}

.wheel-spin-button:disabled {
    opacity: .75;
    cursor: wait;
}

@keyframes wheel-breathe {
    from { transform: rotate(-1.5deg) scale(.992); }
    to { transform: rotate(1.5deg) scale(1.008); }
}

@media (max-width: 760px) {
    .wheel-stage {
        width: min(340px, 84vw);
        height: min(340px, 84vw);
    }

    .wheel-pointer {
        top: -24px;
        border-left-width: 17px;
        border-right-width: 17px;
        border-top-width: 30px;
    }

    .wheel-hub {
        width: 84px;
        height: 84px;
        font-size: .78rem;
    }
}

/* Ohio-style Wheel of Consequence canvas */
.ohio-wheel-display {
    align-items: center;
    gap: 18px;
}

.ohio-wheel-wrap {
    width: min(760px, 100%);
    margin: 8px auto 0;
    position: relative;
}

.ohio-wheel-wrap canvas {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    filter: drop-shadow(0 22px 38px rgba(0, 0, 0, .42));
}

.ohio-wheel-pin {
    position: absolute;
    z-index: 5;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 42px;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55));
    pointer-events: none;
}

.wheel-result-panel {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    background: rgba(12, 18, 26, .58);
}

.wheel-result-panel h3 {
    margin-top: 6px;
    line-height: 1.2;
}

.wheel-spin-button {
    min-width: 160px;
    letter-spacing: .08em;
}

.wheel-spin-button:disabled {
    opacity: .72;
    cursor: wait;
}

@media (max-width: 760px) {
    .ohio-wheel-pin {
        top: -12px;
        font-size: 28px;
    }

    .wheel-result-panel {
        padding: 13px;
    }
}
