body {
    --cs-line: rgba(236, 233, 225, .08);
    --cs-line-soft: rgba(236, 233, 225, .10);
    --cs-line-active: rgba(236, 233, 225, .18);
    --cs-nav-height: 56px;
    margin: 0;
    padding-top: var(--cs-nav-height);
    background: var(--bg-content);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--t-body-size);
    line-height: var(--t-body-lh);
    font-weight: var(--t-body-w);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

html {
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

.cs-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: rgba(8, 9, 12, 0.88);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--cs-line);
}

.cs-nav a,
.cs-crumbs a,
.cs-section-tabs a,
.cs-toc a,
.cs-related a,
.cs-prev-next a,
.cs-spread-guide a,
.cs-reading-cta a,
.cs-footer a {
    text-decoration: none;
    border-bottom: 0;
}

.cs-nav-inner {
    width: min(calc(100% - clamp(48px, 7vw, 96px)), var(--content-max));
    height: 56px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cs-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 0;
}

.cs-brand img {
    width: 22px;
    height: 22px;
}

.cs-brand span,
.cs-nav-links a,
.cs-nav-cta,
.cs-crumbs,
.id,
.skin-seg button,
.pos-seg button,
.card-brief-panel .label,
.direction-line,
.cs-section-tabs a,
.meaning-grid span,
.meta-line,
.cs-toc .label,
.cs-related-head a,
.cs-rel-card .id,
.cs-rel-card .kw,
.cs-prev-next span,
.cs-module-head span,
.cs-spread-card .id,
.group-head span,
.cs-index-card .id,
.cs-index-card .kw {
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.cs-brand span {
    color: var(--text-primary);
    font-size: 12px;
    letter-spacing: .22em;
}

.cs-nav-links {
    display: flex;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.cs-nav-links a {
    position: relative;
    border-bottom: 0;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    opacity: .82;
    padding: 4px 0;
}

.cs-nav-links a[data-coming-soon="true"] {
    cursor: pointer;
}

.cs-nav-links a.is-active {
    color: var(--text-primary);
    opacity: 1;
}

.cs-nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -19px;
    height: 1px;
    background: var(--text-primary);
}

.cs-nav-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.cs-nav-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    position: relative;
}

.cs-lang {
    display: inline-flex;
    border: 1px solid var(--cs-line);
}

.cs-lang a {
    min-width: 0;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
    border-right: 1px solid var(--cs-line);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    padding: 5px 10px;
}

.cs-lang a:last-child {
    border-right: 0;
}

.cs-lang a.is-active {
    color: var(--text-primary);
}

.cs-lang a[aria-disabled="true"] {
    color: var(--text-faint);
    cursor: not-allowed;
}

.cs-nav-account .auth-buttons {
    display: flex;
    align-items: center;
    gap: 0;
    position: static;
    z-index: 1;
}

.cs-nav-account .auth-btn,
.cs-nav-account .user-avatar,
.cs-user-avatar {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-1);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: border-color var(--dur-fast) var(--ease-quiet),
                box-shadow var(--dur-fast) var(--ease-quiet);
}

.cs-nav-account .auth-btn:hover,
.cs-nav-account .user-avatar:hover,
.cs-user-avatar:hover {
    border-color: var(--border-active);
    box-shadow: var(--glow-subtle);
}

.cs-nav-account .auth-btn {
    padding: 0;
    color: var(--text-primary);
}

.cs-nav-account .register-btn {
    display: none !important;
}

.cs-nav-account .user-avatar {
    position: relative;
    padding: 0;
    margin: 0;
}

.cs-nav-account .user-avatar img,
.cs-user-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.cs-nav-account .user-avatar.is-avatar-fallback::before {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    color: var(--text-primary);
    -webkit-mask: url(/icons/user.svg) center / contain no-repeat;
            mask: url(/icons/user.svg) center / contain no-repeat;
}

.cs-nav-account .user-name {
    display: none;
}

.cs-nav-account .user-dropdown {
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
    left: auto;
    transform: translateY(-4px) scale(.98);
}

.cs-nav-account .user-avatar:hover .user-dropdown,
.cs-nav-account .user-avatar.is-open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.cs-nav .cs-content-language-selector {
    position: relative;
    inset: auto;
    z-index: 60;
    flex: 0 0 auto;
    margin: 0;
}

.cs-nav .cs-content-language-selector .language-button {
    height: 40px;
    border-color: var(--cs-line-soft);
}

.cs-nav .cs-content-language-selector .language-dropdown {
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
}

.cs-content-language-selector .language-button {
    border-color: var(--cs-line-soft);
}

.language-chevron {
    color: var(--text-mono);
    font-size: 13px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform var(--dur-fast) var(--ease-quiet);
}

.language-button.active .language-chevron {
    transform: translateY(1px) rotate(180deg);
}

.cs-nav-cta,
.cs-button {
    border: 1px solid var(--cs-line-soft);
    color: var(--text-primary);
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    height: 44px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
}

.cs-button-primary {
    background: var(--accent-ivory);
    border-color: var(--accent-ivory);
    color: var(--bg-cosmic);
}

.cs-nav-cta {
    height: auto;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #000;
}

.cs-page {
    width: min(calc(100% - clamp(48px, 7vw, 96px)), var(--content-max));
    max-width: none;
    margin: 0 auto;
    padding: 0 0 var(--space-8);
}

.cs-crumbs {
    padding: var(--space-5) 0 var(--space-2);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--text-subtle);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
}

.cs-crumbs > * {
    min-width: 0;
}

.cs-crumbs a {
    border-bottom: 0;
    color: var(--text-secondary);
}

.cs-crumbs span:last-child {
    overflow-wrap: anywhere;
}

.cs-crumbs .sep {
    color: var(--text-faint);
}

.cs-card-hero {
    padding: clamp(24px, 3vw, 56px) 0 clamp(42px, 4vw, 56px);
    border-bottom: 1px solid var(--cs-line);
    display: grid;
    grid-template-columns: minmax(280px, clamp(300px, 30vw, 360px)) minmax(0, 1fr);
    grid-template-areas: "art copy";
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}

.cs-card-art {
    grid-area: art;
    min-width: 0;
}

.cs-card-art .frame {
    width: min(100%, clamp(280px, 30vw, 320px));
    aspect-ratio: 3 / 4.6;
    background: #000;
    border: 1px solid var(--cs-line-active);
    position: relative;
    overflow: hidden;
}

.cs-card-art .frame::before {
    content: "";
    position: absolute;
    inset: -30px;
    z-index: -1;
    background: radial-gradient(circle, rgba(201, 166, 107, .10), transparent 70%);
}

.skin-carousel {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
}

.skin-carousel::-webkit-scrollbar {
    display: none;
}

.skin-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    scroll-snap-align: center;
    background: #000;
}

.skin-slide[hidden] {
    display: none;
}

.cs-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-card-art img,
.cs-index-card img,
.cs-rel-card img,
.cs-reading-cards img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

.skin-seg {
    width: min(100%, clamp(280px, 30vw, 320px));
    display: flex;
    margin-top: 18px;
    border: 1px solid var(--cs-line-soft);
}

.cs-card-copy {
    grid-area: copy;
    min-width: 0;
}

.skin-seg button {
    flex: 1;
    min-height: 0;
    padding: 10px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--cs-line);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
}

.skin-seg button:last-child {
    border-right: 0;
}

.skin-seg button.is-active {
    background: rgba(236, 233, 225, .06);
    color: var(--text-primary);
}

.skin-seg button:disabled {
    cursor: not-allowed;
    color: var(--text-faint);
}

.cs-card-copy .id,
.cs-index-hero .id {
    color: var(--text-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .16em;
}

.cs-card-copy h1 {
    margin: 8px 0 0;
    font-size: clamp(56px, 5vw, 64px);
    line-height: 1;
    font-weight: 200;
    letter-spacing: 0;
    color: var(--text-primary);
}

.cs-card-copy .sub {
    margin-top: 8px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.45;
    text-transform: uppercase;
}

.cs-card-copy hr {
    height: 0;
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--cs-line);
    background: transparent;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .12em;
}

.keywords span::before {
    content: "· ";
    color: var(--text-subtle);
}

.pos-seg {
    display: inline-flex;
    margin-top: 18px;
    border: 1px solid var(--cs-line-soft);
}

.pos-seg button {
    min-height: 0;
    padding: 8px 18px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--cs-line);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
}

.pos-seg button:last-child {
    border-right: 0;
}

.pos-seg button.is-active {
    background: rgba(236, 233, 225, .06);
    color: var(--text-primary);
}

.card-brief-panel {
    margin-top: 24px;
    padding: clamp(20px, 2.4vw, 28px);
    border: 1px solid var(--cs-line);
    background: rgba(18, 20, 26, .82);
}

.card-brief-panel .label {
    color: rgba(201, 166, 107, .82);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .12em;
}

.card-brief-panel p {
    max-width: 68ch;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}

.direction-line {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--cs-line);
    color: rgba(236, 233, 225, .62);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
}

.cs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: 24px;
}

.cs-favorite-card.is-active {
    border-color: var(--cs-line-active);
    background: rgba(236, 233, 225, .06);
    color: var(--accent-signal);
}

.meaning-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.meaning-grid div {
    border: 1px solid var(--cs-line);
    background: var(--bg-surface);
    padding: var(--space-4);
}

.meaning-grid span {
    color: var(--accent-signal);
    font-size: 10px;
    letter-spacing: .12em;
}

.meaning-grid p {
    margin-top: var(--space-2);
    color: var(--text-secondary);
}

.meta-line {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    color: rgba(236, 233, 225, .28);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .12em;
}

.cs-section-tabs {
    margin: 56px 0 0;
    display: flex;
    overflow-x: auto;
    border: 0;
    border-bottom: 1px solid var(--cs-line);
    scrollbar-width: none;
}

.cs-section-tabs::-webkit-scrollbar {
    display: none;
}

.cs-section-tabs a {
    min-height: 0;
    min-width: 0;
    padding: 14px 0;
    margin-right: 32px;
    margin-bottom: -1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
    border-right: 0;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .12em;
    white-space: nowrap;
}

.cs-section-tabs a:last-child {
    border-right: 0;
}

.cs-section-tabs a:hover,
.cs-section-tabs a.is-active {
    background: transparent;
    border-bottom: 1px solid var(--cs-line-active);
    color: var(--text-primary);
}

.cs-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 64px;
    padding: 48px 0;
    align-items: start;
    min-width: 0;
}

.cs-prose {
    max-width: var(--measure);
    min-width: 0;
    overflow-wrap: break-word;
}

.cs-prose h1 {
    display: none;
}

.cs-prose h2 {
    margin-top: 40px;
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: -0.005em;
}

.cs-prose h2:first-child {
    margin-top: 0;
}

.cs-prose h3 {
    margin-top: 26px;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 400;
}

.cs-prose p,
.cs-prose li,
.cs-prose td,
.cs-prose th {
    color: var(--text-secondary);
    line-height: 1.82;
    font-weight: 400;
}

.cs-prose p {
    margin: 12px 0;
}

.cs-prose blockquote {
    margin: var(--space-5) 0;
    padding: var(--space-4) var(--space-5);
    border-left: 1px solid var(--cs-line-active);
    background: rgba(18, 20, 26, .42);
    color: var(--text-primary);
}

.cs-prose blockquote p {
    color: var(--text-primary);
}

.cs-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-5) 0;
    font-size: 14px;
}

.cs-prose th,
.cs-prose td {
    border: 1px solid var(--cs-line);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.cs-prose th {
    color: rgba(236, 233, 225, .74);
    background: rgba(18, 20, 26, .64);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cs-prose ul,
.cs-prose ol {
    padding-left: 22px;
}

.cs-prose a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(236, 233, 225, .18);
    overflow-wrap: anywhere;
}

.cs-prose a:hover {
    border-bottom-color: rgba(236, 233, 225, .45);
}

.cs-toc {
    position: sticky;
    top: 80px;
}

.cs-toc .label {
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--cs-line);
    color: var(--text-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .14em;
}

.cs-toc ul {
    list-style: none;
    padding: 0;
    margin: var(--space-3) 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-toc a {
    border-bottom: 0;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.cs-toc a:hover {
    color: var(--text-primary);
}

.cs-toc a.is-active {
    padding-left: var(--space-3);
    border-left: 1px solid var(--cs-line-active);
    color: var(--text-primary);
}

.cs-related {
    padding: var(--space-7) 0;
    border-top: 1px solid var(--cs-line);
}

.cs-related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.cs-related-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 300;
}

.cs-related-head a {
    border-bottom: 0;
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: .14em;
}

.cs-related-grid,
.cs-index-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

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

.cs-rel-card,
.cs-index-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 14px;
    border: 1px solid var(--cs-line);
    background: rgba(18, 20, 26, .24);
    text-decoration: none;
    transition: border-color var(--dur-fast) var(--ease-quiet);
}

.cs-index-card {
    gap: 7px;
    padding: 12px;
}

.cs-rel-card:hover,
.cs-index-card:hover {
    border-color: var(--cs-line-active);
}

.cs-rel-card .img,
.cs-index-card .img {
    aspect-ratio: 3 / 4.6;
    background: #000;
    border: 1px solid var(--cs-line);
    overflow: hidden;
}

.cs-rel-card .img img,
.cs-index-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-rel-card .id,
.cs-index-card .id {
    color: var(--text-mono);
    font-size: 10px;
    letter-spacing: .12em;
}

.cs-rel-card .nm,
.cs-index-card .nm {
    color: var(--text-primary);
    font-size: 16px;
}

.cs-rel-card .kw,
.cs-index-card .kw {
    color: var(--text-secondary);
    font-size: 10px;
    letter-spacing: .08em;
    line-height: 1.5;
}

.cs-prev-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    border-top: 1px solid var(--cs-line);
    padding-top: var(--space-5);
}

.cs-prev-next a {
    min-height: 72px;
    padding: var(--space-4);
    border: 1px solid var(--cs-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-primary);
}

.cs-prev-next a:last-child {
    text-align: right;
    align-items: flex-end;
}

.cs-prev-next span {
    color: var(--text-mono);
    font-size: 10px;
    letter-spacing: .14em;
}

.cs-spread-guide,
.cs-reading-cta {
    padding: var(--space-7) 0;
    border-top: 1px solid var(--cs-line);
}

.cs-module-head {
    margin-bottom: var(--space-5);
}

.cs-module-head span {
    color: var(--text-mono);
    font-size: 11px;
    letter-spacing: .14em;
}

.cs-module-head h2 {
    margin: var(--space-2) 0 0;
    font-size: 24px;
    font-weight: 300;
}

.cs-spread-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.cs-spread-card {
    min-height: 136px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
        "diag id"
        "diag nm"
        "diag desc";
    align-content: center;
    column-gap: var(--space-4);
    padding: var(--space-4);
    border: 1px solid var(--cs-line);
    background: rgba(18, 20, 26, .28);
    border-bottom-color: var(--cs-line);
}

.cs-spread-card:hover {
    border-color: var(--cs-line-active);
}

.cs-spread-card .diag {
    grid-area: diag;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cs-line);
    background-image: radial-gradient(rgba(236, 233, 225, .12) 1px, transparent 1px);
    background-size: 10px 10px;
}

.cs-spread-card svg {
    width: 78px;
    height: 62px;
    fill: rgba(236, 233, 225, .26);
}

.cs-spread-card svg .is-active {
    fill: rgba(236, 233, 225, .78);
}

.cs-spread-card .id {
    grid-area: id;
    color: rgba(201, 166, 107, .82);
    font-size: 10px;
    letter-spacing: .12em;
}

.cs-spread-card .nm {
    grid-area: nm;
    margin-top: var(--space-1);
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 300;
}

.cs-spread-card .desc {
    grid-area: desc;
    margin-top: var(--space-2);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
}

.cs-reading-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: var(--space-7);
    align-items: center;
}

.cs-reading-copy h2 {
    margin-top: var(--space-2);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    line-height: 1.18;
}

.cs-reading-copy p {
    margin-top: var(--space-4);
    color: var(--text-secondary);
    line-height: 1.75;
}

.cs-reading-copy .cs-button {
    display: inline-flex;
    margin-top: var(--space-5);
}

.cs-reading-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.cs-reading-cards span {
    width: 110px;
    aspect-ratio: 3 / 4.6;
    border: 1px solid var(--cs-line-active);
    background: #000;
    overflow: hidden;
    opacity: .52;
}

.cs-reading-cards span.is-current {
    width: 132px;
    border-color: rgba(201, 166, 107, .72);
    opacity: 1;
    box-shadow: var(--glow-signal);
}

.cs-reading-cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-footer {
    padding: var(--space-7) 0 var(--space-2);
    border-top: 1px solid var(--cs-line);
}

.cs-foot-line {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    color: var(--text-subtle);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cs-foot-line span:last-child {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.cs-foot-line a {
    border-bottom: 0;
    color: var(--text-secondary);
}

.cs-index-hero {
    padding: 18px 0 12px;
    border-bottom: 1px solid var(--cs-line);
}

.cs-index-hero h1 {
    margin-top: var(--space-2);
    font-size: clamp(38px, 5vw, 52px);
    line-height: 1;
    font-weight: 200;
    letter-spacing: 0;
}

.cs-index-hero p {
    max-width: 980px;
    margin-top: 6px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.cs-index-tools {
    display: flex;
    align-items: stretch;
    gap: var(--space-4);
    min-width: 0;
    padding: 10px 0 0;
}

.cs-filter-tabs {
    display: inline-flex;
    min-width: 0;
    border: 1px solid var(--cs-line-soft);
}

.cs-filter-tabs button {
    min-height: 40px;
    padding: 0 14px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--cs-line);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    white-space: nowrap;
}

.cs-filter-tabs button:last-child {
    border-right: 0;
}

.cs-filter-tabs button:hover,
.cs-filter-tabs button.is-active {
    background: rgba(236, 233, 225, .06);
    color: var(--text-primary);
}

.cs-card-search {
    min-height: 40px;
    min-width: 260px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0 12px;
    border: 1px solid var(--cs-line-soft);
    background: rgba(18, 20, 26, .28);
}

.cs-card-search span {
    color: var(--text-mono);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
}

.cs-card-search input {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--text-primary);
    font: inherit;
}

.cs-card-search input::placeholder {
    color: var(--text-subtle);
}

.cs-index-empty {
    margin-top: var(--space-5);
    padding: var(--space-5);
    border: 1px solid var(--cs-line);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .06em;
}

.cs-card-group {
    padding: 20px 0 var(--space-7);
    border-bottom: 1px solid var(--cs-line);
}

.group-head {
    margin-bottom: var(--space-3);
}

.group-head span {
    color: var(--text-mono);
    font-size: 11px;
    letter-spacing: .14em;
}

.group-head h2 {
    margin-top: var(--space-1);
    font-size: 24px;
    font-weight: 300;
}

.cs-index-card .meaning {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-index-card .kw {
    display: none;
}

.cs-empty {
    min-height: 70vh;
}

@media (max-width: 1100px) {
    .cs-index-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cs-card-hero {
        grid-template-columns: minmax(220px, 28vw) minmax(0, 1fr);
        grid-template-areas:
            "art summary"
            "pos pos"
            "brief brief"
            "actions actions"
            "meta meta";
        column-gap: clamp(28px, 5vw, 48px);
        row-gap: 0;
    }

    .cs-card-copy {
        display: contents;
    }

    .cs-card-summary {
        grid-area: summary;
        min-width: 0;
    }

    .cs-card-copy > .pos-seg {
        grid-area: pos;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .cs-card-copy > .card-brief-panel {
        grid-area: brief;
        width: 100%;
        margin-top: 0;
        border-top: 0;
    }

    .cs-card-copy > .cs-hero-actions {
        grid-area: actions;
    }

    .cs-card-copy > .meta-line {
        grid-area: meta;
    }

    .cs-card-art {
        position: relative;
        align-self: start;
    }

}

@media (min-width: 1101px) {
    .cs-card-hero {
        grid-template-areas: "art copy";
    }
}

@media (max-width: 899px) {
    .cs-nav-inner {
        width: min(calc(100% - 40px), var(--content-max));
        gap: 18px;
    }

    .cs-brand span {
        font-size: 11px;
        letter-spacing: .18em;
    }

    .cs-nav-links {
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cs-nav-links::-webkit-scrollbar {
        display: none;
    }

    .cs-nav-links a {
        white-space: nowrap;
    }

    .cs-page {
        width: min(calc(100% - 40px), var(--content-max));
    }

    .cs-article,
    .cs-reading-cta {
        grid-template-columns: 1fr;
    }

    .cs-toc {
        display: none;
    }

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

    .cs-index-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cs-spread-grid {
        grid-template-columns: 1fr;
    }

    .cs-reading-cards {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    .cs-card-hero {
        grid-template-columns: minmax(210px, 26vw) minmax(0, 1fr);
        grid-template-areas:
            "art summary"
            "pos pos"
            "brief brief"
            "actions actions"
            "meta meta";
        column-gap: 28px;
        row-gap: 0;
        padding: 22px 0 38px;
    }

    .cs-card-copy h1 {
        font-size: clamp(42px, 6vw, 52px);
    }

    .cs-card-copy .sub {
        font-size: 12px;
        letter-spacing: .08em;
    }

    .keywords {
        gap: 10px 12px;
        font-size: 11px;
        letter-spacing: .08em;
    }

    .card-brief-panel p {
        font-size: 15px;
        line-height: 1.68;
    }

    .cs-card-art {
        justify-self: start;
        width: min(100%, 230px);
    }

    .cs-card-art .frame {
        width: min(100%, 220px);
    }

    .cs-article {
        gap: 0;
        padding: 40px 0;
    }

    .cs-prose {
        max-width: none;
    }
}

@media (max-width: 767px) {
    body {
        --cs-nav-height: 94px;
        overflow-x: hidden;
    }

    .cs-nav-inner {
        --cs-mobile-nav-control: 34px;
        width: 100%;
        height: auto;
        min-height: 56px;
        column-gap: 10px;
        row-gap: 12px;
        padding: 10px 16px 12px;
        flex-wrap: wrap;
    }

    .cs-brand {
        flex: 1 1 0;
        min-width: 0;
        gap: 9px;
    }

    .cs-brand span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
        letter-spacing: .18em;
    }

    .cs-nav-links {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        overflow-x: auto;
        gap: 26px;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .cs-nav-links::-webkit-scrollbar {
        display: none;
    }

    .cs-nav-links a {
        white-space: nowrap;
        font-size: 10px;
        letter-spacing: .1em;
    }

    .cs-nav-right {
        order: 2;
        flex: 0 0 auto;
        gap: 8px;
    }

    .cs-nav-account,
    .cs-nav-account .auth-btn,
    .cs-nav-account .user-avatar {
        width: var(--cs-mobile-nav-control);
        height: var(--cs-mobile-nav-control);
    }

    .cs-nav-account .user-avatar img {
        width: 24px;
        height: 24px;
    }

    .cs-nav-account .user-dropdown {
        right: -4px;
    }

    .cs-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: var(--cs-mobile-nav-control);
        min-height: var(--cs-mobile-nav-control);
        padding: 0 12px;
        font-size: 11px;
        letter-spacing: .06em;
    }

    .cs-nav .cs-content-language-selector .language-button {
        width: var(--cs-mobile-nav-control);
        height: var(--cs-mobile-nav-control);
        justify-content: center;
        padding: 0;
        gap: 0;
    }

    .cs-nav .cs-content-language-selector .current-lang,
    .cs-nav .cs-content-language-selector .language-chevron {
        display: none;
    }

    .cs-nav .cs-content-language-selector .language-dropdown {
        right: -4px;
    }

    .cs-page {
        width: calc(100% - 32px);
        padding-bottom: var(--space-7);
    }

    .cs-crumbs {
        padding: 14px 0 6px;
        flex-wrap: nowrap;
        gap: 3px;
        overflow: hidden;
        color: var(--text-subtle);
        font-size: clamp(6px, 1.8vw, 8px);
        line-height: 1.2;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .cs-crumbs a,
    .cs-crumbs span {
        min-width: 0;
    }

    .cs-crumbs > * {
        flex: 0 0 auto;
    }

    .cs-crumbs .sep {
        flex: 0 0 auto;
    }

    .cs-crumbs span:last-child {
        flex: 0 1 auto;
        overflow-wrap: normal;
    }

    .cs-card-hero {
        grid-template-columns: minmax(84px, 24vw) minmax(0, 1fr);
        grid-template-areas:
            "art summary"
            "pos pos"
            "brief brief"
            "actions actions"
            "meta meta";
        column-gap: 12px;
        row-gap: 0;
        padding: 12px 0 28px;
        align-items: start;
    }

    .cs-card-copy .id {
        font-size: 9px;
        line-height: 1.35;
        letter-spacing: .08em;
    }

    .cs-card-copy h1 {
        margin-top: 4px;
        font-size: clamp(32px, 10.5vw, 42px);
        line-height: 1.02;
    }

    .cs-card-copy .sub {
        max-width: 100%;
        margin-top: 5px;
        font-size: 9px;
        line-height: 1.45;
        letter-spacing: .04em;
        overflow-wrap: anywhere;
    }

    .cs-card-copy .sub-deck,
    .cs-card-copy .sub-sep-deck {
        display: none;
    }

    .cs-card-copy hr {
        margin: 10px 0;
    }

    .keywords {
        gap: 6px 9px;
        font-size: 9px;
        line-height: 1.35;
        letter-spacing: .04em;
    }

    .keywords span {
        min-width: 0;
    }

    .cs-card-art .frame {
        width: min(100%, 94px);
    }

    .pos-seg {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        margin-top: 14px;
        margin-bottom: 0;
        border-bottom-color: var(--cs-line);
    }

    .pos-seg button {
        min-width: 0;
        padding: 8px 5px;
        font-size: 9px;
        line-height: 1.25;
        letter-spacing: .02em;
    }

    .card-brief-panel {
        min-height: 0;
        margin-top: 0;
        padding: 12px;
        border-top: 0;
    }

    .card-brief-panel .label {
        font-size: 8px;
        letter-spacing: .08em;
    }

    .card-brief-panel p {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.58;
    }

    .direction-line {
        margin-top: 10px;
        padding-top: 8px;
        font-size: 9px;
        line-height: 1.5;
        letter-spacing: .02em;
    }

    .cs-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
    }

    .cs-hero-actions .cs-button {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        padding: 0 6px;
        justify-content: center;
        text-align: center;
        font-size: 9px;
        letter-spacing: .02em;
        white-space: normal;
    }

    .cs-section-tabs {
        margin-top: 18px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .cs-section-tabs a {
        flex: 0 0 auto;
        min-width: 76px;
        min-height: 40px;
        padding: 0 var(--space-3);
        margin-right: 18px;
        text-decoration: none;
    }

    .cs-index-page .cs-crumbs {
        padding: 6px 0 0;
        gap: 5px;
        font-size: 9px;
        line-height: 1.1;
        letter-spacing: .06em;
    }

    .cs-index-hero {
        padding: 14px 0 8px;
    }

    .cs-index-hero .id {
        font-size: 10px;
        letter-spacing: .12em;
    }

    .cs-index-hero h1 {
        margin-top: 4px;
        font-size: 30px;
    }

    .cs-index-hero p {
        margin-top: 3px;
        font-size: 12px;
        line-height: 1.38;
    }

    .cs-index-tools {
        flex-direction: column;
        gap: 5px;
        padding-top: 5px;
    }

    .cs-filter-tabs {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: visible;
    }

    .cs-filter-tabs button {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        min-height: 32px;
        padding: 0 1px;
        border-bottom: 0;
        font-size: 8px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .cs-card-search {
        min-height: 34px;
        min-width: 0;
        width: auto;
        box-sizing: border-box;
    }

    .cs-card-search span {
        font-size: 9px;
    }

    .cs-card-search input {
        font-size: 13px;
    }

    .cs-card-group {
        padding-top: 12px;
    }

    .group-head {
        margin-bottom: 8px;
    }

    .group-head span {
        font-size: 9px;
        letter-spacing: .12em;
    }

    .group-head h2 {
        font-size: 21px;
    }

    .meaning-grid,
    .cs-prev-next,
    .cs-related-grid {
        grid-template-columns: 1fr;
    }

    .cs-article {
        gap: 0;
        padding: 28px 0;
    }

    .cs-prose {
        max-width: none;
    }

    .cs-prose h2 {
        margin-top: 28px;
        font-size: 24px;
        line-height: 1.3;
    }

    .cs-prose h3 {
        font-size: 19px;
        line-height: 1.35;
    }

    .cs-prose p,
    .cs-prose li,
    .cs-prose td,
    .cs-prose th {
        font-size: 15px;
        line-height: 1.78;
    }

    .cs-prose blockquote {
        margin: 24px 0;
        padding: 14px 18px;
    }

    .cs-prose table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        white-space: normal;
    }

    .cs-prose th,
    .cs-prose td {
        min-width: 118px;
        padding: 10px 12px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .cs-related {
        padding: 40px 0;
    }

    .cs-related-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cs-spread-guide,
    .cs-reading-cta {
        padding: 40px 0;
    }

    .cs-spread-card {
        grid-template-columns: 72px minmax(0, 1fr);
        column-gap: var(--space-3);
        padding: var(--space-3);
    }

    .cs-spread-card .diag {
        width: 64px;
        height: 72px;
    }

    .cs-spread-card svg {
        width: 60px;
    }

    .cs-reading-cards {
        gap: var(--space-2);
    }

    .cs-reading-cards span {
        width: 28%;
    }

    .cs-reading-cards span.is-current {
        width: 34%;
    }

    .cs-foot-line {
        flex-direction: column;
        font-size: 10px;
        line-height: 1.7;
    }

    .cs-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .cs-index-card {
        min-width: 0;
        gap: 4px;
        padding: 6px;
    }

    .cs-index-card .img,
    .cs-index-card .img img {
        min-width: 0;
    }

    .cs-index-card .id {
        font-size: 9px;
        letter-spacing: .08em;
    }

    .cs-index-card .nm {
        font-size: 14px;
    }

    .cs-index-card .meaning {
        font-size: 11px;
        line-height: 1.35;
    }

}

@media (max-width: 380px) {
    .cs-brand span {
        max-width: 148px;
        font-size: 10px;
        letter-spacing: .16em;
    }

    .cs-nav-cta {
        padding: 0 10px;
        font-size: 10px;
    }

    .cs-nav-links {
        gap: 22px;
    }

    .cs-hero-actions {
        grid-template-columns: 1fr;
    }
}
