* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: #262626; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, .ip-value[role="button"]:focus-visible { outline: 3px solid #737373; outline-offset: 5px; border-radius: 4px; }
::selection { background: #e5e5e5; color: #171717; }
.container { width: calc(100% - 64px); max-width: 1080px; margin: 0 auto; }
.site-header { border-bottom: 1px solid #ededed; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; width: 36px; height: 36px; justify-content: center; align-items: center; border-radius: 10px; background: #262626; color: #fff; font-size: 19px; font-weight: 750; letter-spacing: -1px; line-height: 1; }
.brand-name { font-size: 26px; font-weight: 750; letter-spacing: -1px; line-height: 1; }
.brand-dot { color: #666666; }
.navigation { display: flex; align-items: center; gap: 30px; font-size: 14px; color: #666666; }
.navigation a { padding: 12px 0; }
.navigation a:hover { color: #171717; }
.hero { padding-top: 28px; }
.intro { text-align: center; margin-bottom: 18px; }
h1 { margin: 0; font-size: 30px; font-weight: 650; line-height: 1.4; letter-spacing: -1px; }
.intro-text { margin: 6px 0 0; color: #666666; font-size: 14px; }
.ip-panel { border: 1px solid #e2e2e2; border-radius: 16px; overflow: hidden; background: #fafafa; }
.result { padding: 18px 28px 16px; text-align: center; }
.result-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: #666666; font-size: 12px; }
.result-label { display: inline-flex; align-items: center; gap: 8px; }
.result-tools { display: flex; align-items: center; flex-shrink: 0; gap: 8px; margin-left: auto; }
.status-dot { width: 6px; height: 6px; background: #737373; border-radius: 50%; }
.version { display: inline-flex; align-items: center; min-height: 30px; border: 1px solid #e2e2e2; border-radius: 5px; padding: 3px 9px; font-family: Consolas, "SFMono-Regular", monospace; color: #595959; background: #fff; }
.ip-value { display: block; margin: 12px 0 6px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: clamp(32px, 6vw, 68px); font-weight: 600; line-height: 1.2; letter-spacing: -3px; color: #202020; overflow-wrap: anywhere; user-select: all; }
.ip-value.is-copyable { cursor: pointer; }
.ip-value.is-ipv6 { max-width: 830px; margin-left: auto; margin-right: auto; font-size: clamp(24px, 4vw, 44px); line-height: 1.35; letter-spacing: -1px; }
.ip-value.is-empty { font-family: inherit; font-size: 32px; letter-spacing: 0; }
.location { margin: 6px 0 14px; font-size: 16px; color: #595959; overflow-wrap: anywhere; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 5px 12px; border: 1px solid #262626; border-radius: 5px; font-size: 12px; font-weight: 550; line-height: 1.5; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.button-primary { color: #fff; background: #262626; }
.button-primary:hover { background: #404040; border-color: #404040; }
.copy-status { min-height: 20px; margin: 8px 0 0; color: #666666; font-size: 12px; }
.notice { max-width: 640px; margin: 14px auto; color: #8b4b22; font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 16px 12px; background: #fff; border-top: 1px solid #e5e5e5; }
.fact { padding: 0 20px; min-width: 0; text-align: center; }
.fact + .fact { border-left: 1px solid #ededed; }
.ip-query-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 11px 20px; border-top: 1px solid #ededed; background: #fff; color: #666666; font-size: 12px; }
.ip-query-links > span, .ip-query-links a { white-space: nowrap; }
.ip-query-links a { color: #525252; text-decoration: underline; text-underline-offset: 3px; }
.ip-query-links a:hover { color: #171717; }
dt { font-size: 12px; color: #666666; }
dd { margin: 5px 0 0; font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.section { margin-top: 44px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
h2 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.5px; }
.section-description { margin: 0; color: #666666; font-size: 13px; }
.endpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.endpoint { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid #e5e5e5; border-radius: 12px; transition: border-color .15s, background-color .15s; }
.endpoint:hover { background: #fafafa; border-color: #a3a3a3; }
.endpoint-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.endpoint-name { font-family: Consolas, "SFMono-Regular", monospace; color: #262626; font-size: 23px; font-weight: 600; letter-spacing: -1px; }
.endpoint-format { color: #666666; font-size: 11px; letter-spacing: 1px; }
.endpoint h3 { font-size: 15px; font-weight: 600; margin: 19px 0 6px; }
.endpoint p { color: #666666; font-size: 13px; margin: 0; }
.endpoint-action { margin-top: 24px; padding-top: 14px; border-top: 1px solid #ededed; font-size: 12px; color: #404040; }
.command { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 14px 19px; border-radius: 8px; background: #f5f5f5; font-size: 12px; color: #666666; }
.command code { font-family: Consolas, "SFMono-Regular", monospace; font-size: 13px; color: #525252; overflow-wrap: anywhere; }
.faq-section { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 60px; padding: 42px 0 0; border-top: 1px solid #e5e5e5; }
.faq-intro p { margin: 13px 0 0; color: #666666; font-size: 13px; max-width: 230px; }
.faq-list { min-width: 0; }
details { border-bottom: 1px solid #e5e5e5; }
details:first-child { margin-top: -15px; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 0; font-weight: 500; font-size: 14px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-toggle { flex-shrink: 0; font-family: Consolas, monospace; color: #737373; font-size: 18px; transition: transform .15s; }
details[open] .faq-toggle { transform: rotate(45deg); }
details p { margin: 0; padding: 0 30px 20px 0; font-size: 13px; color: #666666; line-height: 1.9; }
details a { color: #404040; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { margin-top: 64px; border-top: 1px solid #e5e5e5; }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-weight: 650; font-size: 18px; letter-spacing: -.5px; color: #404040; }
.footer-domain { color: #595959; font-size: 13px; letter-spacing: .5px; }
.skip-link { position: fixed; z-index: 2; top: -80px; left: 20px; padding: 10px 16px; background: #262626; color: #fff; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.copy-fallback { position: fixed; top: 0; left: -9999px; font-size: 16px; }
.diagnostic-card { margin-top: 20px; padding: 24px 28px; border: 1px solid #e2e2e2; border-radius: 14px; background: #fff; }
.diagnostic-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.diagnostic-heading h2 { font-size: 20px; }
.diagnostic-tag { padding: 2px 9px; border: 1px solid #e5e5e5; border-radius: 5px; color: #666666; font-size: 11px; }
.diagnostic-status { margin: 10px 0 0; color: #666666; font-size: 13px; overflow-wrap: anywhere; }
.diagnostic-note { margin: 16px 0 0; color: #666666; font-size: 12px; line-height: 1.8; }
.diagnostic-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.button-muted { background: #fff; color: #525252; border-color: #d4d4d4; }
.button-muted:hover { background: #f5f5f5; border-color: #a3a3a3; }
.browser-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.browser-facts .browser-fact { min-width: 0; padding: 13px 15px; border: 1px solid #ededed; border-radius: 8px; background: #fafafa; text-align: left; }
.browser-facts .browser-fact:last-child { grid-column: auto; }
.browser-facts .browser-fact-languages { grid-column: span 2; }
.browser-facts dt { color: #707070; font-size: 12px; font-weight: 400; line-height: 1.5; }
.browser-facts dd { margin: 7px 0 0; color: #202020; font-size: 15px; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; }
.browser-ua { margin-top: 12px; padding: 14px 15px; border: 1px solid #ededed; border-radius: 8px; background: #fafafa; }
.browser-ua-title { margin: 0 0 8px; padding: 0; color: #707070; font-size: 12px; font-weight: 400; line-height: 1.5; }
.browser-ua code { display: block; padding: 0; font-family: Consolas, "SFMono-Regular", monospace; color: #333333; font-size: 12px; line-height: 1.8; white-space: normal; overflow-wrap: anywhere; }
.rtc-results { margin-top: 12px; }
.rtc-table-wrap { overflow-x: auto; border: 1px solid #e5e5e5; border-radius: 8px; }
.rtc-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.rtc-table th { padding: 11px 14px; background: #f7f7f7; color: #595959; font-weight: 500; white-space: nowrap; }
.rtc-table td { padding: 12px 14px; vertical-align: top; border-top: 1px solid #ededed; overflow-wrap: anywhere; }
.rtc-table td:first-child { min-width: 160px; font-family: Consolas, "SFMono-Regular", monospace; }
.rtc-table td:nth-child(2) { min-width: 115px; }
.rtc-table td:nth-child(3) { min-width: 140px; color: #666666; }
.rtc-summary { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: #595959; white-space: nowrap; overflow-x: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
    .container { width: calc(100% - 40px); }
    .result { padding-left: 22px; padding-right: 22px; }
    .ip-value { letter-spacing: -2px; }
    .fact { padding: 0 12px; }
    .endpoint { padding: 20px 18px; }
    .section-heading { display: block; }
    .section-description { margin-top: 7px; }
    .faq-section { grid-template-columns: 220px minmax(0, 1fr); gap: 26px; }
    .browser-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .container { width: calc(100% - 32px); }
    .header-inner { min-height: 64px; gap: 16px; }
    .brand { gap: 9px; }
    .brand-mark { width: 31px; height: 31px; border-radius: 8px; font-size: 17px; }
    .brand-name { font-size: 24px; }
    .navigation { gap: 18px; font-size: 12px; }
    .hero { padding-top: 22px; }
    .intro { margin-bottom: 16px; }
    h1 { font-size: 26px; }
    .intro-text { font-size: 13px; margin-top: 6px; }
    .ip-panel { border-radius: 14px; }
    .result { padding: 15px 14px 16px; }
    .result-heading { font-size: 11px; }
    .ip-value { font-size: clamp(25px, 7.7vw, 44px); letter-spacing: -1px; margin-top: 18px; }
    .ip-value.is-ipv6 { font-size: 24px; margin-top: 16px; letter-spacing: -.5px; }
    .ip-value.is-empty { font-size: 26px; }
    .location { font-size: 14px; margin-top: 10px; margin-bottom: 16px; }
    .copy-status { font-size: 11px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
    .fact { text-align: left; padding: 12px 17px; border-bottom: 1px solid #ededed; }
    .fact + .fact { border-left: 0; }
    .fact:nth-child(even) { border-left: 1px solid #ededed; }
    .fact:last-child { grid-column: 1 / -1; border-bottom: 0; }
    dd { font-size: 13px; margin-top: 4px; }
    .section { margin-top: 32px; }
    h2 { font-size: 21px; }
    .section-heading { margin-bottom: 18px; }
    .endpoints { grid-template-columns: 1fr; gap: 12px; }
    .endpoint { padding: 19px 20px; }
    .endpoint h3 { margin-top: 11px; }
    .endpoint-action { margin-top: 16px; padding-top: 11px; }
    .command { display: block; padding: 13px 16px; }
    .command code { display: block; margin-top: 4px; font-size: 12px; }
    .faq-section { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
    .faq-intro p { max-width: none; margin-top: 8px; }
    .site-footer { margin-top: 40px; }
    .footer-inner { min-height: 100px; align-items: flex-start; padding-top: 25px; gap: 16px; }
    .footer-domain { padding-top: 4px; font-size: 12px; }
    .diagnostic-card { margin-top: 16px; padding: 20px 17px; border-radius: 12px; }
    .diagnostic-heading h2 { font-size: 18px; }
    .diagnostic-status { font-size: 12px; }
    .browser-facts { gap: 8px; margin-top: 15px; }
    .browser-facts .browser-fact { padding: 12px; border: 1px solid #ededed; }
    .browser-facts dd { font-size: 13px; }
    .browser-ua { padding: 12px; }
    .rtc-table th, .rtc-table td { padding: 10px 11px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, .endpoint, .faq-toggle { transition: none; }
}
