/* =============================================================
   PNFLANDER.CSS — Frutiger Metro 404
   Palette: sky blue · cyan · teal · mint · aqua · ice · white
   Aesthetic: glass morphism · lens orbs · soft gradients ·
              metro tiles · clean sans-serif · aero-era warmth
   ============================================================= */

/* ── CUSTOM PROPERTIES ── */
:root {
  --sky-top:       #b8e8f8;
  --sky-mid:       #d6f0fc;
  --sky-bot:       #eef9ff;
  --horizon:       #a0d8ef;
  --teal:          #00897b;
  --teal-lt:       #4db6ac;
  --cyan:          #00bcd4;
  --cyan-lt:       #80deea;
  --sky:           #29b6f6;
  --sky-lt:        #81d4fa;
  --mint:          #26c6da;
  --mint-lt:       #80cbc4;
  --aqua:          #00acc1;
  --aqua-lt:       #4dd0e1;
  --blue:          #039be5;
  --blue-lt:       #4fc3f7;
  --ice:           #b3e5fc;
  --white:         #f0fbff;
  --glass-bg:      rgba(255,255,255,0.28);
  --glass-bg2:     rgba(255,255,255,0.18);
  --glass-border:  rgba(255,255,255,0.65);
  --glass-shadow:  rgba(0,140,180,0.18);
  --text-dark:     #0d3a4a;
  --text-mid:      #1b6880;
  --text-light:    #4a9ab5;
  --text-pale:     rgba(13,58,74,0.55);
  --font:          'Open Sans', 'Segoe UI', Frutiger, 'Frutiger Linotype', Calibri, sans-serif;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     36px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text-dark);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── BACKGROUND ── */
.pfn-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
.pfn-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%,   #c5edfb 0%, #a8ddf5 30%, #d4f1fd 60%, #edfaff 100%),
    linear-gradient(180deg, #b2e6f8 0%, #cef2fc 40%, #e8f9fe 70%, #f5fdff 100%);
}
.pfn-horizon-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: radial-gradient(ellipse 100% 80% at 50% 110%,
    rgba(0,188,212,0.22) 0%, rgba(129,212,250,0.12) 50%, transparent 80%);
}
.pfn-fog {
  position: absolute; left: -10%; width: 120%; border-radius: 50%;
  filter: blur(40px); opacity: 0.55;
}
.pfn-fog-a {
  height: 180px; bottom: 15%;
  background: radial-gradient(ellipse, rgba(178,235,242,0.7) 0%, transparent 70%);
  animation: fogdrift 18s ease-in-out infinite alternate;
}
.pfn-fog-b {
  height: 120px; bottom: 30%;
  background: radial-gradient(ellipse, rgba(200,245,255,0.5) 0%, transparent 70%);
  animation: fogdrift 24s ease-in-out infinite alternate-reverse;
}
.pfn-fog-c {
  height: 200px; bottom: 5%;
  background: radial-gradient(ellipse, rgba(161,220,235,0.45) 0%, transparent 70%);
  animation: fogdrift 30s ease-in-out infinite alternate;
}
@keyframes fogdrift {
  from { transform: translateX(-8%); }
  to   { transform: translateX(8%); }
}
.pfn-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent 0px, transparent 3px,
    rgba(0,160,200,0.03) 3px, rgba(0,160,200,0.03) 4px
  );
  pointer-events: none;
}
.pfn-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,80,120,0.18) 100%);
}

/* ── LENS ORBS ── */
.pfn-orbs { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.pfn-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,0.75) 0%,
    rgba(180,235,255,0.4) 35%,
    rgba(100,210,240,0.15) 65%,
    transparent 80%);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,0.9),
    inset 2px 0 6px rgba(255,255,255,0.6),
    0 4px 20px rgba(0,180,220,0.2);
  animation: orbfloat linear infinite;
}
.pfn-orb-1  { width:90px;  height:90px;  top:8%;  left:5%;  animation-duration:22s; opacity:.7; }
.pfn-orb-2  { width:55px;  height:55px;  top:20%; left:18%; animation-duration:17s; opacity:.55; animation-delay:-4s; }
.pfn-orb-3  { width:130px; height:130px; top:5%;  left:75%; animation-duration:28s; opacity:.6; animation-delay:-9s; }
.pfn-orb-4  { width:40px;  height:40px;  top:45%; left:88%; animation-duration:13s; opacity:.5; animation-delay:-2s; }
.pfn-orb-5  { width:70px;  height:70px;  top:60%; left:10%; animation-duration:20s; opacity:.65; animation-delay:-7s; }
.pfn-orb-6  { width:100px; height:100px; top:70%; left:60%; animation-duration:25s; opacity:.5; animation-delay:-12s; }
.pfn-orb-7  { width:35px;  height:35px;  top:35%; left:42%; animation-duration:11s; opacity:.45; animation-delay:-5s; }
.pfn-orb-8  { width:160px; height:160px; top:80%; left:35%; animation-duration:35s; opacity:.35; animation-delay:-18s; }
.pfn-orb-9  { width:50px;  height:50px;  top:15%; left:55%; animation-duration:16s; opacity:.6; animation-delay:-3s; }
.pfn-orb-10 { width:75px;  height:75px;  top:50%; left:30%; animation-duration:21s; opacity:.5; animation-delay:-10s; }
@keyframes orbfloat {
  0%   { transform: translateY(0px) translateX(0px) scale(1); }
  25%  { transform: translateY(-18px) translateX(8px) scale(1.03); }
  50%  { transform: translateY(-6px) translateX(16px) scale(0.98); }
  75%  { transform: translateY(-22px) translateX(4px) scale(1.02); }
  100% { transform: translateY(0px) translateX(0px) scale(1); }
}

/* LENS FLARES */
.pfn-lensflare {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(200,240,255,0.4) 40%, transparent 70%);
  filter: blur(2px);
  animation: flarepulse ease-in-out infinite alternate;
}
.pfn-lensflare-a { width:18px; height:18px; top:12%; left:22%; opacity:.8; animation-duration:4s; }
.pfn-lensflare-b { width:10px; height:10px; top:30%; left:70%; opacity:.7; animation-duration:5s; animation-delay:-1s; }
.pfn-lensflare-c { width:24px; height:24px; top:55%; left:80%; opacity:.6; animation-duration:6s; animation-delay:-2s; }
.pfn-lensflare-d { width:14px; height:14px; top:70%; left:15%; opacity:.75; animation-duration:3.5s; animation-delay:-0.5s; }
@keyframes flarepulse {
  from { transform: scale(1); opacity: .5; }
  to   { transform: scale(1.6); opacity: 1; }
}

/* ── METRO TILE WALLPAPER ── */
.pfn-tilewall {
  position: fixed; top: 0; right: 0; z-index: 1;
  width: 120px; height: 100vh;
  display: flex; flex-direction: column; gap: 3px;
  padding: 3px; opacity: 0.28;
  pointer-events: none;
}
.pfn-tilewall-l { left: 0; right: auto; }
.pfn-tw-tile {
  border-radius: 4px; flex-shrink: 0;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.4);
}
.tw-sz-sm { height: 40px; }
.tw-sz-md { height: 68px; }
.tw-sz-lg { height: 108px; }
.tw-teal  { background: linear-gradient(135deg, #00897b, #4db6ac); }
.tw-sky   { background: linear-gradient(135deg, #29b6f6, #81d4fa); }
.tw-cyan  { background: linear-gradient(135deg, #00bcd4, #80deea); }
.tw-mint  { background: linear-gradient(135deg, #26c6da, #80cbc4); }
.tw-aqua  { background: linear-gradient(135deg, #00acc1, #4dd0e1); }
.tw-blue  { background: linear-gradient(135deg, #039be5, #4fc3f7); }
.tw-ice   { background: linear-gradient(135deg, #b3e5fc, #e1f5fe); }
.tw-white { background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(220,245,255,0.8)); }

/* ── TOPBAR ── */
.pfn-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 52px;
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 2px 16px rgba(0,160,200,0.12), 0 1px 0 rgba(255,255,255,0.5) inset;
}
.pfn-topbar-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 24px; padding: 0 24px;
}
.pfn-brand {
  display: flex; align-items: center; gap: 5px;
}
.pfn-brand-orb {
  display: inline-block; border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,150,190,0.3);
}
.pfn-brand-orb-a { width:14px; height:14px; background: radial-gradient(circle at 35% 30%, #81d4fa, #0288d1); }
.pfn-brand-orb-b { width:10px; height:10px; background: radial-gradient(circle at 35% 30%, #80deea, #00acc1); }
.pfn-brand-orb-c { width: 7px; height: 7px;  background: radial-gradient(circle at 35% 30%, #b2ebf2, #26c6da); }
.pfn-brand-name {
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-dark); text-transform: lowercase; margin-left: 4px;
}
.pfn-nav { display: flex; gap: 4px; margin-left: auto; }
.pfn-navlink {
  padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  color: var(--text-mid); letter-spacing: 0.04em;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.pfn-navlink:hover {
  background: rgba(255,255,255,0.6);
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,160,200,0.2);
}
.pfn-topbar-status { display: flex; align-items: center; gap: 7px; margin-left: 16px; }
.pfn-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
  animation: blink 2s ease-in-out infinite;
}
.pfn-status-dot-warn { background: #ffb300; box-shadow: 0 0 8px #ffb300, 0 0 0 2px rgba(255,255,255,0.4); }
.pfn-status-text { font-size: 12px; font-weight: 600; color: var(--text-light); letter-spacing: 0.06em; text-transform: lowercase; }
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}
/* ── MAIN LAYOUT ── */
.pfn-main {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: 100px 24px 180px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "hero  hero"
    "card  panels";
  gap: 28px;
  max-width: 1100px; margin: 0 auto;
  align-items: start;
}

/* ── HERO 404 ── */
.pfn-hero {
  grid-area: hero;
  position: relative;
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.pfn-hero-ghost {
  position: absolute;
  font-size: clamp(160px, 22vw, 300px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0,180,220,0.12);
  user-select: none;
  line-height: 1;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap;
  filter: blur(0.5px);
}
.pfn-hero-rings {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.pfn-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(0,188,212,0.2);
  transform: translate(-50%, -50%);
  animation: ringexpand ease-out infinite;
}
.pfn-ring-1 { width: 80px;  height: 80px;  animation-duration: 3.2s; animation-delay: 0s; }
.pfn-ring-2 { width: 130px; height: 130px; animation-duration: 3.2s; animation-delay: 0.8s; }
.pfn-ring-3 { width: 190px; height: 190px; animation-duration: 3.2s; animation-delay: 1.6s; }
.pfn-ring-4 { width: 260px; height: 260px; animation-duration: 3.2s; animation-delay: 2.4s; }
@keyframes ringexpand {
  0%   { opacity: 0.7; transform: translate(-50%,-50%) scale(0.8); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.3); }
}
.pfn-hero-lens {
  position: absolute; width: 110px; height: 110px;
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 38% 32%,
    rgba(255,255,255,0.85) 0%,
    rgba(180,235,255,0.45) 30%,
    rgba(100,210,240,0.15) 60%,
    transparent 80%);
  box-shadow:
    inset 0 3px 12px rgba(255,255,255,0.95),
    inset 3px 0  8px  rgba(255,255,255,0.7),
    0 6px 30px rgba(0,188,212,0.25),
    0 2px 8px  rgba(0,150,200,0.2);
  animation: lenspulse 6s ease-in-out infinite alternate;
}
@keyframes lenspulse {
  from { transform: translate(-50%,-50%) scale(1);   box-shadow: inset 0 3px 12px rgba(255,255,255,.95), 0 6px 30px rgba(0,188,212,.25); }
  to   { transform: translate(-50%,-50%) scale(1.08); box-shadow: inset 0 3px 16px rgba(255,255,255,.99), 0 8px 40px rgba(0,188,212,.4); }
}
.pfn-hero-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  animation: shimmerslide 4s ease-in-out infinite;
  border-radius: 50%; pointer-events: none;
}
@keyframes shimmerslide {
  0%   { background-position: -200% center; opacity: 0; }
  40%  { opacity: 1; }
  100% { background-position: 200% center; opacity: 0; }
}
.pfn-digits {
  position: relative; z-index: 2;
  display: flex; gap: 4px; align-items: baseline;
  filter: drop-shadow(0 4px 24px rgba(0,160,210,0.35));
}
.pfn-d {
  font-size: clamp(100px, 14vw, 180px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-block;
}
.pfn-d-4a {
  background: linear-gradient(160deg, #29b6f6 0%, #0288d1 45%, #006994 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(2,136,209,0.4));
}
.pfn-d-0 {
  background: linear-gradient(160deg, #4dd0e1 0%, #00acc1 45%, #007c91 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0,172,193,0.4));
}
.pfn-d-4b {
  background: linear-gradient(160deg, #4db6ac 0%, #00897b 45%, #00574b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0,137,123,0.4));
}

/* ── GLASS UTILITY ── */
.pfn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px var(--glass-shadow),
    0 2px 0 rgba(255,255,255,0.8) inset,
    0 -1px 0 rgba(0,160,200,0.08) inset;
  overflow: hidden;
  position: relative;
}

/* ── MAIN CARD ── */
.pfn-card-main {
  grid-area: card;
  min-width: 0;
}
.pfn-card-stripe-top {
  height: 4px;
  background: linear-gradient(90deg,
    #00897b 0%, #00bcd4 20%, #29b6f6 40%, #039be5 55%, #26c6da 70%, #4db6ac 85%, #b3e5fc 100%);
  box-shadow: 0 2px 8px rgba(0,188,212,0.4);
}
.pfn-card-stripe-bot {
  height: 2px;
  background: linear-gradient(90deg,
    #b3e5fc 0%, #4db6ac 20%, #26c6da 40%, #039be5 60%, #29b6f6 80%, #00bcd4 100%);
  opacity: 0.5;
}
.pfn-glass-sheen {
  position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 100%);
  pointer-events: none; z-index: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pfn-card-body {
  padding: 36px 40px 32px; position: relative; z-index: 1;
}
.pfn-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
  background: rgba(0,188,212,0.1);
  border: 1px solid rgba(0,188,212,0.25);
}
.pfn-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #ff5252, #d32f2f);
  box-shadow: 0 0 6px rgba(255,82,82,0.6);
  animation: blink 1.8s ease-in-out infinite;
}
.pfn-badge-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-mid); text-transform: uppercase;
}
.pfn-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--text-dark);
  margin-bottom: 12px;
}
.pfn-subtitle {
  font-size: 16px; font-weight: 300; line-height: 1.6;
  color: var(--text-mid); margin-bottom: 24px;
}
.pfn-rule {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.pfn-rule-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,188,212,0.35), transparent);
}
.pfn-rule-orb {
  width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #81d4fa, #0288d1);
  box-shadow: 0 0 6px rgba(2,136,209,0.5);
}
.pfn-body-text {
  font-size: 14px; font-weight: 400; line-height: 1.75;
  color: var(--text-mid); margin-bottom: 32px;
}
.pfn-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pfn-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 28px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.03em;
  transition: all 0.22s ease; cursor: pointer;
}
.pfn-btn-primary {
  background: linear-gradient(135deg, #29b6f6 0%, #0288d1 50%, #01579b 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(2,136,209,0.4), 0 1px 0 rgba(255,255,255,0.3) inset;
  border: 1px solid rgba(255,255,255,0.3);
}
.pfn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2,136,209,0.5), 0 1px 0 rgba(255,255,255,0.3) inset;
}
.pfn-btn-ghost {
  background: rgba(255,255,255,0.4);
  color: var(--text-mid);
  border: 1.5px solid rgba(0,188,212,0.35);
  box-shadow: 0 2px 8px rgba(0,160,200,0.1);
}
.pfn-btn-ghost:hover {
  background: rgba(255,255,255,0.65);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,160,200,0.2);
}
.pfn-btn-arrow { font-size: 16px; }

/* MINI TILE ROW in card */
.pfn-card-tiles {
  display: flex; gap: 5px; padding-top: 8px;
  border-top: 1px solid rgba(0,188,212,0.12);
}
.pfn-ct {
  flex: 1; height: 10px; border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.pfn-ct-teal  { background: linear-gradient(90deg, #00897b, #4db6ac); }
.pfn-ct-sky   { background: linear-gradient(90deg, #29b6f6, #81d4fa); }
.pfn-ct-cyan  { background: linear-gradient(90deg, #00bcd4, #80deea); }
.pfn-ct-mint  { background: linear-gradient(90deg, #26c6da, #80cbc4); }
.pfn-ct-aqua  { background: linear-gradient(90deg, #00acc1, #4dd0e1); }
.pfn-ct-blue  { background: linear-gradient(90deg, #039be5, #4fc3f7); }
.pfn-ct-ice   { background: linear-gradient(90deg, #b3e5fc, #e1f5fe); }
.pfn-ct-white { background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(220,245,255,0.8)); border: 1px solid rgba(0,188,212,0.15); }
/* ── SIDE PANELS ── */
.pfn-panels {
  grid-area: panels;
  display: flex; flex-direction: column; gap: 16px;
  width: 240px; flex-shrink: 0;
}
.pfn-panel { padding: 20px; }
.pfn-panel-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.pfn-panel-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-light);
}

/* RADAR */
.pfn-radar {
  position: relative; width: 36px; height: 36px; flex-shrink: 0;
}
.pfn-radar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,188,212,0.4); top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.pfn-radar-ring-out { width: 34px; height: 34px; }
.pfn-radar-ring-in  { width: 20px; height: 20px; border-color: rgba(0,188,212,0.25); }
.pfn-radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0,188,212,0.5) 0deg, transparent 60deg, transparent 360deg);
  animation: radarspin 3s linear infinite;
}
@keyframes radarspin { to { transform: rotate(360deg); } }
.pfn-radar-pip {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #00e5ff; box-shadow: 0 0 6px #00e5ff;
  top: 30%; left: 60%;
  animation: pippulse 3s ease-in-out infinite;
}
@keyframes pippulse { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ROWS */
.pfn-rows { display: flex; flex-direction: column; gap: 8px; }
.pfn-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,188,212,0.1);
}
.pfn-row:last-child { border-bottom: none; }
.pfn-row-k { font-size: 11px; font-weight: 600; color: var(--text-light); letter-spacing: 0.06em; text-transform: lowercase; }
.pfn-row-v { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 10px; }
.pfn-v-err  { color: #d32f2f; background: rgba(211,47,47,0.1);  border: 1px solid rgba(211,47,47,0.2); }
.pfn-v-warn { color: #e65100; background: rgba(230,81,0,0.1);   border: 1px solid rgba(230,81,0,0.2); }
.pfn-v-ok   { color: #00695c; background: rgba(0,105,92,0.1);   border: 1px solid rgba(0,105,92,0.2); }

/* WEATHER */
.pfn-panel-weather { text-align: center; }
.pfn-weather-scene {
  position: relative; height: 72px; margin-bottom: 8px;
}
.pfn-sun {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
}
.pfn-sun-halo {
  position: absolute; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.pfn-sun-halo-out {
  width: 48px; height: 48px;
  background: radial-gradient(circle, rgba(255,236,170,0.4) 0%, transparent 70%);
  animation: sunpulse 4s ease-in-out infinite alternate;
}
.pfn-sun-halo-mid {
  width: 32px; height: 32px;
  background: radial-gradient(circle, rgba(255,220,100,0.55) 0%, transparent 70%);
}
.pfn-sun-core {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #fff9c4, #ffd54f, #ffb300);
  box-shadow: 0 0 12px rgba(255,180,0,0.5), 0 0 24px rgba(255,200,0,0.25);
}
@keyframes sunpulse {
  from { transform: translate(-50%,-50%) scale(1); }
  to   { transform: translate(-50%,-50%) scale(1.2); }
}
.pfn-cloud {
  position: absolute; border-radius: 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.9) inset;
}
.pfn-cloud-a { width:80px; height:22px; bottom:10px; left:20%; animation: clouddrift 12s ease-in-out infinite alternate; }
.pfn-cloud-b { width:60px; height:17px; bottom:18px; left:38%; animation: clouddrift 16s ease-in-out infinite alternate-reverse; opacity:.85; }
.pfn-cloud-c { width:45px; height:13px; bottom:28px; right:12%; animation: clouddrift 10s ease-in-out infinite alternate; opacity:.7; }
@keyframes clouddrift {
  from { transform: translateX(-6px); }
  to   { transform: translateX(6px); }
}
.pfn-weather-readout { margin: 4px 0 2px; }
.pfn-weather-temp { font-size: 32px; font-weight: 300; color: var(--text-dark); letter-spacing: -0.02em; }
.pfn-weather-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); }
.pfn-weather-cond { font-size: 12px; color: var(--text-mid); margin: 4px 0 10px; font-weight: 300; }
.pfn-weather-bar { height: 4px; background: rgba(0,188,212,0.12); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.pfn-weather-bar-fill {
  height: 100%; width: 28%;
  background: linear-gradient(90deg, #00acc1, #80deea);
  border-radius: 2px;
  animation: barpulse 3s ease-in-out infinite alternate;
}
@keyframes barpulse { from { width: 22%; } to { width: 38%; } }
.pfn-weather-note { font-size: 10px; color: var(--text-pale); font-style: italic; }

/* SIGNAL BARS */
.pfn-panel-bars .pfn-panel-title { display: block; margin-bottom: 14px; }
.pfn-sigbars { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-bottom: 8px; }
.pfn-sb {
  flex: 1; border-radius: 3px 3px 0 0;
  background: rgba(0,188,212,0.15);
  border: 1px solid rgba(0,188,212,0.2);
}
.pfn-sb-1 { height: 30%; }
.pfn-sb-2 { height: 50%; }
.pfn-sb-3 { height: 65%; }
.pfn-sb-4 { height: 80%; }
.pfn-sb-5 { height: 100%; }
.pfn-sb-on {
  background: linear-gradient(180deg, #80deea 0%, #00acc1 100%);
  border-color: rgba(0,172,193,0.4);
  box-shadow: 0 0 8px rgba(0,172,193,0.35);
}
.pfn-sig-label { font-size: 10px; color: var(--text-pale); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.04em; }
.pfn-waveform { margin-bottom: 10px; }
.pfn-waveform svg { width: 100%; height: 36px; }
.pfn-waveline {
  fill: none;
  stroke: url(#waveGrad);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: rgba(0,188,212,0.6);
  animation: waveanim 2s ease-in-out infinite alternate;
}
@keyframes waveanim {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}
.pfn-coords {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--text-pale); font-family: 'Courier New', monospace;
  letter-spacing: 0.04em;
}

/* CLOCK */
.pfn-panel-clock { text-align: center; }
.pfn-clockface {
  position: relative; width: 120px; height: 120px;
  margin: 0 auto 10px;
}
.pfn-clock-ring {
  position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.pfn-clock-ring-out {
  width: 120px; height: 120px;
  background: radial-gradient(circle at 35% 30%,
    rgba(255,255,255,0.7) 0%, rgba(200,240,255,0.35) 40%, rgba(100,210,240,0.15) 70%, transparent 90%);
  border: 1.5px solid rgba(255,255,255,0.75);
  box-shadow:
    0 4px 20px rgba(0,180,220,0.2),
    inset 0 2px 8px rgba(255,255,255,0.8),
    inset 0 -1px 4px rgba(0,160,200,0.1);
}
.pfn-clock-ring-in {
  width: 100px; height: 100px;
  border: 1px solid rgba(0,188,212,0.2);
}
.pfn-clock-tick {
  position: absolute; width: 3px; height: 8px; border-radius: 2px;
  background: rgba(0,160,200,0.5); top: 50%; left: 50%;
}
.pfn-ct-12 { transform: translate(-50%,-50%) translateY(-46px) rotate(0deg); }
.pfn-ct-3  { transform: translate(-50%,-50%) translateX(46px) rotate(90deg); }
.pfn-ct-6  { transform: translate(-50%,-50%) translateY(46px) rotate(180deg); }
.pfn-ct-9  { transform: translate(-50%,-50%) translateX(-46px) rotate(270deg); }
.pfn-hand {
  position: absolute; bottom: 50%; left: 50%;
  transform-origin: bottom center;
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%);
}
.pfn-hand-h {
  width: 4px; height: 30px;
  background: linear-gradient(180deg, #0288d1, #01579b);
  box-shadow: 0 0 6px rgba(2,136,209,0.5);
}
.pfn-hand-m {
  width: 3px; height: 40px;
  background: linear-gradient(180deg, #00acc1, #006064);
  box-shadow: 0 0 5px rgba(0,172,193,0.4);
}
.pfn-hand-s {
  width: 1.5px; height: 46px;
  background: linear-gradient(180deg, #ff5252, #c62828);
  box-shadow: 0 0 4px rgba(255,82,82,0.6);
}
.pfn-clock-center {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 10;
  background: radial-gradient(circle at 35% 30%, #e1f5fe, #0288d1);
  box-shadow: 0 0 8px rgba(2,136,209,0.6), 0 1px 3px rgba(255,255,255,0.8) inset;
}
.pfn-clock-lens {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.pfn-clock-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-light);
}

/* ── METRO TILE BAND ── */
.pfn-tileband {
  position: relative; z-index: 10;
  display: flex; height: 52px; gap: 3px; overflow: hidden;
  padding: 3px 3px 0;
  box-shadow: 0 -2px 12px rgba(0,100,160,0.1);
}
.pfn-tb {
  flex: 1; border-radius: 4px 4px 0 0; height: 100%;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.4), inset 0 -1px 3px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.pfn-tb:hover { transform: translateY(-4px); }

/* ── FOOTER ── */
.pfn-footer {
  position: relative; z-index: 10;
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 -2px 16px rgba(0,140,180,0.1);
}
.pfn-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.pfn-footer-l { display: flex; align-items: center; gap: 10px; }
.pfn-footer-code { font-size: 18px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.02em; }
.pfn-footer-sep  { color: var(--text-pale); font-size: 16px; }
.pfn-footer-msg  { font-size: 12px; font-weight: 600; color: var(--text-light); letter-spacing: 0.06em; text-transform: lowercase; }
.pfn-footer-c { display: flex; gap: 6px; align-items: center; }
.pfn-fd {
  width: 8px; height: 8px; border-radius: 50%;
  animation: footdotpulse ease-in-out infinite alternate;
}
.pfn-fd-1 { background: #00897b; animation-duration: 1.2s; animation-delay: 0s; }
.pfn-fd-2 { background: #00bcd4; animation-duration: 1.2s; animation-delay: 0.24s; }
.pfn-fd-3 { background: #29b6f6; animation-duration: 1.2s; animation-delay: 0.48s; }
.pfn-fd-4 { background: #039be5; animation-duration: 1.2s; animation-delay: 0.72s; }
.pfn-fd-5 { background: #4db6ac; animation-duration: 1.2s; animation-delay: 0.96s; }
@keyframes footdotpulse {
  from { opacity: 0.3; transform: scale(0.8); }
  to   { opacity: 1;   transform: scale(1.2); }
}
.pfn-footer-r { display: flex; align-items: center; }
.pfn-footer-home {
  font-size: 13px; font-weight: 700; color: var(--text-mid); letter-spacing: 0.04em;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.4); border: 1px solid rgba(0,188,212,0.25);
  transition: all 0.2s;
}
.pfn-footer-home:hover {
  background: rgba(255,255,255,0.7); color: var(--text-dark);
  box-shadow: 0 2px 10px rgba(0,160,200,0.2); transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .pfn-main {
    grid-template-columns: 1fr;
    grid-template-areas: "hero" "card" "panels";
  }
  .pfn-panels { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .pfn-panel  { flex: 1 1 200px; }
  .pfn-tilewall, .pfn-tilewall-l { display: none; }
}
@media (max-width: 520px) {
  .pfn-main { padding: 80px 14px 160px; }
  .pfn-card-body { padding: 24px 20px 20px; }
  .pfn-hero { height: 160px; }
  .pfn-topbar-inner { gap: 12px; padding: 0 14px; }
  .pfn-nav { gap: 2px; }
  .pfn-navlink { padding: 4px 10px; font-size: 12px; }
}