    .app-shell {
      width: min(1240px, calc(100% - 36px));
      padding-top: 18px;
    }

    .topbar {
      min-height: 70px;
      padding: 0 22px;
      background: rgba(251, 250, 247, .9);
      border-color: var(--paper-line);
      border-radius: 0;
      box-shadow: none;
      top: 18px;
    }

    .brand-name {
      font-weight: 900;
      letter-spacing: .12em;
    }

    .home-tabs {
      font-family: var(--font-sans);
      font-size: 14px;
      gap: 30px;
    }

    .nav-tab {
      border-bottom: 0;
      color: var(--ink-soft);
      font-family: var(--font-sans);
      font-weight: 500;
    }

    .nav-tab.active,
    .nav-tab:hover {
      color: var(--red);
      border-color: transparent;
    }

    .settings-btn {
      border-color: var(--paper-line);
      border-radius: 4px;
      background: rgba(255, 255, 255, .58);
    }

    .home-redesign {
      padding-top: 18px;
      font-family: var(--font-sans);
    }

    .home-frame {
      border: 1px solid var(--paper-line);
      background: var(--paper);
    }

    .home-gap {
      height: 18px;
    }

    .home-kicker {
      margin-bottom: 14px;
      color: #9A9388;
      font-family: var(--font-sans);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .slash,
    .accent-italic {
      color: var(--red);
      font-style: italic;
      font-weight: 400;
    }

    .star-mark {
      display: inline-block;
      color: var(--red);
      font-family: Georgia, serif;
      line-height: 1;
    }

    .home-redesign .library-hero {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
      padding: 30px 30px 26px;
      border-bottom: 1px solid var(--paper-line);
    }

    .home-redesign .library-title {
      margin: 0;
      font-family: var(--font-display);
      font-size: clamp(34px, 5vw, 60px);
      font-weight: 400;
      line-height: .96;
      letter-spacing: 0;
    }

    .home-redesign .library-meta {
      margin: 12px 0 0;
      color: var(--faint);
      font-size: 13px;
    }

    .pill-dark {
      display: inline-flex;
      align-items: stretch;
      padding: 0;
      border: 0;
      background: transparent;
      color: #fff;
      cursor: pointer;
      font-family: var(--font-sans);
      text-decoration: none;
    }

    .pill-dark .pill-label {
      display: inline-flex;
      align-items: center;
      min-height: 46px;
      padding: 0 22px;
      border-radius: 4px 0 0 4px;
      background: var(--ink);
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
    }

    .pill-dark .pill-arrow {
      width: 46px;
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 0 4px 4px 0;
      background: var(--red);
      font-size: 18px;
      transition: background .16s var(--ease);
    }

    .pill-dark:hover .pill-arrow {
      background: var(--red-deep);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.45fr 1fr;
      min-height: 460px;
    }

    .featured-article,
    .today-article {
      width: 100%;
      border: 0;
      border-radius: 0;
      background: transparent;
      color: inherit;
      cursor: pointer;
      text-align: left;
    }

    .featured-article {
      display: grid;
      grid-template-rows: minmax(270px, 330px) auto;
      border-right: 1px solid var(--paper-line);
      padding: 0;
    }

    .featured-cover-wrap,
    .today-cover {
      position: relative;
      display: block;
      overflow: hidden;
      background: var(--paper-deep);
    }

    .featured-cover-wrap {
      min-height: 270px;
    }

    .article-img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      transition: transform .35s ease;
    }

    .featured-article:hover .article-img,
    .today-article:hover .article-img,
    .article-card:hover .article-img {
      transform: scale(1.04);
    }

    .featured-badge,
    .level-badge {
      position: absolute;
      top: 14px;
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 4px 10px;
      border-radius: 3px;
      color: #fff;
      font-family: var(--font-sans);
      font-size: 11px;
      line-height: 1;
      letter-spacing: .05em;
    }

    .featured-badge {
      left: 14px;
      background: var(--red);
    }

    .level-badge {
      right: 14px;
      background: rgba(26, 24, 21, .82);
      backdrop-filter: blur(4px);
    }

    .featured-body {
      display: block;
      padding: 24px 28px 28px;
    }

    .featured-title {
      display: block;
      margin: 0 0 12px;
      font-family: var(--font-display);
      font-size: clamp(24px, 3vw, 34px);
      line-height: 1.12;
    }

    .featured-summary {
      display: block;
      max-width: 500px;
      margin: 0 0 18px;
      color: var(--ink-soft);
      font-size: 14px;
      line-height: 1.7;
    }

    .featured-meta,
    .today-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: var(--faint);
      font-family: var(--font-sans);
      font-size: 12px;
    }

    .featured-meta strong {
      color: var(--red);
      font-weight: 500;
    }

    .today-article-list {
      display: flex;
      flex-direction: column;
    }

    .today-article {
      flex: 1;
      display: grid;
      grid-template-columns: 92px minmax(0, 1fr);
      align-items: center;
      gap: 16px;
      padding: 18px 24px;
      border-bottom: 1px solid var(--paper-line);
      transition: background .18s var(--ease);
    }

    .today-article:last-child {
      border-bottom: 0;
    }

    .today-article:hover {
      background: #F6F2EB;
    }

    .today-cover {
      width: 92px;
      height: 78px;
      border-radius: 5px;
    }

    .today-body {
      min-width: 0;
      display: block;
    }

    .today-head {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 7px;
    }

    .today-title {
      display: block;
      overflow: hidden;
      margin: 0 0 5px;
      font-family: var(--font-display);
      font-size: 18px;
      line-height: 1.22;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .today-date {
      margin-left: auto;
      color: var(--faint);
      font-size: 11px;
      white-space: nowrap;
    }

    .mode-showcase {
      overflow: hidden;
    }

    .mode-heading,
    .section-heading {
      padding: 42px 22px 36px;
      border-bottom: 1px solid var(--paper-line);
      text-align: center;
    }

    .mode-heading h2,
    .section-heading h2 {
      margin: 0;
      font-family: var(--font-display);
      font-size: clamp(32px, 4.5vw, 52px);
      font-weight: 400;
      line-height: 1;
    }

    .mode-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr 1fr;
      align-items: stretch;
    }

    .mode-column {
      display: flex;
      flex-direction: column;
    }

    .mode-tile {
      flex: 1;
      min-height: 190px;
      padding: 36px 30px;
      border: 0;
      border-bottom: 1px solid var(--paper-line);
      background: transparent;
      color: inherit;
      cursor: pointer;
      text-align: left;
      transition: background .18s var(--ease);
    }

    .mode-column:first-child .mode-tile {
      border-right: 1px solid var(--paper-line);
    }

    .mode-column:last-child .mode-tile {
      border-left: 1px solid var(--paper-line);
      text-align: right;
    }

    .mode-tile:last-child {
      border-bottom: 0;
    }

    .mode-tile:hover {
      background: #F6F2EB;
    }

    .mode-tile h3 {
      margin: 16px 0 12px;
      font-family: var(--font-cn);
      font-size: 21px;
      font-weight: 700;
      letter-spacing: 0;
    }

    .mode-tile p {
      margin: 0;
      color: #6A645B;
      font-size: 13.5px;
      line-height: 1.7;
    }

    .mode-visual {
      min-height: 380px;
      position: relative;
      overflow: hidden;
      background: #F9F4EB;
    }

    .mode-visual img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
    }

    .library-section {
      overflow: hidden;
    }

    .library-section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 30px;
      border-bottom: 1px solid var(--paper-line);
    }

    .library-section-head h2 {
      margin: 0;
      font-family: var(--font-display);
      font-size: clamp(28px, 3.6vw, 40px);
      font-weight: 400;
      line-height: 1;
      white-space: nowrap;
    }

    .section-link {
      border: 0;
      background: transparent;
      color: var(--ink);
      cursor: pointer;
      font-family: var(--font-sans);
      font-size: 14px;
      font-weight: 500;
    }

    .section-link span {
      color: var(--red);
    }

    .home-redesign .article-list {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      margin-top: 0;
    }

    .home-redesign .library-empty {
      grid-column: 1 / -1;
      padding: 34px 30px;
      border: 0;
      color: var(--muted);
    }

    .home-redesign .article-card {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      min-height: 100%;
      padding: 0;
      border: 0;
      border-right: 1px solid var(--paper-line);
      border-bottom: 1px solid var(--paper-line);
      border-radius: 0;
      background: transparent;
      transition: background .18s var(--ease);
    }

    .home-redesign .article-card:first-child {
      border-top: 0;
    }

    .home-redesign .article-card:nth-child(4n) {
      border-right: 0;
    }

    .home-redesign .article-card:hover {
      transform: none;
      background: #F6F2EB;
    }

    .home-redesign .article-cover {
      width: 100%;
      aspect-ratio: 16 / 10;
      border: 0;
      border-bottom: 1px solid var(--paper-line);
      border-radius: 0;
      background: var(--paper-deep);
    }

    .home-redesign .article-card-body {
      min-width: 0;
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 16px 16px 20px;
    }

    .home-redesign .article-card-title {
      min-height: 46px;
      font-family: var(--font-display);
      font-size: 19px;
      line-height: 1.22;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .home-redesign .article-card-summary {
      margin-top: 8px;
      color: var(--muted);
      font-family: var(--font-sans);
      font-size: 12.5px;
      line-height: 1.55;
    }

    .home-redesign .article-card-meta {
      margin-top: auto;
      padding-top: 14px;
      gap: 6px;
      font-family: var(--font-sans);
      font-size: 11.5px;
    }

    .home-redesign .article-card-arrow {
      display: none;
    }

