/* ===== 转盘决定器 ===== */
.wp-hero {
    position: relative; padding: 32px 24px 36px; border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ecfeff 0%, #f0fdfa 60%, #e0f7f4 100%);
    border: 1px solid #c7efe9; margin-bottom: 24px; overflow: hidden;
}
.wp-head { text-align: center; margin-bottom: 24px; }
.wp-logo { font-size: 28px; font-weight: 900; letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0ea5a4, #06b6d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wp-sub { font-size: 13px; color: #4a9b95; font-weight: 500; margin-top: 4px; }

.wp-main { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.wp-panel { flex: 1 1 320px; max-width: 420px; }
.wp-label { display: block; font-size: 13px; font-weight: 700; color: #0f5f5a; margin-bottom: 8px; }
.wp-input {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #b9e6e0; background: #fff;
    font-size: 14px; line-height: 1.7; color: #134e4a; resize: vertical; outline: none; font-family: inherit;
}
.wp-input:focus { border-color: #0ea5a4; }
.wp-addrow { display: flex; gap: 8px; margin-top: 10px; }
.wp-add-input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #b9e6e0; background: #fff; font-size: 13px; color: #134e4a; outline: none; }
.wp-add-input:focus { border-color: #0ea5a4; }

.wp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.wp-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #0f5f5a;
    background: #fff; border: 1px solid #b9e6e0; border-radius: 999px; padding: 4px 6px 4px 12px; }
.wp-tag b { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-tag button { border: none; background: #d7f3ef; color: #0f5f5a; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 12px; line-height: 1; }
.wp-tag button:hover { background: #fca5a5; color: #fff; }

.wp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.wp-btn { padding: 11px 18px; border-radius: 11px; border: none; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.wp-btn.small { padding: 10px 14px; font-size: 13px; }
.wp-btn.primary { background: linear-gradient(135deg, #0ea5a4, #06b6d4); color: #fff; box-shadow: 0 6px 16px rgba(14,165,164,.3); }
.wp-btn.primary:hover { transform: translateY(-2px); }
.wp-btn.ghost { background: #fff; color: #0f5f5a; border: 1.5px solid #b9e6e0; }
.wp-btn.ghost:hover { background: #f0fdfa; }
.wp-btn:active { transform: translateY(0) scale(.98); }
.wp-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.wp-stage { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wp-wheel-wrap { position: relative; width: 340px; height: 340px; }
.wp-canvas, #wpCanvas { display: block; border-radius: 50%; transition: transform 3.4s cubic-bezier(.17,.67,.25,1); box-shadow: 0 10px 30px rgba(15,95,90,.18); }
.wp-pointer {
    position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 3;
    width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent;
    border-top: 24px solid #ef4444; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25));
}
.wp-hub {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
    width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff; cursor: pointer;
    background: linear-gradient(135deg, #0ea5a4, #06b6d4); color: #fff; font-weight: 900; font-size: 16px;
    box-shadow: 0 6px 16px rgba(15,95,90,.35); transition: transform .15s ease;
}
.wp-hub:hover { transform: translate(-50%,-50%) scale(1.06); }
.wp-hub:active { transform: translate(-50%,-50%) scale(.96); }

.wp-result { text-align: center; animation: wp-pop .35s ease; }
@keyframes wp-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wp-result-label { font-size: 12px; font-weight: 700; color: #4a9b95; letter-spacing: .1em; }
.wp-result-val { font-size: 26px; font-weight: 900; color: #0f5f5a; margin: 6px 0 12px; word-break: break-all; }

/* 黑夜模式 */
[data-theme="dark"] .wp-hero { background: linear-gradient(180deg, #0e2a2c 0%, #102b2d 60%, #0e2a2c 100%); border-color: #1f4a47; }
[data-theme="dark"] .wp-sub { color: #6fbfb8; }
[data-theme="dark"] .wp-label { color: #8fe3dc; }
[data-theme="dark"] .wp-input, [data-theme="dark"] .wp-add-input { background: #102b2d; border-color: #1f4a47; color: #d7f3ef; }
[data-theme="dark"] .wp-tag { background: #102b2d; border-color: #1f4a47; color: #8fe3dc; }
[data-theme="dark"] .wp-tag button { background: #1f4a47; color: #8fe3dc; }
[data-theme="dark"] .wp-btn.ghost { background: #102b2d; color: #8fe3dc; border-color: #1f4a47; }
[data-theme="dark"] .wp-btn.ghost:hover { background: #16383a; }
[data-theme="dark"] .wp-result-val { color: #8fe3dc; }
[data-theme="dark"] .wp-result-label { color: #6fbfb8; }
