:root {
  --bg: #e9ebed;
  --card: #fff;
  --ink: #0d0d0d;
  --muted: #8b8f94;
  --line: #ececec;
  --ph1: #2b2b33;
  --ph2: #7b3a2e;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17181a;
    --card: #1f2124;
    --ink: #f3f3f3;
    --muted: #8f949a;
    --line: #2f3235;
  }
}
:root[data-theme="dark"] {
  --bg: #17181a;
  --card: #1f2124;
  --ink: #f3f3f3;
  --muted: #8f949a;
  --line: #2f3235;
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--card);
  color: var(--ink);
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  padding: 0;
}
.page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: var(--card);
  border-radius: 0;
  padding: 24px 40px 28px;
}
.site-header {
  display: block;
}
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.icons.right {
  justify-content: flex-end;
}
.icons svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.icons button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  cursor: pointer;
  display: flex;
}
.logo {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0;
}
.site-header nav {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.site-header nav::-webkit-scrollbar {
  display: none;
}
.site-header nav a {
  flex: 1 0 auto;
  min-width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  transition:
    color 0.15s,
    border-color 0.15s;
}
.site-header nav a:hover {
  color: var(--ink);
}
.site-header nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 700;
}
.site-header nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.icons button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
main {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  margin-top: 18px;
}
.meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}
.meta .who {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
}
.meta .sep {
  width: 1px;
  height: 14px;
  background: var(--line);
}
.meta time {
  margin-left: auto;
}
.av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--c, #555);
  flex: none;
}
.hero-img {
  aspect-ratio: 1.59;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.35),
      transparent 18%
    ),
    radial-gradient(circle at 25% 15%, rgba(255, 40, 40, 0.7), transparent 22%),
    linear-gradient(135deg, #0b0b10 0%, #2a1218 55%, #4b2a22 100%);
  position: relative;
  overflow: hidden;
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}
.feature .meta {
  margin: 18px 0 12px;
}
.feature h2 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
}
.feature p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}
.feature p a {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.feature p a:hover {
  text-decoration: underline;
}
.side {
  border-top: 1px solid var(--line);
}
.item {
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--line);
}
.item .row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 16px;
}
.thumb {
  height: 118px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.item h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.item h3 a {
  color: inherit;
  text-decoration: none;
}
.item h3 a:hover {
  text-decoration: underline;
}
.trending {
  padding-top: 36px;
}
.trending h2 {
  margin: 0 0 20px;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.authors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.author {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.author .av {
  width: 38px;
  height: 38px;
  font-size: 13px;
}
.author b {
  display: block;
  font-weight: 500;
  font-size: 15px;
}
.author small {
  color: var(--muted);
  font-size: 13px;
}
.author svg {
  margin-left: auto;
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.8;
}
@media (max-width: 900px) {
  .page {
    padding: 18px 16px 24px;
  }
  main {
    grid-template-columns: 1fr;
  }
  .feature h2 {
    font-size: 30px;
  }
  .logo {
    font-size: 22px;
  }
}
@media (max-width: 520px) {
  .item .row {
    grid-template-columns: 120px 1fr;
    gap: 14px;
  }
  .thumb {
    height: 88px;
  }
  .item h3 {
    font-size: 17px;
  }
  .authors {
    grid-template-columns: 1fr;
  }
  .icons.left .hide-sm,
  .icons.right .hide-sm {
    display: none;
  }
}

.theme .sun {
  display: none;
}
:root[data-theme="dark"] .theme .sun {
  display: block;
}
:root[data-theme="dark"] .theme .moon {
  display: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
}

.saygon {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--line);
}
.saygon-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.saygon-head h2,
.popular h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips button {
  font: 500 14px/1 inherit;
  font-family: inherit;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.chips button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}
.chips button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.saygon-body {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
}
.stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;
  align-content: start;
}
.story[hidden] {
  display: none;
}
.story .thumb {
  height: auto;
  aspect-ratio: 1.6;
  border-radius: 18px;
}
.story .meta {
  margin: 14px 0 8px;
}
.story .meta span {
  color: var(--ink);
  font-weight: 500;
}
.story h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.story h3 a {
  color: inherit;
  text-decoration: none;
}
.story h3 a:hover {
  text-decoration: underline;
}
.popular {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  align-self: start;
}
.popular h2 {
  margin-bottom: 8px;
}
.popular ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.popular li + li {
  border-top: 1px solid var(--line);
}
.popular a {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  color: inherit;
  text-decoration: none;
}
.popular a:hover .t {
  text-decoration: underline;
}
.popular .rank {
  flex: none;
  width: 36px;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--muted);
}
.popular li:first-child .rank {
  color: var(--ink);
}
.popular .t {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}
.popular small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
@media (max-width: 900px) {
  .saygon-body {
    grid-template-columns: 1fr;
  }
  .saygon-head h2,
  .popular h2 {
    font-size: 24px;
  }
}
@media (max-width: 520px) {
  .stories {
    grid-template-columns: 1fr;
  }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
  .chips button {
    flex: none;
  }
}

.shorts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--line);
}
.shorts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.shorts-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.arrows {
  display: flex;
  gap: 8px;
}
.arrows button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.arrows button:disabled {
  color: var(--muted);
  opacity: 0.5;
  cursor: default;
}
.arrows button:focus-visible,
.short-row:focus-visible,
.short:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.arrows svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.short-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.short-row::-webkit-scrollbar {
  display: none;
}
.short {
  position: relative;
  flex: 0 0 clamp(170px, 18vw, 230px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(160deg, var(--a), var(--b));
}
.short::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}
.short .dur {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  font-weight: 600;
}
.short .play {
  position: absolute;
  top: 38%;
  left: 50%;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}
.short .play svg {
  width: 22px;
  height: 22px;
  fill: #0d0d0d;
  margin-left: 2px;
}
.short .cap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.short .cap b {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.short .cap small {
  font-size: 12px;
  opacity: 0.85;
}
.short:hover .play {
  background: #fff;
}
@media (max-width: 900px) {
  .shorts-head h2 {
    font-size: 24px;
  }
}
@media (max-width: 520px) {
  .short {
    flex-basis: 62%;
  }
  .arrows {
    display: none;
  }
}

button.short {
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.player {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
}
.player::backdrop {
  background: rgba(0, 0, 0, 0.78);
}
.player-box {
  position: relative;
  width: min(380px, 92vw);
}
.player-stage {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #0d0d0d;
  display: grid;
  place-items: center;
}
.player-stage video,
.player-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}
.player-empty {
  margin: 0;
  padding: 24px;
  text-align: center;
  color: #cfd2d6;
  font-size: 14px;
}
.player-title {
  margin: 14px 4px 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
}
.player-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}
.player-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.player-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.player-empty a {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-weight: 600;
}

.site-footer {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-logo {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.foot-desc {
  margin: 0;
  max-width: 38ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.foot-col h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
}
.foot-col ul,
.foot-bottom ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-col li + li {
  margin-top: 10px;
}
.foot-col a,
.foot-bottom a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.foot-col a:hover,
.foot-bottom a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-col a:focus-visible,
.foot-bottom a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.foot-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.foot-bottom ul {
  display: flex;
  gap: 20px;
}
.foot-bottom a {
  font-size: 13px;
}
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
