/* Only /tools/ uses this stylesheet. Calculators and report pages keep their UI. */
@font-face{font-family:CorinToolsHome;src:url('/onchain-native/pretendard-trade.woff2?v=bit') format('woff2');font-weight:100 900;font-display:swap}
.th-page{--th-ink:#182c3a;--th-muted:#61717c;--th-bg:#f6f8fa;--th-panel:#fff;--th-line:#e1e7eb;--th-accent:#10786f;--th-soft:#eaf5f1;--th-blue:#3868ab;--th-blue-soft:#edf3fc;--t-wide:1180px;background:var(--th-bg);color:var(--th-ink);font-family:CorinToolsHome,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:15px;line-height:1.55}
html[data-theme="dark"] .th-page{--th-ink:#e5edf2;--th-muted:#a0afba;--th-bg:#10161c;--th-panel:#18212a;--th-line:#2c3843;--th-accent:#76d7bf;--th-soft:#213c36;--th-blue:#9abbfa;--th-blue-soft:#25334c}
.th-page [hidden]{display:none!important}
.th-page .t-header{background:var(--th-panel);border-bottom:1px solid var(--th-line)}
.th-page .t-header-in{min-height:64px}
.th-page .t-nav{min-width:0}
.th-page .t-nav a{font-size:14px;padding:10px 8px;color:var(--th-muted)}
.th-page .t-nav a[aria-current="page"]{color:var(--th-accent);font-weight:700}
.th-page .t-theme-btn{border-radius:9px;width:36px;height:36px}
.th-page .t-auth-btn{border-radius:7px}
.th-page .t-header-actions{flex-shrink:0}
.th-page .t-search{max-width:156px}
.th-main{width:min(100% - 48px,1000px);margin:0 auto;padding:42px 0 32px;flex:1}
.th-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.th-intro h1{display:flex;align-items:center;gap:9px;font:750 32px/1.2 CorinToolsHome,sans-serif;letter-spacing:-1px;margin:0 0 10px}
.th-title-dot{width:7px;height:7px;border-radius:50%;background:var(--th-accent);align-self:flex-end;margin-bottom:5px}
.th-intro p{margin:0;color:var(--th-muted);font-size:14px}
.th-practice-link{font-size:13px;color:var(--th-muted);display:flex;gap:12px;align-items:center;min-height:44px;white-space:nowrap}
.th-practice-link span{font-size:18px;color:var(--th-accent)}
.th-live-review{--th-panel:#17303c;--th-ink:#f0f8f6;--th-muted:#b6ceca;--th-line:#36545f;--th-soft:#28493f;--th-accent:#79dcc3;position:relative;padding:23px 30px 25px;border:1px solid #36545f;border-left:4px solid #79dcc3;border-radius:20px;background:#132b36;color:var(--th-ink)}
.th-live-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--th-accent);font-size:13px;font-weight:600}
.th-live-tag{padding:5px 9px;border:1px solid var(--th-line);border-radius:6px;color:var(--th-muted);font-size:11px;font-weight:400;white-space:nowrap}
.th-live-body{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:24px}
.th-live-copy{min-width:0;padding-top:15px}
.th-live-copy h2{margin:0 0 10px;font-size:34px;line-height:1.3;font-weight:750;letter-spacing:-1px;color:var(--th-ink)}
.th-live-copy p{margin:0;color:var(--th-muted);font-size:14px;line-height:1.7}
.th-live-mobile-break{display:none}
.th-live-action{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:48px;margin-top:23px;padding:11px 19px;border-radius:9px;background:#79dcc3;color:#102f2a;font-size:15px;font-weight:700}
.th-live-action:hover{background:#9be8d4;color:#102f2a;text-decoration:none}
.th-live-action span{font-size:20px;font-weight:400}
.th-report{position:relative;border:1px solid var(--th-line);border-radius:16px;background:var(--th-panel);padding:21px 27px;margin-top:18px;overflow:hidden}
.th-report-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.th-eyebrow{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;color:var(--th-accent)}
.th-small-icon{display:inline-flex;width:18px;height:18px}
.th-page svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.th-tag{font-size:11px;line-height:1.4;padding:5px 9px;border-radius:6px;background:var(--th-bg);color:var(--th-muted);white-space:nowrap}
.th-report-body{display:block}
.th-report-copy{padding-top:12px;min-width:0}
.th-report-copy h2{font-size:19px;line-height:1.4;letter-spacing:-.4px;margin:0 0 7px;font-weight:700}
.th-report-description{font-size:13px;color:var(--th-muted);margin:0;max-width:560px}
.th-report-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:15px}
.th-primary{display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:44px;padding:10px 17px;border:1px solid var(--th-line);border-radius:9px;background:var(--th-bg);color:var(--th-ink);font-size:13px;font-weight:650;white-space:nowrap}
.th-primary:hover{color:var(--th-ink);text-decoration:none;border-color:var(--th-accent)}
.th-primary span{font-size:18px;font-weight:400}
.th-secondary,.th-retry{font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;color:var(--th-muted);min-height:40px;display:inline-flex;align-items:center;padding:0;border:0;background:none;cursor:pointer}
.th-report-note{font-size:11px;color:var(--th-muted);margin:12px 0 0}
.th-report-art{height:206px;position:relative;display:flex;align-items:center;justify-content:center;pointer-events:none}
.th-paper-back{position:absolute;width:155px;height:170px;background:var(--th-soft);border-radius:12px;transform:rotate(-9deg) translate(-12px,2px)}
.th-paper{position:relative;width:164px;padding:21px 19px;background:var(--th-panel);border:1px solid var(--th-line);border-radius:12px;transform:rotate(4deg)}
.th-paper-heading,.th-paper-subheading{display:block;border-radius:2px;background:var(--th-line);height:5px;width:52px;margin-bottom:7px}
.th-paper-subheading{width:84px;height:3px;margin-bottom:15px;opacity:.65}
.th-paper-line{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--th-muted);padding:7px 0}
.th-paper-line i{display:grid;place-items:center;width:17px;height:17px;border-radius:5px;background:var(--th-soft);color:var(--th-accent);font-size:11px;font-style:normal}
.th-paper-stamp{position:absolute;bottom:-12px;right:-16px;display:grid;place-items:center;width:44px;height:44px;border:5px solid var(--th-panel);border-radius:50%;background:var(--th-accent);color:var(--th-panel);transform:rotate(-4deg)}
.th-paper-stamp svg{width:24px;height:24px;stroke-width:2.2}
.th-metrics{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:20px;margin:24px 0 0;padding:22px 0 0;border-top:1px solid var(--th-line)}
.th-metrics>div{min-width:0}
.th-metrics>div+div{border-left:1px solid var(--th-line);padding-left:22px}
.th-metrics dt{font-size:12px;color:var(--th-muted)}
.th-metrics dd{margin:6px 0 3px;font-size:27px;font-weight:650;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.th-metrics small{font-size:11px;color:var(--th-muted)}
.th-metrics .is-positive{color:var(--th-accent)}
.th-metrics .is-negative{color:var(--t-short)}
.th-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:30px 0 14px}
.th-section-head h2{font-size:19px;line-height:1.4;letter-spacing:-.4px;margin:0;font-weight:700}
.th-section-head>span{font-size:12px;color:var(--th-muted)}
.th-calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.th-calc{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:18px;align-items:start;position:relative;padding:25px 26px 19px;background:var(--th-panel);border:1px solid var(--th-line);border-radius:16px;color:var(--th-ink);transition:border-color .15s,background-color .15s}
.th-calc:hover{color:var(--th-ink);text-decoration:none;border-color:var(--th-accent)}
.th-calc-icon{width:50px;height:50px;border-radius:14px;background:var(--th-soft);color:var(--th-accent);display:grid;place-items:center}
.th-calc-icon svg{width:25px;height:25px}
.th-calc-liquidation .th-calc-icon{background:#fff2db;color:#b65c0d}
.th-calc-liquidation:hover{border-color:#d38a36}
.th-calc-liquidation .th-calc-link>span{color:#b65c0d}
html[data-theme="dark"] .th-calc-liquidation .th-calc-icon{background:#493222;color:#ffc36d}
html[data-theme="dark"] .th-calc-liquidation .th-calc-link>span{color:#ffc36d}
.th-calc-fee .th-calc-icon{background:var(--th-blue-soft);color:var(--th-blue)}
.th-calc-copy h3{font-size:20px;line-height:1.4;font-weight:700;letter-spacing:-.4px;margin:1px 0 7px}
.th-calc-copy p{font-size:13px;color:var(--th-muted);margin:0;line-height:1.65}
.th-calc-link{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1;border-top:1px solid var(--th-line);margin-top:20px;padding-top:13px;font-size:12px;font-weight:550;color:var(--th-muted)}
.th-calc-link>span{font-size:18px;color:var(--th-accent)}
.th-help{margin-top:25px}
.th-help details{border-bottom:1px solid var(--th-line)}
.th-help summary{display:flex;align-items:center;gap:12px;min-height:58px;padding:12px 3px;cursor:pointer;list-style:none;font-size:13px;font-weight:550}
.th-help summary::-webkit-details-marker{display:none}
.th-summary-meta{margin-left:auto;color:var(--th-muted);font-size:12px;font-weight:400}
.th-plus{position:relative;margin-left:auto;width:16px;height:16px;flex:none;color:var(--th-muted)}
.th-summary-meta+.th-plus{margin-left:8px}
.th-plus:before,.th-plus:after{content:"";position:absolute;background:currentColor;inset:7px 2px auto;height:1px}
.th-plus:after{transform:rotate(90deg)}
details[open] .th-plus:after{transform:none}
.th-help-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 0 16px}
.th-help-links a{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:44px;padding:10px 12px;border-radius:7px;background:var(--th-panel);color:var(--th-muted);font-size:13px}
.th-help-body{max-width:740px;padding:0 3px 16px;font-size:13px;color:var(--th-muted);line-height:1.8}
.th-help-body p{margin:0 0 10px}
.th-help-inline{display:flex;flex-wrap:wrap;gap:8px 20px}
.th-help-inline a{color:var(--th-accent);min-height:36px;display:inline-flex;align-items:center}
.th-footer{width:min(100% - 48px,1000px);margin:0 auto;padding:6px 0 28px;color:var(--th-muted)}
.th-footer>div{display:flex;align-items:center;gap:13px;font-size:12px;flex-wrap:wrap}
.th-footer a{color:var(--th-muted);min-height:36px;display:inline-flex;align-items:center}
.th-footer a:first-child{font-weight:750;color:var(--th-ink)}
.th-footer a:last-child{margin-left:auto}
.th-footer p{font-size:11px;line-height:1.7;margin:8px 0 0}
.th-page :focus-visible{outline:2px solid var(--th-accent);outline-offset:4px}
@media(max-width:1000px){.th-page .t-search{display:none}.th-page .t-nav{flex:1}.th-page .t-nav a{font-size:13px}.th-page .t-header-in{gap:14px}}
@media(max-width:700px){
 .th-page .t-header-in{display:flex;flex-wrap:wrap;gap:0 14px;padding:10px 16px 0;min-height:0}
 .th-page .t-logo{font-size:19px;min-height:36px;display:inline-flex;align-items:center}
 .th-page .t-header-actions{margin-left:auto;gap:10px}
 .th-page .t-auth-link{display:inline-flex;font-size:12px}
 .th-page .t-auth-btn{display:none}
 .th-page .t-nav{order:3;flex:0 0 calc(100% + 12px);width:calc(100% + 12px);margin:7px -6px 0;padding:0;overflow-x:auto;scrollbar-width:none}
 .th-page .t-nav a{padding:10px 9px;min-height:40px;font-size:12px;white-space:nowrap}
 .th-page .t-nav a[aria-current="page"]{border-bottom:2px solid var(--th-accent)}
 .th-main{width:calc(100% - 32px);padding:26px 0 22px}
 .th-intro{margin-bottom:20px;gap:12px}
 .th-intro h1{font-size:27px;margin-bottom:8px}
 .th-intro p{font-size:12px;line-height:1.6;max-width:230px}
 .th-practice-link{display:none}
 .th-live-review{padding:19px 20px 23px;border-radius:16px}
 .th-live-top{font-size:12px;gap:8px}.th-live-tag{font-size:10px;padding:4px 7px}
 .th-live-body{display:block}.th-live-copy{padding-top:22px}
 .th-live-copy h2{font-size:28px;letter-spacing:-.8px;margin-bottom:9px}
 .th-live-copy p{font-size:13px}.th-live-mobile-break{display:block}
 .th-live-action{margin-top:21px;font-size:14px;gap:30px}
 .th-report{padding:18px 20px;margin-top:14px;border-radius:16px}
 .th-report-body{display:block}
 .th-report-art{display:none}
 .th-eyebrow{font-size:12px}.th-tag{font-size:10px;padding:4px 7px}
 .th-report-copy{padding-top:12px}
 .th-report-copy h2{font-size:18px;line-height:1.4;letter-spacing:-.4px}
 .th-report-description{font-size:12px;line-height:1.7;max-width:320px}
 .th-report-actions{gap:10px 14px;margin-top:13px}
 .th-primary{font-size:12px;padding:10px 13px;gap:16px}
 .th-secondary,.th-retry{font-size:12px;min-height:32px}
 .th-report-note{font-size:10px;margin-top:8px}
 .th-section-head{margin:25px 0 12px}.th-section-head h2{font-size:18px}.th-section-head>span{font-size:11px}
 .th-calc-grid{gap:12px}
 .th-calc{display:flex;flex-direction:column;align-items:stretch;padding:18px 17px 12px;border-radius:13px}
 .th-calc-icon{width:38px;height:38px;border-radius:10px;margin-bottom:14px}.th-calc-icon svg{width:22px;height:22px}
 .th-calc-copy h3{font-size:18px;margin:0 0 6px;white-space:nowrap}
 .th-calc-copy p{font-size:12px;line-height:1.6;word-break:keep-all;letter-spacing:-.1px}
 .th-calc-link{font-size:11px;margin-top:16px;padding-top:9px;gap:4px}.th-calc-link>span{font-size:17px}
 .th-help{margin-top:18px}.th-help summary{font-size:12px;min-height:55px}.th-summary-meta{font-size:10px}
 .th-help-links{grid-template-columns:1fr}.th-help-links a,.th-help-body{font-size:12px}
 .th-metrics{grid-template-columns:1fr 1fr;gap:17px;margin-top:20px;padding-top:17px}
 .th-metrics>div:first-child{grid-column:1/-1;border-bottom:1px solid var(--th-line);padding-bottom:15px}
 .th-metrics>div+div{padding-left:0;border:0}.th-metrics>div:last-child{padding-left:18px;border-left:1px solid var(--th-line)}
 .th-metrics dd{font-size:25px}.th-metrics>div:first-child dd{font-size:30px}.th-metrics small{font-size:10px}
 .th-footer{width:calc(100% - 32px);padding-bottom:24px}.th-footer>div{gap:5px 12px;font-size:11px}.th-footer p{font-size:10px}
}
@media(max-width:359px){.th-live-review{padding:18px 16px 22px}.th-live-copy h2{font-size:27px}.th-calc{padding:16px 12px 10px}.th-calc-grid{gap:10px}.th-calc-copy h3{font-size:17px}.th-calc-copy p{font-size:11px}.th-report{padding:18px 16px}.th-summary-meta{display:none}.th-footer>div>span{display:none}}
@media(prefers-reduced-motion:reduce){.th-page *{transition:none!important}}
