/* 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-coin-container{max-width:100%;margin:0 auto;padding:16px}
.other-coin-card{background:var(--bg-card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:var(--radius,14px);padding:24px;display:flex;flex-direction:column;align-items:center}
.other-coin-stage{width:160px;height:160px;perspective:800px;margin-bottom:16px}
.other-coin{width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .1s}
.other-coin.flipping{animation:coin-spin 1s ease-out forwards}
@keyframes coin-spin{0%{transform:rotateY(0)}100%{transform:rotateY(1800deg)}}
.other-coin-face{position:absolute;width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:800;backface-visibility:hidden;box-shadow:inset 0 0 20px rgba(0,0,0,.15),0 4px 12px rgba(0,0,0,.15)}
.other-coin-head{background:radial-gradient(circle at 35% 35%,#fde68a,#f59e0b);color:#78350f;border:6px solid #d97706}
.other-coin-tail{background:radial-gradient(circle at 35% 35%,#cbd5e1,#64748b);color:#1e293b;border:6px solid #475569;transform:rotateY(180deg)}
.other-coin-result{font-size:18px;font-weight:700;color:var(--text-1,#333);min-height:28px;margin-bottom:16px}
.other-coin-faces{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin-bottom:16px}
.other-coin-face-field{display:flex;flex-direction:column;gap:6px}
.other-coin-label{font-size:12px;color:var(--text-2,#555);font-weight:600}
.other-coin-input{padding:8px 10px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);font-size:14px;background:var(--bg-card,#fff);color:var(--text-1,#333);outline:none;text-align:center}
.other-coin-input:focus{border-color:var(--primary,var(--primary-hover))}
.other-coin-flip{width:100%;padding:14px;border:none;border-radius:var(--radius,12px);background:var(--primary,var(--primary-hover));color:#fff;font-size:16px;font-weight:700;cursor:pointer;margin-bottom:20px}
.other-coin-flip:hover{background:var(--primary-light)}
.other-coin-flip:disabled{opacity:.6;cursor:not-allowed}
.other-coin-stats{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;margin-bottom:14px}
.other-coin-stat{text-align:center}
.other-coin-stat-num{display:block;font-size:22px;font-weight:800;color:var(--text-1,#333)}
.other-coin-stat-label{font-size:12px;color:var(--text-3,#94a3b8)}
.other-coin-bar{height:12px;border-radius:6px;background:var(--border-light,#e5e7eb);overflow:hidden;display:flex}
.other-coin-bar-head{background:#f59e0b;transition:width .4s}
.other-coin-bar-tail{background:#64748b;transition:width .4s}
.other-coin-reset{padding:6px 16px;border:1px solid var(--border,#d1d5db);border-radius:var(--radius-sm,8px);background:var(--bg-card,#fff);color:var(--text-2,#555);cursor:pointer;font-size:12px}
.other-coin-reset:hover{background:var(--primary-light)}
.other-coin-message{margin-top:12px;padding:8px 12px;border-radius:var(--radius-sm,8px);font-size:13px;display:none;width:100%}
.other-coin-message.show{display:block}
.other-coin-message.success{background:var(--primary-light);color:var(--primary,var(--primary-hover))}
.other-coin-message.error{background:var(--error-bg,#fee2e2);color:var(--error,#991b1b)}
.other-coin-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-light,#f1f5f9);font-size:12px;color:var(--text-3,#94a3b8)}
.other-coin-footer-right{margin-left:auto}
@media(max-width:640px){.other-coin-card{padding:16px}.other-coin-footer{flex-direction:column;gap:4px;text-align:center}}
