/* Euro Zonar – glas-design (samme familie som Android-appen) */
:root {
  --bg: #0A1420;
  --bg-deep: #07111C;
  --ink: #E7EDF4;
  --ink-soft: #C9D3DE;
  --muted: #9AA6B0;
  --muted-2: #8B98A8;
  --lime: #C8FF3D;
  --lime-ink: #0B1116;
  --up: #3DDC84;
  --down: #FF5C7A;
  --warn: #FFB547;
  --link: #7DB7FF;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.16);
  --glass: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  --glass-flat: rgba(255,255,255,.05);
  --glass-border: 1px solid rgba(255,255,255,.14);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 30px rgba(0,0,0,.25);
  --glass-shadow-hover: inset 0 1px 0 rgba(255,255,255,.24), 0 18px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 640px at 92% -4%, rgba(60,110,170,.45), transparent 70%),
    radial-gradient(760px 720px at -8% 42%, rgba(25,160,140,.22), transparent 70%),
    radial-gradient(900px 700px at 96% 88%, rgba(90,80,170,.28), transparent 70%),
    radial-gradient(620px 460px at 18% 102%, rgba(200,240,80,.08), transparent 70%),
    linear-gradient(180deg, #0B1726 0%, #0A1220 55%, #07111C 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #A9CFFF; }
img { max-width: 100%; display: block; }
button { font: inherit; }
::selection { background: rgba(200,255,61,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--lime); color: var(--lime-ink); padding: .5rem 1rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Top bar */
.topbar {
  background: rgba(5,12,20,.72);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .45rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.topbar strong { color: var(--ink-soft); font-weight: 600; }
.topbar #updated-at { font-family: var(--mono); font-size: 11.5px; }
.topbar .live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3DDC84;
  margin-right: .45rem;
  box-shadow: 0 0 0 3px rgba(61,220,132,.18), 0 0 10px rgba(61,220,132,.6);
  vertical-align: 1px;
}
.topbar a { color: var(--ink-soft); text-decoration: none; }
.topbar a:hover { color: var(--lime); }

/* Header */
.site-header {
  background: linear-gradient(180deg, rgba(18,30,44,.55), rgba(14,24,36,.35));
  border-bottom: 1px solid rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .8rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 40px; height: 40px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 18px rgba(25,211,138,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #F2F6FA;
}
.brand-name span { color: var(--lime); }
.brand-tag {
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted-2);
  font-weight: 600;
  margin-top: .2rem;
}
.nav {
  display: flex;
  gap: .3rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 600;
  padding: .45rem .85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.nav a:hover, .nav a.on {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
.apk-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--lime);
  color: var(--lime-ink) !important;
  text-decoration: none !important;
  font-size: .82rem;
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(200,255,61,.5), 0 6px 22px rgba(200,255,61,.25);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.apk-btn:hover {
  background: #D7FF6A;
  color: var(--lime-ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(200,255,61,.6), 0 10px 28px rgba(200,255,61,.35);
}

/* Intro */
.intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem .25rem;
}
.intro .intro-title,
.intro h1.intro-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 0 0 .35rem;
  color: #F2F6FA;
}
.intro .intro-title em,
.intro h1.intro-title em { font-style: normal; color: var(--lime); }
.intro p:not(.intro-title) {
  /* body lead under H1 */ margin: 0; color: var(--muted); font-size: 1rem; }

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.25rem 0 .9rem;
  padding-bottom: 0;
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.section-head .meta {
  font-size: .78rem;
  color: var(--muted-2);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* Filters */
.filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .25rem 0 1.25rem;
}
.chip {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: var(--ink);
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.chip.on {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(200,255,61,.28);
}

/* Glass surfaces */
.hero, .card, .ez-chart {
  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(200,255,61,.06), rgba(255,255,255,.03) 45%, rgba(90,80,170,.10)),
    var(--glass);
  border-color: rgba(200,255,61,.18);
  transition: border-color .2s, box-shadow .2s;
}
.hero:hover { border-color: rgba(200,255,61,.32); box-shadow: var(--glass-shadow-hover); }
.hero.no-media { grid-template-columns: 1fr; }
.hero.no-media .hero-body { padding: 1.6rem 1.7rem 1.7rem; }
.hero-media {
  position: relative;
  min-height: 300px;
  background: linear-gradient(145deg, #16314F, #0A1420 70%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}
.hero-media .credit {
  position: absolute;
  left: .6rem; right: .6rem; bottom: .55rem;
  font-size: .68rem;
  color: rgba(255,255,255,.88);
  background: rgba(7,17,28,.55);
  padding: .25rem .5rem;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-body { padding: 1.6rem 1.6rem 1.6rem 0; display: flex; flex-direction: column; }
.hero a.story-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.hero a.story-link:hover .title { color: #fff; }
.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: .6rem;
}
.cat {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
}
.time {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.18;
  margin: 0 0 .7rem;
  color: #F2F6FA;
}
.hero .title { font-size: clamp(1.6rem, 2.7vw, 2.25rem); line-height: 1.12; }
.lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
.hero .more {
  margin-top: auto;
  align-self: flex-start;
  font-size: .86rem;
  font-weight: 700;
  color: var(--lime);
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(200,255,61,.35);
  background: rgba(200,255,61,.08);
  transition: background .15s;
}
.hero a.story-link:hover .more { background: rgba(200,255,61,.16); }

/* Labels */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .24rem .5rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  line-height: 1;
}
.badge.press { color: #9CC8FF; background: rgba(125,183,255,.12); border-color: rgba(125,183,255,.35); }
.badge.comp  { color: #6FE3CF; background: rgba(25,160,140,.16); border-color: rgba(111,227,207,.35); }
.badge.afd   { color: #FFB08A; background: rgba(255,140,90,.13); border-color: rgba(255,176,138,.35); }
.badge.fakt  { color: #C3B6FF; background: rgba(130,110,255,.16); border-color: rgba(195,182,255,.35); }
.badge.high  { color: var(--warn); background: rgba(255,181,71,.12); border-color: rgba(255,181,71,.38); }
.badge.high::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--warn); margin-right: .35rem; box-shadow: 0 0 6px rgba(255,181,71,.7);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card:hover {
  border-color: rgba(200,255,61,.35);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-3px);
}
.card a.story-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-media {
  aspect-ratio: 16/10;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60,110,170,.55), transparent 60%),
    radial-gradient(90% 80% at 10% 90%, rgba(25,160,140,.35), transparent 60%),
    #0E1C2C;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card .kicker { margin-bottom: .1rem; }
.card .title { font-size: 1.12rem; margin: 0; }
.card .lead {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .foot {
  margin-top: auto;
  padding-top: .6rem;
  font-size: .74rem;
  color: var(--muted-2);
}

/* List */
.list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
.list:empty { display: none; }
.list-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1.1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .15s;
}
.list-item.no-thumb { grid-template-columns: 1fr; }
.list-item:last-child { border-bottom: 0; }
.list-item:hover { background: rgba(255,255,255,.05); }
.list-item:hover .title { color: #fff; }
.list-item a.story-link { text-decoration: none; color: inherit; display: contents; }
.list-thumb {
  width: 112px; height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60,110,170,.55), transparent 60%),
    #0E1C2C;
  border: 1px solid rgba(255,255,255,.08);
  flex: none;
}
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item .title { font-size: 1.05rem; margin: .1rem 0 .3rem; }
.list-item .lead { font-size: .9rem; margin: 0; color: var(--muted); -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* Article page */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.article-back {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}
.article-back:hover { color: #fff; background: rgba(255,255,255,.12); }
.article-kicker { margin-bottom: .8rem; }
.article-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .9rem;
  color: #F4F7FA;
}
.article-lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 1.35rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-size: .82rem;
  color: var(--muted-2);
  font-family: var(--mono);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  margin-bottom: 1.5rem;
}
.article-hero {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  background: rgba(255,255,255,.04);
}
.article-hero img { width: 100%; max-height: 440px; object-fit: cover; }
.article-hero figcaption {
  font-size: .75rem;
  color: var(--muted);
  padding: .6rem .85rem;
  background: rgba(7,17,28,.55);
  border-top: 1px solid rgba(255,255,255,.08);
}
.points {
  background: linear-gradient(160deg, rgba(200,255,61,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  padding: 1.05rem 1.2rem 1.05rem 1.25rem;
  margin: 0 0 1.6rem;
}
.points h2, .why-box h2, .next-box h2, .sources h2 {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.points h2 { color: var(--lime); }
.points ul { margin: 0; padding-left: 1.1rem; color: var(--ink); }
.points li { margin: .4rem 0; }
.points li::marker { color: var(--lime); }
.body-text {
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1.68;
  color: #DCE4EC;
  white-space: pre-wrap;
}
.body-text p { margin: 0 0 1rem; }
.why-box, .next-box {
  margin: 1.6rem 0;
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.why-box p, .next-box p { margin: 0; color: var(--ink); line-height: 1.6; }
.why-box {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--lime);
}
.why-box h2 { color: var(--lime); }
.next-box {
  background: rgba(125,183,255,.06);
  border: 1px dashed rgba(125,183,255,.35);
}
.next-box h2 { color: var(--link); }
.sources { margin: 1.9rem 0 0; }
.sources h2 { border-bottom: 1px solid var(--line); padding-bottom: .45rem; }
.sources ul { margin: 0; padding-left: 1.1rem; }
.sources li { margin: .4rem 0; font-size: .92rem; color: var(--muted); }

.stocks {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.35rem;
}
.stock-chip {
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.14);
}

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(7,17,28,.6), rgba(5,12,20,.92));
  color: var(--muted);
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,255,61,.7), rgba(25,211,138,.5), transparent);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-brand { display: flex; gap: .75rem; align-items: flex-start; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-brand strong { color: #F2F6FA; }
.footer-brand > div > strong:first-child {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.footer-brand p { margin: .35rem 0 0; font-size: .86rem; line-height: 1.5; max-width: 36ch; }
.site-footer h3 {
  margin: 0 0 .65rem;
  font-family: var(--display);
  color: var(--muted-2);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.site-footer li { margin: .4rem 0; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-note {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
  font-size: .78rem;
  color: var(--muted-2);
  line-height: 1.55;
}

/* States */
.status, .error, .empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}
.error { color: var(--down); }
.error a { color: var(--link); }
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.10), rgba(255,255,255,.04));
  background-size: 200% 100%;
  animation: shine 1.4s ease-in-out infinite;
  border-radius: 10px;
  min-height: 1rem;
}
@keyframes shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
  .card, .card-media img, .apk-btn { transition: none; }
  .card:hover { transform: none; }
}

/* Charts */
.ez-chart {
  margin: 1.4rem 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
}
.ez-chart h2 {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #F2F6FA;
}
.ez-chart table { width: 100%; border-collapse: collapse; }
.ez-chart th, .ez-chart td {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
  vertical-align: top;
  color: var(--ink);
}
.ez-chart tr:last-child th, .ez-chart tr:last-child td { border-bottom: 0; }
.ez-chart th { font-weight: 550; padding-right: 1rem; }
.ez-chart .chart-val {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.ez-chart .chart-val.up { color: var(--up); }
.ez-chart .chart-val.down { color: var(--down); }
.ez-chart .chart-src {
  text-align: right;
  color: var(--muted-2);
  font-size: .8rem;
  padding-left: .75rem;
  white-space: nowrap;
}
.ez-chart .chart-note {
  margin: .65rem 0 0;
  color: var(--muted-2);
  font-size: .82rem;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-media, .hero-media img { min-height: 220px; }
  .hero-body { padding: 1.2rem 1.25rem 1.35rem; }
  .grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav { display: none; }
  .apk-btn { margin-left: auto; }
  body { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .list-item { grid-template-columns: 84px 1fr; gap: .8rem; padding: .9rem; }
  .list-item.no-thumb { grid-template-columns: 1fr; }
  .list-thumb { width: 84px; height: 64px; }
  .header-inner { padding: .7rem 1rem; }
  .brand-tag { display: none; }
  .apk-btn span.hide-sm { display: none; }
  .intro { padding-top: 1.4rem; }
}
.footer-brand strong span { color: var(--lime); }

/* —— Værktøjer (forside) —— */
.tools-section { margin: 1.75rem 0 0.5rem; }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.75rem 0 0;
}
.tool-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tool-card:hover {
  border-color: rgba(200,255,61,.28);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-1px);
  color: inherit;
}
.tool-card h3 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #F2F6FA;
}
.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.tool-card .tool-go {
  display: inline-block;
  margin-top: .7rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--lime);
}

/* —— Mobilmenu —— */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--ink);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(7,17,28,.92);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: .85rem 1.25rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover,
.mobile-nav a.on { color: var(--lime); background: rgba(255,255,255,.04); }
.mobile-nav .apk-btn {
  margin: .9rem 1.25rem 1.1rem;
  display: inline-flex;
  width: calc(100% - 2.5rem);
  justify-content: center;
}

/* —— Tool pages —— */
.tool-wrap { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.tool-wrap > h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: .35rem 0 .4rem;
  letter-spacing: -.02em;
  color: #F2F6FA;
}
.tool-wrap > .lead { color: var(--ink-soft); max-width: 60ch; margin: 0 0 1rem; }
.tool-wrap .card {
  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.1rem 0;
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}
.tool-wrap .card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 .8rem;
  color: #F2F6FA;
}
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.pill {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
}
.pill[aria-pressed="true"] {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .8rem;
  margin: 1rem 0;
}
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  background: rgba(255,255,255,.03);
}
.metric b {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--lime);
}
.metric small { color: var(--muted); }
.tool-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tool-wrap th, .tool-wrap td {
  padding: .5rem .4rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.tool-wrap th {
  color: var(--muted);
  font-weight: 500;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tool-wrap td.num, .tool-wrap th.num {
  text-align: right;
  font-family: var(--mono);
}
.bar {
  display: grid;
  grid-template-columns: 150px 1fr 70px;
  gap: .6rem;
  align-items: center;
  margin: .35rem 0;
  font-size: .92rem;
}
.bar .track {
  height: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  overflow: hidden;
}
.bar .fill { height: 100%; background: var(--lime); border-radius: 6px; }
.bar .fill.n { background: #FF5C7A; }
.bar .fill.p { background: #7AA2C8; }
.bar .v { text-align: right; font-family: var(--mono); color: var(--ink-soft); }
.tool-rot .bar { grid-template-columns: 200px 1fr 80px; }
.inrow { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0; }
.tool-wrap input[type=text] {
  flex: 1 1 240px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: var(--ink);
  padding: .6rem .8rem;
  font: inherit;
}
button.btn {
  background: var(--lime);
  color: var(--lime-ink);
  border: 0;
  border-radius: 10px;
  padding: .6rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button.btn.q { background: rgba(255,255,255,.08); color: var(--ink); }
.muted { color: var(--muted); font-size: .9rem; }
.note {
  border-left: 3px solid var(--lime);
  padding: .2rem 0 .2rem .9rem;
  color: var(--ink-soft);
}
.tblwrap { overflow-x: auto; }
td.dim { color: var(--muted); }
td.t { white-space: nowrap; font-family: var(--mono); }
.neg { color: #FF5C7A; }
.pos { color: #3DDC84; }

@media (max-width: 900px) {
  .tools-grid { grid-template-columns: 1fr; }
  .nav { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .apk-btn.header-apk { display: none; }
}
@media (max-width: 560px) {
  .bar { grid-template-columns: 110px 1fr 60px; }
  .tool-rot .bar { grid-template-columns: 130px 1fr 64px; }
}

/* —— Visuel pass 2: tool cards, mobile overlay, callouts —— */
.tool-card {
  min-height: 110px;
  padding: 1rem 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tool-kicker {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.tool-card h3 { margin: 0 0 .3rem; }
.tool-live {
  margin: 0;
  color: var(--ink-soft) !important;
  font-family: var(--mono);
  font-size: .88rem !important;
  line-height: 1.35 !important;
}
.tool-go { margin-top: .55rem; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 45;
}
.nav-overlay.open { display: block; }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  z-index: 50;
  border-top: 0;
  border-left: 1px solid rgba(255,255,255,.10);
  background: rgba(7,17,28,.96);
  padding-bottom: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .2s ease;
}
.mobile-nav.open {
  display: block;
  transform: translateX(0);
}
.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--display);
  font-weight: 700;
  color: #F2F6FA;
}
.nav-close {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: .2rem .45rem;
}
html.nav-open { overflow: hidden; }

.breadcrumbs {
  font-size: .86rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime); }

.glass-callout {
  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.1rem 0;
  color: var(--ink-soft);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}
.glass-callout strong { color: var(--lime); font-weight: 700; }

.crawl-summary {
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0 0 1rem;
  max-width: 70ch;
}

.tool-wrap .chips.pills .chip,
.tool-wrap .chip {
  /* reuse site chips */
}
.tool-wrap button.chip {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: var(--ink);
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
}
.tool-wrap button.chip.on,
.tool-wrap button.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(200,255,61,.28);
}

.tool-wrap td, .tool-wrap th { color: var(--ink); }
.tool-wrap td.dim { color: var(--muted); }

.ev-cards { display: none; }
.ev-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  margin: .6rem 0;
}
.ev-top { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .7rem; }
.ev-top .t { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.ev-figs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  text-align: center;
}
.ev-figs small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.ev-figs b { font-family: var(--mono); font-size: .95rem; color: var(--ink); }

.other-tools ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.other-tools li { margin: .4rem 0; }

/* Rotation bar zero-line hint */
.tool-rot .bar .track { position: relative; }
.tool-rot .bar .fill { background: var(--up); }
.tool-rot .bar .fill.n { background: var(--down); }
.tool-rot .bar .fill.p {
  background: rgba(255,255,255,.22);
  box-shadow: inset 0 0 0 1.5px var(--lime);
}

@media (max-width: 700px) {
  .tool-wrap .tblwrap { display: none; }
  .ev-cards { display: block !important; }
  .ev-cards[hidden] { display: block !important; }
}
@media (max-width: 390px) {
  .tool-rot .bar { grid-template-columns: 1fr; gap: .25rem; }
  .tool-rot .bar .v { text-align: left; }
  .ev-figs { grid-template-columns: 1fr; text-align: left; }
}

.tool-period{font-family:var(--display);font-size:1.05rem;color:var(--ink-soft);margin:0 0 .5rem;}

/* —— Analyse: Metaller, Insider handler, Fonde —— */
.tool-az .mgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem;margin:1rem 0}
.tool-az .mcard{background:var(--glass);border:var(--glass-border);box-shadow:var(--glass-shadow);border-radius:var(--radius);padding:.9rem 1rem;-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%)}
.tool-az .mcard .k{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.tool-az .mcard b{display:block;font-family:var(--mono);font-size:1.35rem;color:#F2F6FA;margin:.2rem 0}
.tool-az .mcard small{display:block;color:var(--muted);font-size:.8rem}
.tool-az select{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:10px;color:var(--ink);padding:.5rem .7rem;font:inherit}
.tool-az select option{background:#0A1420;color:#F2F6FA}
.tool-az .chart svg{width:100%;height:auto;display:block}
.tool-az td a{color:#7DB7FF}
.tool-az details summary{cursor:pointer;color:var(--ink-soft);font-weight:600}
.tool-az .tblwrap{display:block !important;overflow-x:auto;-webkit-overflow-scrolling:touch}
.tool-az .tblwrap table{min-width:560px}
@media (min-width:901px){.nav{gap:.15rem}.nav a{padding:.42rem .62rem;font-size:.85rem}}
