/* ==========================================================================
   Horizon Roleplay — layout v4 (sidomeny + mörk hero)
   Laddas EFTER horizon.css och horizon-v2.css.
   ========================================================================== */

:root {
  --hz-bg: #080d14;
  --hz-side: #090e16;
  --hz-card: #0a111a;
  --hz-card-2: #0d1520;
  --hz-line: #151e29;
  --hz-line-2: #1f2a37;
  --hz-text: #f2f4f7;
  --hz-text-2: #b9c0ca;
  --hz-text-3: #8892a0;
  --hz-ok: #3ecf6e;
  --hz-side-w: 272px;
  --hz-display: 'Archivo', 'Geist', ui-sans-serif, system-ui, sans-serif;
}

html, body.hz-body { background: var(--hz-bg); }
body.hz-body { color: var(--hz-text); font-family: 'Geist', ui-sans-serif, system-ui, sans-serif; font-size: 14px; }
.hz-body svg { fill: currentColor; }

/* ---------- Skal ---------- */
.hz-shell { display: grid; grid-template-columns: var(--hz-side-w) minmax(0, 1fr); min-height: 100vh; }
.hz-main { min-width: 0; display: flex; flex-direction: column; }

/* Gamla sidans wrap blir innehållsyta */
.hz-content.wrap { width: 100%; max-width: none; margin: 0; padding: 28px 32px 56px; flex: 1; }
.hz-content.wrap:has(.hz-hero) { padding-top: 0; }

/* ---------- Sidomeny ---------- */
.hz-sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--hz-side); border-right: 1px solid var(--hz-line);
  padding: 0 24px 22px; z-index: 40;
}
.hz-logo { display: flex; flex-direction: column; align-items: center; height: 66px; justify-content: center; margin: 0 -24px 14px; padding-top: 6px; position: relative; }
.hz-logo img { height: 36px; width: auto; object-fit: contain; }
.hz-logo span { margin-top: 1px; font: 700 6px/1 var(--hz-display); letter-spacing: .62em; padding-left: .62em; color: #fff; text-transform: uppercase; }

.hz-menu { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.hz-menu-item {
  display: flex; align-items: center; gap: 16px; height: 42px; padding: 0 14px;
  border-radius: 10px; color: var(--hz-text-2); font-weight: 600; font-size: 15px;
  transition: background .15s, color .15s;
}
.hz-menu-item svg { width: 22px; height: 22px; flex: none; color: #c7ccd4; }
.hz-menu-item:hover { background: #0e1621; color: #fff; }
.hz-menu-item.is-active { background: #131b26; color: #fff; }
.hz-menu-item.is-active svg { color: #fff; }
.hz-badge { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: #384049; color: #fff; font: 700 12px/22px 'Geist', sans-serif; text-align: center; font-style: normal; }

.hz-side-art { margin-top: auto; padding-top: 28px; text-align: center; border-top: 1px solid var(--hz-line); margin-inline: 20px; }
.hz-side-art svg { width: 100%; max-width: 200px; height: 90px; display: block; margin: 0 auto 4px; opacity: .85; }
.hz-side-art p { margin: 4px 0 0; color: var(--hz-text-2); font-size: 12.5px; line-height: 1.35; }
.hz-script { margin-top: 14px; font-family: 'Allura', 'Mrs Saint Delafield', cursive; font-size: 34px; line-height: 1; color: #d9dde3; transform: rotate(-4deg); opacity: .9; }

.hz-side-foot { margin-top: 34px; }
.hz-side-brand { display: flex; align-items: center; gap: 10px; }
.hz-side-brand img { width: 44px; height: auto; flex: none; }
.hz-side-brand b { display: block; font: 600 10.5px/1.2 'Geist', sans-serif; letter-spacing: .02em; color: #fff; }
.hz-side-brand small { display: block; margin-top: 2px; font-size: 9.5px; line-height: 1.25; color: var(--hz-text-3); }
.hz-side-links { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: var(--hz-text-3); font-size: 12px; }
.hz-side-links a { display: inline-flex; align-items: center; }
.hz-side-links a:hover { color: #fff; }
.hz-side-links svg { width: 16px; height: 16px; }

/* ---------- Topbar ---------- */
.hz-topbar {
  position: sticky; top: 0; z-index: 30; height: 66px;
  display: grid; grid-template-columns: 1fr minmax(260px, 575px) 1fr; align-items: center; gap: 16px;
  padding: 0 40px 0 32px;
  background: rgba(8, 13, 20, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hz-burger { display: none; }
.hz-search { grid-column: 2; position: relative; display: block; }
.hz-search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: #c4c9d1; pointer-events: none; }
.hz-search input[type="search"] {
  width: 100%; height: 36px; padding: 0 14px 0 42px !important; border-radius: 8px !important; box-shadow: none; -webkit-appearance: none; appearance: none;
  background: #161d25; border: 1px solid #232a32; color: #fff; font: 500 13px 'Geist', sans-serif; outline: none;
}
.hz-search input::placeholder { color: #9aa3ae; }
.hz-search input:focus { border-color: #3a4552; background: #19212a; }
.hz-top-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 28px; }
.hz-bell { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: #e6e9ee; }
.hz-bell svg { width: 20px; height: 20px; }
.hz-bell-dot { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #e5484d; color: #fff; font: 700 10px/16px 'Geist', sans-serif; text-align: center; font-style: normal; }
.hz-user { position: relative; }
.hz-user-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #fff; cursor: pointer; font: 700 13px 'Geist', sans-serif; padding: 0; }
.hz-user-btn img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #202833; }
.hz-user-btn svg { width: 18px; height: 18px; }
.hz-user-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 6px; border-radius: 10px; background: #0d1520; border: 1px solid var(--hz-line-2); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.hz-user.open .hz-user-menu { display: block; }
.hz-user-menu a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--hz-text-2); font-weight: 600; font-size: 13px; }
.hz-user-menu a:hover { background: #151e29; color: #fff; }
.hz-login { grid-column: 3; justify-self: end; height: 36px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 8px; background: #fff; color: #0b0f14; font-weight: 700; font-size: 13px; }

/* ---------- Hero ---------- */
.hz-hero {
  position: relative; margin: 0 -32px; min-height: 340px; overflow: hidden;
  display: flex; align-items: center; padding: 0 32px 0 64px;
  background: #060a10 url('hero-bg.jpg') right center / auto 100% no-repeat;
  border-bottom: 1px solid var(--hz-line);
}
.hz-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #060a10 0%, #060a10 34%, rgba(6,10,16,.88) 46%, rgba(6,10,16,0) 66%),
    linear-gradient(0deg, rgba(8,13,20,.75), rgba(8,13,20,0) 28%),
    linear-gradient(180deg, rgba(8,13,20,.5), rgba(8,13,20,0) 22%);
}
.hz-hero-copy { position: relative; z-index: 1; max-width: 520px; padding: 40px 0 34px; }
.hz-hero-kicker { font: 700 12.5px/1 var(--hz-display); letter-spacing: .28em; text-transform: uppercase; color: #fff; }
.hz-hero-logo { margin: 14px 0 22px; display: flex; flex-direction: column; align-items: flex-start; line-height: .85; }
.hz-hero-word {
  font-family: var(--hz-display); font-weight: 900; font-style: italic; font-stretch: 112%;
  font-size: clamp(76px, 8.4vw, 112px); letter-spacing: -.045em; text-transform: uppercase; color: #fff;
  transform: skewX(-4deg) rotate(-3deg); transform-origin: left bottom;
  text-shadow: 0 0 22px rgba(255,255,255,.35), 3px 3px 0 rgba(0,0,0,.45);
  -webkit-text-stroke: 1px rgba(255,255,255,.4);
}
.hz-hero-sub { margin: 8px 0 0 118px; font: 800 28px/1 var(--hz-display); letter-spacing: .36em; text-transform: uppercase; color: #fff; }
.hz-hero-copy p { margin: 0; max-width: 430px; color: #c3c9d2; font-size: 15px; line-height: 1.5; }
.hz-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }

.hz-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 9px; font: 700 13px 'Geist', sans-serif; transition: transform .12s, background .15s, border-color .15s; }
.hz-btn svg { width: 20px; height: 20px; }
.hz-btn:active { transform: translateY(1px); }
.hz-btn-light { background: #fff; color: #0b0f14; }
.hz-btn-light:hover { background: #e4e7ec; }
.hz-btn-ghost { background: rgba(10,15,22,.7); border: 1px solid #2a3340; color: #fff; backdrop-filter: blur(4px); }
.hz-btn-ghost:hover { background: #121a25; border-color: #3a4554; }

/* ---------- Grid ---------- */
.hz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 20px; margin-top: 0; align-items: start; }
.hz-col-main, .hz-col-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hz-col-main { margin-top: 0; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6b7380; font-style: normal; flex: none; }
.dot.ok { background: var(--hz-ok); box-shadow: 0 0 0 0 rgba(62,207,110,.5); }

/* ---------- Stat ---------- */
.hz-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--hz-card); border: 1px solid var(--hz-line); border-radius: 14px; margin-top: 0; }
.hz-stat { display: flex; align-items: center; gap: 16px; padding: 22px 28px; position: relative; }
.hz-stat + .hz-stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--hz-line-2); }
.hz-stat-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #121a24; color: #e8ebf0; flex: none; }
.hz-stat-ico svg { width: 28px; height: 28px; }
.hz-stat b { display: block; font: 800 27px/1 var(--hz-display); letter-spacing: -.01em; color: #fff; }
.hz-stat > div > span { display: block; margin-top: 3px; color: var(--hz-text-2); font-size: 13.5px; font-weight: 500; }
.hz-stat small { display: flex; align-items: center; gap: 7px; margin-top: 7px; color: var(--hz-text-3); font-size: 11px; }
.hz-online-line { display: flex !important; align-items: center; gap: 7px; }
.hz-stats { margin-top: 0; }
.hz-grid { padding-top: 0; }
.hz-hero + .hz-grid { margin-top: 0; }
.hz-hero + .hz-grid .hz-stats, .hz-hero + .hz-grid .hz-quote { margin-top: 0; }
.hz-hero + .hz-grid { padding-top: 0; }

/* ---------- Paneler ---------- */
.hz-panel { background: var(--hz-card); border: 1px solid var(--hz-line); border-radius: 14px; padding: 22px 22px 22px; }
.hz-panel-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hz-panel-hd h2 { display: flex; align-items: center; gap: 12px; margin: 0; font: 800 14px/1 var(--hz-display); font-stretch: 100%; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.hz-panel-hd h2 svg { width: 22px; height: 22px; flex: none; }
.hz-panel-hd a { color: #dfe3e9; font-size: 11px; font-weight: 600; white-space: nowrap; }
.hz-panel-hd a:hover { color: #fff; }
.hz-count { display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 12px; border-radius: 99px; background: #181f28; color: #fff; font: 700 11px 'Geist', sans-serif; }
.hz-side { padding: 18px 20px 14px; }
.hz-side .hz-panel-hd h2 { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 700; font-family: 'Geist', sans-serif; }
.hz-side .hz-panel-hd h2 svg { width: 16px; height: 16px; }
.hz-empty { padding: 14px 4px; color: var(--hz-text-3); font-size: 13px; }

/* ---------- Forumlista (rent tabellformat) ---------- */
.hz-forum { display: flex; flex-direction: column; gap: 18px; }

.hz-table { background: var(--hz-card); border: 1px solid var(--hz-line); border-radius: 14px; overflow: hidden; }
.hz-table-hd { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px; border-bottom: 1px solid var(--hz-line); list-style: none; }
.hz-table-name { font: 700 13px/1 'Geist', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hz-table-count { color: var(--hz-text-3); font-size: 12px; }
.hz-table-cols { margin-left: auto; display: grid; grid-template-columns: 76px 96px 230px; padding-right: 56px; color: var(--hz-text-3); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hz-table-cols span:nth-child(1), .hz-table-cols span:nth-child(2) { text-align: center; }

.hz-rows { display: flex; flex-direction: column; }
.hz-row { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 76px 96px 230px 28px; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--hz-line); transition: background .15s; }
.hz-rows > .hz-row:first-child { border-top: 0; }
.hz-row:hover { background: #0e1621; }
.hz-row-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #111a25; border: 1px solid var(--hz-line-2); color: #d5dae2; }
.hz-row-ico svg { width: 20px; height: 20px; }
.hz-row-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hz-row-main b { font: 600 14.5px/1.25 'Geist', sans-serif; color: #fff; }
.hz-row-main small { color: var(--hz-text-3); font-size: 12.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-row-stat { text-align: center; }
.hz-row-stat b { display: block; font: 700 15px/1 'Geist', sans-serif; color: #fff; }
.hz-row-stat small { display: none; color: var(--hz-text-3); font-size: 10.5px; }
.hz-row-last { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hz-row-last b { font: 600 12.5px/1.3 'Geist', sans-serif; color: #e6e9ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-row-last small { color: var(--hz-text-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-row-last .hz-none { color: #5f6a79; }
.hz-row-go { display: grid; place-items: center; width: 28px; height: 28px; color: #5f6a79; transition: color .15s, transform .15s; }
.hz-row-go svg { width: 16px; height: 16px; }
.hz-row:hover .hz-row-go { color: #fff; transform: translateX(2px); }

/* Fällbart arkiv */
.hz-archive > summary { cursor: pointer; }
.hz-archive > summary::-webkit-details-marker { display: none; }
.hz-archive:not([open]) > summary { border-bottom: 0; }
.hz-chev { width: 20px; height: 20px; margin-left: auto; color: var(--hz-text-3); transition: transform .2s; }
.hz-archive[open] .hz-chev { transform: rotate(180deg); }
.hz-archive .hz-row { padding: 12px 22px; }
.hz-archive .hz-row-ico { width: 34px; height: 34px; border-radius: 9px; }
.hz-archive .hz-row-ico svg { width: 17px; height: 17px; }
.hz-archive .hz-row-main small { display: none; }

/* ---------- Höger ---------- */
.hz-quote { padding: 26px 30px; background: var(--hz-card); border: 1px solid var(--hz-line); border-radius: 14px; min-height: 96px; margin-top: 0; }
.hz-quote p { margin: 0; color: #d3d8df; font-size: 13px; line-height: 1.5; }
.hz-quote i { display: block; width: 24px; height: 2px; margin-top: 12px; background: #e5e8ec; }

.hz-av { position: relative; width: 32px; height: 32px; flex: none; }
.hz-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #1b2430; display: block; }
.hz-av-sq img { border-radius: 8px; }
.hz-av .dot { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border: 2px solid var(--hz-card); box-sizing: content-box; }

.hz-staff, .hz-latest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hz-staff { gap: 12px; padding-bottom: 6px; }
.hz-staff a { display: flex; align-items: center; gap: 12px; }
.hz-staff-info { min-width: 0; }
.hz-staff-top { display: flex; align-items: center; gap: 8px; }
.hz-staff-top b { font: 600 13px 'Geist', sans-serif; color: #fff; }
.hz-staff small { display: block; margin-top: 1px; color: var(--hz-text-3); font-size: 10.5px; }
.hz-role { --rc: #7c8590; display: inline-block; padding: 2px 8px; border-radius: 99px; font: 700 8.5px/1.4 'Geist', sans-serif; font-style: normal; letter-spacing: .01em;
  color: #fff; background: color-mix(in srgb, var(--rc) 55%, #0a111a); border: 1px solid color-mix(in srgb, var(--rc) 70%, transparent); }
.hz-staff .hz-role { white-space: nowrap; }

.hz-latest { gap: 2px; }
.hz-latest a { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-radius: 8px; }
.hz-latest a:hover .hz-latest-info b { text-decoration: underline; text-underline-offset: 2px; }
.hz-latest-info { min-width: 0; flex: 1; }
.hz-latest-info b { display: block; font: 600 11.5px/1.3 'Geist', sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-latest-info small { display: block; margin-top: 1px; color: var(--hz-text-3); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-latest-n { display: inline-flex; align-items: center; gap: 6px; color: #cdd2da; font-size: 10px; flex: none; }
.hz-latest-n svg { width: 10px; height: 10px; }
.hz-latest .hz-av { width: 24px; height: 24px; }

/* ---------- Övriga sidor: gamla topbar/footer borta ---------- */
.site-footer { display: none; }

/* ---------- Cookie-banner ovanpå ---------- */
.cookie-banner { z-index: 100; }

/* ---------- Responsivt ---------- */
@media (max-width: 1500px) { .hz-row { grid-template-columns: 40px minmax(0, 1fr) 70px 90px 28px; } .hz-row-last { display: none; } .hz-table-cols { grid-template-columns: 70px 90px; } .hz-table-cols span:nth-child(3) { display: none; } }
@media (max-width: 1280px) {
  .hz-grid { grid-template-columns: 1fr; }
  .hz-col-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hz-quote { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hz-shell { grid-template-columns: 1fr; }
  .hz-sidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 0 0 60px rgba(0,0,0,.6); }
  body.hz-menu-open .hz-sidebar { transform: none; }
  .hz-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 36px; height: 36px; padding: 0 8px; background: none; border: 0; cursor: pointer; }
  .hz-burger span { height: 2px; border-radius: 2px; background: #fff; }
  .hz-topbar { grid-template-columns: auto 1fr auto; padding: 0 16px; gap: 12px; }
  .hz-search { grid-column: 2; }
  .hz-top-right { grid-column: 3; gap: 14px; }
  .hz-user-btn span, .hz-user-btn svg { display: none; }
  .hz-content.wrap { padding-inline: 16px; }
  .hz-hero { margin-inline: -16px; padding: 0 20px; min-height: 0; background-position: 70% center; }
  .hz-hero::before { background: linear-gradient(180deg, rgba(6,10,16,.55), rgba(6,10,16,.92)); }
  .hz-hero-sub { margin-left: 70px; font-size: 20px; }
  .hz-stats { grid-template-columns: 1fr; }
  .hz-stat + .hz-stat::before { left: 18px; right: 18px; top: 0; bottom: auto; width: auto; height: 1px; }
  .hz-col-side { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Skydd mot dubbla bakgrundsbilder: EN bild (hero), inget annat.
   ========================================================================== */
html, body.hz-body { background-image: none !important; background-color: var(--hz-bg) !important; }
.hz-panel, .hz-stats, .hz-quote { background-image: none !important; }
.hz-panel { box-shadow: none; }

/* ---------- Forumsida (board.php) ---------- */
.hz-bhero { margin: 0 0 20px; padding: 22px 28px 26px; border-radius: 14px; border: 1px solid var(--hz-line);
  background: radial-gradient(120% 140% at 100% 0%, rgba(238,138,82,.14), transparent 55%), linear-gradient(135deg, #0d1520, #0a111a 70%); }
.hz-crumbs { display: flex; align-items: center; gap: 10px; color: var(--hz-text-3); font-size: 12px; }
.hz-crumbs a:hover { color: #fff; }
.hz-crumbs em { font-style: normal; color: var(--hz-text-2); }
.hz-bhero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 18px; flex-wrap: wrap; }
.hz-bhero-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hz-bhero-title h1 { margin: 0; font: 900 clamp(30px, 3.6vw, 44px)/1 var(--hz-display); font-style: italic; font-stretch: 112%; letter-spacing: -.03em; text-transform: uppercase; color: #fff; }
.hz-bhero-copy p { margin: 10px 0 0; max-width: 620px; color: var(--hz-text-2); font-size: 14.5px; line-height: 1.5; }
.hz-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: 99px; background: #1a232f; border: 1px solid #263140; color: #dfe3e9; font: 700 11px 'Geist', sans-serif; }
.hz-note { display: inline-flex; align-items: center; gap: 8px; color: var(--hz-text-3); font-size: 12.5px; }
.hz-note svg { width: 14px; height: 14px; }
.hz-bstats { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hz-bstats > div { min-width: 120px; padding: 12px 18px; border-radius: 10px; background: rgba(5,9,15,.6); border: 1px solid var(--hz-line); }
.hz-bstats b { display: block; font: 800 22px/1 var(--hz-display); color: #fff; }
.hz-bstats span { display: block; margin-top: 5px; color: var(--hz-text-3); font-size: 12px; }
.hz-grid-board { margin-top: 0; }

.hz-threads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hz-thread { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 64px 14px 16px; border-radius: 12px; background: #0d1520; border: 1px solid var(--hz-line); transition: border-color .15s, background .15s; }
.hz-thread:hover { border-color: #2c3b50; background: #101a27; }
.hz-thread .hz-av { width: 40px; height: 40px; }
.hz-thread-main { min-width: 0; flex: 1; }
.hz-thread-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hz-thread-title b { font: 700 14.5px/1.3 'Geist', sans-serif; color: #fff; overflow: hidden; text-overflow: ellipsis; }
.hz-thread-main small { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--hz-text-3); font-size: 11.5px; flex-wrap: wrap; }
.hz-thread-n { display: inline-flex; align-items: center; gap: 7px; min-width: 56px; color: #cdd2da; font-size: 12px; }
.hz-thread-n svg { width: 14px; height: 14px; }
.hz-thread-n b { font-weight: 700; color: #fff; }
.hz-thread-last { min-width: 130px; color: #e2e6ec; font-size: 12px; font-weight: 600; }
.hz-thread-last small { display: block; margin-bottom: 3px; color: var(--hz-text-3); font-weight: 500; font-size: 10.5px; }
.hz-thread .hz-cat-go { right: 16px; bottom: auto; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; }
.hz-thread:hover .hz-cat-go { transform: translate(2px, -50%); }
.hz-lock { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; background: #1a232f; color: #cfd5de; font: 700 10px 'Geist', sans-serif; }
.hz-lock svg { width: 10px; height: 10px; }
.hz-bempty { padding: 36px 8px; text-align: center; }
.hz-bempty b { color: #fff; font-size: 15px; }
.hz-bempty p { margin: 6px 0 0; color: var(--hz-text-3); font-size: 13px; }
.hz-info { margin: 0; display: flex; flex-direction: column; }
.hz-info > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hz-line); font-size: 13px; }
.hz-info > div:first-child { border-top: 0; }
.hz-info dt { color: var(--hz-text-3); }
.hz-info dd { margin: 0; color: #fff; font-weight: 600; }
.hz-thread .status, .hz-latest .status { font-size: 10px; }
.hz-grid-board .hz-panel-hd h2 { letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 960px) {
  .hz-thread { flex-wrap: wrap; padding-right: 16px; }
  .hz-thread-last, .hz-thread .hz-cat-go { display: none; }
}

/* Spärr: ingen ikon kan någonsin bli jättestor */
.hz-content svg { max-width: 64px; max-height: 64px; }
.hz-content .hz-hero svg { max-width: 24px; max-height: 24px; }
.hz-panel-hd h2 svg { width: 20px; height: 20px; }

/* Mer stilrent: dämpad forumhero + tystare kantlinjer */
.hz-bhero { background: linear-gradient(180deg, #0d1520, #0a111a); }
@media (max-width: 720px) {
  .hz-row { grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 12px; padding: 14px 16px; }
  .hz-row-stat { display: none; }
  .hz-table-cols { display: none; }
  .hz-table-hd { padding: 0 16px; }
}
