/* ============================================================
   Wheel (Roda) - pixel-identical WBET Originals arcade wheel
   values mirrored from nexusrivo.wo3yulsti.com/wheel
   ============================================================ */
.w-root {
    --rb-card-deep: #191939;
    --rb-card-sunken: #12142E;
    --rb-bg: #090C1D;
    --rb-text: #ffffff;
    --rb-text-soft: rgba(191, 191, 191, 0.82);
    --rb-text-faint: rgba(160, 160, 160, 0.55);
    --rb-gold: #01e0a3;
    --rb-gold-deep: #04241b;
    --rb-border: rgba(1, 224, 163, 0.18);
    --rb-button-gradient: linear-gradient(420deg, rgb(0 255 142) 0%, #01e0a3 49%, #00aa6d 49%, #00aa6d 100%);
    --rb-button-box: #3a6d5f 0 -3px 0 0 inset, rgb(47 255 186) 0 2px 0 0 inset;
    background: var(--rb-bg);
    color: var(--rb-text);
    font-family: 'Inter', 'Exo 2', system-ui, sans-serif;
}

.w-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 0;
}
@media (min-width: 640px) { .w-wrap { padding: 8px; } }

.w-title {
    margin: 0 0 12px;
    padding-left: 4px;
    font-size: 19px;
    font-weight: 900;
    color: var(--rb-text);
}

.w-grid { display: grid; gap: 12px; }
@media (min-width: 1024px) { .w-grid { grid-template-columns: 320px minmax(0, 1fr); } }

.w-left { order: 2; border-radius: 14px; background: var(--rb-card-deep); padding: 16px; }
@media (min-width: 1024px) { .w-left { order: 1; } }
.w-stack { display: flex; flex-direction: column; gap: 12px; }

.w-betlabel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rb-text-faint);
}
.w-betlabel .w-bal { text-transform: none; letter-spacing: normal; }

.w-inputrow { display: flex; align-items: stretch; gap: 4px; }
.w-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: var(--rb-bg);
    padding: 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--rb-text);
    outline: none;
    font-family: inherit;
}
.w-mini {
    flex-shrink: 0;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: var(--rb-bg);
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--rb-text-soft);
    cursor: pointer;
    transition: filter 0.15s;
    font-family: inherit;
}
.w-mini:hover { filter: brightness(1.25); }

.w-fieldlabel {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rb-text-faint);
}

.w-risksel {
    display: flex;
    gap: 4px;
    border-radius: 8px;
    background: var(--rb-bg);
    padding: 4px;
}
.w-riskbtn {
    height: 36px;
    flex: 1;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    color: var(--rb-text-faint);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    font-family: inherit;
}
.w-riskbtn:hover { color: var(--rb-text); }
.w-riskbtn.active { background: var(--rb-card-deep); color: var(--rb-text); }

.w-symgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w-symcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 12px;
    background: var(--rb-bg);
    padding: 8px;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.w-symcard.inactive { opacity: 0.55; box-shadow: inset 0 0 0 1px var(--rb-border); }
.w-symcard.inactive:hover { opacity: 0.9; }
.w-symcard.active {
    transform: translateY(-2px);
    opacity: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 0 0 2px var(--rb-gold);
}
.w-symicon {
    display: grid;
    width: 100%;
    place-items: center;
    border-radius: 9px;
    padding: 6px 0;
}
.w-symimg { height: 28px; width: 28px; object-fit: contain; }
.w-symname { font-size: 11px; font-weight: 700; text-transform: capitalize; color: var(--rb-text); }
.w-symmult { font-size: 12px; font-weight: 900; color: var(--rb-gold); }
.w-symslices { font-size: 10px; font-weight: 700; color: var(--rb-text-faint); }

.w-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w-stat { border-radius: 8px; background: var(--rb-bg); padding: 8px; }
.w-stat.span2 { grid-column: span 2 / span 2; }
.w-statlabel {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rb-text-faint);
    margin-bottom: 2px;
}
.w-statval {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: var(--rb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.w-goldbtn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: var(--rb-button-gradient);
    box-shadow: var(--rb-button-box);
    color: var(--rb-gold-deep);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s, filter 0.15s;
    font-family: inherit;
}
.w-goldbtn:hover { filter: brightness(1.08); }
.w-goldbtn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- board ---- */
.w-board { order: 1; min-width: 0; border-radius: 14px; background: var(--rb-card-sunken); padding: 12px; }
@media (min-width: 640px) { .w-board { padding: 16px; } }
@media (min-width: 1024px) { .w-board { order: 2; } }

.w-arena { position: relative; overflow: hidden; border-radius: 10px; min-height: min(66vh, 500px); }
.w-arena-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url('/assets/originals/board-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.w-arena-tint { position: absolute; inset: 0; pointer-events: none; background: rgba(6, 10, 18, 0.32); }
.w-arena-inner { position: relative; }
.w-stage {
    display: flex;
    min-height: min(66vh, 500px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 8px 24px 8px;
}

.w-wheelwrap { position: relative; width: 100%; max-width: 600px; }
.w-wheelclip {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    container-type: inline-size;
}
.w-rotator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    transition-property: transform;
    transition-duration: 0ms;
    transition-timing-function: cubic-bezier(0.08, 0.72, 0.12, 1);
    will-change: transform;
}
.w-ring {
    position: absolute;
    inset: 2%;
    border-radius: 50%;
    background: radial-gradient(circle closest-side, transparent 0px, transparent 72.9%, rgb(10, 14, 24) 72.9%, rgb(10, 14, 24) 100%, transparent 100%);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 6px 24px;
}
.w-seg {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.3s;
    pointer-events: none;
}
.w-pointer {
    position: absolute;
    bottom: -3px;
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
    filter: drop-shadow(rgba(0, 0, 0, 0.75) 0px -2px 5px);
    pointer-events: none;
}
.w-resultrow { display: flex; min-height: 44px; align-items: center; gap: 12px; }
.w-resultimg { height: 40px; width: 40px; object-fit: contain; }
.w-resulttxt { font-size: 16px; font-weight: 900; }
.w-resulttxt.win { color: var(--rb-gold); }
.w-resulttxt.lose { color: var(--rb-text-faint); }

/* ---- provably fair accordion (same as roulette2) ---- */
.w-fair { margin-top: 12px; border-radius: 14px; background: var(--rb-card-deep); }
.w-fair-head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; border: none; background: transparent; padding: 12px 16px; text-align: left; cursor: pointer; font-family: inherit; }
.w-fair-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--rb-text); }
.w-fair-title svg { color: var(--rb-gold); }
.w-fair-chevron { color: var(--rb-text-faint); transition: transform 0.2s; }
.w-fair-chevron.open { transform: rotate(180deg); }
.w-fair-body { display: none; flex-direction: column; gap: 12px; border-top: 1px solid var(--rb-border); padding: 16px; }
.w-fair-body.open { display: flex; }
.w-fair-desc { margin: 0; font-size: 12px; line-height: 1.625; color: var(--rb-text-soft); }
.w-fair-box { display: flex; flex-direction: column; gap: 4px; }
.w-fair-boxlabel { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rb-text-faint); }
.w-fair-value { overflow-x: auto; word-break: break-all; border-radius: 6px; background: var(--rb-bg); padding: 6px 8px; font-size: 11px; color: var(--rb-text-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.w-fair-value.strong { font-family: inherit; font-weight: 600; }
.w-fair-attach { display: flex; gap: 8px; }
.w-fair-input { flex: 1; min-width: 0; height: 40px; border: none; border-radius: 8px; background: var(--rb-bg); padding: 0 12px; font-size: 12px; font-weight: 600; color: var(--rb-text); outline: none; font-family: inherit; }
.w-fair-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 10px; border: 1px solid var(--rb-border); background: var(--rb-bg); color: var(--rb-text); font-size: 12px; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: filter 0.15s; font-family: inherit; fill: none; }
.w-fair-btn:hover { filter: brightness(1.25); }
.w-fair-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.w-fair-btn.shrink { flex-shrink: 0; padding: 0 16px; }
.w-fair-btn.full { width: 100%; }