:root {
  --bg: #f6f1e8;
  --bg-soft: #fffaf2;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #fffdf8;
  --line: rgba(25, 48, 66, 0.12);
  --line-strong: rgba(25, 48, 66, 0.22);
  --text: #193042;
  --muted: #63727d;
  --accent: #197a6c;
  --accent-deep: #244b72;
  --accent-warm: #d97a34;
  --accent-soft: #f0ddbb;
  --accent-rose: #d96d5f;
  --shadow: 0 24px 48px rgba(25, 48, 66, 0.09);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.68;
  background:
    radial-gradient(circle at top left, rgba(25, 122, 108, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(217, 122, 52, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0) 220px),
    linear-gradient(180deg, #fffaf2 0%, #f6f1e8 54%, #fff8ef 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.page-shell,
.compact-shell {
  padding-top: 28px;
}

.compact-shell {
  width: min(1080px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.88);
  backdrop-filter: blur(16px);
}

.header-shell {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-logo::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm), var(--accent-deep));
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  padding-bottom: 92px;
}

.mosaic-stage,
.palette-section,
.digest-section,
.author-library {
  margin-top: 56px;
}

.section-heading {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm), transparent);
}

.section-heading-split {
  align-items: end;
}

.section-heading h1,
.section-heading h2,
.author-copy h1,
.story-title {
  margin: 0;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  max-width: 14ch;
}

.section-heading h2 {
  font-size: clamp(1.36rem, 2.2vw, 2.08rem);
}

.section-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-kicker-inline {
  margin-bottom: 10px;
}

.section-note {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.section-heading-compact h2 {
  font-size: 1.22rem;
}

.page-title-block {
  margin-bottom: 22px;
}

.archive-head {
  justify-content: center;
  text-align: center;
}

.archive-head::after {
  left: 50%;
  transform: translateX(-50%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--accent-deep);
}

.chip-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-track a,
.chip-track span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(36, 75, 114, 0.07);
  border: 1px solid rgba(36, 75, 114, 0.14);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chip-track a:hover {
  border-color: rgba(217, 122, 52, 0.28);
  color: var(--accent-warm);
}

.chip-track-light a,
.chip-track-light span {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.main-column,
.side-column {
  min-width: 0;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.mosaic-item,
.digest-card,
.stream-card,
.side-panel,
.story-sheet,
.share-rack,
.form-sheet,
.related-card,
.author-sheet,
.author-card,
.single-sheet,
.archive-item,
.palette-card,
.switch-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mosaic-item,
.digest-card,
.stream-card,
.side-panel,
.story-sheet,
.form-sheet,
.related-card,
.author-card,
.single-sheet,
.archive-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 248, 239, 0.9) 100%);
}

.mosaic-item,
.digest-card,
.stream-card,
.related-card,
.author-card,
.single-sheet,
.story-sheet,
.author-sheet {
  border-radius: var(--radius);
}

.mosaic-item {
  overflow: hidden;
}

.mosaic-item-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mosaic-item-lead {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(233, 245, 241, 0.9));
}

.mosaic-item-media img,
.digest-media img,
.stream-media img,
.related-media img,
.author-card-media img,
.author-photo img,
.editor-aside-media img,
.profile-band-media img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mosaic-item-media {
  overflow: hidden;
  background: #dce6ea;
  aspect-ratio: 4 / 3;
}

.mosaic-item-lead .mosaic-item-media {
  aspect-ratio: 4 / 2.85;
}

.mosaic-item-body,
.digest-body,
.related-body,
.author-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px 18px 20px;
}

.digest-meta,
.stream-meta,
.story-meta-row {
  display: flex;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.digest-meta {
  flex-wrap: wrap;
}

.digest-meta-light {
  color: var(--accent-deep);
}

.mosaic-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mosaic-item-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 122, 108, 0.15), rgba(217, 122, 52, 0.18));
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.mosaic-item-title,
.digest-card h3,
.stream-title,
.related-card h3,
.author-card h3,
.archive-item h2 {
  margin: 0;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.mosaic-item-title,
.related-card h3,
.author-card h3 {
  font-size: 1.12rem;
}

.mosaic-item-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mosaic-item-lead .mosaic-item-title {
  font-size: clamp(1.72rem, 2.6vw, 2.7rem);
  line-height: 1.06;
}

.mosaic-item-lead .mosaic-item-title a {
  -webkit-line-clamp: 3;
}

.mosaic-item-feature .mosaic-item-title {
  font-size: 1.24rem;
}

.mosaic-item-feature .mosaic-item-title a {
  -webkit-line-clamp: 3;
}

.mosaic-item-compact .mosaic-item-title {
  font-size: 1rem;
  line-height: 1.22;
}

.mosaic-item-compact .mosaic-item-title a {
  -webkit-line-clamp: 3;
}

.mosaic-item-brief,
.digest-body p,
.stream-brief,
.related-card p,
.author-card p,
.profile-band-body p,
.author-copy p,
.share-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.mosaic-item-lead .mosaic-item-brief {
  font-size: 1rem;
  line-height: 1.78;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mosaic-item-feature .mosaic-item-brief {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mosaic-item-compact .digest-meta {
  padding-top: 12px;
}

.fresh-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.fresh-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 248, 239, 0.92) 100%);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.fresh-card-lead {
  grid-column: span 6;
  grid-row: span 2;
}

.fresh-card-media {
  display: block;
  overflow: hidden;
  background: #dce6ea;
  aspect-ratio: 4 / 3;
}

.fresh-card-lead .fresh-card-media {
  aspect-ratio: 4 / 2.7;
}

.fresh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.fresh-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px 18px 20px;
  color: var(--text);
}

.fresh-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fresh-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 122, 108, 0.12), rgba(217, 122, 52, 0.18));
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.fresh-card-title {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.fresh-card-title a {
  display: -webkit-box;
  color: inherit;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fresh-card-lead .fresh-card-title {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
}

.fresh-card-lead .fresh-card-title a {
  -webkit-line-clamp: 3;
}

.fresh-card-feature .fresh-card-title {
  font-size: 1.18rem;
}

.fresh-card-feature .fresh-card-title a {
  -webkit-line-clamp: 3;
}

.fresh-card-compact .fresh-card-title {
  font-size: 1rem;
}

.fresh-card-compact .fresh-card-title a {
  -webkit-line-clamp: 3;
}

.fresh-card-brief {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fresh-card-lead .fresh-card-brief {
  font-size: 1rem;
  -webkit-line-clamp: 4;
}

.fresh-card-feature .fresh-card-brief {
  font-size: 0.95rem;
  -webkit-line-clamp: 4;
}

.fresh-card-compact .fresh-card-brief {
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
}

.fresh-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fresh-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 122, 52, 0.24);
}

.fresh-card:hover img {
  transform: scale(1.05);
}

.fresh-card-title a:hover {
  color: var(--accent-warm);
}

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

.palette-card {
  display: grid;
  gap: 10px;
  min-height: 138px;
  padding: 20px;
  border-radius: 22px;
  color: #173140;
}

.palette-card strong {
  font-size: 1.06rem;
  line-height: 1.32;
}

.palette-count {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.palette-tone-1 {
  background: linear-gradient(135deg, rgba(25, 122, 108, 0.18), rgba(255, 255, 255, 0.96));
}

.palette-tone-2 {
  background: linear-gradient(135deg, rgba(217, 122, 52, 0.18), rgba(255, 255, 255, 0.96));
}

.palette-tone-3 {
  background: linear-gradient(135deg, rgba(36, 75, 114, 0.16), rgba(255, 255, 255, 0.96));
}

.palette-tone-4 {
  background: linear-gradient(135deg, rgba(240, 221, 187, 0.72), rgba(255, 255, 255, 0.96));
}

.palette-tone-5 {
  background: linear-gradient(135deg, rgba(217, 109, 95, 0.16), rgba(255, 255, 255, 0.96));
}

.palette-tone-6 {
  background: linear-gradient(135deg, rgba(25, 122, 108, 0.1), rgba(36, 75, 114, 0.12), rgba(255, 255, 255, 0.96));
}

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

.digest-card {
  overflow: hidden;
}


.digest-media {
  aspect-ratio: 4 / 3;
}

.digest-card h3 {
  font-size: 1.28rem;
}

.digest-card img {
  height: 230px;
}

.digest-body {
  min-width: 0;
}

.digest-meta,
.stream-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stream-list {
  display: grid;
  gap: 18px;
}

.stream-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.stream-media {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
}

.stream-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.stream-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.stream-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(25, 122, 108, 0.14);
  background: rgba(25, 122, 108, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.stream-title {
  font-size: 1.42rem;
}

.side-stack {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 18px;
}

.side-panel {
  position: relative;
  padding: 22px;
  border-radius: 22px;
}

.side-panel::before,
.story-sheet::before,
.form-sheet::before,
.author-sheet::before,
.single-sheet::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 78px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.story-sheet::before,
.author-sheet::before,
.single-sheet::before {
  left: 30px;
}

.side-panel-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.side-panel-head h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 900;
}

.side-links,
.side-story-list {
  display: grid;
  gap: 12px;
}

.side-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.side-link span {
  color: var(--accent-warm);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.side-link strong {
  font-size: 0.96rem;
  line-height: 1.3;
}

.side-story {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.side-story:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.side-story time {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-aside {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.editor-aside-media {
  display: block;
  width: 84px;
  height: 84px;
  padding: 5px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
}

.editor-aside-media img {
  border-radius: 16px;
}

.editor-aside-copy h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 900;
}

.editor-aside-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.story-sheet,
.author-sheet,
.single-sheet {
  position: relative;
  padding: 30px;
}

.story-title {
  font-size: clamp(1rem, 2vw, 2.5rem);
}

.story-meta-row {
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  overflow-x: auto;
  white-space: nowrap;
}

.story-author-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(36, 75, 114, 0.15);
  background: rgba(36, 75, 114, 0.08);
  color: var(--accent-deep);
}

.story-author-pill img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.article-content {
  margin-top: 28px;
  font-size: 0.985rem;
  letter-spacing: 0.2px;
  color: #171717;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: normal;
}

.article-content p {
  margin: 0 0 1.2em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.6em 0 0.65em;
  color: var(--text);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.article-content h2 {
  font-size: 1.72rem;
}

.article-content h3 {
  font-size: 1.34rem;
}

.article-content h4 {
  font-size: 1.12rem;
}

.article-content a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

.article-content blockquote {
  margin: 1.6em 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent-warm);
  background: rgba(217, 122, 52, 0.08);
}

.article-content img {
  height: auto;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.profile-band {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.profile-band-media {
  display: block;
  width: 116px;
  height: 116px;
  overflow: hidden;
  border-radius: 20px;
}

.profile-band-body h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
}

.share-rack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(25, 122, 108, 0.09), rgba(255, 255, 255, 0.9), rgba(217, 122, 52, 0.12));
}

.share-copy span {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.share-btn,
.submit-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(25, 122, 108, 0.16);
}

.switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.switch-card {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.switch-card span {
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.switch-card strong {
  line-height: 1.34;
}

.form-sheet,
.related-block {
  margin-top: 28px;
}

.form-sheet {
  position: relative;
  padding: 24px;
  border-radius: 24px;
}

.comment-form-static {
  display: grid;
  gap: 14px;
}

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

.comment-form-static input,
.comment-form-static textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  outline: none;
}

.comment-form-static input:focus,
.comment-form-static textarea:focus {
  border-color: rgba(25, 122, 108, 0.38);
  box-shadow: 0 0 0 4px rgba(25, 122, 108, 0.1);
}

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

.related-card {
  overflow: hidden;
}

.related-media {
  aspect-ratio: 4 / 3;
}

.author-hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.author-photo img {
  width: 260px;
  height: 260px;
  border-radius: 28px;
}

.author-copy h1 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.author-content {
  margin-top: 30px;
}

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

.author-card {
  overflow: hidden;
}

.author-card-media {
  aspect-ratio: 4 / 3;
}

.single-sheet {
  min-height: 280px;
}

.archive-list {
  display: grid;
  gap: 14px;
}

.archive-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
}

.archive-item time {
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-item h2 {
  font-size: 1.18rem;
}

.pager-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pager-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.pager-chip:hover,
.pager-chip.is-current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.pager-chip.is-disabled,
.pager-chip.is-gap {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.9);
}

.footer-shell {
  padding: 24px 0 34px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-link {
  color: var(--muted);
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(25, 122, 108, 0.18);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mosaic-item:hover,
.palette-card:hover,
.digest-card:hover,
.stream-card:hover,
.side-link:hover,
.switch-card:hover,
.related-card:hover,
.author-card:hover,
.archive-item:hover,
.footer-link:hover,
.side-story a:hover {
  transform: translateY(-4px);
}

.mosaic-item:hover,
.palette-card:hover,
.digest-card:hover,
.stream-card:hover,
.side-link:hover,
.switch-card:hover,
.related-card:hover,
.author-card:hover,
.archive-item:hover {
  border-color: rgba(217, 122, 52, 0.24);
}

.mosaic-item:hover img,
.digest-card:hover img,
.stream-card:hover img,
.related-card:hover img,
.author-card:hover img,
.profile-band:hover img,
.editor-aside:hover img {
  transform: scale(1.05);
}

.mosaic-item-title a:hover,
.digest-card h3 a:hover,
.stream-title a:hover,
.profile-band-body h2 a:hover,
.related-card h3 a:hover,
.author-card h3 a:hover,
.archive-item h2 a:hover,
.editor-aside-copy h4 a:hover,
.side-story a:hover {
  color: var(--accent-warm);
}

@media (max-width: 1180px) {
  .mosaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .fresh-card,
  .fresh-card-feature,
  .fresh-card-compact {
    grid-column: span 2;
  }

  .fresh-card-lead {
    grid-column: span 6;
    grid-row: span 1;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .side-stack {
    position: static;
  }

  .palette-board,
  .related-grid,
  .author-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic-item-lead {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .digest-card-wide {
    grid-template-columns: 1fr;
  }

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

  .fresh-card,
  .fresh-card-feature,
  .fresh-card-compact,
  .fresh-card-lead {
    grid-column: span 1;
    grid-row: span 1;
  }

  .stream-card {
    grid-template-columns: 1fr;
  }

  .stream-media {
    aspect-ratio: 4 / 2.7;
  }

  .author-hero {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .author-photo img {
    width: 220px;
    height: 220px;
  }

  .share-rack {
    grid-template-columns: 1fr;
  }

  .share-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .container,
  .compact-shell {
    width: min(100%, calc(100% - 20px));
  }

  .site-header {
    top: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }

  main {
    padding-bottom: 78px;
  }

  .page-shell,
  .compact-shell {
    padding-top: 22px;
  }

  .section-heading {
    gap: 14px;
  }

  .section-heading,
  .section-heading-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading h1,
  .author-copy h1,
  .story-title {
    font-size: clamp(1.34rem, 6vw, 1.56rem);
    max-height: 150px;
  }

  .section-heading h2 {
    font-size: clamp(1.26rem, 5.6vw, 1.5rem);
    max-height: 150px;
  }

  .mosaic-grid,
  .fresh-grid,
  .palette-board,
  .related-grid,
  .author-grid,
  .switch-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-item-lead {
    grid-column: span 1;
  }

  .fresh-card,
  .fresh-card-feature,
  .fresh-card-compact,
  .fresh-card-lead {
    grid-column: span 1;
  }

  .mosaic-item-media,
  .fresh-card-media,
  .digest-media,
  .related-media,
  .author-card-media {
    aspect-ratio: 4 / 2.85;
  }

  .digest-grid {
    grid-template-columns: 1fr;
  }

  .story-sheet,
  .author-sheet,
  .single-sheet,
  .form-sheet,
  .side-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-sheet,
  .author-sheet,
  .single-sheet {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .story-sheet::before,
  .author-sheet::before,
  .single-sheet::before,
  .form-sheet::before,
  .side-panel::before {
    left: 18px;
  }

  .story-meta-row {
    gap: 10px;
    padding-bottom: 6px;
    flex-wrap: wrap;
  }

  .profile-band,
  .author-hero,
  .editor-aside {
    grid-template-columns: 1fr;
  }

  .profile-band-media,
  .author-photo img,
  .editor-aside-media {
    margin: 0 auto;
  }

  .author-photo img {
    width: 200px;
    height: 200px;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pager-chip {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}


/* detail-mobile-tune-1764 */
.story-author-prefix {
  color: inherit;
}

@media (max-width: 768px) {
  .detail-breadcrumbs {
    display: none;
  }

  .story-meta-row {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .story-author-pill img {
    display: none;
  }
}
