@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #263246;
  --muted: #768195;
  --subtle: #96a0af;
  --line: rgba(126, 143, 168, .13);
  --blue: #5a7dac;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #f6f8fb; color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(117, 143, 168, .13) .6px, transparent .6px); background-size: 7px 7px; opacity: .33; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button, input { border: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, a, summary { outline-offset: 5px; }
:focus-visible { outline: 2px solid #6e92c4; outline-offset: 5px; }
button, a, summary { transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(85px); pointer-events: none; }
.ambient-blue { width: 520px; height: 430px; top: 150px; left: calc(50% - 660px); background: #dce8fa; opacity: .6; }
.ambient-mint { width: 390px; height: 380px; top: 470px; right: calc(50% - 620px); background: #e1eee9; opacity: .75; }
.ambient-lilac { width: 440px; height: 350px; top: -130px; right: calc(50% - 350px); background: #e6e4f8; opacity: .55; }
.page-shell { width: min(1120px, calc(100% - 96px)); margin: auto; }
.site-header { height: 102px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: 20px; font-weight: 650; letter-spacing: 2px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 13px; background: rgba(255, 255, 255, .75); box-shadow: 0 3px 14px #5260780a; }
.brand-mark .icon { width: 25px; height: 25px; stroke-width: 1.3; }
.brand-divider { margin: 0 11px; color: #c1c8d2; font-weight: 300; }
.brand-english { vertical-align: 2px; font-size: 10px; font-weight: 600; letter-spacing: 2.1px; color: #778193; }
.header-link { display: inline-flex; align-items: center; gap: 13px; color: #647086; font-size: 12px; }
.header-link .icon { width: 15px; height: 15px; transform: rotate(-45deg); }
.header-link:hover { color: #2c5389; }
.intro { text-align: center; padding: 62px 0 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 600; color: #8091a8; letter-spacing: 2.7px; }
.eyebrow > span { width: 5px; height: 5px; border-radius: 50%; background: #86a1bd; box-shadow: 0 0 0 4px #90aac513; }
h1 { margin: 18px 0 13px; font-size: clamp(31px, 4vw, 44px); font-weight: 600; line-height: 1.4; letter-spacing: 2px; }
h1 > span:not(.title-period) { color: #6d8aa8; }
.title-period { color: #a7b8c9; }
.intro > p { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.glass { background: rgba(255, 255, 255, .63); border: 1px solid rgba(255, 255, 255, .96); box-shadow: 0 8px 30px -14px rgba(62, 86, 116, .13), inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.search-section { max-width: 684px; margin: 0 auto 37px; }
.search-bar { min-height: 65px; padding: 8px 9px 8px 20px; display: flex; align-items: center; gap: 15px; border-radius: 18px; transition: box-shadow .2s; }
.search-bar:focus-within { box-shadow: 0 0 0 3px #819fcb22, 0 10px 26px -14px #465f7b26; }
.search-icon { color: #8d9aaf; width: 19px; height: 19px; }
.search-bar input { width: 100%; min-width: 0; background: transparent; color: var(--ink); font-size: 13px; outline: none; padding: 9px 0; }
.search-bar input::placeholder { color: #929cac; }
.search-shortcut { border: 1px solid #dce1e8; border-radius: 5px; padding: 0 7px; line-height: 23px; color: #a0a9b7; background: #ffffff70; font-size: 12px; }
.search-button { display: flex; align-items: center; justify-content: center; gap: 14px; flex-shrink: 0; border-radius: 12px; padding: 13px 20px; line-height: 20px; font-size: 13px; font-weight: 500; color: white; background: #2d394b; box-shadow: 0 4px 8px #26324612; }
.search-button .icon { width: 17px; height: 17px; }
.search-button:hover { background: #43546c; transform: translateY(-1px); }
.search-caption { padding: 9px 8px 0; display: flex; justify-content: space-between; align-items: center; color: #939daf; font-size: 10px; }
.text-button { padding: 2px 0; background: transparent; display: inline-flex; align-items: center; gap: 5px; color: #68829e; font-size: 10px; }
.text-button .icon { width: 13px; height: 13px; }
.text-button:hover { color: #345a91; }
.form-error { font-size: 12px; color: #af554b; margin: 10px 8px 0; }
.section-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 0 3px; }
.section-label h2 { font-size: 13px; font-weight: 600; margin: 0; letter-spacing: 1px; }
#result-state { display: flex; align-items: center; gap: 7px; color: #8b95a5; font-size: 10px; }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #83ad99; flex-shrink: 0; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 18px; }
.ip-card, .location-card { border-radius: 24px; min-height: 254px; position: relative; }
.ip-card { padding: 26px 30px 23px; display: flex; flex-direction: column; overflow: hidden; }
.ip-card::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid #95afcc0f; border-radius: 50%; top: -95px; right: -80px; box-shadow: 0 0 0 26px #95afcc05, 0 0 0 54px #95afcc04; pointer-events: none; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.small-label { display: inline-flex; align-items: center; gap: 8px; color: #8490a1; font-size: 11px; font-weight: 400; letter-spacing: .5px; }
.small-label .icon { width: 16px; height: 16px; }
.version-badge { font: 10px var(--mono); color: #748da9; background: #edf3fa; border: 1px solid #e1eaf5; border-radius: 6px; padding: 4px 8px; }
.ip-address-wrap { flex: 1; display: flex; align-items: center; min-height: 91px; padding: 19px 0 5px; }
.ip-address { margin: 0; font-family: var(--mono); font-size: clamp(26px, 3.8vw, 48px); letter-spacing: -2px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ip-address.is-ipv6 { font-size: clamp(24px, 2.7vw, 33px); letter-spacing: -1px; }
.ip-description { margin: 4px 0 25px; color: #8a95a5; font-size: 11px; }
.ip-card-bottom { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.address-type { display: flex; align-items: center; gap: 8px; color: #82908f; font-size: 10px; }
.ip-actions { display: flex; gap: 8px; align-items: center; }
.icon-button { width: 33px; height: 33px; display: grid; place-items: center; background: transparent; color: #8b98aa; border-radius: 8px; }
.icon-button .icon { width: 16px; height: 16px; }
.icon-button:hover { background: #e9eef5; }
.copy-button { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; border: 1px solid #e3e8ef; background: #ffffffa6; color: #67768c; font-size: 10px; }
.copy-button .icon { width: 13px; height: 13px; }
.copy-button:hover { background: #edf3fa; border-color: #cddbea; }
.location-card { padding: 26px 27px 23px; overflow: hidden; display: flex; flex-direction: column; }
.location-globe { position: absolute; width: 262px; height: 262px; right: -81px; top: 8px; color: #aac5d3; stroke: currentColor; stroke-width: .65; opacity: .36; transform: rotate(-17deg); pointer-events: none; }
.globe-orbit { stroke-dasharray: 2 6; opacity: .7; }
.location-card > :not(.location-globe) { position: relative; }
.location-content { padding-top: 23px; flex: 1; }
.country-code { display: inline-block; color: #89a3b5; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; line-height: 1.4; }
.location-content h2 { font-size: 27px; font-weight: 500; letter-spacing: 1px; margin: 3px 0 3px; overflow-wrap: anywhere; }
.location-content p { margin: 0; color: #8494a0; font-size: 11px; overflow-wrap: anywhere; max-width: 90%; }
.location-caption { display: flex; align-items: center; gap: 8px; font-size: 9px; color: #96a4ae; padding-top: 17px; }
.location-line { width: 16px; height: 1px; background: #a6b6bf; }
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 17px; }
.detail-card { padding: 20px 21px 18px; border-radius: 19px; min-height: 146px; transition: transform .2s, box-shadow .2s; }
.detail-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px -15px #3f577537; }
.detail-heading { display: flex; align-items: center; gap: 8px; }
.detail-heading h3 { margin: 0; color: #8a94a3; font-size: 10px; font-weight: 400; letter-spacing: .3px; }
.detail-icon { width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center; }
.detail-icon .icon { width: 15px; height: 15px; }
.blue { color: #7994b6; background: #edf2fb; }
.violet { color: #9990bb; background: #f0edf9; }
.teal { color: #77a19b; background: #eaf4f1; }
.sand { color: #b5a082; background: #f6f1e8; }
.detail-value { font-size: 17px; font-weight: 500; margin: 13px 0 5px; line-height: 1.5; overflow-wrap: anywhere; }
.mono { font-family: var(--mono); }
.timezone-value { font-size: 15px; }
.coordinates-value { font-size: 13px; line-height: 1.95; letter-spacing: -.3px; }
.detail-subtitle { font-size: 9px; color: #96a0af; margin: 0; overflow-wrap: anywhere; }
.result-meta { display: flex; justify-content: space-between; gap: 12px; padding: 15px 4px 0; font-size: 9px; color: #99a3b1; }
.result-meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.result-meta .icon { width: 13px; height: 13px; }
.result-notice { display: flex; align-items: flex-start; gap: 8px; padding: 12px 15px; border-radius: 12px; margin-top: 15px; border: 1px solid #dbb66c20; background: #fffaf1b3; color: #9c855c; font-size: 11px; }
.result-notice .icon { width: 16px; height: 16px; margin-top: 1px; }
.result-notice p { margin: 0; }
.results.is-loading .detail-value, .results.is-loading .location-content { opacity: .42; }
.results.is-loading #result-state .status-dot { animation: breathe 1s ease infinite; background: #92abc8; }
.results.is-loading #refresh-button .icon { animation: spin 1.2s linear infinite; }
.about-section { display: grid; grid-template-columns: 1fr 1.65fr; gap: 75px; border-top: 1px solid var(--line); margin-top: 44px; padding: 34px 4px 39px; }
.about-heading > .small-label { font-size: 8px; letter-spacing: 2px; color: #a0a9b6; }
.about-heading h2 { font-size: 17px; font-weight: 500; letter-spacing: .5px; margin: 11px 0 8px; }
.about-heading p { margin: 0; color: #939eac; font-size: 11px; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; font-size: 11px; list-style: none; cursor: pointer; color: #6d798c; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 13px; height: 13px; color: #a8b0bb; transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { font-size: 11px; line-height: 1.9; color: #8a96a7; margin: 0; padding: 0 20px 16px 0; }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 29px; color: #a3acb8; font-size: 9px; }
.footer-brand { font-size: 12px; font-weight: 500; letter-spacing: 1px; color: #8290a3; display: inline-flex; align-items: center; gap: 15px; }
.footer-brand > span { font-size: 9px; font-weight: 400; color: #a3acb8; letter-spacing: .3px; }
.site-footer a { display: inline-flex; gap: 3px; align-items: center; }
.site-footer a:hover { color: #627e9e; }
.site-footer .icon { width: 10px; height: 10px; transform: rotate(-45deg); }
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; z-index: 10; padding: 12px 21px; border: 1px solid #ffffff80; border-radius: 13px; background: #2d394bed; box-shadow: 0 6px 24px #202f4826; backdrop-filter: blur(18px); color: white; font-size: 12px; max-width: calc(100% - 32px); }
.toast .icon { width: 16px; height: 16px; color: #b5dbc8; }
.noscript-notice { padding: 20px; background: white; color: #6c7b90; border-radius: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .35; } }
@media (min-width: 1450px) { .intro { padding-top: 73px; } .search-section { margin-bottom: 46px; } }
@media (max-width: 960px) {
  .page-shell { width: calc(100% - 56px); }
  .overview-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .ip-card { padding: 24px; }
  .location-card { padding: 24px; }
  .detail-card { padding: 18px 15px; }
  .detail-grid { gap: 12px; }
  .detail-value { font-size: 15px; }
  .timezone-value, .coordinates-value { font-size: 12px; }
  .about-section { gap: 30px; }
}
@media (max-width: 700px) {
  .page-shell { width: calc(100% - 36px); }
  .site-header { height: 79px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand-english { font-size: 8px; letter-spacing: 1.5px; }
  .brand-divider { margin: 0 8px; }
  .brand-mark { width: 35px; height: 35px; border-radius: 11px; }
  .brand-mark .icon { width: 23px; height: 23px; }
  .header-link { font-size: 10px; gap: 5px; }
  .intro { padding: 42px 0 26px; }
  .eyebrow { font-size: 8px; letter-spacing: 2.2px; }
  h1 { font-size: clamp(25px, 6.4vw, 37px); letter-spacing: 0; margin: 16px 0 12px; }
  .intro > p { font-size: 11px; letter-spacing: .2px; }
  .search-section { margin-bottom: 30px; }
  .search-bar { min-height: 59px; border-radius: 16px; padding: 7px 8px 7px 15px; gap: 10px; }
  .search-bar input { font-size: 11px; }
  .search-shortcut { display: none; }
  .search-button { padding: 12px 14px; gap: 9px; font-size: 11px; border-radius: 11px; }
  .search-caption { font-size: 9px; padding-inline: 3px; }
  .text-button { font-size: 9px; }
  .overview-grid { grid-template-columns: 1fr; gap: 14px; }
  .ip-card { padding: 23px; min-height: 244px; border-radius: 22px; }
  .ip-address { font-size: clamp(26px, 7.4vw, 44px); letter-spacing: -1.3px; }
  .ip-address.is-ipv6 { font-size: clamp(22px, 5.4vw, 29px); }
  .ip-address-wrap { min-height: 89px; }
  .location-card { min-height: 178px; padding: 21px 23px; border-radius: 22px; }
  .location-content { padding-top: 13px; padding-right: 75px; }
  .location-content h2 { font-size: 24px; }
  .country-code { position: absolute; right: 0; top: 23px; font-size: 12px; }
  .location-globe { width: 220px; height: 220px; top: -31px; right: -20px; opacity: .4; }
  .location-caption { padding-top: 12px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
  .detail-card { padding: 18px; min-height: 143px; }
  .detail-value { font-size: 16px; }
  .timezone-value { font-size: 13px; }
  .coordinates-value { font-size: 11px; }
  .result-meta { flex-wrap: wrap; font-size: 8px; padding-inline: 2px; }
  .about-section { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; padding: 27px 3px; }
  .about-heading h2 { font-size: 16px; margin-top: 8px; }
  .about-heading p { font-size: 10px; }
  .faq-list summary { padding: 15px 0; }
  .site-footer { padding: 22px 0 25px; gap: 12px; }
  .footer-brand { gap: 8px; }
  .footer-brand > span { font-size: 8px; letter-spacing: 0; }
  .ambient-blue { width: 300px; left: -120px; }
  .ambient-mint { width: 250px; right: -110px; }
}
@media (max-width: 370px) {
  .brand-english, .brand-divider { display: none; }
  .search-button { padding-inline: 13px; }
  .search-button .icon { display: none; }
  .detail-card { padding: 15px 13px; }
  .footer-brand > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@supports not (backdrop-filter: blur(1px)) {
  .glass { background: rgba(255, 255, 255, .94); }
}
