.page-news {
  --news-line: var(--edge);
  background: var(--ink);
  color: var(--mist);
  overflow-x: hidden;
}

.page-news .hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 88px);
}

.page-news .hero::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -20%;
  height: 58%;
  background: var(--ink-deep);
  transform: rotate(-8deg);
  transform-origin: center;
  z-index: 0;
}

.page-news .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(44, 64, 86, 0.4) 1px, transparent 1px);
  background-size: 90px 100%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.page-news .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 44px);
  align-items: center;
}

.page-news .hero-figure {
  order: 2;
}

.page-news .hero-text {
  order: 1;
  min-width: 0;
}

.page-news .hero-text .breadcrumb {
  margin-bottom: 18px;
}

.page-news .hero-text .breadcrumb a {
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}

.page-news .hero-text .breadcrumb a:hover {
  color: var(--celadon);
  border-bottom-color: var(--celadon);
}

.page-news .hero-text .breadcrumb span {
  color: var(--fog);
  opacity: 0.7;
}

.page-news .hero-issue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin: 0 0 14px;
}

.page-news .issue-mark {
  width: 7px;
  height: 7px;
  background: var(--amber);
  display: inline-block;
}

.page-news .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--paper);
  margin: 0 0 18px;
}

.page-news .hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
  margin: 0 0 22px;
  max-width: 42em;
}

.page-news .hero-meta {
  list-style: none;
  margin: 0 0 26px;
  padding: 15px 0 0;
  border-top: 1px solid var(--news-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.page-news .hero-meta li {
  position: relative;
  padding-left: 13px;
}

.page-news .hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--celadon);
}

.page-news .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-deep), var(--ink));
  box-shadow: var(--shadow-soft);
}

.page-news .figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .figure figcaption {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fog);
  padding: 10px 2px 0;
}

.page-news .news-fig-32 {
  aspect-ratio: 3 / 2;
}

.page-news .news-fig-107 {
  aspect-ratio: 10 / 7;
}

.page-news .news-fig-32 figcaption,
.page-news .news-fig-107 figcaption {
  position: static;
}

.page-news .latest {
  background: var(--ink-deep);
  border-block: 1px solid var(--edge);
}

.page-news .latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 48px);
  align-items: start;
}

.page-news .latest-aside {
  min-width: 0;
}

.page-news .change-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .change {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--edge);
}

.page-news .change:last-child {
  border-bottom: 1px solid var(--edge);
}

.page-news .change-no {
  font-size: 15px;
  color: var(--amber);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.page-news .change-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.page-news .change-body p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--mist);
  margin: 0 0 12px;
}

.page-news .change-link {
  display: inline-block;
  font-size: 14px;
  color: var(--celadon);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 191, 160, 0.45);
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
}

.page-news .change-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.page-news .logs {
  background: var(--ink);
}

.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--edge);
}

.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.page-news .filter-chip {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 7px 13px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  user-select: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.page-news .filter-chip:hover {
  border-color: var(--amber);
  color: var(--paper);
}

.page-news .chip-count {
  margin-left: 7px;
  font-size: 11px;
  opacity: 0.7;
}

.page-news .filter-input:checked + .filter-chip {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.page-news .filter-input:focus-visible + .filter-chip {
  outline: 2px solid var(--celadon);
  outline-offset: 2px;
}

.page-news .notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .notice {
  display: block;
  border-bottom: 1px solid rgba(44, 64, 86, 0.7);
}

.page-news .notice summary {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 12px;
  grid-template-areas:
    "no tag caret"
    "no title title"
    "no time time";
  gap: 6px 14px;
  align-items: baseline;
  padding: 18px 12px 18px 14px;
  cursor: pointer;
  list-style: none;
  transition: background 0.18s;
}

.page-news .notice summary::-webkit-details-marker {
  display: none;
}

.page-news .notice summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: transparent;
  transition: background 0.2s;
}

.page-news .notice summary:hover {
  background: rgba(19, 41, 61, 0.55);
}

.page-news .notice summary:hover::before,
.page-news .notice details[open] summary::before {
  background: var(--amber);
}

.page-news .notice-no {
  grid-area: no;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--fog);
  transition: color 0.2s;
}

.page-news .notice summary:hover .notice-no,
.page-news .notice details[open] .notice-no {
  color: var(--amber);
}

.page-news .notice-tag {
  grid-area: tag;
  justify-self: start;
  font-size: 11.5px;
  line-height: 1.6;
  padding: 1px 9px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  color: var(--mist);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.page-news .notice[data-kind="version"] .notice-tag {
  color: #FFBC8C;
  border-color: rgba(255, 138, 61, 0.45);
  background: rgba(255, 138, 61, 0.12);
}

.page-news .notice[data-kind="feature"] .notice-tag {
  color: #86D9C2;
  border-color: rgba(79, 191, 160, 0.42);
  background: rgba(79, 191, 160, 0.12);
}

.page-news .notice[data-kind="content"] .notice-tag {
  color: #C3CFDA;
  border-color: rgba(195, 207, 218, 0.32);
  background: rgba(195, 207, 218, 0.1);
}

.page-news .notice[data-kind="feedback"] .notice-tag {
  color: #E3A184;
  border-color: rgba(196, 105, 74, 0.5);
  background: rgba(196, 105, 74, 0.16);
}

.page-news .notice[data-kind="desktop"] .notice-tag {
  color: #9FC4B8;
  border-color: rgba(79, 191, 160, 0.28);
  background: rgba(79, 191, 160, 0.07);
}

.page-news .notice-title {
  grid-area: title;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--paper);
}

.page-news .notice-time {
  grid-area: time;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--fog);
}

.page-news .notice-caret {
  grid-area: caret;
  justify-self: end;
  align-self: center;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--fog);
  border-bottom: 1.5px solid var(--fog);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.page-news .notice details[open] .notice-caret {
  transform: rotate(-135deg);
  border-color: var(--amber);
}

.page-news .notice-body {
  padding: 2px 16px 20px 60px;
  border-left: 2px solid rgba(255, 138, 61, 0.35);
  margin-left: 0;
}

.page-news .notice-body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
  margin: 0 0 10px;
}

.page-news .notice-link {
  font-size: 13.5px;
  color: var(--celadon);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 191, 160, 0.45);
  padding-bottom: 1px;
}

.page-news .notice-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.page-news .notice-divider {
  display: block;
  margin: 6px 0;
  padding: 9px 14px;
  background: var(--ink-deep);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.page-news .notice-divider span {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fog);
}

.page-news .back-latest {
  margin: 26px 0 0;
}

.page-news .kinds {
  background: var(--paper);
  color: var(--ink-text);
}

.page-news .kinds-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 42px);
  align-items: start;
}

.page-news .kinds .chapter-kicker {
  color: var(--clay);
}

.page-news .kinds .chapter-title {
  color: var(--ink-text);
}

.page-news .kinds:not(.is-active) .chapter-no {
  color: rgba(20, 33, 46, 0.25);
}

.page-news .kinds-lead {
  font-size: 15.5px;
  line-height: 1.85;
  color: #3B4C5C;
  margin: 0 0 24px;
  max-width: 40em;
}

.page-news .kind-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .kind {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--hair-line);
}

.page-news .kind:last-child {
  border-bottom: 1px solid var(--hair-line);
}

.page-news .kind .tag {
  justify-self: start;
  font-size: 12px;
  line-height: 1.6;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(20, 33, 46, 0.16);
  background: rgba(20, 33, 46, 0.06);
  color: var(--ink-text);
  white-space: nowrap;
}

.page-news .kind[data-kind="version"] .tag {
  background: rgba(255, 138, 61, 0.18);
  border-color: rgba(180, 88, 30, 0.35);
  color: #8A4412;
}

.page-news .kind[data-kind="feature"] .tag {
  background: rgba(79, 191, 160, 0.18);
  border-color: rgba(31, 122, 99, 0.35);
  color: #1F7A63;
}

.page-news .kind[data-kind="feedback"] .tag {
  background: rgba(196, 105, 74, 0.18);
  border-color: rgba(140, 65, 40, 0.35);
  color: #8C4128;
}

.page-news .kind[data-kind="desktop"] .tag {
  background: rgba(147, 165, 181, 0.26);
  border-color: rgba(44, 64, 86, 0.28);
  color: #2C4056;
}

.page-news .kind p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #3B4C5C;
  margin: 0;
}

.page-news .kind p strong {
  color: var(--ink-text);
  font-weight: 600;
}

.page-news .kinds-figure figcaption {
  color: #6C7A88;
}

.page-news .kinds .figure {
  border-color: var(--hair-line);
  box-shadow: 0 1px 0 var(--hair-line), 0 18px 30px -28px rgba(20, 33, 46, 0.6);
}

.page-news .versions {
  background: var(--ink);
}

.page-news .versions-lead {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--mist);
  margin: 0 0 26px;
  max-width: 42em;
}

.page-news .ver-group {
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: rgba(19, 41, 61, 0.45);
  overflow: hidden;
}

.page-news .ver-group summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  transition: background 0.18s;
}

.page-news .ver-group summary::-webkit-details-marker {
  display: none;
}

.page-news .ver-group summary:hover {
  background: rgba(255, 138, 61, 0.08);
}

.page-news .ver-tag {
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.page-news .ver-range {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-news .ver-note {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--fog);
  margin-left: auto;
}

.page-news .ver-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--edge);
}

.page-news .ver-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-news .ver-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--fog);
  font-weight: 400;
  padding: 11px 18px;
  border-bottom: 1px solid var(--edge);
  white-space: nowrap;
}

.page-news .ver-table td {
  padding: 12px 18px;
  color: var(--mist);
  line-height: 1.7;
  border-bottom: 1px solid rgba(44, 64, 86, 0.55);
}

.page-news .ver-table td.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper);
  white-space: nowrap;
}

.page-news .ver-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.035);
}

.page-news .ver-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-news .follow {
  background: var(--ink-deep);
  border-top: 1px solid var(--edge);
}

.page-news .follow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 46px);
  align-items: start;
}

.page-news .follow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .follow-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--edge);
}

.page-news .follow-list li:last-child {
  border-bottom: 1px solid var(--edge);
}

.page-news .follow-no {
  font-size: 14px;
  color: var(--celadon);
  line-height: 1.6;
}

.page-news .follow-list h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 7px;
}

.page-news .follow-list p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
  margin: 0 0 10px;
}

.page-news .follow-link {
  font-size: 13.5px;
  color: var(--celadon);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 191, 160, 0.45);
  padding-bottom: 1px;
}

.page-news .follow-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

@media (min-width: 720px) {
  .page-news .notice summary {
    grid-template-columns: 56px max-content minmax(0, 1fr) max-content 12px;
    grid-template-areas: "no tag title time caret";
    align-items: center;
    gap: 14px;
    padding: 20px 18px 20px 18px;
  }

  .page-news .notice-no {
    font-size: 22px;
  }

  .page-news .notice-body {
    padding: 2px 24px 22px 92px;
  }

  .page-news .kind {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

@media (min-width: 880px) {
  .page-news .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-news .hero-figure {
    order: 1;
  }

  .page-news .hero-text {
    order: 2;
  }

  .page-news .latest-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    justify-content: space-between;
  }

  .page-news .kinds-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    justify-content: space-between;
  }

  .page-news .follow-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .notice summary,
  .page-news .notice-no,
  .page-news .notice-caret,
  .page-news .filter-chip {
    transition: none;
  }
}

@supports (selector(:has(*))) {
  .page-news .notice-list .notice {
    display: none;
  }

  .page-news .notice-board:has(#f-all:checked) .notice-list .notice {
    display: block;
  }

  .page-news .notice-board:has(#f-version:checked) .notice-list .notice[data-kind="version"],
  .page-news .notice-board:has(#f-feature:checked) .notice-list .notice[data-kind="feature"],
  .page-news .notice-board:has(#f-content:checked) .notice-list .notice[data-kind="content"],
  .page-news .notice-board:has(#f-feedback:checked) .notice-list .notice[data-kind="feedback"],
  .page-news .notice-board:has(#f-desktop:checked) .notice-list .notice[data-kind="desktop"] {
    display: block;
  }

  .page-news .notice-board:has(.filter-input:checked) .notice-list .notice-divider {
    display: none;
  }

  .page-news .notice-board:has(#f-all:checked) .notice-list .notice-divider {
    display: block;
  }
}
