/* NettVenn – moderne Nettby-retro */
:root {
  --nv-blue: #0878bf;
  --nv-dark: #07518c;
  --nv-border: #a8d5ed;
  --nv-bg: #dff3fb;
}

body {
  background: linear-gradient(180deg, #c3edfc, #eaf8fd) !important;
  color: #183e61;
  font-family: Arial, Helvetica, sans-serif;
}

.wrap {
  max-width: 1500px;
  margin: 22px auto;
}

.banner {
  background: linear-gradient(180deg, #54d0f7 0%, #1594d9 45%, #075493 100%);
  border: 1px solid #4caddd;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 3px 12px #07518c25;
  padding: 20px;
}

.brand {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 1px #07518c70;
}

.tagline {
  font-style: italic;
  margin-top: 5px;
}

.nav {
  background: linear-gradient(#31b4ec, #0879c2 55%, #07518c);
  border: 1px solid #07518c;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 3px 8px #07518c20;
  gap: 2px;
}

.nav a {
  padding: 13px 9px;
  border-right: 1px solid #ffffff40;
  text-decoration: none;
  transition: background .15s ease;
}

.nav a:hover {
  background: #54c6f0;
}

.columns {
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.panel {
  border: 1px solid var(--nv-border);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 3px 9px #174d6d18;
  overflow: hidden;
  margin-bottom: 14px;
}

.panel-title {
  background: linear-gradient(180deg, #55c9f3, #168bd0 60%, #0866aa);
  border-bottom: 1px solid #07518c;
  padding: 12px 14px;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 1px 1px #064879;
}

.panel > p,
.panel > .quicklinks,
.panel > .friends,
.panel > .gallery,
.panel > .profile,
.panel > .rowmsg,
.panel > table {
  margin-left: 10px;
  margin-right: 10px;
}

.profile {
  gap: 16px;
  padding: 12px 0;
}

.profile h1 {
  color: #075b9b;
  letter-spacing: -.5px;
}

.avatar {
  border: 1px solid #9bcce5;
  box-shadow: inset 0 0 12px #ffffff70;
  border-radius: 4px;
}

.quicklinks a {
  padding: 8px 5px;
  border-bottom: 1px dotted #b2d6e8;
  transition: padding-left .15s ease, background .15s ease;
}

.quicklinks a:hover {
  padding-left: 10px;
  background: #eaf7fd;
}

.friends {
  gap: 7px;
}

.friend-icon {
  border: 1px solid #b3d9ec;
  background: linear-gradient(135deg, #effaff, #c6eafa);
  border-radius: 4px;
}

.gallery .photo {
  border: 1px solid #a5d1e8;
  border-radius: 3px;
  box-shadow: inset 0 0 10px #ffffff60;
  transition: transform .15s ease, box-shadow .15s ease;
}

.gallery .photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px #07518c30;
}

.details td {
  padding: 7px 5px;
  border-bottom: 1px dotted #b5d8e9;
}

.rowmsg {
  padding: 10px 0;
  border-bottom: 1px dotted #b5d8e9;
}

.miniavatar {
  border: 1px solid #b0d8ed;
  border-radius: 3px;
  background: #e8f7fd;
}

button.bluebtn {
  border: 1px solid #064879;
  border-radius: 3px;
  background: linear-gradient(#5ac9f5, #0875bd);
  box-shadow: inset 0 1px #ffffff80;
}

button.bluebtn:hover {
  background: linear-gradient(#7ad8fa, #168bd0);
}

input, textarea, select {
  border: 1px solid #9ccce3;
  border-radius: 3px;
  padding: 8px;
  max-width: 100%;
}

.footer {
  color: #315e7c;
  text-shadow: none;
  padding: 18px;
}

@media (max-width: 900px) {
  .wrap {
    margin: 8px;
  }

  .columns {
    display: block;
  }

  .left, .center, .right {
    width: 100%;
    min-width: 0;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
  }

  .nav a {
    flex: 1 1 120px;
    text-align: center;
  }
}

/* NettVenn retroforside – tillegg */
.retro-feature { scroll-margin-top: 16px; }
.retro-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.retro-card { border:1px solid #c5d9e7; border-radius:7px; padding:11px; background:linear-gradient(#fff,#f1f8fc); }
.retro-card h3,.retro-news h3 { margin:5px 0; font-size:1rem; color:#075a91; }
.retro-card p,.retro-news p,.retro-event p { margin:5px 0 8px; }
.retro-big-icon { font-size:1.8rem; }
.retro-note { background:#f5f8e9; border-left:4px solid #9ab85a; padding:8px; font-size:.88rem; }
.retro-news { border:1px solid #d6e4ec; border-radius:6px; padding:10px; margin:8px 0; background:#f8fcff; }
.retro-news-tag { display:inline-block; background:#e84c76; color:white; border-radius:3px; padding:3px 7px; font-size:.72rem; font-weight:bold; }
.retro-news-tag.retro-green { background:#76a93d; }
.retro-event { padding:10px; margin:8px 0; border-radius:6px; background:#fff8e8; border:1px solid #f0dca7; }
.retro-smile-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.retro-smile-grid span { display:flex; justify-content:center; align-items:center; min-height:42px; font-size:1.65rem; border:1px solid #d6e4ec; border-radius:6px; background:#f5fbff; }
@media (max-width:600px) { .retro-card-grid { grid-template-columns:1fr; } }
