:root {
        --ink: #11182c;
        --muted: #617094;
        --muted-dark: #53617e;
        --line: #dfe4ef;
        --purple: #5f3dff;
        --purple-dark: #4e2de5;
        --purple-soft: #f1eeff;
        --surface: #ffffff;
        --page: #fbfcff;
        --green: #33c868;
        --shadow: 0 10px 32px rgba(32, 43, 88, 0.035);
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        color: var(--ink);
        background: var(--page);
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        -webkit-font-smoothing: antialiased;
      }

      body.modal-open {
        overflow: hidden;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      button,
      input,
      select,
      textarea {
        font: inherit;
      }

      button,
      a {
        -webkit-tap-highlight-color: transparent;
      }

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

      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(219, 221, 239, 0.86);
        backdrop-filter: blur(18px);
      }

      .nav-shell {
        width: min(1288px, calc(100% - 40px));
        min-height: 68px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 34px;
      }

      .brand {
        display: inline-flex;
        align-items: center;
      }

      .brand img {
        width: 210px;
        height: auto;
      }

      .primary-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(20px, 3vw, 38px);
        color: #0f1737;
        font-family: Manrope, Inter, sans-serif;
        font-size: 15px;
        font-weight: 800;
        white-space: nowrap;
      }

      .primary-nav a {
        transition: color 160ms ease;
      }

      .primary-nav a:hover,
      .primary-nav a:focus-visible,
      .primary-nav .active {
        color: var(--purple);
      }

      .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
      }

      .nav-icon {
        position: relative;
        width: 44px;
        height: 44px;
        display: inline-grid;
        place-items: center;
        border: 1px solid #e0e1f2;
        border-radius: 50%;
        color: #101735;
        background: #fff;
        font-size: 20px;
        box-shadow: 0 10px 24px rgba(70, 59, 122, 0.06);
      }

      .cart-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        width: 16px;
        height: 16px;
        display: inline-grid;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: var(--purple);
        font-size: 10px;
        font-weight: 900;
      }

      .user-menu {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #12183a;
        font-size: 15px;
        font-weight: 800;
        white-space: nowrap;
      }

      .user-avatar {
        width: 42px;
        height: 42px;
        overflow: hidden;
        border: 2px solid #fff;
        border-radius: 50%;
        box-shadow: 0 8px 18px rgba(18, 19, 59, 0.14);
      }

      .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .primary-action:hover,
      .primary-action:focus-visible {
        color: #fff;
        background: linear-gradient(180deg, #5f42ee 0%, #4828d8 100%);
        transform: translateY(-1px);
      }

      .community-page {
        width: 100%;
        min-height: calc(100vh - 68px);
        overflow: hidden;
        background:
          radial-gradient(circle at 72% 15%, rgba(108, 76, 255, 0.035), transparent 24%),
          linear-gradient(180deg, #fff 0, #fff 290px, #fcfdff 410px, #fbfcff 100%);
      }

      .forum-shell {
        width: min(1288px, calc(100% - 40px));
        margin: 0 auto;
      }

      .community-hero {
        overflow: hidden;
        min-height: 310px;
        border-bottom: 1px solid rgba(225, 229, 240, 0.82);
      }

      .community-hero .forum-shell {
        position: relative;
        min-height: 310px;
      }

      .breadcrumb {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 13px;
        margin: 0;
        padding-top: 37px;
        color: var(--muted-dark);
        font-size: 12px;
        font-weight: 600;
      }

      .breadcrumb a {
        color: var(--purple);
      }

      .breadcrumb i {
        color: #9aa5bc;
        font-size: 10px;
      }

      .hero-copy {
        position: relative;
        z-index: 2;
        width: 560px;
        padding-top: 31px;
      }

      .hero-copy h1 {
        margin: 0;
        color: var(--ink);
        font-family: Manrope, Inter, sans-serif;
        font-size: clamp(36px, 3vw, 41px);
        line-height: 1.08;
        font-weight: 800;
        letter-spacing: -1.45px;
      }

      .hero-copy > p {
        max-width: 520px;
        margin: 11px 0 0;
        color: var(--muted);
        font-size: 14.5px;
        line-height: 1.7;
        font-weight: 500;
      }

      .hero-actions {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-top: 36px;
      }

      .search-box {
        position: relative;
        width: 342px;
      }

      .search-box i {
        position: absolute;
        left: 15px;
        top: 50%;
        color: #7381a3;
        font-size: 15px;
        transform: translateY(-50%);
        pointer-events: none;
      }

      .search-box input {
        width: 100%;
        height: 46px;
        padding: 0 17px 0 44px;
        border: 1px solid var(--line);
        border-radius: 8px;
        outline: none;
        color: var(--ink);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 5px 18px rgba(40, 49, 92, 0.025);
        font-size: 12px;
        font-weight: 500;
        transition: border-color 160ms ease, box-shadow 160ms ease;
      }

      .search-box input::placeholder {
        color: #6e7a97;
      }

      .search-box input:focus {
        border-color: #9582ff;
        box-shadow: 0 0 0 3px rgba(95, 61, 255, 0.1);
      }

      .hero-secondary-action,
      .primary-action {
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 17px;
        border-radius: 7px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
      }

      .hero-secondary-action {
        border: 1px solid #d8dced;
        color: #4f5d7e;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 5px 18px rgba(40, 49, 92, 0.04);
      }

      .hero-secondary-action:hover,
      .hero-secondary-action:focus-visible {
        color: var(--purple);
        border-color: #bfb4ff;
        background: #faf9ff;
        box-shadow: 0 8px 20px rgba(87, 53, 238, 0.1);
        transform: translateY(-1px);
      }

      .primary-action {
        border: 0;
        color: #fff;
        background: linear-gradient(180deg, #6e50ff 0%, #5735ee 100%);
        box-shadow: 0 9px 20px rgba(87, 53, 238, 0.26);
      }

      .hero-secondary-action i,
      .primary-action i {
        font-size: 14px;
      }

      .hero-art {
        position: absolute;
        z-index: 1;
        top: -2px;
        right: 0;
        width: 472px;
        height: 292px;
        object-fit: cover;
        object-position: center 49%;
        mix-blend-mode: multiply;
        pointer-events: none;
        user-select: none;
      }

      .community-draft-area {
        padding: 21px 0 0;
      }

      .community-draft-banner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
        padding: 17px 19px;
        border: 1px solid #dcd4ff;
        border-radius: 10px;
        background: linear-gradient(115deg, #f7f4ff 0%, #fff 70%);
        box-shadow: 0 10px 28px rgba(78, 45, 229, 0.07);
      }

      .community-draft-icon {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        color: #fff;
        background: linear-gradient(145deg, #765aff, #5331e9);
        font-size: 20px;
      }

      .community-draft-copy {
        min-width: 0;
      }

      .community-draft-copy > span {
        color: var(--purple);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }

      .community-draft-copy h2 {
        margin: 3px 0 2px;
        overflow: hidden;
        color: var(--ink);
        font-family: Manrope, Inter, sans-serif;
        font-size: 16px;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .community-draft-copy p {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
      }

      .community-draft-action {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 15px;
        border-radius: 7px;
        color: #fff;
        background: var(--purple);
        font-size: 12px;
        font-weight: 800;
        transition: background 160ms ease, transform 160ms ease;
      }

      .community-draft-action:hover,
      .community-draft-action:focus-visible {
        color: #fff;
        background: var(--purple-dark);
        transform: translateY(-1px);
      }

      .forum-content {
        padding: 21px 0 31px;
      }

      .forum-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 324px;
        gap: 23px;
        align-items: start;
      }

      .panel {
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
      }

      .forum-board {
        min-width: 0;
        overflow: hidden;
      }

      .board-toolbar {
        min-height: 55px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 18px;
        padding: 0 15px;
        border-bottom: 1px solid var(--line);
      }

      .forum-tabs {
        min-width: 0;
        display: flex;
        align-items: stretch;
        gap: 2px;
      }

      .forum-tab {
        position: relative;
        min-width: 72px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        border: 0;
        color: #566483;
        background: transparent;
        font-size: 11.5px;
        font-weight: 600;
        line-height: 1;
        text-align: center;
        cursor: pointer;
      }

      .forum-tab:hover,
      .forum-tab:focus-visible,
      .forum-tab.is-active {
        color: var(--purple);
      }

      .forum-tab.is-active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        border-radius: 999px;
        background: var(--purple);
      }

      .mark-read {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 0 9px;
        border: 0;
        color: #566483;
        background: transparent;
        font-size: 11px;
        font-weight: 500;
        cursor: pointer;
      }

      .mark-read i {
        color: #7c8eb3;
        font-size: 12px;
      }

      .mark-read:hover,
      .mark-read:focus-visible {
        color: var(--purple);
      }

      .forum-list {
        padding: 0 15px;
      }

      .forum-row {
        min-height: 84.5px;
        display: grid;
        grid-template-columns: 52px minmax(235px, 1fr) 51px 50px minmax(184px, 202px);
        align-items: center;
        gap: 14px;
        border-bottom: 1px solid #e7eaf2;
        transition: opacity 180ms ease, background 180ms ease;
      }

      .forum-row.is-subcategory {
        padding-left: calc(var(--category-depth) * 18px);
        background: linear-gradient(90deg, rgba(95, 61, 255, 0.035), transparent 38%);
      }

      .forum-row.is-subcategory .category-icon {
        width: 46px;
        height: 46px;
        border: 1px solid #e8e3ff;
        font-size: 21px;
      }

      .forum-row.is-hidden {
        display: none;
      }

      .forum-row.search-dimmed {
        opacity: 0.42;
      }

      .category-icon {
        width: 52px;
        height: 52px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        color: var(--purple);
        background: linear-gradient(145deg, #f8f7ff 0%, #ebe7ff 100%);
        font-size: 25px;
      }

      .category-copy {
        min-width: 0;
      }

      .category-copy h2 {
        margin: 0 0 4px;
        overflow: hidden;
        color: var(--ink);
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .category-copy p {
        margin: 0;
        overflow: hidden;
        color: var(--muted);
        font-size: 10.8px;
        line-height: 1.35;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .category-parent-label {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 3px;
        color: #776b9c;
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.035em;
        line-height: 1;
        text-transform: uppercase;
      }

      .forum-stat {
        text-align: left;
      }

      .forum-stat strong,
      .forum-stat span {
        display: block;
      }

      .forum-stat strong {
        margin-bottom: 4px;
        color: #15203b;
        font-size: 11px;
        font-weight: 700;
      }

      .forum-stat span {
        color: var(--muted);
        font-size: 9.5px;
        font-weight: 500;
      }

      .latest-topic {
        min-width: 0;
        display: grid;
        grid-template-columns: 29px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        padding-left: 14px;
        border-left: 1px solid #e7eaf2;
      }

      .latest-topic.is-empty {
        grid-template-columns: minmax(0, 1fr);
      }

      .avatar {
        width: 29px;
        height: 29px;
        border: 2px solid #fff;
        border-radius: 50%;
        object-fit: cover;
        background: #e9ecf4;
        box-shadow: 0 2px 7px rgba(16, 24, 49, 0.14);
      }

      .topic-copy {
        min-width: 0;
      }

      .topic-title {
        display: -webkit-box;
        margin: 0 0 2px;
        overflow: hidden;
        color: #17213a;
        font-size: 11px;
        line-height: 1.35;
        font-weight: 600;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
      }

      .topic-meta {
        margin: 0;
        overflow: hidden;
        color: var(--muted);
        font-size: 9.8px;
        line-height: 1.38;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .board-empty {
        display: none;
        min-height: 492px;
        padding: 80px 24px;
        place-items: center;
        color: var(--muted);
        text-align: center;
      }

      .board-empty.is-visible {
        display: grid;
      }

      .board-empty i {
        display: block;
        margin-bottom: 12px;
        color: #a297e7;
        font-size: 34px;
      }

      .board-empty strong {
        display: block;
        margin-bottom: 5px;
        color: var(--ink);
        font-size: 14px;
      }

      .board-footer {
        min-height: 49px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
      }

      .view-categories {
        width: 100%;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        border: 1px solid #e1e5ef;
        border-radius: 6px;
        color: #596786;
        background: #fff;
        font-size: 10.8px;
        font-weight: 500;
        cursor: pointer;
      }

      .view-categories:hover,
      .view-categories:focus-visible {
        color: var(--purple);
        border-color: #c8c0f6;
        background: #fbfaff;
      }

      .forum-sidebar {
        display: grid;
        gap: 11px;
      }

      .side-card {
        padding: 19px 21px;
      }

      .side-card h2 {
        margin: 0;
        color: #172039;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 700;
      }

      .online-title {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .status-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--green);
        box-shadow: 0 0 0 3px rgba(51, 200, 104, 0.07);
      }

      .online-count {
        display: flex;
        align-items: center;
        gap: 5px;
        margin: 12px 0 10px;
        color: var(--muted);
        font-size: 10.5px;
        font-weight: 500;
      }

      .online-count .mini-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--green);
      }

      .avatar-stack {
        display: flex;
        align-items: center;
        min-height: 28px;
      }

      .avatar-stack .avatar {
        width: 27px;
        height: 27px;
        margin-left: -3px;
      }

      .avatar-stack .avatar:first-child {
        margin-left: 0;
      }

      .avatar-more {
        min-width: 36px;
        height: 27px;
        display: grid;
        place-items: center;
        margin-left: -3px;
        border: 2px solid #fff;
        border-radius: 999px;
        color: #5e6c90;
        background: #eef0f8;
        font-size: 8.5px;
        font-weight: 600;
      }

      .tags-card {
        padding-bottom: 14px;
      }

      .tag-list {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 13px;
      }

      .tag {
        padding: 6px 11px;
        border-radius: 5px;
        color: var(--purple);
        background: #f2efff;
        font-size: 9px;
        line-height: 1;
        font-weight: 500;
      }

      .tag:hover,
      .tag:focus-visible {
        background: #e8e2ff;
      }

      .view-tags {
        display: inline-block;
        margin-top: 11px;
        color: var(--purple);
        font-size: 10px;
        font-weight: 600;
      }

      .recent-list {
        display: grid;
        gap: 13px;
        margin-top: 13px;
      }

      .recent-card {
        min-height: 190px;
      }

      .recent-post {
        display: grid;
        grid-template-columns: 16px minmax(0, 1fr) auto;
        align-items: start;
        gap: 8px;
      }

      .recent-post > i {
        margin-top: 2px;
        color: var(--purple);
        font-size: 13px;
      }

      .recent-copy {
        min-width: 0;
      }

      .recent-copy a {
        display: block;
        margin-bottom: 3px;
        overflow: hidden;
        color: #18213a;
        font-size: 10.5px;
        line-height: 1.25;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .recent-copy p {
        margin: 0;
        overflow: hidden;
        color: var(--muted);
        font-size: 8.7px;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .comment-count {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding-top: 2px;
        color: #6f7d9d;
        font-size: 8.5px;
      }

      .comment-count i {
        font-size: 9px;
      }

      .stats-card {
        min-height: 127px;
        padding-bottom: 21px;
      }

      .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 18px;
      }

      .big-stat {
        min-width: 0;
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 8px;
        align-items: start;
      }

      .big-stat i {
        color: #8492b2;
        font-size: 20px;
      }

      .big-stat strong,
      .big-stat span {
        display: block;
      }

      .big-stat strong {
        color: #111a35;
        font-size: 14px;
        line-height: 1.15;
        font-weight: 700;
      }

      .big-stat span {
        margin-top: 11px;
        color: var(--muted);
        font-size: 10px;
        white-space: nowrap;
      }

      .toast {
        position: fixed;
        z-index: 100;
        right: 24px;
        bottom: 24px;
        max-width: calc(100% - 48px);
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 13px 16px;
        border: 1px solid #d9d2ff;
        border-radius: 9px;
        color: #282044;
        background: #fff;
        box-shadow: 0 16px 46px rgba(32, 23, 72, 0.2);
        font-size: 12px;
        font-weight: 600;
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity 180ms ease, transform 180ms ease;
      }

      .toast i {
        color: var(--green);
        font-size: 17px;
      }

      .toast.is-visible {
        opacity: 1;
        transform: translateY(0);
      }

      .modal-backdrop {
        position: fixed;
        z-index: 90;
        inset: 0;
        display: none;
        place-items: center;
        padding: 24px;
        background: rgba(10, 14, 35, 0.56);
        backdrop-filter: blur(6px);
      }

      .modal-backdrop.is-open {
        display: grid;
      }

      .post-modal {
        width: min(520px, 100%);
        padding: 25px;
        border: 1px solid #dcd7f9;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 30px 90px rgba(12, 17, 46, 0.3);
      }

      .modal-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 20px;
      }

      .modal-heading h2 {
        margin: 0;
        font-family: Manrope, Inter, sans-serif;
        font-size: 22px;
        letter-spacing: -0.4px;
      }

      .modal-close {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        color: var(--muted-dark);
        background: #fff;
        cursor: pointer;
      }

      .field {
        display: grid;
        gap: 7px;
        margin-bottom: 15px;
      }

      .field label {
        color: #313b57;
        font-size: 12px;
        font-weight: 700;
      }

      .field input,
      .field select,
      .field textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 8px;
        outline: none;
        color: var(--ink);
        background: #fff;
        font-size: 13px;
      }

      .field input,
      .field select {
        height: 44px;
        padding: 0 12px;
      }

      .field textarea {
        min-height: 120px;
        padding: 12px;
        resize: vertical;
      }

      .field input:focus,
      .field select:focus,
      .field textarea:focus {
        border-color: #9481ff;
        box-shadow: 0 0 0 3px rgba(95, 61, 255, 0.1);
      }

      .modal-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 20px;
      }

      .secondary-action {
        height: 40px;
        padding: 0 17px;
        border: 1px solid var(--line);
        border-radius: 7px;
        color: var(--muted-dark);
        background: #fff;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
      }

      @media (max-width: 1180px) {
        .nav-shell {
          grid-template-columns: 1fr auto;
          min-height: 74px;
        }

        .primary-nav {
          width: 100%;
          min-width: 0;
          order: 3;
          grid-column: 1 / -1;
          justify-content: flex-start;
          overflow-x: auto;
          padding: 0 0 14px;
        }

        .hero-art {
          right: -35px;
        }

        .forum-layout {
          grid-template-columns: minmax(0, 1fr) 300px;
        }

        .forum-row {
          grid-template-columns: 48px minmax(210px, 1fr) 46px 46px minmax(165px, 182px);
          gap: 11px;
        }

        .category-icon {
          width: 48px;
          height: 48px;
        }
      }

      @media (max-width: 960px) {
        .forum-shell {
          width: min(100% - 34px, 820px);
        }

        .community-hero,
        .community-hero .forum-shell {
          min-height: 300px;
        }

        .hero-copy {
          width: min(100%, 560px);
        }

        .hero-art {
          right: -115px;
          opacity: 0.26;
        }

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

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

        .side-card {
          min-height: 142px;
        }
      }

      @media (max-width: 720px) {
        .forum-shell {
          width: calc(100% - 28px);
        }

        .community-hero,
        .community-hero .forum-shell {
          min-height: 350px;
        }

        .breadcrumb {
          padding-top: 24px;
        }

        .hero-copy {
          padding-top: 27px;
        }

        .hero-copy h1 {
          font-size: 34px;
          letter-spacing: -1px;
        }

        .hero-copy > p {
          max-width: 94%;
          font-size: 13.5px;
        }

        .hero-actions {
          align-items: stretch;
          flex-direction: column;
          margin-top: 27px;
        }

        .search-box {
          width: 100%;
        }

        .hero-secondary-action,
        .primary-action {
          width: 100%;
          height: 44px;
        }

        .hero-art {
          top: 24px;
          right: -185px;
          width: 470px;
          opacity: 0.13;
        }

        .community-draft-area {
          padding-top: 14px;
        }

        .community-draft-banner {
          grid-template-columns: auto minmax(0, 1fr);
          gap: 12px;
          padding: 15px;
        }

        .community-draft-action {
          grid-column: 1 / -1;
          width: 100%;
        }

        .forum-content {
          padding-top: 12px;
        }

        .board-toolbar {
          min-height: 53px;
          padding: 0 9px;
          overflow: hidden;
        }

        .forum-tabs {
          overflow-x: auto;
          scrollbar-width: none;
        }

        .forum-tabs::-webkit-scrollbar {
          display: none;
        }

        .forum-tab {
          min-width: auto;
          padding: 0 9px;
        }

        .forum-tab:nth-child(1) { width: 82px; }
        .forum-tab:nth-child(2) { width: 58px; }
        .forum-tab:nth-child(3) { width: 48px; }
        .forum-tab:nth-child(4) { width: 88px; }

        .mark-read {
          display: none;
        }

        .forum-list {
          padding: 0 12px;
        }

        .forum-row {
          min-height: 112px;
          grid-template-columns: 46px minmax(0, 1fr) auto auto;
          grid-template-rows: auto auto;
          gap: 5px 10px;
          padding: 13px 0;
        }

        .forum-row.is-subcategory {
          padding-left: calc(var(--category-depth) * 9px);
        }

        .category-icon {
          width: 46px;
          height: 46px;
          grid-row: 1;
          align-self: start;
          font-size: 22px;
        }

        .category-copy {
          grid-column: 2 / -1;
          align-self: start;
        }

        .category-copy h2,
        .category-copy p {
          white-space: normal;
        }

        .forum-stat {
          display: none;
        }

        .latest-topic {
          grid-column: 2 / -1;
          grid-row: 2;
          padding: 7px 0 0;
          border-top: 1px solid #eef0f5;
          border-left: 0;
        }

        .board-empty {
          min-height: 390px;
        }

        .forum-sidebar {
          grid-template-columns: 1fr;
        }

        .side-card {
          min-height: 0;
        }
      }

      @media (max-width: 640px) {
        .nav-shell {
          width: calc(100% - 28px);
          gap: 16px;
        }

        .brand img {
          width: 176px;
        }

        .nav-actions {
          gap: 8px;
        }

        .nav-icon {
          width: 38px;
          height: 38px;
          font-size: 18px;
        }

        .user-menu span:not(.user-avatar) {
          display: none;
        }

        .user-avatar {
          width: 38px;
          height: 38px;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          scroll-behavior: auto !important;
          transition-duration: 0.01ms !important;
        }
      }
