/* ToolCMS V3.1.82 (c) ToolWorld https://www.toolworld.cn/ */
*{box-sizing:border-box;margin:0;padding:0}
body{margin:0;padding:0;font-family:inherit;background:transparent;color:var(--text-1,#333);font-size:14px;line-height:1.6}
.other-fortune-container{max-width:100%;margin:0 auto;padding:16px}
.other-fortune-head{text-align:center;margin-bottom:12px}
.other-fortune-title{font-size:22px;font-weight:700;color:var(--text-1,#333)}
.other-fortune-sub{font-size:13px;color:var(--text-3,#94a3b8);margin-top:2px}
.other-fortune-disclaimer{text-align:center;font-size:12px;color:var(--warning,#d97706);background:var(--bg-soft,#f8fafc);border:1px dashed var(--border,#d1d5db);border-radius:var(--radius-sm,8px);padding:8px 12px;margin-bottom:16px}
.other-fortune-stage{display:flex;justify-content:center;perspective:1200px;margin-bottom:18px}
.other-fortune-card{width:100%;max-width:100%;height:420px;position:relative}
.other-fortune-card-inner{position:relative;width:100%;height:100%;transition:transform .6s;transform-style:preserve-3d}
.other-fortune-card-inner.flipped{transform:rotateY(180deg)}
.other-fortune-face{position:absolute;inset:0;backface-visibility:hidden;border-radius:var(--radius,16px);border:1px solid var(--border,#e2e8f0);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
.other-fortune-back{background:linear-gradient(160deg,var(--primary,var(--primary-hover)),var(--primary-hover));color:#fff}
.other-fortune-kanji{font-size:72px;font-weight:700;line-height:1}
.other-fortune-back-tip{margin-top:18px;font-size:14px;opacity:.9}
.other-fortune-front{background:var(--bg-card,#fff);transform:rotateY(180deg);text-align:center;gap:10px;justify-content:flex-start;padding-top:34px}
.other-fortune-level{font-size:15px;font-weight:700;letter-spacing:2px}
.other-fortune-ftitle{font-size:24px;font-weight:700;color:var(--text-1,#333)}
.other-fortune-verse{font-size:15px;color:var(--text-2,#555);line-height:1.9;font-family:serif}
.other-fortune-desc{margin-top:8px;font-size:13px;color:var(--text-3,#94a3b8);border-top:1px dashed var(--border-light,#f1f5f9);padding-top:10px;width:100%}
.other-fortune-history-label{font-size:12px;color:var(--text-3,#94a3b8);margin-bottom:6px}
.other-fortune-history{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.other-fortune-hchip{font-size:12px;padding:4px 10px;border-radius:999px;background:var(--bg-soft,#f8fafc);border:1px solid var(--border-light,#f1f5f9);color:var(--text-2,#555)}
.other-fortune-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:6px}
.other-fortune-btn{padding:9px 18px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-1,#333);cursor:pointer;font-size:13px;transition:background .15s}
.other-fortune-btn:hover{background:var(--primary-light)}

.other-fortune-btn-primary{background:var(--primary,var(--primary-hover));color:#fff;border-color:var(--primary,var(--primary-hover));font-weight:600}
.other-fortune-btn-primary:hover{background:var(--primary-light);color:var(--primary)}

.other-fortune-message{margin-top:10px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none;text-align:center}
.other-fortune-message.show{display:block}
.other-fortune-message.success{background:var(--primary-light);color:var(--primary,var(--primary-hover))}
.other-fortune-message.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}
.other-fortune-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8)}
.other-fortune-footer-right{margin-left:auto}
@media(max-width:640px){.other-fortune-card{height:400px}.other-fortune-kanji{font-size:56px}.other-fortune-btn{flex:1 1 auto}.other-fortune-footer{flex-direction:column;gap:4px;text-align:center}}
