*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 86px; overflow-x: hidden; }
    body {
      min-height: 100vh;
      overflow-x: hidden;
      background: #000;
      color: #e1e0cc;
      font-family: "Almarai", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }

    .top {
      position: sticky;
      top: 0;
      z-index: 60;
      border-bottom: 1px solid rgba(222,219,200,.12);
      background: rgba(0,0,0,.88);
      backdrop-filter: blur(18px);
    }
    .top-inner {
      max-width: 1480px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 18px;
      padding: 14px clamp(16px, 3vw, 34px);
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      letter-spacing: -.04em;
    }
    .brand::before {
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: #b70000;
      box-shadow: 0 0 20px rgba(183,0,0,.75);
    }
    .back {
      color: rgba(225,224,204,.72);
      font-size: 14px;
    }
    .site-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(14px, 4vw, 56px);
      color: rgba(225,224,204,.74);
      font-size: clamp(11px, 1.1vw, 14px);
      white-space: nowrap;
    }
    .site-nav a { transition: color .2s ease; }
    .site-nav a:hover,
    .site-nav a.active { color: #e1e0cc; }
    .lang-switch {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      padding: 3px;
      border: 1px solid rgba(222,219,200,.16);
      border-radius: 999px;
      background: rgba(255,255,255,.04);
    }
    .lang-switch button {
      min-width: 34px;
      height: 24px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: rgba(225,224,204,.58);
      font-size: 11px;
      cursor: pointer;
    }
    .lang-switch button.active {
      background: #dedbc8;
      color: #050505;
    }
    a:focus-visible,
    button:focus-visible {
      outline: 2px solid rgba(222,219,200,.8);
      outline-offset: 4px;
    }

    .hero {
      max-width: 1480px;
      margin: 0 auto;
      padding: clamp(28px, 5vw, 70px) clamp(16px, 3vw, 34px) 22px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
      gap: clamp(24px, 5vw, 72px);
      align-items: end;
    }
    .kicker {
      display: block;
      margin-bottom: 12px;
      color: rgba(222,219,200,.56);
      font-size: 11px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    h1 {
      color: #e1e0cc;
      font-size: clamp(34px, 4.8vw, 76px);
      line-height: .94;
      letter-spacing: -.055em;
    }
    .hero p {
      color: rgba(222,219,200,.72);
      font-size: 14px;
      line-height: 1.66;
    }

    .feed-filter-bar {
      max-width: 1480px;
      margin: 0 auto;
      padding: 0 clamp(16px, 3vw, 34px) 24px;
      display: flex;
      align-items: flex-end;
      gap: 18px;
    }
    .filters {
      display: flex;
      flex: 1 1 auto;
      align-items: center;
      justify-content: flex-start;
      gap: clamp(8px, 1.6vw, 24px);
      flex-wrap: wrap;
    }
    .filter {
      min-width: 150px;
      min-height: 34px;
      padding: 0 16px;
      border: 1px solid rgba(222,219,200,.18);
      border-radius: 4px;
      background: rgba(0,0,0,.16);
      color: rgba(222,219,200,.72);
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .02em;
      transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    }
    .filter:hover { transform: translateY(-1px); border-color: rgba(222,219,200,.38); }
    .filter::before {
      content: "";
      display: inline-block;
      width: 11px;
      height: 11px;
      margin-right: 10px;
      border-radius: 999px;
      background: rgba(222,219,200,.52);
      vertical-align: -1px;
    }
    .filter.active {
      background: rgba(222,219,200,.26);
      color: #e1e0cc;
    }
    .filter.active::before { background: #b70000; }
    .author-filter {
      display: grid;
      width: min(260px, 100%);
      flex: 0 0 260px;
      gap: 6px;
      color: rgba(222,219,200,.58);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
    }
    .author-filter select {
      width: 100%;
      height: 36px;
      padding: 0 34px 0 12px;
      border: 1px solid rgba(222,219,200,.22);
      border-radius: 4px;
      background: #090909;
      color: #e1e0cc;
      font: inherit;
      font-size: 12px;
      text-transform: none;
    }
    .author-filter select:focus-visible {
      border-color: rgba(222,219,200,.62);
      outline: 2px solid rgba(222,219,200,.2);
      outline-offset: 2px;
    }

    .masonry {
      max-width: 1480px;
      margin: 0 auto;
      padding: 0 clamp(16px, 3vw, 34px) 80px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: start;
      gap: 24px;
    }
    .card {
      display: block;
      width: 100%;
      margin: 0;
      overflow: hidden;
      border: 1px solid rgba(222,219,200,.12);
      border-radius: 8px;
      background: #000;
      box-shadow: 0 30px 90px rgba(0,0,0,.28);
      transition: opacity .18s ease, transform .22s ease, border-color .22s ease;
    }
    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(222,219,200,.34);
    }
    .media {
      overflow: hidden;
      background: #101010;
    }
    .media img {
      display: block;
      width: 100%;
      height: auto;
      filter: saturate(.9) brightness(.8);
      transition: transform .55s cubic-bezier(.16,1,.3,1), filter .35s ease;
    }
    .card:hover .media img {
      transform: scale(1.025);
      filter: saturate(.96) brightness(.88);
    }
    .x-post-card {
      border-color: rgba(222,219,200,.2);
      background: #070707;
    }
    .x-post-card__source {
      display: grid;
      grid-template-columns: 36px minmax(0, 1fr) 32px;
      gap: 10px;
      align-items: center;
      padding: 16px 18px 0;
    }
    .x-source-mark {
      display: inline-grid;
      width: 36px;
      height: 36px;
      place-items: center;
      border: 1px solid rgba(222,219,200,.24);
      border-radius: 50%;
      color: #fff;
      font-size: 14px;
      font-weight: 800;
    }
    .x-post-card__source .x-author-avatar {
      width: 36px;
      height: 36px;
      border: 1px solid rgba(222,219,200,.24);
      border-radius: 50%;
      object-fit: cover;
    }
    .x-author-menu { position: relative; z-index: 4; }
    .x-author-menu__trigger {
      display: block;
      width: 36px;
      height: 36px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: transparent;
      cursor: pointer;
    }
    .x-author-menu__trigger:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
    .x-author-menu__popover {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: max-content;
      min-width: 132px;
      padding: 5px;
      border: 1px solid rgba(222,219,200,.24);
      border-radius: 6px;
      background: #151515;
      box-shadow: 0 12px 32px rgba(0,0,0,.45);
    }
    .x-author-menu__popover[hidden] { display: none; }
    .x-author-menu__popover button {
      width: 100%;
      padding: 9px 11px;
      border: 0;
      border-radius: 4px;
      color: #e1e0cc;
      background: transparent;
      font-size: 12px;
      text-align: left;
      cursor: pointer;
    }
    .x-author-menu__popover button:hover,
    .x-author-menu__popover button:focus-visible { background: rgba(255,255,255,.08); outline: none; }
    .x-source-author {
      min-width: 0;
      line-height: 1.25;
    }
    .x-source-author strong,
    .x-source-author span {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .x-source-author strong { color: #e1e0cc; font-size: 13px; }
    .x-source-author span { margin-top: 3px; color: rgba(222,219,200,.52); font-size: 11px; }
    .x-source-open {
      display: inline-grid;
      width: 32px;
      height: 32px;
      place-items: center;
      border-radius: 50%;
      color: rgba(222,219,200,.62);
      font-size: 17px;
    }
    .x-source-open:hover { color: #fff; background: rgba(255,255,255,.08); }
    .x-post-card__body { padding-bottom: 16px; }
    .x-post-card__body h2 { font-size: 20px; line-height: 1.28; }
    .x-post-card__body .x-source-text { margin-top: 12px; white-space: pre-line; }
    .x-media-grid {
      display: grid;
      gap: 2px;
      overflow: hidden;
      border-top: 1px solid rgba(222,219,200,.1);
      border-bottom: 1px solid rgba(222,219,200,.1);
      background: #161616;
    }
    .x-media-grid--1 { aspect-ratio: 16 / 10; }
    .x-media-grid--2,
    .x-media-grid--3,
    .x-media-grid--4 { aspect-ratio: 1 / 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .x-media-grid--3 .x-media-item:first-child { grid-row: span 2; }
    .x-media-item { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #111; }
    .x-media-item > a { position: absolute; inset: 0; display: block; }
    .x-media-item img {
      position: relative;
      z-index: 1;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .45s cubic-bezier(.16,1,.3,1), filter .25s ease;
    }
    .x-post-card:hover .x-media-item img { transform: scale(1.025); filter: brightness(.92); }
    .x-media-fallback {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 16px;
      color: rgba(222,219,200,.48);
      font-size: 11px;
      text-align: center;
    }
    .x-media-play {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 50%;
      display: grid;
      width: 46px;
      height: 46px;
      place-items: center;
      border: 1px solid rgba(255,255,255,.5);
      border-radius: 50%;
      background: rgba(0,0,0,.68);
      color: #fff;
      font-size: 15px;
      transform: translate(-50%,-50%);
      backdrop-filter: blur(8px);
    }
    .x-post-card__footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 14px 18px;
      color: rgba(222,219,200,.58);
      font-size: 11px;
    }
    .x-post-card__footer a { color: #e1e0cc; font-size: 12px; }
    .body {
      padding: clamp(18px, 2.2vw, 24px);
    }
    .body h2 {
      margin-bottom: 8px;
      color: #e1e0cc;
      font-size: clamp(19px, 1.55vw, 25px);
      line-height: 1.14;
      letter-spacing: -.025em;
      font-weight: 500;
    }
    .date {
      display: block;
      margin-bottom: 14px;
      color: #dedbc8;
      font-size: 13px;
      font-style: italic;
    }
    .body p {
      color: rgba(222,219,200,.7);
      font-size: 13px;
      line-height: 1.62;
    }
    .actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-top: 22px;
    }
    .tag {
      padding: 7px 9px;
      border: 1px solid rgba(222,219,200,.2);
      color: rgba(222,219,200,.52);
      font-size: 11px;
      text-transform: uppercase;
    }
    .read {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 36px;
      padding: 0 13px;
      border-radius: 7px;
      background: rgba(222,219,200,.22);
      color: #e1e0cc;
      font-size: 13px;
      white-space: nowrap;
      transition: transform .18s ease, background .18s ease;
    }
    .read:hover { transform: translateY(-2px); background: rgba(222,219,200,.3); }
    .endpoint {
      display: block;
      margin-top: 18px;
      padding: 10px 12px;
      border-left: 2px solid #b70000;
      background: rgba(222,219,200,.06);
      color: rgba(222,219,200,.72);
      font-size: 11px;
      line-height: 1.55;
      overflow-wrap: anywhere;
    }
    .hidden { display: none; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
      }
    }

    .copyright {
      max-width: 1480px;
      margin: -42px auto 0;
      padding: 0 clamp(16px, 3vw, 34px) 46px;
      color: rgba(222,219,200,.42);
      font-size: 12px;
      line-height: 1.7;
    }

    @media (max-width: 1120px) {
      .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .hero { grid-template-columns: 1fr; }
    }
    @media (max-width: 680px) {
      .top-inner { grid-template-columns: 1fr; align-items: flex-start; }
      .site-nav { max-width: 100%; justify-content: flex-start; overflow-x: auto; }
      .feed-filter-bar { align-items: stretch; flex-direction: column; gap: 14px; }
      .filters { justify-content: flex-start; gap: 8px; }
      .filter { min-width: 0; flex: 1 1 calc(50% - 8px); font-size: 12px; }
      .author-filter { width: 100%; flex-basis: auto; }
      .masonry { grid-template-columns: minmax(0, 1fr); }
      .actions { align-items: stretch; flex-direction: column; }
      .read { justify-content: center; }
      .x-post-card__footer { align-items: center; flex-direction: row; }
    }
