/* Daily Fortune Wheel, inside the shared Shinobi modal frame. */
.selection-client-page.game-remaster .daily-spin-panel { width: min(720px, calc(100vw - 32px)) !important; max-width: 720px !important; }
.daily-spin-body { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: center; gap: 26px; }

.daily-spin-stage { position: relative; width: 320px; height: 320px; }
.daily-spin-wheel { position: absolute; inset: 10px; border-radius: 50%; transform-origin: 50% 50%; will-change: transform; }
.daily-spin-wheel svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.daily-spin-rim { fill: none; stroke: #b98d54; stroke-width: 4; }
.daily-spin-slice { stroke: #12212a; stroke-width: 2; }
.daily-spin-slice.is-prize { stroke: #2b4049; }
.daily-spin-slice.is-winner { stroke: #f0b866; stroke-width: 4; filter: brightness(1.35); }
.daily-spin-label { font: 800 14px 'Libre Franklin', sans-serif; letter-spacing: .02em; }
.daily-spin-sublabel { font: 700 9px 'Libre Franklin', sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* Fixed pointer at the top of the wheel. */
.daily-spin-pointer {
    position: absolute;
    top: -2px;
    left: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 24px solid #f0b866;
    transform: translateX(-50%);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}

.daily-spin-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 82px;
    height: 82px;
    border: 3px solid #f3cd8e;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #f6c98a, #e3ad68 55%, #b97f3c);
    color: #1d2a31;
    font: 900 15px 'Libre Franklin', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform .15s ease, filter .15s ease;
}
.daily-spin-hub:hover:not(:disabled) { filter: brightness(1.08); transform: translate(-50%, -50%) scale(1.04); }
.daily-spin-hub:disabled { border-color: #6d8189; background: #31444d; color: #aab9bd; cursor: default; }
.daily-spin-hub:focus-visible { outline: 3px solid #f0b866; outline-offset: 3px; }

/* Side panel */
.daily-spin-side { min-width: 0; color: #eef1eb; font-family: 'Libre Franklin', sans-serif; }
.daily-spin-kicker { display: block; margin: 0 0 8px; color: #bfcdd1; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.daily-spin-muted { margin: 4px 0 0; color: #bfccd0; font-size: 12px; line-height: 1.5; }
.daily-spin-error { margin: 0 0 10px; color: #eab9ab; font-size: 12px; font-weight: 700; }
.daily-spin-odds ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.daily-spin-odd { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #3d525c; border-radius: 5px; background: #1a2e38; }
.daily-spin-swatch { width: 12px; height: 12px; border-radius: 3px; background: #1d3039; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.daily-spin-odd.is-character .daily-spin-swatch { background: #c9934e; }
.daily-spin-odd.is-borders .daily-spin-swatch { background: #8f74c2; }
.daily-spin-odd.is-titles .daily-spin-swatch { background: #5f86c4; }
.daily-spin-odd.is-avatars .daily-spin-swatch { background: #5ba27a; }
.daily-spin-odd.is-ryo .daily-spin-swatch { background: #e3ad68; }
.daily-spin-odd-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.daily-spin-odd-text strong { color: #f3f4f0; font-size: 13px; }
.daily-spin-odd-text small { color: #bfccd0; font-size: 11px; }
.daily-spin-odd-chance { color: #f2d7b0; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }

.daily-spin-result { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px solid #536872; border-radius: 8px; background: #1c303a; }
.daily-spin-result.is-fresh { border-color: #b98d54; box-shadow: 0 0 0 3px rgba(227, 173, 104, .18); animation: daily-spin-pop .45s cubic-bezier(.2, .9, .3, 1.3); }
.daily-spin-result-text { min-width: 0; }
.daily-spin-result-name { display: block; color: #f2c58b; font-size: 20px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.daily-spin-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.daily-spin-art { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 6px; background: radial-gradient(circle at 50% 35%, #2b4652, #13232b 80%); }
.daily-spin-avatar { position: relative; width: 76px; height: 76px; border: 1px solid #71858e; border-radius: 5px; background: #0e1a22; }
.daily-spin-avatar img { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.daily-spin-avatar .daily-spin-avatar-border { position: absolute; inset: 0; object-fit: contain; }
.daily-spin-coin { display: grid; place-items: center; width: 62px; height: 62px; border: 2px solid #f3cd8e; border-radius: 50%; background: #e3ad68; color: #24313a; font: 900 26px 'Libre Franklin', sans-serif; }
.daily-spin-title-art { padding: 6px; color: #f0b866; font: 800 12px/1.25 'Libre Franklin', sans-serif; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.daily-spin-countdown { margin: 14px 0 0; color: #e5bc83; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Profile tab orb: lights up whenever something is waiting to be claimed in Profile > Rewards. */
.selection-hub-tab-orb {
    display: inline-block;
    position: relative;
    top: -6px;
    width: 7px;
    height: 7px;
    margin-left: 5px;
    border-radius: 50%;
    background: #e3ad68;
    box-shadow: 0 0 0 2px #0f1b22;
    pointer-events: none;
    animation: rewards-pulse 2.4s ease-in-out infinite;
}
.selection-hub-tab-orb[hidden] { display: none; }
@keyframes rewards-pulse {
    0%, 100% { box-shadow: 0 0 0 2px #0f1b22, 0 0 0 2px rgba(227, 173, 104, .6); }
    50% { box-shadow: 0 0 0 2px #0f1b22, 0 0 0 7px rgba(227, 173, 104, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .selection-hub-tab-orb { animation: none; }
}

/* Profile > Rewards: the ready count on the section tab. */
.store-tab-count[data-rewards-count] { background: #e3ad68; color: #1d2a31; font-weight: 900; }
.store-tab-count[data-rewards-count][hidden] { display: none; }
.profile-body[hidden] { display: none; }

@keyframes daily-spin-pop {
    from { opacity: 0; transform: scale(.94); }
    to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .daily-spin-result.is-fresh { animation: none; }
}
@media (max-width: 700px) {
    .daily-spin-body { grid-template-columns: 1fr; justify-items: center; }
    .daily-spin-stage { width: 280px; height: 280px; }
    .daily-spin-side { width: 100%; }
}
