/* n93 레벨 계산기 결과 카드 정리 */
#resultCard .ex-primary{display:flex;flex-direction:column;margin:6px 0 4px;padding:4px 16px 12px;border-radius:16px;background:var(--rc-tint,rgba(143,163,224,.1))}
#resultCard .ex-primary>.data-row{border-bottom:1px solid color-mix(in srgb,var(--rc-line,#e5e7eb) 70%,transparent)!important;padding:12px 0!important}
#resultCard .ex-primary>.data-row:last-of-type,#resultCard .ex-primary>.data-row.is-last{border-bottom:0!important}
#resultCard #rowRemain>label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:700;color:var(--rc-muted,#6b7280)}
#resultCard #rowRemain .nt-fill{margin:0;display:inline-flex;align-self:flex-start;align-items:center;gap:4px;padding:3px 9px;border-radius:99px;font-size:11.5px;font-weight:700;color:var(--rc-accent,#5b6da6);background:var(--rc-panel,#fff);border:1px solid color-mix(in srgb,var(--rc-accent,#5b6da6) 25%,transparent)}
#resultCard #rowRemain .nt-fill:hover{background:color-mix(in srgb,var(--rc-accent,#5b6da6) 10%,var(--rc-panel,#fff))}
#resultCard #rowRemain .data-value{font-size:min(26px,7.2cqi)!important;font-weight:800;color:var(--rc-accent,#5b6da6)}
#resultCard .ex-primary .n45-row{padding:10px 0!important;flex-wrap:nowrap!important}
#resultCard .ex-primary .n45-row .n45-label{display:flex;align-items:center;gap:10px;min-width:0}
#resultCard .ex-primary .n46-cap{font-size:12.5px;font-weight:700;color:var(--rc-muted,#6b7280);white-space:nowrap}
#resultCard .ex-primary .n45-value{font-size:15px!important;font-weight:800}
#resultCard .ex-primary .n45-sub{flex-basis:100%;text-align:right;font-size:11.5px;color:var(--rc-muted,#6b7280)}
#resultCard .ex-primary .n53-runs{flex-basis:100%;text-align:right;font-size:12px;font-weight:600;color:var(--rc-muted,#6b7280);margin-top:2px}
#resultCard .ex-primary .n60-eta{order:9;display:flex;align-items:center;gap:6px;margin:2px 0 0;padding:10px 0 0;text-align:left;font-size:12px;line-height:1.5;color:var(--rc-muted,#6b7280);border-top:1px solid color-mix(in srgb,var(--rc-line,#e5e7eb) 70%,transparent)}
#resultCard .ex-primary .n60-eta::before{content:"";flex:none;width:14px;height:14px;background:currentColor;opacity:.75;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center/contain no-repeat}
#resultCard .ex-primary .n60-eta[hidden]{display:none}
/* 보조 정보: 만렙·누적 */
#resultCard .ex-meta{display:grid;gap:6px;margin:10px 0 2px}
#resultCard .ex-meta>.data-row{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 14px!important;border:0!important;border-radius:12px!important;background:var(--rc-soft,#f4f5f7)!important}
#resultCard .ex-meta>.data-row>label{font-size:12px;font-weight:600;color:var(--rc-muted,#6b7280);min-width:0}
#resultCard .ex-meta>.data-row>.data-value{font-size:min(15px,4.6cqi)!important;font-weight:750;white-space:nowrap!important}
#resultCard .ex-meta>.data-row[style*="display: none"]{display:none!important}
/* 판 계산: 값이 없으면 안내 한 줄만 */
#resultCard.ex-empty .bigres,#resultCard.ex-empty .metrics3,#resultCard.ex-empty #btResultBasis{display:none!important}
#resultCard.ex-empty .resnote{display:flex;align-items:center;gap:8px;margin-top:12px;padding:12px 14px;border-radius:12px;border:1px dashed var(--rc-line,#e5e7eb);font-size:12px;text-align:left}
#resultCard:not(.ex-empty) .resnote{display:none}
#resultCard .bigres{display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;margin-top:12px!important;padding:14px 16px!important}
#resultCard .bigres .k{font-size:12.5px;font-weight:700}
#resultCard .bigres .v{margin-left:auto;font-size:min(24px,7cqi)!important;font-weight:800}
#resultCard .bigres .u{font-size:12px;font-weight:700;opacity:.7}
#resultCard .metrics3 .m3{border-radius:12px!important}
#resultCard .sn-history{margin-top:14px}
/* 숫자 한 줄 유지: 판 수 안내(n53)는 다음 줄로 */
#resultCard .ex-primary>.data-row{flex-wrap:wrap!important}
#resultCard .ex-primary>.data-row>label{flex:1 1 auto;min-width:0}
#resultCard .data-row>.data-value{flex:0 0 auto!important;white-space:nowrap!important;word-break:keep-all!important}
#resultCard .ex-primary .n53-runs{flex:0 0 100%;order:5}
/* n94 남은 경험치: 1줄 이름·바로가기, 2줄 큰 숫자 (숫자 길이와 상관없이 같은 배치) */
#resultCard #rowRemain{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"lab fill" "val val" "runs runs";align-items:center;row-gap:6px!important;column-gap:10px!important}
#resultCard #rowRemain>label{display:contents}
#resultCard #rowRemain>label .ex-lab{grid-area:lab;min-width:0;font-size:12.5px;font-weight:700;color:var(--rc-muted,#6b7280);line-height:1.4}
#resultCard #rowRemain .nt-fill{grid-area:fill;justify-self:end}
#resultCard #rowRemain>.data-value{grid-area:val;justify-self:start;text-align:left!important;font-size:min(28px,8.2cqi)!important;line-height:1.15}
#resultCard #rowRemain .n53-runs{grid-area:runs;text-align:left;margin:0}
#resultCard #rowRemain>.data-value{max-width:none!important;width:auto!important;min-width:0}
#resultCard .ex-meta>.data-row>.data-value{max-width:none!important}
/* n95 한 판 시간 재기 창: 주 버튼 글자가 배경과 같은 색이 되던 문제 */
#btMeasureDialog .bt3-primary{background:#f2f2ef!important;border-color:#f2f2ef!important;color:#15181b!important;font-weight:800}
html[data-theme="light"] #btMeasureDialog .bt3-primary{background:#2f3337!important;border-color:#15181b!important;color:#fff!important}
#btMeasureDialog .bt3-primary:disabled{opacity:.45}
#btMeasureDialog{overflow-x:hidden}#btMeasureDialog *{max-width:100%;box-sizing:border-box}
