/* Chiron Hei HK's own Latin glyphs, enlarged so caps line up with the CJK glyphs in headings. */
@font-face {
  font-family: "Chiron Latin";
  src: url("/assets/fonts/chiron-hei-hk-latin.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 108%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+20AC, U+2122;
}
:root {
  --tt-primary: #000000;
  --tt-accent: #e4a41e;
  --tt-hover: #504bdc;
  --tt-gray-dark: #777777;
  --tt-extra-bg: #f4f4f4;
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #666666;
  --line: #eaeaea;
  --press: #c2410c;
  --media: #0e7490;
  --radius: 0px;
  --font-display: "Chiron Latin", "Chiron Hei HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --font-ui: "Chiron Hei HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --font-body: "Chiron Hei HK", "PingFang HK", "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}
button, input, select, textarea { font-feature-settings: inherit; }
a { color: var(--ink); text-decoration: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: var(--tt-hover); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1460px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 920px; }

/* Black Top Utility Bar (TownTalk Pro style) */
.top-bar {
  background: #000000;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12px;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.top-date { color: #e5e5e5; font-weight: 500; letter-spacing: .02em; }
.top-links { display: flex; align-items: center; gap: 20px; }
.top-links a { color: #e5e5e5; font-weight: 500; }
.top-links a:hover { color: var(--tt-accent); }
.top-links .top-cta {
  background: var(--tt-accent);
  color: #ffffff;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.top-links .top-cta:hover { background: var(--tt-hover); color: #ffffff; }

/* Main White Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 82px;
}
.logo { margin: 0; flex-shrink: 0; line-height: 0; display: flex; align-items: center; }
.logo a { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; display: block; }

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  font-family: var(--font-ui);
}
.global-nav a {
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--tt-primary);
  white-space: nowrap;
  position: relative;
}
.global-nav a:hover { color: var(--tt-hover); }
.global-nav a.active { color: var(--tt-hover); }

.search {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  border: 2px solid var(--tt-primary);
  background: #fff;
}
.search input {
  width: 200px;
  padding: 7px 12px;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: var(--tt-primary);
}
.search input:focus { outline: none; }
.search button {
  border: 0;
  background: var(--tt-primary);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color .15s ease;
}
.search button:hover { background: var(--tt-hover); }

.nav-toggle { display: none; }
.nav-button { display: none; margin-left: auto; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-button span { width: 22px; height: 2px; background: var(--tt-primary); display: block; }

.site-main { padding: 0 0 72px; }

/* TownTalk Section Header: Big Bold Title + Arrow + Boxed View more Button */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  padding: 10px 16px 10px 0;
  background: linear-gradient(90deg, rgba(244, 244, 244, 0) 0%, #f4f4f4 100%);
}
.block-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tt-primary);
  line-height: 1.15;
}
.block-title a { color: var(--tt-primary); display: inline-flex; align-items: center; gap: 10px; }
.block-title a:hover { color: var(--tt-hover); }
.title-arrow { font-weight: 400; font-size: 28px; }
.section-more {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--tt-primary);
  background: #ffffff;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--tt-primary);
  white-space: nowrap;
}
.section-more:hover { background: var(--tt-primary); color: #ffffff; }

/* Sidebar Section Header */
.side-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 0 0 20px;
  position: relative;
}
.side-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
  background: var(--tt-hover);
}
.side-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--tt-primary);
}
.side-title a { color: var(--tt-primary); }
.side-title a:hover { color: var(--tt-hover); }
.side-more { font-family: var(--font-ui); font-size: 12px; font-weight: 700; color: var(--tt-gray-dark); }
.side-more:hover { color: var(--tt-hover); }

/* Badges (TownTalk clean colored text) */
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--tt-hover);
}
.badge-article { color: var(--tt-hover); }
.badge-press { color: var(--press); }
.badge-media { color: var(--media); }
a.badge:hover { color: var(--tt-accent); }

/* Hero Band (TownTalk Pro 60/40 asymmetric layout) */
.hero-band {
  padding: 40px 0 52px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.hero-slider {
  position: relative;
  outline: none;
}
.hero-slides {
  display: grid;
}
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-slide .card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-arrows {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
  z-index: 2;
}
.hero-arrow {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  outline: none;
  background: rgba(0, 0, 0, .55);
  color: #ffffff;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s ease, background .2s ease, transform .15s ease;
}
.hero-arrow:focus-visible {
  outline: 2px solid var(--tt-hover);
  outline-offset: 2px;
}
.hero-slider:hover .hero-arrow,
.hero-arrow:focus-visible {
  opacity: 1;
}
.hero-arrow:hover {
  background: var(--tt-hover);
  transform: scale(1.06);
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width .22s ease, background .22s ease;
}
.hero-dot:hover {
  background: #9ca3af;
}
.hero-dot.is-active {
  width: 26px;
  background: var(--tt-hover);
}
.hero-counter {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--tt-gray-dark);
  letter-spacing: .04em;
}
.hero-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  font-family: var(--font-ui);
}
.hero-tab {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 0 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--tt-primary);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.hero-tab.active {
  color: var(--tt-hover);
  border-bottom-color: var(--tt-hover);
}
.hero-tab:hover { color: var(--tt-hover); }
.hero-tab i { margin-right: 6px; }
.hero-tab-news { --tab-accent: #3fa7d6; }
.hero-tab-rank { --tab-accent: #c9a43a; }
.hero-tab-news i,
.hero-tab-rank i { color: var(--tab-accent); }
.hero-tab-news.active,
.hero-tab-news:hover,
.hero-tab-rank.active,
.hero-tab-rank:hover {
  color: var(--tab-accent);
  border-bottom-color: var(--tab-accent);
}
.hero-tab-news:hover:not(.active),
.hero-tab-rank:hover:not(.active) { border-bottom-color: transparent; }
.hero-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-panel > *,
.rank-list > li {
  transition: opacity .28s ease, transform .28s ease;
}
.anim-out-x { opacity: 0; transform: translateX(-40px); }
.anim-pre-x { opacity: 0; transform: translateX(40px); transition: none !important; }
.anim-out-y { opacity: 0; transform: translateY(-20px); }
.anim-pre-y { opacity: 0; transform: translateY(20px); transition: none !important; }
.hero-side { overflow: hidden; }
.hero-panel[hidden],
.rank-list[hidden] { display: none; }
.rank-periods {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-ui);
}
.hero-rank-periods {
  position: absolute;
  right: 0;
  bottom: 8px;
  gap: 6px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.hero-rank-periods.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s ease, transform .35s ease, visibility 0s;
}
.hero-rank-periods .rank-period { padding: 2px 10px; font-size: 11px; white-space: nowrap; }
.side-head:has(.side-rank-periods) { align-items: center; }
.side-rank-periods { gap: 6px; margin: 0; flex-shrink: 0; }
.side-rank-periods .rank-period { padding: 2px 10px; font-size: 11px; white-space: nowrap; }
.rank-period {
  padding: 4px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--tt-gray-dark);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.rank-period.active {
  color: #3d3210;
  background: #d8b85a;
  border-color: #d8b85a;
}
.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rank;
}
.rank-list li {
  position: relative;
  counter-increment: rank;
}
.rank-list li::before {
  content: counter(rank);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  color: #5a4a1a;
  background: #ece0b4;
}
.rank-list li:nth-child(-n+3)::before { color: #3d3210; background: #d8b85a; }
@media (prefers-reduced-motion: reduce) {
  .hero-panel > *, .rank-list > li { transition: none; }
}

/* Feature Band */
.feature-band {
  background: linear-gradient(135deg, #055a8b 0%, #122648 100%);
  padding: 48px 0;
  margin-bottom: 24px;
}
.feature-band .card-feature { background: #fff; height: 100%; }
.feature-band .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.feature-carousel { position: relative; }
.feature-track {
  --feature-gap: 24px;
  --feature-per: 4;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--feature-gap) * (var(--feature-per) - 1)) / var(--feature-per));
  column-gap: var(--feature-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.feature-track::-webkit-scrollbar { display: none; }
.feature-item { scroll-snap-align: start; min-width: 0; }
.feature-nav {
  position: absolute;
  top: 34%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 15px;
  color: #122648;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.feature-nav:hover { transform: scale(1.08); background: #eaf4fb; }
.feature-prev { left: -4px; }
.feature-next { right: -4px; }
@media (max-width: 1024px) { .feature-track { --feature-per: 2; } }
@media (max-width: 640px) {
  .feature-band { padding: 28px 0; }
  .feature-track { --feature-gap: 10px; }
  .feature-band .card-feature .card-body { padding: 10px 10px 12px; }
  .feature-band .card-feature .card-title { font-size: 13.5px; line-height: 1.45; }
  .feature-band .card-feature .card-date { font-size: 11px; }
  .feature-nav { width: 34px; height: 34px; font-size: 13px; top: 22%; }
  .feature-prev { left: 2px; }
  .feature-next { right: 2px; }
}

/* Main Columns */
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
  padding-top: 24px;
}

/* Cards */
.card { background: transparent; }
.card-link { display: block; color: inherit; }
.card-thumb {
  display: block;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--tt-extra-bg);
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.card-link:hover .card-thumb img { transform: scale(1.03); }
.card-title,
.side-list a {
  background-image:
    linear-gradient(90deg, var(--tt-hover) 0%, #8a4dff 55%, #e0457b 100%),
    linear-gradient(var(--tt-primary), var(--tt-primary));
  background-size: 0% 100%, 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-size .45s cubic-bezier(.25, .8, .25, 1);
}
.card-link:hover .card-title,
.card-link:focus-visible .card-title,
.side-list a:hover,
.side-list a:focus-visible {
  background-size: 100% 100%, 100% 100%;
}
@media (prefers-reduced-motion: reduce) {
  .card-title, .side-list a { transition: none; }
}
.card-body { display: block; padding: 14px 0 0; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--tt-gray-dark);
  margin-bottom: 6px;
}
.card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.38;
  color: var(--tt-primary);
}
.card-excerpt {
  display: block;
  margin-top: 10px;
  color: var(--tt-gray-dark);
  font-size: 15px;
  line-height: 1.65;
}

/* Hero Lead Card */
.card-hero .card-thumb { aspect-ratio: 16 / 10; }
.card-hero .card-body { padding: 18px 0 0; }
.card-hero .card-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.02em;
}
.card-hero .card-excerpt { font-size: 15px; margin-top: 12px; }

/* Hero Side Compact Cards (no borders, clean spacing like TownTalk) */
.card-small .card-link {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.card-small .card-thumb { aspect-ratio: 16 / 10; }
.card-small .card-body { padding: 0; }
.card-small .card-meta { margin-bottom: 4px; }
.card-small .card-meta time { display: none; }
.card-small .card-title { font-size: 16px; font-weight: 800; line-height: 1.35; }

/* Feature Band Cards */
.card-feature {
  background: var(--tt-extra-bg);
  display: flex;
  flex-direction: column;
}
.card-feature .card-body { padding: 16px 18px 20px; }
.card-feature .card-title { font-size: 16px; line-height: 1.4; }

/* Wide List Cards */
.list { display: flex; flex-direction: column; }
.card-wide {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.card-wide:first-child { padding-top: 0; }
.card-wide .card-link {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.card-wide .card-thumb { aspect-ratio: 16 / 10; }
.card-wide .card-body { padding: 2px 0 0; }
.card-wide .card-title { font-size: 20px; line-height: 1.38; }

/* Cards without thumbnail */
.card-wide.card-no-thumb .card-link,
.card-small.card-no-thumb .card-link {
  grid-template-columns: 1fr;
}
.card-wide.card-no-thumb .card-body {
  padding: 0;
}
.grid .card.card-no-thumb {
  display: flex;
  flex-direction: column;
  background: var(--tt-extra-bg);
  border-top: 2px solid var(--tt-primary);
  padding: 18px 20px;
}
.grid .card.card-no-thumb .card-body {
  padding: 0;
}
.grid .card.card-no-thumb .card-excerpt {
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Grids */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.list-top { margin-bottom: 28px; }
.list-top .card-feature .card-title { font-size: 18px; }
.list-top + .list .card-wide:first-child { padding-top: 22px; border-top: 1px solid var(--line); }
.main-col > .list-text { margin-top: 32px; gap: 0 32px; }
.list-text .card.card-no-thumb { background: transparent; border-top: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
.main-col > .list-text:first-child { margin-top: 0; }

/* Sidebar */
.side-block { margin-bottom: 40px; }
.side-list { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.side-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: item;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0 10px;
}
.side-list li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--tt-accent);
  line-height: 1.4;
  grid-row: span 2;
}
.side-list li:first-child { padding-top: 0; }
.side-list li:last-child { border-bottom: 0; }
.side-list a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--tt-primary);
}
.side-list a:hover { color: var(--tt-hover); }
.side-list time {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--tt-gray-dark);
  margin-top: 4px;
}
.side-cards { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 22px; }
.side-card { position: relative; display: block; background: #fff; border: 1px solid var(--line); color: var(--tt-primary); }
.side-card-badge {
  position: absolute;
  top: -12px;
  left: -8px;
  z-index: 2;
  font-size: 26px;
  line-height: 1;
  color: #e84393;
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}
.side-card-thumb { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.side-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.side-card:hover .side-card-thumb img { transform: scale(1.04); }
.side-card-body { display: block; padding: 14px 16px 16px; }
.side-card-title { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.5; }
.side-card:hover .side-card-title { color: var(--tt-hover); }
.side-ranking .side-title i { margin-right: 6px; color: #c9a43a; }
@media (prefers-reduced-motion: reduce) { .side-card-thumb img { transition: none; } }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tags a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f3f5;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #2b2f36;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.tags a i { font-size: 11px; color: #8a919c; transition: color .15s ease; }
.tags a:hover {
  background: var(--tt-primary);
  color: #ffffff;
}
.tags a:hover i { color: rgba(255, 255, 255, .75); }
.entry-tags-top { margin: 14px 0 0; gap: 6px; }
.entry-tags-top a { padding: 5px 11px; font-size: 12px; }
.tags-large a { padding: 8px 15px; font-size: 14px; }
.tags small { color: var(--tt-gray-dark); margin-left: 4px; }
.tags a:hover small { color: #d4d4d4; }

/* List Pages */
.list-header {
  padding: 36px 0 22px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--tt-primary);
}
.list-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.kicker {
  margin: 0 0 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tt-hover);
}
.search-large { display: flex; gap: 0; max-width: 580px; margin: 18px 0 8px; border: 2px solid var(--tt-primary); }
.search-large input { flex: 1; padding: 11px 14px; border: 0; font: inherit; font-size: 15px; }
.search-large input:focus { outline: none; }
.search-large button {
  padding: 0 24px;
  border: 0;
  background: var(--tt-primary);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.search-large button:hover { background: var(--tt-hover); }
.muted { color: var(--tt-gray-dark); }
.empty { padding: 48px 0; text-align: center; color: var(--tt-gray-dark); }

/* Pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
}
.pager a, .pager .is-current {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--tt-primary);
  font-size: 14px;
  font-weight: 700;
}
.pager a:hover { border-color: var(--tt-primary); background: var(--tt-extra-bg); color: var(--tt-primary); }
.pager .is-current { background: var(--tt-primary); color: #fff; border-color: var(--tt-primary); }
.pager .gap { padding: 0 4px; color: var(--tt-gray-dark); }

/* Article Detail */
.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--tt-gray-dark);
  padding: 24px 0 0;
}
.crumbs a { color: var(--tt-gray-dark); }
.crumbs a:hover { color: var(--tt-hover); }
.preview-note {
  background: #fffbeb;
  border: 1px solid var(--tt-accent);
  color: #78350f;
  padding: 10px 14px;
  margin: 16px 0 0;
  font-size: 14px;
}

.entry { padding: 0; }
.wrap.narrow .entry { padding-top: 28px; }
.entry-header {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.entry-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--tt-gray-dark);
}
.entry-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--tt-primary);
}
.entry-author {
  margin: 12px 0 0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--tt-gray-dark);
}
.entry-author i { margin-right: 6px; }
.entry-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
.entry-byline .entry-meta { flex-wrap: wrap; gap: 4px 16px; }
.entry-byline .entry-meta,
.entry-byline .entry-author,
.entry-byline .entry-tags-top { margin: 0; }
.entry-byline .entry-tags-top { margin-left: auto; justify-content: flex-end; }
.entry-eyecatch { margin: 0 0 28px; }
.entry-eyecatch img { width: 100%; }

.entry-body { font-size: 17px; line-height: 1.9; color: #1a1a1a; overflow-wrap: anywhere; line-break: strict; }
.entry-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin: 1.9em 0 .7em;
  padding-left: 14px;
  border-left: 4px solid var(--tt-accent);
  line-height: 1.35;
}
.entry-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 1.5em 0 .6em; }
.entry-body p { margin: 0 0 1.25em; }
.entry-body a { color: var(--tt-hover); text-decoration: underline; text-underline-offset: 3px; }
.entry-body a:hover { color: var(--tt-primary); }
.entry-body img { margin: 1.2em auto; }
.entry-body .is-lightbox-trigger { cursor: zoom-in; }
.entry-body a.is-lightbox-trigger { display: inline-block; }
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, .9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
}
.img-lightbox[hidden] { display: none; }
.img-lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  gap: 12px;
}
.img-lightbox-img {
  max-width: min(1200px, calc(100vw - 128px));
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  background: #111827;
}
.img-lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: min(900px, 90vw);
  color: rgba(255, 255, 255, .92);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.img-lightbox-count {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .68);
  font-variant-numeric: tabular-nums;
}
.img-lightbox-close,
.img-lightbox-nav {
  position: fixed;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease;
}
.img-lightbox-close:hover,
.img-lightbox-nav:hover { background: rgba(255, 255, 255, .28); }
.img-lightbox-close {
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}
.img-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 56px;
  border-radius: 10px;
  font-size: 32px;
  line-height: 1;
}
.img-lightbox-nav[hidden] { display: none; }
.img-lightbox-prev { left: 16px; }
.img-lightbox-next { right: 16px; }
@media (max-width: 720px) {
  .img-lightbox { padding: 56px 14px 24px; }
  .img-lightbox-img { max-width: calc(100vw - 28px); max-height: calc(100vh - 140px); }
  .img-lightbox-nav { width: 36px; height: 46px; font-size: 26px; }
  .img-lightbox-prev { left: 8px; }
  .img-lightbox-next { right: 8px; }
}
.entry-body figure { margin: 1.4em 0; padding: 10px; background: #f9f9f9; text-align: center; }
.entry-body figure img { margin: auto; }
.entry-body figcaption { margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; color: #333; text-align: left; }
.entry-body cite { display: block; margin-top: 4px; font-size: 11px; font-style: italic; text-align: right; color: #666; }
.entry-body cite::before { content: '引用･出典元：'; }
.entry-body cite a { color: #999; text-decoration: none; }
.entry-body cite a:hover { text-decoration: underline; }
.entry-body div[data-type="copyright"] { margin-top: 1.4em; padding: 10px 0; border-top: 1px dotted #ccc; }
.entry-body div[data-type="copyright"] small { display: block; font-size: 10px; line-height: 1.5; color: #666; }
.entry-body blockquote {
  margin: 1.4em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--tt-primary);
  background: var(--tt-extra-bg);
  color: #333;
}
.entry-body blockquote.twitter-tweet {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #ffffff;
  font-size: 14px;
}
.entry-body ul, .entry-body ol { padding-left: 1.5em; margin: 0 0 1.25em; }
.entry-body li { margin-bottom: .4em; }
.entry-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.entry-body th, .entry-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-body th { background: var(--tt-extra-bg); font-weight: 700; }
.entry-body iframe { max-width: 100%; border: 0; aspect-ratio: 16 / 9; width: 100%; height: auto; }

.entry-source {
  margin: 24px 0 0;
  padding: 12px 16px;
  background: var(--tt-extra-bg);
  border-left: 3px solid var(--tt-primary);
  font-size: 14px;
  color: var(--muted);
}
.entry-source a { color: var(--tt-hover); font-weight: 700; }
.source-picks {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 16px 0 0;
  padding: 18px 20px;
  background: var(--tt-extra-bg);
}
.source-picks-logo { flex: 0 0 auto; display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--tt-border, #e5e5e5); }
.source-picks-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.source-picks-body { flex: 1 1 auto; min-width: 0; }
.source-picks-name { display: inline-block; margin-bottom: 4px; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--tt-primary); }
.source-picks-name:hover { color: var(--tt-hover); }
.source-picks-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.source-picks-list li { min-width: 0; border-bottom: 1px dashed var(--tt-border, #d9d9d9); }
.source-picks-list li:last-child,
.source-picks-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.source-picks-list a { display: block; padding: 7px 0; font-size: 14px; line-height: 1.5; color: var(--tt-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.source-picks-list a:hover { color: var(--tt-hover); }
@media (max-width: 640px) {
  .source-picks { gap: 12px; padding: 14px 16px; }
  .source-picks-logo { width: 56px; height: 56px; }
  .source-picks-name { font-size: 16px; }
  .source-picks-list { grid-template-columns: 1fr; }
  .source-picks-list li:nth-last-child(2):nth-child(odd) { border-bottom: 1px dashed var(--tt-border, #d9d9d9); }
  .source-picks-list a { white-space: normal; }
}
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.share-bar-top {
  margin-top: 16px;
}
.share-bar-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.share-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--tt-gray-dark);
  letter-spacing: .04em;
}
.share-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #374151;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}
.share-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  flex: 0 0 auto;
}
.share-btn:hover {
  transform: translateY(-1px);
  color: #fff;
}
.share-facebook:hover { background: #1877F2; border-color: #1877F2; }
.share-threads:hover { background: #000; border-color: #000; }
.share-x:hover { background: #000; border-color: #000; }
.share-linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.share-bluesky:hover { background: #0085FF; border-color: #0085FF; }
.share-whatsapp:hover { background: #25D366; border-color: #25D366; }
.share-messenger:hover { background: #0084FF; border-color: #0084FF; }
.share-copy { font-size: 15px; }
.share-copy .icon-check { display: none; }
.share-copy:hover {
  background: #111827;
  border-color: #111827;
}
.share-copy.is-copied {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.share-copy.is-copied .icon-link { display: none; }
.share-copy.is-copied .icon-check { display: block; }
.entry-tags { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.entry-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.entry-adjacent a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.entry-adjacent a:hover { border-color: var(--tt-primary); color: var(--tt-hover); }
.entry-adjacent span {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--tt-gray-dark);
  margin-bottom: 4px;
}
.entry-adjacent .next { text-align: right; }
.related { margin-top: 44px; }
.related .grid { margin-top: 20px; }
.related-links { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--line); }
.related-links li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.related-links a { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--tt-primary); text-decoration: none; }
.related-links a:hover { text-decoration: underline; }
.related-links time { font-size: 12px; color: var(--tt-gray-dark); }
@media (max-width: 720px) {
  .related-links { grid-template-columns: 1fr; }
}

/* Source Profile & Index */
.source-hero {
  margin: 20px 0 44px;
  border: 1px solid var(--line);
  background: #ffffff;
}
.source-cover {
  aspect-ratio: 1200 / 630;
  max-height: 420px;
  width: 100%;
  overflow: hidden;
  background: var(--tt-extra-bg);
}
.source-cover img { width: 100%; height: 100%; object-fit: cover; }
.source-profile {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px;
}
.source-profile.has-cover {
  padding-top: 24px;
}
.source-icon {
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}
.source-profile.has-cover .source-icon {
  margin-top: -56px;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
  position: relative;
  z-index: 2;
}
.source-icon img { width: 100%; height: 100%; object-fit: cover; }
.source-info { flex: 1; min-width: 0; }
.source-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--tt-gray-dark);
}
.source-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--tt-primary);
}
.source-desc {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
  max-width: 780px;
}
.source-actions { margin: 18px 0 0; }
.source-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid var(--tt-primary);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--tt-primary);
}
.source-site-btn:hover { background: var(--tt-primary); color: #ffffff; }

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.source-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
  transition: border-color .15s ease;
}
.source-card:hover { border-color: var(--tt-primary); color: inherit; }
.source-card-head { display: flex; align-items: center; gap: 16px; }
.source-card-icon, .source-card-initial {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.source-card-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tt-extra-bg);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--tt-primary);
}
.source-card-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--tt-primary);
  line-height: 1.3;
  margin-top: 2px;
}
.source-card:hover .source-card-head strong { color: var(--tt-hover); }
.source-card-head small { display: block; font-size: 12px; color: var(--tt-gray-dark); margin-top: 2px; }
.source-card-desc { margin: 14px 0 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Dark Footer */
.site-footer {
  background: #000000;
  color: #d4d4d4;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 56px 32px 44px;
}
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { height: 56px; width: auto; }
.footer-desc {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: #a3a3a3;
  max-width: 440px;
}
.footer-social { display: flex; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.footer-social { gap: 6px; margin-left: -8px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: #d4d4d4; font-size: 18px; text-decoration: none; transition: color .15s ease; }
.footer-social a.is-facebook:hover { color: #1877f2; }
.footer-social a.is-x:hover { color: #ffffff; }
.footer-social a.is-rss:hover { color: #f26522; }
.footer-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tt-accent);
}
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #d4d4d4; font-size: 14px; }
.footer-nav a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  border-top: 1px solid #222222;
  padding: 18px 0;
}
.copyright { margin: 0; font-family: var(--font-ui); font-size: 12px; color: #888888; }

.error-box { text-align: center; padding: 56px 0 24px; }
.error-box h1 { margin: 0 0 10px; font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.button {
  display: inline-block;
  padding: 11px 26px;
  background: var(--tt-primary);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
}
.button:hover { background: var(--tt-hover); color: #fff; }

/* Responsive */
@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .columns { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .top-bar { display: none; }
  .header-inner { flex-wrap: wrap; padding: 10px 16px; min-height: 60px; gap: 12px; }
  .logo img { height: 36px; }
  .nav-button { display: flex; position: relative; }
  .nav-button span { transition: transform .3s ease, opacity .2s ease; }
  .nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 18px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    clip-path: inset(0 0 100% 0);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: clip-path .35s ease, transform .35s ease, opacity .25s ease, visibility 0s linear .35s;
  }
  .nav-toggle:checked ~ .global-nav {
    clip-path: inset(0 0 -40px 0);
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: clip-path .35s ease, transform .35s ease, opacity .25s ease, visibility 0s;
  }
  .global-nav a { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .search { margin: 16px 0 0; }
  .search input { width: 100%; flex: 1; }
  .grid, .grid-4, .source-grid { grid-template-columns: 1fr; }
  .source-profile { flex-direction: column; padding: 20px; gap: 16px; }
  .source-profile.has-cover .source-icon { margin-top: -44px; width: 84px; height: 84px; }
  .source-name { font-size: 26px; }
  .block-title { font-size: 24px; }
  .card-hero .card-title { font-size: 24px; }
  .hero-tabs { gap: 18px; }
  .card-wide .card-link { grid-template-columns: 1fr; gap: 12px; }
  .card-small .card-link { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
  .entry-title { font-size: 24px; }
  .list-header h1 { font-size: 26px; }
  .entry-adjacent { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 16px 28px; }
}
@media (max-width: 640px) {
  .hero-slide .card-hero .card-title { font-size: 20px; line-height: 1.42; -webkit-line-clamp: 3; line-clamp: 3; }
  .hero-tabs { gap: 12px; }
  .hero-tab { font-size: 13px; letter-spacing: 0; }
  .hero-tab i { margin-right: 4px; }
  .hero-rank-periods { gap: 4px; }
  .hero-rank-periods .rank-period { padding: 2px 7px; }
  .card-small .card-title { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}

.notfound { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 360px); padding: 72px 20px 88px; text-align: center; background: radial-gradient(60% 50% at 50% 0%, rgba(80, 75, 220, .08), transparent 70%), radial-gradient(40% 40% at 85% 90%, rgba(228, 164, 30, .10), transparent 70%); }
.notfound-inner { max-width: 620px; }
.notfound-code { margin: 0; font-family: var(--font-display); font-size: clamp(96px, 20vw, 180px); font-weight: 900; line-height: 1; letter-spacing: -.04em; background: linear-gradient(120deg, var(--tt-accent), var(--tt-hover)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound-title { margin: 12px 0 10px; font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.notfound-text { margin: 0 auto; color: var(--muted); font-size: 15px; line-height: 1.8; }
.notfound-search { display: flex; max-width: 460px; margin: 30px auto 0; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(17, 17, 17, .08); }
.notfound-search input { flex: 1; min-width: 0; padding: 10px 18px; border: 0; background: transparent; font: inherit; font-size: 15px; }
.notfound-search input:focus { outline: none; }
.notfound-search button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tt-primary); color: #fff; cursor: pointer; transition: background-color .15s ease; }
.notfound-search button:hover { background: var(--tt-hover); }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.notfound-links a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, color .15s ease, transform .12s ease; }
.notfound-links a:hover { border-color: var(--tt-hover); color: var(--tt-hover); transform: translateY(-1px); }
.notfound-links a.is-primary { border-color: var(--tt-primary); background: var(--tt-primary); color: #fff; }
.notfound-links a.is-primary:hover { border-color: var(--tt-hover); background: var(--tt-hover); color: #fff; }
