@font-face {
  font-family: "Noir Et Blanc";
  src: url("assets/fonts/noir-et-blanc.ttf") format("truetype");
  font-display: swap;
}

/* 20260601-homeai-v2: ana sayfa yalnızca kurumsal Cloud AI, medya ayrı sayfa */
body.ai-only-home.home-ai-v2[data-theme="press"] {
  min-height: 100dvh;
  margin: 0;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 50% 112%, rgba(244, 134, 36, 0.075), transparent 30%),
    radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #101012 0%, #070708 52%, #030303 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.ai-only-home.home-ai-v2[data-theme="press"]::before {
  opacity: 0.035;
  background:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
}

body.ai-only-home.home-ai-v2[data-theme="press"]::after,
body.ai-only-home.home-ai-v2[data-theme="press"] .topbar,
body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-hero-image,
body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-orbit,
body.ai-only-home.home-ai-v2[data-theme="press"] .ai-kicker,
body.ai-only-home.home-ai-v2[data-theme="press"] .ai-signal-row,
body.ai-only-home.home-ai-v2[data-theme="press"] .ai-chat-head,
body.ai-only-home.home-ai-v2[data-theme="press"] .ai-character-mood,
body.ai-only-home.home-ai-v2[data-theme="press"] .ai-chip-row,
body.ai-only-home.home-ai-v2[data-theme="press"] #ai-deep-toggle,
body.ai-only-home.home-ai-v2[data-theme="press"] #ai-reset,
body.ai-only-home.home-ai-v2[data-theme="press"] main.site-shell > :not(#berzah-ai),
body.ai-only-home.home-ai-v2[data-theme="press"] .install-ribbon,
body.ai-only-home.home-ai-v2[data-theme="press"] .consent-banner {
  display: none !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .boot-loader {
  background: #050505;
  color: #f5f5f7;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .boot-loader::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.07), transparent 35%),
    #050505;
  background-size: auto;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .boot-loader-inner {
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(18, 18, 20, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

body.ai-only-home.home-ai-v2[data-theme="press"] .boot-loader span,
body.ai-only-home.home-ai-v2[data-theme="press"] .boot-loader strong,
body.ai-only-home.home-ai-v2[data-theme="press"] .boot-loader small {
  color: #f5f5f7;
  letter-spacing: 0;
  text-transform: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .site-shell {
  display: grid;
  place-items: stretch center;
  width: 100%;
  min-height: 100dvh;
  padding: 0;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai {
  display: grid;
  align-items: center;
  width: min(920px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px) clamp(14px, 4vw, 32px) 112px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  color: #f5f5f7;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai::before,
body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai::after {
  display: none !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 5vh, 40px);
  width: min(760px, 100%);
  min-height: min(680px, calc(100dvh - 180px));
  margin: 0 auto;
  padding: 0;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-identity {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  text-align: center;
  background: transparent;
  box-shadow: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-identity h1 {
  margin: 0;
  color: #f5f5f7;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.07);
  font: 560 clamp(2.35rem, 7vw, 4.85rem)/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-chat {
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #f5f5f7;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-chat::before {
  display: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-thread {
  display: grid;
  align-content: end;
  gap: 14px;
  width: 100%;
  max-height: none;
  min-height: 0;
  padding: 0 2px 2px;
  border: 0;
  border-radius: 0;
  color: #f5f5f7;
  background: transparent;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: thin;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-thread:empty {
  min-height: clamp(150px, 30vh, 290px);
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message {
  display: grid;
  grid-template-columns: 1fr;
  max-width: min(82%, 650px);
  gap: 0;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message-avatar,
body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message span {
  display: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message.is-user {
  justify-self: end;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message-body {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message.is-user .ai-message-body {
  background: rgba(255, 255, 255, 0.14);
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message p {
  margin: 0;
  color: inherit;
  font: 430 0.98rem/1.58 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-height: 66px;
  padding: 8px 56px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  background: rgba(35, 35, 39, 0.86);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 34px rgba(244, 134, 36, 0.025);
  backdrop-filter: blur(24px);
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-form:focus-within {
  border-color: rgba(255, 255, 255, 0.23);
  box-shadow:
    0 26px 76px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.055) inset,
    0 0 40px rgba(244, 134, 36, 0.055);
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-form label {
  display: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-form textarea {
  height: 50px;
  min-height: 50px;
  max-height: 190px;
  padding: 14px 10px 12px 12px;
  border: 0;
  border-radius: 22px;
  color: #f5f5f7;
  background: transparent;
  box-shadow: none;
  resize: none;
  outline: none;
  font: 430 1rem/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-form textarea::placeholder {
  color: rgba(245, 245, 247, 0.46);
}

body.ai-only-home.home-ai-v2[data-theme="press"] .ai-form-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
}

body.ai-only-home.home-ai-v2[data-theme="press"] #ai-send {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #0a0a0b;
  background: #f5f5f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  font-size: 0;
}

body.ai-only-home.home-ai-v2[data-theme="press"] #ai-send::before {
  content: "↑";
  font: 760 19px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
}

body.ai-only-home.home-ai-v2[data-theme="press"] #ai-send:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(244, 134, 36, 0.08);
}

body.ai-only-home.home-ai-v2[data-theme="press"] .home-media-link {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  place-items: center;
  pointer-events: none;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .home-media-link a {
  pointer-events: auto;
  color: rgba(245, 245, 247, 0.62);
  text-decoration: none;
  font: 650 0.72rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0.16em;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .home-media-link a:hover {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(244, 134, 36, 0.16);
}

body.media-home[data-theme="press"] #berzah-ai,
body.media-home[data-theme="press"] .press-front {
  display: none !important;
}

body.media-home[data-theme="press"] .topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
}

body.media-home[data-theme="press"] .media-category-dock {
  position: sticky;
  top: 72px;
  z-index: 70;
  display: flex;
  gap: 8px;
  width: min(1180px, calc(100vw - 24px));
  margin: 10px auto 16px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(23, 16, 10, 0.2);
  border-radius: 999px;
  background: rgba(248, 238, 214, 0.88);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  scrollbar-width: none;
}

body.media-home[data-theme="press"] .media-category-dock::-webkit-scrollbar {
  display: none;
}

body.media-home[data-theme="press"] .media-category-dock button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(23, 16, 10, 0.18);
  border-radius: 999px;
  color: #17100a;
  background: rgba(255, 255, 255, 0.56);
  font: 760 0.76rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.media-home[data-theme="press"] .media-category-dock button.is-active {
  color: #fff8e8;
  background: #17100a;
}

@media (max-width: 760px) {
  body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai {
    min-height: 100dvh;
    padding: 18px 12px 104px;
  }

  body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-console {
    min-height: calc(100dvh - 154px);
    gap: 18px;
  }

  body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-identity h1 {
    font-size: clamp(2.25rem, 13vw, 3.2rem);
  }

  body.ai-only-home.home-ai-v2[data-theme="press"] .ai-message {
    max-width: 94%;
  }

  body.ai-only-home.home-ai-v2[data-theme="press"] .ai-form {
    border-radius: 26px;
    padding-right: 54px;
  }

  body.media-home[data-theme="press"] .media-category-dock {
    top: 64px;
    width: calc(100vw - 14px);
    margin-block: 8px 12px;
  }
}

/* 20260601: AI-only dark home, no newspaper/search page on entry */
body.ai-only-home[data-theme="press"] {
  min-height: 100dvh;
  color: #ececf1;
  background:
    radial-gradient(circle at 50% -12%, rgba(84, 84, 95, 0.22), transparent 34%),
    linear-gradient(180deg, #151515 0%, #0f0f10 54%, #0b0b0c 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.ai-only-home[data-theme="press"]::before {
  opacity: 0.08;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

body.ai-only-home[data-theme="press"]::after,
body.ai-only-home[data-theme="press"] .topbar,
body.ai-only-home[data-theme="press"] .berzah-ai-hero-image,
body.ai-only-home[data-theme="press"] .berzah-ai-orbit,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-kicker,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity p,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-signal-row,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-character-mood,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chip-row,
body.ai-only-home[data-theme="press"] main.site-shell > :not(#berzah-ai),
body.ai-only-home[data-theme="press"] .install-ribbon,
body.ai-only-home[data-theme="press"] .consent-banner {
  display: none !important;
}

body.ai-only-home[data-theme="press"] .site-shell {
  display: grid;
  place-items: stretch center;
  width: 100%;
  min-height: 100dvh;
  padding: 0;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai {
  display: grid;
  align-items: center;
  width: min(900px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  color: #ececf1;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai::before,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai::after {
  display: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 4vh, 34px);
  width: min(760px, 100%);
  min-height: min(760px, calc(100dvh - 36px));
  margin: 0 auto;
  padding: 0;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  min-height: 0;
  color: #ececf1;
  text-align: center;
  text-shadow: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h1,
body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h2 {
  margin: 0;
  max-width: none;
  color: #ececf1;
  font: 600 clamp(2rem, 6vw, 3.8rem)/1.05 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #ececf1;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat::before {
  display: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread {
  display: grid;
  align-content: end;
  gap: 14px;
  width: 100%;
  max-height: none;
  min-height: 0;
  padding: 0 0 4px;
  border: 0;
  border-radius: 0;
  color: #ececf1;
  background: transparent;
  box-shadow: none;
  overflow-y: auto;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread:empty {
  min-height: clamp(140px, 26vh, 260px);
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message {
  grid-template-columns: 1fr;
  max-width: min(82%, 640px);
  gap: 0;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-avatar {
  display: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-body {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #ececf1;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-user {
  justify-self: end;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-user .ai-message-body {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.14);
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message span {
  display: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message p {
  color: inherit;
  font: 420 0.98rem/1.58 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(42, 42, 46, 0.9);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form label {
  display: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea {
  height: 58px;
  min-height: 58px;
  max-height: 180px;
  padding: 17px 18px;
  border: 0;
  border-radius: 18px;
  color: #f4f4f5;
  background: transparent;
  box-shadow: none;
  resize: none;
  outline: none;
  font: 430 1rem/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea::placeholder {
  color: rgba(236, 236, 241, 0.52);
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea:focus {
  box-shadow: none;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions button {
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(236, 236, 241, 0.88);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  font: 650 0.82rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai #ai-deep-toggle.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai #ai-send {
  min-width: 0;
  color: #0d0d0d;
  background: #ececf1;
}

@media (max-width: 760px) {
  body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai {
    padding: 16px 12px max(16px, env(safe-area-inset-bottom));
  }

  body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
    min-height: calc(100dvh - 32px);
    gap: 16px;
  }

  body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h1,
  body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message {
    max-width: 94%;
  }

  body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form {
    border-radius: 24px;
    padding: 10px;
  }

  body.ai-only-home[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions button {
    flex: 1 1 0;
    padding-inline: 8px;
  }
}

.site-control-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1180px, calc(100vw - 24px));
  margin: 10px auto 18px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: #f8ead0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
  font-family: var(--font-display);
  text-transform: uppercase;
}

.site-control-banner strong {
  background: #16130e;
  color: #fff7e6;
  padding: 5px 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.site-control-banner span {
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  line-height: 1.25;
}

body.is-alarm-mode .site-control-banner {
  background: #ffe1df;
  border-color: #9d1111;
}

body.is-security-mode .site-control-banner {
  background: #e6f2ff;
  border-color: #123d72;
}

.boot-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
  background: #1a1712;
  color: #f4e5c3;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.boot-loader[hidden] {
  display: none !important;
}

.boot-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 229, 195, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 229, 195, 0.045) 1px, transparent 1px),
    #1a1712;
  background-size: 28px 28px;
}

.boot-loader-inner {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid rgba(244, 229, 195, 0.52);
  border-radius: 8px;
  background: rgba(28, 23, 17, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.boot-loader span,
.boot-loader strong,
.boot-loader small {
  display: block;
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  letter-spacing: 0;
}

.boot-loader span {
  margin-bottom: 10px;
  color: #d62118;
  font-size: 0.82rem;
  font-weight: 900;
}

.boot-loader strong {
  color: #fff6de;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.08;
}

.boot-loader small {
  margin-top: 14px;
  color: rgba(244, 229, 195, 0.78);
  font-size: 0.95rem;
}

body:not(.is-news-ready) {
  overflow: hidden;
}

body:not(.is-news-ready) .topbar,
body:not(.is-news-ready) .site-shell,
body:not(.is-news-ready) .install-ribbon {
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
}

body.is-news-ready .boot-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* media26: Turkish-safe typography and wide paper map */
body[data-theme="press"],
body[data-theme="press"] button,
body[data-theme="press"] input,
body[data-theme="press"] select,
body[data-theme="press"] textarea,
body[data-theme="press"] h1,
body[data-theme="press"] h2,
body[data-theme="press"] h3,
body[data-theme="press"] p,
body[data-theme="press"] a,
body[data-theme="press"] span,
body[data-theme="press"] small,
body[data-theme="press"] strong,
body[data-theme="press"] em {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-variant-ligatures: common-ligatures;
}

body[data-theme="press"] h1,
body[data-theme="press"] h2,
body[data-theme="press"] h3,
body[data-theme="press"] .lead-copy strong,
body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong,
body[data-theme="press"] .story h3,
body[data-theme="press"] .quick-copy strong,
body[data-theme="press"] .social-card strong,
body[data-theme="press"] .video-card strong,
body[data-theme="press"] .press-tool strong,
body[data-theme="press"] .metric-strip strong,
body[data-theme="press"] .paper-map-readout strong,
body[data-theme="press"] .article-page .reader-copy h1 {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  line-height: 1.12;
  overflow-wrap: break-word;
}

body[data-theme="press"] p,
body[data-theme="press"] em,
body[data-theme="press"] small,
body[data-theme="press"] .story-body,
body[data-theme="press"] .reader-copy {
  line-height: 1.42;
}

body[data-theme="press"] .press-front h1,
body[data-theme="press"] .brand strong {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-weight: 900;
}

body[data-theme="press"] .paper-map-section,
body[data-theme="press"] .paper-map-section.is-wide-map {
  display: block;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px;
}

body[data-theme="press"] .paper-map-copy {
  display: none !important;
}

body[data-theme="press"] .paper-map-frame {
  min-height: clamp(330px, 37vw, 540px);
}

body[data-theme="press"] #paper-map {
  min-height: clamp(330px, 37vw, 540px);
}

body[data-theme="press"] .map-status {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  max-width: min(420px, calc(100% - 24px));
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(242, 223, 180, 0.7);
  color: #fff8e8;
  background: rgba(12, 9, 7, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-theme="press"] .paper-map-actions {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  width: min(260px, calc(100% - 24px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-theme="press"] .paper-map-readout {
  z-index: 2;
}

/* media30: visible generated studio assets, clean headline wrapping */
body[data-theme="press"] .studio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.72fr) minmax(180px, 0.72fr);
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px;
  border: 4px double #1d140d;
  color: #fff8e8;
  background:
    linear-gradient(135deg, rgba(12, 9, 7, 0.96), rgba(36, 23, 14, 0.9)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .studio-card {
  position: relative;
  min-height: 178px;
  margin: 0;
  overflow: hidden;
  border: 2px solid #f2dfb4;
  background: #110c08;
}

body[data-theme="press"] .studio-card-main {
  min-height: 238px;
}

body[data-theme="press"] .studio-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.94);
}

body[data-theme="press"] .studio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.42)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

body[data-theme="press"] .studio-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 8px;
  color: #17100a;
  background: #f2dfb4;
  font-size: 0.76rem;
  font-weight: 900;
}

body[data-theme="press"] .fun-band {
  margin: 0 0 14px;
  padding: 10px;
  border: 4px double #1d140d;
  color: #17100a;
  background:
    linear-gradient(180deg, rgba(255, 248, 226, 0.86), rgba(235, 216, 178, 0.42)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .fun-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body[data-theme="press"] .fun-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 2px solid #1d140d;
  color: #fff8e8;
  background: #120d08;
}

body[data-theme="press"] .fun-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  filter: grayscale(0.12) sepia(0.18) contrast(1.08);
}

body[data-theme="press"] .fun-card span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.76));
}

body[data-theme="press"] .fun-card small,
body[data-theme="press"] .fun-card strong {
  position: absolute;
  left: 10px;
  right: 10px;
  z-index: 1;
}

body[data-theme="press"] .fun-card small {
  bottom: 76px;
  color: #f2dfb4;
  font-weight: 900;
}

body[data-theme="press"] .fun-card strong {
  bottom: 12px;
  color: #fff8e8;
  font-size: clamp(1rem, 1.7vw, 1.36rem);
  font-weight: 900;
}

body[data-theme="press"] .lead-copy strong,
body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong,
body[data-theme="press"] .fun-card strong,
body[data-theme="press"] .story h3,
body[data-theme="press"] .quick-copy strong,
body[data-theme="press"] .social-card strong,
body[data-theme="press"] .video-card strong {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

body[data-theme="press"] .lead-copy strong {
  font-size: clamp(1.72rem, 3.7vw, 3.65rem);
  line-height: 1.04;
}

body[data-theme="press"] .story h3,
body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong,
body[data-theme="press"] .fun-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 860px) {
  body[data-theme="press"] .studio-showcase,
  body[data-theme="press"] .fun-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* media36: fixed masthead sizing so the newspaper title never clips */
body[data-theme="press"] .brand strong {
  font-size: 1.26rem;
}

body[data-theme="press"] .press-front h1 {
  font-size: 7rem;
  letter-spacing: 0;
  transform: none;
}

@media (max-width: 1200px) {
  body[data-theme="press"] .press-front h1 {
    font-size: 5.65rem;
  }
}

@media (max-width: 900px) {
  body[data-theme="press"] .press-front h1 {
    font-size: 4.1rem;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .brand strong {
    font-size: 1.15rem;
  }

  body[data-theme="press"] .press-front h1 {
    display: block;
    font-size: 2.05rem;
    transform: scaleX(0.88);
    transform-origin: center;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .studio-showcase {
    grid-template-columns: 1fr;
    margin-inline: -7px;
    border-left: 0;
    border-right: 0;
  }

  body[data-theme="press"] .studio-card,
  body[data-theme="press"] .studio-card-main {
    min-height: 220px;
  }

  body[data-theme="press"] .fun-grid {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .press-front h1 {
    max-width: 100%;
    font-size: clamp(1.5rem, 8.2vw, 1.95rem) !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal;
  }
}

body[data-theme="press"] .press-tool span,
body[data-theme="press"] .paper-map-readout span,
body[data-theme="press"] .ad-label,
body[data-theme="press"] .consent-banner p strong,
body[data-theme="press"] .story-meta,
body[data-theme="press"] .section-title span,
body[data-theme="press"] .reader-meta {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 560px) {
  body[data-theme="press"] .paper-map-frame,
  body[data-theme="press"] #paper-map {
    min-height: 330px;
  }

  body[data-theme="press"] .paper-map-actions {
    width: min(230px, calc(100% - 24px));
  }

  body[data-theme="press"] .paper-map-readout strong {
    font-size: 1.86rem;
  }
}

/* media30 final placement */
body[data-theme="press"] .studio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.72fr) minmax(180px, 0.72fr);
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px;
  border: 4px double #1d140d;
  color: #fff8e8;
  background:
    linear-gradient(135deg, rgba(12, 9, 7, 0.96), rgba(36, 23, 14, 0.9)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .studio-card {
  position: relative;
  min-height: 178px;
  margin: 0;
  overflow: hidden;
  border: 2px solid #f2dfb4;
  background: #110c08;
}

body[data-theme="press"] .studio-card-main {
  min-height: 238px;
}

body[data-theme="press"] .studio-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.94);
}

body[data-theme="press"] .studio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.42)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

body[data-theme="press"] .studio-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 8px;
  color: #17100a;
  background: #f2dfb4;
  font-size: 0.76rem;
  font-weight: 900;
}

body[data-theme="press"] .fun-band {
  margin: 0 0 14px;
  padding: 10px;
  border: 4px double #1d140d;
  color: #17100a;
  background:
    linear-gradient(180deg, rgba(255, 248, 226, 0.86), rgba(235, 216, 178, 0.42)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .fun-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body[data-theme="press"] .fun-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 2px solid #1d140d;
  color: #fff8e8;
  background: #120d08;
}

body[data-theme="press"] .fun-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  filter: grayscale(0.12) sepia(0.18) contrast(1.08);
}

body[data-theme="press"] .fun-card span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.76));
}

body[data-theme="press"] .fun-card small,
body[data-theme="press"] .fun-card strong {
  position: absolute;
  left: 10px;
  right: 10px;
  z-index: 1;
}

body[data-theme="press"] .fun-card small {
  bottom: 76px;
  color: #f2dfb4;
  font-weight: 900;
}

body[data-theme="press"] .fun-card strong {
  bottom: 12px;
  color: #fff8e8;
  font-size: clamp(1rem, 1.7vw, 1.36rem);
  font-weight: 900;
}

body[data-theme="press"] .lead-copy strong,
body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong,
body[data-theme="press"] .fun-card strong,
body[data-theme="press"] .story h3,
body[data-theme="press"] .quick-copy strong,
body[data-theme="press"] .social-card strong,
body[data-theme="press"] .video-card strong {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

body[data-theme="press"] .lead-copy strong {
  font-size: clamp(1.72rem, 3.7vw, 3.65rem);
  line-height: 1.04;
}

body[data-theme="press"] .story h3,
body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong,
body[data-theme="press"] .fun-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 860px) {
  body[data-theme="press"] .studio-showcase,
  body[data-theme="press"] .fun-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .studio-showcase {
    grid-template-columns: 1fr;
    margin-inline: -7px;
    border-left: 0;
    border-right: 0;
  }

  body[data-theme="press"] .studio-card,
  body[data-theme="press"] .studio-card-main {
    min-height: 220px;
  }

  body[data-theme="press"] .fun-grid {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .press-front h1 {
    max-width: 100%;
    font-size: clamp(1.5rem, 8.2vw, 1.95rem) !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal;
  }
}

/* media26 label case fix */
body[data-theme="press"] .press-tool span,
body[data-theme="press"] .paper-map-readout span,
body[data-theme="press"] .ad-label,
body[data-theme="press"] .consent-banner p strong,
body[data-theme="press"] .story-meta,
body[data-theme="press"] .section-title span,
body[data-theme="press"] .reader-meta {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

@font-face {
  font-family: "Noir Et Blanc";
  src: url("assets/fonts/noir-et-blanc-bold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Radium FG";
  src: url("assets/fonts/radium-fg.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Radium FG";
  src: url("assets/fonts/radium-fg-bold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #070705;
  --bg-2: #10100d;
  --panel: rgba(25, 25, 22, 0.74);
  --panel-2: rgba(36, 35, 31, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --line-hot: rgba(255, 132, 32, 0.36);
  --text: #fbfaf6;
  --muted: #a9aaa5;
  --soft: #d8d7cf;
  --hot: #ff861f;
  --hot-2: #ffb15e;
  --blue: #7cc7ff;
  --green: #7ce3a5;
  --danger: #ff667d;
  --shadow: rgba(0, 0, 0, 0.45);
  --accent-ink: #15100a;
  --input-bg: rgba(0, 0, 0, 0.3);
  --body-bg:
    linear-gradient(180deg, rgba(255, 134, 31, 0.1), transparent 260px),
    linear-gradient(135deg, #040403 0%, #0c0c09 45%, #13120f 100%);
  --grid-line: rgba(255, 255, 255, 0.035);
  --grid-mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 58%);
}

/* media12: cleaner Turkish news-desk layout */
body[data-theme="day"] {
  --body-bg: #f4f3ee;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-2: rgba(248, 246, 239, 0.92);
  --line: rgba(28, 25, 20, 0.12);
  --line-hot: rgba(215, 105, 22, 0.28);
  --shadow: rgba(55, 43, 27, 0.12);
}

body::before {
  opacity: 0.42;
}

.topbar,
.lead-card,
.quick-card,
.story,
.rail-panel,
.control-strip,
.metric-strip article,
.visual-tile,
.pcai-card,
.social-card,
.video-card,
.admin-card,
.admin-panel {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: 0 12px 34px var(--shadow);
  backdrop-filter: blur(12px);
}

.topbar {
  top: 0;
  width: min(1480px, calc(100vw - 24px));
  margin-top: 10px;
  border-radius: 16px;
  padding: 8px 10px;
}

.brand-mark {
  border-radius: 10px;
  box-shadow: none;
}

.nav-chip,
.tools button,
.tools a,
.control-strip button,
.story-actions a,
.story-actions button {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.nav-chip.is-active,
.nav-chip:hover,
.tools button:hover,
.tools a:hover,
.control-strip button:hover {
  color: #fff;
  background: #15130f;
}

.select-wrap select,
.search input {
  background: #fff;
}

.site-shell,
.admin-shell {
  width: min(1480px, calc(100vw - 24px));
  margin-top: 12px;
}

.hero-section {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.8fr);
  gap: 12px;
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
  gap: 18px;
  min-height: 292px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f5f2e9);
}

.lead-card img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 256px;
  border-radius: 14px;
}

.lead-shade {
  display: none;
}

.lead-copy {
  position: static;
  grid-column: 1;
  grid-row: 1;
  align-content: end;
  max-width: none;
  color: var(--text);
}

.lead-copy small {
  color: #fff;
  background: #15130f;
}

.lead-copy strong {
  max-width: 18ch;
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  line-height: 0.95;
}

.lead-copy em {
  max-width: 58ch;
  color: var(--soft);
}

.hero-side {
  gap: 10px;
}

.metric-strip {
  gap: 8px;
}

.metric-strip article {
  min-height: 76px;
  padding: 11px;
  border-radius: 14px;
}

.metric-strip strong {
  color: #15130f;
  font-size: 1.35rem;
}

.quick-grid {
  gap: 8px;
}

.quick-card {
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 91px;
  border-radius: 14px;
}

.quick-copy {
  padding: 11px;
}

.quick-copy strong {
  font-size: 0.88rem;
}

.ticker {
  height: 36px;
  border-radius: 12px;
  background: #15130f;
}

.ticker span {
  color: #fff;
  font-size: 0.82rem;
}

.music-ad {
  grid-template-columns: 104px minmax(0, 1fr) minmax(230px, 0.36fr);
  min-height: 152px;
  padding: 14px;
  border-radius: 18px;
}

.music-cover {
  width: 104px;
  border-radius: 14px;
}

.ad-label {
  padding: 5px 8px;
}

.music-ad h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.music-ad p,
.music-kicker {
  font-size: 0.76rem;
}

.music-button {
  min-height: 42px;
  border-radius: 12px;
}

.control-strip {
  margin-top: 12px;
  border-radius: 14px;
}

.visual-wall,
.pcai-band {
  margin-top: 18px;
}

.visual-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.visual-tile,
.visual-tile:first-child {
  grid-column: auto;
  grid-row: auto;
  min-height: 215px;
  border-radius: 14px;
}

.visual-tile:first-child strong,
.visual-tile strong {
  max-width: none;
  font-size: 0.96rem;
}

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

.pcai-card,
.pcai-card:first-child {
  min-height: 235px;
  border-radius: 14px;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.28fr);
  gap: 14px;
}

.news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.story {
  min-height: 274px;
  grid-template-rows: 126px minmax(0, 1fr);
  border-radius: 14px;
}

.story img {
  height: 126px;
}

.story h3 {
  font-size: 0.88rem;
}

.story p {
  font-size: 0.78rem;
}

.rail-panel {
  border-radius: 14px;
}

.split-band {
  grid-template-columns: 1fr 1fr;
}

.social-card,
.video-card {
  border-radius: 14px;
}

@media (max-width: 1180px) {
  .hero-section,
  .content-grid,
  .split-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 880px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .hero-section,
  .lead-card,
  .music-ad,
  .quick-grid,
  .news-grid,
  .visual-grid,
  .pcai-grid,
  .social-grid,
  .video-grid,
  .rail,
  .control-strip {
    grid-template-columns: 1fr;
  }

  .lead-card {
    min-height: auto;
  }

  .lead-card img {
    grid-column: 1;
    grid-row: 1;
    min-height: 210px;
  }

  .lead-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .lead-copy strong {
    font-size: 2rem;
  }

  .music-ad {
    min-height: auto;
  }

  .music-ad-copy {
    order: 1;
  }

  .music-cover-link {
    order: 2;
  }

  .music-ad-links {
    order: 3;
  }

  .music-cover {
    width: 132px;
  }
}

@media (max-width: 460px) {
  .site-shell,
  .topbar,
  .admin-shell {
    width: min(100vw - 14px, 1480px);
  }

  .lead-card {
    padding: 12px;
  }

  .lead-card img {
    min-height: 190px;
  }

  .lead-copy strong {
    font-size: 1.7rem;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-theme="day"] {
  color-scheme: light;
  --bg: #f6f5f0;
  --bg-2: #ece9df;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-2: rgba(255, 255, 255, 0.64);
  --line: rgba(29, 26, 21, 0.13);
  --line-hot: rgba(198, 91, 15, 0.34);
  --text: #171510;
  --muted: #69675f;
  --soft: #3b3933;
  --hot: #d96f17;
  --hot-2: #f39a3e;
  --blue: #2568d8;
  --green: #0a9d62;
  --danger: #c43b55;
  --shadow: rgba(80, 62, 37, 0.16);
  --accent-ink: #16110a;
  --input-bg: rgba(255, 255, 255, 0.74);
  --body-bg:
    linear-gradient(180deg, rgba(255, 142, 35, 0.18), transparent 250px),
    linear-gradient(135deg, #fffdf8 0%, #f4f1e8 52%, #ece7da 100%);
  --grid-line: rgba(18, 18, 16, 0.045);
  --grid-mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 60%);
}

body[data-theme="signal"] {
  --bg: #05080d;
  --bg-2: #0b121b;
  --panel: rgba(12, 20, 30, 0.78);
  --panel-2: rgba(18, 31, 44, 0.72);
  --line: rgba(168, 211, 255, 0.14);
  --line-hot: rgba(255, 142, 38, 0.36);
  --text: #f6fbff;
  --muted: #9baab8;
  --soft: #c9d6df;
  --hot: #ff8b2d;
  --hot-2: #78c8ff;
  --blue: #78c8ff;
  --green: #80e2ad;
  --danger: #ff6980;
  --shadow: rgba(0, 0, 0, 0.48);
  --accent-ink: #081019;
  --input-bg: rgba(1, 9, 18, 0.42);
  --body-bg:
    linear-gradient(180deg, rgba(38, 127, 255, 0.13), transparent 280px),
    linear-gradient(135deg, #03060b 0%, #08111c 48%, #101722 100%);
  --grid-line: rgba(125, 200, 255, 0.045);
}

body[data-theme="graphite"] {
  --bg: #090909;
  --bg-2: #141414;
  --panel: rgba(24, 24, 24, 0.78);
  --panel-2: rgba(35, 35, 35, 0.72);
  --line: rgba(255, 255, 255, 0.11);
  --line-hot: rgba(255, 142, 38, 0.32);
  --text: #f4f2ee;
  --muted: #9d9b96;
  --soft: #d1cec7;
  --hot: #ff8a24;
  --hot-2: #f3c46d;
  --blue: #b7d9ff;
  --green: #93d6a6;
  --danger: #ff7387;
  --shadow: rgba(0, 0, 0, 0.42);
  --accent-ink: #15110a;
  --input-bg: rgba(0, 0, 0, 0.34);
  --body-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 260px),
    linear-gradient(135deg, #050505 0%, #101010 54%, #191816 100%);
  --grid-line: rgba(255, 255, 255, 0.03);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--text);
  background: var(--body-bg);
  font-family: Aptos, "SF Pro Text", "Segoe UI", Roboto, Arial, system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: var(--grid-mask);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.topbar,
.lead-card,
.quick-card,
.story,
.rail-panel,
.control-strip,
.metric-strip article,
.visual-tile,
.pcai-card,
.social-card,
.video-card,
.admin-card,
.admin-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: 0 22px 70px var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(1460px, calc(100vw - 24px));
  margin: 12px auto 0;
  padding: 10px;
  border-radius: 22px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 134, 31, 0.42);
  box-shadow: 0 0 34px rgba(255, 134, 31, 0.2);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 750;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-chip,
.tools button,
.tools a,
.control-strip button,
.story-actions a,
.story-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  text-decoration: none;
}

.nav-chip {
  flex: 0 0 auto;
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 720;
}

.nav-chip.is-active,
.nav-chip:hover,
.tools button:hover,
.tools a:hover,
.control-strip button:hover {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  border-color: transparent;
}

.link-chip {
  border-color: var(--line-hot);
}

.tools {
  display: flex;
  gap: 7px;
  align-items: center;
}

.admin-link {
  display: inline-grid;
  place-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.select-wrap select,
.search input {
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--line);
  outline: none;
}

.select-wrap select {
  width: 62px;
  height: 40px;
  border-radius: 999px;
  padding: 0 10px;
}

.theme-select select {
  width: 112px;
}

.icon-button {
  width: 40px;
  height: 40px;
  font-weight: 900;
}

.site-shell,
.admin-shell {
  width: min(1460px, calc(100vw - 24px));
  margin: 16px auto 34px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 14px;
}

.lead-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  color: var(--text);
  text-decoration: none;
}

.lead-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  background: var(--bg-2);
}

.lead-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.18) 64%, rgba(0, 0, 0, 0.32)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 56%);
}

.lead-copy {
  position: absolute;
  inset: auto 24px 24px;
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.lead-copy small,
.story-kicker,
.quick-copy span,
.story-meta,
.panel-head span,
.metric-strip span,
.social-card small,
.video-card small,
.admin-eyebrow {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.lead-copy small {
  width: fit-content;
  color: #17110b;
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  border-radius: 999px;
  padding: 7px 11px;
}

.lead-copy strong {
  max-width: 18ch;
  font-size: 2.35rem;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead-copy em {
  color: var(--soft);
  font-style: normal;
  line-height: 1.48;
  max-width: 760px;
}

.hero-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-strip article {
  min-height: 92px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
}

.metric-strip strong {
  color: var(--hot-2);
  font-size: 1.76rem;
  line-height: 1;
}

.quick-grid {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 112px;
  overflow: hidden;
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
}

.quick-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-2);
}

.quick-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 15px;
}

.quick-copy strong {
  font-size: 0.94rem;
  line-height: 1.15;
}

.ticker {
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(255, 134, 31, 0.22);
  border-radius: 999px;
  background: rgba(255, 134, 31, 0.08);
}

.ticker span {
  display: inline-flex;
  gap: 22px;
  min-width: max-content;
  padding: 0 18px;
  color: #fff0dd;
  font-weight: 800;
  animation: ticker 44s linear infinite;
}

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

.music-ad {
  position: relative;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 16px;
  min-height: 210px;
  margin-top: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 134, 31, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.48)),
    url("assets/mazi-ad-bg.webp") center / cover no-repeat,
    var(--panel);
  box-shadow: 0 18px 48px var(--shadow);
  isolation: isolate;
}

.music-ad::before,
.music-ad::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.music-ad::before {
  background:
    radial-gradient(circle at var(--ad-x, 76%) var(--ad-y, 46%), rgba(255, 145, 42, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%);
  opacity: 0.75;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.music-ad::after {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  z-index: 2;
}

.music-ad-copy,
.music-cover-link,
.music-ad-links {
  position: relative;
  z-index: 1;
}

.music-ad-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.ad-label {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--hot-2);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.music-ad h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.music-ad p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 740;
}

.music-kicker {
  color: var(--hot-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.music-ad-links {
  display: grid;
  gap: 8px;
  align-content: center;
}

.music-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--text);
  background: rgba(8, 8, 7, 0.52);
  backdrop-filter: blur(18px);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.music-button span,
.music-button small {
  display: block;
  line-height: 1.08;
}

.music-button small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.music-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-hot);
  background: rgba(255, 134, 31, 0.15);
}

.music-cover-link {
  align-self: center;
  justify-self: start;
  color: inherit;
}

.music-cover {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.music-ad:hover .music-cover {
  transform: translateY(-3px) rotate(-1deg) scale(1.02);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.54);
}

.control-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding: 12px;
  border-radius: 18px;
}

.search {
  display: grid;
  gap: 6px;
}

.search span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.search input {
  height: 46px;
  border-radius: 14px;
  padding: 0 14px;
}

.control-strip button {
  min-height: 46px;
  padding: 0 15px;
  font-weight: 760;
}

.control-strip button[hidden] {
  display: none;
}

#update-button {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(255, 134, 31, 0.45);
  animation: pulseLive 1.8s ease-out infinite;
}

@keyframes pulseLive {
  0% { box-shadow: 0 0 0 0 rgba(255, 134, 31, 0.42); }
  100% { box-shadow: 0 0 0 16px rgba(255, 134, 31, 0); }
}

.visual-wall,
.pcai-band {
  margin-top: 26px;
}

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

.visual-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
}

.visual-tile:first-child {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 392px;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  background: var(--bg-2);
}

.visual-tile span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent 62%);
}

.visual-tile strong,
.visual-tile small {
  position: absolute;
  left: 14px;
  right: 14px;
}

.visual-tile small {
  bottom: 72px;
  color: var(--hot-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-tile strong {
  bottom: 16px;
  font-size: 0.96rem;
  line-height: 1.16;
}

.visual-tile:first-child strong {
  font-size: 1.28rem;
  max-width: 18ch;
}

.pcai-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, minmax(0, 0.82fr));
  gap: 12px;
}

.pcai-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 24px;
  color: var(--text);
  text-decoration: none;
}

.pcai-card:first-child {
  min-height: 340px;
}

.pcai-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  background: var(--bg-2);
}

.pcai-card span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 62%),
    linear-gradient(135deg, rgba(255, 134, 31, 0.22), transparent 46%);
}

.pcai-card small,
.pcai-card strong {
  position: absolute;
  left: 16px;
  right: 16px;
}

.pcai-card small {
  bottom: 82px;
  color: var(--hot-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pcai-card strong {
  bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.14;
}

.pcai-card:first-child strong {
  max-width: 18ch;
  font-size: 1.42rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  margin-top: 26px;
}

.main-flow,
.split-band > section {
  min-width: 0;
}

.section-title,
.panel-head,
.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  font-size: 1.72rem;
  font-weight: 760;
}

h2 {
  font-size: 1.02rem;
  font-weight: 760;
}

#result-count,
#social-count,
#video-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

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

.story {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-rows: 150px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 22px;
  color: var(--text);
}

.story.is-video::before,
.video-card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
}

.story.is-video::after,
.video-card::after {
  content: "";
  position: absolute;
  top: 31px;
  right: 30px;
  z-index: 3;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--accent-ink);
}

.story img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--bg-2);
}

.story-body {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.story h3 {
  font-size: 0.94rem;
  line-height: 1.18;
}

.story p {
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.38;
}

.story-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.story-actions a,
.story-actions button {
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 760;
}

.story-actions a:hover,
.story-actions button:hover,
.story.is-saved .save-button {
  color: var(--accent-ink);
  background: var(--hot);
  border-color: transparent;
}

.rail {
  display: grid;
  align-content: start;
  gap: 14px;
}

.rail-panel {
  border-radius: 22px;
  padding: 15px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding: 18px 0 6px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a,
.text-link {
  color: var(--soft);
  text-decoration: none;
}

.footer-links a:hover,
.text-link:hover {
  color: var(--hot-2);
}

.policy-shell {
  width: min(920px, calc(100vw - 24px));
  margin: 30px auto 42px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--panel);
  box-shadow: 0 22px 70px var(--shadow);
}

.policy-card h1 {
  margin-bottom: 16px;
}

.policy-card h2 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.policy-card p,
.policy-card li {
  color: var(--soft);
  line-height: 1.62;
}

.policy-card ul {
  padding-left: 20px;
}

.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(22, 21, 18, 0.94);
  box-shadow: 0 22px 70px var(--shadow);
  backdrop-filter: blur(18px);
}

.consent-banner p {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.42;
}

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

.consent-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-weight: 760;
}

.consent-actions button:first-child {
  color: var(--accent-ink);
  border-color: transparent;
  background: var(--hot);
}

.trend-list,
.source-list,
.admin-list {
  display: grid;
  gap: 8px;
}

.trend-list a,
.source-row,
.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  font-size: 0.88rem;
}

.trend-list a:hover,
.source-row:hover,
.admin-row:hover {
  border-color: var(--line-hot);
}

.source-row.is-active {
  border-color: rgba(255, 134, 31, 0.45);
  background: rgba(255, 134, 31, 0.11);
}

.source-row button {
  margin-left: auto;
  border: 0;
  color: var(--hot-2);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.astro-panel {
  padding: 0;
  overflow: hidden;
}

.astro-panel a {
  display: grid;
  gap: 8px;
  min-height: 136px;
  align-content: end;
  color: #130d07;
  background:
    linear-gradient(135deg, rgba(255, 134, 31, 0.96), rgba(255, 177, 94, 0.86)),
    url("assets/berzah-mark.webp?v=20260518-logo2") center / cover;
  padding: 18px;
  text-decoration: none;
}

.astro-panel span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.astro-panel strong {
  font-size: 1.38rem;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 30px;
}

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

.social-card {
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 15px;
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
}

.social-card strong {
  font-size: 1.08rem;
  line-height: 1.15;
}

.social-card span {
  color: var(--hot-2);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.video-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
}

.video-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--bg-2);
}

.video-card div {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.video-card strong {
  line-height: 1.14;
}

.skeleton {
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

body.is-compact .story {
  min-height: 252px;
  grid-template-rows: 122px minmax(0, 1fr);
}

body.is-compact .story img {
  height: 122px;
}

body.is-compact .story p {
  display: none;
}

.admin-shell {
  display: grid;
  gap: 18px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 26px 0 6px;
}

.admin-hero h1 {
  font-size: 2.6rem;
}

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

.admin-actions button,
.admin-actions a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.admin-actions button:hover,
.admin-actions a:hover {
  color: var(--accent-ink);
  background: var(--hot);
}

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

.admin-card {
  min-height: 120px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
}

.admin-card strong {
  color: var(--hot-2);
  font-size: 2rem;
  line-height: 1;
}

.report-panel {
  display: grid;
  gap: 14px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.report-card {
  display: grid;
  align-content: space-between;
  gap: 10px;
  min-height: 126px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.report-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 860;
  text-transform: uppercase;
}

.report-card strong {
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.08;
}

.report-card small {
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.25;
}

.admin-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
}

.admin-panel {
  border-radius: 22px;
  padding: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.status-pill {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.is-ok {
  color: var(--accent-ink);
  background: var(--green);
}

.status-pill.is-bad {
  color: #fff;
  background: var(--danger);
}

@media (max-width: 1180px) {
  .hero-section,
  .content-grid,
  .split-band,
  .admin-board {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 880px) {
  .topbar {
    grid-template-columns: 1fr auto;
    border-radius: 20px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .hero-section,
  .music-ad,
  .quick-grid,
  .news-grid,
  .visual-grid,
  .pcai-grid,
  .social-grid,
  .video-grid,
  .rail,
  .control-strip,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .music-ad {
    min-height: auto;
    background-position: center;
  }

  .music-ad h2 {
    max-width: 9ch;
    font-size: 2.45rem;
  }

  .music-ad-copy {
    order: 1;
  }

  .music-cover-link {
    order: 2;
    justify-self: start;
  }

  .music-ad-links {
    order: 3;
  }

  .music-cover {
    width: 150px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-card,
  .lead-card img {
    min-height: 350px;
  }

  .lead-copy strong {
    font-size: 1.82rem;
  }

  .quick-card {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .visual-tile:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 230px;
  }

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

@media (max-width: 460px) {
  .topbar,
  .site-shell,
  .admin-shell {
    width: min(100vw - 16px, 1460px);
  }

  .tools {
    justify-content: end;
  }

  .admin-link {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-chip {
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  .lead-card,
  .lead-card img {
    min-height: 330px;
  }

  .music-ad {
    padding: 14px;
  }

  .music-ad h2 {
    font-size: 2.1rem;
  }

  .music-button {
    min-height: 48px;
    padding: 9px 11px;
    font-size: 0.76rem;
  }

  .lead-copy {
    inset: auto 16px 16px;
  }

  .lead-copy strong {
    font-size: 1.46rem;
  }

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

/* media12 final overrides: keep this block last */
body[data-theme="day"] {
  --body-bg: #f4f3ee;
  --panel: rgba(255, 255, 255, 0.92);
  --line: rgba(28, 25, 20, 0.12);
  --shadow: rgba(55, 43, 27, 0.12);
}

.topbar,
.lead-card,
.quick-card,
.story,
.rail-panel,
.control-strip,
.metric-strip article,
.visual-tile,
.pcai-card,
.social-card,
.video-card {
  box-shadow: 0 12px 34px var(--shadow);
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
  gap: 18px;
  min-height: 292px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f5f2e9);
}

.lead-card img {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  min-height: 256px;
  border-radius: 14px;
}

.lead-shade {
  display: none;
}

.lead-copy {
  position: static;
  grid-column: 1;
  grid-row: 1;
  align-content: end;
  color: var(--text);
}

.lead-copy strong {
  max-width: 18ch;
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  line-height: 0.95;
}

.lead-copy small {
  color: #fff;
  background: #15130f;
}

.ticker {
  height: 36px;
  border-color: transparent;
  border-radius: 12px;
  background: #15130f;
}

.ticker span {
  color: #fff;
  font-size: 0.82rem;
}

.music-ad {
  grid-template-columns: 116px minmax(0, 1fr) minmax(250px, 0.34fr);
  min-height: 152px;
  padding: 14px;
  border-radius: 18px;
  color: #fff;
}

.music-ad h2,
.music-ad p,
.music-kicker,
.ad-label,
.music-button,
.music-button span,
.music-button small {
  color: #fff;
}

.music-cover {
  width: 116px;
  border-radius: 14px;
}

.music-button {
  min-height: 44px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
}

.music-ad-copy {
  gap: 9px;
}

.music-ad-copy p {
  max-width: 48ch;
}

.visual-tile,
.visual-tile:first-child,
.pcai-card,
.pcai-card:first-child {
  grid-column: auto;
  grid-row: auto;
  min-height: 215px;
  border-radius: 14px;
}

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

.story {
  min-height: 274px;
  grid-template-rows: 126px minmax(0, 1fr);
  border-radius: 14px;
}

.story img {
  height: 126px;
}

@media (max-width: 1180px) {
  .hero-section,
  .content-grid,
  .split-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 880px) {
  .hero-section,
  .lead-card,
  .music-ad,
  .news-grid,
  .visual-grid,
  .pcai-grid {
    grid-template-columns: 1fr;
  }

  .lead-card {
    min-height: auto;
  }

  .lead-card img {
    grid-column: 1;
    grid-row: 1;
    min-height: 210px;
  }

  .lead-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .music-cover {
    width: 132px;
  }
}

@media (max-width: 460px) {
  .lead-card img {
    min-height: 190px;
  }

  .lead-copy strong {
    font-size: 1.7rem;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.reader-open {
  overflow: hidden;
}

.reader-modal[hidden] {
  display: none;
}

.reader-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.reader-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 6, 5, 0.68);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.reader-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  width: min(1040px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.9), rgba(5, 5, 4, 0.78) 56%, rgba(5, 5, 4, 0.58)),
    url("assets/news-hub-panel-bg.webp") center / cover no-repeat,
    #11100d;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.44);
}

.reader-panel,
.reader-panel .reader-copy,
.reader-panel .reader-copy h2,
.reader-panel .reader-copy p {
  color: #fff;
}

.reader-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font-weight: 820;
}

.reader-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
}

.reader-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.reader-copy {
  display: grid;
  align-content: end;
  gap: 14px;
  min-width: 0;
  padding: 54px 10px 10px 0;
}

.reader-meta {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #14110c;
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reader-copy h2 {
  max-width: 18ch;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 1;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.68);
}

.reader-copy p {
  max-width: 62ch;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  font-size: 0.98rem;
  line-height: 1.56;
}

.reader-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reader-actions a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #14110c;
  background: #fff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 880px) {
  .reader-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .reader-media {
    min-height: 260px;
  }

  .reader-copy {
    padding: 0;
  }
}

@media (max-width: 460px) {
  .reader-modal {
    padding: 10px;
  }

  .reader-panel {
    width: min(100vw - 14px, 1040px);
    max-height: calc(100vh - 14px);
    padding: 12px;
    border-radius: 16px;
  }

  .reader-close {
    top: 10px;
    right: 10px;
  }

  .reader-media {
    min-height: 220px;
  }

  .reader-copy h2 {
    font-size: 1.8rem;
  }
}

/* media16: image-card contrast fixes */
.visual-tile,
.pcai-card {
  color: #fff;
}

.visual-tile span {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.12)),
    linear-gradient(135deg, rgba(0, 0, 0, 0.28), transparent 48%);
}

.pcai-card span {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.14)),
    linear-gradient(135deg, rgba(255, 134, 31, 0.2), transparent 46%);
}

.visual-tile strong,
.pcai-card strong {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.visual-tile small,
.pcai-card small {
  color: #ffb15e;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

/* media17: slower ticker, mobile density, image/reader safety */
:root {
  --ticker-duration: 128s;
}

.ticker {
  height: 42px;
  border: 1px solid rgba(220, 38, 28, 0.36);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(220, 38, 28, 0.3), transparent 18%, transparent 82%, rgba(220, 38, 28, 0.24)),
    #070707;
}

.ticker > span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-width: max-content;
  padding: 0 18px;
  color: #fff;
  animation: ticker var(--ticker-duration) linear infinite;
}

.ticker:hover > span {
  animation-play-state: paused;
}

.ticker .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
  color: #fff8ef;
  font-size: 0.79rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  animation: none;
}

.ticker .ticker-item b {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: #fff;
  background: #d42118;
  font-size: 0.66rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story,
.quick-card,
.visual-tile,
.pcai-card,
.video-card {
  min-width: 0;
}

.story-body {
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.lead-copy strong,
.quick-copy strong,
.story h3,
.story p,
.visual-tile strong,
.pcai-card strong,
.social-card strong,
.video-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.lead-copy strong {
  max-width: 24ch;
  -webkit-line-clamp: 3;
}

.quick-copy strong,
.story h3,
.video-card strong {
  -webkit-line-clamp: 3;
}

.story p {
  -webkit-line-clamp: 3;
}

.visual-tile small,
.pcai-card small {
  top: 13px;
  bottom: auto;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
}

.visual-tile strong,
.pcai-card strong {
  bottom: 14px;
  max-height: 4.2em;
  -webkit-line-clamp: 3;
}

.visual-tile:first-child strong,
.pcai-card:first-child strong {
  max-width: calc(100% - 28px);
}

.has-fallback-image img {
  filter: saturate(0.94) contrast(1.04);
  object-position: center;
}

.reader-panel {
  align-items: stretch;
  overflow-x: hidden;
}

.reader-media {
  min-height: 360px;
}

.reader-copy {
  align-content: start;
  padding: 54px 4px 4px 0;
}

.reader-copy h2 {
  max-width: none;
  font-size: clamp(1.65rem, 3.2vw, 3.35rem);
  line-height: 1.14;
  padding-bottom: 2px;
}

.reader-copy p {
  max-width: none;
  overflow-wrap: anywhere;
}

@media (max-width: 880px) {
  .topbar {
    top: 6px;
    gap: 9px;
  }

  .tools {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.35fr) 40px;
  }

  .select-wrap select,
  .theme-select select {
    width: 100%;
  }

  .nav {
    justify-content: start;
    padding: 1px 0 3px;
  }

  .lead-card {
    gap: 12px;
    padding: 12px;
  }

  .lead-copy strong {
    font-size: 1.52rem;
    line-height: 1.08;
  }

  .lead-copy em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .quick-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .story {
    min-height: 0;
    grid-template-rows: 138px auto;
  }

  .story img {
    height: 138px;
  }

  .visual-tile,
  .pcai-card,
  .video-card {
    min-height: 220px;
  }

  .ticker {
    height: 40px;
    margin-top: 10px;
  }

  .ticker .ticker-item {
    font-size: 0.73rem;
  }
}

@media (max-width: 560px) {
  .topbar,
  .site-shell,
  .admin-shell {
    width: calc(100vw - 14px);
  }

  .topbar {
    grid-template-columns: 1fr;
    padding: 9px;
    border-radius: 16px;
  }

  .brand {
    width: 100%;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .tools {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px;
  }

  .tools .admin-link {
    display: none;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .nav-chip {
    padding: 8px 10px;
  }

  .metric-strip article {
    min-height: 66px;
    padding: 10px;
  }

  .metric-strip strong {
    font-size: 1.12rem;
  }

  .music-ad {
    gap: 12px;
    padding: 12px;
  }

  .control-strip {
    gap: 8px;
    padding: 10px;
  }

  .control-strip button,
  .search input {
    min-height: 42px;
    height: 42px;
  }

  .reader-modal {
    align-items: start;
    padding: 7px;
  }

  .reader-panel {
    width: calc(100vw - 14px);
    max-height: calc(100dvh - 14px);
    gap: 10px;
    padding: 10px;
  }

  .reader-media {
    min-height: 185px;
  }

  .reader-copy h2 {
    font-size: 1.52rem;
  }

  .reader-copy p {
    padding: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

/* media19: force a visibly new live-desk surface */
body[data-theme="ember"] {
  --body-bg:
    radial-gradient(circle at 18% -10%, rgba(255, 123, 31, 0.24), transparent 28rem),
    linear-gradient(135deg, #050403 0%, #0b0907 48%, #17100b 100%);
  --panel: rgba(17, 15, 12, 0.88);
  --panel-2: rgba(28, 24, 18, 0.84);
  --line: rgba(255, 255, 255, 0.13);
  --line-hot: rgba(255, 93, 35, 0.52);
  --text: #fff9ef;
  --muted: #a99f92;
  --soft: #e6d8c8;
  --hot: #ff4d1e;
  --hot-2: #ff9a3d;
  --accent-ink: #140906;
  --input-bg: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

body[data-theme="ember"] .topbar {
  border-color: rgba(255, 77, 30, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 93, 35, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(4, 4, 3, 0.92);
}

body[data-theme="ember"] .brand-mark {
  background: #000;
  border-color: rgba(255, 154, 61, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 77, 30, 0.08), 0 16px 34px rgba(0, 0, 0, 0.36);
}

body[data-theme="ember"] .nav-chip,
body[data-theme="ember"] .tools button,
body[data-theme="ember"] .tools a,
body[data-theme="ember"] .control-strip button,
body[data-theme="ember"] .story-actions a,
body[data-theme="ember"] .story-actions button {
  color: #fff7ef;
  background: rgba(255, 255, 255, 0.065);
}

body[data-theme="ember"] .nav-chip.is-active,
body[data-theme="ember"] .nav-chip:hover,
body[data-theme="ember"] .tools button:hover,
body[data-theme="ember"] .tools a:hover,
body[data-theme="ember"] .control-strip button:hover {
  color: #190804;
  background: linear-gradient(135deg, #ff3b19, #ff9a3d);
}

body[data-theme="ember"] .hero-section {
  gap: 16px;
}

body[data-theme="ember"] .lead-card {
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.72fr);
  min-height: 360px;
  border: 1px solid rgba(255, 77, 30, 0.46);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 77, 30, 0.18), transparent 44%),
    #080706;
}

body[data-theme="ember"] .lead-card img {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #120b07;
  box-shadow: inset 0 0 0 1px rgba(255, 77, 30, 0.12);
}

body[data-theme="ember"] .lead-copy {
  align-content: center;
  gap: 12px;
}

body[data-theme="ember"] .lead-copy small {
  color: #fff;
  background: #d42118;
}

body[data-theme="ember"] .lead-copy strong {
  max-width: 20ch;
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 0.98;
}

body[data-theme="ember"] .lead-copy em {
  color: #eadac8;
}

body[data-theme="ember"] .metric-strip article,
body[data-theme="ember"] .quick-card,
body[data-theme="ember"] .story,
body[data-theme="ember"] .rail-panel,
body[data-theme="ember"] .control-strip,
body[data-theme="ember"] .visual-tile,
body[data-theme="ember"] .pcai-card,
body[data-theme="ember"] .social-card,
body[data-theme="ember"] .video-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 77, 30, 0.055)),
    rgba(12, 11, 9, 0.84);
}

body[data-theme="ember"] .metric-strip strong,
body[data-theme="ember"] .source-row button,
body[data-theme="ember"] #result-count,
body[data-theme="ember"] #social-count,
body[data-theme="ember"] #video-count {
  color: #ff9a3d;
}

body[data-theme="ember"] .section-title {
  padding: 9px 0 8px;
  border-bottom: 1px solid rgba(255, 77, 30, 0.24);
}

body[data-theme="ember"] .section-title h1,
body[data-theme="ember"] .section-title h2,
body[data-theme="ember"] .panel-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}

body[data-theme="ember"] .section-title h1::before,
body[data-theme="ember"] .section-title h2::before,
body[data-theme="ember"] .panel-head h2::before {
  content: "";
  width: 8px;
  height: 22px;
  border-radius: 3px;
  background: #d42118;
  box-shadow: 0 0 18px rgba(255, 77, 30, 0.4);
}

body[data-theme="ember"] .ticker {
  border-color: rgba(255, 77, 30, 0.58);
  background:
    linear-gradient(90deg, #d42118 0 74px, transparent 74px),
    #030303;
}

body[data-theme="ember"] .story h3,
body[data-theme="ember"] .quick-copy strong,
body[data-theme="ember"] .video-card strong,
body[data-theme="ember"] .social-card strong {
  color: #fff7ef;
}

body[data-theme="ember"] .story p {
  color: #d8cbbb;
}

body[data-theme="ember"] .select-wrap select,
body[data-theme="ember"] .search input {
  color: #fff7ef;
  background: rgba(0, 0, 0, 0.34);
}

@media (max-width: 880px) {
  body[data-theme="ember"] .lead-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body[data-theme="ember"] .lead-card img {
    grid-row: 1;
    min-height: 230px;
  }

  body[data-theme="ember"] .lead-copy {
    grid-row: 2;
  }
}

/* media20: real newspaper + CRT newsroom concept */
body[data-theme="ember"] {
  --paper: #f4ead4;
  --paper-ink: #21180f;
  --paper-muted: #6c5b47;
  --paper-line: rgba(62, 43, 25, 0.22);
  background-color: #080604;
}

body[data-theme="ember"]::before {
  opacity: 0.72;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    var(--grid-mask);
  background-size: 18px 18px, 18px 18px, 100% 100%;
}

body[data-theme="ember"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.76)),
    url("assets/crt-newsdesk-bg.webp?v=20260525-media20") center top / cover no-repeat;
  opacity: 0.56;
}

body[data-theme="ember"] .topbar {
  border-radius: 9px;
  box-shadow:
    0 0 0 1px rgba(255, 154, 61, 0.18),
    0 18px 50px rgba(0, 0, 0, 0.48);
}

body[data-theme="ember"] .brand {
  gap: 12px;
}

body[data-theme="ember"] .brand-mark {
  width: 58px;
  height: 46px;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.52);
}

body[data-theme="ember"] .brand strong {
  font-size: 1.05rem;
  text-transform: uppercase;
}

body[data-theme="ember"] .brand small {
  color: #ffbd70;
}

body[data-theme="ember"] .site-shell {
  position: relative;
}

body[data-theme="ember"] .site-shell::before {
  content: "";
  position: absolute;
  inset: 118px -18px auto;
  height: 220px;
  z-index: -1;
  border: 1px solid rgba(255, 226, 172, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(244, 234, 212, 0.28), rgba(244, 234, 212, 0.06)),
    url("assets/newsprint-panel.webp?v=20260525-media20") center / cover no-repeat;
  transform: rotate(-0.8deg);
  opacity: 0.52;
  filter: sepia(0.3) saturate(0.88);
}

body[data-theme="ember"] .hero-section {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.6fr);
  align-items: stretch;
}

body[data-theme="ember"] .lead-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 22px;
  min-height: 430px;
  padding: 26px;
  border-radius: 18px 18px 34px 34px;
  border: 2px solid rgba(24, 18, 12, 0.92);
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 154, 61, 0.23), transparent 40%),
    linear-gradient(135deg, #1b1510, #050403 52%, #100a06);
  box-shadow:
    inset 0 0 0 8px rgba(255, 154, 61, 0.08),
    inset 0 0 0 16px rgba(0, 0, 0, 0.28),
    0 22px 74px rgba(0, 0, 0, 0.56);
}

body[data-theme="ember"] .lead-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 154, 61, 0.26);
  border-radius: 12px 12px 26px 26px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 40%, rgba(255, 125, 45, 0.1));
  mix-blend-mode: screen;
  opacity: 0.44;
}

body[data-theme="ember"] .lead-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 12px;
  height: 20px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 50%, #ff3d1c 0 5px, transparent 6px),
    radial-gradient(circle at 28% 50%, #ff9a3d 0 4px, transparent 5px),
    linear-gradient(90deg, rgba(255, 154, 61, 0.24), rgba(255, 255, 255, 0.05));
  opacity: 0.76;
}

body[data-theme="ember"] .lead-card img {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 342px;
  border: 12px solid #090806;
  border-radius: 16px / 22px;
  object-fit: cover;
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.48);
  filter: contrast(1.04) saturate(0.92);
}

body[data-theme="ember"] .lead-shade {
  display: block;
  position: absolute;
  inset: 38px auto auto 38px;
  z-index: 2;
  width: calc((100% - 74px) * 0.38);
  max-width: 430px;
  height: calc(100% - 96px);
  border-radius: 12px / 18px;
  background:
    radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.42) 72%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

body[data-theme="ember"] .lead-copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  align-content: center;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  color: var(--paper-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(244, 234, 212, 0.2)),
    url("assets/newsprint-panel.webp?v=20260525-media20") center / cover no-repeat,
    var(--paper);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  transform: rotate(0.35deg);
}

body[data-theme="ember"] .lead-copy small {
  color: #fff;
  background: #c42016;
  border-radius: 4px;
}

body[data-theme="ember"] .lead-copy strong {
  max-width: 18ch;
  color: var(--paper-ink);
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 0.96;
  text-shadow: none;
  text-transform: uppercase;
}

body[data-theme="ember"] .lead-copy em {
  color: #463727;
  font-weight: 760;
}

body[data-theme="ember"] .hero-side {
  gap: 12px;
}

body[data-theme="ember"] .metric-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-theme="ember"] .metric-strip article {
  min-height: 96px;
  border-radius: 8px;
  color: var(--paper-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(244, 234, 212, 0.12)),
    url("assets/newsprint-panel.webp?v=20260525-media20") center / cover no-repeat,
    var(--paper);
}

body[data-theme="ember"] .metric-strip span {
  color: var(--paper-muted);
}

body[data-theme="ember"] .metric-strip strong {
  color: #b62015;
}

body[data-theme="ember"] .quick-card,
body[data-theme="ember"] .story,
body[data-theme="ember"] .rail-panel,
body[data-theme="ember"] .control-strip,
body[data-theme="ember"] .social-card {
  border-radius: 8px;
  color: var(--paper-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(244, 234, 212, 0.12)),
    url("assets/newsprint-panel.webp?v=20260525-media20") center / cover no-repeat,
    var(--paper);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

body[data-theme="ember"] .quick-card:nth-child(2),
body[data-theme="ember"] .story:nth-child(4n + 2),
body[data-theme="ember"] .visual-tile:nth-child(odd) {
  transform: rotate(-0.35deg);
}

body[data-theme="ember"] .quick-card:nth-child(3),
body[data-theme="ember"] .story:nth-child(4n + 3),
body[data-theme="ember"] .visual-tile:nth-child(even) {
  transform: rotate(0.32deg);
}

body[data-theme="ember"] .quick-card img,
body[data-theme="ember"] .story img,
body[data-theme="ember"] .video-card img {
  filter: sepia(0.22) contrast(1.08) saturate(0.9);
  border-bottom: 1px solid rgba(57, 39, 20, 0.22);
}

body[data-theme="ember"] .quick-copy span,
body[data-theme="ember"] .story-meta,
body[data-theme="ember"] .panel-head span,
body[data-theme="ember"] .social-card small,
body[data-theme="ember"] .video-card small {
  color: #8a261c;
}

body[data-theme="ember"] .quick-copy strong,
body[data-theme="ember"] .story h3,
body[data-theme="ember"] .social-card strong {
  color: var(--paper-ink);
  text-transform: uppercase;
}

body[data-theme="ember"] .story p,
body[data-theme="ember"] .social-card span {
  color: #51402e;
}

body[data-theme="ember"] .story-actions a,
body[data-theme="ember"] .story-actions button,
body[data-theme="ember"] .control-strip button {
  border-radius: 5px;
  color: #fff7ef;
  background: #17110c;
}

body[data-theme="ember"] .visual-wall,
body[data-theme="ember"] .pcai-band,
body[data-theme="ember"] .main-flow,
body[data-theme="ember"] .split-band > section {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 154, 61, 0.2);
  border-radius: 10px;
  background: rgba(6, 5, 4, 0.36);
}

body[data-theme="ember"] .visual-tile,
body[data-theme="ember"] .pcai-card,
body[data-theme="ember"] .video-card {
  border: 10px solid #0a0806;
  border-radius: 16px / 24px;
  background:
    linear-gradient(180deg, rgba(255, 154, 61, 0.1), rgba(0, 0, 0, 0.36)),
    #0a0806;
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.7),
    0 16px 38px rgba(0, 0, 0, 0.34);
}

body[data-theme="ember"] .visual-tile::after,
body[data-theme="ember"] .pcai-card::after,
body[data-theme="ember"] .video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 6px / 14px;
  background:
    radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, 0.34) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 5px);
  opacity: 0.6;
}

body[data-theme="ember"] .visual-tile small,
body[data-theme="ember"] .pcai-card small {
  z-index: 3;
  color: #fff;
  background: #c42016;
  border-radius: 4px;
}

body[data-theme="ember"] .visual-tile strong,
body[data-theme="ember"] .pcai-card strong {
  z-index: 3;
  color: #fff8ef;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.78);
}

body[data-theme="ember"] .ticker {
  height: 46px;
  border-width: 2px;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

body[data-theme="ember"] .reader-panel {
  border: 12px solid #070605;
  border-radius: 18px / 26px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.52)),
    url("assets/crt-newsdesk-bg.webp?v=20260525-media20") center / cover no-repeat,
    #090706;
}

@media (max-width: 1180px) {
  body[data-theme="ember"] .lead-card {
    grid-template-columns: 1fr;
  }

  body[data-theme="ember"] .lead-card img,
  body[data-theme="ember"] .lead-copy {
    grid-column: 1;
  }

  body[data-theme="ember"] .lead-shade {
    width: calc(100% - 76px);
  }
}

@media (max-width: 560px) {
  html,
  body {
    overflow-x: hidden;
  }

  body[data-theme="ember"] .hero-section {
    grid-template-columns: 1fr;
  }

  body[data-theme="ember"]::after {
    opacity: 0.38;
    background-position: center top;
  }

  body[data-theme="ember"] .brand-mark {
    width: 54px;
    height: 42px;
  }

  body[data-theme="ember"] .lead-card {
    padding: 14px;
    border-radius: 12px 12px 24px 24px;
  }

  body[data-theme="ember"] .lead-card img {
    min-height: 230px;
    border-width: 8px;
  }

  body[data-theme="ember"] .lead-shade {
    inset: 26px 26px auto;
    width: auto;
    height: 218px;
  }

  body[data-theme="ember"] .lead-copy {
    padding: 14px;
    transform: rotate(0);
  }

  body[data-theme="ember"] .lead-copy strong {
    font-size: 1.7rem;
  }

  body[data-theme="ember"] .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-theme="ember"] .visual-wall,
  body[data-theme="ember"] .pcai-band,
  body[data-theme="ember"] .main-flow,
  body[data-theme="ember"] .split-band > section {
    padding: 10px;
  }
}

/* media22: actual front-page newspaper concept */
body[data-theme="press"] {
  color-scheme: light;
  --bg: #ead9b5;
  --bg-2: #dac79e;
  --panel: #f5ead0;
  --panel-2: #ead8b4;
  --line: rgba(29, 19, 11, 0.34);
  --line-hot: rgba(177, 30, 19, 0.58);
  --text: #1c140d;
  --muted: #6d5a43;
  --soft: #3d2e20;
  --hot: #b91f17;
  --hot-2: #e15e2c;
  --accent-ink: #fff5de;
  --input-bg: rgba(255, 249, 232, 0.86);
  --shadow: rgba(50, 32, 17, 0.16);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  background:
    repeating-linear-gradient(0deg, rgba(42, 28, 15, 0.022) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 20% 0%, rgba(185, 31, 23, 0.08), transparent 24rem),
    linear-gradient(180deg, #efe0be 0%, #e4d1aa 100%);
}

body[data-theme="press"]::before {
  opacity: 0.16;
  background:
    linear-gradient(rgba(20, 122, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 22, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}

body[data-theme="press"]::after {
  display: none;
}

body[data-theme="press"]::before {
  opacity: 0.38;
  background:
    repeating-linear-gradient(90deg, rgba(40, 27, 15, 0.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(40, 27, 15, 0.025) 0 1px, transparent 1px 6px);
}

body[data-theme="press"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(237, 218, 181, 0.72), rgba(237, 218, 181, 0.22)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 620px auto repeat;
  opacity: 0.62;
  filter: sepia(0.22);
}

body[data-theme="press"] .topbar,
body[data-theme="press"] .lead-card,
body[data-theme="press"] .quick-card,
body[data-theme="press"] .story,
body[data-theme="press"] .rail-panel,
body[data-theme="press"] .control-strip,
body[data-theme="press"] .metric-strip article,
body[data-theme="press"] .visual-tile,
body[data-theme="press"] .pcai-card,
body[data-theme="press"] .social-card,
body[data-theme="press"] .video-card {
  border-color: rgba(29, 19, 11, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 252, 238, 0.8), rgba(245, 234, 208, 0.58)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 780px auto repeat,
    var(--panel);
  box-shadow: 0 10px 24px rgba(58, 38, 18, 0.14);
  backdrop-filter: none;
}

body[data-theme="press"] .topbar {
  position: sticky;
  top: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  border: 2px solid #1f150d;
  border-radius: 0;
  padding: 8px 10px;
}

body[data-theme="press"] .brand-mark {
  width: 52px;
  height: 42px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  filter: sepia(0.2) contrast(1.12);
}

body[data-theme="press"] .brand strong {
  color: #1c140d;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

body[data-theme="press"] .brand small {
  color: #8b1d15;
  font-family: Arial, sans-serif;
}

body[data-theme="press"] .nav-chip,
body[data-theme="press"] .tools button,
body[data-theme="press"] .tools a,
body[data-theme="press"] .control-strip button,
body[data-theme="press"] .story-actions a,
body[data-theme="press"] .story-actions button {
  border-radius: 0;
  color: #1c140d;
  background: rgba(255, 248, 226, 0.66);
  font-family: Arial, sans-serif;
  font-weight: 900;
}

body[data-theme="press"] .nav-chip.is-active,
body[data-theme="press"] .nav-chip:hover,
body[data-theme="press"] .tools button:hover,
body[data-theme="press"] .tools a:hover,
body[data-theme="press"] .control-strip button:hover,
body[data-theme="press"] .story-actions a:hover,
body[data-theme="press"] .story-actions button:hover,
body[data-theme="press"] .story.is-saved .save-button {
  color: #fff8e8;
  background: #16100b;
}

body[data-theme="press"] .site-shell {
  width: min(1320px, calc(100vw - 24px));
  margin-top: 12px;
}

body[data-theme="press"] .press-front {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 16px 12px 12px;
  border-top: 5px solid #1e150e;
  border-bottom: 5px double #1e150e;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 251, 236, 0.86), rgba(238, 221, 183, 0.58)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .press-date {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid #1e150e;
  border-bottom: 1px solid #1e150e;
  color: #4c3928;
  font-family: Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-theme="press"] .press-front h1 {
  margin: 0;
  color: #16100b;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

body[data-theme="press"] .press-front p {
  margin: 0;
  color: #4b3827;
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  font-weight: 700;
}

body[data-theme="press"] .hero-section {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 14px;
  align-items: stretch;
}

body[data-theme="press"] .lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
  gap: 16px;
  min-height: 460px;
  padding: 14px;
  border: 3px double #1d140d;
  border-radius: 0;
  color: #1c140d;
  overflow: hidden;
}

body[data-theme="press"] .lead-card::before {
  content: "MANSET";
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 3;
  padding: 5px 9px;
  color: #fff8e8;
  background: #b91f17;
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body[data-theme="press"] .lead-card img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 2px solid #1d140d;
  border-radius: 0;
  object-fit: cover;
  filter: grayscale(0.24) sepia(0.28) contrast(1.08);
}

body[data-theme="press"] .lead-shade {
  display: none;
}

body[data-theme="press"] .lead-copy {
  position: static;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 0 12px 14px;
  border-left: 2px solid #1d140d;
  color: #1c140d;
}

body[data-theme="press"] .lead-copy small {
  width: fit-content;
  border-radius: 0;
  color: #fff8e8;
  background: #16100b;
  font-family: Arial, sans-serif;
}

body[data-theme="press"] .lead-copy strong {
  max-width: 15ch;
  color: #17100a;
  font-size: clamp(2.2rem, 5.6vw, 5.4rem);
  line-height: 0.86;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: none;
}

body[data-theme="press"] .lead-copy em {
  max-width: 42ch;
  color: #3c2d1f;
  font-size: 1.02rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.44;
  columns: 2 160px;
  column-gap: 18px;
}

body[data-theme="press"] .hero-side {
  gap: 10px;
}

body[data-theme="press"] .metric-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-theme="press"] .metric-strip article {
  min-height: 86px;
  border: 2px solid #1d140d;
  border-radius: 0;
}

body[data-theme="press"] .metric-strip span,
body[data-theme="press"] .quick-copy span,
body[data-theme="press"] .story-meta,
body[data-theme="press"] .panel-head span,
body[data-theme="press"] .social-card small,
body[data-theme="press"] .video-card small,
body[data-theme="press"] #result-count,
body[data-theme="press"] #social-count,
body[data-theme="press"] #video-count {
  color: #8b1d15;
  font-family: Arial, sans-serif;
}

body[data-theme="press"] .metric-strip strong {
  color: #17100a;
  font-size: 1.7rem;
}

body[data-theme="press"] .quick-grid {
  gap: 8px;
}

body[data-theme="press"] .quick-card {
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 104px;
  border: 2px solid #1d140d;
  border-radius: 0;
}

body[data-theme="press"] .quick-card img,
body[data-theme="press"] .story img,
body[data-theme="press"] .video-card img {
  filter: grayscale(0.2) sepia(0.22) contrast(1.08);
}

body[data-theme="press"] .ticker {
  height: 42px;
  border: 2px solid #1d140d;
  border-radius: 0;
  background:
    linear-gradient(90deg, #b91f17 0 96px, transparent 96px),
    #16100b;
}

body[data-theme="press"] .ticker .ticker-item b {
  border: 0;
  border-radius: 0;
  background: #b91f17;
}

body[data-theme="press"] .music-ad,
body[data-theme="press"] .control-strip {
  border: 3px double #1d140d;
  border-radius: 0;
}

body[data-theme="press"] .select-wrap select,
body[data-theme="press"] .search input {
  border-radius: 0;
  color: #1c140d;
  font-family: Arial, sans-serif;
}

body[data-theme="press"] .visual-wall,
body[data-theme="press"] .pcai-band,
body[data-theme="press"] .main-flow,
body[data-theme="press"] .split-band > section {
  padding: 12px;
  border: 3px double #1d140d;
  background:
    linear-gradient(180deg, rgba(255, 252, 238, 0.55), rgba(235, 216, 178, 0.24)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 860px auto repeat;
}

body[data-theme="press"] .section-title,
body[data-theme="press"] .panel-head {
  padding-bottom: 7px;
  border-bottom: 2px solid #1d140d;
}

body[data-theme="press"] .section-title h1,
body[data-theme="press"] .section-title h2,
body[data-theme="press"] .panel-head h2 {
  color: #17100a;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-theme="press"] .section-title h1::before,
body[data-theme="press"] .section-title h2::before,
body[data-theme="press"] .panel-head h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 20px;
  margin-right: 8px;
  vertical-align: -3px;
  background: #b91f17;
}

body[data-theme="press"] .visual-tile,
body[data-theme="press"] .pcai-card {
  border: 2px solid #1d140d;
  border-radius: 0;
  background: #111;
}

body[data-theme="press"] .visual-tile img,
body[data-theme="press"] .pcai-card img {
  filter: grayscale(0.28) sepia(0.2) contrast(1.08);
}

body[data-theme="press"] .visual-tile small,
body[data-theme="press"] .pcai-card small {
  border-radius: 0;
  color: #fff8e8;
  background: #b91f17;
  font-family: Arial, sans-serif;
}

body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong {
  color: #fff8e8;
  text-transform: uppercase;
}

body[data-theme="press"] .news-grid {
  gap: 10px;
}

body[data-theme="press"] .story,
body[data-theme="press"] .rail-panel,
body[data-theme="press"] .social-card,
body[data-theme="press"] .video-card {
  border: 2px solid #1d140d;
  border-radius: 0;
}

body[data-theme="press"] .story {
  min-height: 306px;
}

body[data-theme="press"] .story h3,
body[data-theme="press"] .quick-copy strong,
body[data-theme="press"] .social-card strong,
body[data-theme="press"] .video-card strong {
  color: #17100a;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-theme="press"] .story p,
body[data-theme="press"] .social-card span {
  color: #4b3827;
  font-weight: 650;
}

body[data-theme="press"] .trend-list a,
body[data-theme="press"] .source-row {
  border-radius: 0;
  color: #1c140d;
  background: rgba(255, 247, 225, 0.58);
  font-family: Arial, sans-serif;
}

body[data-theme="press"] .source-row button {
  color: #8b1d15;
}

body[data-theme="press"] .astro-panel a {
  color: #fff8e8;
  background:
    linear-gradient(135deg, rgba(22, 16, 11, 0.88), rgba(185, 31, 23, 0.74)),
    url("assets/cloud-sketch-logo.webp?v=20260525-media22") center / cover no-repeat;
}

body[data-theme="press"] .reader-panel {
  border: 4px double #1d140d;
  border-radius: 0;
  color: #1c140d;
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.74), rgba(236, 219, 183, 0.48)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 900px auto repeat,
    #f2e3c1;
}

body[data-theme="press"] .reader-panel,
body[data-theme="press"] .reader-panel .reader-copy,
body[data-theme="press"] .reader-panel .reader-copy h2,
body[data-theme="press"] .reader-panel .reader-copy p {
  color: #1c140d;
}

body[data-theme="press"] .reader-copy h2 {
  text-shadow: none;
  text-transform: uppercase;
}

body[data-theme="press"] .reader-copy p {
  border-color: rgba(29, 19, 11, 0.28);
  background: rgba(255, 248, 226, 0.56);
}

@media (max-width: 1180px) {
  body[data-theme="press"] .hero-section,
  body[data-theme="press"] .lead-card {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .lead-card img,
  body[data-theme="press"] .lead-copy {
    grid-column: 1;
  }

  body[data-theme="press"] .lead-copy {
    padding-left: 0;
    border-top: 2px solid #1d140d;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  html,
  body {
    overflow-x: hidden;
  }

  body[data-theme="press"] .site-shell,
  body[data-theme="press"] .topbar {
    width: calc(100vw - 14px);
  }

  body[data-theme="press"] .press-date {
    display: grid;
    justify-content: stretch;
  }

  body[data-theme="press"] .press-front h1 {
    font-size: 3rem;
    line-height: 0.9;
  }

  body[data-theme="press"] .hero-section {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .lead-card {
    min-height: 0;
    padding: 10px;
  }

  body[data-theme="press"] .lead-card img {
    min-height: 230px;
  }

  body[data-theme="press"] .lead-copy strong {
    font-size: 1.72rem;
    line-height: 0.95;
  }

  body[data-theme="press"] .lead-copy em {
    columns: 1;
  }

  body[data-theme="press"] .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* media23: private admin gate, telegram desk, live paper layers */
body[data-theme="press"] {
  font-family: Inter, Arial, system-ui, sans-serif;
}

body[data-theme="press"] .brand strong,
body[data-theme="press"] .press-front h1 {
  font-family: "Radium FG", "Noir Et Blanc", Impact, sans-serif;
  letter-spacing: 0;
}

body[data-theme="press"] h1,
body[data-theme="press"] h2,
body[data-theme="press"] h3,
body[data-theme="press"] .lead-copy strong,
body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong,
body[data-theme="press"] .story h3,
body[data-theme="press"] .quick-copy strong,
body[data-theme="press"] .social-card strong,
body[data-theme="press"] .video-card strong,
body[data-theme="press"] .press-tool strong,
body[data-theme="press"] .metric-strip strong {
  font-family: Georgia, "Times New Roman", Arial, sans-serif;
  letter-spacing: 0;
}

.admin-link {
  display: none !important;
}

body[data-theme="press"] .press-front {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(176px, 24vw, 310px);
}

body[data-theme="press"] .press-front > *:not(.press-scene) {
  position: relative;
  z-index: 1;
}

body[data-theme="press"] .press-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.46;
  mix-blend-mode: multiply;
  pointer-events: none;
}

body[data-theme="press"] .press-utility {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

body[data-theme="press"] .press-tool {
  min-height: 132px;
  padding: 12px;
  border: 3px double #1d140d;
  color: #17100a;
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.82), rgba(235, 216, 178, 0.36)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
  box-shadow: 0 10px 24px rgba(58, 38, 18, 0.12);
}

body[data-theme="press"] .press-tool span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 7px;
  color: #fff8e8;
  background: #b91f17;
  font: 900 0.72rem Arial, sans-serif;
  text-transform: uppercase;
}

body[data-theme="press"] .press-tool strong {
  display: block;
  color: #17100a;
  font-family: Georgia, "Times New Roman", Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1;
}

body[data-theme="press"] .press-tool small {
  display: block;
  margin-top: 8px;
  color: #5a3f29;
  font-weight: 800;
}

body[data-theme="press"] .weather-sketch {
  display: block;
  width: 100%;
  height: 78px;
  margin-top: 10px;
  border-top: 2px solid #1d140d;
}

body[data-theme="press"] .press-install-card[hidden] {
  display: none;
}

body[data-theme="press"] .press-install-card button {
  width: 100%;
  margin-top: 12px;
  padding: 11px 12px;
  border: 2px solid #17100a;
  color: #fff8e8;
  background: #17100a;
  font-weight: 900;
}

body[data-theme="press"] .paper-map-section {
  display: grid;
  grid-template-columns: minmax(255px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px;
  border: 4px double #1d140d;
  color: #f6ead0;
  background:
    linear-gradient(135deg, rgba(9, 8, 7, 0.98), rgba(22, 15, 10, 0.96)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
  box-shadow: 0 18px 42px rgba(32, 20, 10, 0.22);
}

body[data-theme="press"] .paper-map-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(246, 234, 208, 0.22);
  background: rgba(0, 0, 0, 0.22);
}

body[data-theme="press"] .paper-map-copy span,
body[data-theme="press"] .paper-map-readout span {
  width: fit-content;
  padding: 4px 8px;
  color: #17100a;
  background: #f2dfb4;
  font: 900 0.73rem Arial, sans-serif;
  text-transform: uppercase;
}

body[data-theme="press"] .paper-map-copy h2 {
  margin: 0;
  color: #fff8e8;
  font-family: Georgia, "Times New Roman", Arial, sans-serif;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body[data-theme="press"] .paper-map-copy p {
  margin: 0;
  color: #e9d7b6;
  font-weight: 800;
  line-height: 1.38;
}

body[data-theme="press"] .paper-map-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-theme="press"] .paper-map-actions button {
  min-height: 44px;
  border: 2px solid #f2dfb4;
  color: #fff8e8;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

body[data-theme="press"] .paper-map-actions button:hover {
  color: #17100a;
  background: #f2dfb4;
}

body[data-theme="press"] .paper-map-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 2px solid #f2dfb4;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.18), rgba(9, 8, 7, 0.02)),
    url("assets/paper-map-istanbul-media25.png") center / cover no-repeat,
    #12100d;
}

body[data-theme="press"] .paper-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 46%, rgba(214, 28, 20, 0.14), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 11px);
  mix-blend-mode: screen;
}

body[data-theme="press"] #paper-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  cursor: crosshair;
}

body[data-theme="press"] .paper-map-readout {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 4px;
}

body[data-theme="press"] .paper-map-readout strong {
  color: #fff8e8;
  font-family: Georgia, "Times New Roman", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

body.admin-private .admin-shell {
  width: min(1280px, calc(100vw - 24px));
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 248, 226, 0.75), rgba(227, 203, 161, 0.72)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 720px auto repeat;
}

.admin-login-card {
  width: min(430px, 100%);
  padding: 18px;
  border: 4px double #1d140d;
  color: #17100a;
  background: rgba(255, 250, 235, 0.82);
  box-shadow: 0 18px 44px rgba(36, 24, 12, 0.24);
}

.admin-login-card h1 {
  margin: 0 0 12px;
  font-family: "Radium FG", Impact, sans-serif;
  font-size: clamp(2.1rem, 11vw, 4rem);
  line-height: 0.9;
}

.admin-login-card label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #5a3f29;
  font-weight: 900;
}

.admin-login-card input {
  width: 100%;
  padding: 13px 12px;
  border: 2px solid #1d140d;
  color: #17100a;
  background: #fff8e8;
  font: 900 1.1rem "Noir Et Blanc", system-ui, sans-serif;
}

.admin-login-card button,
.telegram-controls button {
  border: 2px solid #17100a;
  color: #fff8e8;
  background: #17100a;
  font-weight: 900;
}

.admin-login-card button {
  width: 100%;
  margin-top: 14px;
  padding: 13px 12px;
}

.admin-login-error {
  margin: 0 0 10px;
  padding: 9px 10px;
  color: #fff8e8;
  background: #b91f17;
  font-weight: 900;
}

body[data-theme="press"] .telegram-panel {
  border: 4px double #1d140d;
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.76), rgba(236, 219, 183, 0.42)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 860px auto repeat;
}

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

.telegram-controls label {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 2px solid #1d140d;
  color: #17100a;
  background: rgba(255, 248, 226, 0.68);
  font-weight: 900;
}

.telegram-controls input {
  width: 100%;
  accent-color: #b91f17;
}

.telegram-controls input[type="time"],
.telegram-controls input[type="number"] {
  padding: 9px 10px;
  border: 1px solid rgba(29, 20, 13, 0.42);
  color: #17100a;
  background: #fff8e8;
}

.telegram-controls button {
  min-height: 54px;
  padding: 10px;
}

.telegram-log {
  margin-top: 12px;
}

body[data-theme="press"] .consent-banner,
body[data-theme="press"] .consent-banner p {
  color: #fff8e8;
}

body[data-theme="press"] .consent-banner {
  border: 3px double #f2dfb4;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(18, 16, 13, 0.98), rgba(34, 24, 16, 0.96)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 620px auto repeat;
}

body[data-theme="press"] .consent-banner p strong {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  color: #17100a;
  background: #f2dfb4;
  font: 900 0.75rem Arial, sans-serif;
  text-transform: uppercase;
}

body[data-theme="press"] .consent-banner a {
  color: #ffcf77;
}

body[data-theme="press"] .consent-actions button {
  border-radius: 0;
}

body[data-theme="press"] .article-shell {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding-block: 24px;
}

body[data-theme="press"] .article-page {
  position: static;
  width: min(1080px, 100%);
  max-height: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

body[data-theme="press"] .article-page .reader-copy h1 {
  margin: 0;
  color: #17100a;
  font-family: Georgia, "Times New Roman", Arial, sans-serif;
  font-size: clamp(2.1rem, 5.6vw, 5.2rem);
  line-height: 0.92;
}

body[data-theme="press"] .article-page .reader-media img {
  filter: grayscale(0.18) sepia(0.2) contrast(1.08);
}

@media (max-width: 860px) {
  body[data-theme="press"] .press-utility,
  .telegram-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-theme="press"] .paper-map-section {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .article-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .site-shell {
    width: 100vw;
    margin-top: 0;
    padding-inline: 7px;
  }

  body[data-theme="press"] .topbar {
    top: 0;
    width: 100vw;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
  }

  body[data-theme="press"] .press-front {
    margin-inline: -7px;
    padding-inline: 10px;
    border-left: 0;
    border-right: 0;
  }

  body[data-theme="press"] .press-front h1 {
    max-width: 100%;
    font-size: 2.32rem;
    white-space: nowrap;
  }

  body[data-theme="press"] .press-utility,
  .telegram-controls {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .paper-map-section {
    margin-inline: -7px;
    padding: 8px;
    border-left: 0;
    border-right: 0;
  }

  body[data-theme="press"] .paper-map-copy {
    padding: 10px;
  }

  body[data-theme="press"] .paper-map-actions {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .paper-map-frame,
  body[data-theme="press"] #paper-map {
    min-height: 255px;
  }

  body[data-theme="press"] .press-tool {
    min-height: 112px;
  }

  body[data-theme="press"] .consent-banner {
    display: grid;
    grid-template-columns: 1fr !important;
    left: 8px;
    right: 8px;
    max-width: none;
    width: auto;
    padding: 12px;
  }

  body[data-theme="press"] .consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }

  body[data-theme="press"] .consent-actions button {
    width: 100%;
    min-width: 0;
  }

  body[data-theme="press"] .visual-wall,
  body[data-theme="press"] .pcai-band,
  body[data-theme="press"] .main-flow,
  body[data-theme="press"] .split-band > section {
    padding: 10px;
  }
}

/* media26 final overrides: Turkish-safe typography and wide paper map */
body[data-theme="press"] .press-tool span,
body[data-theme="press"] .paper-map-readout span,
body[data-theme="press"] .ad-label,
body[data-theme="press"] .consent-banner p strong,
body[data-theme="press"] .story-meta,
body[data-theme="press"] .section-title span,
body[data-theme="press"] .reader-meta {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

body[data-theme="press"] .lead-card::before {
  content: "Manşet";
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

body[data-theme="press"] .lead-copy small,
body[data-theme="press"] .lead-copy strong,
body[data-theme="press"] .section-title h1,
body[data-theme="press"] .section-title h2,
body[data-theme="press"] .visual-tile small,
body[data-theme="press"] .pcai-card small,
body[data-theme="press"] .social-card small,
body[data-theme="press"] .video-card small {
  text-transform: none;
  letter-spacing: 0;
}

body[data-theme="press"] .select-wrap select {
  min-width: 96px;
}

body[data-theme="press"] .theme-select select {
  min-width: 116px;
}

@media (max-width: 560px) {
  body[data-theme="press"] {
    overflow-x: hidden;
  }

  body[data-theme="press"] .nav {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body[data-theme="press"] .nav::-webkit-scrollbar {
    display: none;
  }

  body[data-theme="press"] .press-front h1 {
    display: block;
    width: 100%;
    max-width: calc(100vw - 26px);
    font-size: clamp(1.7rem, 9.5vw, 2.25rem) !important;
    line-height: 1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
  }

  body[data-theme="press"] .press-front p {
    width: min(32ch, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin-inline: auto;
    font-size: 0.86rem !important;
    line-height: 1.34 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body[data-theme="press"] .consent-banner {
    overflow: hidden;
  }

  body[data-theme="press"] .consent-banner p {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}

body[data-theme="press"],
body[data-theme="press"] button,
body[data-theme="press"] input,
body[data-theme="press"] select,
body[data-theme="press"] textarea,
body[data-theme="press"] h1,
body[data-theme="press"] h2,
body[data-theme="press"] h3,
body[data-theme="press"] p,
body[data-theme="press"] a,
body[data-theme="press"] span,
body[data-theme="press"] small,
body[data-theme="press"] strong,
body[data-theme="press"] em {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-variant-ligatures: common-ligatures;
}

body[data-theme="press"] h1,
body[data-theme="press"] h2,
body[data-theme="press"] h3,
body[data-theme="press"] .lead-copy strong,
body[data-theme="press"] .visual-tile strong,
body[data-theme="press"] .pcai-card strong,
body[data-theme="press"] .story h3,
body[data-theme="press"] .quick-copy strong,
body[data-theme="press"] .social-card strong,
body[data-theme="press"] .video-card strong,
body[data-theme="press"] .press-tool strong,
body[data-theme="press"] .metric-strip strong,
body[data-theme="press"] .paper-map-readout strong,
body[data-theme="press"] .article-page .reader-copy h1 {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  line-height: 1.12;
  overflow-wrap: break-word;
}

body[data-theme="press"] p,
body[data-theme="press"] em,
body[data-theme="press"] small,
body[data-theme="press"] .story-body,
body[data-theme="press"] .reader-copy {
  line-height: 1.42;
}

body[data-theme="press"] .press-front h1,
body[data-theme="press"] .brand strong {
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-weight: 900;
}

body[data-theme="press"] .paper-map-section,
body[data-theme="press"] .paper-map-section.is-wide-map {
  display: block;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px;
}

body[data-theme="press"] .paper-map-copy {
  display: none !important;
}

body[data-theme="press"] .paper-map-frame,
body[data-theme="press"] #paper-map {
  min-height: clamp(330px, 37vw, 540px);
}

body[data-theme="press"] .map-status {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  max-width: min(420px, calc(100% - 24px));
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(242, 223, 180, 0.7);
  color: #fff8e8;
  background: rgba(12, 9, 7, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-theme="press"] .paper-map-actions {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  width: min(260px, calc(100% - 24px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-theme="press"] .paper-map-readout {
  z-index: 2;
}

@media (max-width: 560px) {
  body[data-theme="press"] .paper-map-frame,
  body[data-theme="press"] #paper-map {
    min-height: 330px;
  }

  body[data-theme="press"] .paper-map-actions {
    width: min(230px, calc(100% - 24px));
  }

  body[data-theme="press"] .paper-map-readout strong {
    font-size: 1.86rem;
  }
}

/* media31: Telegram mascot identity and portal */
body[data-theme="press"] .brand strong,
body[data-theme="press"] .press-front h1 {
  font-family: "Radium FG", "Noir Et Blanc", "Segoe UI", Arial, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-theme="press"] .brand strong {
  font-size: clamp(1.04rem, 2.2vw, 1.36rem);
}

body[data-theme="press"] .press-front {
  position: relative;
  min-height: clamp(300px, 34vw, 510px);
  place-items: center;
  overflow: hidden;
}

body[data-theme="press"] .press-mascot {
  position: absolute;
  right: max(14px, 4vw);
  bottom: 16px;
  z-index: 1;
  display: block;
  width: clamp(190px, 28vw, 420px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px double #1d140d;
  border-radius: 42px;
  background: #11100d;
  box-shadow: 0 20px 54px rgba(12, 9, 7, 0.28);
  text-decoration: none;
}

body[data-theme="press"] .press-mascot img,
body[data-theme="press"] .press-telegram-card img,
body[data-theme="press"] .mascot-panel img,
body.telegram-page .telegram-hero-mascot img,
body.telegram-page .telegram-route-cards img,
body[data-theme="press"] .mascot-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-theme="press"] .press-mascot span,
body[data-theme="press"] .mascot-floating span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 9px;
  color: #f8f4e8;
  background: rgba(11, 22, 37, 0.72);
  border: 1px solid rgba(104, 188, 255, 0.58);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

body[data-theme="press"] .press-date-card {
  background:
    linear-gradient(180deg, rgba(255, 249, 231, 0.96), rgba(241, 222, 183, 0.62)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .press-date-card strong {
  font-family: "Radium FG", "Segoe UI", Arial, system-ui, sans-serif;
  color: #10100d;
}

body[data-theme="press"] .press-telegram-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 132px;
  overflow: hidden;
  color: #f8f4e8;
  text-decoration: none;
  background: #0a1424;
}

body[data-theme="press"] .press-telegram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 12, 20, 0.88), rgba(7, 12, 20, 0.34));
}

body[data-theme="press"] .press-telegram-card > *:not(img) {
  position: relative;
  z-index: 1;
}

body[data-theme="press"] .press-telegram-card span {
  width: fit-content;
  background: #1d8eff;
}

body[data-theme="press"] .press-telegram-card strong,
body[data-theme="press"] .press-telegram-card small {
  color: #f8f4e8;
}

body[data-theme="press"] .press-telegram-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.78;
}

body[data-theme="press"] .telegram-nav-chip {
  border-color: rgba(55, 168, 255, 0.5);
  color: #f8fbff;
  background: #126fce;
}

body[data-theme="press"] .mascot-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(180px, 0.72fr));
  gap: 10px;
  margin: 0 0 14px;
}

body[data-theme="press"] .mascot-panel {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 3px double #1d140d;
  border-radius: 30px;
  color: #fff8e8;
  background: #0e1420;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(12, 9, 7, 0.18);
}

body[data-theme="press"] .mascot-panel::before,
body.telegram-page .telegram-hero::before,
body.telegram-page .telegram-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(247, 249, 246, 0.9);
  box-shadow:
    18px -10px 0 2px rgba(247, 249, 246, 0.92),
    38px 4px 0 -3px rgba(247, 249, 246, 0.84);
}

body[data-theme="press"] .mascot-panel::before {
  right: 14px;
  top: 16px;
  width: 38px;
  height: 28px;
  opacity: 0.86;
}

body[data-theme="press"] .mascot-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(7, 10, 16, 0.86), rgba(7, 10, 16, 0.12));
}

body[data-theme="press"] .mascot-panel img {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(1.06);
}

body[data-theme="press"] .mascot-panel span,
body[data-theme="press"] .mascot-panel strong {
  position: relative;
  z-index: 3;
  display: block;
  margin-left: 16px;
  margin-right: 16px;
}

body[data-theme="press"] .mascot-panel span {
  margin-top: 122px;
  color: #8fd2ff;
  font-size: 0.78rem;
  font-weight: 900;
}

body[data-theme="press"] .mascot-panel strong {
  max-width: 18ch;
  margin-top: 4px;
  margin-bottom: 14px;
  color: #fff8e8;
  font-size: clamp(1.02rem, 2.1vw, 1.54rem);
  line-height: 1.08;
}

body[data-theme="press"] .mascot-panel-main {
  min-height: 250px;
}

body[data-theme="press"] .mascot-panel-main span {
  margin-top: 176px;
}

body[data-theme="press"] .mascot-floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: block;
  width: 138px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 3px solid #11100d;
  border-radius: 50%;
  background: #0a1424;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

body[data-theme="press"] .mascot-floating img {
  transform: scale(1.8);
}

body.telegram-page .telegram-shell {
  width: min(1280px, calc(100vw - 24px));
}

body.telegram-page .telegram-topbar {
  margin-top: 8px;
}

body.telegram-page .telegram-hero {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100vh - 130px));
  margin: 12px 0 14px;
  overflow: hidden;
  border: 5px double #1d140d;
  border-radius: 36px;
  background:
    radial-gradient(circle at 54% 48%, rgba(55, 168, 255, 0.28), transparent 38%),
    linear-gradient(135deg, #090d14, #15100d 52%, #0a1424);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

body.telegram-page .telegram-route-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.telegram-page .telegram-hero-mascot {
  position: absolute;
  inset: 26px;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 44px;
  background: #0e1420;
}

body.telegram-page .telegram-hero-mascot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 10, 16, 0.18), rgba(6, 10, 16, 0.02) 45%, rgba(6, 10, 16, 0.64));
}

body.telegram-page .telegram-thoughts span {
  position: absolute;
  z-index: 3;
  width: 58px;
  height: 42px;
  border-radius: 999px;
  background: rgba(248, 250, 246, 0.92);
  box-shadow:
    20px -9px 0 4px rgba(248, 250, 246, 0.94),
    42px 2px 0 -3px rgba(248, 250, 246, 0.86),
    0 8px 22px rgba(0, 0, 0, 0.18);
}

body.telegram-page .telegram-thoughts span:nth-child(1) {
  left: 8%;
  top: 14%;
}

body.telegram-page .telegram-thoughts span:nth-child(2) {
  right: 18%;
  top: 9%;
}

body.telegram-page .telegram-thoughts span:nth-child(3) {
  right: 9%;
  top: 31%;
}

body.telegram-page .telegram-hero-copy {
  position: relative;
  z-index: 4;
  align-self: end;
  justify-self: end;
  width: min(470px, calc(100% - 32px));
  margin: 0 28px 28px 0;
  padding: 18px;
  border: 1px solid rgba(143, 210, 255, 0.48);
  border-radius: 24px;
  color: #f8fbff;
  background: rgba(7, 12, 20, 0.78);
  backdrop-filter: blur(14px);
}

body.telegram-page .telegram-hero-copy span {
  color: #8fd2ff;
  font-size: 0.82rem;
  font-weight: 900;
}

body.telegram-page .telegram-hero-copy h1 {
  margin: 6px 0 8px;
  color: #fff8e8;
  font-family: "Radium FG", "Noir Et Blanc", "Segoe UI", Arial, system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

body.telegram-page .telegram-hero-copy p {
  margin: 0;
  color: rgba(248, 251, 255, 0.86);
}

body.telegram-page .telegram-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

body.telegram-page .telegram-hero-actions a,
body.telegram-page .telegram-route-cards a {
  text-decoration: none;
}

body.telegram-page .telegram-hero-actions a {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 16px;
  border: 1px solid rgba(143, 210, 255, 0.56);
  border-radius: 999px;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

body.telegram-page .telegram-hero-actions .telegram-primary {
  color: #07101b;
  background: #49b2ff;
}

body.telegram-page .telegram-route-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

body.telegram-page .telegram-route-cards a {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  border: 3px double #1d140d;
  border-radius: 28px;
  color: #fff8e8;
  background: #0d1420;
}

body.telegram-page .telegram-route-cards a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 11, 18, 0.88), rgba(7, 11, 18, 0.06));
}

body.telegram-page .telegram-route-cards img {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
}

body.telegram-page .telegram-route-cards span,
body.telegram-page .telegram-route-cards strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-inline: 14px;
}

body.telegram-page .telegram-route-cards span {
  margin-top: 142px;
  color: #8fd2ff;
  font-size: 0.78rem;
  font-weight: 900;
}

body.telegram-page .telegram-route-cards strong {
  max-width: 16ch;
  margin-top: 4px;
  color: #fff8e8;
  font-size: 1.1rem;
  line-height: 1.1;
}

@media (max-width: 920px) {
  body[data-theme="press"] .press-mascot {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(92vw, 560px);
    margin: 4px auto 0;
  }

  body[data-theme="press"] .mascot-strip,
  body.telegram-page .telegram-route-cards {
    grid-template-columns: 1fr 1fr;
  }

  body[data-theme="press"] .mascot-panel-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .press-front {
    min-height: auto;
    padding-bottom: 14px;
  }

  body[data-theme="press"] .press-mascot {
    width: calc(100vw - 22px);
    border-radius: 28px;
  }

  body[data-theme="press"] .mascot-strip,
  body.telegram-page .telegram-route-cards {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .mascot-panel,
  body[data-theme="press"] .mascot-panel-main {
    min-height: 218px;
  }

  body[data-theme="press"] .mascot-panel span,
  body[data-theme="press"] .mascot-panel-main span {
    margin-top: 150px;
  }

  body[data-theme="press"] .mascot-floating {
    width: 94px;
    right: 10px;
    bottom: 10px;
  }

  body[data-theme="press"] .mascot-floating span {
    display: none;
  }

  body.telegram-page .telegram-shell {
    width: 100vw;
    padding-inline: 8px;
  }

  body.telegram-page .telegram-hero {
    min-height: 78vh;
    border-radius: 24px;
  }

body.telegram-page .telegram-hero-mascot {
    inset: 10px;
    border-radius: 24px;
  }

  body.telegram-page .telegram-hero-copy {
    justify-self: center;
    width: calc(100% - 22px);
    margin: 0 0 12px;
    padding: 14px;
  }

  body.telegram-page .telegram-hero-copy h1 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }
}

/* media32: one integrated sepia newspaper ad instead of repeated mascot photos */
body[data-theme="press"] .press-mascot,
body[data-theme="press"] .press-telegram-card,
body[data-theme="press"] .mascot-strip,
body[data-theme="press"] .mascot-floating {
  display: none !important;
}

body[data-theme="press"] .press-front {
  min-height: auto;
}

body[data-theme="press"] .press-utility {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-theme="press"] .telegram-paper-ad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.58fr) minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  min-height: 248px;
  margin: 0 0 14px;
  overflow: hidden;
  border: 5px double #1d140d;
  color: #1b130c;
  background:
    linear-gradient(90deg, rgba(255, 250, 232, 0.94), rgba(236, 216, 178, 0.72)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
  box-shadow: 0 16px 38px rgba(58, 38, 18, 0.14);
  text-decoration: none;
  isolation: isolate;
}

body[data-theme="press"] .telegram-paper-ad::before {
  content: "Özel İlan";
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 3;
  padding: 4px 9px;
  border: 2px solid #1d140d;
  color: #f8ecd2;
  background: #19100a;
  font: 900 0.72rem "Segoe UI", Arial, sans-serif;
}

body[data-theme="press"] .telegram-paper-ad::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(29, 20, 13, 0.055) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 21% 52%, rgba(25, 16, 10, 0.18), transparent 32%);
  mix-blend-mode: multiply;
}

body[data-theme="press"] .telegram-paper-art {
  position: relative;
  z-index: 1;
  min-height: 248px;
  margin: 0;
  overflow: hidden;
  border-right: 3px double #1d140d;
  background: rgba(232, 209, 166, 0.5);
}

body[data-theme="press"] .telegram-paper-art::before {
  content: "";
  position: absolute;
  inset: 18px 12px 16px 20px;
  border-radius: 48% 42% 50% 46% / 40% 48% 38% 52%;
  border: 2px solid rgba(29, 20, 13, 0.48);
  background: rgba(255, 246, 220, 0.58);
  box-shadow:
    28px -16px 0 -8px rgba(255, 246, 220, 0.7),
    54px 18px 0 -18px rgba(255, 246, 220, 0.62);
}

body[data-theme="press"] .telegram-paper-art img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 52%;
  filter: grayscale(0.55) sepia(0.86) contrast(1.03) brightness(1.04);
  opacity: 0.78;
  mix-blend-mode: multiply;
  transform: scale(1.08);
}

body[data-theme="press"] .telegram-paper-copy {
  position: relative;
  z-index: 5;
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 24px clamp(18px, 3vw, 38px);
}

body[data-theme="press"] .telegram-paper-copy span {
  width: fit-content;
  padding: 4px 9px;
  color: #f8ecd2;
  background: #8b1d15;
  font: 900 0.76rem "Segoe UI", Arial, sans-serif;
}

body[data-theme="press"] .telegram-paper-copy strong {
  max-width: 18ch;
  color: #17100a;
  font-family: "Radium FG", "Noir Et Blanc", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: 0;
}

body[data-theme="press"] .telegram-paper-copy small {
  max-width: 48ch;
  color: #4d3723;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.42;
}

body[data-theme="press"] .telegram-paper-action {
  position: relative;
  z-index: 5;
  align-self: center;
  display: grid;
  min-width: 132px;
  min-height: 132px;
  margin-right: 18px;
  place-items: center;
  border: 3px solid #1d140d;
  border-radius: 50%;
  color: #f8ecd2;
  background: #19100a;
  font: 900 1rem "Segoe UI", Arial, sans-serif;
  text-align: center;
  transform: rotate(-5deg);
}

body[data-theme="press"] .telegram-paper-ad:hover .telegram-paper-action,
body[data-theme="press"] .telegram-paper-ad:focus-visible .telegram-paper-action {
  color: #17100a;
  background: #f0c25a;
}

body.telegram-page .telegram-route-cards a {
  display: grid;
  align-content: end;
  min-height: 148px;
  padding: 16px;
  border-radius: 0;
  color: #1b130c;
  background:
    linear-gradient(180deg, rgba(255, 250, 232, 0.94), rgba(236, 216, 178, 0.68)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body.telegram-page .telegram-route-cards a::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 14px;
  width: 42px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.86);
  box-shadow:
    19px -8px 0 -2px rgba(255, 246, 220, 0.78),
    33px 6px 0 -8px rgba(255, 246, 220, 0.74);
}

body.telegram-page .telegram-route-cards a::after {
  background:
    repeating-linear-gradient(0deg, rgba(29, 20, 13, 0.06) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
}

body.telegram-page .telegram-route-cards span,
body.telegram-page .telegram-route-cards strong {
  margin: 0;
  color: #1b130c;
}

body.telegram-page .telegram-route-cards span {
  color: #8b1d15;
}

body.telegram-page .telegram-route-cards strong {
  max-width: 18ch;
  color: #1b130c;
}

@media (max-width: 860px) {
  body[data-theme="press"] .press-utility {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .telegram-paper-ad {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .telegram-paper-art {
    min-height: 240px;
    border-right: 0;
    border-bottom: 3px double #1d140d;
  }

  body[data-theme="press"] .telegram-paper-action {
    width: auto;
    min-width: 0;
    min-height: 46px;
    margin: 0 16px 16px;
    border-radius: 999px;
    transform: none;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .telegram-paper-copy {
    padding: 18px 14px;
  }

  body[data-theme="press"] .telegram-paper-copy strong {
    max-width: 100%;
    font-size: clamp(2rem, 13vw, 3.2rem);
    line-height: 1;
  }
}

/* media33: news-first layout, cleaner lead typography, real visible counter */
body[data-theme="press"] .hero-section {
  margin-top: 0;
}

body[data-theme="press"] .lead-card {
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.82fr);
  min-height: 368px;
  gap: 14px;
}

body[data-theme="press"] .lead-card img {
  min-height: 338px;
}

body[data-theme="press"] .lead-copy {
  align-content: center;
  gap: 10px;
  padding: 12px 4px 12px 16px;
}

body[data-theme="press"] .lead-copy strong {
  max-width: 24ch;
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.9vw, 2.86rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body[data-theme="press"] .lead-copy em {
  max-width: 58ch;
  columns: auto;
  font-size: 0.96rem;
  line-height: 1.48;
}

body[data-theme="press"] .metric-strip article {
  background:
    linear-gradient(180deg, rgba(255, 252, 238, 0.92), rgba(238, 221, 183, 0.58)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 620px auto repeat;
}

body[data-theme="press"] .metric-strip strong {
  font-size: clamp(1.42rem, 3vw, 2.16rem);
  font-family: "Radium FG", "Segoe UI", Arial, system-ui, sans-serif;
}

body[data-theme="press"] .desk-news-strip {
  margin: 0 0 14px;
  padding: 12px;
  border: 4px double #1d140d;
  background:
    linear-gradient(180deg, rgba(255, 250, 233, 0.9), rgba(236, 216, 178, 0.58)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .desk-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body[data-theme="press"] .desk-news-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 2px solid #1d140d;
  color: #fff8e8;
  background: #16100b;
  text-decoration: none;
}

body[data-theme="press"] .desk-news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(14, 9, 5, 0.88), rgba(14, 9, 5, 0.14) 62%),
    repeating-linear-gradient(0deg, rgba(255, 244, 214, 0.08) 0 1px, transparent 1px 7px);
}

body[data-theme="press"] .desk-news-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.16) sepia(0.24) contrast(1.06);
  transition: transform 240ms ease;
}

body[data-theme="press"] .desk-news-card:hover img,
body[data-theme="press"] .desk-news-card:focus-visible img {
  transform: scale(1.04);
}

body[data-theme="press"] .desk-news-card span,
body[data-theme="press"] .desk-news-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-inline: 12px;
}

body[data-theme="press"] .desk-news-card span {
  margin-top: 138px;
  width: fit-content;
  padding: 3px 7px;
  color: #fff8e8;
  background: #8b1d15;
  font: 900 0.72rem "Segoe UI", Arial, sans-serif;
}

body[data-theme="press"] .desk-news-card strong {
  margin-top: 7px;
  margin-bottom: 12px;
  color: #fff8e8;
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body[data-theme="press"] .telegram-paper-ad {
  margin-top: 14px;
  margin-bottom: 14px;
}

body[data-theme="press"] .paper-map-section.is-wide-map {
  margin-top: 0;
}

@media (max-width: 980px) {
  body[data-theme="press"] .desk-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body[data-theme="press"] .lead-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body[data-theme="press"] .lead-card img {
    min-height: 270px;
  }

  body[data-theme="press"] .lead-copy {
    border-left: 0;
    border-top: 2px solid #1d140d;
    padding: 12px 0 0;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .desk-news-grid {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .desk-news-card {
    min-height: 218px;
  }

  body[data-theme="press"] .lead-copy strong {
    font-size: clamp(1.38rem, 7vw, 2.1rem);
  }
}

/* media34: HQ paper texture, cleaner newspaper rules, illustrated weather */
body[data-theme="press"] {
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 246, 219, 0.64), transparent 38%),
    linear-gradient(180deg, #ead6a8 0%, #d2ae72 100%);
}

body[data-theme="press"]::after {
  background-image:
    linear-gradient(180deg, rgba(255, 248, 225, 0.42), rgba(218, 181, 117, 0.24)),
    url("assets/paper-bg-media34.png?v=20260525-media34");
  background-position: center top, center top;
  background-size: auto, min(1536px, 100vw) auto;
  background-repeat: repeat, repeat-y;
  opacity: 0.86;
  filter: sepia(0.12) contrast(1.03) saturate(1.02);
}

body[data-theme="press"]::before {
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(29, 20, 13, 0.045) 7% calc(7% + 1px), transparent calc(7% + 1px) 93%, rgba(29, 20, 13, 0.045) 93% calc(93% + 1px), transparent calc(93% + 1px)),
    repeating-linear-gradient(90deg, rgba(32, 22, 13, 0.028) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(32, 22, 13, 0.022) 0 1px, transparent 1px 12px);
  opacity: 0.5;
  mix-blend-mode: multiply;
}

body[data-theme="press"] .topbar,
body[data-theme="press"] .press-front,
body[data-theme="press"] .press-tool,
body[data-theme="press"] .lead-card,
body[data-theme="press"] .rail-panel,
body[data-theme="press"] .control-strip,
body[data-theme="press"] .metric-strip article,
body[data-theme="press"] .desk-news-strip,
body[data-theme="press"] .paper-map-section,
body[data-theme="press"] .telegram-paper-ad,
body[data-theme="press"] .quick-card,
body[data-theme="press"] .story,
body[data-theme="press"] .visual-tile,
body[data-theme="press"] .pcai-card,
body[data-theme="press"] .social-card,
body[data-theme="press"] .video-card {
  border-color: rgba(25, 16, 10, 0.76);
  background-image:
    linear-gradient(180deg, rgba(255, 251, 235, 0.9), rgba(232, 207, 162, 0.58)),
    url("assets/paper-bg-media34.png?v=20260525-media34");
  background-position: center, center top;
  background-size: auto, 980px auto;
  background-repeat: repeat, repeat;
  box-shadow:
    0 1px 0 rgba(255, 250, 228, 0.64) inset,
    0 12px 28px rgba(59, 38, 18, 0.14);
}

body[data-theme="press"] .press-front,
body[data-theme="press"] .desk-news-strip,
body[data-theme="press"] .paper-map-section,
body[data-theme="press"] .telegram-paper-ad {
  box-shadow:
    0 0 0 1px rgba(29, 20, 13, 0.32) inset,
    0 18px 38px rgba(57, 37, 17, 0.15);
}

body[data-theme="press"] .press-date,
body[data-theme="press"] .panel-head,
body[data-theme="press"] .section-title {
  border-color: rgba(29, 20, 13, 0.72);
}

body[data-theme="press"] .press-tool {
  position: relative;
  overflow: hidden;
}

body[data-theme="press"] .press-tool::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(29, 20, 13, 0.045) 0 1px, transparent 1px 8px),
    linear-gradient(115deg, transparent 0 58%, rgba(255, 244, 210, 0.18) 58% 63%, transparent 63%);
  mix-blend-mode: multiply;
}

body[data-theme="press"] .press-tool > * {
  position: relative;
  z-index: 1;
}

body[data-theme="press"] .press-weather-card {
  background-image:
    radial-gradient(circle at 25% 22%, rgba(240, 185, 64, 0.38), transparent 25%),
    linear-gradient(135deg, rgba(255, 250, 232, 0.94), rgba(229, 202, 151, 0.64)),
    url("assets/paper-bg-media34.png?v=20260525-media34");
}

body[data-theme="press"] .weather-sketch {
  height: 94px;
  margin-top: 12px;
  border-top: 2px solid rgba(29, 20, 13, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 247, 223, 0.72), rgba(224, 191, 128, 0.36)),
    repeating-linear-gradient(0deg, rgba(29, 20, 13, 0.052) 0 1px, transparent 1px 8px);
  box-shadow:
    0 -1px 0 rgba(255, 251, 232, 0.72) inset,
    0 1px 0 rgba(29, 20, 13, 0.18) inset;
}

body[data-theme="press"] .press-tool span {
  box-shadow: 3px 3px 0 rgba(29, 20, 13, 0.18);
}

@media (max-width: 560px) {
  body[data-theme="press"]::after {
    background-size: auto, 1180px auto;
    background-position: center top, center top;
  }

  body[data-theme="press"] .weather-sketch {
    height: 88px;
  }
}

/* media35: editorial desk stage, stronger masthead, cut-paper panels */
body[data-theme="press"] {
  --desk-ink: #160e08;
  --desk-red: #b91f17;
  --desk-paper: #f0d8a0;
  --desk-paper-light: #fff4d2;
  color: var(--desk-ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 231, 170, 0.2), transparent 38%),
    linear-gradient(180deg, #23150c 0%, #100a06 100%);
}

body[data-theme="press"]::after {
  background-image:
    linear-gradient(180deg, rgba(27, 16, 8, 0.08), rgba(27, 16, 8, 0.2)),
    url("assets/newsdesk-stage-media35.png?v=20260525-media35");
  background-position: center top, center top;
  background-size: cover, min(1720px, 122vw) auto;
  background-repeat: no-repeat, repeat-y;
  opacity: 1;
  filter: saturate(0.98) contrast(1.04) sepia(0.1);
}

body[data-theme="press"]::before {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 218, 145, 0.12), transparent 18rem),
    repeating-linear-gradient(90deg, rgba(24, 14, 7, 0.034) 0 1px, transparent 1px 29px),
    repeating-linear-gradient(0deg, rgba(24, 14, 7, 0.027) 0 1px, transparent 1px 10px);
  opacity: 0.5;
}

body[data-theme="press"] .site-shell {
  position: relative;
  width: min(1320px, calc(100vw - 28px));
  margin-top: 14px;
}

body[data-theme="press"] .topbar {
  top: 10px;
  border: 2px solid rgba(22, 14, 8, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 245, 214, 0.94), rgba(224, 194, 139, 0.78)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 860px auto repeat;
  box-shadow:
    0 2px 0 rgba(255, 245, 214, 0.44) inset,
    0 10px 0 rgba(22, 14, 8, 0.08),
    0 18px 38px rgba(13, 7, 3, 0.26);
}

body[data-theme="press"] .brand strong {
  font-family: Georgia, "Times New Roman", "Noir Et Blanc", serif;
  font-size: clamp(1.08rem, 2.15vw, 1.52rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(255, 244, 211, 0.74);
}

body[data-theme="press"] .brand small {
  color: #8b1d15;
}

body[data-theme="press"] .nav-chip,
body[data-theme="press"] .tools button,
body[data-theme="press"] .tools select,
body[data-theme="press"] .tools a {
  border: 1px solid rgba(22, 14, 8, 0.58);
  box-shadow:
    0 1px 0 rgba(255, 245, 214, 0.7) inset,
    3px 3px 0 rgba(22, 14, 8, 0.12);
}

body[data-theme="press"] .press-front {
  min-height: clamp(220px, 24vw, 360px);
  margin: 14px 0 16px;
  padding: clamp(18px, 2.6vw, 34px) clamp(12px, 3vw, 34px);
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 245, 214, 0.72), rgba(236, 206, 151, 0.26)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 1080px auto repeat;
  box-shadow:
    0 0 0 1px rgba(22, 14, 8, 0.8) inset,
    0 0 0 5px rgba(240, 216, 160, 0.74) inset,
    0 0 0 7px rgba(22, 14, 8, 0.82) inset,
    0 28px 46px rgba(16, 8, 3, 0.26);
}

body[data-theme="press"] .press-front::before,
body[data-theme="press"] .press-front::after {
  content: "";
  position: absolute;
  left: clamp(12px, 3vw, 34px);
  right: clamp(12px, 3vw, 34px);
  z-index: 1;
  height: 7px;
  border-top: 2px solid rgba(22, 14, 8, 0.82);
  border-bottom: 1px solid rgba(22, 14, 8, 0.52);
}

body[data-theme="press"] .press-front::before {
  top: clamp(14px, 2vw, 24px);
}

body[data-theme="press"] .press-front::after {
  bottom: clamp(14px, 2vw, 24px);
}

body[data-theme="press"] .press-date {
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 4px;
  padding: 4px 12px;
  border: 1px solid rgba(22, 14, 8, 0.72);
  background: rgba(255, 242, 204, 0.58);
  color: #3a291b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  box-shadow: 5px 5px 0 rgba(22, 14, 8, 0.08);
}

body[data-theme="press"] .press-date span:nth-child(1)::after,
body[data-theme="press"] .press-date span:nth-child(2)::after {
  content: " / ";
  padding-left: 10px;
}

body[data-theme="press"] .press-front h1 {
  position: relative;
  margin: 6px auto 0;
  max-width: 100%;
  color: #170e07;
  font-family: Georgia, "Times New Roman", "Noir Et Blanc", serif;
  font-size: clamp(3.4rem, 8vw, 7.15rem);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: 0.006em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
  text-shadow:
    1px 1px 0 #f8e7bc,
    2px 2px 0 rgba(22, 14, 8, 0.22),
    -1px 0 0 rgba(22, 14, 8, 0.28);
  -webkit-text-stroke: 1px rgba(22, 14, 8, 0.84);
}

body[data-theme="press"] .press-front h1::before {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 7px rgba(90, 55, 24, 0.08);
}

body[data-theme="press"] .press-front p {
  width: fit-content;
  max-width: min(720px, 100%);
  margin: 8px auto 0;
  padding: 5px 14px;
  border-top: 1px solid rgba(22, 14, 8, 0.6);
  border-bottom: 1px solid rgba(22, 14, 8, 0.6);
  color: #3d2c1c;
  background: rgba(255, 246, 218, 0.38);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.92rem, 1.25vw, 1.1rem);
  font-weight: 900;
}

body[data-theme="press"] .press-utility {
  gap: 13px;
  margin-bottom: 16px;
}

body[data-theme="press"] .press-tool,
body[data-theme="press"] .lead-card,
body[data-theme="press"] .metric-strip article,
body[data-theme="press"] .rail-panel,
body[data-theme="press"] .control-strip,
body[data-theme="press"] .desk-news-strip,
body[data-theme="press"] .quick-card,
body[data-theme="press"] .story,
body[data-theme="press"] .visual-tile,
body[data-theme="press"] .pcai-card,
body[data-theme="press"] .social-card,
body[data-theme="press"] .video-card {
  border: 1px solid rgba(22, 14, 8, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 247, 221, 0.88), rgba(226, 193, 133, 0.58)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 820px auto repeat;
  box-shadow:
    0 0 0 3px rgba(247, 226, 179, 0.52) inset,
    0 0 0 4px rgba(22, 14, 8, 0.24) inset,
    6px 7px 0 rgba(22, 14, 8, 0.12),
    0 18px 36px rgba(16, 8, 3, 0.18);
}

body[data-theme="press"] .press-tool {
  min-height: 146px;
  padding: 14px 15px 13px;
}

body[data-theme="press"] .press-tool::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: -7px;
  height: 14px;
  z-index: 2;
  border: 1px solid rgba(81, 54, 25, 0.18);
  background: rgba(239, 209, 151, 0.55);
  box-shadow: 0 3px 8px rgba(22, 14, 8, 0.1);
  transform: rotate(-1deg);
}

body[data-theme="press"] .press-tool:nth-child(2)::before {
  transform: rotate(1.1deg);
}

body[data-theme="press"] .press-tool:nth-child(3)::before {
  transform: rotate(-0.5deg);
}

body[data-theme="press"] .press-tool span,
body[data-theme="press"] .lead-card::before,
body[data-theme="press"] .desk-news-card span {
  color: #fff6df;
  background: #a81712;
  border: 1px solid rgba(22, 14, 8, 0.46);
  box-shadow: 3px 3px 0 rgba(22, 14, 8, 0.22);
}

body[data-theme="press"] .press-tool strong {
  color: var(--desk-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  line-height: 1.05;
}

body[data-theme="press"] .weather-sketch {
  height: 98px;
  border: 1px solid rgba(22, 14, 8, 0.54);
  border-top-width: 3px;
}

body[data-theme="press"] .lead-card {
  padding: 15px;
  border-width: 1px;
}

body[data-theme="press"] .lead-card img {
  box-shadow:
    0 0 0 1px rgba(22, 14, 8, 0.72),
    5px 5px 0 rgba(22, 14, 8, 0.14);
}

body[data-theme="press"] .lead-copy strong {
  font-family: Georgia, "Times New Roman", "Noir Et Blanc", serif;
  letter-spacing: 0.005em;
  text-transform: none;
}

body[data-theme="press"] .metric-strip article {
  min-height: 96px;
}

body[data-theme="press"] .metric-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 1px 1px 0 rgba(255, 241, 208, 0.78);
}

body[data-theme="press"] .desk-news-strip,
body[data-theme="press"] .paper-map-section,
body[data-theme="press"] .telegram-paper-ad {
  border: 1px solid rgba(22, 14, 8, 0.86);
  box-shadow:
    0 0 0 4px rgba(247, 226, 179, 0.56) inset,
    0 0 0 5px rgba(22, 14, 8, 0.28) inset,
    7px 8px 0 rgba(22, 14, 8, 0.12),
    0 22px 42px rgba(16, 8, 3, 0.2);
}

body[data-theme="press"] .desk-news-card {
  border: 1px solid rgba(22, 14, 8, 0.86);
  box-shadow: 4px 5px 0 rgba(22, 14, 8, 0.18);
}

@media (max-width: 900px) {
  body[data-theme="press"] .press-front h1 {
    font-size: clamp(2.9rem, 11.8vw, 5.2rem);
    white-space: normal;
    transform: none;
  }

  body[data-theme="press"] .press-date {
    display: grid;
    gap: 2px;
    width: 100%;
  }

  body[data-theme="press"] .press-date span:nth-child(1)::after,
  body[data-theme="press"] .press-date span:nth-child(2)::after {
    content: "";
    padding: 0;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .site-shell {
    width: min(100vw - 14px, 480px);
  }

  body[data-theme="press"]::after {
    background-size: auto, 980px auto;
    background-position: center top, center top;
  }

  body[data-theme="press"] .press-front {
    min-height: 190px;
    padding: 20px 10px;
  }

  body[data-theme="press"] .press-front h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.28rem);
    line-height: 0.96;
    letter-spacing: 0;
    white-space: nowrap;
  }

  body[data-theme="press"] .press-front p {
    padding-inline: 8px;
    font-size: 0.88rem;
  }

  body[data-theme="press"] .press-tool,
  body[data-theme="press"] .lead-card,
  body[data-theme="press"] .desk-news-strip,
  body[data-theme="press"] .paper-map-section,
  body[data-theme="press"] .telegram-paper-ad {
    box-shadow:
      0 0 0 3px rgba(247, 226, 179, 0.54) inset,
      4px 5px 0 rgba(22, 14, 8, 0.11),
      0 14px 26px rgba(16, 8, 3, 0.16);
  }
}

/* media37: final masthead override placed last */
body[data-theme="press"] .press-front h1 {
  font-size: 7rem;
  letter-spacing: 0;
  white-space: nowrap;
  transform: none;
}

@media (max-width: 1200px) {
  body[data-theme="press"] .press-front h1 {
    font-size: 5.65rem;
  }
}

@media (max-width: 900px) {
  body[data-theme="press"] .press-front h1 {
    font-size: 4.1rem;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .press-front h1 {
    font-size: 1.76rem;
    transform: scaleX(0.94);
    transform-origin: center;
  }
}

/* admin38: protected newsroom command center */
body.admin-private {
  background:
    linear-gradient(180deg, rgba(27, 16, 8, 0.18), rgba(27, 16, 8, 0.44)),
    url("assets/newsdesk-stage-media35.png?v=20260525-media35") center top / min(1720px, 122vw) auto repeat-y,
    #170f08;
}

/* press54: concept-integrated service headlines */
body[data-theme="press"] .oracle-headline,
body[data-theme="press"] .games-promo-link {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  color: #1d140d;
  text-decoration: none;
  border: 1px solid rgba(22, 14, 8, 0.86);
  border-radius: 6px;
  box-shadow:
    0 0 0 4px rgba(247, 226, 179, 0.56) inset,
    0 0 0 5px rgba(22, 14, 8, 0.24) inset,
    6px 7px 0 rgba(22, 14, 8, 0.12),
    0 18px 38px rgba(16, 8, 3, 0.18);
}

body[data-theme="press"] .oracle-headline {
  grid-template-columns: minmax(0, 0.74fr) minmax(190px, 0.26fr);
  align-items: center;
  gap: 16px;
  min-height: 168px;
  margin: 0 0 14px;
  padding: 22px 24px;
  background:
    linear-gradient(90deg, rgba(255, 250, 233, 0.94), rgba(237, 218, 180, 0.86) 62%, rgba(245, 190, 66, 0.9) 62%, rgba(245, 190, 66, 0.9)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .oracle-headline::before {
  content: "Servis Manşeti";
  position: absolute;
  left: 18px;
  top: 14px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(22, 14, 8, 0.7);
  color: #f8ecd2;
  background: #071b44;
  font: 900 0.72rem/1 "Segoe UI", Arial, system-ui, sans-serif;
}

body[data-theme="press"] .oracle-headline::after {
  content: "ORACLE";
  position: absolute;
  right: 20px;
  bottom: 12px;
  color: rgba(29, 20, 13, 0.13);
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-size: clamp(2.4rem, 8vw, 5.9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.8;
}

body[data-theme="press"] .oracle-headline-kicker,
body[data-theme="press"] .games-promo-copy > span {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(22, 14, 8, 0.72);
  border-radius: 2px;
  color: #f8ecd2;
  background: #071b44;
  font: 800 0.76rem/1 "Segoe UI", Arial, system-ui, sans-serif;
  letter-spacing: 0;
}

body[data-theme="press"] .oracle-headline strong {
  max-width: 19ch;
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-size: clamp(1.76rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
  padding-top: 20px;
}

body[data-theme="press"] .oracle-headline-copy {
  max-width: 62ch;
  color: #3a2a19;
  font: 700 0.98rem/1.45 "Segoe UI", Arial, system-ui, sans-serif;
}

body[data-theme="press"] .oracle-headline-action {
  justify-self: end;
  align-self: center;
  z-index: 1;
  min-width: 150px;
  padding: 13px 16px;
  border: 1px solid rgba(7, 27, 68, 0.36);
  border-radius: 4px;
  color: #f8ecd2;
  background: #071b44;
  font: 900 0.9rem/1 "Segoe UI", Arial, system-ui, sans-serif;
  text-align: center;
}

body[data-theme="press"] .games-promo {
  margin: 0 0 14px;
}

body[data-theme="press"] .games-promo-link {
  min-height: 218px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 250, 233, 0.92), rgba(236, 216, 178, 0.72)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .games-promo-video,
body[data-theme="press"] .games-promo-shade,
body[data-theme="press"] .games-promo-glitch {
  position: absolute;
  inset: 0;
}

body[data-theme="press"] .games-promo-video {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06) sepia(0.12);
  transition: filter 0.32s ease, transform 0.32s ease;
}

body[data-theme="press"] .games-promo-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 233, 0.94), rgba(255, 250, 233, 0.62) 44%, rgba(13, 23, 38, 0.72) 100%),
    repeating-linear-gradient(0deg, rgba(29, 20, 13, 0.06) 0 1px, transparent 1px 7px);
  transition: opacity 0.26s ease, background 0.26s ease;
}

body[data-theme="press"] .games-promo-glitch {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    linear-gradient(90deg, transparent 0 17%, rgba(255, 255, 255, 0.55) 17% 19%, transparent 19% 42%, rgba(247, 198, 0, 0.42) 42% 44%, transparent 44% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px 4px);
  transform: translateX(-14%);
}

body[data-theme="press"] .games-promo-link:hover .games-promo-video,
body[data-theme="press"] .games-promo-link:focus-visible .games-promo-video {
  filter: saturate(1.32) contrast(1.14) sepia(0);
  transform: scale(1.018);
}

body[data-theme="press"] .games-promo-link:hover .games-promo-shade,
body[data-theme="press"] .games-promo-link:focus-visible .games-promo-shade {
  opacity: 0.62;
  background:
    linear-gradient(90deg, rgba(3, 6, 12, 0.72), rgba(3, 6, 12, 0.26) 48%, rgba(3, 6, 12, 0.62)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 7px);
}

body[data-theme="press"] .games-promo-link:hover .games-promo-glitch,
body[data-theme="press"] .games-promo-link:focus-visible .games-promo-glitch {
  animation: games-glitch-scan 0.62s steps(2, end) 1;
}

body[data-theme="press"] .games-promo-copy {
  display: grid;
  gap: 9px;
  min-width: 0;
}

body[data-theme="press"] .games-promo-copy strong {
  max-width: 17ch;
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  font-size: clamp(2rem, 5.4vw, 4.7rem);
  line-height: 0.92;
  letter-spacing: 0;
  color: #1d140d;
}

body[data-theme="press"] .games-promo-copy em {
  max-width: 58ch;
  color: #3a2a19;
  font: 700 0.96rem/1.45 "Segoe UI", Arial, system-ui, sans-serif;
  font-style: normal;
}

body[data-theme="press"] .games-promo-action {
  align-self: end;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 14, 8, 0.74);
  border-radius: 4px;
  color: #f8ecd2;
  background: #071b44;
  font: 900 0.9rem/1 "Segoe UI", Arial, system-ui, sans-serif;
  text-align: center;
}

body[data-theme="press"] .oracle-headline:focus-visible,
body[data-theme="press"] .games-promo-link:focus-visible {
  outline: 3px solid #f7c600;
  outline-offset: 3px;
}

body[data-theme="press"] .oracle-headline:hover,
body[data-theme="press"] .oracle-headline:focus-visible {
  box-shadow:
    0 0 0 4px rgba(247, 226, 179, 0.62) inset,
    0 0 0 5px rgba(22, 14, 8, 0.24) inset,
    6px 7px 0 rgba(22, 14, 8, 0.12),
    0 20px 42px rgba(7, 27, 68, 0.2);
}

body[data-theme="press"] .oracle-headline:hover .oracle-headline-action,
body[data-theme="press"] .oracle-headline:focus-visible .oracle-headline-action,
body[data-theme="press"] .games-promo-link:hover .games-promo-action,
body[data-theme="press"] .games-promo-link:focus-visible .games-promo-action {
  background: #f7c600;
  color: #071b44;
}

@keyframes games-glitch-scan {
  0% {
    opacity: 0;
    transform: translateX(-18%) skewX(-4deg);
    clip-path: inset(0 0 72% 0);
  }
  18% {
    opacity: 0.9;
    transform: translateX(4%) skewX(6deg);
    clip-path: inset(10% 0 58% 0);
  }
  36% {
    opacity: 0.45;
    transform: translateX(-3%) skewX(-8deg);
    clip-path: inset(43% 0 35% 0);
  }
  58% {
    opacity: 0.78;
    transform: translateX(8%) skewX(3deg);
    clip-path: inset(64% 0 18% 0);
  }
  100% {
    opacity: 0;
    transform: translateX(16%) skewX(0);
    clip-path: inset(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-theme="press"] .games-promo-link:hover .games-promo-glitch,
  body[data-theme="press"] .games-promo-link:focus-visible .games-promo-glitch {
    animation: none;
    opacity: 0;
  }

  body[data-theme="press"] .games-promo-video {
    transition: none;
  }
}

@media (max-width: 760px) {
  body[data-theme="press"] .oracle-headline,
  body[data-theme="press"] .games-promo-link {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .oracle-headline {
    min-height: 0;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255, 250, 233, 0.95), rgba(237, 218, 180, 0.86) 74%, rgba(245, 190, 66, 0.92) 74%),
      url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
  }

  body[data-theme="press"] .oracle-headline-action,
  body[data-theme="press"] .games-promo-action {
    justify-self: start;
    align-self: start;
  }

  body[data-theme="press"] .games-promo-link {
    min-height: 280px;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  body[data-theme="press"] .oracle-headline strong,
  body[data-theme="press"] .games-promo-copy strong {
    max-width: 100%;
    font-size: clamp(1.7rem, 10vw, 2.7rem);
  }

  body[data-theme="press"] .oracle-headline-copy,
  body[data-theme="press"] .games-promo-copy em {
    font-size: 0.9rem;
  }
}

/* press56: richer oracle, entertainment, and image-fallback states */
body[data-theme="press"] .oracle-headline {
  border-width: 2px;
  background:
    radial-gradient(circle at 86% 22%, rgba(46, 197, 255, 0.78), transparent 9rem),
    radial-gradient(circle at 76% 72%, rgba(255, 72, 164, 0.72), transparent 10rem),
    radial-gradient(circle at 58% 18%, rgba(255, 214, 92, 0.72), transparent 8rem),
    linear-gradient(90deg, rgba(255, 250, 233, 0.95), rgba(244, 222, 180, 0.86) 56%, rgba(42, 24, 72, 0.9) 56%, rgba(8, 26, 57, 0.94)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .oracle-headline::before {
  content: "Oracle Vitrini";
  color: #fff8e8;
  background: #8b1d15;
}

body[data-theme="press"] .oracle-headline::after {
  content: "ASTRO TAROT";
  right: 16px;
  bottom: 10px;
  color: rgba(255, 248, 232, 0.26);
  text-shadow: 0 0 18px rgba(46, 197, 255, 0.46);
}

body[data-theme="press"] .oracle-headline-kicker {
  color: #17100a;
  border-color: rgba(23, 16, 10, 0.72);
  background: #ffd65c;
}

body[data-theme="press"] .oracle-headline-copy {
  max-width: 58ch;
  color: #2b1d12;
}

body[data-theme="press"] .oracle-headline-action {
  color: #17100a;
  border-color: rgba(255, 248, 232, 0.68);
  background: #ffd65c;
  box-shadow: 0 0 0 3px rgba(255, 248, 232, 0.16);
}

body[data-theme="press"] .oracle-headline:hover,
body[data-theme="press"] .oracle-headline:focus-visible {
  box-shadow:
    0 0 0 4px rgba(255, 214, 92, 0.58) inset,
    0 0 0 5px rgba(22, 14, 8, 0.24) inset,
    6px 7px 0 rgba(22, 14, 8, 0.13),
    0 20px 46px rgba(62, 24, 94, 0.28);
}

body[data-theme="press"] .music-ad {
  margin-bottom: 18px;
}

body[data-theme="press"] .fun-band {
  margin-top: 18px;
  margin-bottom: 16px;
  border-width: 4px;
  background:
    radial-gradient(circle at 16% 18%, rgba(185, 31, 23, 0.13), transparent 10rem),
    radial-gradient(circle at 88% 16%, rgba(46, 197, 255, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(255, 248, 226, 0.9), rgba(235, 216, 178, 0.46)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 760px auto repeat;
}

body[data-theme="press"] .fun-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

body[data-theme="press"] .fun-card:nth-child(1) {
  grid-column: span 2;
  min-height: 306px;
}

body[data-theme="press"] .fun-card:nth-child(1) strong {
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
}

body[data-theme="press"] .fun-card:hover img,
body[data-theme="press"] .fun-card:focus-visible img {
  filter: grayscale(0) sepia(0.05) contrast(1.12) saturate(1.18);
  transform: scale(1.018);
}

body[data-theme="press"] .fun-card img {
  transition: filter 0.24s ease, transform 0.24s ease;
}

body[data-theme="press"] .has-fallback-image img {
  filter: grayscale(0.42) sepia(0.34) contrast(1.05);
}

body[data-theme="press"] .games-promo {
  margin-top: 16px;
}

body[data-theme="press"] .astro-panel a {
  background:
    radial-gradient(circle at 82% 18%, rgba(46, 197, 255, 0.72), transparent 7rem),
    radial-gradient(circle at 22% 72%, rgba(255, 72, 164, 0.64), transparent 8rem),
    linear-gradient(135deg, rgba(42, 24, 72, 0.94), rgba(8, 26, 57, 0.9)),
    url("assets/cloud-sketch-logo.webp?v=20260525-media22") center / cover no-repeat;
}

@media (max-width: 860px) {
  body[data-theme="press"] .fun-card:nth-child(1) {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .fun-card:nth-child(1) {
    grid-column: span 1;
    min-height: 250px;
  }
}

/* press57: editorial clipped search */
body[data-theme="press"] .newspaper-search-panel {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: stretch;
  gap: 12px;
}

body[data-theme="press"] .is-top-search {
  position: sticky;
  top: 76px;
  z-index: 28;
  margin: 10px 0 14px;
}

body[data-theme="press"] .newspaper-search-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  min-width: 0;
  padding: 12px;
  border: 2px solid rgba(29, 20, 13, 0.9);
  background:
    radial-gradient(circle at 14% 22%, rgba(185, 31, 23, 0.12), transparent 8rem),
    radial-gradient(circle at 88% 18%, rgba(46, 197, 255, 0.16), transparent 10rem),
    linear-gradient(180deg, rgba(255, 252, 238, 0.94), rgba(238, 216, 174, 0.72)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 650px auto repeat;
  clip-path: polygon(0.7% 3%, 98.8% 0.8%, 99.5% 94.2%, 1.4% 99.1%);
  box-shadow:
    0 1px 0 rgba(255, 250, 228, 0.72) inset,
    5px 6px 0 rgba(22, 14, 8, 0.12);
}

/* press59: Berzah Search machine layer */
body[data-theme="press"] .search-engine-badge {
  align-self: end;
  display: grid;
  gap: 3px;
  min-width: 142px;
  padding: 8px 10px;
  border: 2px solid #17100a;
  color: #fff8e8;
  background:
    linear-gradient(135deg, #17100a, #8b1d15),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 420px auto repeat;
  box-shadow: 3px 4px 0 rgba(29, 20, 13, 0.15);
  transform: rotate(0.45deg);
}

body[data-theme="press"] .search-engine-badge strong {
  font: 900 0.82rem/1 Arial, sans-serif;
  letter-spacing: 0;
}

body[data-theme="press"] .search-engine-badge span {
  color: #ffd65c;
  font: 900 0.66rem/1 Arial, sans-serif;
}

body[data-theme="press"] .web-search-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 12px;
  padding: 14px;
  border: 2px solid #17100a;
  background:
    radial-gradient(circle at 86% 18%, rgba(46, 197, 255, 0.24), transparent 12rem),
    radial-gradient(circle at 12% 88%, rgba(255, 214, 92, 0.24), transparent 9rem),
    linear-gradient(180deg, rgba(255, 253, 244, 0.94), rgba(235, 212, 169, 0.7)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 650px auto repeat;
  animation: searchResultFade 0.5s ease both;
}

body[data-theme="press"] .web-search-hero img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  padding: 10px;
  border: 1px solid rgba(29, 20, 13, 0.72);
  background: rgba(255, 248, 226, 0.82);
}

body[data-theme="press"] .web-search-hero span {
  display: inline-block;
  width: fit-content;
  margin-bottom: 6px;
  padding: 4px 8px;
  color: #fff8e8;
  background: #8b1d15;
  font: 900 0.72rem/1 Arial, sans-serif;
}

body[data-theme="press"] .web-search-hero strong {
  display: block;
  color: #17100a;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

body[data-theme="press"] .web-search-hero small {
  display: block;
  margin-top: 6px;
  color: #4b3827;
  font-weight: 900;
}

body[data-theme="press"] .web-result-card {
  position: relative;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  animation: searchResultFade 0.45s ease both;
}

body[data-theme="press"] .web-result-card:nth-child(1) { animation-delay: 0.03s; }
body[data-theme="press"] .web-result-card:nth-child(2) { animation-delay: 0.08s; }
body[data-theme="press"] .web-result-card:nth-child(3) { animation-delay: 0.13s; }
body[data-theme="press"] .web-result-card:nth-child(n+4) { animation-delay: 0.18s; }

body[data-theme="press"] .web-result-card.is-primary {
  grid-column: span 2;
  min-height: 172px;
  grid-template-columns: 72px minmax(0, 1fr);
  border-width: 2px;
  background:
    radial-gradient(circle at 90% 12%, rgba(46, 197, 255, 0.22), transparent 12rem),
    linear-gradient(180deg, rgba(255, 253, 244, 0.96), rgba(245, 225, 184, 0.78)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 650px auto repeat;
}

body[data-theme="press"] .web-result-card.is-clean:not(.is-primary) {
  min-height: 150px;
}

body[data-theme="press"] .web-result-card.is-secondary {
  min-height: 96px;
  opacity: 0.92;
}

body[data-theme="press"] .web-result-icon {
  grid-row: span 4;
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 7px;
  border: 1px solid rgba(29, 20, 13, 0.66);
  background: rgba(255, 248, 226, 0.9);
}

body[data-theme="press"] .web-result-card.is-primary .web-result-icon {
  width: 68px;
  height: 68px;
  padding: 10px;
}

body[data-theme="press"] .web-result-card em {
  color: #8b1d15;
  font: 900 0.75rem/1 Arial, sans-serif;
  font-style: normal;
}

.search-portal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(46, 197, 255, 0.28), transparent 22rem),
    radial-gradient(circle at 52% 48%, rgba(255, 214, 92, 0.16), transparent 12rem),
    linear-gradient(180deg, rgba(6, 10, 18, 0.9), rgba(18, 12, 8, 0.96));
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.search-portal-noise {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(46, 197, 255, 0.08) 0 1px, transparent 1px 13px);
  animation: searchNoise 0.36s steps(2, end) infinite;
}

.search-portal-core {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  width: min(760px, calc(100vw - 34px));
  padding: clamp(22px, 5vw, 46px);
  border: 2px solid rgba(255, 248, 232, 0.76);
  color: #fff8e8;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(23, 16, 10, 0.88), rgba(139, 29, 21, 0.72)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 680px auto repeat;
  box-shadow:
    0 0 0 5px rgba(255, 214, 92, 0.18),
    0 0 48px rgba(46, 197, 255, 0.28);
  clip-path: polygon(1% 3%, 99% 0, 98.5% 96%, 0 99%);
  animation: searchPortalPulse 0.72s ease-in-out infinite alternate;
}

.search-portal-core span,
.search-portal-core small {
  color: #ffd65c;
  font: 900 0.82rem/1 Arial, sans-serif;
  text-transform: uppercase;
}

.search-portal-core strong {
  font-size: clamp(1.8rem, 7vw, 5.4rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow:
    2px 0 rgba(46, 197, 255, 0.72),
    -2px 0 rgba(255, 72, 164, 0.62);
}

body.is-searching-web .search-portal {
  opacity: 1;
  visibility: visible;
}

@keyframes searchResultFade {
  from { opacity: 0; transform: translateY(10px) rotate(-0.3deg); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes searchNoise {
  0% { transform: translate(0, 0); filter: hue-rotate(0deg); }
  50% { transform: translate(10px, -6px); filter: hue-rotate(35deg); }
  100% { transform: translate(-7px, 8px); filter: hue-rotate(-20deg); }
}

@keyframes searchPortalPulse {
  from { transform: scale(0.992) skewX(-0.5deg); }
  to { transform: scale(1.008) skewX(0.5deg); }
}

@media (max-width: 820px) {
  body[data-theme="press"] .newspaper-search-shell {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .search-engine-badge {
    width: fit-content;
  }

  body[data-theme="press"] .web-result-card.is-primary {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  body[data-theme="press"] .web-search-hero,
  body[data-theme="press"] .web-result-card,
  body[data-theme="press"] .web-result-card.is-primary {
    grid-template-columns: 1fr;
  }
}

body[data-theme="press"] .search-mode-switch {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  min-width: 116px;
}

body[data-theme="press"] .search-mode-switch button {
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(29, 20, 13, 0.72);
  color: #17100a;
  background: rgba(255, 248, 226, 0.78);
  font: 900 0.72rem/1 Arial, sans-serif;
  text-align: left;
  transform: rotate(-0.4deg);
}

body[data-theme="press"] .search-mode-switch button.is-active {
  color: #fff8e8;
  background: #17100a;
}

body[data-theme="press"] .newspaper-search-shell::before {
  content: "";
  position: absolute;
  left: 8%;
  top: -8px;
  z-index: 2;
  width: 28%;
  height: 16px;
  border: 1px solid rgba(93, 63, 31, 0.22);
  background: rgba(244, 216, 158, 0.68);
  box-shadow: 0 4px 10px rgba(29, 20, 13, 0.12);
  transform: rotate(-1.6deg);
}

body[data-theme="press"] .newspaper-search-shell::after {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border: 1px dashed rgba(29, 20, 13, 0.18);
  pointer-events: none;
}

body[data-theme="press"] .newspaper-search-shell .search {
  gap: 7px;
  min-width: 0;
}

body[data-theme="press"] .newspaper-search-shell .search span {
  width: fit-content;
  padding: 4px 8px;
  color: #fff8e8;
  border: 1px solid rgba(29, 20, 13, 0.62);
  background: #8b1d15;
  font: 900 0.72rem/1 Arial, sans-serif;
  text-transform: uppercase;
}

body[data-theme="press"] .newspaper-search-shell .search input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(29, 20, 13, 0.78);
  border-radius: 0;
  padding: 0 16px;
  color: #17100a;
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0.98), rgba(247, 232, 198, 0.92)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 540px auto repeat;
  font: 900 1.02rem/1 Arial, sans-serif;
  box-shadow: 2px 3px 0 rgba(29, 20, 13, 0.1);
}

body[data-theme="press"] .newspaper-search-shell .search input::placeholder {
  color: rgba(29, 20, 13, 0.58);
  font-weight: 900;
}

body[data-theme="press"] .newspaper-search-shell .search input:focus {
  outline: 2px solid #17100a;
  outline-offset: 3px;
}

body[data-theme="press"] .newspaper-search-shell .search-submit {
  align-self: end;
  min-height: 52px;
  min-width: 76px;
  border: 2px solid #17100a;
  color: #17100a;
  background:
    linear-gradient(180deg, #ffd65c, #f4b73b),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 420px auto repeat;
  box-shadow: 4px 5px 0 rgba(29, 20, 13, 0.18);
  transform: rotate(-1.4deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body[data-theme="press"] .newspaper-search-shell .search-submit:hover,
body[data-theme="press"] .newspaper-search-shell .search-submit:focus-visible {
  color: #17100a;
  background: #ffd65c;
  transform: translateY(-2px) rotate(-0.4deg);
  box-shadow: 6px 8px 0 rgba(29, 20, 13, 0.2);
}

body[data-theme="press"] .web-search-panel {
  margin: 0 0 16px;
  padding: 12px;
  border: 3px double #1d140d;
  background:
    radial-gradient(circle at 84% 16%, rgba(46, 197, 255, 0.16), transparent 11rem),
    linear-gradient(180deg, rgba(255, 252, 238, 0.88), rgba(232, 207, 162, 0.56)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 900px auto repeat;
  box-shadow:
    0 0 0 3px rgba(247, 226, 179, 0.5) inset,
    6px 7px 0 rgba(22, 14, 8, 0.12);
}

body[data-theme="press"] .web-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-theme="press"] .web-result-card,
body[data-theme="press"] .web-result-empty {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 13px;
  border: 1px solid rgba(29, 20, 13, 0.82);
  color: #17100a;
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0.92), rgba(239, 218, 178, 0.72)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 650px auto repeat;
  text-decoration: none;
  box-shadow: 3px 4px 0 rgba(29, 20, 13, 0.1);
}

body[data-theme="press"] .web-result-card:nth-child(odd) {
  transform: rotate(-0.25deg);
}

body[data-theme="press"] .web-result-card:nth-child(even) {
  transform: rotate(0.2deg);
}

body[data-theme="press"] .web-result-card span {
  width: fit-content;
  padding: 4px 7px;
  color: #fff8e8;
  background: #8b1d15;
  font: 900 0.7rem/1 Arial, sans-serif;
}

body[data-theme="press"] .web-result-card strong,
body[data-theme="press"] .web-result-empty strong {
  font-size: 1.05rem;
  line-height: 1.16;
  text-transform: uppercase;
}

body[data-theme="press"] .web-result-card small,
body[data-theme="press"] .web-result-empty span {
  color: #4b3827;
  font-weight: 700;
  line-height: 1.35;
}

body[data-theme="press"] .web-result-card:hover,
body[data-theme="press"] .web-result-card:focus-visible {
  transform: translateY(-2px) rotate(0deg);
  box-shadow: 5px 7px 0 rgba(29, 20, 13, 0.16);
}

@media (max-width: 820px) {
  body[data-theme="press"] .newspaper-search-panel {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .is-top-search {
    position: relative;
    top: auto;
  }

  body[data-theme="press"] .web-search-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body[data-theme="press"] .newspaper-search-shell {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  body[data-theme="press"] .newspaper-search-shell .search-submit {
    justify-self: start;
  }

  body[data-theme="press"] .search-mode-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

body.admin-private .admin-shell {
  width: min(1360px, calc(100vw - 24px));
  margin: 14px auto 48px;
}

.admin-command {
  display: grid;
  gap: 14px;
}

.admin-topbar {
  z-index: 20;
}

.admin-command-hero {
  position: relative;
  min-height: clamp(320px, 32vw, 455px);
  align-items: end;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(22, 14, 8, 0.9);
  background:
    radial-gradient(circle at 72% 38%, rgba(185, 31, 23, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(255, 246, 218, 0.88), rgba(221, 188, 128, 0.56)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 980px auto repeat;
  box-shadow:
    0 0 0 4px rgba(247, 226, 179, 0.58) inset,
    0 0 0 5px rgba(22, 14, 8, 0.28) inset,
    0 24px 54px rgba(11, 6, 3, 0.32);
}

.admin-command-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  mix-blend-mode: multiply;
}

.admin-hero-copy,
.admin-command-hero .admin-actions {
  position: relative;
  z-index: 2;
}

.admin-hero-copy {
  max-width: 720px;
}

.admin-hero-copy h1 {
  margin: 6px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 0.88;
  color: #160e08;
  text-shadow: 2px 2px 0 rgba(255, 244, 211, 0.68);
}

.admin-hero-copy p {
  max-width: 58ch;
  margin: 0;
  color: #3a291b;
  font-weight: 900;
}

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

.admin-kpi,
body[data-theme="press"] .admin-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 14, 8, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 247, 221, 0.9), rgba(226, 193, 133, 0.62)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 820px auto repeat;
  box-shadow:
    0 0 0 3px rgba(247, 226, 179, 0.52) inset,
    0 0 0 4px rgba(22, 14, 8, 0.22) inset,
    6px 7px 0 rgba(22, 14, 8, 0.12),
    0 18px 36px rgba(16, 8, 3, 0.18);
}

.admin-kpi {
  min-height: 134px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 14px;
}

.admin-kpi::before,
body[data-theme="press"] .admin-panel::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: -7px;
  height: 14px;
  border: 1px solid rgba(81, 54, 25, 0.18);
  background: rgba(239, 209, 151, 0.55);
  box-shadow: 0 3px 8px rgba(22, 14, 8, 0.1);
  transform: rotate(-0.8deg);
}

.admin-kpi span,
.admin-eyebrow {
  width: fit-content;
  padding: 4px 8px;
  color: #fff6df;
  background: #a81712;
  border: 1px solid rgba(22, 14, 8, 0.42);
  font: 900 0.72rem "Segoe UI", Arial, sans-serif;
}

.admin-kpi strong {
  color: #160e08;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.92;
}

.admin-kpi small {
  color: #5a3f29;
  font-weight: 900;
}

.admin-kpi.is-live strong {
  color: #a81712;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 14px;
}

.admin-dashboard-grid.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-theme="press"] .admin-panel {
  padding: 16px;
  border-radius: 0;
}

.admin-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-title h2 {
  margin: 0;
  color: #160e08;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 2.4vw, 2rem);
}

#admin-traffic-chart {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 320px;
  border: 2px solid rgba(22, 14, 8, 0.72);
  background: rgba(255, 246, 220, 0.65);
}

.compact-report {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.report-card {
  border-radius: 0;
  border-color: rgba(22, 14, 8, 0.46);
  background: rgba(255, 248, 226, 0.66);
}

.admin-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(22, 14, 8, 0.28);
  color: #160e08;
  background: rgba(255, 249, 231, 0.66);
  text-decoration: none;
}

.admin-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.admin-row small {
  display: block;
  margin-top: 2px;
  color: #6c4a2e;
  font-size: 0.72rem;
}

.admin-row strong {
  color: #a81712;
  font-family: Georgia, "Times New Roman", serif;
}

.seo-meter {
  display: grid;
  place-items: center;
  min-height: 126px;
  margin-bottom: 12px;
  border: 2px solid rgba(22, 14, 8, 0.72);
  background:
    radial-gradient(circle, rgba(243, 189, 77, 0.34), transparent 62%),
    rgba(255, 246, 220, 0.64);
}

.seo-meter strong {
  color: #160e08;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  line-height: 0.9;
}

.seo-meter span,
.admin-note {
  color: #5a3f29;
  font-weight: 900;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-action-row a,
.admin-actions a,
.admin-actions button {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 2px solid #160e08;
  color: #fff6df;
  background: #160e08;
  text-decoration: none;
  font-weight: 900;
}

.admin-actions {
  align-self: end;
}

.ok-text {
  color: #166534 !important;
}

.bad-text {
  color: #a81712 !important;
}

.admin-table {
  position: relative;
  z-index: 1;
  color: #160e08;
}

.admin-table th,
.admin-table td {
  border-bottom-color: rgba(22, 14, 8, 0.22);
}

.admin-news-mini {
  margin-top: 12px;
}

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

.admin-login-shell {
  background:
    linear-gradient(180deg, rgba(27, 16, 8, 0.08), rgba(27, 16, 8, 0.42)),
    url("assets/newsdesk-stage-media35.png?v=20260525-media35") center top / cover no-repeat,
    #170f08;
}

.admin-login-card {
  width: min(400px, calc(100vw - 64px));
  max-width: calc(100vw - 64px);
  overflow: hidden;
  border: 1px solid rgba(22, 14, 8, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 247, 221, 0.92), rgba(226, 193, 133, 0.72)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 820px auto repeat;
  box-shadow:
    0 0 0 4px rgba(247, 226, 179, 0.56) inset,
    0 24px 58px rgba(11, 6, 3, 0.38);
}

.admin-login-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 9vw, 4rem);
}

.admin-login-card small {
  display: block;
  margin-top: 10px;
  color: #5a3f29;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .admin-kpi-grid,
  .feed-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-dashboard-grid,
  .admin-dashboard-grid.three-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .admin-login-shell {
    padding: 16px;
  }

  .admin-login-card {
    width: calc(100vw - 64px);
    max-width: calc(100vw - 64px);
  }

  .admin-command-hero {
    min-height: 360px;
  }

  .admin-kpi-grid,
  .feed-kpis,
  .compact-report,
  .telegram-controls {
    grid-template-columns: 1fr;
  }

  .admin-hero-copy h1 {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }

  #admin-traffic-chart {
    height: 260px;
  }
}

/* media39: slim date, weather and online bar */
body[data-theme="press"] .press-status-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(180px, 0.8fr) minmax(190px, 0.8fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  margin: 10px 0 10px;
  padding: 6px 8px;
  border: 1px solid rgba(22, 14, 8, 0.84);
  color: #160e08;
  background:
    linear-gradient(180deg, rgba(255, 247, 221, 0.9), rgba(226, 193, 133, 0.56)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 820px auto repeat;
  box-shadow:
    0 0 0 2px rgba(247, 226, 179, 0.48) inset,
    4px 5px 0 rgba(22, 14, 8, 0.1);
}

body[data-theme="press"] .press-status-main,
body[data-theme="press"] .press-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 30px;
  padding: 4px 8px;
  border-right: 1px solid rgba(22, 14, 8, 0.22);
}

body[data-theme="press"] .press-status-item:last-child {
  border-right: 0;
}

body[data-theme="press"] .press-status-strip span {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: #fff6df;
  background: #a81712;
  border: 1px solid rgba(22, 14, 8, 0.42);
  font: 900 0.68rem "Segoe UI", Arial, sans-serif;
}

body[data-theme="press"] .press-status-strip strong {
  min-width: 0;
  color: #160e08;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.96rem, 1.35vw, 1.24rem);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="press"] .press-status-strip small {
  min-width: 0;
  color: #5a3f29;
  font-size: 0.78rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="press"] .press-status-strip .press-weather-card {
  background: rgba(255, 248, 226, 0.28);
}

body[data-theme="press"] .press-status-strip .press-pulse-card strong {
  color: #a81712;
}

body[data-theme="press"] .press-status-strip .press-install-card[hidden] {
  display: none;
}

body[data-theme="press"] .press-status-strip .press-install-card button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #160e08;
  color: #fff6df;
  background: #160e08;
  font-weight: 900;
}

body[data-theme="press"] .press-status-strip .weather-sketch {
  display: none !important;
}

body[data-theme="press"] .press-front {
  margin-top: 0;
}

@media (max-width: 900px) {
  body[data-theme="press"] .press-status-strip {
    display: flex;
    grid-template-columns: none;
    gap: 6px;
    min-height: 36px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  body[data-theme="press"] .press-status-main,
  body[data-theme="press"] .press-status-item {
    flex: 0 0 auto;
    border-right: 1px solid rgba(22, 14, 8, 0.2);
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .press-status-strip {
    width: calc(100vw - 18px);
    margin: 6px -1px 7px;
    padding: 4px;
    border-width: 1px 0;
    box-shadow: 0 1px 0 rgba(22, 14, 8, 0.28), 0 -1px 0 rgba(22, 14, 8, 0.18);
  }

  body[data-theme="press"] .press-status-main,
  body[data-theme="press"] .press-status-item {
    gap: 5px;
    min-height: 28px;
    padding: 3px 7px;
  }

  body[data-theme="press"] .press-status-strip strong {
    max-width: 72px;
    font-size: 0.76rem;
  }

  body[data-theme="press"] .press-status-strip small {
    display: none;
  }

  body[data-theme="press"] .press-status-strip span {
    padding: 2px 4px;
    font-size: 0.54rem;
  }

  body[data-theme="press"] .press-status-main.press-date-card {
    flex-basis: 124px;
    width: 124px;
  }

  body[data-theme="press"] .press-status-item.press-weather-card {
    flex-basis: 130px;
    width: 130px;
  }

  body[data-theme="press"] .press-status-item.press-pulse-card {
    flex-basis: 94px;
    width: 94px;
  }

  body[data-theme="press"] .press-status-main.press-date-card strong {
    max-width: 70px;
  }

  body[data-theme="press"] .press-status-item.press-weather-card strong {
    max-width: 76px;
  }

  body[data-theme="press"] .press-status-item.press-pulse-card strong {
    max-width: 44px;
  }
}

/* install43: bottom newspaper shortcut ribbon */
.install-ribbon[hidden] {
  display: none !important;
}

body.has-install-ribbon {
  padding-bottom: 82px;
}

body.has-consent-banner.has-install-ribbon {
  padding-bottom: 224px;
}

body[data-theme="press"] .install-ribbon {
  position: fixed;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 46;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: 980px;
  min-height: 54px;
  margin: 0 auto;
  padding: 7px 8px 7px 10px;
  border: 3px double #17100a;
  color: #17100a;
  background:
    linear-gradient(180deg, rgba(255, 246, 218, 0.96), rgba(226, 194, 134, 0.92)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 760px auto repeat;
  box-shadow:
    0 0 0 1px rgba(255, 248, 226, 0.78) inset,
    0 12px 32px rgba(20, 13, 8, 0.24);
}

body[data-theme="press"].has-consent-banner .install-ribbon {
  bottom: max(164px, calc(env(safe-area-inset-bottom) + 164px));
}

body[data-theme="press"] .install-ribbon::before,
body[data-theme="press"] .install-ribbon::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(23, 16, 10, 0.34);
  pointer-events: none;
}

body[data-theme="press"] .install-ribbon::before {
  top: 5px;
}

body[data-theme="press"] .install-ribbon::after {
  bottom: 5px;
}

body[data-theme="press"] .install-ribbon-copy {
  display: grid;
  grid-template-columns: auto minmax(0, auto) minmax(140px, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

body[data-theme="press"] .install-ribbon-copy span {
  padding: 3px 7px;
  color: #fff8e8;
  background: #a81712;
  border: 1px solid rgba(23, 16, 10, 0.42);
  font: 900 0.68rem "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-theme="press"] .install-ribbon-copy strong {
  min-width: 0;
  overflow: hidden;
  color: #17100a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.98rem, 1.6vw, 1.35rem);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="press"] .install-ribbon-copy small {
  min-width: 0;
  overflow: hidden;
  color: #5a3f29;
  font-size: 0.78rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="press"] .install-ribbon-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

body[data-theme="press"] .install-ribbon-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 2px solid #17100a;
  border-radius: 0;
  color: #17100a;
  background: rgba(255, 249, 229, 0.66);
  box-shadow: 2px 2px 0 rgba(23, 16, 10, 0.16);
  cursor: pointer;
  font-weight: 950;
  white-space: nowrap;
}

body[data-theme="press"] .install-ribbon-actions #install-button {
  color: #fff8e8;
  background: #17100a;
}

body[data-theme="press"] .install-ribbon-actions #shortcut-button {
  color: #fff8e8;
  border-color: #a81712;
  background: #a81712;
}

body[data-theme="press"] .install-ribbon-actions .install-close {
  width: 34px;
  padding: 0;
  color: #17100a;
  background: transparent;
  box-shadow: none;
}

body:not([data-theme="press"]) .install-ribbon {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 46;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(22, 21, 18, 0.92);
  box-shadow: 0 18px 60px var(--shadow);
  backdrop-filter: blur(18px);
}

@media (max-width: 760px) {
  body.has-install-ribbon {
    padding-bottom: 76px;
  }

  body.has-consent-banner.has-install-ribbon {
    padding-bottom: 232px;
  }

  body[data-theme="press"] .install-ribbon,
  body:not([data-theme="press"]) .install-ribbon {
    left: 7px;
    right: 7px;
    bottom: max(7px, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 50px;
    padding: 6px 7px;
  }

  body[data-theme="press"].has-consent-banner .install-ribbon,
  body:not([data-theme="press"]).has-consent-banner .install-ribbon {
    bottom: max(178px, calc(env(safe-area-inset-bottom) + 178px));
  }

  body[data-theme="press"] .install-ribbon-copy {
    grid-template-columns: auto;
    gap: 5px;
  }

  body[data-theme="press"] .install-ribbon-copy span {
    padding: 2px 5px;
    font-size: 0.56rem;
  }

  body[data-theme="press"] .install-ribbon-copy strong,
  body[data-theme="press"] .install-ribbon-copy small {
    display: none;
  }

  body[data-theme="press"] .install-ribbon-actions {
    max-width: none;
    overflow: visible;
    scrollbar-width: none;
  }

  body[data-theme="press"] .install-ribbon-actions button {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  body[data-theme="press"] .install-ribbon-actions .install-close {
    width: 30px;
  }

  body[data-theme="press"] .install-ribbon-actions #shortcut-button {
    display: none;
  }
}

@media (max-width: 440px) {
  body[data-theme="press"] .install-ribbon-copy {
    grid-template-columns: auto;
  }

  body[data-theme="press"] .install-ribbon-actions {
    max-width: none;
    overflow: visible;
  }
}

/* press59: do not stack consent and install prompts over search/news cards */
body.has-consent-banner {
  padding-bottom: 150px;
}

body.has-consent-banner.has-install-ribbon {
  padding-bottom: 150px;
}

body.has-consent-banner .install-ribbon {
  display: none !important;
}

@media (max-width: 760px) {
  body.has-consent-banner,
  body.has-consent-banner.has-install-ribbon {
    padding-bottom: 184px;
  }
}

/* press61: Berzah AI living assistant */
body[data-theme="press"] .ai-nav-chip {
  color: #f8efe0;
  border-color: #1f1610;
  background:
    linear-gradient(135deg, #16110c 0%, #7e1514 54%, #0f4e5a 100%);
}

body[data-theme="press"] .berzah-ai-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 10px 0 12px;
  border: 3px double #17100a;
  color: #17100a;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 196, 210, 0.22), transparent 28%),
    linear-gradient(115deg, rgba(255, 246, 218, 0.95), rgba(229, 198, 138, 0.84) 42%, rgba(18, 16, 13, 0.92) 42.5%, rgba(18, 16, 13, 0.95)),
    url("assets/paper-bg-media34.png?v=20260525-media34") center / 820px auto repeat;
  box-shadow:
    0 0 0 1px rgba(255, 250, 230, 0.72) inset,
    0 20px 44px rgba(24, 16, 10, 0.16);
}

body[data-theme="press"] .berzah-ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 92, 100, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: multiply;
  pointer-events: none;
}

body[data-theme="press"] .berzah-ai-orbit {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  top: 16px;
  width: clamp(96px, 12vw, 168px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 204, 214, 0.62);
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 246, 218, 0.78) 47%, transparent 53%),
    linear-gradient(0deg, transparent 46%, rgba(255, 246, 218, 0.7) 47%, transparent 53%),
    radial-gradient(circle, rgba(0, 204, 214, 0.9) 0 7%, rgba(168, 23, 18, 0.82) 8% 12%, transparent 13%);
  clip-path: polygon(5% 0, 96% 6%, 100% 88%, 10% 100%, 0 18%);
  filter: drop-shadow(0 0 18px rgba(0, 204, 214, 0.24));
  opacity: 0.72;
  animation: aiOrbitPulse 3.4s steps(3, end) infinite;
}

body[data-theme="press"] .berzah-ai-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 12px;
  min-height: 330px;
  padding: clamp(12px, 2.2vw, 20px);
}

body[data-theme="press"] .berzah-ai-identity {
  display: grid;
  align-content: end;
  min-height: 290px;
  padding: 14px;
  border-right: 2px solid rgba(23, 16, 10, 0.56);
}

body[data-theme="press"] .ai-kicker {
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: #fff8e8;
  border: 1px solid rgba(255, 248, 232, 0.36);
  background: #a81712;
  font-size: 0.72rem;
  font-weight: 950;
}

body[data-theme="press"] .berzah-ai-identity h2 {
  margin: 0;
  max-width: 8ch;
  color: #17100a;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  font-weight: 1000;
  line-height: 0.88;
}

body[data-theme="press"] .berzah-ai-identity p {
  max-width: 360px;
  margin: 12px 0 0;
  color: #3b271a;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 850;
}

body[data-theme="press"] .ai-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

body[data-theme="press"] .ai-signal-row span {
  padding: 5px 8px;
  border: 1px solid rgba(23, 16, 10, 0.45);
  color: #17100a;
  background: rgba(255, 248, 232, 0.72);
  font-size: 0.72rem;
  font-weight: 950;
}

body[data-theme="press"] .berzah-ai-chat {
  display: grid;
  grid-template-rows: auto minmax(150px, 1fr) auto auto;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  color: #f8efe0;
  background:
    linear-gradient(135deg, rgba(18, 15, 12, 0.96), rgba(27, 19, 13, 0.94)),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 620px auto repeat;
  border: 2px solid #17100a;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.16);
}

body[data-theme="press"] .ai-chat-head,
body[data-theme="press"] .ai-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

body[data-theme="press"] .ai-chat-head strong {
  overflow: hidden;
  color: #fff8e8;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-theme="press"] .ai-chat-head span {
  padding: 3px 7px;
  color: #10100e;
  background: #30d6d0;
  font-size: 0.72rem;
  font-weight: 950;
}

body[data-theme="press"] .ai-thread {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 310px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255, 248, 232, 0.22);
  background:
    linear-gradient(rgba(48, 214, 208, 0.08) 1px, transparent 1px),
    rgba(0, 0, 0, 0.18);
  background-size: 100% 16px;
}

body[data-theme="press"] .ai-message {
  max-width: min(92%, 660px);
  padding: 9px 10px;
  border: 1px solid rgba(255, 248, 232, 0.22);
  background: rgba(255, 248, 232, 0.08);
}

body[data-theme="press"] .ai-message.is-user {
  justify-self: end;
  border-color: rgba(255, 207, 119, 0.45);
  background: rgba(168, 23, 18, 0.28);
}

body[data-theme="press"] .ai-message span {
  display: block;
  margin-bottom: 4px;
  color: #30d6d0;
  font-size: 0.68rem;
  font-weight: 950;
}

body[data-theme="press"] .ai-message p {
  margin: 0;
  color: #fff8e8;
  font-size: 0.92rem;
  font-weight: 760;
  white-space: pre-wrap;
}

body[data-theme="press"] .ai-message.is-loading p::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 0.8em;
  margin-left: 5px;
  background: linear-gradient(90deg, #30d6d0, transparent);
  animation: aiScan 0.8s steps(3, end) infinite;
}

body[data-theme="press"] .ai-chip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

body[data-theme="press"] .ai-chip-row button,
body[data-theme="press"] .ai-form-actions button {
  min-height: 36px;
  border: 2px solid #17100a;
  border-radius: 0;
  cursor: pointer;
  font-weight: 950;
}

body[data-theme="press"] .ai-chip-row button {
  color: #17100a;
  background: #f6e7c8;
}

body[data-theme="press"] .ai-form {
  display: grid;
  gap: 8px;
}

body[data-theme="press"] .ai-form label {
  color: #ffcf77;
  font-size: 0.72rem;
  font-weight: 950;
}

body[data-theme="press"] .ai-form textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  border: 2px solid #f2dfb4;
  border-radius: 0;
  padding: 10px;
  color: #fff8e8;
  background: rgba(0, 0, 0, 0.38);
  outline: none;
  font-weight: 760;
}

body[data-theme="press"] .ai-form textarea:focus {
  border-color: #30d6d0;
  box-shadow: 0 0 0 2px rgba(48, 214, 208, 0.18);
}

body[data-theme="press"] .ai-form-actions button {
  min-width: 110px;
  color: #17100a;
  background: #f6e7c8;
}

body[data-theme="press"] .ai-form-actions #ai-send {
  color: #fff8e8;
  border-color: #a81712;
  background: #a81712;
}

body.is-ai-thinking[data-theme="press"] .berzah-ai-section {
  animation: aiPanelGlitch 0.72s steps(2, end) infinite;
}

body.is-ai-kicked[data-theme="press"] .berzah-ai-chat {
  border-color: #a81712;
  box-shadow:
    0 0 0 2px rgba(168, 23, 18, 0.28) inset,
    7px 7px 0 rgba(0, 0, 0, 0.32);
}

body.is-ai-kicked[data-theme="press"] .ai-form textarea,
body.is-ai-kicked[data-theme="press"] .ai-form-actions button {
  cursor: not-allowed;
  opacity: 0.58;
}

body.is-red-zone {
  overflow: hidden;
}

body.is-red-zone::before,
body.is-red-zone::after {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}

body.is-red-zone::before {
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 0, 0, 0.08) 0 2px, transparent 2px 9px),
    radial-gradient(circle at 50% 45%, rgba(168, 23, 18, 0.42), transparent 32%),
    #020101;
  animation: redZoneNoise 0.16s steps(2, end) infinite, redZoneBlackout 3.2s ease both;
}

body.is-red-zone::after {
  content: "SENİ ATIYORUM BABY // KIRMIZI BÖLGE";
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #ffefe8;
  background:
    linear-gradient(transparent 48%, rgba(255, 255, 255, 0.08) 50%, transparent 52%),
    transparent;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1.8rem, 6vw, 6.4rem);
  font-weight: 1000;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    3px 0 0 #00d6e6,
    -3px 0 0 #a81712,
    0 0 28px rgba(168, 23, 18, 0.95);
  animation: redZoneText 0.38s steps(2, end) infinite, redZoneBlackout 3.2s ease both;
}

@keyframes aiOrbitPulse {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); opacity: 0.7; }
  45% { transform: translate3d(-4px, 2px, 0) rotate(1deg); opacity: 0.92; }
  50% { transform: translate3d(4px, -1px, 0) rotate(-3deg); opacity: 0.76; }
}

@keyframes aiScan {
  0% { opacity: 0.2; transform: translateX(0); }
  100% { opacity: 0.9; transform: translateX(8px); }
}

@keyframes aiPanelGlitch {
  0%, 100% { filter: none; }
  50% { filter: contrast(1.08) saturate(1.1); }
}

@keyframes redZoneNoise {
  0% { transform: translate3d(0, 0, 0); filter: contrast(1.4) saturate(1.2); }
  50% { transform: translate3d(-8px, 4px, 0) skewX(1.5deg); filter: contrast(2.2) saturate(1.8); }
  100% { transform: translate3d(7px, -3px, 0) skewX(-1deg); filter: contrast(1.6) saturate(1.4); }
}

@keyframes redZoneText {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.96; }
  33% { transform: translate3d(10px, -2px, 0); opacity: 0.72; }
  66% { transform: translate3d(-7px, 3px, 0); opacity: 1; }
}

@keyframes redZoneBlackout {
  0% { opacity: 0; }
  12%, 86% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 900px) {
  body[data-theme="press"] .berzah-ai-console {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .berzah-ai-identity {
    min-height: auto;
    border-right: 0;
    border-bottom: 2px solid rgba(23, 16, 10, 0.48);
  }

  body[data-theme="press"] .berzah-ai-identity h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .berzah-ai-section {
    margin-inline: -7px;
    border-left: 0;
    border-right: 0;
  }

  body[data-theme="press"] .berzah-ai-console {
    padding: 10px;
  }

  body[data-theme="press"] .berzah-ai-orbit {
    width: 88px;
    top: 10px;
    right: 12px;
    opacity: 0.48;
  }

  body[data-theme="press"] .ai-signal-row,
  body[data-theme="press"] .ai-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-theme="press"] .ai-form-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  body[data-theme="press"] .ai-form-actions button {
    min-width: 0;
  }
}

/* press62: AI becomes the main living cloud character */
body[data-theme="press"] .berzah-ai-section.is-main-ai {
  min-height: min(760px, calc(100dvh - 88px));
  margin: 10px 0 12px;
  border: 0;
  background: #11100e;
  box-shadow:
    0 0 0 3px #17100a inset,
    0 0 0 6px rgba(242, 223, 180, 0.9) inset,
    0 24px 64px rgba(15, 10, 7, 0.28);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai::before {
  z-index: 1;
  opacity: 0.46;
  background:
    linear-gradient(90deg, rgba(0, 214, 230, 0.12), transparent 35%, rgba(168, 23, 18, 0.18)),
    linear-gradient(rgba(255, 248, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 232, 0.07) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
  mix-blend-mode: screen;
}

body[data-theme="press"] .berzah-ai-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  filter: saturate(1.04) contrast(1.03);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 10, 8, 0.08), rgba(14, 10, 8, 0.22) 46%, rgba(14, 10, 8, 0.68) 58%, rgba(14, 10, 8, 0.82)),
    linear-gradient(0deg, rgba(14, 10, 8, 0.38), transparent 34%, rgba(14, 10, 8, 0.18));
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
  z-index: 2;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 0.92fr);
  align-items: end;
  min-height: min(760px, calc(100dvh - 88px));
  padding: clamp(18px, 3.4vw, 42px);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity {
  justify-content: start;
  align-content: end;
  min-height: 0;
  padding: 0 0 18px;
  border: 0;
  color: #fff8e8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.62);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h1,
body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h2 {
  margin: 0;
  max-width: 9ch;
  color: #fff8e8;
  font-size: clamp(4.1rem, 10vw, 10.4rem);
  font-weight: 1000;
  line-height: 0.78;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity p {
  max-width: 620px;
  color: #fff2d4;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  line-height: 1.24;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-kicker {
  color: #fff8e8;
  background: linear-gradient(90deg, #a81712, #0b7580);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-signal-row span {
  color: #15100c;
  background: rgba(255, 248, 232, 0.88);
  backdrop-filter: blur(8px);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  position: relative;
  overflow: hidden;
  grid-template-rows: auto auto minmax(220px, 1fr) auto auto;
  border: 1px solid rgba(255, 248, 232, 0.5);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 246, 0.82)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.44) inset;
  color: #17100a;
  backdrop-filter: blur(18px);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 122, 255, 0.18), transparent 26%),
    url("assets/berzah-ai-cloud-press62.png?v=20260527-ai62") 78% 10% / 520px auto no-repeat;
  opacity: 0.1;
  filter: saturate(1.1);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat > * {
  position: relative;
  z-index: 1;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(23, 16, 10, 0.12);
  border-radius: 18px;
  background: rgba(255, 248, 232, 0.74);
  box-shadow: 0 8px 20px rgba(23, 16, 10, 0.08);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-avatar {
  width: 52px;
  height: 52px;
  border: 2px solid #fff8e8;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(23, 16, 10, 0.18);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head strong,
body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form label {
  color: #17100a;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head strong {
  min-width: 0;
  font-size: 0.98rem;
  letter-spacing: 0;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head span {
  padding: 5px 9px;
  color: #fff8e8;
  border-radius: 999px;
  background: #087985;
}

body[data-theme="press"] .ai-character-mood {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 16, 10, 0.18);
  border-radius: 18px;
  color: #17100a;
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.9), rgba(232, 248, 248, 0.78)),
    rgba(255, 248, 232, 0.66);
  box-shadow: 0 8px 20px rgba(23, 16, 10, 0.08);
}

body[data-theme="press"] .ai-character-mood span {
  color: #a81712;
  font-size: 0.74rem;
  font-weight: 950;
}

body[data-theme="press"] .ai-character-mood strong {
  color: #17100a;
  font-size: 0.92rem;
  line-height: 1.26;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread {
  max-height: 340px;
  padding: 12px;
  border: 1px solid rgba(23, 16, 10, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(rgba(8, 121, 133, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 248, 250, 0.94), rgba(255, 248, 232, 0.72));
  background-size: 100% 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  max-width: min(92%, 660px);
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #17100a;
  background: transparent;
  box-shadow: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-user {
  grid-template-columns: minmax(0, 1fr) 34px;
  justify-self: end;
  color: #fff;
  background: transparent;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-assistant {
  justify-self: start;
  background: transparent;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-avatar {
  width: 36px;
  height: 36px;
  border: 2px solid #fff8e8;
  border-radius: 50%;
  object-fit: cover;
  background: #fff8e8;
  box-shadow: 0 6px 14px rgba(23, 16, 10, 0.14);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-avatar.is-user-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #147aff, #0754c8);
  font-size: 0.82rem;
  font-weight: 1000;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-body {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(23, 16, 10, 0.1);
  border-radius: 20px 20px 20px 7px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 6px 18px rgba(23, 16, 10, 0.1);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-user .ai-message-avatar {
  grid-column: 2;
  grid-row: 1;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-user .ai-message-body {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  border-color: rgba(20, 122, 255, 0.22);
  border-radius: 20px 20px 7px 20px;
  color: #fff;
  background: linear-gradient(135deg, #147aff, #0754c8);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message span {
  color: inherit;
  opacity: 0.72;
  letter-spacing: 0;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-assistant span {
  color: #087985;
  opacity: 1;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message p {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.44;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-loading .ai-message-body {
  border-color: rgba(8, 121, 133, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(230, 250, 250, 0.92));
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chip-row button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: #17100a;
  background: rgba(255, 248, 232, 0.86);
  box-shadow: 0 4px 12px rgba(23, 16, 10, 0.08);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea {
  min-height: 86px;
  border: 1px solid rgba(23, 16, 10, 0.22);
  border-radius: 22px;
  color: #17100a;
  background: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.4;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea:focus {
  border-color: #147aff;
  box-shadow: 0 0 0 3px rgba(20, 122, 255, 0.16);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions {
  display: grid;
  grid-template-columns: auto auto 1fr;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions button {
  border: 0;
  border-radius: 999px;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai #ai-deep-toggle {
  color: #fff8e8;
  background: #17100a;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai #ai-deep-toggle.is-active {
  background: linear-gradient(90deg, #a81712, #087985);
  box-shadow: 0 0 0 3px rgba(8, 121, 133, 0.18);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai #ai-send {
  justify-self: end;
  min-width: 140px;
  background: #147aff;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai + .newspaper-search-panel {
  margin-top: 12px;
}

@media (max-width: 900px) {
  body[data-theme="press"] .berzah-ai-section.is-main-ai {
    min-height: auto;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 220px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai::after {
    background:
      linear-gradient(0deg, rgba(14, 10, 8, 0.82), rgba(14, 10, 8, 0.22) 58%, rgba(14, 10, 8, 0.08)),
      linear-gradient(90deg, rgba(14, 10, 8, 0.18), rgba(14, 10, 8, 0.36));
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h1,
  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h2 {
    max-width: none;
    font-size: clamp(3.6rem, 14vw, 6.6rem);
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .berzah-ai-section.is-main-ai {
    margin-top: 0;
    margin-inline: -7px;
    box-shadow:
      0 0 0 2px #17100a inset,
      0 0 0 5px rgba(242, 223, 180, 0.88) inset;
  }

  body[data-theme="press"] .berzah-ai-hero-image {
    height: 42%;
    object-position: 39% top;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
    padding: 230px 10px 12px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
    border-radius: 18px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions {
    grid-template-columns: 1fr 0.8fr 1fr;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai #ai-send {
    min-width: 0;
  }
}

/* press71: tighter search machine + mobile AI fullscreen */
body[data-theme="press"] .newspaper-search-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

body[data-theme="press"] .newspaper-search-panel > button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(29, 20, 13, 0.58);
  color: #17100a;
  background: rgba(255, 248, 226, 0.8);
  font: 900 0.72rem/1 Arial, sans-serif;
}

body[data-theme="press"] .newspaper-search-panel > #update-button[hidden] {
  display: none;
}

body[data-theme="press"] .newspaper-search-shell {
  grid-template-columns: minmax(160px, 0.62fr) minmax(120px, 0.44fr) minmax(260px, 1.4fr) auto;
  gap: 8px;
  padding: 14px;
}

body[data-theme="press"] .search-engine-badge {
  min-height: 64px;
  align-content: center;
  min-width: 168px;
  background:
    linear-gradient(135deg, #17100a 0%, #8b1d15 58%, #087985 100%),
    url("assets/newsprint-panel.webp?v=20260525-media22") center / 420px auto repeat;
}

body[data-theme="press"] .search-engine-badge strong {
  font-size: 0.96rem;
}

body[data-theme="press"] .search-engine-badge span::after {
  content: " / temiz sonuç";
}

body[data-theme="press"] .search-mode-switch {
  gap: 6px;
  min-width: 128px;
}

body[data-theme="press"] .search-mode-switch button {
  min-height: 29px;
  padding: 6px 9px;
}

body[data-theme="press"] .newspaper-search-shell .search input {
  height: 64px;
  border-width: 2px;
  padding: 0 18px;
  font-size: 1.18rem;
}

body[data-theme="press"] .newspaper-search-shell .search-submit {
  min-height: 64px;
  min-width: 94px;
  font-size: 1.05rem;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head {
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
}

body[data-theme="press"] .ai-fullscreen-toggle {
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: #fff8e8;
  background: linear-gradient(90deg, #17100a, #087985);
  font: 900 0.72rem/1 Arial, sans-serif;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(23, 16, 10, 0.16);
}

body.is-ai-fullscreen {
  overflow: hidden;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai {
  position: fixed;
  inset: 0;
  z-index: 1990;
  width: 100dvw;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
  position: static;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: visible;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity,
body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-hero-image,
body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-orbit {
  display: none;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100dvw;
  height: 100dvh;
  max-width: 100dvw;
  max-height: 100dvh;
  margin: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  clip-path: none;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat::before {
  inset: 0;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread {
  max-height: none;
  min-height: 0;
  overflow-y: auto;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea {
  min-height: 76px;
  max-height: 24dvh;
}

@media (max-width: 900px) {
  body[data-theme="press"] .newspaper-search-panel {
    grid-template-columns: 1fr auto auto;
  }

  body[data-theme="press"] .newspaper-search-shell {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  body[data-theme="press"] .newspaper-search-shell .search {
    grid-column: 1 / -1;
  }

  body[data-theme="press"] .newspaper-search-shell .search-submit {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  body[data-theme="press"] .is-top-search {
    margin: 4px 0 8px;
  }

  body[data-theme="press"] .newspaper-search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body[data-theme="press"] .newspaper-search-panel > button {
    min-height: 34px;
  }

  body[data-theme="press"] .newspaper-search-shell {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  body[data-theme="press"] .search-engine-badge {
    width: 100%;
    min-height: 56px;
  }

  body[data-theme="press"] .search-mode-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  body[data-theme="press"] .newspaper-search-shell .search input,
  body[data-theme="press"] .newspaper-search-shell .search-submit {
    height: 58px;
    min-height: 58px;
    font-size: 1rem;
  }

  body[data-theme="press"] .newspaper-search-shell .search-submit {
    justify-self: stretch;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-avatar {
    width: 44px;
    height: 44px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head strong {
    font-size: 0.84rem;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head #ai-status {
    grid-column: 2;
    justify-self: start;
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  body[data-theme="press"] .ai-fullscreen-toggle {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    min-height: 38px;
    padding-inline: 9px;
  }

  body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
    inset: 0;
    max-height: 100dvh;
    border-radius: 0;
    padding: 8px;
  }

  body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .ai-character-mood {
    padding: 8px 10px;
  }

  body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions {
    grid-template-columns: 1fr 0.8fr 1fr;
  }
}

/* press73 final overrides: keep this at the end of the cascade */
body[data-theme="press"] .topbar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

body[data-theme="press"] .nav {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body[data-theme="press"] .nav::-webkit-scrollbar {
  display: none;
}

body[data-theme="press"] .nav-chip {
  flex: 0 0 auto;
  min-height: 34px;
  white-space: nowrap;
}

body[data-theme="press"] .berzah-ai-character-stage {
  position: absolute;
  inset: -4% -3% -6% auto;
  z-index: 2;
  width: min(58vw, 820px);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(4%, 1%, 0) scale(0.96);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.34));
}

body.is-ai-character-loading[data-theme="press"] .berzah-ai-character-stage,
body.is-ai-character-ready[data-theme="press"] .berzah-ai-character-stage {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body[data-theme="press"] .berzah-ai-character {
  width: 100%;
  height: 100%;
  min-height: min(760px, calc(100dvh - 88px));
  display: block;
}

body[data-theme="press"] .ai-character-load {
  position: absolute;
  right: clamp(18px, 6vw, 76px);
  bottom: clamp(26px, 7vw, 92px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 248, 232, 0.86);
  background: rgba(10, 14, 18, 0.38);
  font: 800 0.75rem/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  backdrop-filter: blur(18px);
}

body.is-ai-character-ready[data-theme="press"] .ai-character-load {
  display: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  border-radius: 28px;
  border-color: rgba(255, 255, 255, 0.44);
  color: #101318;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 248, 250, 0.64)),
    url("assets/berzah-ai-panel-press73.png?v=20260527-panel73") center / cover no-repeat;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(24px) saturate(1.22);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head,
body[data-theme="press"] .ai-character-mood,
body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread,
body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(1.16);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head strong {
  font-weight: 780;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-body {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message p {
  font-weight: 560;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-character-stage {
  position: fixed;
  inset: clamp(90px, 10dvh, 116px) max(10px, 2vw) clamp(126px, 18dvh, 168px) auto;
  z-index: 2001;
  width: min(54vw, 780px);
  opacity: 0.86;
  transform: translate3d(2%, 0, 0) scale(1);
  filter: drop-shadow(0 30px 74px rgba(0, 0, 0, 0.34));
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-character {
  height: 100%;
  min-height: 0;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(235, 249, 250, 0.58)),
    url("assets/berzah-ai-panel-press73.png?v=20260527-panel73") center / cover no-repeat;
}

@media (max-width: 980px) {
  body[data-theme="press"] .topbar {
    grid-template-columns: auto auto;
  }

  body[data-theme="press"] .nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }
}

@media (max-width: 760px) {
  body[data-theme="press"] .berzah-ai-character-stage {
    inset: 8px -22% auto auto;
    width: min(118vw, 560px);
    height: 420px;
    opacity: 0.5;
  }

  body[data-theme="press"] .berzah-ai-character {
    min-height: 420px;
  }

  body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-character-stage {
    inset: min(310px, 38dvh) -18vw auto auto;
    z-index: 2001;
    width: min(104vw, 500px);
    height: min(32dvh, 270px);
    opacity: 0.48;
  }

  body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-character {
    height: 100%;
    min-height: 0;
  }
}

/* press74: visible version marker and fresh cache boundary */
body[data-theme="press"] .brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body[data-theme="press"] .brand-version {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 2px 6px;
  border: 1px solid rgba(23, 16, 10, 0.35);
  background: rgba(255, 248, 232, 0.82);
  color: #17100a;
  font: 900 0.62rem/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 rgba(23, 16, 10, 0.18);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #0d3d41;
  background: rgba(255, 248, 232, 0.72);
  border: 1px solid rgba(13, 61, 65, 0.18);
  font: 900 0.72rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  white-space: nowrap;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions #ai-status,
body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions .ai-version {
  flex: 0 0 auto;
  margin: 0;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions .ai-fullscreen-toggle {
  grid-column: auto;
  grid-row: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 248, 250, 0.64)),
    url("assets/berzah-ai-panel-press73.png?v=20260527-panel74") center / cover no-repeat;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(235, 249, 250, 0.58)),
    url("assets/berzah-ai-panel-press73.png?v=20260527-panel74") center / cover no-repeat;
}

@media (max-width: 760px) {
  body[data-theme="press"] .brand-version {
    font-size: 0.56rem;
    padding: 2px 5px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-version {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions {
    grid-column: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
    min-width: 0;
  }

  body[data-theme="press"] .topbar {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100vw - 8px);
    padding: 10px 12px;
    gap: 9px;
    overflow: hidden;
  }

  body[data-theme="press"] .brand {
    width: 100%;
    min-width: 0;
  }

  body[data-theme="press"] .brand strong {
    font-size: clamp(1.45rem, 7.4vw, 2rem);
    line-height: 0.95;
  }

  body[data-theme="press"] .tools {
    grid-column: 1;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  body[data-theme="press"] .tools::-webkit-scrollbar {
    display: none;
  }

  body[data-theme="press"] .tools .select-wrap,
  body[data-theme="press"] .tools button {
    flex: 0 0 auto;
  }

  body[data-theme="press"] .nav {
    grid-column: 1;
    order: 3;
    width: 100%;
    padding-bottom: 4px;
  }
}

/* press76: roaming Berzah Cloud character */
body.has-floating-ai[data-theme="press"] .berzah-ai-character-stage {
  display: none;
}

body[data-theme="press"] .cloud-visibility-toggle {
  position: fixed;
  right: clamp(12px, 2.4vw, 24px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 2050;
  min-height: 38px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 248, 232, 0.72);
  border-radius: 999px;
  color: #fff8e8;
  background:
    linear-gradient(135deg, rgba(18, 12, 8, 0.9), rgba(0, 102, 117, 0.88)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 4px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(38, 219, 255, 0.18);
  font: 900 0.78rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body[data-theme="press"] .cloud-visibility-toggle:hover,
body[data-theme="press"] .cloud-visibility-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.26),
    0 0 30px rgba(38, 219, 255, 0.28);
  outline: none;
}

body.is-cloud-hidden[data-theme="press"] .berzah-float-stage,
body.is-cloud-hidden[data-theme="press"] .berzah-float-trail {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body[data-theme="press"] .berzah-float-trail {
  position: fixed;
  inset: 0;
  z-index: 1947;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

body[data-theme="press"] .berzah-gas-particle {
  position: absolute;
  width: var(--s, 22px);
  height: var(--s, 22px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.78), hsla(var(--h, 186deg), 94%, 65%, 0.38) 42%, rgba(255, 255, 255, 0) 72%);
  filter: blur(0.3px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.38);
  animation: berzahGasDrift 1.45s cubic-bezier(0.17, 0.84, 0.32, 1) forwards;
}

body[data-theme="press"] .berzah-float-stage {
  --float-x: calc(100vw - 300px);
  --float-y: 180px;
  --float-scale: 1;
  --float-rotate: 0deg;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1948;
  width: clamp(210px, 18vw, 310px);
  aspect-ratio: 1.08;
  opacity: 1;
  visibility: hidden;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  transform: translate3d(var(--float-x), var(--float-y), 0) rotate(var(--float-rotate)) scale(var(--float-scale));
  transform-origin: 50% 56%;
  transition: filter 0.25s ease;
  will-change: transform, opacity, filter;
  filter:
    drop-shadow(0 22px 34px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 20px rgba(38, 219, 255, 0.18));
}

body.is-ai-character-ready[data-theme="press"] .berzah-float-stage,
body[data-theme="press"] .berzah-float-stage.is-ready {
  opacity: 1;
  visibility: visible;
}

body[data-theme="press"] .berzah-float-stage.is-grabbed {
  cursor: grabbing;
  filter:
    drop-shadow(0 30px 44px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 34px rgba(38, 219, 255, 0.38));
}

body[data-theme="press"] .berzah-float-stage:focus-visible {
  outline: 3px solid rgba(12, 130, 141, 0.92);
  outline-offset: 6px;
}

body[data-theme="press"] .berzah-float-character {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

body[data-theme="press"] .berzah-float-ring {
  position: absolute;
  inset: 14% 10% 8%;
  z-index: 1;
  border-radius: 999px;
  border: 1px solid rgba(22, 211, 232, 0.22);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0) 52%, rgba(38, 219, 255, 0.12) 64%, rgba(255, 255, 255, 0) 74%);
  opacity: 0.58;
  transform: rotate(-8deg);
  animation: berzahRingPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

body[data-theme="press"] .berzah-float-bubble {
  position: absolute;
  right: 62%;
  top: 4%;
  z-index: 4;
  width: max-content;
  max-width: min(260px, 58vw);
  padding: 10px 12px;
  border: 2px solid rgba(255, 248, 232, 0.86);
  color: #fff8e8;
  background:
    linear-gradient(135deg, rgba(18, 12, 8, 0.92), rgba(6, 93, 104, 0.88)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
  box-shadow:
    7px 8px 0 rgba(23, 16, 10, 0.28),
    0 0 26px rgba(38, 219, 255, 0.18);
  font: 900 0.82rem/1.24 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(12px, 8px, 0) rotate(-1.8deg) scale(0.92);
  transition: opacity 0.22s ease, transform 0.34s cubic-bezier(0.17, 0.84, 0.32, 1);
}

body[data-theme="press"] .berzah-float-bubble::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 38%;
  width: 20px;
  height: 16px;
  background: rgba(6, 93, 104, 0.9);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  filter: drop-shadow(2px 2px 0 rgba(255, 248, 232, 0.72));
}

body[data-theme="press"] .berzah-float-stage.is-talking .berzah-float-bubble,
body[data-theme="press"] .berzah-float-stage.is-grabbed .berzah-float-bubble,
body[data-theme="press"] .berzah-float-stage.is-interacting .berzah-float-bubble,
body[data-theme="press"] .berzah-float-stage:hover .berzah-float-bubble,
body[data-theme="press"] .berzah-float-stage:focus-visible .berzah-float-bubble {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(-1.8deg) scale(1);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-body {
  border-radius: 20px 20px 20px 8px;
  box-shadow:
    0 14px 30px rgba(12, 22, 24, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-user .ai-message-body {
  border-radius: 20px 20px 8px 20px;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-float-stage {
  z-index: 2015;
}

@keyframes berzahGasDrift {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.28);
  }
  18% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--tx, -90px)), calc(-50% + var(--ty, 30px)), 0) scale(1.6);
  }
}

@keyframes berzahRingPulse {
  0%,
  100% {
    transform: rotate(-8deg) scale(0.94);
    opacity: 0.42;
  }
  50% {
    transform: rotate(-8deg) scale(1.08);
    opacity: 0.72;
  }
}

@media (max-width: 760px) {
  body[data-theme="press"] .cloud-visibility-toggle {
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    min-height: 34px;
    padding: 9px 11px;
    font-size: 0.72rem;
  }

  body[data-theme="press"] .berzah-float-stage {
    width: clamp(160px, 48vw, 214px);
  }

  body[data-theme="press"] .berzah-float-bubble {
    left: 50%;
    right: auto;
    top: -34px;
    max-width: min(220px, 68vw);
    font-size: 0.74rem;
    transform: translate3d(-50%, 8px, 0) rotate(-1.8deg) scale(0.92);
  }

  body[data-theme="press"] .berzah-float-bubble::after {
    left: 50%;
    right: auto;
    top: calc(100% - 1px);
    width: 18px;
    height: 14px;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }

  body[data-theme="press"] .berzah-float-stage.is-talking .berzah-float-bubble,
  body[data-theme="press"] .berzah-float-stage.is-grabbed .berzah-float-bubble,
  body[data-theme="press"] .berzah-float-stage.is-interacting .berzah-float-bubble,
  body[data-theme="press"] .berzah-float-stage:hover .berzah-float-bubble,
  body[data-theme="press"] .berzah-float-stage:focus-visible .berzah-float-bubble {
    transform: translate3d(-50%, 0, 0) rotate(-1.8deg) scale(1);
  }
}

/* 20260601: CLOUD AI V1 home */
body[data-theme="press"] {
  color: #101216;
  background:
    radial-gradient(circle at 18% 8%, rgba(20, 122, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(8, 121, 133, 0.12), transparent 26%),
    linear-gradient(180deg, #f7f8fb 0%, #eef2f6 42%, #ead9b5 100%);
}

body[data-theme="press"] .berzah-float-stage,
body[data-theme="press"] .berzah-float-trail,
body[data-theme="press"] .cloud-visibility-toggle,
body[data-theme="press"] .berzah-ai-character-stage,
body[data-theme="press"] .berzah-ai-orbit {
  display: none !important;
}

body[data-theme="press"] .topbar {
  position: sticky;
  top: 10px;
  z-index: 120;
  width: min(1120px, calc(100% - 24px));
  margin: 10px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  color: #101216;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(16, 18, 22, 0.1);
  backdrop-filter: blur(22px) saturate(1.25);
}

body[data-theme="press"] .brand {
  min-width: 0;
  color: #101216;
}

body[data-theme="press"] .brand strong {
  font: 900 1.18rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body[data-theme="press"] .brand-mark {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(16, 18, 22, 0.12);
}

body[data-theme="press"] .brand small,
body[data-theme="press"] .brand-version {
  color: rgba(16, 18, 22, 0.58);
}

body[data-theme="press"] #sync-label {
  display: none;
}

body[data-theme="press"] .nav {
  justify-content: center;
}

body[data-theme="press"] .nav-chip {
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 999px;
  color: rgba(16, 18, 22, 0.72);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

body[data-theme="press"] .nav-chip:hover,
body[data-theme="press"] .nav-chip:focus-visible,
body[data-theme="press"] .nav-chip.is-active {
  color: #ffffff;
  background: #101216;
  outline: none;
}

body[data-theme="press"] .tools .select-wrap,
body[data-theme="press"] .theme-select {
  display: none;
}

body[data-theme="press"] .tools .icon-button {
  border-radius: 999px;
  color: #101216;
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="press"] .site-shell {
  width: min(1120px, calc(100% - 24px));
  padding-top: 10px;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai {
  min-height: calc(100dvh - 142px);
  margin: 0;
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  overflow: hidden;
  color: #101216;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(247, 248, 251, 0.66)),
    radial-gradient(circle at 50% 0%, rgba(20, 122, 255, 0.1), transparent 38%);
  box-shadow: 0 28px 88px rgba(16, 18, 22, 0.14);
  backdrop-filter: blur(26px) saturate(1.2);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai::before,
body[data-theme="press"] .berzah-ai-section.is-main-ai::after {
  display: none;
}

body[data-theme="press"] .berzah-ai-hero-image {
  position: static;
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 22px;
  object-fit: cover;
  filter: none;
  opacity: 1;
  box-shadow:
    0 18px 46px rgba(16, 18, 22, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.86) inset;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: min(920px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 0;
  padding: 0;
  border: 0;
  color: #101216;
  text-align: center;
  text-shadow: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-kicker {
  padding: 7px 12px;
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 999px;
  color: rgba(16, 18, 22, 0.66);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h1,
body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h2 {
  max-width: none;
  color: #101216;
  font: 900 clamp(2.45rem, 6.2vw, 4.85rem)/0.94 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity p {
  max-width: 640px;
  color: rgba(16, 18, 22, 0.68);
  font: 650 1.02rem/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-signal-row {
  display: none;
  justify-content: center;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-signal-row span {
  border: 1px solid rgba(16, 18, 22, 0.08);
  color: rgba(16, 18, 22, 0.64);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  display: grid;
  grid-template-rows: auto minmax(150px, 210px) auto auto;
  gap: 12px;
  min-height: min(360px, 42dvh);
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  color: #101216;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 24px 58px rgba(16, 18, 22, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.62) inset;
  backdrop-filter: blur(24px) saturate(1.18);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat::before,
body[data-theme="press"] .ai-character-mood {
  display: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 6px;
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-avatar {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head strong {
  color: #101216;
  font: 850 0.96rem/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head span,
body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions #ai-status,
body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions .ai-version {
  padding: 6px 9px;
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 999px;
  color: rgba(16, 18, 22, 0.68);
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-fullscreen-toggle,
body[data-theme="press"] .ai-fullscreen-toggle {
  min-height: 34px;
  border-radius: 999px;
  color: #ffffff;
  background: #101216;
  box-shadow: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread {
  max-height: 210px;
  min-height: 0;
  padding: clamp(8px, 1.6vw, 16px);
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
  overflow-y: auto;
}

body[data-theme="press"] .consent-banner {
  width: min(640px, calc(100% - 24px));
  padding: 8px;
  border-radius: 18px;
  background: rgba(16, 18, 22, 0.9);
  backdrop-filter: blur(18px);
}

body[data-theme="press"] .consent-banner p {
  font-size: 0.74rem;
  line-height: 1.2;
}

body[data-theme="press"] .consent-actions button {
  min-height: 34px;
  border-radius: 12px;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message {
  max-width: min(88%, 720px);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-avatar {
  border: 0;
  box-shadow: 0 6px 18px rgba(16, 18, 22, 0.12);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message-body {
  border: 1px solid rgba(16, 18, 22, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(16, 18, 22, 0.08);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message.is-user .ai-message-body {
  border-color: transparent;
  border-radius: 20px;
  background: #101216;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message p {
  font: 520 0.98rem/1.56 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chip-row button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 999px;
  color: rgba(16, 18, 22, 0.72);
  background: rgba(255, 255, 255, 0.68);
  font: 760 0.82rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  cursor: pointer;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form {
  gap: 10px;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form label {
  display: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea {
  height: 54px;
  min-height: 54px;
  max-height: 130px;
  padding: 14px 18px;
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: 24px;
  color: #101216;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(16, 18, 22, 0.08);
  font: 520 1rem/1.38 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form textarea:focus {
  border-color: rgba(20, 122, 255, 0.42);
  box-shadow:
    0 0 0 4px rgba(20, 122, 255, 0.12),
    0 12px 28px rgba(16, 18, 22, 0.1);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions button {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 999px;
  font: 820 0.86rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai #ai-deep-toggle {
  color: #101216;
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="press"] .berzah-ai-section.is-main-ai #ai-deep-toggle.is-active {
  color: #ffffff;
  background: #147aff;
  box-shadow: none;
}

body[data-theme="press"] .berzah-ai-section.is-main-ai #ai-send {
  min-width: 96px;
  color: #ffffff;
  background: #101216;
}

body[data-theme="press"] .newspaper-search-panel {
  margin: 14px 0 18px;
  grid-template-columns: 1fr;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 48px rgba(16, 18, 22, 0.1);
  backdrop-filter: blur(22px) saturate(1.2);
}

body[data-theme="press"] .newspaper-search-panel > #compact-button,
body[data-theme="press"] .newspaper-search-panel > #more-button {
  display: none;
}

body[data-theme="press"] .newspaper-search-shell {
  grid-template-columns: auto auto minmax(260px, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 0;
  border-radius: 26px;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

body[data-theme="press"] .newspaper-search-shell::before,
body[data-theme="press"] .newspaper-search-shell::after {
  display: none;
}

body[data-theme="press"] .search-engine-badge {
  min-height: 52px;
  min-width: 146px;
  border-radius: 18px;
  background: #101216;
  box-shadow: none;
}

body[data-theme="press"] .search-engine-badge span::after {
  content: "";
}

body[data-theme="press"] .search-mode-switch {
  align-self: stretch;
  min-width: 150px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(16, 18, 22, 0.06);
}

body[data-theme="press"] .search-mode-switch button {
  border-radius: 14px;
}

body[data-theme="press"] .newspaper-search-shell .search input {
  height: 52px;
  border: 1px solid rgba(16, 18, 22, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

body[data-theme="press"] .newspaper-search-shell .search-submit {
  min-height: 52px;
  min-width: 84px;
  border-radius: 18px;
  background: #101216;
  transform: none;
  box-shadow: none;
}

body[data-theme="press"] .web-search-panel {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai {
  padding: 0;
  border-radius: 0;
  background: #f7f8fb;
}

body.is-ai-fullscreen[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  inset: 0;
  border-radius: 0;
  border: 0;
  background: rgba(247, 248, 251, 0.96);
}

@media (max-width: 760px) {
  body[data-theme="press"] .topbar {
    top: 0;
    width: 100%;
    margin: 0;
    border-radius: 0 0 22px 22px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 6px 10px 8px;
  }

  body[data-theme="press"] .brand {
    gap: 8px;
  }

  body[data-theme="press"] .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 13px;
  }

  body[data-theme="press"] .brand strong {
    font-size: 1rem;
  }

  body[data-theme="press"] .brand-version {
    display: block;
    font-size: 0.58rem;
  }

  body[data-theme="press"] .tools .icon-button {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  body[data-theme="press"] .nav {
    gap: 6px;
    padding-bottom: 0;
  }

  body[data-theme="press"] .nav-chip {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  body[data-theme="press"] .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  body[data-theme="press"] .site-shell {
    width: min(100%, calc(100% - 14px));
    padding-top: 8px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai {
    min-height: auto;
    padding: 10px;
    border-radius: 26px;
  }

  body[data-theme="press"] .berzah-ai-hero-image {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h1,
  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity p {
    display: none;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-signal-row {
    display: none;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
    min-height: auto;
    border-radius: 24px;
    grid-template-rows: auto minmax(94px, 1fr) auto auto;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-avatar {
    width: 38px;
    height: 38px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-head-actions,
  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chat-head #ai-status,
  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-fullscreen-toggle {
    grid-column: auto;
    grid-row: auto;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-version {
    display: none;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread {
    padding: 6px;
    max-height: 126px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message p {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-message {
    max-width: 96%;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chip-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-chip-row button {
    flex: 0 0 auto;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions {
    justify-content: stretch;
  }

  body[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form-actions button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
  }

  body[data-theme="press"] .consent-banner {
    width: calc(100% - 16px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    padding: 7px;
  }

  body[data-theme="press"] .consent-banner p {
    font-size: 0.68rem;
    max-height: 34px;
    overflow: hidden;
  }

  body[data-theme="press"] .consent-actions {
    display: flex;
    gap: 6px;
  }

  body[data-theme="press"] .consent-actions button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  body[data-theme="press"] .newspaper-search-shell {
    grid-template-columns: 1fr;
  }

  body[data-theme="press"] .search-engine-badge,
  body[data-theme="press"] .search-mode-switch,
  body[data-theme="press"] .newspaper-search-shell .search-submit {
    width: 100%;
  }
}

/* 20260601-homeai-v2 final cascade guard */
body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai {
  align-items: center !important;
  padding: clamp(18px, 3vw, 42px) clamp(14px, 4vw, 32px) 112px !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
  width: min(760px, 100%) !important;
  height: min(620px, calc(100dvh - 210px)) !important;
  min-height: 430px !important;
  max-height: 620px !important;
  gap: clamp(18px, 4vh, 36px) !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity {
  justify-content: center !important;
  place-items: center !important;
  text-align: center !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-identity h1 {
  justify-self: center !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-chat {
  min-height: 0 !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread {
  max-height: min(42dvh, 330px) !important;
  min-height: 0 !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread:empty {
  min-height: clamp(120px, 22vh, 220px) !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .ai-form {
  margin: 0 !important;
}

body.ai-only-home.home-ai-v2[data-theme="press"] .home-media-link {
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
}

@media (max-width: 760px) {
  body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai {
    padding: 18px 12px 104px !important;
  }

  body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .berzah-ai-console {
    height: min(520px, calc(100dvh - 180px)) !important;
    min-height: 360px !important;
    gap: 18px !important;
  }

  body.ai-only-home.home-ai-v2[data-theme="press"] .berzah-ai-section.is-main-ai .ai-thread:empty {
    min-height: clamp(116px, 20vh, 180px) !important;
  }
}

/* 20260601-media-black-v1: BERZAH MEDYA black reels interface */
body.media-home.media-v2[data-theme="press"] {
  min-height: 100dvh;
  margin: 0;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.075), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(244, 134, 36, 0.05), transparent 28%),
    linear-gradient(180deg, #0d0d0f 0%, #050506 50%, #020202 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.media-home.media-v2[data-theme="press"]::before {
  opacity: 0.035;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
}

body.media-home.media-v2[data-theme="press"] .topbar,
body.media-home.media-v2[data-theme="press"] #berzah-ai,
body.media-home.media-v2[data-theme="press"] .press-front,
body.media-home.media-v2[data-theme="press"] .press-utility,
body.media-home.media-v2[data-theme="press"] .hero-section,
body.media-home.media-v2[data-theme="press"] .ticker,
body.media-home.media-v2[data-theme="press"] .desk-news-strip,
body.media-home.media-v2[data-theme="press"] .visual-wall,
body.media-home.media-v2[data-theme="press"] .pcai-band,
body.media-home.media-v2[data-theme="press"] .fun-band,
body.media-home.media-v2[data-theme="press"] .split-band,
body.media-home.media-v2[data-theme="press"] .site-footer,
body.media-home.media-v2[data-theme="press"] .install-ribbon,
body.media-home.media-v2[data-theme="press"] #compact-button[hidden],
body.media-home.media-v2[data-theme="press"] #update-button[hidden] {
  display: none !important;
}

body.media-home.media-v2[data-theme="press"] .site-shell,
body.media-home.media-v2[data-theme="press"] .media-shell {
  width: min(1180px, calc(100vw - 24px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 0 56px;
}

body.media-home.media-v2[data-theme="press"] .media-hero {
  position: relative;
  min-height: clamp(132px, 24vh, 210px);
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    #070708;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

body.media-home.media-v2[data-theme="press"] #media-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

body.media-home.media-v2[data-theme="press"] .media-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: inherit;
  padding: clamp(18px, 4vw, 34px);
}

body.media-home.media-v2[data-theme="press"] .media-wordmark {
  color: #f5f5f7;
  text-decoration: none;
  font: 680 clamp(1rem, 3vw, 1.5rem)/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0.12em;
}

body.media-home.media-v2[data-theme="press"] #sync-label {
  color: rgba(245, 245, 247, 0.5);
  font: 620 0.74rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
}

body.media-home.media-v2[data-theme="press"] .media-search {
  position: sticky;
  top: 10px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.media-home.media-v2[data-theme="press"] .media-search > button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.78);
  background: rgba(18, 18, 21, 0.82);
  font: 650 0.76rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  backdrop-filter: blur(20px);
}

body.media-home.media-v2[data-theme="press"] .newspaper-search-shell {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto auto;
  align-items: end;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background: rgba(18, 18, 21, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px);
}

body.media-home.media-v2[data-theme="press"] .newspaper-search-shell::before,
body.media-home.media-v2[data-theme="press"] .newspaper-search-shell::after,
body.media-home.media-v2[data-theme="press"] .search-engine-badge {
  display: none !important;
}

body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search,
body.media-home.media-v2[data-theme="press"] .media-select {
  display: grid;
  gap: 5px;
  min-width: 0;
}

body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search span,
body.media-home.media-v2[data-theme="press"] .media-select span {
  display: none !important;
}

body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search input,
body.media-home.media-v2[data-theme="press"] .media-select select {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 18px;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
  box-shadow: none;
  font: 500 0.95rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search input {
  padding: 0 14px;
}

body.media-home.media-v2[data-theme="press"] .media-select select {
  min-width: 72px;
  padding: 0 10px;
}

body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search input::placeholder {
  color: rgba(245, 245, 247, 0.38);
}

body.media-home.media-v2[data-theme="press"] .search-mode-switch {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

body.media-home.media-v2[data-theme="press"] .search-mode-switch button,
body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search-submit {
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  color: rgba(245, 245, 247, 0.7);
  background: transparent;
  font: 720 0.76rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .search-mode-switch button.is-active,
body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search-submit {
  color: #09090a;
  background: #f5f5f7;
}

body.media-home.media-v2[data-theme="press"] .media-category-dock {
  position: sticky;
  top: 78px;
  z-index: 70;
  display: flex;
  gap: 7px;
  width: 100%;
  margin: 0 0 14px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.76);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
  scrollbar-width: none;
}

body.media-home.media-v2[data-theme="press"] .media-category-dock::-webkit-scrollbar {
  display: none;
}

body.media-home.media-v2[data-theme="press"] .media-category-dock button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.68);
  background: rgba(255, 255, 255, 0.045);
  font: 720 0.76rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .media-category-dock button.is-active {
  color: #050505;
  background: #f5f5f7;
}

body.media-home.media-v2[data-theme="press"] .media-map {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.media-home.media-v2[data-theme="press"] .paper-map-frame {
  height: clamp(170px, 20vw, 240px);
  min-height: clamp(170px, 20vw, 240px);
  max-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 44%),
    #060607 !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body.media-home.media-v2[data-theme="press"] #paper-map {
  width: 100%;
  height: 100%;
  min-height: clamp(170px, 20vw, 240px);
  max-height: 240px;
  filter: grayscale(1) invert(1) brightness(0.72) contrast(1.12);
  mix-blend-mode: screen;
  opacity: 0.45;
}

body.media-home.media-v2[data-theme="press"] .paper-map-frame::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.7), transparent 36%, rgba(5, 5, 6, 0.62)),
    linear-gradient(180deg, transparent, rgba(244, 134, 36, 0.045));
}

body.media-home.media-v2[data-theme="press"] .paper-map-readout {
  right: 18px;
  bottom: 16px;
}

body.media-home.media-v2[data-theme="press"] .paper-map-readout span,
body.media-home.media-v2[data-theme="press"] .map-status {
  color: rgba(245, 245, 247, 0.48);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .map-status {
  left: 16px;
  top: 14px;
  width: auto;
  padding: 0;
  font: 650 0.72rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
}

body.media-home.media-v2[data-theme="press"] .paper-map-readout strong {
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .paper-map-actions {
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

body.media-home.media-v2[data-theme="press"] .paper-map-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.68);
  background: rgba(5, 5, 6, 0.7);
}

body.media-home.media-v2[data-theme="press"] .media-ad-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

body.media-home.media-v2[data-theme="press"] .media-ad-card {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

body.media-home.media-v2[data-theme="press"] .media-ad-card img,
body.media-home.media-v2[data-theme="press"] .media-ad-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  filter: grayscale(0.2) saturate(0.9) contrast(1.04);
}

body.media-home.media-v2[data-theme="press"] .media-ad-card span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #ffffff;
  font: 760 0.82rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.72);
}

body.media-home.media-v2[data-theme="press"] .media-content,
body.media-home.media-v2[data-theme="press"] .content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 16px;
  align-items: start;
}

body.media-home.media-v2[data-theme="press"] .media-feed-head {
  margin: 0 0 10px;
}

body.media-home.media-v2[data-theme="press"] .section-title h1,
body.media-home.media-v2[data-theme="press"] .section-title h2 {
  margin: 0;
  color: #f5f5f7;
  font: 650 1rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.media-home.media-v2[data-theme="press"] .section-title span {
  color: rgba(245, 245, 247, 0.46);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .news-grid,
body.media-home.media-v2[data-theme="press"] .media-reels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  scroll-snap-type: y proximity;
}

body.media-home.media-v2[data-theme="press"] .story {
  position: relative;
  min-height: min(76vh, 690px);
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  color: #f5f5f7;
  background: #09090a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  scroll-snap-align: start;
}

body.media-home.media-v2[data-theme="press"] .story::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 34%, rgba(0, 0, 0, 0.2));
}

body.media-home.media-v2[data-theme="press"] .story img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
}

body.media-home.media-v2[data-theme="press"] .story-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(9, 9, 10, 0.12), rgba(9, 9, 10, 0.88));
}

body.media-home.media-v2[data-theme="press"] .story-meta {
  color: rgba(245, 245, 247, 0.52);
  font: 650 0.72rem/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0.06em;
}

body.media-home.media-v2[data-theme="press"] .story h3 {
  margin: 0;
  color: #ffffff;
  font: 680 clamp(1.35rem, 4vw, 2.35rem)/1.05 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.media-home.media-v2[data-theme="press"] .story p {
  max-width: 72ch;
  margin: 0;
  color: rgba(245, 245, 247, 0.68);
  font: 430 0.98rem/1.46 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .story-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

body.media-home.media-v2[data-theme="press"] .story-actions a,
body.media-home.media-v2[data-theme="press"] .story-actions button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.78);
  background: rgba(255, 255, 255, 0.065);
  font: 720 0.76rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  text-decoration: none;
}

body.media-home.media-v2[data-theme="press"] .story-actions a:hover,
body.media-home.media-v2[data-theme="press"] .story-actions button:hover,
body.media-home.media-v2[data-theme="press"] .story.is-saved .save-button {
  color: #050505;
  background: #f5f5f7;
}

body.media-home.media-v2[data-theme="press"] .media-rail {
  position: sticky;
  top: 142px;
  display: grid;
  gap: 10px;
}

body.media-home.media-v2[data-theme="press"] .rail-panel {
  max-height: 42vh;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

body.media-home.media-v2[data-theme="press"] .panel-head h2 {
  color: #f5f5f7;
  font: 680 0.86rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .source-row,
body.media-home.media-v2[data-theme="press"] .trend-list a {
  color: rgba(245, 245, 247, 0.66);
  border-color: rgba(255, 255, 255, 0.08);
}

body.media-home.media-v2[data-theme="press"] .source-row button {
  color: #050505;
  background: rgba(245, 245, 247, 0.82);
}

body.media-home.media-v2[data-theme="press"] .web-search-panel,
body.media-home.media-v2[data-theme="press"] .media-web-results {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.045);
}

body.media-home.media-v2[data-theme="press"] .web-search-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.media-home.media-v2[data-theme="press"] .web-result-card {
  border-color: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.05);
}

body.media-home.media-v2[data-theme="press"] .media-language-gate {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(3, 3, 4, 0.94);
  backdrop-filter: blur(18px);
}

body.media-home.media-v2[data-theme="press"] .media-language-gate[hidden] {
  display: none !important;
}

body.media-home.media-v2[data-theme="press"] .language-gate-panel {
  display: grid;
  gap: 18px;
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(18, 18, 21, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

body.media-home.media-v2[data-theme="press"] .language-gate-panel span {
  color: rgba(245, 245, 247, 0.48);
  font: 680 0.72rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0.14em;
}

body.media-home.media-v2[data-theme="press"] .language-gate-panel strong {
  color: #f5f5f7;
  font: 650 clamp(2rem, 8vw, 3rem)/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.media-home.media-v2[data-theme="press"] .language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.media-home.media-v2[data-theme="press"] .language-grid button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  color: rgba(245, 245, 247, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font: 720 0.92rem/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
}

body.media-home.media-v2[data-theme="press"] .language-grid button:hover,
body.media-home.media-v2[data-theme="press"] .language-grid button.is-active {
  color: #050505;
  background: #f5f5f7;
}

body.media-home.media-v2[data-theme="press"] .media-boot {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 32%),
    #020203;
}

body.media-home.media-v2[data-theme="press"] .media-boot .boot-loader-inner {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(16, 16, 18, 0.86);
}

body.media-home.media-v2[data-theme="press"] .media-boot span,
body.media-home.media-v2[data-theme="press"] .media-boot strong,
body.media-home.media-v2[data-theme="press"] .media-boot small {
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.media-home.media-v2[data-theme="press"] .consent-banner {
  width: min(760px, calc(100vw - 18px));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #f5f5f7;
  background: rgba(13, 13, 15, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

body.media-home.media-v2[data-theme="press"] .consent-banner p {
  color: rgba(245, 245, 247, 0.68);
}

body.media-home.media-v2[data-theme="press"] .consent-actions button {
  border-radius: 999px;
  color: #050505;
  background: #f5f5f7;
}

@media (max-width: 920px) {
  body.media-home.media-v2[data-theme="press"] .media-content,
  body.media-home.media-v2[data-theme="press"] .content-grid {
    grid-template-columns: 1fr;
  }

  body.media-home.media-v2[data-theme="press"] .media-rail {
    position: static;
    grid-template-columns: 1fr;
  }

  body.media-home.media-v2[data-theme="press"] .rail-panel {
    max-height: 260px;
  }
}

@media (max-width: 760px) {
  body.media-home.media-v2[data-theme="press"] .site-shell,
  body.media-home.media-v2[data-theme="press"] .media-shell {
    width: calc(100vw - 14px);
    padding-top: 8px;
  }

  body.media-home.media-v2[data-theme="press"] .media-hero {
    min-height: 116px;
    border-radius: 24px;
  }

  body.media-home.media-v2[data-theme="press"] .media-hero-inner {
    padding: 18px;
  }

  body.media-home.media-v2[data-theme="press"] .media-search {
    top: 7px;
    grid-template-columns: 1fr;
  }

  body.media-home.media-v2[data-theme="press"] .newspaper-search-shell {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  body.media-home.media-v2[data-theme="press"] .search-mode-switch,
  body.media-home.media-v2[data-theme="press"] .media-select,
  body.media-home.media-v2[data-theme="press"] .newspaper-search-shell .search-submit {
    width: 100%;
  }

  body.media-home.media-v2[data-theme="press"] .media-category-dock {
    top: 182px;
    padding: 7px;
  }

  body.media-home.media-v2[data-theme="press"] .media-ad-strip {
    grid-template-columns: 1fr;
  }

  body.media-home.media-v2[data-theme="press"] .media-ad-card {
    min-height: 92px;
  }

  body.media-home.media-v2[data-theme="press"] .story {
    min-height: 72vh;
    border-radius: 26px;
    grid-template-rows: minmax(240px, 1fr) auto;
  }

  body.media-home.media-v2[data-theme="press"] .story-body {
    padding: 15px;
  }

  body.media-home.media-v2[data-theme="press"] .story h3 {
    font-size: clamp(1.24rem, 7vw, 1.82rem);
  }

  body.media-home.media-v2[data-theme="press"] .story p {
    font-size: 0.9rem;
  }

  body.media-home.media-v2[data-theme="press"] .web-search-grid {
    grid-template-columns: 1fr;
  }

  body.media-home.media-v2[data-theme="press"] .language-grid {
    grid-template-columns: 1fr;
  }
}
