/* ===== 转经筒 / 摇签 ===== */
.fw-hero {
    position: relative;
    background: linear-gradient(160deg, #fff7ed 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: 22px;
    padding: 34px 30px;
    margin-bottom: 26px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(217, 119, 6, .12);
}

.fw-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, .22), transparent 70%);
    pointer-events: none;
}

.fw-head {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.fw-logo {
    font-size: 28px;
    background: #fde68a;
    border-radius: 14px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-title {
    font-size: 20px;
    font-weight: 800;
    color: #92400e;
    text-align: left;
}

.fw-sub {
    font-size: 13px;
    color: #d97706;
    text-align: left;
}

.fw-wheel-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.fw-wheel {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 0;
    background: radial-gradient(circle at 35% 30%, #fcd34d, #d97706 70%);
    box-shadow: inset 0 -8px 18px rgba(120, 53, 15, .35), 0 12px 30px rgba(217, 119, 6, .35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: transform .2s;
}

.fw-wheel:hover {
    transform: scale(1.04);
}

.fw-wheel-text {
    font-size: 72px;
    color: #fff7ed;
    text-shadow: 0 3px 8px rgba(120, 53, 15, .4);
    user-select: none;
}

.fw-wheel-shine {
    position: absolute;
    top: 16px;
    left: 22%;
    width: 56px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    filter: blur(6px);
    pointer-events: none;
}

.fw-wheel-tip {
    font-size: 13px;
    color: #b45309;
    margin-top: 8px;
}

.fw-result {
    position: relative;
    max-width: 560px;
    margin: 22px auto 0;
    background: #fff;
    border: 2px solid #fde68a;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 26px rgba(217, 119, 6, .14);
}

.fw-result.fw-in {
    animation: fw-in .5s ease;
}

@keyframes fw-in {
    from { opacity: 0; transform: translateY(16px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.fw-level {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.fw-level.lv-上上签 { color: #dc2626; }
.fw-level.lv-上吉 { color: #d97706; }
.fw-level.lv-中吉 { color: #0d9488; }
.fw-level.lv-小吉 { color: #64748b; }

.fw-verse {
    font-size: 17px;
    color: #92400e;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 10px;
}

.fw-meaning {
    font-size: 14px;
    color: #78716c;
    line-height: 1.8;
}

.fw-actions {
    position: relative;
    margin-top: 18px;
}

.fw-btn {
    border: 0;
    border-radius: 12px;
    background: #f59e0b;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 24px;
    cursor: pointer;
    transition: background .2s;
}

.fw-btn:hover {
    background: #d97706;
}

/* ===== 深色模式 ===== */
[data-theme="dark"] .fw-hero {
    background: linear-gradient(160deg, #431407 0%, #422006 100%);
    border-color: rgba(253, 230, 138, 0.16);
}
[data-theme="dark"] .fw-title { color: #fef3c7; }
[data-theme="dark"] .fw-sub,
[data-theme="dark"] .fw-tip { color: #fbbf24; }
[data-theme="dark"] .fw-result {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 230, 138, 0.20);
}
[data-theme="dark"] .fw-verse { color: #fef3c7; }
[data-theme="dark"] .fw-meaning { color: #d6d3d1; }
[data-theme="dark"] .fw-logo { background: rgba(245, 158, 11, 0.18); }
[data-theme="dark"] .fw-glow { background: rgba(245, 158, 11, 0.14); }
[data-theme="dark"] .fw-btn { background: #f59e0b; color: #fff; }
[data-theme="dark"] .fw-btn:hover { background: #fbbf24; }
