:root {
  --bg: #0a0b0d;
  --surface: #0f1012;
  --surface-strong: #131417;
  --card: #17191d;
  --ink: #f2f2f2;
  --muted: #8e8e93;
  --primary: #d4a373;
  --secondary: #8fceab;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.04);
  --shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
  --maxw: 1140px;
  --font-scale: 1;
}

body.theme-obsidian {
  --bg: #0a0b0d;
  --surface: #0f1012;
  --surface-strong: #131417;
  --card: #17191d;
  --ink: #f2f2f2;
  --muted: #8e8e93;
  --primary: #d4a373;
  --secondary: #8fceab;
}

body.theme-amber {
  --bg: #11100d;
  --surface: #181510;
  --surface-strong: #1f1b14;
  --card: #232017;
  --ink: #f4ede3;
  --muted: #b8a890;
  --primary: #efb36e;
  --secondary: #d9c28b;
}

body.theme-emerald {
  --bg: #0a1110;
  --surface: #0f1816;
  --surface-strong: #13201d;
  --card: #162522;
  --ink: #eaf5f2;
  --muted: #9db7b0;
  --primary: #8fceab;
  --secondary: #7ab9e6;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-size: calc(16px * var(--font-scale));
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, var(--primary), transparent 36%),
    radial-gradient(circle at 88% 18%, var(--secondary), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--bg) 82%, #000 18%) 0%, var(--bg) 50%, color-mix(in srgb, var(--surface) 72%, #000 28%) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 260ms ease, color 260ms ease, filter 260ms ease;
}

body.font-small {
  --font-scale: 0.94;
}

body.font-normal {
  --font-scale: 1;
}

body.font-large {
  --font-scale: 1.08;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation: none !important;
  transition-duration: 0s !important;
  scroll-behavior: auto !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 70%);
  opacity: 0.18;
  z-index: 0;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(85px);
  opacity: 0.34;
  z-index: 0;
}

.ambient-a {
  width: 380px;
  height: 380px;
  background: var(--primary);
  left: -140px;
  top: 26vh;
  animation: floatA 18s ease-in-out infinite;
}

.ambient-b {
  width: 420px;
  height: 420px;
  background: var(--secondary);
  right: -150px;
  top: 8vh;
  animation: floatB 21s ease-in-out infinite;
}

.toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--ink);
}

.compat-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.compat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 12px;
}

.compat-actions .settings-preview {
  margin: 0;
  text-align: right;
}

.compat-row {
  display: grid;
  grid-template-columns: 12px minmax(120px, 190px) 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
}

.compat-row strong {
  font-size: 0.9rem;
}

.compat-row span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
}

.compat-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.compat-dot.is-ok {
  background: #37c874;
  box-shadow: 0 0 0 3px rgba(55, 200, 116, 0.2);
}

.compat-dot.is-warn {
  background: #efb36e;
  box-shadow: 0 0 0 3px rgba(239, 179, 110, 0.2);
}

.compat-dot.is-error {
  background: #ef6363;
  box-shadow: 0 0 0 3px rgba(239, 99, 99, 0.2);
}

.compat-history {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.compat-history-item {
  display: grid;
  grid-template-columns: 12px minmax(120px, 180px) 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 260ms ease;
}

.thread-actions .profile-note-delete-btn {
  border-color: rgba(239, 99, 99, 0.35);
  color: #f1c4c4;
}

body:has(#forum-rutbe-panel)::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(0, 255, 199, 0.06), transparent 35%),
    repeating-linear-gradient(60deg, rgba(30, 190, 170, 0.08) 0 2px, transparent 2px 24px),
    radial-gradient(circle at 82% 74%, rgba(0, 220, 180, 0.12), transparent 32%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.36), transparent 78%);
  z-index: 0;
}

.forum-plus-grid {
  width: min(var(--maxw), calc(100vw - 48px));
  margin: 22px auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.forum-plus-card {
  border: 1px solid color-mix(in srgb, var(--secondary) 28%, var(--line));
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 86%, #061d18 14%), color-mix(in srgb, var(--card) 88%, #061612 12%));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36);
}

.forum-plus-card-head h2 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.forum-plus-card-head p {
  margin: 8px 0 12px;
  color: color-mix(in srgb, var(--muted) 74%, #9ce8d5 26%);
  font-size: 0.86rem;
}

.forum-rank-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.forum-rank-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.forum-rank-score {
  font-size: 0.8rem;
  color: #9ce8d5;
}

.forum-rank-label {
  font-size: 0.76rem;
  border: 1px solid color-mix(in srgb, var(--primary) 58%, var(--line));
  border-radius: 999px;
  padding: 2px 8px;
  color: color-mix(in srgb, var(--primary) 72%, #fff 28%);
}

.forum-flow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.forum-flow-tabs .btn.is-active {
  border-color: color-mix(in srgb, var(--secondary) 74%, var(--line));
  background: color-mix(in srgb, var(--secondary) 24%, transparent);
}

.forum-icma-wiki-list {
  display: grid;
  gap: 8px;
}

.forum-icma-item {
  border: 1px dashed color-mix(in srgb, var(--secondary) 42%, var(--line));
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.84rem;
  color: var(--ink);
}

.forum-ilim-meclisi-list {
  display: grid;
  gap: 8px;
}

.forum-meclis-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.forum-meclis-item .mini-meta {
  margin: 6px 0 0;
}

.forum-vakif-actions {
  display: flex;
  gap: 8px;
}

.thread-item.is-vakar-highlight {
  border-color: color-mix(in srgb, var(--secondary) 58%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--secondary) 24%, transparent), 0 12px 24px rgba(0, 0, 0, 0.24);
}

.thread-vakar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--secondary) 58%, var(--line));
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--secondary) 74%, #fff 26%);
  margin-top: 8px;
}

.thread-flow-hidden {
  display: none !important;
}

.thread-icma-toggle {
  border-style: dashed;
}

.thread-icma-toggle.is-active {
  border-style: solid;
  border-color: color-mix(in srgb, var(--primary) 70%, var(--line));
  background: color-mix(in srgb, var(--primary) 18%, transparent);
}

@media (max-width: 640px) {
  .compat-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .compat-actions .settings-preview {
    text-align: left;
  }

  .medrese-plus-grid {
    grid-template-columns: 1fr;
  }

  .forum-plus-grid {
    width: min(var(--maxw), calc(100vw - 26px));
    grid-template-columns: 1fr;
  }

  .forum-vakif-actions {
    flex-direction: column;
  }

  .home-kpi-row {
    grid-template-columns: 1fr;
  }

  .home-faith-grid,
  .home-prayer-list {
    grid-template-columns: 1fr;
  }

  .home-hikmet-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hazine-grid,
  .home-portal-grid {
    grid-template-columns: 1fr;
  }
}

.site-header,
main,
.site-footer {
  position: relative;
}

main,
.site-footer {
  z-index: 1;
}

.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 24;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, #000 8%), color-mix(in srgb, var(--surface-strong) 90%, #000 10%));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.profile-settings {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.settings-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.settings-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.settings-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.settings-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 11px 12px;
}

.settings-preview {
  margin-top: 10px;
  color: #d7d7d9;
  font-size: 0.92rem;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-bottom: 1px solid var(--line-soft);
}

.ottoman-strip {
  max-width: var(--maxw);
  margin: -4px auto 10px;
  padding: 7px 20px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.14), rgba(143, 206, 171, 0.08));
  color: #f2e4cf;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.ottoman-line {
  margin: 0 0 12px;
  color: #f0dfc6;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  line-height: 1.5;
  text-align: center;
  opacity: 0.9;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.86rem;
}

.brand::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: 0 0 32px;
  background: center/cover no-repeat url("logo.svg");
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
}

.language-switcher-label {
  color: #d7d7db;
  font-size: 0.78rem;
  opacity: 0.9;
}

.language-switcher-select {
  border: 1px solid rgba(212, 163, 115, 0.48);
  background: linear-gradient(145deg, rgba(212, 163, 115, 0.2), rgba(212, 163, 115, 0.08));
  color: #f8eee4;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.8rem;
  min-width: 116px;
}

body.lang-rtl {
  direction: rtl;
}

body.lang-rtl .top-nav {
  flex-direction: row-reverse;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(212, 163, 115, 0.48);
  background: linear-gradient(145deg, rgba(212, 163, 115, 0.28), rgba(212, 163, 115, 0.08));
  color: #f8eee4;
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(241, 191, 134, 0.66);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.kandil-toggle {
  border: 1px solid rgba(212, 163, 115, 0.48);
  background: linear-gradient(145deg, rgba(212, 163, 115, 0.2), rgba(212, 163, 115, 0.08));
  color: #f8eee4;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.readability-toggle {
  border: 1px solid rgba(143, 206, 171, 0.48);
  background: linear-gradient(145deg, rgba(143, 206, 171, 0.2), rgba(143, 206, 171, 0.08));
  color: #eaf8f2;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.home-readable-mode .readability-toggle {
  border-color: rgba(240, 220, 170, 0.75);
  box-shadow: 0 0 0 2px rgba(240, 220, 170, 0.2), 0 10px 20px rgba(0, 0, 0, 0.34);
}

.kandil-toggle .kandil-icon-lamp {
  opacity: 0.56;
}

.home-kandil-mode .kandil-toggle .kandil-icon-sun {
  opacity: 0.56;
}

.home-kandil-mode .kandil-toggle .kandil-icon-lamp {
  opacity: 1;
}

.top-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  opacity: 0.75;
  padding: 8px 4px;
}

.top-nav .nav-logout {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 10px;
}

.top-nav a.nav-auth-btn {
  opacity: 1;
  padding: 6px 12px;
}

.top-nav a.nav-auth-btn.active {
  color: #e9f5ef;
  border-color: rgba(143, 206, 171, 0.72);
  box-shadow: 0 0 0 1px rgba(143, 206, 171, 0.22);
}

.top-nav a.active {
  opacity: 1;
  color: var(--primary);
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px 56px;
}

.hero {
  padding: 38px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.hero-panel {
  background: linear-gradient(150deg, rgba(212, 163, 115, 0.08), rgba(143, 206, 171, 0.06));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
}

.metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.2);
}

.metric strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary);
}

.metric span {
  color: var(--muted);
  font-size: 0.85rem;
}

.quote {
  margin: 18px 0 0;
  color: #d6d6d8;
  line-height: 1.6;
}

.page-hero {
  padding: 34px 0 14px;
}

.page-hero-register {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 115, 0.34);
  border-radius: 24px;
  padding: 30px 24px 22px;
  background:
    radial-gradient(circle at 88% 14%, rgba(212, 163, 115, 0.34), transparent 40%),
    radial-gradient(circle at 12% 86%, rgba(143, 206, 171, 0.22), transparent 44%),
    linear-gradient(150deg, rgba(19, 23, 27, 0.95), rgba(12, 16, 20, 0.92));
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-hero-register::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 100%);
  transform: translateX(-58%);
  animation: register-hero-shine 7.4s ease-in-out infinite;
}

.page-hero-register::after {
  content: "";
  position: absolute;
  right: -62px;
  top: -62px;
  width: 196px;
  height: 196px;
  border-radius: 999px;
  border: 1px dashed rgba(212, 163, 115, 0.35);
  opacity: 0.5;
}

.page-hero-register .eyebrow {
  color: #f6d6ae;
  text-shadow: 0 2px 16px rgba(212, 163, 115, 0.42);
}

.page-hero-register h1 {
  max-width: 14ch;
}

.page-hero-register .lead {
  color: #d8dbe1;
  max-width: 56ch;
}

.register-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 206, 171, 0.46);
  background: linear-gradient(140deg, rgba(143, 206, 171, 0.22), rgba(143, 206, 171, 0.08));
  color: #e8f5ef;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-hero h1 {
  margin: 8px 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 6vw, 3.45rem);
  line-height: 1.1;
  max-width: 18ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--secondary);
  font-weight: 700;
}

.hero h1 {
  margin: 14px 0 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.02;
  font-size: clamp(2.2rem, 8vw, 5rem);
  max-width: 12ch;
}

.hero h1 span {
  color: var(--primary);
}

.lead {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 14px;
  min-height: 44px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(6px);
  transition: transform 200ms ease, box-shadow 220ms ease, border-color 200ms ease, background 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  left: -42%;
  top: -120%;
  width: 34%;
  height: 340%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: left 320ms ease, opacity 240ms ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:hover::before {
  left: 128%;
  opacity: 1;
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd39f 0%, #efb36e 56%, #d18645 100%);
  color: #21150c;
  border-color: rgba(255, 227, 196, 0.58);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 32px rgba(212, 163, 115, 0.4), 0 0 0 1px rgba(255, 212, 160, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(212, 163, 115, 0.46), 0 0 0 1px rgba(255, 212, 160, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.btn-ghost {
  border: 1px solid rgba(143, 206, 171, 0.38);
  color: #e9f5ef;
  background: linear-gradient(150deg, rgba(15, 24, 22, 0.94), rgba(20, 32, 29, 0.9));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  border-color: rgba(143, 206, 171, 0.68);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(143, 206, 171, 0.18);
}

.btn-primary::after,
.btn-ghost::after,
.thread-share-btn::after,
.menu-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)) border-box;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.ticker {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  gap: 22px;
  padding: 10px 18px;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  color: var(--muted);
  font-size: 0.88rem;
}

.ticker-track strong {
  color: var(--secondary);
}

.section-title {
  margin-top: 38px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.section-title h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards,
.list-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.integration-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.integration-code {
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #f0e2cd;
  font-size: 0.84rem;
  line-height: 1.55;
  word-break: break-word;
}

.card,
.list-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.card::after,
.list-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(150deg, rgba(212, 163, 115, 0.25), rgba(143, 206, 171, 0.2)) border-box;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
}

.card h3,
.list-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.card p,
.list-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.mini-meta {
  margin-top: 10px;
  color: #c5b294;
  font-size: 0.82rem;
}

.timeline {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.timeline-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.timeline-item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px;
}

.timeline-item b {
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-banner {
  margin-top: 34px;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: linear-gradient(130deg, rgba(212, 163, 115, 0.11), rgba(143, 206, 171, 0.08));
}

.cta-banner h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.cta-banner p {
  margin: 8px 0 0;
  color: #d1d1d3;
}

.chip-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.03);
}

.thread-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.home-category-buttons {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-hikmet-panel {
  margin-top: 8px;
  border: 1px solid rgba(212, 163, 115, 0.5);
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 12% 15%, rgba(241, 211, 164, 0.18), transparent 44%),
    linear-gradient(150deg, rgba(47, 35, 22, 0.62), rgba(22, 24, 20, 0.82));
}

.home-hikmet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.home-hikmet-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.home-hikmet-panel h2 {
  margin: 12px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.home-hikmet-ottoman {
  margin: 10px 0 0;
  color: #ffefcf;
  font-size: 1.14rem;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.home-hikmet-modern {
  margin: 10px 0 0;
  color: #e8ece6;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}
.home-hikmet-plus-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-hikmet-plus-card {
  margin-top: 0;
}
.home-hikmet-inline-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.home-hikmet-inline-item {
  border: 1px solid rgba(212, 163, 115, 0.22);
  border-radius: 9px;
  padding: 8px 9px;
  background: rgba(13, 18, 16, 0.58);
  color: #f4ead8;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.45;
}
.home-hikmet-inline-item:hover {
  border-color: rgba(212, 163, 115, 0.5);
  background: rgba(212, 163, 115, 0.16);
}
#home-hikmet-new-thread {
  margin-top: 8px;
}

.home-lugat-card {
  margin-top: 14px;
  border: 1px dashed rgba(212, 163, 115, 0.45);
  border-radius: 12px;
  padding: 12px;
  background: rgba(24, 27, 24, 0.52);
}

.home-lugat-card h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #f2d7ad;
}

.home-lugat-card p {
  margin: 6px 0 0;
}
#home-hikmet-action-status {
  margin-top: 10px;
  min-height: 1.2em;
}
body.home-hikmet-focus-mode {
  overflow: hidden;
}
body.home-hikmet-focus-mode .site-header,
body.home-hikmet-focus-mode .home-portal-grid {
  filter: blur(3px) saturate(0.7);
  opacity: 0.25;
  pointer-events: none;
}
body.home-hikmet-focus-mode #home-daily-hikmet {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  z-index: 999;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  border-color: rgba(236, 189, 127, 0.7);
}
body.home-hikmet-focus-mode::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(246, 224, 182, 0.18), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(128, 171, 145, 0.15), transparent 45%),
    rgba(10, 13, 12, 0.84);
  z-index: 998;
  pointer-events: none;
}

.home-portal-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) minmax(220px, 280px);
  gap: 14px;
}

.home-main-column {
  display: grid;
  gap: 14px;
}

.home-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
}

.home-module-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.home-module-card h3 {
  margin: 0;
  font-size: 1rem;
  font-family: "Playfair Display", serif;
}

.home-module-list {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.home-module-link {
  display: block;
  color: #f7e8cf;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(212, 163, 115, 0.24);
  border-radius: 10px;
  padding: 8px 9px;
  background: rgba(13, 18, 16, 0.66);
}

.home-module-link:hover {
  border-color: rgba(212, 163, 115, 0.56);
  background: rgba(212, 163, 115, 0.16);
}

.home-mudellel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  border: 1px solid rgba(143, 206, 171, 0.58);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #dbf7ea;
  background: rgba(21, 56, 43, 0.55);
  vertical-align: middle;
}

.home-mudellel-badge::before {
  content: "◆";
  color: #9de3be;
  font-size: 0.62rem;
}

button.home-mudellel-badge {
  cursor: pointer;
}

button.home-mudellel-badge:hover {
  border-color: rgba(143, 206, 171, 0.8);
  background: rgba(32, 69, 54, 0.62);
}

.home-expertise-row {
  border: 1px solid rgba(212, 163, 115, 0.22);
  border-radius: 10px;
  padding: 8px;
  background: rgba(10, 16, 15, 0.58);
  display: grid;
  gap: 4px;
}

.home-expertise-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.home-expertise-top b {
  color: #f8ead0;
  font-size: 0.84rem;
}

.home-expertise-pill {
  border: 1px solid rgba(143, 206, 171, 0.5);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.7rem;
  color: #d6f2e4;
  background: rgba(17, 45, 36, 0.52);
}

.home-expertise-meta {
  color: #ccd2d7;
  font-size: 0.75rem;
}

.home-expertise-title {
  color: #b4f0cc;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-expertise-status {
  font-size: 0.73rem;
  color: #f3d6ac;
}

.home-compare-row {
  border: 1px solid rgba(212, 163, 115, 0.22);
  border-radius: 10px;
  padding: 8px;
  background: rgba(12, 18, 17, 0.56);
  display: grid;
  gap: 5px;
}

.home-compare-row b {
  color: #f5e2bf;
  font-size: 0.82rem;
}

.home-compare-meta {
  color: #cfd4da;
  font-size: 0.74rem;
}

.home-compare-delta.is-up {
  color: #9ce2bc;
  font-weight: 700;
}

.home-compare-delta.is-down {
  color: #f4bd9c;
  font-weight: 700;
}

.home-compare-delta.is-flat {
  color: #e6d4b5;
  font-weight: 700;
}

.home-mudellel-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 10, 0.55);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  z-index: 120;
  padding: 18px;
}

.home-mudellel-dialog {
  width: min(520px, 100%);
  border: 1px solid rgba(212, 163, 115, 0.45);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(16, 24, 23, 0.95), rgba(11, 16, 15, 0.95));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.home-mudellel-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-mudellel-dialog h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: #fde7c2;
}

.home-hazine-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 115, 0.44);
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at top right, rgba(225, 198, 152, 0.15), transparent 34%),
    linear-gradient(148deg, rgba(62, 47, 30, 0.44), rgba(25, 27, 23, 0.78));
}

.home-hazine-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(rgba(245, 221, 176, 0.45) 0.6px, transparent 0.6px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23d8b787' stroke-opacity='0.35' stroke-width='1.2'%3E%3Cpath d='M22 88c14-26 39-44 68-44 26 0 48 14 62 34'/%3E%3Cpath d='M44 138c22-16 51-20 79-8 15 6 28 16 40 28'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 3px 3px, 240px 240px;
  background-position: 0 0, center;
}

.home-hazine-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(231, 196, 142, 0.24);
  border-radius: 12px;
  pointer-events: none;
}

.home-hazine-header h2 {
  margin: 6px 0 0;
  font-family: "Playfair Display", serif;
}

.home-hazine-header .lead {
  margin-top: 8px;
  font-size: 0.95rem;
}

.home-hazine-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-hazine-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 115, 0.28);
  border-radius: 12px;
  padding: 10px;
  background:
    linear-gradient(155deg, rgba(235, 215, 181, 0.08), rgba(67, 60, 45, 0.25));
}

.home-hazine-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22px;
  background: linear-gradient(180deg, rgba(230, 195, 138, 0.2), transparent);
  pointer-events: none;
}

.home-hazine-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.home-pick-item {
  border: 1px dashed rgba(212, 163, 115, 0.35);
  border-radius: 10px;
  padding: 8px;
  background:
    radial-gradient(circle at 8% 14%, rgba(232, 196, 139, 0.11), transparent 28%),
    rgba(15, 19, 17, 0.42);
}

.home-pick-item b {
  display: block;
  color: #ecd1a5;
  margin-bottom: 5px;
}

.home-event-item,
.home-sikke-item {
  border: 1px solid rgba(212, 163, 115, 0.23);
  border-radius: 10px;
  padding: 8px;
  background: rgba(14, 21, 18, 0.5);
  display: grid;
  gap: 4px;
}

.home-countdown {
  color: #f7dbad;
  font-weight: 700;
  font-size: 0.86rem;
}

.home-sikke-item {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.home-sikke-item b {
  color: #ecc17f;
}

.home-sikke-item strong {
  color: #fbe4bd;
}

.home-hero {
  padding-top: 24px;
}

.home-kpi-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-kpi-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(140deg, rgba(212, 163, 115, 0.1), rgba(143, 206, 171, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-kpi-card span {
  display: block;
  font-size: 0.8rem;
  color: #d8c8ae;
  margin-bottom: 6px;
}

.home-kpi-card strong {
  font-size: 1.35rem;
  color: #f8e1be;
  font-family: "Playfair Display", serif;
}

.home-featured {
  margin-top: 8px;
}

.home-featured .thread-item {
  background: linear-gradient(155deg, rgba(212, 163, 115, 0.14), rgba(143, 206, 171, 0.08), rgba(255, 255, 255, 0.01));
  border-color: rgba(212, 163, 115, 0.45);
}

.home-featured .thread-item h3 {
  font-size: 1.2rem;
  font-family: "Playfair Display", serif;
}

.home-featured .thread-meta {
  color: #f0dfc5;
  font-size: 0.85rem;
}

.home-faith-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-faith-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(150deg, rgba(212, 163, 115, 0.09), rgba(143, 206, 171, 0.08), rgba(255, 255, 255, 0.01));
}

.home-faith-card h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
}

.home-faith-quote {
  margin: 10px 0 0;
  color: #f1e6d1;
  line-height: 1.75;
}

.home-prayer-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-prayer-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 10px;
  background: rgba(13, 18, 17, 0.42);
}

.home-prayer-item b {
  display: block;
  font-size: 0.78rem;
  color: #d8c8ae;
}

.home-prayer-item span {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  color: #f7e6cb;
}

.home-prayer-actions {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home-featured-nav {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-featured-nav-btn {
  border: 1px solid rgba(212, 163, 115, 0.45);
  background: rgba(16, 24, 22, 0.7);
  color: #f6e9d4;
  border-radius: 9px;
  padding: 5px 9px;
  font-size: 0.75rem;
  cursor: pointer;
}

.home-featured-nav-btn:hover {
  border-color: rgba(212, 163, 115, 0.8);
  background: rgba(212, 163, 115, 0.18);
}

.home-featured-nav-index {
  color: #f0ddb9;
  font-size: 0.76rem;
  min-width: 46px;
  text-align: center;
}

.home-category-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(10, 13, 15, 0.55);
  color: #f1f3f6;
  font-size: 0.89rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms ease;
}

.home-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3em;
  margin-right: 6px;
  font-size: 0.95em;
}

.home-category-btn:hover {
  border-color: rgba(212, 163, 115, 0.52);
  background: rgba(212, 163, 115, 0.14);
}

.home-category-btn:active {
  transform: translateY(1px);
}

.home-category-btn.is-active {
  border-color: rgba(212, 163, 115, 0.75);
  color: #ffe4bf;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.27), rgba(143, 206, 171, 0.17));
}

.home-article-title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(212, 163, 115, 0.82);
}

.home-article-image {
  margin: 10px 0 10px;
  width: 100%;
  max-height: 230px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(212, 163, 115, 0.34);
}

.home-important-underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(143, 206, 171, 0.9);
  font-weight: 700;
}

.home-source-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-source-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 163, 115, 0.34);
  border-radius: 999px;
  padding: 5px 9px;
  color: #f4dfbf;
  text-decoration: none;
  font-size: 0.78rem;
  background: rgba(14, 20, 18, 0.7);
}

.home-source-link:hover {
  border-color: rgba(212, 163, 115, 0.66);
  background: rgba(212, 163, 115, 0.18);
}

.home-summary-box {
  margin-top: 8px;
  border: 1px solid rgba(143, 206, 171, 0.45);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(11, 20, 17, 0.65);
  color: #e6f3ec;
  line-height: 1.6;
}

.home-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 20px;
}

.home-mini-card {
  background: linear-gradient(145deg, rgba(212, 163, 115, 0.12), rgba(143, 206, 171, 0.06));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.home-mini-card .mini-meta {
  color: #e4e6e8;
  font-size: 0.93rem;
  line-height: 1.55;
}

.home-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-mini-pill {
  border: 1px solid rgba(212, 163, 115, 0.45);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.79rem;
  font-weight: 700;
  color: #fff0cf;
  background: rgba(12, 16, 18, 0.78);
}

.home-mini-card h3 {
  margin: 8px 0 8px;
  font-size: 1.08rem;
  color: #fff1d6;
}

.home-mini-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.home-mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid rgba(212, 163, 115, 0.44);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(10, 14, 16, 0.62);
  color: #f6e7cc;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.home-simple-ecosystem {
  margin: 12px 0 20px;
}

.home-simple-card {
  background: linear-gradient(140deg, rgba(212, 163, 115, 0.1), rgba(93, 133, 121, 0.08));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.home-simple-controls {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.home-simple-controls label {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
  color: #d7dde5;
}

.home-simple-pager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-simple-grid h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #f6e6c7;
}

.home-simple-list {
  display: grid;
  gap: 6px;
}

.home-simple-row {
  border: 1px solid rgba(212, 163, 115, 0.24);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(9, 14, 16, 0.52);
  font-size: 0.82rem;
  color: #ecf0f4;
  line-height: 1.45;
}

.home-simple-row b {
  color: #ffe0aa;
}

.home-mini-action:hover {
  border-color: rgba(212, 163, 115, 0.7);
  background: rgba(212, 163, 115, 0.18);
}

.home-insight-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 20px;
}

.home-insight-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at 9% 8%, rgba(212, 163, 115, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(20, 28, 24, 0.85), rgba(12, 17, 16, 0.8));
  box-shadow: var(--shadow);
}

.home-insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-insight-card h3 {
  margin: 8px 0 8px;
  font-size: 1.08rem;
  color: #fceccc;
}

.home-insight-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.home-insight-row {
  border: 1px solid rgba(212, 163, 115, 0.23);
  border-radius: 11px;
  padding: 8px 9px;
  background: rgba(8, 12, 12, 0.62);
  display: grid;
  gap: 6px;
}

.home-insight-row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
}

.home-insight-row-head b {
  color: #f5e7cf;
  font-size: 0.86rem;
}

.home-insight-row-head span {
  color: #e4d0ab;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-insight-bars {
  display: grid;
  gap: 6px;
}

.home-insight-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.home-insight-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
}

.home-insight-bar-fill.is-consensus {
  background: linear-gradient(90deg, rgba(125, 214, 168, 0.95), rgba(91, 176, 127, 0.95));
}

.home-insight-bar-fill.is-conflict {
  background: linear-gradient(90deg, rgba(255, 186, 105, 0.95), rgba(226, 126, 76, 0.95));
}

.home-insight-meta {
  color: #c9d0d6;
  font-size: 0.76rem;
}

.home-depth-pill {
  border: 1px solid rgba(143, 206, 171, 0.42);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #d7f5e5;
  background: rgba(12, 32, 25, 0.68);
}

.home-fetih-leaderboard-wrap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(212, 163, 115, 0.36);
}

.home-fetih-leaderboard-wrap h4 {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: #f4debb;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-fetih-leaderboard {
  display: grid;
  gap: 6px;
}

.home-fetih-rank {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(7, 11, 14, 0.56);
}

.home-fetih-rank span {
  color: #e7c997;
  font-weight: 700;
  font-size: 0.78rem;
}

.home-fetih-rank b {
  color: #f5f0e6;
  font-size: 0.84rem;
}

.home-fetih-rank strong {
  color: #d4f0dd;
  font-size: 0.79rem;
}

.home-fetih-rank.is-you {
  border-color: rgba(143, 206, 171, 0.62);
  background: rgba(22, 50, 44, 0.52);
}

.home-fetih-options {
  margin-top: 9px;
  display: grid;
  gap: 8px;
}

.home-fetih-option {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 10px;
  text-align: left;
  background: rgba(8, 11, 14, 0.66);
  color: #f1f4f8;
  font-size: 0.91rem;
  font-weight: 600;
  cursor: pointer;
}

.home-fetih-option.is-correct {
  border-color: rgba(90, 196, 136, 0.78);
  background: rgba(90, 196, 136, 0.18);
}

.home-fetih-option.is-wrong {
  border-color: rgba(235, 110, 110, 0.78);
  background: rgba(235, 110, 110, 0.16);
}

.home-vakif-track {
  margin-top: 10px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(10, 12, 15, 0.62);
}

.home-vakif-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5b97a, #8bc9b6);
  transition: width 300ms ease;
}

.thread-replies {
  margin-top: 8px;
  border-left: 2px solid rgba(143, 206, 171, 0.3);
  padding-left: 10px;
}

.thread-reply-item {
  margin: 0 0 6px;
  color: #d7d9dd;
  font-size: 0.86rem;
  line-height: 1.5;
}

.thread-reply-item.is-focused {
  border: 1px solid rgba(143, 206, 171, 0.6);
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(143, 206, 171, 0.08);
}

.thread-reply-quote {
  margin-top: 7px;
  margin-bottom: 7px;
  padding: 6px 8px;
  border-radius: 9px;
  display: grid;
  gap: 4px;
  border-left: 2px solid rgba(143, 206, 171, 0.5);
  background: rgba(11, 18, 16, 0.74);
}

.thread-reply-quote strong {
  font-size: 0.74rem;
  color: #c9efe0;
}

.thread-reply-quote span {
  font-size: 0.76rem;
  color: #bdd8cd;
}

.thread-reply-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
}

.thread-inline-action {
  border: 1px solid rgba(143, 206, 171, 0.34);
  background: rgba(10, 18, 16, 0.88);
  color: #dff6e9;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  cursor: pointer;
}

.thread-inline-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.thread-reply-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.thread-review-badge {
  display: inline-flex;
  margin: 8px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 206, 171, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dbf4e7;
  background: rgba(19, 35, 29, 0.54);
}

.thread-review-badge.is-pending_review {
  border-color: rgba(239, 179, 110, 0.55);
  color: #ffe7bd;
  background: rgba(70, 45, 18, 0.54);
}

.thread-review-badge.is-rejected {
  border-color: rgba(244, 122, 122, 0.58);
  color: #ffd8d8;
  background: rgba(70, 24, 24, 0.5);
}

.thread-review-note {
  margin: 10px 0 0;
  color: #d2ccb7;
  font-size: 0.82rem;
  line-height: 1.5;
}

.forum-controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
}

.forum-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-status {
  color: #cfd0d2;
  font-size: 0.9rem;
}

.forum-controls label {
  display: grid;
  gap: 8px;
  color: #d8d8d8;
  font-size: 0.9rem;
}

.control-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

.control-input:focus {
  border-color: rgba(212, 163, 115, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.16);
}

.auth-shell {
  margin-top: 20px;
  max-width: 620px;
}

.auth-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form.auth-error,
.auth-form.admin-auth-error {
  animation: adminAuthShake 320ms ease;
}

.control-input.auth-input-error,
.control-input.admin-input-error {
  border-color: rgba(228, 96, 96, 0.88);
  box-shadow: 0 0 0 3px rgba(228, 96, 96, 0.18);
}

.auth-status-error,
#admin-access-status.admin-status-error {
  color: #ff9e9e;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #d9d9db;
  font-size: 0.92rem;
}

.auth-maintenance {
  margin-bottom: 14px;
  border: 1px solid rgba(239, 179, 110, 0.48);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239, 179, 110, 0.16), rgba(209, 134, 69, 0.1));
  padding: 14px;
}

.auth-maintenance h3 {
  margin: 0;
  color: #ffe1be;
  font-size: 0.98rem;
}

.auth-maintenance p {
  margin: 8px 0 0;
  color: #f1e2d2;
  line-height: 1.55;
}

.auth-card a {
  color: var(--secondary);
  text-decoration: none;
}

.auth-form .btn.btn-ghost {
  justify-content: center;
}

.auth-verify-grid {
  display: grid;
  gap: 10px;
}

.auth-verify-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.auth-verify-inline .btn {
  white-space: nowrap;
}

.auth-cta-link,
.auth-cta-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(239, 179, 110, 0.62);
  background: linear-gradient(135deg, #ffd39f 0%, #efb36e 58%, #d18645 100%);
  color: #22150c;
  font-weight: 700;
  text-decoration: none;
}

.auth-cta-link:hover {
  border-color: rgba(255, 227, 196, 0.82);
  color: #1c1109;
}

@keyframes adminAuthShake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.guest-info-banner {
  margin: 12px 0 8px;
  border: 1px solid rgba(236, 197, 97, 0.46);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(68, 47, 16, 0.5), rgba(39, 29, 12, 0.44));
  padding: 12px 14px;
}

.guest-info-banner p {
  margin: 0;
  color: #f3e7bf;
  font-size: 0.9rem;
  line-height: 1.5;
}

.guest-info-banner a {
  color: #ffe7a1;
  font-weight: 700;
  text-decoration: underline;
}

.member-quick-panel {
  margin: 12px 0 6px;
  border: 1px solid rgba(143, 206, 171, 0.36);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(17, 30, 27, 0.58), rgba(12, 20, 18, 0.46));
  display: grid;
  gap: 10px;
}

.member-quick-head {
  display: grid;
  gap: 4px;
}

.member-quick-title {
  margin: 0;
  color: #e6f6ee;
  font-weight: 700;
}

.member-quick-meta {
  margin: 0;
  font-size: 0.84rem;
  color: #b6d9c8;
}

.member-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.cookie-consent {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 30;
}

.cookie-consent-card {
  margin: 0 auto;
  max-width: 780px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(16, 18, 22, 0.96), rgba(24, 30, 36, 0.94));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
  padding: 16px;
}

.cookie-consent-card h3 {
  margin: 0;
  color: #f4e8d8;
}

.cookie-consent-card p {
  margin: 8px 0 0;
  color: #d8d8dc;
  line-height: 1.55;
}

.cookie-consent-check {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9e8de;
}

.cookie-consent-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
}

.cookie-policy-link-wrap {
  margin-top: 10px;
  color: #d4dbe2;
}

.cookie-policy-link-wrap a {
  color: var(--secondary);
  text-decoration: none;
}

.cookie-consent-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-manage-btn {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 28;
  border: 1px solid rgba(143, 206, 171, 0.45);
  border-radius: 999px;
  padding: 9px 14px;
  color: #e9f5ef;
  background: linear-gradient(145deg, rgba(15, 24, 22, 0.96), rgba(20, 32, 29, 0.92));
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.cookie-manage-btn:hover {
  border-color: rgba(143, 206, 171, 0.72);
}

.game-mode-toggle.is-active {
  border-color: rgba(255, 212, 103, 0.78);
  color: #fff6d7;
  background: linear-gradient(135deg, rgba(41, 33, 10, 0.96), rgba(54, 33, 11, 0.94));
  box-shadow: 0 0 0 1px rgba(255, 212, 103, 0.3), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.game-mode-hud {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 29;
  min-width: 172px;
  border: 1px solid rgba(255, 212, 103, 0.44);
  border-radius: 14px;
  padding: 10px 12px;
  background: linear-gradient(145deg, rgba(22, 18, 8, 0.96), rgba(32, 20, 8, 0.94));
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.34);
}

.game-mode-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-mode-hud strong {
  color: #fff4c8;
  font-size: 0.9rem;
}

.game-mode-hud span {
  color: #ffd56b;
  font-size: 0.78rem;
}

.game-mode-hud p {
  margin: 6px 0 0;
  color: #f1dfae;
  font-size: 0.78rem;
}

#game-mode-remaining {
  margin-top: 4px;
  color: #ffe39a;
  font-size: 0.72rem;
}

#game-mode-reset {
  margin-top: 2px;
  color: #d8c58f;
  font-size: 0.68rem;
}

.admin-panel-summary {
  margin-top: 14px;
}

.admin-usage-guide {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(212, 194, 145, 0.34);
  border-radius: 12px;
  background: rgba(23, 30, 36, 0.5);
}

.admin-usage-guide summary {
  cursor: pointer;
  font-weight: 600;
  color: #e7e2cf;
}

.admin-usage-guide p {
  margin: 8px 0 0;
  color: #d5d9dc;
  font-size: 0.86rem;
}

.admin-action-columns {
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-action-column {
  border: 1px solid rgba(181, 168, 132, 0.28);
  border-radius: 12px;
  padding: 10px;
  background: rgba(18, 26, 33, 0.42);
}

.admin-action-column h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #f0dfb8;
}

.admin-action-column p {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #d0d8d7;
  line-height: 1.38;
}

.admin-report-cards {
  margin-top: 10px;
}

.admin-queue-controls {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 10px;
  align-items: end;
}

.admin-queue-controls label {
  display: grid;
  gap: 8px;
  color: #d9d9db;
  font-size: 0.9rem;
}

.admin-queue-controls .admin-queue-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cfd5d9;
}

.admin-queue-controls .admin-queue-toggle input {
  accent-color: var(--primary);
}

.admin-control-mechanism {
  margin-top: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
}

.admin-ai-rules-editor {
  border: 1px dashed var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: rgba(6, 20, 15, 0.2);
}

.admin-ai-rules-editor h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #dce7db;
}

.admin-ai-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-ai-review {
  border: 1px dashed var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.admin-ai-result {
  border-radius: 10px;
  border: 1px solid rgba(143, 206, 171, 0.35);
  background: rgba(17, 34, 27, 0.36);
  padding: 10px;
  display: grid;
  gap: 6px;
}

.admin-ai-result p {
  margin: 0;
  font-size: 0.85rem;
  color: #dbe6e2;
}

.admin-bulk-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-bulk-preview {
  margin-top: 8px;
  border: 1px dashed var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 6px;
}

.admin-bulk-preview p {
  margin: 0;
}

.admin-super-panel {
  margin-top: 12px;
  border: 1px solid rgba(227, 129, 129, 0.38);
  border-radius: 12px;
  padding: 12px;
  background: rgba(58, 18, 18, 0.28);
  display: grid;
  gap: 10px;
}

.admin-super-panel h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #ffd2c8;
}

.admin-super-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-super-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-super-auth-grid label {
  display: grid;
  gap: 6px;
  color: #f2d6ce;
  font-size: 0.85rem;
}

.admin-super-panel .btn {
  width: 100%;
  justify-content: center;
}

.admin-plus-banner {
  margin-bottom: 12px;
  border: 1px solid rgba(255, 206, 124, 0.42);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(66, 47, 12, 0.34);
  color: #ffe9bd;
  font-size: 0.9rem;
}

.admin-plus-panel {
  margin-top: 12px;
  border: 1px solid rgba(130, 188, 255, 0.35);
  border-radius: 12px;
  padding: 12px;
  background: rgba(11, 29, 50, 0.24);
  display: grid;
  gap: 10px;
}

.admin-debug-bar {
  position: sticky;
  top: 8px;
  z-index: 40;
  margin: 0 0 10px;
  border: 1px solid rgba(255, 215, 149, 0.5);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(36, 24, 6, 0.85);
  color: #ffe9c6;
  font-size: 0.78rem;
  line-height: 1.45;
  display: grid;
  gap: 4px;
}

.admin-debug-bar strong {
  font-size: 0.8rem;
  color: #fff3de;
}

.admin-innovation-hub {
  margin-top: 8px;
  border: 1px solid rgba(212, 163, 115, 0.36);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(64, 45, 20, 0.28), rgba(13, 25, 20, 0.3));
  display: grid;
  gap: 10px;
}

.admin-innovation-hub h3,
.admin-innovation-hub h4 {
  margin: 0;
}

.admin-widget-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-widget-category-btn {
  border-color: rgba(212, 163, 115, 0.35);
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #f2e6d3;
  background: rgba(255, 255, 255, 0.02);
}

.admin-widget-category-btn.is-active {
  background: rgba(212, 163, 115, 0.2);
  border-color: rgba(212, 163, 115, 0.8);
  color: #ffe8c9;
}

.admin-widget-category-btn[data-widget-category-tone="all"] {
  border-color: rgba(212, 163, 115, 0.35);
}

.admin-widget-category-btn[data-widget-category-tone="operations"] {
  border-color: rgba(120, 210, 150, 0.55);
  color: #d4f7de;
}

.admin-widget-category-btn[data-widget-category-tone="insight"] {
  border-color: rgba(125, 185, 255, 0.55);
  color: #d7e9ff;
}

.admin-widget-category-btn[data-widget-category-tone="governance"] {
  border-color: rgba(239, 179, 110, 0.6);
  color: #ffe7c7;
}

.admin-widget-category-btn[data-widget-category-tone="personalization"] {
  border-color: rgba(201, 153, 255, 0.55);
  color: #ecd9ff;
}

.admin-widget-category-btn.is-active[data-widget-category-tone="operations"] {
  background: rgba(120, 210, 150, 0.2);
}

.admin-widget-category-btn.is-active[data-widget-category-tone="insight"] {
  background: rgba(125, 185, 255, 0.2);
}

.admin-widget-category-btn.is-active[data-widget-category-tone="governance"] {
  background: rgba(239, 179, 110, 0.23);
}

.admin-widget-category-btn.is-active[data-widget-category-tone="personalization"] {
  background: rgba(201, 153, 255, 0.2);
}

.admin-innovation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-innovation-card {
  border: 1px solid rgba(212, 163, 115, 0.3);
  border-radius: 10px;
  padding: 10px;
  background: rgba(20, 24, 20, 0.38);
  display: grid;
  gap: 8px;
}

.admin-innovation-card label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: #e3dccd;
}

.admin-innovation-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.admin-innovation-actions .btn {
  width: 100%;
  justify-content: center;
}

.admin-shift-log-list {
  border: 1px dashed rgba(212, 163, 115, 0.35);
  border-radius: 10px;
  padding: 8px;
  max-height: 160px;
  overflow: auto;
  display: grid;
  gap: 6px;
  color: #e7e4dc;
  font-size: 0.82rem;
}

.admin-shift-log-row {
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 8px;
  padding: 6px 8px;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-shift-log-row span {
  color: #c8c9c9;
  font-size: 0.74rem;
}

.admin-focus-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-focus-kpi {
  border: 1px solid rgba(212, 163, 115, 0.24);
  border-radius: 8px;
  padding: 8px;
  display: grid;
  gap: 4px;
  background: rgba(15, 19, 16, 0.45);
}

.admin-focus-kpi strong {
  font-size: 1rem;
  color: #f6e8d2;
}

.admin-focus-kpi span {
  font-size: 0.75rem;
  color: #cdc6b7;
}

.admin-widget-config-card {
  grid-column: 1 / -1;
}

.admin-health-check-card {
  grid-column: span 2;
}

.admin-health-auto-toggle {
  border: 1px solid rgba(212, 163, 115, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #efe6d6;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8rem;
}

.admin-health-results {
  border: 1px dashed rgba(212, 163, 115, 0.3);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 6px;
  max-height: 200px;
  overflow: auto;
}

.admin-health-history {
  border: 1px dashed rgba(212, 163, 115, 0.24);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
}

.admin-health-history-row {
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 8px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 2px;
}

.admin-health-history-row strong {
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #efe4d1;
}

.admin-health-history-row span {
  font-size: 0.75rem;
  color: #d7d1c7;
}

.admin-health-history-row small {
  grid-column: 1 / -1;
  color: #c7c2b9;
  font-size: 0.7rem;
}

.admin-health-history-row.ok {
  border-color: rgba(120, 210, 150, 0.4);
}

.admin-health-history-row.fail {
  border-color: rgba(255, 120, 120, 0.42);
}

.admin-health-row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 8px;
  padding: 6px 8px;
}

.admin-health-row strong {
  grid-row: span 2;
  font-size: 0.72rem;
}

.admin-health-row span {
  font-size: 0.8rem;
  color: #f2e8d8;
}

.admin-health-row small {
  color: #cbc8bf;
  font-size: 0.72rem;
}

.admin-health-row.ok {
  border-color: rgba(120, 210, 150, 0.45);
  background: rgba(120, 210, 150, 0.08);
}

.admin-health-row.ok strong {
  color: #8ee7ab;
}

.admin-health-row.fail {
  border-color: rgba(255, 120, 120, 0.45);
  background: rgba(255, 120, 120, 0.08);
}

.admin-health-row.fail strong {
  color: #ff9f9f;
}

.admin-widget-config-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-widget-config-row {
  border: 1px solid rgba(212, 163, 115, 0.25);
  border-radius: 8px;
  padding: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8rem;
  color: #efe6d6;
}

.admin-widget-config-row input {
  margin-top: 2px;
}

.admin-widget-config-row-text {
  font-weight: 600;
}

.admin-widget-config-row small {
  grid-column: 2;
  color: #cfc3ae;
  font-size: 0.72rem;
}

.admin-widget-category-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(212, 163, 115, 0.35);
  background: rgba(212, 163, 115, 0.12);
}

.admin-widget-category-badge[data-widget-category-tone="operations"] {
  border-color: rgba(120, 210, 150, 0.55);
  background: rgba(120, 210, 150, 0.18);
  color: #d7f8e1;
}

.admin-widget-category-badge[data-widget-category-tone="insight"] {
  border-color: rgba(125, 185, 255, 0.55);
  background: rgba(125, 185, 255, 0.18);
  color: #dbeaff;
}

.admin-widget-category-badge[data-widget-category-tone="governance"] {
  border-color: rgba(239, 179, 110, 0.6);
  background: rgba(239, 179, 110, 0.2);
  color: #ffe8ca;
}

.admin-widget-category-badge[data-widget-category-tone="personalization"] {
  border-color: rgba(201, 153, 255, 0.55);
  background: rgba(201, 153, 255, 0.18);
  color: #f0deff;
}

.admin-task-board-card {
  grid-column: 1 / -1;
}

.admin-crud-matrix-card {
  grid-column: 1 / -1;
}

.admin-crud-controls {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.admin-crud-grid {
  overflow-x: auto;
}

.admin-crud-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-crud-table th,
.admin-crud-table td {
  border: 1px solid rgba(212, 163, 115, 0.25);
  padding: 8px 10px;
  text-align: center;
}

.admin-crud-table th {
  color: #f0dcc0;
  background: rgba(255, 255, 255, 0.03);
}

.admin-crud-table th[scope="row"] {
  text-align: left;
  min-width: 180px;
}

.admin-crud-table td.allowed {
  color: #9ee6b8;
}

.admin-crud-table td.denied {
  color: #f0b2b2;
}

.admin-rbac-designer-card {
  grid-column: 1 / -1;
}

.admin-rbac-designer-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(180px, 0.8fr) 140px 130px 150px 150px;
  gap: 8px;
  align-items: end;
}

.admin-rbac-designer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-rbac-pane {
  display: grid;
  gap: 6px;
}

.admin-rbac-pane h5 {
  margin: 0;
  color: #f0dcc0;
}

.admin-rbac-dropzone {
  min-height: 110px;
  border: 1px dashed rgba(212, 163, 115, 0.35);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 6px;
  align-content: start;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.admin-rbac-dropzone.dragover {
  border-color: rgba(143, 206, 171, 0.9);
  background: rgba(143, 206, 171, 0.14);
}

.admin-rbac-perm-chip {
  border: 1px solid rgba(212, 163, 115, 0.28);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(15, 19, 16, 0.5);
}

.admin-rbac-perm-chip span {
  font-size: 0.78rem;
  color: #eee7da;
  word-break: break-all;
}

.admin-rbac-perm-chip .btn {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 0.72rem;
}

.admin-task-board-create {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr) 170px 140px;
  gap: 8px;
}

.admin-task-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 160px 220px;
  gap: 8px;
}

.admin-task-board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.admin-task-column {
  border: 1px solid rgba(212, 163, 115, 0.28);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 8px;
}

.admin-task-column h5 {
  margin: 0;
  color: #f0dcc0;
}

.admin-task-list {
  display: grid;
  gap: 6px;
  min-height: 48px;
}

.admin-task-row {
  border: 1px solid rgba(212, 163, 115, 0.22);
  border-radius: 8px;
  padding: 8px;
  background: rgba(15, 19, 16, 0.45);
  display: grid;
  gap: 6px;
}

.admin-task-row p {
  margin: 0;
  color: #f2ece0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-task-meta {
  color: #c8c7c4;
  font-size: 0.74rem;
  line-height: 1.35;
}

.admin-task-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.admin-task-actions .btn {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 0.72rem;
}

.admin-plus-panel h4,
.admin-plus-panel h5 {
  margin: 0;
}

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

  .admin-task-board-create {
    grid-template-columns: 1fr;
  }

  .admin-rbac-designer-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-rbac-designer-grid {
    grid-template-columns: 1fr;
  }

  .admin-focus-kpi-grid {
    grid-template-columns: 1fr;
  }

  .admin-widget-config-list {
    grid-template-columns: 1fr;
  }

  .admin-health-check-card {
    grid-column: 1 / -1;
  }

  .admin-task-filter-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .admin-task-board-grid {
    grid-template-columns: 1fr;
  }
}

.admin-plus-global-search {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(130, 188, 255, 0.3);
  border-radius: 10px;
  padding: 8px;
  background: rgba(10, 25, 43, 0.36);
}

.admin-plus-global-search label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: #d9e8ff;
}

.admin-plus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-plus-card {
  border: 1px solid rgba(130, 188, 255, 0.28);
  border-radius: 10px;
  padding: 10px;
  background: rgba(7, 20, 34, 0.35);
  display: grid;
  gap: 8px;
}

.admin-plus-health {
  display: grid;
  gap: 5px;
}

.admin-plus-health p {
  margin: 0;
  font-size: 0.84rem;
  color: #d8e7ff;
}

.admin-health-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid rgba(200, 208, 220, 0.4);
  background: rgba(90, 102, 122, 0.28);
  color: #f2f6ff;
  font-size: 0.74rem;
}

.admin-health-pill.is-up {
  border-color: rgba(95, 212, 138, 0.45);
  background: rgba(19, 72, 42, 0.45);
  color: #d3f8de;
}

.admin-health-pill.is-warn {
  border-color: rgba(238, 194, 87, 0.45);
  background: rgba(97, 71, 12, 0.45);
  color: #ffe9b6;
}

.admin-health-pill.is-down {
  border-color: rgba(236, 126, 126, 0.45);
  background: rgba(92, 24, 24, 0.5);
  color: #ffd2d2;
}

.admin-plus-health-history {
  margin-top: 6px;
  border: 1px dashed rgba(130, 188, 255, 0.32);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 6px;
}

.admin-plus-health-history-title {
  margin: 0;
  font-size: 0.8rem;
  color: #cddfff;
}

.admin-plus-history-bars {
  min-height: 56px;
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  align-items: end;
  gap: 3px;
}

.admin-plus-history-bar {
  width: 100%;
  border-radius: 4px 4px 2px 2px;
  background: rgba(139, 156, 179, 0.4);
  cursor: pointer;
  transition: transform 120ms ease;
}

.admin-plus-history-bar:hover,
.admin-plus-history-bar:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.admin-plus-history-bar.is-up {
  background: linear-gradient(180deg, rgba(112, 232, 156, 0.92), rgba(42, 137, 81, 0.92));
}

.admin-plus-history-bar.is-warn {
  background: linear-gradient(180deg, rgba(255, 224, 123, 0.95), rgba(176, 124, 19, 0.95));
}

.admin-plus-history-bar.is-down {
  background: linear-gradient(180deg, rgba(255, 162, 162, 0.95), rgba(176, 62, 62, 0.95));
}

.admin-plus-source-trend-bars {
  min-height: 56px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 4px;
}

.admin-plus-source-trend-bar {
  width: 100%;
  border-radius: 4px 4px 2px 2px;
  background: rgba(139, 156, 179, 0.4);
  cursor: pointer;
  transition: transform 120ms ease;
}

.admin-plus-source-trend-bar:hover,
.admin-plus-source-trend-bar:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.admin-plus-source-trend-bar.is-up {
  background: linear-gradient(180deg, rgba(112, 232, 156, 0.92), rgba(42, 137, 81, 0.92));
}

.admin-plus-source-trend-bar.is-warn {
  background: linear-gradient(180deg, rgba(255, 224, 123, 0.95), rgba(176, 124, 19, 0.95));
}

.admin-plus-source-trend-bar.is-down {
  background: linear-gradient(180deg, rgba(255, 162, 162, 0.95), rgba(176, 62, 62, 0.95));
}

.admin-plus-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.admin-plus-actions .btn {
  width: 100%;
  justify-content: center;
}

.admin-plus-actions label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: #cfe2ff;
}

.admin-plus-auth-table-wrap {
  border: 1px solid rgba(130, 188, 255, 0.28);
  border-radius: 10px;
  overflow: hidden;
}

.admin-plus-auth-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  color: #d9e8ff;
}

.admin-plus-auth-table th,
.admin-plus-auth-table td {
  border-bottom: 1px solid rgba(130, 188, 255, 0.2);
  padding: 6px 8px;
  text-align: left;
}

.admin-plus-auth-table th {
  background: rgba(18, 40, 66, 0.55);
  font-weight: 700;
  color: #f4f8ff;
}

.admin-plus-auth-table tr:last-child td {
  border-bottom: none;
}

#admin-plus-auth-force-sync {
  width: 100%;
  justify-content: center;
}

.admin-plus-auth-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.admin-plus-auth-actions .btn {
  width: 100%;
  justify-content: center;
}

.admin-plus-auth-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-plus-auth-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #cfe2ff;
}

.admin-plus-broadcast-body {
  min-height: 92px;
  resize: vertical;
}

.admin-plus-message-chip {
  margin-left: 8px;
  border: 1px solid rgba(130, 188, 255, 0.45);
  background: rgba(29, 62, 97, 0.65);
  color: #dff0ff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.72rem;
  line-height: 1.5;
  cursor: pointer;
}

.admin-plus-message-chip:hover {
  background: rgba(43, 86, 132, 0.72);
}

.admin-plus-message-chip:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.admin-plus-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-plus-chip-row .admin-plus-message-chip {
  margin-left: 0;
}

.lugat-hint-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c9b89a;
  background: #fff8ea;
  color: #5a3c11;
  border-radius: 999px;
  padding: 2px 8px;
  margin-right: 6px;
  margin-bottom: 4px;
  font-size: 0.78rem;
  cursor: help;
}

.kitabeler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.kitabe-card {
  border: 1px solid #d4c2a8;
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(145deg, #f7f3eb, #efe5d6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.kitabe-card h3 {
  margin: 0 0 8px;
  color: #6a4a23;
}

.medrese-plus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.medrese-plus-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  display: grid;
  gap: 8px;
}

.medrese-plus-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.medrese-plus-quote {
  margin: 0;
  color: #e8dcc7;
  line-height: 1.55;
  font-size: 0.9rem;
}

.medrese-plus-options {
  display: grid;
  gap: 6px;
}

.medrese-plus-option-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.medrese-plus-option-row input {
  margin: 0;
}

body.kandil-mode {
  background: radial-gradient(circle at top, rgba(40, 75, 42, 0.22), transparent 55%);
}

body.kandil-mode .auth-card,
body.kandil-mode .thread-item {
  border-color: rgba(176, 152, 68, 0.5);
  box-shadow: 0 0 0 1px rgba(176, 152, 68, 0.15);
}

.admin-plus-users-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.admin-plus-users-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #cfe2ff;
}

.admin-plus-users-table-wrap {
  border: 1px solid rgba(130, 188, 255, 0.28);
  border-radius: 10px;
  overflow: auto;
  max-height: 220px;
}

.admin-plus-compact-textarea {
  min-height: 86px;
  resize: vertical;
}

.admin-plus-list {
  border: 1px dashed rgba(130, 188, 255, 0.32);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 6px;
  font-size: 0.76rem;
  color: #d7e7ff;
  max-height: 210px;
  overflow: auto;
}

.admin-plus-list-row {
  border: 1px solid rgba(130, 188, 255, 0.2);
  border-radius: 8px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: rgba(10, 24, 42, 0.45);
}

.admin-plus-list-actions {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 6px;
}

.admin-plus-list-actions .btn {
  min-height: 30px;
  padding: 4px 8px;
  font-size: 0.72rem;
}

.admin-plus-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-plus-kpi-box {
  border: 1px solid rgba(130, 188, 255, 0.24);
  border-radius: 10px;
  padding: 8px;
  background: rgba(12, 28, 49, 0.48);
  display: grid;
  gap: 4px;
}

.admin-plus-kpi-box strong {
  font-size: 0.72rem;
  color: #b8d7ff;
}

.admin-plus-kpi-box span {
  font-size: 1rem;
  font-weight: 700;
  color: #f4f9ff;
}

.admin-plus-kpi-box small {
  font-size: 0.68rem;
  color: #9fbee3;
}

.admin-plus-kpi-box.is-alert {
  border-color: rgba(255, 124, 124, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 124, 124, 0.35) inset;
}

.admin-plus-mini-bars {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 2px;
  align-items: end;
  min-height: 72px;
  border: 1px solid rgba(130, 188, 255, 0.2);
  border-radius: 8px;
  padding: 6px;
  background: rgba(10, 24, 42, 0.42);
}

.admin-plus-mini-bars.is-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.admin-plus-mini-bar {
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(132, 187, 255, 0.95) 0%, rgba(77, 133, 227, 0.88) 100%);
  min-height: 4px;
}

.admin-plus-mini-bar.is-muted {
  background: linear-gradient(180deg, rgba(129, 154, 188, 0.75) 0%, rgba(90, 108, 145, 0.72) 100%);
}

.admin-plus-risk-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.admin-plus-risk-badge.is-high {
  background: rgba(255, 87, 87, 0.2);
  color: #ff9f9f;
  border: 1px solid rgba(255, 130, 130, 0.35);
}

.admin-plus-risk-badge.is-medium {
  background: rgba(255, 185, 88, 0.2);
  color: #ffd7a2;
  border: 1px solid rgba(255, 196, 120, 0.35);
}

.admin-plus-risk-badge.is-low {
  background: rgba(114, 199, 150, 0.2);
  color: #b7f2d2;
  border: 1px solid rgba(132, 218, 168, 0.32);
}

.admin-plus-multiaccount-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: #a8c6ec;
}

.admin-plus-users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
  color: #d9e8ff;
}

.admin-plus-users-table th,
.admin-plus-users-table td {
  border-bottom: 1px solid rgba(130, 188, 255, 0.2);
  padding: 6px 8px;
  text-align: left;
}

.admin-plus-user-select {
  width: 16px;
  height: 16px;
  accent-color: #74a8ff;
}

.admin-plus-users-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(18, 40, 66, 0.9);
  color: #f4f8ff;
}

.admin-plus-users-table tr:last-child td {
  border-bottom: none;
}

.admin-plus-users-detail-row td {
  background: rgba(14, 28, 45, 0.72);
  color: #cfe2ff;
  font-size: 0.72rem;
}

.admin-plus-users-detail-btn {
  width: 100%;
  justify-content: center;
  padding: 4px 8px;
  font-size: 0.72rem;
}

.admin-plus-users-pagination {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.admin-plus-users-pagination .btn {
  min-width: 84px;
  justify-content: center;
}

#admin-plus-broadcast-segment-select,
#admin-plus-broadcast-segment-name {
  min-height: 36px;
}

.admin-plus-auth-sync-timeline {
  display: grid;
  gap: 6px;
  max-height: 172px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(130, 188, 255, 0.24);
  border-radius: 10px;
  background: rgba(13, 30, 51, 0.45);
  font-size: 0.76rem;
  color: #d9e8ff;
}

.admin-plus-auth-sync-row {
  display: grid;
  grid-template-columns: 74px 64px 72px 1fr;
  gap: 8px;
  align-items: center;
}

.admin-plus-auth-sync-badge {
  border-radius: 999px;
  padding: 2px 8px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(130, 188, 255, 0.25);
}

.admin-plus-auth-sync-badge.is-up {
  color: #d9ffe8;
  background: rgba(30, 120, 62, 0.35);
}

.admin-plus-auth-sync-badge.is-down {
  color: #ffe0e0;
  background: rgba(149, 44, 44, 0.35);
}

.admin-plus-auth-sync-endpoint {
  font-size: 0.7rem;
  color: #b7d5ff;
}

.admin-plus-auth-sync-latency {
  border-radius: 999px;
  padding: 1px 6px;
  border: 1px solid rgba(130, 188, 255, 0.25);
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: 6px;
}

.admin-plus-auth-sync-latency.is-up {
  color: #d9ffe8;
  background: rgba(30, 120, 62, 0.28);
}

.admin-plus-auth-sync-latency.is-warn {
  color: #fff0cc;
  background: rgba(167, 119, 22, 0.28);
}

.admin-plus-auth-sync-latency.is-down {
  color: #ffe0e0;
  background: rgba(149, 44, 44, 0.28);
}

.admin-plus-date-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}

.admin-plus-date-presets .btn {
  width: 100%;
  justify-content: center;
}

.admin-row-select {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.admin-mobile-quick-actions {
  position: sticky;
  bottom: 10px;
  z-index: 9;
  margin-top: 12px;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(212, 194, 145, 0.35);
  border-radius: 12px;
  background: rgba(12, 16, 20, 0.88);
  backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
  .admin-queue-controls {
    grid-template-columns: 1fr;
  }

  .admin-action-columns {
    grid-template-columns: 1fr;
  }

  .admin-usage-guide {
    padding: 9px 10px;
  }

  .admin-usage-guide p {
    font-size: 0.82rem;
  }

  .admin-ai-rules-grid {
    grid-template-columns: 1fr;
  }

  .admin-super-actions {
    grid-template-columns: 1fr;
  }

  .admin-super-auth-grid {
    grid-template-columns: 1fr;
  }

  .admin-plus-grid {
    grid-template-columns: 1fr;
  }

  .admin-plus-actions {
    grid-template-columns: 1fr;
  }

  .admin-plus-auth-filters {
    grid-template-columns: 1fr;
  }

  .admin-plus-auth-actions {
    grid-template-columns: 1fr;
  }

  .admin-plus-users-filters {
    grid-template-columns: 1fr;
  }

  .admin-mobile-quick-actions {
    display: grid;
  }

  #profile-moderation-list .thread-item {
    padding: 10px;
    gap: 10px;
  }
}

#game-mode-next {
  margin-top: 2px;
  color: #e9d7a6;
  font-size: 0.68rem;
}

#game-mode-streak,
#game-mode-last {
  margin-top: 2px;
  color: #d8cda5;
  font-size: 0.66rem;
}

#game-mode-remaining.is-actionable {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 226, 140, 0.66);
}

#game-mode-remaining.is-actionable:hover {
  color: #fff2c1;
}

#game-mode-remaining.is-actionable:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 212, 103, 0.4);
  border-radius: 6px;
}

#game-mode-remaining.is-done {
  color: #d9f2bd;
  text-decoration: none;
  cursor: default;
}

.game-mode-quests {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.game-quest-item {
  display: grid;
  gap: 4px;
}

.game-quest-item.is-done .game-quest-meta {
  color: #ffe7a7;
}

.game-quest-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #dacd9f;
}

.game-quest-state {
  font-size: 0.66rem;
  color: #d9c88d;
}

.game-quest-item.is-done .game-quest-state {
  color: #ffe39f;
}

.game-quest-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.game-quest-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2be55, #ffe28c);
  transition: width 220ms ease;
}

.game-quest-go {
  margin-top: 4px;
  justify-self: start;
  border: 1px solid rgba(255, 212, 103, 0.46);
  border-radius: 999px;
  background: rgba(55, 35, 12, 0.86);
  color: #ffe8ad;
  padding: 2px 8px;
  font-size: 0.66rem;
  cursor: pointer;
}

.game-quest-go:hover {
  border-color: rgba(255, 227, 150, 0.76);
  color: #fff2cb;
}

.profile-game-chip-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-game-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  color: #d8dde3;
  background: rgba(255, 255, 255, 0.04);
}

.profile-game-badge {
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-game-badge.is-bronze {
  color: #f4d9ba;
  border-color: rgba(217, 150, 96, 0.5);
  background: rgba(71, 42, 22, 0.48);
}

.profile-game-badge.is-silver {
  color: #e4edf8;
  border-color: rgba(146, 169, 194, 0.58);
  background: rgba(39, 51, 67, 0.5);
}

.profile-game-badge.is-gold {
  color: #fff2be;
  border-color: rgba(236, 197, 97, 0.62);
  background: rgba(67, 54, 20, 0.56);
}

.profile-game-badge.is-elite {
  color: #fff4cf;
  border-color: rgba(255, 212, 103, 0.82);
  background: linear-gradient(135deg, rgba(64, 51, 16, 0.74), rgba(120, 67, 18, 0.52));
}

.profile-rank-progress {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
}

.profile-rank-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #e6d3ac;
  font-size: 0.84rem;
}

.profile-rank-progress-track {
  margin-top: 8px;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.profile-rank-progress-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d5a463 0%, #ffe0a6 100%);
  transition: width 260ms ease;
}

.welcome-akce-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 16px;
}

.welcome-akce-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(3px);
}

.welcome-akce-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  border: 1px solid rgba(255, 214, 138, 0.42);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(29, 22, 14, 0.94), rgba(42, 28, 16, 0.94));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  padding: 20px;
}

.welcome-akce-panel h3 {
  margin: 0 0 8px;
  color: #ffe9bc;
  font-size: clamp(1.12rem, 2.8vw, 1.4rem);
}

.settings-preview.is-error {
  color: #ffb3b3;
}

.profile-store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-store-wallet-box {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.profile-store-wallet-label {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b7bec6;
}

.profile-store-wallet-value {
  font-size: 1.08rem;
  color: #ffe6b5;
}

.profile-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.profile-store-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 12px;
}

.profile-store-item h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #f5e6c8;
}

.profile-store-item p {
  margin: 8px 0 10px;
  font-size: 0.88rem;
  color: #d0d5dc;
}

.profile-store-item-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.profile-store-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 214, 138, 0.35);
  border-radius: 999px;
  background: rgba(73, 52, 21, 0.48);
  color: #ffe5b0;
  font-size: 0.7rem;
  line-height: 1;
  padding: 4px 8px;
}

.profile-store-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-store-price {
  font-size: 0.86rem;
  color: #ffd797;
  font-weight: 600;
}

.profile-store-buy-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.profile-store-toast {
  margin-top: 12px;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(160, 214, 160, 0.55);
  background: rgba(26, 66, 36, 0.62);
  color: #daf7db;
  font-size: 0.86rem;
}

.profile-store-toast.is-error {
  border-color: rgba(233, 131, 131, 0.58);
  background: rgba(78, 26, 26, 0.62);
  color: #ffd1d1;
}

body.game-mode .ambient-a,
body.game-mode .ambient-b {
  filter: saturate(1.22) hue-rotate(8deg);
}

body.game-mode .site-header {
  border-bottom-color: rgba(255, 212, 103, 0.4);
}

body.game-mode .brand {
  text-shadow: 0 0 16px rgba(255, 212, 103, 0.28);
}

.thread-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--surface-strong);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.thread-item.is-focused {
  border-color: rgba(212, 163, 115, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.18), var(--shadow);
}

.thread-item h3 {
  margin: 0;
  font-size: 1rem;
}

.thread-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.thread-meta {
  text-align: right;
  font-size: 0.82rem;
  color: #bbb;
}

.thread-actions {
  margin-top: 10px;
}

.thread-share-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 206, 171, 0.34);
  background: linear-gradient(145deg, rgba(13, 20, 18, 0.94), rgba(20, 31, 29, 0.92));
  color: #e2f7ea;
  text-decoration: none;
  border-radius: 12px;
  min-height: 40px;
  padding: 8px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.thread-share-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 206, 171, 0.7);
  color: #f3fffa;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(143, 206, 171, 0.2);
}

.thread-share-btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible,
.thread-share-btn:focus-visible,
.menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(143, 206, 171, 0.3), 0 10px 24px rgba(0, 0, 0, 0.34);
}

.council-room-card {
  display: grid;
  gap: 10px;
}

.council-room-card.is-focused {
  border-color: rgba(212, 163, 115, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.18), var(--shadow);
}

.council-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.council-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: #d6d6d8;
  background: rgba(255, 255, 255, 0.03);
}

.council-pill.is-live {
  border-color: rgba(143, 206, 171, 0.56);
  color: #d8f4e5;
  background: rgba(143, 206, 171, 0.16);
}

.council-message-item h3 {
  color: #f0dfc8;
}

.council-message-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.council-reply-link {
  font-size: 0.76rem;
  color: #bdd8ca;
}

.council-reply-quote {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(143, 206, 171, 0.28);
  background: linear-gradient(145deg, rgba(10, 18, 16, 0.84), rgba(14, 24, 21, 0.78));
}

.council-reply-quote strong {
  font-size: 0.78rem;
  color: #d9f3e6;
}

.council-reply-quote p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #c7ddd3;
}

.council-reply-quote-actions {
  margin-top: 8px;
}

.council-message-item.is-focused {
  border-color: rgba(143, 206, 171, 0.7);
  box-shadow: 0 0 0 3px rgba(143, 206, 171, 0.2), var(--shadow);
}

.contact-split {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.contact-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.contact-card a {
  color: var(--secondary);
  text-decoration: none;
}

.fake-form {
  display: grid;
  gap: 10px;
}

.fake-input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.02);
}

.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px 30px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed var(--line);
}

.site-footer-sealed {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
}

.footer-seal-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-muhur-text {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 78%, #b8894d 22%);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.footer-muhur {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 2px solid rgba(184, 137, 77, 0.62);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(234, 203, 157, 0.34), rgba(33, 24, 15, 0.64));
  box-shadow: inset 0 0 0 2px rgba(255, 223, 171, 0.24), 0 14px 24px rgba(0, 0, 0, 0.36);
}

.footer-muhur-core {
  font-size: 1.06rem;
  color: #f6ddbb;
  letter-spacing: 0.03em;
}

body.home-kandil-mode {
  --bg: #060912;
  --surface: #0a1020;
  --surface-strong: #10192e;
  --card: #121f34;
  --ink: #e7dfcf;
  --muted: #a8a192;
  --primary: #d6ac57;
  --secondary: #6e8ebe;
  background:
    radial-gradient(circle at 52% 20%, rgba(227, 193, 120, 0.22), transparent 26%),
    radial-gradient(circle at 30% 8%, rgba(255, 226, 165, 0.12), transparent 17%),
    radial-gradient(circle at 80% 12%, rgba(112, 142, 188, 0.2), transparent 30%),
    linear-gradient(160deg, #04060f 0%, #0a1020 55%, #11172a 100%);
}

body.home-kandil-mode .ambient-a,
body.home-kandil-mode .ambient-b {
  opacity: 0.22;
}

body.home-kandil-mode .home-hikmet-panel h2,
body.home-kandil-mode .home-hazine-header h2,
body.home-kandil-mode .home-mini-card h3,
body.home-kandil-mode .section-title h2 {
  color: #ffd78a;
  text-shadow: 0 0 14px rgba(255, 212, 129, 0.28);
}

body.home-kandil-mode .home-mini-card,
body.home-kandil-mode .home-module-card,
body.home-kandil-mode .home-hazine-card {
  box-shadow: 0 0 22px rgba(227, 193, 120, 0.14), var(--shadow);
}

body.home-kandil-mode .home-module-link,
body.home-kandil-mode .home-fetih-option,
body.home-kandil-mode .home-category-btn,
body.home-kandil-mode .home-mini-card .mini-meta,
body.home-kandil-mode .home-hikmet-modern,
body.home-kandil-mode .mini-meta {
  color: #f1e6d0;
}

body.home-kandil-mode .home-module-link,
body.home-kandil-mode .home-fetih-option,
body.home-kandil-mode .home-category-btn {
  background: rgba(12, 19, 33, 0.84);
  border-color: rgba(255, 212, 129, 0.42);
}

body.home-readable-mode .home-hikmet-ottoman,
body.home-readable-mode .home-hikmet-modern,
body.home-readable-mode .home-module-link,
body.home-readable-mode .home-fetih-option,
body.home-readable-mode .home-category-btn,
body.home-readable-mode .home-mini-card .mini-meta,
body.home-readable-mode #home-vakif-text,
body.home-readable-mode .footer-muhur-text,
body.home-readable-mode .thread-item p,
body.home-readable-mode .mini-meta {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

body.home-readable-mode .home-hikmet-ottoman {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
}

body.home-readable-mode .home-hikmet-modern {
  font-size: 1.05rem;
  font-weight: 600;
}

body.home-readable-mode .home-module-link,
body.home-readable-mode .home-fetih-option,
body.home-readable-mode .home-category-btn {
  font-size: 0.96rem;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(5, 8, 12, 0.84);
}

body.home-readable-mode .home-fetih-option {
  padding: 10px 11px;
}

body.home-readable-mode .home-mini-pill {
  font-size: 0.84rem;
  font-weight: 800;
  color: #fff7e4;
}

body.home-readable-mode .home-mini-action,
body.home-readable-mode .home-mini-meta-row .mini-meta {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.52);
}

body.home-readable-mode .home-fetih-rank b,
body.home-readable-mode .home-fetih-rank strong,
body.home-readable-mode .home-fetih-rank span {
  color: #ffffff;
}

body.home-readable-mode .home-mini-card,
body.home-readable-mode .home-module-card,
body.home-readable-mode .home-hazine-card,
body.home-readable-mode .thread-item {
  border-color: rgba(255, 255, 255, 0.22);
}

body.home-readable-mode .home-vakif-track {
  height: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.stagger.in > *:nth-child(1) {
  transition-delay: 60ms;
}

.stagger.in > *:nth-child(2) {
  transition-delay: 170ms;
}

.stagger.in > *:nth-child(3) {
  transition-delay: 280ms;
}

.stagger.in > *:nth-child(4) {
  transition-delay: 390ms;
}

.stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-18%);
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, -18px, 0);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 12px, 0);
  }
}

@keyframes register-hero-shine {
  0% {
    transform: translateX(-58%);
    opacity: 0;
  }
  20% {
    opacity: 0.34;
  }
  50% {
    transform: translateX(62%);
    opacity: 0.2;
  }
  100% {
    transform: translateX(62%);
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .cards,
  .integration-grid,
  .list-grid,
  .timeline-grid,
  .contact-split,
  .forum-controls,
  .home-mini-grid,
  .home-insight-panels,
  .home-portal-grid,
  .home-hazine-grid {
    grid-template-columns: 1fr;
  }

  .thread-item {
    grid-template-columns: 1fr;
  }

  .thread-meta {
    text-align: left;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-hikmet-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .home-hikmet-plus-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-register {
    padding: 22px 16px 16px;
    border-radius: 18px;
  }

  .register-hero-chip {
    font-size: 0.72rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
  }

  .kandil-toggle {
    order: 3;
    margin-left: auto;
  }

  .readability-toggle {
    order: 3;
  }

  .top-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 16, 18, 0.92);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
  }

  .top-nav.open {
    display: flex;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer-sealed {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-seal-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-mini-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ottoman-strip {
    margin: 0 20px 10px;
    padding-inline: 12px;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-consent-grid {
    grid-template-columns: 1fr;
  }

}
