:root {
  color-scheme: light;
  --bg: #f7f6fa;
  --surface: #fff;
  --raised: #f3f0f8;
  --border: #e5e0eb;
  --text: #2a2334;
  --muted: #635e70;
  --subtle: #71697d;
  --accent: #7150be;
  --mint: var(--accent);
  --ink: #fff;
  --radius: 20px;
  --page-width: 1192px;
  --serif:
    "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-family:
    "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-width: 320px;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: linear-gradient(180deg, #f6f4fa 0, #fbfafc 45rem, var(--bg));
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #8059ca;
}
a {
  color: var(--accent);
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
h2 {
  font-size: 1.25rem;
}
p {
  overflow-wrap: anywhere;
}
.ic {
  flex-shrink: 0;
  vertical-align: middle;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 60;
  padding: 8px 14px;
  background: #fff;
  border-radius: 10px;
}
.skip:focus {
  top: 8px;
}
[hidden] {
  display: none !important;
}
.top-inner,
.shell,
.subpage,
.site-footer {
  width: min(var(--page-width), calc(100% - 88px));
  margin-inline: auto;
}
.topbar {
  background: #fffdfef7;
  border-bottom: 1px solid #e9e4ef;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 54px);
  min-height: 81px;
}
.brand {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-align: left;
}
.brand img {
  width: 43px;
  height: 43px;
  filter: drop-shadow(0 2px 2px #5640751b);
}
.brand > span {
  font-size: 25px;
  line-height: 1;
  font-weight: 770;
  letter-spacing: 0.12em;
  color: #322641;
}
.brand-en {
  display: block;
  margin-top: 5px;
  color: #716280;
  font:
    700 9px/1.1 "DM Sans",
    Arial,
    sans-serif;
  letter-spacing: 0.165em;
}
.mainnav {
  display: flex;
  align-items: center;
  gap: 3px;
}
.mainnav button {
  white-space: nowrap;
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  color: #5a5365;
  transition:
    background 0.18s,
    color 0.18s;
}
.mainnav button.on {
  color: #6947ae;
  background: #f0eafa;
}
.mainnav button:hover {
  background: #f5f1fa;
  color: #593d92;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  min-width: 0;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #786f85;
  border: 1px solid #e6e1eb;
  background: #f8f7fa;
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 13px;
  min-width: 151px;
}
.search-trigger kbd {
  margin-left: auto;
  border: 1px solid #e0dae7;
  border-radius: 4px;
  font: 12px/18px system-ui;
  width: 17px;
  color: #756d80;
  background: #fff;
}
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 560;
  padding: 5px 0;
  color: #52485f;
}
.account-trigger span {
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn,
.read-link,
.writing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 9px 16px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.35;
  color: #4c425b;
  background: #fff;
  border: 1px solid #ded8e7;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.btn:hover,
.writing-link:hover {
  background: #f5f1fa;
  border-color: #c7b8dc;
}
.btn.primary,
.primary {
  color: #fff;
  background: linear-gradient(170deg, #8966d4 0, #7651c2 51%, #6643b0 100%);
  border: 1px solid #7650bb;
  box-shadow:
    inset 0 1px 0 #ffffff4d,
    0 3px 8px #634c9521;
}
.btn.primary:hover,
.primary:hover {
  background: linear-gradient(165deg, #8965d5, #6441ad);
  box-shadow:
    inset 0 1px 0 #ffffff61,
    0 4px 12px #7255ad2c;
}
.publish {
  border-radius: 99px;
  padding-inline: 18px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f2f8;
  border: 1px solid #e7e1ec;
  color: #5c516b;
}
.icon-btn:hover {
  background: #ece5f5;
}
.shell {
  padding-top: 32px;
  min-height: 64vh;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 23px;
  background: #e7dcf2;
  border: 1px solid #d9cbe8;
  min-height: 320px;
  height: 100%;
  display: flex;
  align-items: center;
  box-shadow: 0 7px 20px #49366309;
}
.hero-art,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  object-position: 55% 48%;
}
@media (min-width: 801px) {
  .observatory .hero-art {
    object-position: 50% 3%;
  }
}
.hero-wash {
  z-index: -1;
  background: linear-gradient(
    90deg,
    #f0e4f3ba 0%,
    #efe4f66e 38%,
    #ede1f200 61%
  );
}
.story-slide .hero-wash {
  background: linear-gradient(
    90deg,
    #f8f2f6f0 0%,
    #f8f2f6df 22%,
    #f8f2f6a3 42%,
    #f8f2f600 70%
  );
}
.hero-text {
  position: relative;
  padding: 32px clamp(24px, 2.7vw, 39px) 36px;
  width: 61%;
  color: #32233e;
}
.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
  color: #5b3c78;
  background: #fffcffba;
  border: 1px solid #ffffffa8;
  border-radius: 99px;
  padding: 5px 10px;
  box-shadow: 0 2px 10px #67458009;
}
.hero h1 {
  color: #2c1e3b;
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 47px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.045em;
  margin: 16px 0 8px;
  text-wrap: balance;
}
.hero p {
  margin: 0 0 19px;
  color: #53445b;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 26em;
}
.read-link {
  background: #32253f;
  color: #fff;
  border-color: #32253f;
  box-shadow: inset 0 1px 0 #ffffff21;
  border-radius: 99px;
  padding: 9px 15px;
  min-height: 37px;
}
.read-link:hover {
  background: #4c3761;
}
.hero-controls {
  position: absolute;
  bottom: 15px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.slide-dots {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-right: 5px;
  background: #f8f4f78a;
  backdrop-filter: blur(8px);
  padding: 0 6px;
  border-radius: 99px;
}
.dot {
  height: 22px;
  width: 12px;
  padding: 0;
  display: grid;
  place-items: center;
}
.dot::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: #72607a83;
}
.dot.active {
  width: 20px;
}
.dot.active::before {
  background: #594569;
  width: 15px;
}
.slide-btn {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffffb0;
  color: #4a3c54;
  background: #fffafbd1;
  backdrop-filter: blur(9px);
  border-radius: 50%;
}
/* The four illustrated links form a separate navigation band below the cover. */
.channels {
  margin-top: clamp(22px, 2.2vw, 32px);
  container-type: inline-size;
}
.channel-heading,
.stream-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.channel-heading {
  margin-bottom: 12px;
}
.channel-heading h2,
.section-name h2 {
  margin: 0;
  color: #302636;
}
.channel-heading h2 {
  font: 700 clamp(22px, 2.1vw, 29px)/1.25 var(--serif);
  letter-spacing: -0.045em;
}
.channel-heading > a {
  color: #655770;
  padding: 6px 0 6px 10px;
  font-size: 13px;
  text-decoration-color: #c3b7ce;
  text-underline-offset: 4px;
}
.channel-heading > a:hover {
  color: var(--accent);
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.character-card {
  --paper: #f5eff9;
  --wash: #dcc2fb;
  --accent-ink: #563c6b;
  --edge: #d9ccdf;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(105deg, var(--paper) 14%, var(--wash) 90%);
  border: 1px solid var(--edge);
  border-radius: 17px;
  box-shadow:
    inset 0 1px 0 #ffffffb8,
    0 3px 10px #3b304408;
  color: var(--accent-ink);
  text-decoration: none;
  transition:
    transform 0.19s,
    box-shadow 0.19s,
    border-color 0.19s;
}
.channel-card {
  height: clamp(132px, 10.6vw, 154px);
}
.channel-draw {
  --paper: #fff3ed;
  --wash: #fcced0;
  --edge: #ead2ca;
  --accent-ink: #754338;
}
.channel-game {
  --paper: #eef5fb;
  --wash: #b8dcfd;
  --edge: #cedce9;
  --accent-ink: #344c6b;
}
.channel-life {
  --paper: #fff6df;
  --wash: #ffefc4;
  --edge: #e7d9b9;
  --accent-ink: #705026;
}
.channel-portrait,
.channel-placeholder {
  position: absolute;
  inset: 0 0 0 auto;
  width: 69%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 19%, #000);
  transition: transform 0.24s;
  pointer-events: none;
}
.channel-placeholder {
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  opacity: 0.6;
}
.channel-portrait + .channel-placeholder {
  display: none;
}
.channel-caption {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  width: 45%;
  min-width: 0;
  margin-left: clamp(12px, 1.4vw, 20px);
}
.channel-caption strong {
  max-width: 100%;
  font: 700 clamp(18px, 1.6vw, 24px)/1.27 var(--serif);
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.channel-caption small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent-ink);
}
.character-card:focus-visible {
  outline: 3px solid #7858b8;
  outline-offset: 3px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .character-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 19px #493c5419;
    border-color: color-mix(in srgb, var(--edge) 50%, var(--accent-ink));
  }
  .character-card:hover .channel-portrait {
    transform: scale(1.035);
  }
}
@container (min-width: 711px) and (max-width: 940px) {
  .channel-grid {
    gap: 10px;
  }
  .channel-card {
    height: 119px;
  }
  .channel-caption {
    margin-left: 11px;
  }
  .channel-caption strong {
    font-size: 17px;
  }
}
@container (max-width: 710px) {
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .channel-card {
    height: 120px;
  }
  .channel-caption {
    margin-left: 15px;
  }
  .channel-caption strong {
    font-size: 21px;
  }
}
@container (max-width: 425px) {
  .channel-card {
    height: 151px;
    align-items: flex-end;
    border-radius: 14px;
  }
  .channel-card :is(.channel-portrait, .channel-placeholder) {
    width: 100%;
    height: calc(100% - 36px);
    inset: 0 0 auto;
    object-fit: contain;
    mask-image: none;
    background: var(--wash);
  }
  .channel-caption {
    margin: 0;
    width: 100%;
    background: color-mix(in srgb, var(--paper) 58%, white);
    padding: 8px 10px;
    min-height: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }
  .channel-caption strong {
    font-size: 16px;
    line-height: 1.3;
  }
  .channel-caption small {
    font-size: 11px;
    white-space: nowrap;
  }
}
@container (max-width: 315px) {
  .channel-grid {
    gap: 8px;
  }
  .channel-card {
    height: 139px;
  }
  .channel-caption {
    padding-inline: 7px;
  }
  .channel-caption strong {
    font-size: 15px;
  }
}

.stream {
  margin: 35px 0 45px;
  min-width: 0;
}
.stream-heading {
  margin-bottom: 17px;
}
.section-name h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 35px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.stream-tabs {
  display: flex;
  gap: 1px;
  padding: 3px;
  border: 1px solid #e2dce9;
  background: #efecf3;
  border-radius: 99px;
}
.stream-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 99px;
  color: #756c82;
  font-size: 13px;
  font-weight: 540;
  white-space: nowrap;
}
.stream-tabs .selected {
  background: white;
  color: #5d427d;
  box-shadow: 0 1px 5px #46364e18;
}
#stream {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
#stream > .loading,
#stream > .pager,
#stream > .empty-panel {
  grid-column: 1/-1;
}
.feed-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 19px;
  box-shadow: 0 3px 12px #46394e06;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    border-color 0.22s;
  display: flex;
  flex-direction: column;
}
.cover-wrap {
  position: relative;
  isolation: isolate;
  background: #ece6f3;
  aspect-ratio: 1.98;
  flex: none;
}
.card-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card-image:focus-visible {
  outline-offset: -4px;
}
.cover-wrap .tag {
  position: absolute;
  top: 13px;
  left: 14px;
}
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 630;
  padding: 4px 10px;
  line-height: 1.3;
  border-radius: 99px;
  border: 1px solid #ffffffaf;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 5px #493d5a09;
}
.mint {
  background: #ece5f9;
  color: #553c78;
}
.pink {
  background: #f9e4e8;
  color: #7d405b;
}
.purple {
  background: #e3eafa;
  color: #3e5686;
}
.amber {
  background: #fff0d7;
  color: #79542c;
}
.card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 17px 19px 15px;
}
.card-copy h3 {
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.48;
  margin: 0 0 5px;
}
.card-copy h3 button {
  text-align: left;
  padding: 0;
  font: inherit;
  color: #322a3a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-copy h3 button:hover,
.author-link:hover {
  color: #7650b4;
}
.excerpt {
  color: #716b79;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.byline {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #645b6d;
  font-size: 12px;
  line-height: 1.5;
  margin-top: auto;
  min-width: 0;
}
.author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font: inherit;
  padding: 0;
  min-width: 0;
}
.by-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #dbcfea;
  color: #58476e;
  font-size: 12px;
  font-weight: 650;
  box-shadow: inset 0 1px 1px #ffffff75;
}
.tone-1 {
  background: #efdeed;
  color: #784f71;
}
.tone-2 {
  background: #f4dbd4;
  color: #7d5043;
}
.tone-3 {
  background: #e3e4f8;
  color: #525781;
}
.tone-4 {
  background: #e9e1c8;
  color: #695735;
}
.time,
.metrics {
  color: #776f80;
}
.time {
  margin-left: 2px;
}
.metrics {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.metrics svg:nth-of-type(2) {
  margin-left: 6px;
}
@media (hover: hover) {
  .feed-card:hover {
    transform: translateY(-3px);
    border-color: #d6c9e4;
    box-shadow: 0 12px 24px #513b6c0d;
  }
  .feed-card:hover .card-image img {
    transform: scale(1.024);
  }
}
.filtered .stream {
  margin-top: 13px;
}
.filter-line,
.pager {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 16px;
}
.filter-line .icon-btn {
  width: 24px;
  height: 24px;
}
.pager {
  justify-content: center;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 0 27px;
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 13px;
}
.site-footer div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.site-footer img {
  width: 23px;
}
.subpage {
  margin-block: 30px 55px;
  min-height: 64vh;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: 13px;
}
.crumb button {
  padding: 0;
  color: var(--accent);
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 680;
  letter-spacing: -0.045em;
  margin: 17px 0 23px;
}
.panel,
.empty-panel,
.loading {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 15px #4b365909;
}
.panel + .panel {
  margin-top: 15px;
}
.empty-panel,
.loading {
  text-align: center;
  padding: 38px 20px;
  color: var(--muted);
}
.empty-panel h3 {
  color: var(--text);
  margin: 8px 0;
}
.empty-panel p {
  margin: 0;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #30243e5c;
  backdrop-filter: blur(6px);
}
.modal-open {
  overflow: hidden;
}
.dialog {
  width: min(500px, 100%);
  max-height: 88dvh;
  overflow: auto;
  border-radius: 23px;
  border: 1px solid #eee6f5;
  background: #fff;
  color: var(--text);
  padding: 23px;
  box-shadow: 0 24px 75px #35264235;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.dialog-head h2 {
  margin: 0;
  font-size: 21px;
}
.form-stack {
  display: grid;
  gap: 14px;
}
.form-stack label {
  display: block;
  color: #4d425d;
  font-size: 14px;
}
.form-stack label .field,
.form-stack label input,
.form-stack label textarea {
  margin-top: 5px;
}
.field,
textarea:not([type]),
input:not([type]),
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="number"],
select {
  max-width: 100%;
  border: 1px solid #dcd5e5;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 9px 12px;
  min-height: 40px;
}
.field,
textarea {
  width: 100%;
}
textarea {
  resize: vertical;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
}
input::placeholder,
textarea::placeholder {
  color: #82788c;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.list-item:last-child {
  border: 0;
}
.list-item p {
  margin: 4px 0;
}
.muted {
  color: var(--muted);
}
.menu-list {
  display: grid;
  gap: 3px;
}
.menu-list > button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 10px;
  border-radius: 9px;
}
.menu-list > button:hover {
  background: var(--raised);
}
.menu-list button > span {
  flex: 1;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 60;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  color: white;
  background: #40314e;
  box-shadow: 0 5px 20px #4933592e;
  padding: 10px 18px;
  border-radius: 12px;
  transition: 0.18s;
  max-width: 92vw;
  font-size: 14px;
}
#toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
@media (max-width: 1050px) {
  .top-inner,
  .shell,
  .subpage,
  .site-footer {
    width: calc(100% - 48px);
  }
  .top-inner {
    gap: 24px;
  }
  .mainnav button {
    padding: 7px 12px;
  }
  .top-actions {
    gap: 12px;
  }
  .search-trigger {
    min-width: 115px;
  }
  .hero-text {
    width: 66%;
    padding: 25px;
  }
  .hero h1 {
    font-size: 35px;
  }
  #stream {
    gap: 15px;
  }
  .card-copy {
    padding: 14px 13px;
  }
  .byline {
    gap: 4px;
  }
  .time {
    font-size: 11px;
  }
}
@media (max-width: 800px) {
  .top-inner,
  .shell,
  .subpage,
  .site-footer {
    width: calc(100% - 36px);
  }
  .top-inner {
    min-height: 68px;
    gap: 12px;
  }
  .brand > img {
    width: 37px;
    height: 37px;
  }
  .brand > span {
    font-size: 22px;
  }
  .mainnav button {
    font-size: 13px;
    padding: 7px 10px;
  }
  .search-trigger {
    padding: 6px;
    background: transparent;
    border: 0;
    min-width: 0;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .account-trigger span {
    display: none;
  }
  .publish {
    padding: 8px 12px;
    min-height: 35px;
  }
  .shell {
    padding-top: 21px;
  }
  .hero {
    min-height: 280px;
  }
  .stream {
    margin-top: 24px;
  }
  #stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-copy h3 {
    font-size: 18px;
  }
}
@media (max-width: 580px) {
  .top-inner,
  .shell,
  .subpage,
  .site-footer {
    width: calc(100% - 32px);
  }
  .top-inner {
    flex-wrap: wrap;
    gap: 0 10px;
    padding-top: 10px;
  }
  .mainnav {
    order: 3;
    width: 100%;
    gap: 3px;
    margin: 7px 0;
  }
  .mainnav button {
    padding: 7px 14px;
  }
  .brand {
    gap: 6px;
  }
  .brand > img {
    width: 34px;
    height: 34px;
  }
  .brand > span {
    font-size: 21px;
  }
  .brand-en {
    font-size: 8px;
    margin-top: 3px;
  }
  .shell {
    padding-top: 15px;
  }
  .hero {
    border-radius: 18px;
    min-height: 248px;
    align-items: flex-end;
  }
  .hero-art {
    object-position: 72% center;
  }
  .hero-wash {
    background: linear-gradient(
      90deg,
      #f1e4f8e0 0%,
      #efe3f4b8 35%,
      #f2e5f108 78%
    );
  }
  .hero-text {
    padding: 18px 15px 23px;
    width: 78%;
  }
  .hero h1 {
    font-size: clamp(25px, 7.35vw, 35px);
    margin: 10px 0 6px;
    line-height: 1.25;
  }
  .hero p {
    max-width: 16em;
    font-size: 12px;
    margin: 0 0 12px;
  }
  .read-link {
    min-height: 32px;
    font-size: 12px;
    padding: 7px 11px;
  }
  .feature-label {
    font-size: 11px;
    padding: 3px 8px;
  }
  .hero-controls {
    right: 12px;
    bottom: 11px;
  }
  .hero-controls .slide-btn {
    display: none;
  }
  .slide-dots {
    margin: 0;
  }
  .stream {
    margin: 23px 0 27px;
  }
  .stream-heading {
    margin-bottom: 12px;
  }
  .section-name h2 {
    font-size: 26px;
  }
  .stream-tabs button {
    font-size: 12px;
    padding: 5px 9px;
  }
  .stream-tabs button .ic {
    display: none;
  }
  #stream {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  .feed-card {
    border-radius: 16px;
  }
  .cover-wrap {
    aspect-ratio: 2.03;
  }
  .cover-wrap .tag {
    top: 10px;
    left: 11px;
  }
  .card-copy {
    padding: 13px 15px;
  }
  .card-copy h3 {
    font-size: 18px;
  }
  .excerpt {
    -webkit-line-clamp: 1;
    margin-bottom: 11px;
  }
  .byline {
    font-size: 12px;
    gap: 6px;
  }
  .site-footer {
    font-size: 12px;
  }
  .subpage {
    margin-top: 18px;
  }
  .dialog {
    padding: 17px;
  }
  .list-item {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
