:root {
  --poe-bg: #0b0a0d;
  --poe-bg-2: #141014;
  --poe-surface: #18161c;
  --poe-surface-2: #211c23;
  --poe-surface-3: #2a2026;
  --poe-border: #3a333a;
  --poe-border-soft: #2a252b;
  --poe-text: #ede7df;
  --poe-muted: #b7aaa2;
  --poe-faint: #8f827b;
  --poe-gold: #b9935a;
  --poe-gold-2: #d2b074;
  --poe-accent: #8f4d46;
  --poe-accent-2: #5b343a;
  --poe-ink: #15110d;
}

html {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% -16%, rgba(143, 77, 70, .18), transparent 34rem),
    radial-gradient(circle at 86% 8%, rgba(185, 147, 90, .08), transparent 30rem),
    linear-gradient(180deg, var(--poe-bg-2) 0, var(--poe-bg) 38rem);
  color: var(--poe-text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

.site-topbar {
  background: #080709;
  border-bottom: 1px solid rgba(210,176,116,.08);
  backdrop-filter: none;
  z-index: 100;
}

.navbar {
  min-height: 40px;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand-sigil,
.rail-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--poe-ink);
  background: linear-gradient(135deg, var(--poe-gold-2), var(--poe-gold));
  border: 1px solid rgba(237,231,223,.14);
  font-weight: 800;
}

.navbar .nav-link {
  color: #e8dfd6;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  padding: .75rem 1rem;
  border-bottom: 0;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--poe-gold-2);
  background: transparent;
}

.navbar .dropdown-toggle::after {
  margin-left: .45rem;
  vertical-align: .12em;
  border-top-color: var(--poe-faint);
}

.mega-menu {
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  margin-top: 0;
  padding: 0;
  color: var(--poe-text);
  background: #0a0809;
  border: 0;
  border-radius: 0;
  box-shadow: 0 22px 40px rgba(0,0,0,.52);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr .95fr .95fr .95fr 1.05fr;
  gap: 2.25rem;
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding: 1.7rem 0 1.9rem;
}

.mega-menu h3 {
  margin: 0 0 .85rem;
  color: #eee6dd;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
}

.mega-menu h3:not(:first-child) {
  margin-top: 1.55rem;
}

.mega-menu a {
  display: block;
  color: var(--poe-muted);
  font-size: .96rem;
  line-height: 1.45;
  padding: .22rem 0;
}

.mega-menu a:hover {
  color: var(--poe-gold-2);
}

.page-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0;
}

.btn-warning,
.gold-button {
  --bs-btn-bg: var(--poe-gold);
  --bs-btn-border-color: var(--poe-gold);
  --bs-btn-color: var(--poe-ink);
  --bs-btn-hover-bg: var(--poe-gold-2);
  --bs-btn-hover-border-color: var(--poe-gold-2);
  color: var(--poe-ink);
  background: linear-gradient(180deg, var(--poe-gold-2), var(--poe-gold));
  border: 1px solid var(--poe-gold);
  font-weight: 700;
}

.ghost-button,
.gold-button {
  min-height: 40px;
  padding: .5rem .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .375rem;
}

.ghost-button {
  color: var(--poe-text);
  background: rgba(237,231,223,.045);
  border: 1px solid var(--poe-border);
}

.large {
  min-height: 50px;
  padding: .75rem 1.2rem;
}

.user-pill {
  color: var(--poe-gold-2);
  font-weight: 650;
}

.account-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .25rem .65rem .25rem .35rem;
  color: var(--poe-text);
  background: rgba(237,231,223,.045);
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
}

.account-toggle img,
.account-toggle span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  object-fit: cover;
  color: var(--poe-ink);
  background: linear-gradient(135deg, var(--poe-gold-2), var(--poe-gold));
  border-radius: .4rem;
  font-weight: 800;
}

.account-toggle strong {
  font-size: .9rem;
}

.account-dropdown {
  min-width: 210px;
  padding: .4rem;
  background: #121015;
  border: 1px solid var(--poe-border);
  border-radius: .55rem;
}

.account-dropdown .dropdown-item {
  color: var(--poe-text);
  border-radius: .35rem;
}

.account-dropdown .dropdown-item:hover,
.account-dropdown .dropdown-item:focus {
  color: var(--poe-gold-2);
  background: rgba(237,231,223,.06);
}

.eyebrow,
.panel-label,
.article-row span,
.meta-row span {
  color: var(--poe-gold-2);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(210,176,116,.1);
}

.hero-full {
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,10,13,.55) 0%, rgba(11,10,13,.82) 60%, rgba(11,10,13,.98) 100%);
}

.hero-body {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero-copy {
  text-align: center;
  max-width: 860px;
}

.hero-copy .eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .35rem .8rem;
  color: var(--poe-ink);
  background: linear-gradient(135deg, var(--poe-gold-2), var(--poe-gold));
  border-radius: .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero h1 {
  max-width: 860px;
  color: #f1ebe4;
  font-size: clamp(2.2rem, 4.4vw, 4.35rem);
  line-height: 1.08;
  font-weight: 700;
}

.hero-copy > p {
  max-width: 640px;
  margin: 1.1rem auto 0;
  color: rgba(237,231,223,.75);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
}

.row-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}

.row-actions form {
  display: inline-flex;
}

.table-row.is-pinned {
  background: rgba(185,147,90,.06);
  border-left: 3px solid var(--poe-gold);
}

.ghost-button.is-pinned-btn {
  color: var(--poe-gold-2);
  border-color: rgba(185,147,90,.55);
  background: rgba(185,147,90,.12);
}

.hero-quicknav {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  padding-bottom: 2rem;
}

.hero-quicknav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 1.1rem .6rem;
  color: var(--poe-text);
  background: rgba(20, 16, 20, .72);
  border: 1px solid rgba(237,231,223,.1);
  border-radius: .75rem;
  backdrop-filter: blur(8px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hero-quicknav a:hover {
  transform: translateY(-3px);
  border-color: rgba(185,147,90,.55);
  background: rgba(33, 28, 35, .88);
}

.quick-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--poe-ink);
  background: linear-gradient(135deg, var(--poe-gold-2), var(--poe-gold));
  border-radius: .55rem;
  font-size: 1.3rem;
  line-height: 1;
}

.quick-label {
  font-size: .88rem;
  font-weight: 650;
}

.content-hero p,
.rich-content p,
.rich-content li,
.build-card p,
.article-row p,
.sidebar-block p,
.muted {
  color: var(--poe-muted);
  line-height: 1.7;
}

.section-block,
.sidebar-block,
.build-card,
.article-row article,
.forum-category,
.post-card,
.auth-panel,
.seo-panel,
.admin-grid article,
.toc-panel,
.toc-editor-section,
.slug-preview,
.template-choice,
.table-panel {
  background: linear-gradient(180deg, rgba(33,28,35,.96), rgba(20,17,22,.96));
  border: 1px solid var(--poe-border);
  border-radius: .65rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.hero-panel,
.section-block,
.sidebar-block,
.auth-panel,
.seo-panel,
.admin-grid article {
  padding: 1.4rem;
}

.section-block {
  margin-top: 1.5rem;
}

.section-heading,
.admin-head,
.forum-hero,
.thread-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 10px;
}

.thread-head {
  margin-bottom: 1.25rem;
  padding-top: .4rem;
  align-items: center;
}

.thread-head h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.08;
}

.thread-head a,
.thread-head p {
  margin: 0;
}

.thread-head p {
  color: var(--poe-text);
  font-size: .95rem;
}

.thread-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
}

.thread-status {
  min-height: 34px;
  padding: .38rem .68rem;
  display: inline-flex;
  align-items: center;
  color: #ffb0a8;
  background: rgba(220, 88, 75, .1);
  border: 1px solid rgba(220, 88, 75, .42);
  border-radius: .35rem;
  font-size: .85rem;
  font-weight: 750;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h1,
.section-heading h2,
.build-card h2,
.build-card h3,
.article-row h2,
.article-row h3,
.forum-hero h1,
.thread-head h1,
.sidebar-block h2 {
  font-weight: 650;
}

.article-row h2 a {
  color: inherit;
  text-decoration: none;
}

.article-row h2 a:hover {
  color: var(--poe-gold-2);
}

.announcements-page {
  display: grid;
  gap: 1.2rem;
}

.announcement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.announcement-card {
  min-height: 184px;
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: #050506;
  border: 1px solid rgba(237, 231, 223, .18);
  border-radius: .65rem;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
}

.announcement-card:hover {
  color: #fff;
  border-color: rgba(40, 139, 255, .9);
}

.announcement-card img {
  width: 100%;
  height: 100%;
  min-height: 184px;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}

.announcement-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.announcement-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .82)),
    linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .08));
}
.rehberler .announcement-card {
    background: linear-gradient(180deg, rgba(33, 28, 35, .96), rgba(20, 17, 22, .96));
}
.rehberler .announcement-card img {
  width: 100%;
  height: unset;
  min-height: unset;
  position: relative;
  inset: 0;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}
.announcement-content {
  min-height: 184px;
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .35rem;
  z-index: 1;
}

.announcement-content strong {
  max-width: 94%;
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .62);
}

.announcement-content small {
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
}

.announcement-empty {
  padding: 1.3rem;
  background: var(--poe-surface);
  border: 1px solid var(--poe-border);
  border-radius: .65rem;
}

.content-grid,
.forum-layout,
.editor-main,
.content-layout {
  display: grid;
  gap: 1.5rem;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  margin-top: 1.5rem;
}

.build-grid,
.article-row,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(33,28,35,.96), rgba(20,17,22,.96));
  border: 1px solid var(--poe-border);
  border-radius: .65rem;
  transition: transform .16s ease, border-color .16s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185,147,90,.45);
}

.article-card .article-cover {
  width: 100%;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--poe-border);
}

.article-card-body {
  padding: .9rem 1rem 1rem;
}

.article-card-body span {
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--poe-gold-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-card-body h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
}

.article-card-body h3 a {
  color: #f1ebe4;
  text-decoration: none;
}

.article-card-body h3 a:hover {
  color: var(--poe-gold-2);
}

.article-card-body p {
  margin: 0;
  color: var(--poe-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.build-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.admin-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.build-card,
.article-row article {
  position: relative;
  min-height: 190px;
  padding: 1.2rem;
}

.build-card {
  min-height: 170px;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(48,34,39,.98), rgba(36,29,35,.96)),
    var(--poe-surface);
  border-color: rgba(185,147,90,.24);
  border-radius: .8rem;
}

.class-filter {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.ascendancy-filter {
  margin-top: -.35rem;
  margin-bottom: 1.3rem;
}

.class-filter a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .8rem;
  color: var(--poe-muted);
  background: rgba(237,231,223,.045);
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
  font-weight: 500;
}

.class-filter a:hover,
.class-filter a.active {
  color: var(--poe-ink);
  background: linear-gradient(180deg, var(--poe-gold-2), var(--poe-gold));
  border-color: var(--poe-gold);
}

.class-filter img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: .35rem;
}

.ascendancy-filter img {
  width: 28px;
  height: 28px;
}

.build-cover {
  width: calc(100% + 2.4rem);
  height: 150px;
  margin: -1.2rem -1.2rem 1rem;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--poe-border);
  border-radius: .65rem .65rem 0 0;
}

.build-cover-avatar {
  object-fit: contain;
  padding: 1rem;
  background: rgba(0,0,0,.18);
}

.build-card h2 a {
  color: var(--poe-text);
}

.build-card h2 a:hover {
  color: var(--poe-gold-2);
}

.build-list-head {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding-right: 0;
}

.build-class-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border: 1px solid rgba(237,231,223,.16);
  border-radius: .45rem;
  background: rgba(0,0,0,.25);
}

.build-card h2 {
  margin: 0;
  color: #f4ede5;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 750;
}

.build-byline {
  margin: .15rem 0 0;
  color: #c8bbb3;
  font-size: .88rem;
  line-height: 1.35;
}

.build-byline span {
  color: var(--poe-faint);
  margin: 0 .35rem;
}

.build-summary {
  max-width: 760px;
  margin: .9rem 0 0;
  font-size: .92rem;
}

.build-tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.build-tag-options label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 38px;
  padding: .45rem .65rem;
  color: var(--poe-text);
  background: rgba(237,231,223,.045);
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
  font-weight: 650;
}

.build-tag-options input {
  accent-color: var(--poe-gold);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1.25rem;
  color: var(--poe-muted);
  background: rgba(237,231,223,.035);
  border: 1px solid var(--poe-border);
  border-radius: .65rem;
}

.empty-state h2 {
  margin: 0 0 .35rem;
  color: var(--poe-text);
  font-size: 1.15rem;
}

.tier {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--poe-ink);
  background: var(--poe-gold);
  border-radius: .35rem;
  font-weight: 800;
}

.meta-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.meta-row span {
  padding: .34rem .55rem;
  color: #f0e9e1;
  background: rgba(15,13,16,.9);
  border: 1px solid rgba(237,231,223,.08);
  border-radius: .18rem;
  letter-spacing: 0;
  text-transform: none;
}

.thread-list {
  display: grid;
  gap: .65rem;
}

.thread-list a {
  padding: .9rem;
  background: rgba(237,231,223,.035);
  border: 1px solid var(--poe-border);
  border-radius: .5rem;
}

.thread-list span,
.forum-row small,
.thread-row small,
.post-card aside span,
.post-card aside small,
.content-meta,
.admin-table small {
  display: block;
  color: var(--poe-muted);
  font-size: .9rem;
}

.table-row {
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 1rem;
  padding: 1rem;
  color: var(--poe-muted);
  border-top: 1px solid var(--poe-border);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--poe-gold-2);
  background: rgba(237,231,223,.045);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
}

.forum-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.forum-main,
.post-stack,
.forum-sidebar {
  display: grid;
  gap: 1rem;
}

.thread-head + .post-stack {
  margin-top: 1rem;
}

.forum-bar,
.forum-row,
.thread-row {
  display: grid;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--poe-border);
}

.forum-bar {
  grid-template-columns: 1fr 80px 80px;
  border-top: 0;
  color: var(--poe-gold-2);
  background: rgba(237,231,223,.045);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.forum-row {
  grid-template-columns: 44px 1fr 80px 80px;
}

.forum-row.active {
  background: rgba(185,147,90,.08);
  border-color: rgba(185,147,90,.42);
}

.thread-row {
  grid-template-columns: 1fr 80px 140px;
}

.forum-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--poe-gold);
  background: rgba(237,231,223,.06);
  border-radius: .45rem;
}

.post-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: visible;
}

.post-stack + .section-block h2 {
  margin: 0 0 .9rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.post-card aside {
  padding: 1.1rem;
  background: rgba(237,231,223,.045);
  border-right: 1px solid var(--poe-border);
}

.post-card > div {
  padding: 1.1rem 1.3rem;
}

.post-body p {
  margin-bottom: .9rem;
}

.role-badge,
.owner-badge {
  width: fit-content;
  margin-top: .45rem;
  padding: .18rem .5rem;
  border: 1px solid var(--poe-border);
  border-radius: .35rem;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.25;
  text-transform: uppercase;
}

.role-admin {
  color: #ffd36f;
  border-color: rgba(218, 166, 74, .72);
  background: rgba(218, 166, 74, .13);
}

.role-mod {
  color: #92d8ff;
  border-color: rgba(82, 157, 210, .72);
  background: rgba(82, 157, 210, .13);
}

.role-creator {
  color: #c7a6ff;
  border-color: rgba(154, 112, 224, .72);
  background: rgba(154, 112, 224, .13);
}

.role-member {
  color: #b9c0ca;
  border-color: rgba(185, 192, 202, .35);
  background: rgba(185, 192, 202, .08);
}

.owner-badge {
  color: var(--poe-gold-2);
  border-color: rgba(210, 164, 86, .42);
  background: rgba(210, 164, 86, .08);
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  padding-top: .65rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(237, 231, 223, .08);
}

.post-action,
.post-like-count,
.report-box summary {
  min-height: 34px;
  padding: .38rem .68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--poe-text);
  background: rgba(237, 231, 223, .055);
  border: 1px solid var(--poe-border);
  border-radius: .35rem;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1;
}

.post-action:hover,
.report-box summary:hover {
  color: var(--poe-gold-2);
  border-color: rgba(210, 164, 86, .45);
}

.like-button.is-liked {
  color: var(--poe-ink);
  background: linear-gradient(180deg, var(--poe-gold-2), var(--poe-gold));
  border-color: var(--poe-gold);
}

.post-action.danger {
  color: #ffb0a8;
  border-color: rgba(220, 88, 75, .52);
}

.report-box {
  position: relative;
}

.report-box summary {
  cursor: pointer;
  list-style: none;
}

.report-box summary::-webkit-details-marker {
  display: none;
}

.report-box form {
  width: min(340px, 78vw);
  margin-top: .45rem;
  padding: .7rem;
  display: flex;
  gap: .45rem;
  position: absolute;
  right: 0;
  z-index: 20;
  background: var(--poe-surface);
  border: 1px solid var(--poe-border);
  border-radius: .5rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .34);
}

.report-box input {
  min-width: 0;
  flex: 1;
}

.form-panel {
  display: grid;
  gap: .8rem;
  max-width: 960px;
}

.form-panel label,
.seo-panel label {
  color: var(--poe-gold-2);
  font-weight: 650;
}

.form-panel input,
.form-panel textarea,
.form-panel select,
.seo-panel input,
.seo-panel textarea,
.seo-panel select,
.uploaded-media input {
  width: 100%;
  color: var(--poe-text);
  background: #121015;
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
  padding: .75rem .85rem;
}

.form-panel textarea {
  min-height: 150px;
}

.auth-shell {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 6rem 1.2rem 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.auth-page-main {
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: min(460px, 92%);
  padding: 2.5rem 2rem;
  background: rgba(18, 16, 21, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 106, 0.18);
  border-radius: 1.2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 168, 106, 0.08);
}

.auth-panel-head {
  text-align: center;
  margin-bottom: 1.8rem;
}

.auth-panel-icon {
  margin-bottom: 1rem;
  opacity: 0.95;
}

.auth-panel-icon img {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.auth-panel h1,
.account-panel h1 {
  margin-bottom: 0.5rem;
  max-width: none;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  background: linear-gradient(135deg, var(--poe-gold-2), #f0d9a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-panel-subtitle {
  color: var(--poe-muted);
  font-size: 0.95rem;
  margin: 0;
}

.auth-alert {
  padding: 0.85rem 1rem;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.25);
  border-radius: 0.6rem;
  color: #ff8a95;
  font-size: 0.9rem;
  text-align: center;
}

.auth-input-group {
  display: grid;
  gap: 0.35rem;
}

.auth-input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--poe-gold-2);
  padding-left: 0.2rem;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--poe-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.auth-input-wrap input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.6rem;
  background: rgba(18, 16, 21, 0.6);
  border: 1px solid rgba(201, 168, 106, 0.15);
  border-radius: 0.6rem;
  color: var(--poe-text);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.auth-input-wrap input::placeholder {
  color: rgba(201, 196, 184, 0.35);
}

.auth-input-wrap input:focus {
  outline: none;
  border-color: rgba(201, 168, 106, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.08), 0 0 20px rgba(201, 168, 106, 0.06);
  background: rgba(18, 16, 21, 0.8);
}

.auth-toggle-pass {
  position: absolute;
  right: 0.7rem;
  background: none;
  border: none;
  color: var(--poe-muted);
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  z-index: 2;
}

.auth-toggle-pass:hover {
  color: var(--poe-gold-2);
}

.auth-input-hint {
  font-size: 0.78rem;
  color: var(--poe-muted);
  padding-left: 0.2rem;
  margin-top: 0.1rem;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--poe-gold), #b8954e);
  border: none;
  border-radius: 0.6rem;
  color: var(--poe-ink);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(201, 168, 106, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 106, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  filter: brightness(1.08);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-footer {
  text-align: center;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(201, 168, 106, 0.1);
}

.auth-footer p {
  color: var(--poe-muted);
  font-size: 0.9rem;
  margin: 0;
}

.auth-footer a {
  color: var(--poe-gold-2);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-footer a:hover {
  color: var(--poe-gold);
  text-decoration: underline;
}

.account-panel {
  width: min(560px, 100%);
}

.account-preview {
  display: flex;
  gap: .9rem;
  align-items: center;
  padding: .9rem;
  margin-bottom: 1rem;
  background: rgba(237,231,223,.04);
  border: 1px solid var(--poe-border);
  border-radius: .65rem;
}

.account-preview img,
.account-preview > span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  object-fit: cover;
  color: var(--poe-ink);
  background: linear-gradient(135deg, var(--poe-gold-2), var(--poe-gold));
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 800;
}

.account-preview strong {
  display: block;
  color: var(--poe-text);
  font-size: 1.05rem;
}

.account-preview p {
  margin: .15rem 0 0;
  color: var(--poe-muted);
}

.account-form-section {
  padding-top: 1rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--poe-border);
}

.account-form-section h2 {
  margin: 0 0 1rem;
  color: var(--poe-text);
  font-size: 1.05rem;
  font-weight: 700;
}

.account-form-section label {
  margin-top: .9rem;
  margin-bottom: .35rem;
}

.account-form-section input,
.account-form-section select {
  margin-bottom: .55rem;
}

.success-alert {
  padding: .8rem;
  color: #dce8c5;
  background: rgba(96,130,76,.16);
  border: 1px solid rgba(130,164,98,.6);
  border-radius: .5rem;
}

.post-avatar {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--poe-border);
  border-radius: .55rem;
}

.alert {
  padding: .9rem 1rem;
  color: #ffd6d6;
  background: rgba(185,79,79,.14);
  border: 1px solid rgba(185,79,79,.75);
  border-radius: .5rem;
}

.admin-head {
  padding: 1.75rem 0;
}

.dashboard-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--poe-border-soft);
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: .55rem 0 0;
  color: var(--poe-muted);
}

.dashboard-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.5rem;
}

.dashboard-stats article {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 96px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(33,28,35,.98), rgba(15,13,17,.98));
  border: 1px solid var(--poe-border);
  border-radius: .75rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: var(--poe-ink);
  border-radius: .6rem;
  font-size: 1.15rem;
  line-height: 1;
}

.stat-icon.gold {
  background: linear-gradient(135deg, var(--poe-gold-2), var(--poe-gold));
}
.stat-icon.blue {
  background: linear-gradient(135deg, #6ba8d9, #4a8ac2);
}
.stat-icon.green {
  background: linear-gradient(135deg, #7dbb7d, #5a9e5a);
}
.stat-icon.red {
  background: linear-gradient(135deg, #d48a8a, #b85e5e);
}

.dashboard-stats small {
  color: var(--poe-muted);
  font-size: .84rem;
}

.dashboard-stats strong {
  display: block;
  margin-top: .1rem;
  color: #f1ebe4;
  font-size: 1.8rem;
  font-weight: 650;
  line-height: 1.1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.5rem;
}

.dashboard-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 110px;
  padding: 1rem;
  color: var(--poe-text);
  background: rgba(24,22,28,.96);
  border: 1px solid var(--poe-border);
  border-radius: .75rem;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.dashboard-card.primary {
  background: linear-gradient(135deg, rgba(185,147,90,.12), rgba(24,22,28,.98));
  border-color: rgba(185,147,90,.38);
}

.dashboard-card:hover {
  color: var(--poe-text);
  transform: translateY(-2px);
  border-color: rgba(185,147,90,.55);
  background: rgba(33,28,35,.98);
}

.dashboard-card-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: var(--poe-gold-2);
  background: rgba(237,231,223,.045);
  border: 1px solid var(--poe-border);
  border-radius: .55rem;
  font-size: 1.25rem;
  line-height: 1;
}

.dashboard-card h2 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 650;
}

.dashboard-card p {
  margin: 0;
  color: var(--poe-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.dashboard-activity {
  margin-top: 1.5rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.activity-panel {
  background: linear-gradient(180deg, rgba(33,28,35,.96), rgba(20,17,22,.96));
  border: 1px solid var(--poe-border);
  border-radius: .75rem;
  overflow: hidden;
}

.activity-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--poe-border-soft);
}

.activity-head h2 {
  margin: 0;
  font-size: .95rem;
  font-weight: 650;
}

.activity-head a {
  color: var(--poe-gold-2);
  font-size: .84rem;
  font-weight: 650;
}

.activity-head a:hover {
  color: var(--poe-gold);
}

.activity-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--poe-border-soft);
}

.activity-list li:last-child {
  border-bottom: 0;
}

.activity-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .25rem;
}

.activity-badge {
  padding: .15rem .45rem;
  color: var(--poe-gold-2);
  background: rgba(185,147,90,.12);
  border: 1px solid rgba(185,147,90,.35);
  border-radius: .25rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.activity-badge.type-rehber {
  color: #8ecde6;
  background: rgba(107, 168, 217, .12);
  border-color: rgba(107, 168, 217, .35);
}
.activity-badge.type-build {
  color: #b8d48a;
  background: rgba(125, 187, 125, .12);
  border-color: rgba(125, 187, 125, .35);
}
.activity-badge.type-gorev {
  color: #d4a58a;
  background: rgba(212, 165, 138, .12);
  border-color: rgba(212, 165, 138, .35);
}
.activity-badge.type-haber {
  color: #d48a8a;
  background: rgba(212, 138, 138, .12);
  border-color: rgba(212, 138, 138, .35);
}

.activity-title {
  display: block;
  color: var(--poe-text);
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.35;
}

.activity-title:hover {
  color: var(--poe-gold-2);
}

.activity-author {
  display: block;
  color: var(--poe-faint);
  font-size: .8rem;
}

.dashboard-card h2 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
  font-weight: 650;
}

.dashboard-card p {
  margin: 0;
  color: var(--poe-muted);
  line-height: 1.55;
}

.admin-grid strong {
  display: block;
  margin-top: .35rem;
  font-size: 2rem;
  font-weight: 650;
}

.admin-table .table-row {
  grid-template-columns: minmax(0, 1.3fr) .55fr .55fr minmax(220px, .8fr);
  align-items: center;
}

.forum-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.4fr);
  gap: 1rem;
}

.forum-admin-form {
  max-width: none;
  margin-bottom: 1rem;
}

.forum-admin-form .gold-button {
  width: auto;
  min-width: 180px;
  margin-top: .2rem;
}

.admin-table-scroll {
  overflow-x: auto;
}

.forum-admin-row,
.forum-thread-row,
.forum-report-row {
  display: grid;
  gap: .85rem;
  padding: .85rem 1rem;
  border-top: 1px solid var(--poe-border);
  align-items: center;
  min-width: 980px;
}

.forum-admin-row {
  grid-template-columns: minmax(180px, 1.1fr) 70px 70px 90px minmax(260px, 1.4fr) 110px;
}

.forum-thread-row {
  grid-template-columns: minmax(280px, 1.5fr) 170px 150px 70px minmax(420px, 1fr);
}

.forum-report-row {
  grid-template-columns: minmax(260px, 1.2fr) 150px minmax(260px, 1.1fr) 110px minmax(300px, 1fr);
}

.forum-admin-head {
  color: var(--poe-gold-2);
  background: rgba(237,231,223,.045);
  border-top: 0;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.forum-admin-row input {
  width: 100%;
  min-width: 0;
  color: var(--poe-text);
  background: #121015;
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
  padding: .55rem .65rem;
}

.forum-thread-row strong,
.forum-admin-row strong,
.forum-report-row strong {
  display: block;
}

.forum-empty-row {
  padding: 1.2rem 1rem;
  color: var(--poe-muted);
  border-top: 1px solid var(--poe-border);
}

.editor-main {
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
}

.content-editor-head h1 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 1.5rem;
  align-items: start;
}

.editor-layout-wide {
  grid-template-columns: minmax(0, 1fr);
}

.editor-layout-wide .editor-canvas {
  width: 100%;
}

.editor-canvas {
  display: grid;
  gap: 1rem;
}

.editor-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.editor-meta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 1.25rem;
}

.editor-card {
  background: rgba(18, 23, 34, .96);
  border: 1px solid var(--poe-border);
  border-radius: .75rem;
  padding: 1.15rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.editor-card .form-label {
  color: var(--poe-gold-2);
  font-weight: 650;
}

.editor-section-title {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  font-weight: 650;
}

.editor-help {
  margin: .25rem 0 0;
  color: var(--poe-muted);
  font-size: .92rem;
}

.slug-line {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(237,231,223,.08);
}

.slug-edit {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(237,231,223,.08);
}

.slug-edit .input-group-text {
  color: var(--poe-muted);
  background: #121015;
  border-color: var(--poe-border);
}

.slug-line span {
  color: var(--poe-muted);
  font-size: .78rem;
  text-transform: uppercase;
}

.slug-line strong {
  color: var(--poe-gold-2);
  font-weight: 650;
  word-break: break-all;
}

.template-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.template-tabs label {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 54px;
  margin: 0;
  padding: .8rem .95rem;
  color: var(--poe-muted);
  background: rgba(237,231,223,.035);
  border: 1px solid var(--poe-border);
  border-radius: .6rem;
  cursor: pointer;
}

.template-tabs label.is-selected {
  color: var(--poe-text);
  border-color: rgba(185,147,90,.7);
  background: rgba(185,147,90,.08);
}

.toc-section-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
}

.toc-section-head span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--poe-ink);
  background: var(--poe-gold);
  border-radius: .4rem;
  font-weight: 800;
}

.form-grid,
.template-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.seo-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: .8rem;
}

.slug-preview,
.toc-editor-section,
.template-choice {
  padding: 1rem;
}

.slug-preview span {
  color: var(--poe-muted);
  font-size: .76rem;
  text-transform: uppercase;
}

.slug-preview strong {
  color: var(--poe-gold-2);
  word-break: break-all;
}

.template-choice legend {
  float: none;
  width: auto;
  margin-bottom: .6rem;
  color: var(--poe-gold-2);
  font-size: .95rem;
  font-weight: 650;
}

.template-choice label {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem;
  background: rgba(237,231,223,.045);
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
}

.toc-editor-section {
  display: grid;
  gap: .65rem;
  margin-bottom: 1rem;
}

.cover-preview {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
}

.uploaded-media {
  margin-top: 1.2rem;
  display: grid;
  gap: .65rem;
  max-width: 760px;
}

.media-manager {
  display: grid;
  gap: 1.25rem;
}

.media-upload-card {
  max-width: 760px;
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  overflow: hidden;
  background: rgba(24,22,28,.96);
  border: 1px solid var(--poe-border);
  border-radius: .75rem;
}

.media-preview {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: #080b11;
  border-bottom: 1px solid var(--poe-border);
}

.media-preview img,
.media-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-info {
  display: grid;
  gap: .45rem;
  padding: .85rem;
}

.media-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-info small {
  color: var(--poe-muted);
}

.media-info input {
  width: 100%;
  color: var(--poe-muted);
  background: #121015;
  border: 1px solid var(--poe-border);
  border-radius: .4rem;
  padding: .45rem .55rem;
  font-size: .85rem;
}

.class-create-card {
  margin-bottom: 1.25rem;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.class-card {
  padding: 1rem;
  background: rgba(24,22,28,.96);
  border: 1px solid var(--poe-border);
  border-radius: .75rem;
}

.class-card-head {
  display: flex;
  gap: .85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.class-card-head img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: .65rem;
  border: 1px solid var(--poe-border);
}

.class-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.class-card p {
  margin: .2rem 0 0;
  color: var(--poe-muted);
  font-size: .9rem;
}

.asc-list {
  display: grid;
  gap: .45rem;
}

.asc-list span {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--poe-muted);
  font-size: .9rem;
}

.asc-list img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: .4rem;
}

.tox-tinymce {
  border-color: var(--poe-border) !important;
  border-radius: .55rem !important;
}

.content-hero {
  padding: 2.5rem 0 1.5rem;
  max-width: none;
  width: 100%;
}

.content-admin-bar {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.content-user-bar {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.content-hero h1 {
  max-width: 1180px;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
  line-height: 1.08;
}

.content-hero .eyebrow:first-child {
  text-transform: uppercase;
}

.content-page .content-hero .eyebrow:first-child {
  display: inline-block;
  margin-bottom: 1rem;
}

.content-page .content-hero p {
  max-width: 980px;
}

.content-meta {
  display: flex;
  gap: .9rem;
  margin-top: 1rem;
}

.content-cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border: 1px solid var(--poe-border);
  border-radius: .65rem;
}

.content-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  margin-top: 1.6rem;
  align-items: start;
}

.content-layout.without-toc {
  grid-template-columns: minmax(0, 1fr);
}

.content-layout.without-toc .toc-author{
  border-bottom: 0px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.toc-panel {
  position: sticky;
  top: 96px;
  padding: 1rem;
}

.toc-panel strong {
  display: block;
  color: var(--poe-gold-2);
}

.toc-panel nav {
  display: grid;
  gap: .55rem;
}

.toc-author {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--poe-border-soft);
}

.toc-author img,
.toc-author-initial {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  object-fit: cover;
  color: var(--poe-ink);
  background: linear-gradient(135deg, var(--poe-gold-2), var(--poe-gold));
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 800;
}

.toc-author-body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}

.toc-author-body strong {
  color: var(--poe-text);
  font-size: .95rem;
  font-weight: 650;
}

.toc-author-body small {
  color: var(--poe-faint);
  font-size: .82rem;
}

.toc-author-socials {
  display: flex;
  gap: .45rem;
  margin-top: .15rem;
}

.toc-author-socials a {
  min-width: 28px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--poe-muted);
  background: rgba(237,231,223,.045);
  border: 1px solid var(--poe-border);
  border-radius: .35rem;
  font-size: .85rem;
  line-height: 1;
}

.toc-author-socials a:hover {
  color: var(--poe-gold-2);
  border-color: rgba(210, 164, 86, .45);
}

.toc-panel a {
  color: var(--poe-muted);
}

.toc-panel .toc-level-3 {
  padding-left: .85rem;
  font-size: .93rem;
}

.rich-content {
  color: var(--poe-text);
  line-height: 1.78;
  font-size: 1.02rem;
}

.rich-content h2,
.rich-content h3 {
  scroll-margin-top: 96px;
  margin: 2rem 0 .75rem;
  color: #f1ebe4;
  font-weight: 650;
}

.rich-content img {
  max-width: 100%;
  border: 1px solid var(--poe-border);
  border-radius: .55rem;
}

.video-frame {
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5rem;
  background: #000;
  border: 1px solid var(--poe-border);
  border-radius: .65rem;
  overflow: hidden;
}

.early-access-panel .section-heading {
  margin-bottom: .6rem;
}

.early-access-panel .section-heading h2 {
  color: var(--poe-gold-2);
}

.ea-desc {
  color: var(--poe-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: .9rem;
}

.early-access-panel .video-frame {
  margin-bottom: .85rem;
}

.video-frame iframe,
.video-frame video,
.rich-content video,
.rich-content iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}
.early-access-panel .video-frame iframe{
  min-height: unset;
}

@media (max-width: 991.98px) {
  .mega-menu {
    position: static !important;
    width: auto;
    box-shadow: none;
    border-top: 1px solid rgba(237,231,223,.06);
  }

  .mega-menu-inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .page-shell {
    width: min(100% - 28px, 820px);
    padding-left: 0;
  }

  .hero-full {
    min-height: auto;
    padding: 2.5rem 0 0;
  }

  .hero-body {
    width: min(100% - 28px, 820px);
  }

  .hero-quicknav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .content-grid,
  .forum-layout,
  .editor-main,
  .content-layout,
  .build-grid,
  .announcement-grid,
  .article-row,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .seo-panel,
  .toc-panel,
  .editor-sidebar {
    position: static;
  }

  .forum-hero,
  .thread-head,
  .admin-head,
  .dashboard-hero {
    align-items: start;
    flex-direction: column;
  }

  .dashboard-actions {
    justify-content: flex-start;
  }

  .dashboard-stats,
  .dashboard-grid,
  .activity-grid,
  .media-library-grid,
  .class-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card,
  .dashboard-card.primary {
    grid-column: auto;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card aside {
    border-right: 0;
    border-bottom: 1px solid var(--poe-border);
  }

  .table-row,
  .admin-table .table-row,
  .forum-row,
  .thread-row,
  .form-grid,
  .template-choice,
  .editor-layout,
  .editor-meta-card,
  .template-tabs {
    grid-template-columns: 1fr;
  }
}

.breadcrumb-bar {
  padding: .65rem 0;
  background: rgba(8, 7, 9, .92);
  border-bottom: 1px solid rgba(237, 231, 223, .06);
}

.breadcrumb-bar ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-bar li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--poe-faint);
  font-size: .84rem;
}

.breadcrumb-bar li:not(:last-child)::after {
  content: '/';
  margin-left: .35rem;
  color: var(--poe-border);
}

.breadcrumb-bar li.active {
  color: var(--poe-gold-2);
  font-weight: 650;
}

.breadcrumb-bar a {
  color: var(--poe-muted);
}

.breadcrumb-bar a:hover {
  color: var(--poe-gold-2);
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  background: #080709;
  border-top: 1px solid rgba(237, 231, 223, .06);
}

.site-footer p {
  margin: 0;
  color: var(--poe-faint);
  font-size: .82rem;
  text-align: center;
}

.page-search {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.15rem;
}

.page-search input {
  min-width: 220px;
  flex: 1;
  max-width: 420px;
  padding: .6rem .85rem;
  color: var(--poe-text);
  background: #121015;
  border: 1px solid var(--poe-border);
  border-radius: .45rem;
  font-size: .95rem;
}

.page-search input:focus {
  outline: none;
  border-color: rgba(185,147,90,.55);
}

.page-search .gold-button,
.page-search .ghost-button {
  min-height: 40px;
  padding: .45rem .9rem;
}

@media (max-width: 575.98px) {
  .hero-full {
    min-height: auto;
    padding: 2rem 0 0;
  }

  .hero-quicknav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding-bottom: 1.5rem;
  }

  .hero-quicknav a {
    padding: .85rem .4rem;
  }

  .quick-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .forum-bar {
    display: none;
  }
}

/* Live Stream Section */
.live-stream-section {
  width: 100%;
  padding: 1.2rem 0 0;
  background: linear-gradient(180deg, #080709 0%, var(--poe-bg) 100%);
}

.live-stream-head {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.live-stream-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--poe-gold-2);
  letter-spacing: .02em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(220, 53, 69, 0.14);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #ff8a95;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: 999px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: #dc3545;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 53, 69, 0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.live-stream-embed {
  width: 100%;
  background: #0a090c;
  border-top: 1px solid rgba(201, 168, 106, 0.08);
  border-bottom: 1px solid rgba(201, 168, 106, 0.08);
}

.live-stream-embed iframe,
.live-stream-embed > div,
.live-stream-embed > script + div {
  width: 100% !important;
  max-width: 1320px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 767.98px) {
  .live-stream-head {
    width: calc(100% - 28px);
    padding-bottom: .6rem;
  }
}
