/* 신화 화력 강화 계산기 전용 UI - 공동 계산기 디자인과 충돌하지 않도록 범위 한정 */
body.stone-page .page-wrapper { min-height:100vh; padding-bottom:54px; }
body.stone-page .container { width:min(1080px,calc(100% - 28px)); margin-inline:auto; }
body.stone-page .stone-hero { padding:29px 12px 16px; margin-bottom:0; text-align:center; }
body.stone-page .stone-hero .page-title { font-size:clamp(1.65rem,4.5vw,2.45rem)!important; }
body.stone-page .stone-subtitle { max-width:680px; margin:10px auto 0; color:#64748b; font-size:14px; line-height:1.6; word-break:keep-all; }
body.stone-page .stone-meta { display:flex; flex-wrap:wrap; gap:7px; align-items:center; justify-content:center; margin-top:14px; }
body.stone-page .stone-meta span { padding:5px 10px; border-radius:999px; background:#f5f3ff; border:1px solid #e9e4ff; color:#6d28d9; font-size:11px; font-weight:750; }

body.stone-page .stone-evidence { margin:0 0 15px; background:#fff; border:1px solid #e2e8f0; border-radius:14px; }
body.stone-page .stone-evidence summary { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:13px 15px; color:#475569; font-size:12px; font-weight:850; cursor:pointer; list-style:none; }
body.stone-page .stone-evidence summary::-webkit-details-marker { display:none; }
body.stone-page .stone-evidence summary span { color:#94a3b8; font-size:11px; font-weight:650; }
body.stone-page .stone-evidence summary::after { content:'⌄'; margin-left:auto; font-size:19px; color:#7c3aed; line-height:1; }
body.stone-page .stone-evidence[open] summary::after { transform:rotate(180deg); }
body.stone-page .stone-evidence-content { padding:0 12px 12px; }
body.stone-page .stone-evidence-content .data-status { margin:0; font-size:12px; }

body.stone-page .stone-layout { display:grid; grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr); gap:16px; align-items:start; }
body.stone-page .stone-layout > * { min-width:0; }
body.stone-page .card { box-sizing:border-box; min-width:0; padding:23px; border:1px solid #e5e7eb; border-radius:19px; box-shadow:0 8px 25px rgba(51,36,104,.055); background:#fff; }
body.stone-page .stone-guide { margin-top:16px; }
body.stone-page .stone-guide p { color:#64748b; font-size:13px; line-height:1.75; margin:8px 0 0; }
body.stone-page .section-title { display:flex; align-items:center; gap:8px; margin:0; padding:0; border:none; color:#312e81; font-size:18px; line-height:1.35; font-weight:900; }
body.stone-page .stone-card-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; }
body.stone-page .stone-reset { min-height:38px; padding:7px 12px; flex-shrink:0; border:1px solid #ddd6fe; border-radius:10px; background:#fff; color:#6d28d9; font-family:inherit; font-size:12px; font-weight:800; cursor:pointer; }
body.stone-page .stone-reset:hover { background:#f5f3ff; }
body.stone-page .stone-quick-title { margin-bottom:9px; color:#64748b; font-size:12px; font-weight:800; }
body.stone-page .stone-quick-targets { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin-bottom:17px; }
body.stone-page .stone-quick-targets button { min-width:0; min-height:42px; padding:8px 2px; border:1px solid #e2e8f0; border-radius:10px; background:#fff; color:#475569; font-family:inherit; font-size:12px; font-weight:850; font-variant-numeric:tabular-nums; cursor:pointer; transition:background .15s ease,border-color .15s ease; }
body.stone-page .stone-quick-targets button:hover:not(:disabled) { border-color:#a78bfa; background:#f5f3ff; }
body.stone-page .stone-quick-targets button[aria-pressed="true"] { background:#ede9fe; border-color:#8b5cf6; color:#5b21b6; box-shadow:inset 0 0 0 1px rgba(139,92,246,.12); }
body.stone-page .stone-quick-targets button:disabled { opacity:.38; cursor:not-allowed; }
body.stone-page .stone-input-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px 10px; }
body.stone-page .setup-input { min-width:0; margin:0; }
body.stone-page .setup-input label { display:block; margin-bottom:8px; color:#475569; font-size:12px; font-weight:850; line-height:1.35; }
body.stone-page .setup-input small { font-size:10px; font-weight:700; color:#94a3b8; }
body.stone-page .setup-input select,
body.stone-page .setup-input input { box-sizing:border-box; display:block; width:100%; min-width:0; min-height:48px; padding:10px 12px; border:1px solid #cbd5e1; border-radius:11px; background:#fff; color:#0f172a; font-family:inherit; font-size:16px; font-weight:750; outline:none; }
body.stone-page .setup-input :is(select,input):focus { border-color:#8b5cf6; box-shadow:0 0 0 4px rgba(139,92,246,.10); }
body.stone-page .stone-owned-field { grid-column:1/-1; }
body.stone-page .stone-journey { display:inline-flex; align-items:center; max-width:100%; margin:14px 0 0; padding:7px 11px; border-radius:9px; background:#f5f3ff; color:#5b21b6; font-size:12px; font-weight:850; font-variant-numeric:tabular-nums; }
body.stone-page .stone-result-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:15px 0 0; }
body.stone-page .stat-card { min-width:0; text-align:left; border:1px solid #e6eaf0; border-radius:14px; padding:15px 12px; background:#f8fafc; }
body.stone-page .stat-card.primary { border-color:#ddd6fe; background:#f5f3ff; }
body.stone-page .stat-label { color:#64748b; font-size:11px; font-weight:850; line-height:1.4; }
body.stone-page .stat-value { margin:6px 0 0; color:#172033; font-size:clamp(1.1rem,2.15vw,1.37rem); line-height:1.3; font-weight:950; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; letter-spacing:-.025em; }
body.stone-page .stat-card.primary .stat-value { color:#6d28d9; }
body.stone-page .stat-value.smaller { font-size:clamp(1rem,1.75vw,1.2rem); }
body.stone-page .stat-card small { display:block; margin-top:4px; color:#94a3b8; font-size:10px; line-height:1.4; }
body.stone-page .stat-value.positive { color:#15803d; }
body.stone-page .stat-value.negative { color:#dc2626; }
body.stone-page .stone-progress { margin-top:13px; padding:13px 14px; border:1px solid #ede9fe; border-radius:13px; background:#fff; }
body.stone-page .stone-progress[hidden] { display:none!important; }
body.stone-page .stone-progress-head { display:flex; justify-content:space-between; align-items:center; gap:10px; color:#64748b; font-size:12px; font-weight:800; }
body.stone-page .stone-progress-head strong { color:#6d28d9; font-variant-numeric:tabular-nums; }
body.stone-page .stone-progress-track { height:9px; margin-top:10px; border-radius:99px; background:#ede9fe; overflow:hidden; }
body.stone-page #stone-progress-bar { height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#8b5cf6,#6d28d9); transition:width .18s ease; }
body.stone-page .stone-affordable { margin:9px 0 0; color:#64748b; font-size:11px; line-height:1.55; }
body.stone-page .boost-formula { margin:16px 0 0; border-left:3px solid #f59e0b; border-radius:10px; border-top:1px solid #fde68a; border-right:1px solid #fde68a; border-bottom:1px solid #fde68a; padding:13px; background:#fffbeb; color:#92400e; font-size:12px; line-height:1.75; }
body.stone-page .boost-formula > strong { display:block; margin-bottom:4px; }
body.stone-page .stone-footnote { margin:11px 0 0; color:#94a3b8; font-size:11px; line-height:1.55; }
body.stone-page .stone-detail-head { margin-bottom:8px; }
body.stone-page .stone-table-summary { margin:7px 0 0; color:#64748b; font-size:12px; }
body.stone-page .stone-table-guide { display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; justify-content:space-between; color:#64748b; font-size:11px; font-weight:700; margin-bottom:9px; }
body.stone-page .stone-table-guide span { color:#94a3b8; }
body.stone-page .stone-table-scroll { max-width:100%; max-height:560px; overflow:auto; border:1px solid #e2e8f0; border-radius:12px; scrollbar-color:#c4b5fd #f8fafc; overscroll-behavior:contain; }
body.stone-page .expect-table { min-width:530px; width:100%; border-collapse:separate; border-spacing:0; font-size:12px; background:#fff; }
body.stone-page .expect-table th { position:sticky; top:0; z-index:2; background:#f5f3ff; color:#5b21b6; padding:12px 10px; font-size:11px; font-weight:850; text-align:center; white-space:nowrap; border-bottom:1px solid #ddd6fe; }
body.stone-page .expect-table td { padding:12px 9px; font-size:12px; border-bottom:1px solid #f1f5f9; color:#334155; white-space:nowrap; text-align:center; font-variant-numeric:tabular-nums; }
body.stone-page .expect-table tr:last-child td { border-bottom:none; }
body.stone-page .expect-table th:first-child,
body.stone-page .expect-table td:first-child { position:sticky; left:0; z-index:1; background:#fff; box-shadow:2px 0 5px rgba(15,23,42,.05); }
body.stone-page .expect-table th:first-child { z-index:3; background:#f5f3ff; }
body.stone-page .expect-table .highlight td { background:#fff7ed; color:#9a3412; font-weight:850; }
body.stone-page .expect-table .highlight td:first-child { background:#fff7ed; }
body.stone-page .expect-table tr:hover td { background:#faf5ff; }
body.stone-page .expect-table tr.highlight:hover td { background:#fff7ed; }
body.stone-page .stone-table-total { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:12px; padding:11px 13px; border-radius:11px; background:#f5f3ff; color:#5b21b6; font-size:12px; font-weight:850; }
body.stone-page .stone-table-total strong { font-size:16px; font-variant-numeric:tabular-nums; }
body.stone-page .stone-evidence summary:focus-visible,
body.stone-page .stone-table-scroll:focus-visible,
body.stone-page button:focus-visible,
body.stone-page select:focus-visible,
body.stone-page input:focus-visible { outline:3px solid rgba(109,40,217,.45); outline-offset:2px; }
@media(max-width:930px) {
 body.stone-page .stone-layout { grid-template-columns:1fr; gap:12px; }
 body.stone-page .stone-detail { margin:0; }
 body.stone-page .stone-guide { margin-top:12px; }
}
@media(max-width:760px) {
 body.stone-page .container { width:calc(100% - 20px); }
 body.stone-page .stone-hero { padding:15px 7px 15px; }
 body.stone-page .stone-subtitle { font-size:13px; }
 body.stone-page .card { padding:17px 15px; border-radius:17px; }
 body.stone-page .section-title { font-size:17px; }
 body.stone-page .stone-result-grid { gap:8px; }
 body.stone-page .stat-card { padding:13px 11px; }
 body.stone-page .stat-value { font-size:1.21rem; }
 body.stone-page .stat-value.smaller { font-size:1.07rem; }
 body.stone-page .stone-table-scroll { max-height:420px; }
}
@media(max-width:400px) {
 body.stone-page .stone-hero .page-title { font-size:1.6rem!important; }
 body.stone-page .stone-meta { gap:5px; }
 body.stone-page .stone-meta span { font-size:10px; padding:5px 7px; }
 body.stone-page .stone-quick-targets { gap:5px; }
 body.stone-page .stone-quick-targets button { font-size:11px; }
 body.stone-page .setup-input select, body.stone-page .setup-input input { padding-inline:9px; }
 body.stone-page .stat-value { font-size:1.12rem; }
 body.stone-page .stat-value.smaller { font-size:1rem; }
 body.stone-page .stone-table-guide span { font-size:10px; }
}
@media(max-width:340px) {
 body.stone-page .stone-input-grid { grid-template-columns:1fr; }
 body.stone-page .stone-owned-field { grid-column:auto; }
 body.stone-page .stone-result-grid { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { body.stone-page #stone-progress-bar,body.stone-page .stone-quick-targets button { transition:none; } }
