@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

/* =========================================================
   Ozzaria – sharp card borders + neon outline (throwback)
   Neatened: duplicates merged where SAFE, cascade preserved
   ========================================================= */

/* =========================
   Root + base reset
========================= */
:root {
    --bg-dim: .45;
    --maxw: 1000px;
    --header-h: 68px; /* or 72px if you want it roomy */
    --radius: 0px;
    --ink: #eef1f1;
    --ink-muted: rgba(238,241,241,.78);
    --fx1: rgba(255,255,255,.08);
    --fx2: rgba(255,255,255,.16);
    --brand: #55d66a;
    --brand-2: #39a6d9;
    --card: rgba(10,14,22,.78);
    /* Forums theme polish vars (were a second :root block) */
    --f-text: rgba(255,255,255,.92);
    --f-muted: rgba(255,255,255,.65);
    --f-card: rgba(16,18,20,.55);
    --f-card-2: rgba(16,18,20,.35);
    --f-border: rgba(255,255,255,.10);
    --f-pill-bg: rgba(0,0,0,.25);
    --f-pill-b: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }
html, body {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100dvh;
}

/* =========================
   Body background
========================= */
body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background: linear-gradient(0deg, rgba(6,16,40,.92), rgba(6,16,40,.92)),
                radial-gradient(ellipse farthest-corner at 0% 20%, rgba(30,90,200,.28), rgba(30,90,200,0) 70%),
                radial-gradient(ellipse farthest-corner at 100% 25%, rgba(30,90,200,.24), rgba(30,90,200,0) 70%),
                radial-gradient(ellipse farthest-corner at 50% -10%, rgba(30,90,200,.26), rgba(30,90,200,0) 65%),
                linear-gradient(0deg, rgba(12,26,60,.75), rgba(12,26,60,.55)),
                linear-gradient(180deg, rgba(8,18,40,1) 0%, rgba(7,13,26,1) 55%, rgba(6,10,18,1) 100%);
    position: relative;
    background-attachment: fixed;
}

/* Full-page background image */
body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(30,90,200,.28), rgba(12,26,60,.75)),
        linear-gradient(rgba(0,0,0,var(--bg-dim)), rgba(0,0,0,var(--bg-dim))),
        url('bg.php');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.index2-home::before {
    display: none;
}

body.index2-home .proto-proof .forum-ava-btn .chip-ava,
body.index2-home .proto-proof .forum-ava-btn .chip-ava img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
}

body.index2-home .proto-proof .forum-ava-btn .chip-ava img {
    display: block;
    max-width: none;
    object-fit: cover !important;
    object-position: center;
}

/* =========================
   Polished dark scrollbar (global)
========================= */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(57,166,217,.56) rgba(2,6,14,.82);
}

/* Chrome/Edge/Safari */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background:
        linear-gradient(180deg, rgba(4,10,20,.92), rgba(2,6,14,.96));
    box-shadow: inset 1px 0 0 rgba(255,255,255,.04);
}

::-webkit-scrollbar-thumb {
    min-height: 46px;
    border: 3px solid rgba(2,6,14,.96);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(86,181,255,.72), rgba(57,166,217,.58));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.20),
        0 0 14px rgba(57,166,217,.20);
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(112,201,255,.88), rgba(57,166,217,.78));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.24),
        0 0 18px rgba(57,166,217,.30);
}

::-webkit-scrollbar-thumb:active {
    background:
        linear-gradient(180deg, rgba(48,143,222,.88), rgba(91,190,255,.78));
}

::-webkit-scrollbar-corner {
    background: rgba(2,6,14,.96);
}

/* =========================
   Layout shells
========================= */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 6px) 24px 16px;
}

.app {
    display: flex;
    min-height: 100vh;
    background: transparent;
}

.main {
    flex: 1;
    min-height: 100vh;
    background: transparent;
}

/* sidebar from sidebar.php */
.side {
    width: 260px;
    flex-shrink: 0;
}

.grid { margin-bottom: 12px; }

/* =========================
   Header + nav
========================= */
.site-header {
    position: absolute; /* scrolls away */
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: transparent !important;
    border-bottom: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1000;
}

.nav {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
}

.nav nav {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: auto; /* key */
}

.nav nav::-webkit-scrollbar { display: none; }

.nav a {
    color: var(--ink);
    opacity: .9;
    padding: 6px 0;
    font-weight: 600;
}

.nav a:hover,
.nav a.active { opacity: 1; }

.nav a.brand { padding: 0 !important; }

/* NAV underline rules (kept + grouped) */
.nav nav a { text-decoration: none !important; }

.nav nav a:hover,
.nav nav a:focus,
.nav nav a:active { text-decoration: none !important; }

.nav a,
.nav nav a {
    border-bottom: none !important;
    text-decoration: none !important;
}

/* thin neon underline (active only) */
.nav nav a {
    position: relative;
    padding-bottom: 8px;
    background-image: linear-gradient(90deg, #55d66a, #39a6d9);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: filter .2s ease, background-size .25s ease;
}

.nav nav a.active {
    background-image: linear-gradient(90deg, #2b64d1, #39a6d9) !important;
    background-size: 100% 2px;
    color: #cfe6ff;
}

.nav nav a:hover { filter: brightness(1.05); }

.nav,
.site-header,
.nav nav { overflow: visible; }

/* Mobile dropdown for nav */
.nav-toggle {
    display: none;
    margin-left: auto;
    font-size: 22px;
    line-height: 1;
    border: 1px solid rgba(255,255,255,.15);
    background: #141821;
    color: #e6edf3;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

@media (max-width:720px) {
    .site-header .nav-menu > a[href="/gallery.php"] {
        display: none !important;
    }

    .nav nav { display: none; }
    .nav-toggle { display: inline-block; }

    .nav-dropdown {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 56px;
        z-index: 1100;
        pointer-events: auto;
    }

    .nav-dropdown[hidden] {
        display: none !important;
        pointer-events: none !important;
    }

    .nav-dropdown-inner {
        background: #141821;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.35);
        padding: 8px;
    }

    .nav-dropdown-inner a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        color: #e6edf3;
        text-decoration: none;
    }

    .nav-dropdown-inner a.active,
    .nav-dropdown-inner a:hover {
        background: rgba(255,255,255,.08);
    }
}

@media (min-width:721px) {
    .nav-toggle { display: none !important; }
    .nav-dropdown { display: none !important; }
}

/* =========================
   Cards + glow outline
========================= */
.card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--fx1);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: 0 10px 26px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.card:hover { border-color: var(--fx2); }

.glow-border{
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* =========================
   Archive card
========================= */
.archive-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--ink);
}

.archive-icon {
    width: 42px;
    height: 42px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.archive-text { display: flex; flex-direction: column; }

.archive-title {
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 4px;
}

.archive-desc {
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.45;
}

.archive-card,
.perks-card { margin-bottom: 12px; }

.archive-card + .perks-card { margin-top: 12px; }
.perks-card:hover { transform: none !important; }

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    width: 100%;
    margin: 4px 0 18px;
}

.home-feature-card {
    margin-bottom: 0 !important;
    height: 100%;
    min-width: 0;
    padding: 0 !important;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10) !important;
    background:
      radial-gradient(circle at top right, rgba(108,142,255,.10), transparent 34%),
      radial-gradient(circle at top left, rgba(117,221,255,.08), transparent 42%),
      linear-gradient(180deg, rgba(14,20,31,.97), rgba(9,13,21,.98));
    box-shadow:
      0 20px 42px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.05) !important;
    overflow: hidden;
}

.home-feature-shell {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home-feature-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 22px 14px;
}

.home-feature-icon-wrap {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.09);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.05),
      0 10px 24px rgba(0,0,0,.18);
}

.home-feature-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.24));
}

.home-feature-heading {
    min-width: 0;
}

.home-feature-kicker {
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(191,209,232,.64);
    margin-bottom: 6px;
}

.home-feature-title {
    display: inline-block;
    color: var(--ink);
    text-decoration: none;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 800;
    line-height: 1.1;
}

.home-feature-title:hover {
    text-decoration: underline;
}

.home-feature-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 0 22px 20px;
}

.home-feature-desc {
    margin: 0;
    color: rgba(233,240,249,.84);
    line-height: 1.7;
}

.home-feature-note {
    margin-top: auto;
    padding: 13px 15px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.07);
    color: rgba(223,232,244,.72);
    line-height: 1.55;
}

.home-feature-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.home-feature-card .cta-btn-generic {
    min-width: 136px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.11);
}

.home-feature-media {
    position: relative;
    margin: 0 14px 14px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
}

.home-feature-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.10));
    pointer-events: none;
}

.home-feature-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-feature-card-wide {
    grid-column: 1 / -1;
}

.home-feature-card-wide .home-feature-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    align-items: stretch;
}

.home-feature-card-wide .home-feature-head {
    padding-bottom: 12px;
}

.home-feature-card-wide .home-feature-body {
    padding-top: 0;
    padding-right: 24px;
}

.home-feature-card-wide .home-feature-media {
    margin: 14px;
    min-height: calc(100% - 28px);
}

.home-feature-card:hover {
    border-color: rgba(255,255,255,.15) !important;
    box-shadow:
      0 24px 46px rgba(0,0,0,.32),
      inset 0 1px 0 rgba(255,255,255,.06) !important;
    transform: translateY(-2px) !important;
    filter: none !important;
}

.vote-title {
    display: inline-block;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 8px;
    color: inherit;
    text-decoration: none;
}

/* =========================
   Hero
========================= */
.title-xl {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: .2px;
    margin: 0 0 8px;
}

.hero-landing { padding: 22px 18px; }

.hero-landing .title-xl {
    margin: 0 0 10px;
    text-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.hero-landing .sub {
    margin: 0;
    max-width: 72ch;
    color: var(--ink-muted);
    font-size: 1.06rem;
    line-height: 1.55;
}

.hero-landing .sub + .sub { margin-top: 10px; }

/* Hero CTA tweaks */
.hero-landing .hero-cta { margin: 10px 0 6px 0; }

.hero-landing .live-bar {
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
    gap: 10px;
}
/* Hero live pills (IP / Online / Votes) */
.hero-live .pill,
.hero-live .live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background:
        linear-gradient(180deg, rgba(20,37,49,.72), rgba(8,16,27,.82)),
        rgba(8,13,22,.72);
    border: 0;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        0 8px 22px rgba(0,0,0,.26);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.hero-live .pill:hover,
.hero-live .live-pill:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 10px 28px rgba(0,0,0,.32);
}

.hero-live .pill span,
.hero-live .live-pill span {
    color: rgba(255,255,255,.78);
    font-weight: 700;
}

.hero-live .pill b,
.hero-live .live-pill b {
    font-weight: 900;
    color: #fff;
}
/* =========================
   Chips
========================= */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--ink);
    border-radius: 0;
    padding: 6px 10px;
    font-size: .95em;
    transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease;
}

.chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0,0,0,.25);
    border-color: #459d4d;
}

/* Online chip avatar rounding */
.online-chip .chip-ava,
.online-chip .chip-ava img {
    border-radius: 999px !important;
    overflow: hidden !important;
}

/* real avatar = NO blue ring */
.online-chip .chip-ava:has(img) {
    background: transparent !important;
}

.online-chip .chip-ava img{
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* =========================
   Stats grid
========================= */
.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

@media (max-width:920px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
}

.stat {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--fx1);
    transition: background-color .2s ease, transform .08s ease;
}

.stat:hover {
    background: rgba(255,255,255,.06);
    transform: translateY(-1px);
}

.stat .k {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
}

.stat .l {
    margin-top: 4px;
    color: var(--ink-muted);
}

/* =========================
   Discord card
========================= */
.discord-card { padding: 0; }

.discord-card iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: 0;
    border-radius: 12px;
}

@media (max-width:700px) {
    .discord-card iframe { height: 520px; }
}

/* =========================
   Banner card
========================= */
.banner-card {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.45),
                0 0 0 1px rgba(255,255,255,.08) inset,
                0 0 28px rgba(57,166,217,.35);
}

.banner-card img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: clamp(180px, 22vw, 320px);
}

/* =========================
   Buttons
========================= */
.btn {
    position: relative;
    background: linear-gradient(180deg, #5fe176, #38b95a);
    color: #051c0c;
    border: 1px solid rgba(0,0,0,.25);
    box-shadow: 0 8px 18px rgba(48,196,93,.25), inset 0 1px 0 rgba(255,255,255,.25);
    transition: transform .08s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.btn:active {
    transform: translateY(0);
    filter: brightness(.98);
}

.btn.accent {
    background: linear-gradient(180deg, #53b1ff, #2c84cc);
    color: #061521;
    box-shadow: 0 8px 18px rgba(44,132,204,.25), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn.ghost {
    background: rgba(255,255,255,.06);
    color: #fff;
    border: 1px solid var(--fx2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(180deg, #3fd369, #1e8a3f);
    border: 1px solid #1a6f34;
    box-shadow: 0 10px 24px rgba(32,160,78,.35), inset 0 1px 0 rgba(255,255,255,.18);
}

.btn.primary:hover { filter: brightness(1.05); }
.btn.primary:active { filter: brightness(.98); }

/* =========================
   Stickers
========================= */
.stickers {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
    margin: 14px 0 20px 0;
}

@media (max-width:980px) {
    .stickers { grid-template-columns: 1fr; }
}

.sticker {
    position: relative;
    padding: 16px 16px 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(22,24,28,.70), rgba(22,24,28,.55));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
    min-height: 110px;
    overflow: hidden;
    transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease;
}

.sticker:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0,0,0,.5);
    border-color: rgba(255,255,255,.18);
}

.sticker::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(85,214,106,.5), rgba(57,166,217,.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

.sticker .label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 6px;
    letter-spacing: .2px;
}

.sticker .label::before {
    content: "★";
    font-size: 14px;
    opacity: .9;
}

.sticker:nth-child(2) .label::before { content: "🏆"; }
.sticker:nth-child(3) .label::before { content: "🛒"; }

.sticker .desc {
    color: var(--ink-muted);
    line-height: 1.5;
    font-size: .98rem;
}

/* =========================
   Footer
========================= */
footer {
    opacity: .75;
    margin: 40px auto;
}

/* =========================
   Badge
========================= */
.badge-new {
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: none;
    color: #a9f0c2;
    background: rgba(85,214,106,.10);
    border: 1px solid rgba(85,214,106,.25);
    vertical-align: middle;
    opacity: .9;
}

.badge-new::before { content: none !important; }

/* =========================
   Brand logo / icons (base)
========================= */
.brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 9px !important;
    background: transparent !important;
}

.brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 9px !important;
    display: block;
    object-fit: cover;
}

.brand.is-home::after { content: none !important; }

.brand,
.brand:hover,
.brand:active { transform: none !important; }

/* lock logo size everywhere (header context) */
.site-header .brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* lock logout icon size everywhere */
.site-header .nav-ico-img {
    width: 22px;
    height: 22px;
    image-rendering: pixelated;
    vertical-align: middle;
    display: inline-block;
}

.nav-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    opacity: .9;
}

.nav-ico:hover { opacity: 1; }

.nav-ico-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    image-rendering: pixelated;
    display: block;
}

/* =========================
   Home leaderboard
========================= */
.home-lb { padding: 18px; }

.home-lb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.home-lb-title {
    margin: 0;
    font-size: 22px;
    letter-spacing: .2px;
}

.home-lb-pill {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    opacity: .95;
}

.home-lb-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-lb-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  color: var(--ink) !important;
  text-decoration: none !important;
}

.home-lb-row:visited{ color: var(--ink) !important; }
.home-lb-row:hover{
  color: var(--ink) !important;
  text-decoration: none !important;
}

.home-lb-row .stat { color: var(--ink); opacity: .9; }

.home-lb-row + .home-lb-row { border-top: 1px solid rgba(255,255,255,.08); }

.home-lb-row:hover {
    transform: translateY(-1px);
    background: rgba(0,0,0,.32);
    border-color: rgba(255,255,255,.14);
}

.home-lb-row .rank {
    width: 26px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 650;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-lb-row .name {
    flex: 1;
    min-width: 0;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-lb-row .stat {
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-lb-row.is-top {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-lb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .2px;
    color: #cfe6ff;
    text-decoration: none;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
    transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

.home-lb-link:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.22);
    transform: translateY(-1px);
    text-decoration: none;
}

.home-lb-link .arrow { transition: transform .12s ease; }
.home-lb-link:hover .arrow { transform: translateX(2px); }

.home-lb .name.seller-link {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    padding: 0;
}

/* =========================
   Videos
========================= */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width:980px) {
    .videos-grid { grid-template-columns: 1fr; }
}

.video-tile {
    background: rgba(0,0,0,.26);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    overflow: hidden;
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-title {
    padding: 10px 12px;
    font-weight: 800;
    color: var(--ink);
    opacity: .95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   CTA fancy buttons
========================= */
.hero-cta-nice {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .2px;
    font-size: 15.5px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.35);
    box-shadow: 0 10px 26px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.10);
    transition: transform .12s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}

.cta-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0));
    pointer-events: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    border-color: rgba(255,255,255,.22);
    box-shadow: 0 16px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12);
}

.cta-btn:active {
    transform: translateY(0);
    filter: brightness(1.00);
}

.cta-ico {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 900;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
}

.cta-text { display: inline-block; line-height: 1; }

.cta-arrow {
    margin-left: auto;
    opacity: .9;
    transition: transform .12s ease;
}

.cta-btn:hover .cta-arrow { transform: translateX(2px); }

.cta-join {
    background: linear-gradient(180deg, rgba(40,181,90,.95), rgba(23,124,61,.92));
    border-color: rgba(85,214,106,.40);
    box-shadow: 0 14px 30px rgba(35,180,90,.18), 0 10px 26px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.14);
}

.cta-vote {
    background: linear-gradient(180deg, rgba(74,134,240,.95), rgba(43,100,209,.92));
    border-color: rgba(57,166,217,.40);
    box-shadow: 0 14px 30px rgba(57,166,217,.16), 0 10px 26px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.14);
}

@media (max-width:520px) {
    .cta-btn { width: 100%; justify-content: flex-start; }
    .cta-arrow { margin-left: auto; }
}

/* Generic CTA buttons */
.hero-cta-generic {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.cta-btn-generic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    min-width: 170px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.cta-btn-generic:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.20);
}

.cta-btn-generic:active { transform: translateY(0); }

.cta-btn-generic.cta-secondary {
    opacity: .9;
    background: rgba(0,0,0,.25);
}

.hero-cta-generic .hero-action-btn {
    min-width: 178px;
    min-height: 46px;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid rgba(57,166,217,.22);
    background:
        linear-gradient(180deg, rgba(20,37,49,.74), rgba(8,16,27,.84)),
        rgba(8,13,22,.74);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        0 10px 24px rgba(0,0,0,.28);
    opacity: 1;
    transform: none;
}

.hero-cta-generic .hero-action-btn:hover {
    border-color: rgba(85,214,106,.28);
    background:
        linear-gradient(180deg, rgba(25,47,61,.82), rgba(10,20,32,.9)),
        rgba(8,13,22,.78);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 12px 28px rgba(0,0,0,.34);
}

.hero-cta-generic .hero-action-btn .ui-icon-btn {
    width: 22px;
    height: 22px;
    margin-right: 0;
    object-fit: contain;
    image-rendering: pixelated;
    flex: 0 0 22px;
}

/* =========================
   Full-width layout option
========================= */
.wrap.wrap-full {
    max-width: none !important;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.wrap.wrap-full .hero-landing,
.wrap.wrap-full .banner-card {
    width: 100%;
    border-radius: 0 !important;
    margin-left: 0;
    margin-right: 0;
}

.wrap.wrap-full .hero-landing {
    padding-left: 24px;
    padding-right: 24px;
}

/* =========================
   Kill hover lift/animation for specific home sections
========================= */
.banner-card:hover,
.hero-landing:hover,
.archive-card:hover,
.perks-card:hover,
.home-lb:hover,
.discord-card:hover,
.videos-card:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.banner-card,
.hero-landing,
.archive-card,
.perks-card,
.home-lb,
.discord-card,
.videos-card {
    transition: none !important;
}

/* =========================
   Mobile tweaks (site)
========================= */
@media (max-width:768px) {
    .app { flex-direction: column; }
    .side { width: 100%; position: static; }
    .main { width: 100%; margin-left: 0; }
    h1 { font-size: 20px; }

    .home-feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-feature-card {
        border-radius: 20px;
    }

    .home-feature-head {
        padding: 18px 18px 14px;
    }

    .home-feature-body {
        padding: 0 18px 16px;
    }

    .home-feature-icon-wrap {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .home-feature-card-wide {
        grid-column: auto;
    }

    .home-feature-card-wide .home-feature-shell {
        display: flex;
    }

    .home-feature-card-wide .home-feature-body {
        padding-right: 18px;
    }

    .home-feature-media,
    .home-feature-card-wide .home-feature-media {
        margin: 0 12px 12px;
        min-height: 0;
    }

    .servers-panel,
    .overview-tiles { display: block; }

    .overview-tiles .tile {
        width: 100%;
        margin-bottom: 10px;
    }

    .wrap { padding: calc(var(--header-h) + 34px) 12px 16px; }
}

/* =========================
   Forums spacing + polish
========================= */
.forum-page .grid { display: grid; gap: 14px; }

.forum-page .archive-card {
    padding: 0;
    overflow: hidden;
}

.forum-page .archive-link {
    padding: 18px 20px;
    border-radius: inherit;
}

.forum-page .archive-card:hover { transform: none !important; }

.forum-page .card { backdrop-filter: blur(10px); }

.forum-page .glow-border::before { inset: -2px; }

/* Make default text readable on glass */
.forum-page,
.forum-page .card { color: var(--f-text); }

/* Muted helper */
.forum-page .sub,
.forum-page .meta,
.forum-page .muted { color: var(--f-muted); }

/* Links */
.forum-page a { color: var(--f-link); }
.forum-page a:hover { color: var(--f-link-h); }

/* Card polish */
.forum-page .card {
    background: var(--f-card);
    border: 1px solid var(--f-border);
    backdrop-filter: blur(10px);
}

.forum-page .card .card {
    background: var(--f-card-2);
    border-color: rgba(255,255,255,.08);
}

.forum-page .pill {
    background: var(--f-pill-bg);
    border: 1px solid var(--f-pill-b);
    color: var(--f-text);
}

.forum-page .title-xl { letter-spacing: -0.02em; }

.forum-top-actions a.pill { color: var(--f-link); }

.forum-top-actions a.pill:hover {
    color: var(--f-link-h);
    border-color: rgba(255,255,255,.18);
}

/* Clickable names look like text */
.name-btn,
.player-pill.name-btn {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
    line-height: inherit;
}

.name-btn:hover { text-decoration: underline; }

/* Forum mobile fixes */
@media (max-width:720px) {
    .forum-page .wrap { padding: 12px 12px; }
    .forum-page .card { padding: 12px; }

    .forum-page .archive-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 14px;
    }

    .forum-page .archive-icon { width: 36px; height: 36px; }

    .forum-page .archive-title {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        font-size: 1.15rem;
    }

    .forum-page .archive-desc {
        font-size: .95rem;
        line-height: 1.45;
    }

    .forum-page .pill {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 999px;
    }

    .forum-page .archive-card:hover,
    .forum-page .card:hover { transform: none !important; }

    .forum-page .card { backdrop-filter: none; }
    .forum-page .glow-border::before { inset: -1px; }
}

/* Thread top mobile layout */
@media (max-width:720px) {
    .thread-top {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    .thread-top-left,
    .thread-top-actions { width: 100% !important; }

    .thread-top-actions {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .thread-top-actions > div {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .title-xl {
        font-size: 22px !important;
        line-height: 1.15 !important;
        word-break: break-word !important;
    }
}

/* =========================
   NO ROUND CORNERS ANYWHERE (kept where it was logically)
========================= */
.card,
.stat,
.video-tile,
.discord-card iframe,
.hero-landing .hero-cta .btn,
.hero-cta-nice .cta-btn,
.cta-ico,
.home-lb-pill,
.nav-dropdown-inner,
.nav-dropdown-inner a,
.badge-new,
.banner-card,
.banner-card img {
    border-radius: 0 !important;
}

.home-lb-row,
.home-lb-row .rank,
.home-lb-row .stat { border-radius: 0 !important; }

/* brand logo: softly rounded square */
.nav a.brand {
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border-radius: 9px !important;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav a.brand img,
.brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 9px !important;
    object-fit: cover;
    display: block;
}

/* =========================
   Nav avatar + alignment
========================= */
.nav-me {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-me-img {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: block;
    background: rgba(255,255,255,.06);
    overflow: hidden;
}

.nav-me-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
    display: block;
}

/* make the whole nav row vertically centered */
.site-header .nav { align-items: center; }

/* make the <nav> row also centered */
.site-header .nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header .nav-menu > a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: var(--header-h);
    padding: 0 0;
}

.site-header .nav-menu a.nav-me {
    display: inline-flex;
    align-items: center;
    height: var(--header-h);
    padding: 0;
}

.site-header .nav-me-img {
    display: block;
    width: 38px;
    height: 38px;
}

/* =========================
   Online chip avatar fixes
========================= */
.online-chip .chip-ava {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    overflow: hidden !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: inherit !important;
    font-weight: 900 !important;
    font-size: 11px !important;
}

/* fallback (letter) ONLY when no <img> inside */
.online-chip .chip-ava:not(:has(img)) {
    background: #3f4652 !important;
    color: #fff !important;
}
.online-chip .chip-ava {
  background: #3f4652;
  color: #fff;
}
.online-chip .chip-ava img {
  background: transparent;
}
.online-chip .chip-ava img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Online chip text sitting low */
.online-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    line-height: 1 !important;
    padding: 6px 12px !important;
}

.online-chip .chip-name,
.online-chip .name,
.online-chip span {
    line-height: 1 !important;
    transform: translateY(-1px);
}

/* Avatars stay round (override square theme) */
.nav-me-img,
.nav-me-img img,
.chip-ava,
.chip-ava img {
    border-radius: 999px !important;
    overflow: hidden !important;
}

.nav a.brand,
.nav a.brand img,
.brand-logo {
    border-radius: 9px !important;
    overflow: hidden !important;
}

/* make sure chip avatar never inherits square sizing */
.chip-ava {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
}

/* leaderboard chips */
.lb-chip {
    padding: 6px 10px;
    font-size: 13px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================
   Forums: kill hover lift on forum cards
========================= */
.forum-page .archive-card:hover,
.forum-page .card:hover { transform: none !important; }

/* =========================
   Chat widget (scoped)
========================= */
#ozz-chat {
    position: fixed;
    right: 12px;
    bottom: 18px;
    z-index: 9998;
    font: 14px/1.35 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    --ozc-top-h: 44px;
    --ozc-bottom-h: 62px;
}
#ozz-chat .ozc-fab {
    position: relative;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}
#ozz-chat .ozc-fab:hover {
    filter: brightness(1.06);
}
#ozz-chat .ozc-fab-img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
    pointer-events: none;
}

#ozz-chat .ozc-text .ozc-item {
    width: 22px;
    height: 22px;
    vertical-align: -4px;
    image-rendering: pixelated;
    margin: 0 2px;
}

.oz-itemstack{
  position:relative;
  display:inline-block;
  width:22px;
  height:22px;
  vertical-align:-4px;
  margin: 0 2px;
}

.oz-itemstack img{
  width:100%;
  height:100%;
  image-rendering: pixelated;
  display:block;
}

.oz-itemstack-num{
  position:absolute;
  left:-4px;
  top:-6px;
  z-index:2;
  font-weight:900;
  font-size:7px;
  line-height:1;
  padding:1px 2px;
  border-radius:999px;
  background:rgba(0,0,0,.68);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.8);
  pointer-events:none;
}

/* badge */
.ozc-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #0a0e16;
}

.ozc-badge[hidden] { display: none !important; }

/* panel */
#ozz-chat .ozc-panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: min(360px, calc(100vw - 24px));
    height: 520px;
    background: rgba(10,14,22,.94);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
    display: flex;
    flex-direction: column;
}

/* open state */
#ozz-chat.is-open .ozc-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#ozz-chat.is-open .ozc-fab { opacity: .92; }

/* top bar */
#ozz-chat .ozc-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
}

#ozz-chat .ozc-top-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#ozz-chat .ozc-title {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -.01em;
}

#ozz-chat .ozc-title-count {
    color: rgba(255,255,255,.66);
    font-weight: 700;
    letter-spacing: 0;
}

#ozz-chat .ozc-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#ozz-chat .ozc-channel {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: #d7e7fb;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
}

#ozz-chat .ozc-channel:hover {
    background: rgba(255,255,255,.09);
}

#ozz-chat .ozc-channel.is-active {
    background: rgba(117, 196, 255, .18);
    border-color: rgba(117, 196, 255, .4);
    color: #f2f8ff;
}

#ozz-chat .ozc-close {
    border: 0;
    background: transparent;
    color: var(--ink);
    opacity: .8;
    cursor: pointer;
    font-size: 16px;
    padding: 0 6px;
}

#ozz-chat .ozc-close:hover { opacity: 1; }

/* body */
#ozz-chat .ozc-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 12px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#ozz-chat .ozc-body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

#ozz-chat .ozc-empty {
    opacity: .7;
    font-size: 13px;
}

#ozz-chat .ozc-loading {
    display: grid;
    gap: 18px;
    padding: 8px 2px;
}

#ozz-chat .ozc-loading-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#ozz-chat .ozc-loading-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

#ozz-chat .ozc-loading-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 2px;
}

#ozz-chat .ozc-loading-avatar,
#ozz-chat .ozc-loading-name,
#ozz-chat .ozc-loading-message {
    position: relative;
    display: block;
    overflow: hidden;
    background: rgba(255,255,255,.065);
}

#ozz-chat .ozc-loading-avatar::after,
#ozz-chat .ozc-loading-name::after,
#ozz-chat .ozc-loading-message::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.11) 42%, transparent 82%);
    transform: translateX(-100%);
    animation: ozc-loading-sweep 1.2s ease-in-out infinite;
}

#ozz-chat .ozc-loading-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

#ozz-chat .ozc-loading-name {
    width: 104px;
    height: 10px;
    border-radius: 999px;
}

#ozz-chat .ozc-loading-name.is-short {
    width: 72px;
}

#ozz-chat .ozc-loading-message {
    width: 68%;
    height: 30px;
    border-radius: 10px;
}

#ozz-chat .ozc-loading-message.is-wide {
    width: 92%;
}

#ozz-chat .ozc-loading-row:nth-child(3) .ozc-loading-avatar::after,
#ozz-chat .ozc-loading-row:nth-child(3) .ozc-loading-name::after,
#ozz-chat .ozc-loading-row:nth-child(3) .ozc-loading-message::after {
    animation-delay: .12s;
}

#ozz-chat .ozc-loading-row:nth-child(4) .ozc-loading-avatar::after,
#ozz-chat .ozc-loading-row:nth-child(4) .ozc-loading-name::after,
#ozz-chat .ozc-loading-row:nth-child(4) .ozc-loading-message::after {
    animation-delay: .24s;
}

@keyframes ozc-loading-sweep {
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    #ozz-chat .ozc-loading-avatar::after,
    #ozz-chat .ozc-loading-name::after,
    #ozz-chat .ozc-loading-message::after {
        animation: none;
    }
}


/* login */
#ozz-chat .ozc-login {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #cfe6ff;
    font-weight: 800;
}


#ozz-chat .ozc-input {
    width: 100%;
    height: 38px;
    line-height: 38px;
    padding: 0 10px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.22);
    color: var(--ink);
    outline: none;
    font-size: 14px;
}

#ozz-chat .ozc-input:focus {
    border-color: rgba(57,166,217,.45);
    box-shadow: 0 0 0 2px rgba(57,166,217,.12);
}
#ozz-chat .ozc-bottom {
    flex: 0 0 auto;
    padding: 10px 12px 12px;
    background: transparent;
    border: 0;
}

#ozz-chat .ozc-form {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    min-height: 52px;
    padding: 8px 8px 8px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px !important;
    background: rgba(18,24,34,.96);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 12px 32px rgba(0,0,0,.22);
}

    #ozz-chat .ozc-form:focus-within {
        border-color: rgba(255,255,255,.24);
        background: rgba(22,29,40,.98);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.06),
            0 14px 36px rgba(0,0,0,.28),
            0 0 0 3px rgba(57,166,217,.10);
    }

#ozz-chat .ozc-send {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    border-radius: 50% !important;
    background: rgba(245,247,250,.96);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 1px;
    transition: transform .15s ease, opacity .15s ease, filter .15s ease;
}

    #ozz-chat .ozc-send:hover {
        transform: scale(1.04);
        filter: brightness(.96);
    }

    #ozz-chat .ozc-send:active {
        transform: scale(.98);
    }

    #ozz-chat .ozc-send:disabled {
        opacity: .55;
        cursor: not-allowed;
        transform: none;
        filter: none;
    }

    #ozz-chat .ozc-send svg {
        width: 17px;
        height: 17px;
        display: block;
        fill: currentColor;
    }
/* message groups */
#ozz-chat .ozc-group {
    padding: 8px 6px;
    border-top: 0 !important;
}

#ozz-chat .ozc-bubble-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

#ozz-chat .ozc-bubble {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    color: rgba(238,241,241,.92);

    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

#ozz-chat .ozc-gif-list {
    display: grid;
    gap: 8px;
    width: min(320px, 100%);
    margin-top: 7px;
    white-space: normal;
}

#ozz-chat .ozc-gif-preview {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(0,0,0,.24);
}

#ozz-chat .ozc-gif-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 320px;
    margin: 0 auto;
    object-fit: contain;
}

#ozz-chat .ozc-gif-loading {
    min-height: 96px;
    display: grid;
    place-items: center;
    color: rgba(238,241,241,.55);
    font-family: system-ui, sans-serif;
    font-size: 10px;
}

#ozz-chat .ozc-gif-source {
    display: block;
    padding: 6px 8px;
    color: rgba(185,221,255,.86);
    font-family: system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

#ozz-chat .ozc-gif-source:hover {
    color: #fff;
    text-decoration: underline;
}

/* avatar */
#ozz-chat .ozc-ava {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: transparent;
    color: #fff;
    font-weight: 900;
    font-size: 10px;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* fallback only (no <img>) */
#ozz-chat .ozc-ava:not(:has(img)) { background: #3f4652; }

#ozz-chat .ozc-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

/* header layout: avatar + name + time */
#ozz-chat .ozc-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

#ozz-chat .ozc-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

/* merged (kept final behaviour: font inherits) */
#ozz-chat .ozc-name{
    letter-spacing: .15px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,.9) !important;

    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
}

#ozz-chat .ozc-name:hover{ text-decoration: underline; }

#ozz-chat .ozc-time {
    margin-left: auto;
    font-size: 11px;
    opacity: .6;
    font-weight: 700;
    white-space: nowrap;
}

#ozz-chat .ozc-bubble-stack { margin-left: 38px; }

/* delete button */
.ozc-bubble {
    position: relative;
    padding-right: 34px;
}

.ozc-del {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    font-size: 14px;
    line-height: 1;
}

.ozc-bubble:hover .ozc-del { opacity: .9; }
.ozc-del:hover { opacity: 1; }

/* loading sentinel */
#ozz-chat .ozc-top-sentinel[data-loading="1"]::after {
    content: "Loading…";
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    opacity: .7;
    text-align: center;
}

.ozc-unread-divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 10px 8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#ff4d4d;
}
.ozc-unread-divider::before,
.ozc-unread-divider::after{
  content:"";
  height:1px;
  flex:1;
  background: rgba(255,77,77,.55);
}
.ozc-unread-divider span{
  padding:2px 8px;
  border:1px solid rgba(255,77,77,.45);
  background: rgba(255,77,77,.08);
}

/* day divider */
#ozz-chat .ozc-day-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    opacity: .85;
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
}

#ozz-chat .ozc-day-divider::before,
#ozz-chat .ozc-day-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.14);
}

#ozz-chat .ozc-day-divider span {
    white-space: nowrap;
    padding: 0 6px;
}

/* chat mobile: full-screen modal */
@media (max-width:520px) {
    html.ozc-mobile-open,
    body.ozc-mobile-open {
        overflow: hidden;
        touch-action: none;
    }

    #ozz-chat {
        right: 12px;
        bottom: 12px;
    }

    #ozz-chat.is-open {
        inset: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        background: rgba(2,5,10,.72);
    }

    #ozz-chat.is-open .ozc-fab {
        display: none;
    }

    #ozz-chat .ozc-panel {
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        border: 0;
        transform: translateY(0);
    }
}
}

/* =========================
   Item Guess layout: game left, chat right
========================= */
.ig-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 12px;
    align-items: start;
}

.ig-main { min-width: 0; }

.ig-chat {
    position: sticky;
    top: 90px;
    height: calc(100vh - 110px);
    min-height: 520px;
}

/* embedded chat behaviour */
.ig-chat #ozz-chat {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    font: inherit;
    height: 100%;
    display: flex;
}

.ig-chat #ozz-chat .ozc-fab { display: none !important; }

.ig-chat #ozz-chat .ozc-panel {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

/* stop chat being skyscraper */
.ig-chat #ozc-panel {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    max-height: 520px;
    display: flex;
    flex-direction: column;
}

.ig-chat #ozc-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.ig-chat .ozc-bottom {
    flex: 0 0 auto;
    padding: 8px;
}

.ig-chat #ozc-close { display: none !important; }
.ig-chat .ozc-grab { display: none !important; }

/* item guess mobile: stack */
@media (max-width:980px) {
    .ig-layout { grid-template-columns: 1fr; }
    .ig-chat { position: static; height: 520px; }
}

/* ===== Daily Drop Modal ===== */
.oz-modal[hidden]{display:none}
.oz-modal{position:fixed;inset:0;z-index:9999}
.oz-modal:not([hidden]) .oz-modal-backdrop{animation:ozModalBackdropIn .18s ease-out both}
.oz-modal:not([hidden]) .oz-modal-card{animation:ozModalCardIn .24s cubic-bezier(.18, .82, .32, 1.12) both}
.oz-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(4px)}
.oz-modal-card {
    position: relative;
    width: min(560px, calc(100vw - 28px));
    margin: 70px auto 0;
    background: linear-gradient(180deg, rgba(7,14,28,.97), rgba(4,9,20,.97));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 20px 70px rgba(0,0,0,.62);
    padding: 16px;
}
@keyframes ozModalBackdropIn{
    from{opacity:0}
    to{opacity:1}
}
@keyframes ozModalCardIn{
    0%{opacity:0;transform:translateY(18px) scale(.965)}
    70%{opacity:1;transform:translateY(-2px) scale(1.012)}
    100%{opacity:1;transform:translateY(0) scale(1)}
}
@media (prefers-reduced-motion: reduce){
    .oz-modal:not([hidden]) .oz-modal-backdrop,
    .oz-modal:not([hidden]) .oz-modal-card{
        animation:none;
    }
}
#daily-modal{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, visibility .22s ease;
}
#daily-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
#daily-modal .oz-modal-card{
    border-radius:22px;
    overflow:hidden;
    opacity:0;
    transform:translateY(14px) scale(.985);
    transition:opacity .22s ease, transform .22s ease;
}
#daily-modal.is-open .oz-modal-card{
    opacity:1;
    transform:translateY(0) scale(1);
}
.oz-modal-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 2px 10px}
.oz-modal-title{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    letter-spacing:.2px;
    line-height:1;
}
#daily-modal .oz-modal-top{
    justify-content:center;
    padding:6px 2px 14px;
}
#daily-modal .oz-modal-title{
    width:100%;
    justify-content:center;
    text-align:center;
    font-family:-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-size:34px;
    font-weight:750;
    letter-spacing:-.7px;
}
.oz-modal-x{background:transparent;border:0;color:inherit;font-size:18px;opacity:.85;cursor:pointer}
.oz-modal-x:hover{opacity:1}

.oz-modal-body{padding:8px 2px 10px}
.oz-daily-loading{
  min-height:300px;
  display:grid;
  place-items:center;
}
.oz-daily-loading-spinner{
  display:block;
  width:30px;
  height:30px;
  border:3px solid rgba(255,255,255,.13);
  border-top-color:#648cff;
  border-radius:50%;
  transform-origin:center;
  will-change:transform;
  animation:oz-daily-loading-spin .75s linear infinite !important;
}
@keyframes oz-daily-loading-spin{to{transform:rotate(360deg)}}
.oz-daily-footer{
  margin:4px 2px 0;
  padding:13px 8px 2px;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.62);
  font-size:12px;
  line-height:1.4;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
.oz-modal-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:6px;border-top:1px solid rgba(255,255,255,.10)}

.oz-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:inherit;
  padding:10px 12px;
  cursor:pointer;
}
.oz-btn:hover{background:rgba(255,255,255,.09)}
.oz-btn.primary{
  border-color: rgba(85,214,106,.45);
  background: rgba(85,214,106,.10);
}
.oz-btn.primary:hover{background: rgba(85,214,106,.16)}

.oz-daily-big{ font-size:32px; line-height:1; margin:6px 0 8px; }
.oz-daily-sub{opacity:.8;font-size:13px}
.oz-wheel-debug + .oz-daily-sub{display:none}
.oz-daily-timer{
  font-variant-numeric: tabular-nums;
  font-size:22px;
  letter-spacing:.5px;
  margin-top:8px;
}
.oz-daily-reward{
  display:grid;
  width:min(320px,100%);
  gap:8px;
  margin:18px auto 0;
}
.oz-reward-line{
  display:grid;
  grid-template-columns:34px 76px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-height:36px;
  font-variant-numeric: tabular-nums;
  text-align:left;
}
.oz-reward-line-item{
  margin-top:2px;
}
.oz-reward-ico.oz-reward-item-ico{
  width:30px;
  height:30px;
}
.oz-reward-label{
  color:rgba(255,255,255,.62);
  font-size:11px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.oz-reward-value{
  min-width:0;
  color:#f4f7ff;
  font-size:17px;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.oz-reward-item-name{font-size:16px}
.oz-reward-ico{
  width:28px;
  height:28px;
  object-fit:contain;
  justify-self:center;
}
.oz-tier-common {
    border-color: rgba(63,169,91,.55);
    box-shadow: 0 0 0 2px rgba(63,169,91,.10);
}

.oz-tier-rare {
    border-color: rgba(245,158,11,.55);
    box-shadow: 0 0 0 2px rgba(245,158,11,.10);
}

.oz-tier-legendary {
    border-color: rgba(59,130,246,.55);
    box-shadow: 0 0 0 2px rgba(59,130,246,.10);
}
.nav-daily{position:relative}
.nav-daily.glow { text-shadow: 0 0 18px rgba(85,214,106,.35); }
.nav-daily-countdown{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  color:var(--ink);
  font-size:11px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  line-height:1;
  text-shadow:0 1px 3px rgba(0,0,0,.9);
  pointer-events:none;
  transition:opacity .14s ease;
}
.nav-daily[data-state="cooldown"]:hover .nav-daily-ico,
.nav-daily[data-state="cooldown"]:focus-visible .nav-daily-ico{
  opacity:.18;
}
.nav-daily[data-state="cooldown"]:hover .nav-daily-countdown,
.nav-daily[data-state="cooldown"]:focus-visible .nav-daily-countdown{
  opacity:1;
}

/* ===== Daily Drop button: match nav links ===== */
.site-header .nav-menu .nav-daily{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height: var(--header-h);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  opacity: .9;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
}

.site-header .nav-menu .nav-daily:hover{ opacity: 1; }

/* optional: subtle underline vibe on hover (not active) */
.site-header .nav-menu .nav-daily:hover{ filter: brightness(1.05); }

.nav-daily-ico { width: 45px; height: 45px; image-rendering: pixelated; display: block; }
.site-header .nav-menu > a.nav-donate{
  display:inline-flex;
  align-items:center;
  height: var(--header-h);
  padding: 0;
}
.nav-donate-ico { width: 45px; height: 45px; image-rendering: pixelated; display: block; }
.oz-reward-ico { width: 22px; height: 22px; image-rendering: pixelated; display: inline-block; vertical-align: -3px; margin-right: 0; }
/* Stop iOS zoom on input focus */
@media (max-width: 720px) {
    input, textarea, select, button { font-size: 16px !important; }
}

/* =========================
   Home – Latest forum activity polish
========================= */
.home-lb .home-lb-row {
    padding: 12px 14px;
    transition: background .15s ease;
}

.home-lb .home-lb-row:hover { background: rgba(0,0,0,.35); }

.home-lb .home-lb-row > div:first-child { min-width: 0; }

.home-lb .home-lb-row > div:first-child > div:first-child {
    font-weight: 900;
    font-size: 15px;
}

.home-lb .home-lb-row > div:first-child > div:last-child {
    font-size: 13px;
    opacity: .75;
}

.home-lb .stat {
    font-weight: 900;
    font-size: 14px;
    opacity: .9;
}

/* Forum thread rows */
.forum-page .forum-thread {
    text-decoration: none;
    padding: 12px;
    background: rgba(16,18,20,.35);
    border: 1px solid rgba(255,255,255,.08);
}

.forum-page .forum-search {
    flex: 1;
    min-width: 220px;
    padding: 10px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.25);
    color: #fff;
}

.linklike {
    color: #8ab4ff;
    text-decoration: underline;
    font-weight: 700;
}

.archive-link:hover .linklike { filter: brightness(1.08); }

.seen-pill {
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    background: rgba(85,214,106,.12);
    border: 1px solid rgba(85,214,106,.22);
    color: rgba(191,255,214,.9);
}

#ozz-chat .ozc-editor {
    flex: 1 1 auto;
    width: auto;
    min-height: 18px;
    max-height: 80px;
    padding: 6px 4px;
    line-height: 1.2;
    border: 0;
    background: transparent;
    color: var(--ink);
    outline: none;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-y: auto;
}

    #ozz-chat .ozc-editor:focus {
        border: 0;
        box-shadow: none;
    }

    #ozz-chat .ozc-editor:empty::before {
        content: attr(data-placeholder);
        opacity: .55;
        display: block;
        line-height: 1.2;
        transform: translateY(1px); /* tiny nudge = visually centered */
    }

/* inline item images inside editor */
#ozz-chat .ozc-editor .ozc-item{
  width: 22px;
  height: 22px;
  vertical-align: -4px;
  image-rendering: pixelated;
  margin: 0 2px;
}
#ozz-chat .ozc-editor .oz-itemstack{ vertical-align: -4px; }

#ozz-chat .ozc-bubble.is-pending{
  opacity: .55 !important;
  filter: saturate(.7) grayscale(.15) !important;
}

#ozz-chat .ozc-bubble.is-failed{
  opacity: 1 !important;
  outline: 1px solid rgba(255,80,80,.6) !important;
}

.ozc-sendstate{
  display:block;
  margin-top:6px;
  font-size:12px;
  opacity:.75;
  user-select:none;
}
.ozc-bubble.is-failed .ozc-sendstate{ opacity:1; }

#ozz-chat .ozc-bubble.is-pending{
  background: rgba(255,255,255,.04) !important;
  border-radius: 0 !important;
}

.stat-comments{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.stat-comments .comment-ico{
  width:16px;
  height:16px;
  display:block;
  fill:currentColor;
  opacity:.9;
}

.home-forum-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  opacity:.8;
  font-size:13px;
  margin-top:4px;
}

.home-forum-meta-left{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.forum-avatars{
  display:inline-flex;
  align-items:center;
}

.forum-ava-btn:first-child{ margin-left:0; }

.forum-ava-btn{
  width:16px;
  height:16px;
  padding:0;
  border:0;
  background:transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:-5px;
  border-radius:999px;
}

.forum-ava-btn .chip-ava{
  width:16px;
  height:16px;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  line-height:1;
}

.forum-ava-btn .chip-ava img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:999px;
}

/* Latest forum activity: push avatars + replies to far right */
.home-lb-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  text-decoration:none;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  transition:all .2s ease;
  color:#fff;
}

.home-lb-btn:hover{
  background:linear-gradient(90deg, var(--brand), var(--brand-2));
  border-color:transparent;
  box-shadow:0 0 10px rgba(0,255,200,.25);
  transform:translateY(-1px);
}

.home-lb-btn .arrow{ transition:transform .2s ease; }
.home-lb-btn:hover .arrow{ transform:translateX(4px); }

.home-lb-row > div:first-child{
  flex: 1;
  min-width: 0;
}

.home-forum-right{
  margin-left: auto;
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.forum-cat-icon{
  width:14px;
  height:14px;
  object-fit:contain;
  margin-right:6px;
  vertical-align:-2px;
  opacity:.9;
}
/* Server IP pill */
.ip-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(18,22,30,.96), rgba(10,13,19,.96));
    border: 1px solid rgba(255,255,255,.12);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 22px rgba(0,0,0,.30);
    transition: transform .08s ease, border-color .2s ease, box-shadow .2s ease;
}

.ip-pill b {
    font-weight: 900;
    color: #fff;
}

.ip-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.38);
}
/* ===== Video Carousel ===== */
.vid-carousel{
  overflow:hidden;
  border-radius: 16px;
}

.vid-track{
  display:flex;
  gap: 0;
  transform: translateX(0);
  transition: transform .28s ease;
  will-change: transform;
}

.vid-slide{
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

/* shrink the actual video size */
.videos-card .video-embed{
  max-width: 560px;
  margin: 0 auto;
}

.vid-btn{
  width:38px;
  height:38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  cursor:pointer;
}
.vid-btn:active{ transform: translateY(1px); }

.vid-dots{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:10px;
}

.vid-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:0;
  background: rgba(255,255,255,.25);
  cursor:pointer;
  padding:0;
}
.vid-dot.is-active{ background: rgba(255,255,255,.85); }

/* ===== Home top layout ===== */
.home-top-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:12px;
  align-items:start;
}

.discord-side iframe{
  width:100%;
  height:100%;
  min-height:420px;
  border:0;
}

/* Mobile stack */
@media (max-width:980px){
  .home-top-grid{ grid-template-columns: 1fr; }
  .discord-side iframe{ height:520px !important; }
}

.discord-side{
  border: 0 !important;
  box-shadow: none !important;
}
#ozz-chat .ozc-editor {
    flex: 1 1 auto;
    width: auto;
    min-height: 34px;
    max-height: 96px;
    line-height: 20px;
    padding: 7px 0;
    font-size: 14px;
    color: rgba(244,247,251,.95);
}

#ozz-chat .ozc-editor:empty::before {
    color: rgba(244,247,251,.62);
    line-height: 20px;
    transform: none;
}

#ozz-chat .ozc-name,
#ozz-chat .ozc-text,
#ozz-chat .ozc-editor {
    font-family: "Patrick Hand", cursive;
    letter-spacing: 0;
}

#ozz-chat .ozc-name {
    font-size: 18px;
    line-height: 1;
}

#ozz-chat .ozc-text {
    font-size: 21px;
    line-height: 1.08;
}

#ozz-chat .ozc-editor {
    font-size: 21px;
    line-height: 1.08;
}

@supports (-webkit-touch-callout: none) {
    #ozz-chat .ozc-editor,
    #ozz-chat .ozc-input,
    #ozz-chat .ozc-send {
        font-size: 16px !important;
    }
}
.oz-wheel-wrap {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 18px auto 20px;
}
.oz-wheel-wrap.is-disabled .oz-wheel {
    filter: grayscale(.75) brightness(.58);
    opacity: .72;
}
.oz-wheel-wrap.is-disabled .oz-wheel-pointer {
    opacity: .55;
}
.oz-wheel-cooldown {
    position: absolute;
    inset: 42px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(4,9,20,.82) 0%, rgba(4,9,20,.68) 58%, rgba(4,9,20,.34) 100%);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 0 26px rgba(0,0,0,.34), 0 10px 28px rgba(0,0,0,.24);
    pointer-events: none;
}
.oz-wheel-cooldown .oz-daily-big {
    font-size: 26px;
    margin: 0 0 8px;
}
.oz-wheel-cooldown .oz-daily-timer {
    margin-top: 7px;
}

.oz-wheel-pointer {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 18px solid #f3f4f6;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

.oz-wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    transform: rotate(0deg);
    border: 0;
    box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 0 0 6px rgba(255,255,255,.12), inset 0 2px 10px rgba(255,255,255,.06);
    background: var(--daily-wheel-bg, #3fa95b);
}

    .oz-wheel::before {
        content: "";
        position: absolute;
        inset: 6px;
        border-radius: 50%;
        background:
            repeating-conic-gradient(from -90deg, rgba(255,255,255,.16) 0deg 1.2deg, transparent 1.2deg 18deg),
            radial-gradient(circle at 50% 30%, rgba(255,255,255,.14), rgba(255,255,255,0) 46%);
        pointer-events: none;
    }

.oz-wheel-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .02em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.45);
    box-shadow: 0 3px 10px rgba(0,0,0,.24);
    z-index: 2;
}

.oz-wheel-marker.common {
    background: rgba(33, 84, 48, .86);
}

.oz-wheel-marker.rare {
    background: rgba(137, 84, 8, .92);
}

.oz-wheel-marker.legendary {
    background: rgba(28, 74, 156, .92);
}

.oz-wheel-legend {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto 12px;
}

.oz-wheel-debug {
    margin: 0 auto 12px;
    max-width: 320px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(6, 14, 32, .72);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.oz-wheel-legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
}

.oz-wheel-legend-chip span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}

.oz-wheel-legend-chip.common span {
    background: #3fa95b;
}

.oz-wheel-legend-chip.rare span {
    background: #f59e0b;
}

.oz-wheel-legend-chip.legendary span {
    background: #3b82f6;
}
    /* =========================
   Footer links polish
========================= */
footer{
  opacity: 1;
  margin: 40px auto;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

footer a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color .18s ease, opacity .18s ease;
}

footer a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .2s ease;
}

footer a:hover{
  color: #fff;
}

footer a:hover::after{
  width: 100%;
}

footer > div{
  border-top: 0;
}

footer div:first-child{
  color: rgba(255,255,255,.58);
  font-size: 14px;
}
.archive-title,
.vote-title {
    color: inherit;
    text-decoration: none;
}

.archive-title:visited,
.vote-title:visited {
    color: inherit;
}

.archive-title:hover,
.vote-title:hover {
    text-decoration: underline;
}
