    body {
      font-family: Verdana, Arial, sans-serif;
      font-size: 12px;
      background-color: #f5f5f5;
      color: #000;
      margin: 0;
      padding: 0;
    }
    .container {
      width: 95%;
      max-width: 900px;
      margin: 0 auto;
      background-color: #fff;
      padding: 10px;
    }
    h1 {
      font-size: 20px;
      color: #003366;
    }
    .nav {
      text-align: right;
      font-size: 11px;
      margin-bottom: 10px;
    }
    .search-bar {
      text-align: center;
      margin: 10px 0;
    }
    input[type="text"] {
      font-size: 12px;
    }

    footer {
      text-align: center;
      font-size: 11px;
      color: #666;
      margin-top: 20px;
    }
.badge{display:inline-block;font-size:10px;line-height:1;padding:3px 6px;border-radius:3px;margin-left:6px;vertical-align:middle;border:1px solid #99b; background:#eef4ff; color:#123;}
.badge.new{border-color:#2e7d32; background:#e8f5e9; color:#1b5e20; font-weight:bold;}
.badge.verified{border-color:#1565c0; background:#e3f2fd; color:#0d47a1;}
.forumtable{width:100%;border-collapse:collapse;margin:10px 0 20px}
.forumtable th{background:#006699;color:#fff;padding:6px;border:1px solid #ccc;text-align:left;font-weight:bold}
.forumtable td{background:#e8f0f8;padding:8px;border:1px solid #ccc;vertical-align:top}
.forum-ico{display:inline-block;width:18px;text-align:center;margin-right:6px}
.col-num{white-space:nowrap;text-align:center}
.lastpost{font-size:11px;color:#333}
.subforums{background:#f7fbff;border:1px solid #cfe3f5;color:#064d76;font-size:11px}
.subforums a{color:#006699;text-decoration:none}
.subforums a:hover{text-decoration:underline}
.subforums-inline{ font-size:11px; color:#123; }

/* -------- Link theme for WorldTradeForum -------- */
:root{
  /* Blå palett */
  --link:        #0b5ea8;  /* default */
  --link-hover:  #0a76d0;  /* hover */
  --link-active: #083d6b;  /* mousedown/active */
  --link-visited:#5a3ea8;  /* visited */
  --focus-ring:  #66b3ff;  /* keyboard focus ring */
  --desc:        #064d76;  /* category desc text */
}

/* Baslänkar */
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:active { color: var(--link-active); }
a:visited { color: var(--link-visited); }

/* Tydlig keyboard-fokus utan att störa layouten */
a:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Forumtabeller – headern är mörk blå, håll länkar vita där */
.forumtable th a { color: #fff; }
.forumtable th a:hover,
.forumtable th a:focus { color: #fff; text-decoration: underline; }
.forumtable th a:visited { color: #eef; }

/* Länkar i celler (Topics, Last post etc.) */
.forumtable td a { color: var(--link); }
.forumtable td a:hover { color: var(--link-hover); }

/* Subforums-listan inline under forumtiteln på index */
.subforums-inline { font-size: 11px; color: #123; }
.subforums-inline a { color: var(--link); }
.subforums-inline a:hover { color: var(--link-hover); }

/* “Beskrivning” under forumlänkar (index + market subforumstabell) */
.forumtable .desc { color: var(--desc); }

/* Breadcrumbs/toolbar om de finns */
.crumbs a { color: var(--link); }
.crumbs a:hover { color: var(--link-hover); }

/* Footer + små meta-länkar (dämpa lite men behåll läsbarhet) */
footer a { color: #0a76d0; }
footer a:visited { color: #5a3ea8; }

    /* Forum post layout (bas) */
    .post{display:grid;grid-template-columns:180px 1fr;gap:10px;background:#e8f0f8;border:1px solid #ccc;padding:10px;margin-bottom:15px}
    .post-left{background:#f2f6fb;border:1px solid #d6e3f1;padding:8px;text-align:center}
    .avatar{width:96px;height:96px;border-radius:4px;object-fit:cover;border:1px solid #c3d4ea;background:#fff}
    .username{font-weight:bold;color:#004a7f;margin-top:6px}
    .rank{display:inline-block;margin-top:4px;padding:2px 6px;font-size:11px;background:#e3f2fd;border:1px solid #b6d4fe;border-radius:3px;color:#0d47a1}
    .u-meta{font-size:11px;color:#334;margin-top:6px;line-height:1.5}
    .post-right{background:#fff;border:1px solid #d6e3f1;padding:8px}
    .post-title{font-size:14px;color:#006699;margin:0 0 4px}
    .meta{font-size:11px;color:#555;margin-bottom:6px}

    /* Toolbar / crumbs */
    .toolbar{display:flex;gap:8px;justify-content:flex-end;margin:8px 0}
    .btn-sm{background:#d0e4f5;border:1px solid #9fbfdf;color:#003b63;padding:4px 8px;border-radius:3px;font-size:11px}
    .btn-sm[disabled]{opacity:.6;cursor:not-allowed}
    .crumbs{font-size:11px;color:#555;margin:6px 0}
    .crumbs a{color:#006699;text-decoration:none}
    .crumbs a:hover{text-decoration:underline}
    .postbar{background:#006699;color:#fff;padding:6px 8px;border:1px solid #ccc;border-bottom:0;font-weight:bold}

    /* Content niceties */
    .post-right blockquote{border-left:3px solid #9fbfdf;background:#f3f8fe;padding:8px;margin:6px 0}
    .post-right pre{background:#0b1020;color:#e6edf3;padding:10px;border-radius:4px;overflow:auto}
    .post-right code{font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:12px}
    .signature{border-top:1px dashed #cbd5e1;margin-top:10px;padding-top:8px;color:#444;font-size:11px}
    .edited{font-size:11px;color:#666;margin-top:6px}

    /* Roles */
    .role-admin .username{color:#b20d0d}
    .role-mod   .username{color:#0b6d1d}
    .role-vip   .username{color:#9b6b00}
    .role-member .username{color:#004a7f}