/* whatsip.nl shared design system. One small cached file for every page. */
:root {
  color-scheme: light dark;
  --bg: #ffffff; --surface: #f3f5f7; --border: #c4ccd4;
  --text: #14181c; --muted: #41505c; --accent: #0a5c2e; --accent-fg: #ffffff; --focus: #0a5c2e;
  --warn: #6e4200; --nav-bg: rgba(255,255,255,0.85);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14; --surface: #161c24; --border: #2c3742;
    --text: #f0f4f8; --muted: #aebdc9; --accent: #5fe39b; --accent-fg: #08130c; --focus: #5fe39b;
    --warn: #ffd479; --nav-bg: rgba(11,15,20,0.85);
  }
}
[data-theme="light"] { color-scheme: light;
  --bg:#fff; --surface:#f3f5f7; --border:#c4ccd4; --text:#14181c; --muted:#41505c; --accent:#0a5c2e; --accent-fg:#fff; --focus:#0a5c2e; --nav-bg:rgba(255,255,255,.85); }
[data-theme="dark"] { color-scheme: dark;
  --bg:#0b0f14; --surface:#161c24; --border:#2c3742; --text:#f0f4f8; --muted:#aebdc9; --accent:#5fe39b; --accent-fg:#08130c; --focus:#5fe39b; --nav-bg:rgba(11,15,20,.85); }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }

/* ---- Persistent top bar: brand = home (My IP), tools, theme ---- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 1.25rem; border-bottom: 1px solid var(--border);
  background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(8px);
}
.brand { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--text); font-size: 1.05rem; }
.brand span { color: var(--accent); }
.tabs { display: flex; gap: 0.25rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 600;
  padding: 0.35rem 0.65rem; border-radius: 999px; white-space: nowrap;
}
.tabs a:hover { color: var(--text); background: var(--surface); }
.tabs a[aria-current="page"] { color: var(--accent-fg); background: var(--accent); }
.tabs a.soon { color: var(--muted); opacity: 0.6; cursor: default; pointer-events: none; }
.tabs a.soon::after { content: "soon"; font-size: 0.6rem; text-transform: uppercase; vertical-align: super; margin-left: 0.2rem; opacity: 0.8; }
.theme-btn {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.35rem 0.55rem; cursor: pointer; font: inherit; font-size: 0.95rem; line-height: 1;
}

main { flex: 1; width: 100%; }
.page { width: 100%; max-width: 760px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; }
h1.title { font-size: 1.35rem; letter-spacing: -0.01em; margin: 0 0 1rem; }

/* ---- Cards / fields shared by every tool ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.hero { text-align: center; padding: 1.75rem 1.5rem; }
.label { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.5rem; }
.big {
  font: 700 clamp(1.6rem, 6vw, 2.6rem)/1.1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  word-break: break-all; margin: 0; cursor: pointer;
}
.big:hover { text-decoration: underline; text-underline-offset: 4px; }
.sub { color: var(--muted); font-size: 0.9rem; margin: 0.5rem 0 0; }
.btn { background: var(--accent); color: var(--accent-fg); border: 0; border-radius: 9px; padding: 0.6rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.grid { margin-top: 1.25rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.8rem 1rem; }
.field .k { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; position: relative; }
.field .v { font-weight: 600; word-break: break-word; }
.info-icon { position: absolute; right: 0; top: 0; font-size: 0.9rem; color: var(--accent); cursor: help; opacity: 0.7; transition: opacity 0.2s; }
.info-icon:hover { opacity: 1; }

details { margin-top: 1.25rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
summary { cursor: pointer; padding: 0.8rem 1rem; font-weight: 600; }
details pre { margin: 0; padding: 0 1rem 1rem; overflow-x: auto; font-size: 0.85rem; font-family: ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }

.tip { margin-top: 1.25rem; color: var(--muted); font-size: 0.92rem; }
.tip code { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 0.15rem 0.4rem; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---- Tools overview (home): the "where can I go next" strip ---- */
.tools { margin-top: 1.75rem; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.tool { display: block; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1rem; }
.tool:hover { border-color: var(--accent); }
.tool .t { display: block; font-weight: 700; }
.tool .d { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; line-height: 1.3; }
.tool.soon { opacity: 0.6; pointer-events: none; }
.tool.soon .t::after { content: " · soon"; color: var(--muted); font-weight: 600; font-size: 0.75rem; }

.status-ok { color: var(--accent); font-weight: 700; }
.status-warn { color: var(--warn); font-weight: 700; }
.status-line { font-size: 1.05rem; margin: 0; }
.ad { margin: 2rem auto 0; max-width: 760px; min-height: 90px; text-align: center; }
footer { max-width: 760px; width: 100%; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; color: var(--muted); font-size: 0.85rem; text-align: center; }
@media (prefers-reduced-motion: no-preference) { .btn, .tool { transition: opacity .15s, border-color .15s; } }
/* Cache bust: Wed Jun 24 01:37:26 WEDT 2026 */
