/* ── Design tokens ── */
:root {
    --bg: #f4f3f0;
    --bg-elevated: #ffffff;
    --text: #18181b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;
    --border: #e4e4e7;
    --border-light: #f4f4f5;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: #eff6ff;
    --rail: #d97706;
    --rail-soft: #fffbeb;
    --aviation: #0284c7;
    --aviation-soft: #f0f9ff;
    --hot: #dc2626;
    --featured: #7c3aed;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

input, textarea, select, button { font: inherit; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ── Layout ── */
.jx-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.jx-section {
    padding: 4rem 0;
}

.jx-section--sm {
    padding: 2.5rem 0;
}

/* ── Navigation ── */
.jx-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

.jx-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    gap: 1rem;
}

.jx-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.jx-logo__img {
    display: block;
    height: 2.25rem;
    width: auto;
    max-width: 10rem;
    object-fit: contain;
}

.jx-logo__sub {
    display: none;
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

@media (min-width: 640px) {
    .jx-logo__sub { display: block; }
}

.jx-nav__links {
    display: none;
    align-items: center;
    gap: 0.125rem;
}

@media (min-width: 1024px) {
    .jx-nav__links { display: flex; }
}

.jx-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: color var(--transition), background var(--transition);
}

.jx-nav__link .jx-icon { width: 0.875rem; height: 0.875rem; opacity: 0.6; }

.jx-nav__link:hover,
.jx-nav__link.active {
    color: var(--text);
    background: var(--border-light);
}

.jx-nav__link.active { font-weight: 600; }

.jx-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.jx-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    cursor: pointer;
    color: var(--text);
}

@media (min-width: 1024px) {
    .jx-nav__toggle { display: none; }
}

.jx-nav__mobile {
    display: none;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid var(--border-light);
}

.jx-nav__mobile.open { display: block; }

@media (min-width: 1024px) {
    .jx-nav__mobile { display: none !important; }
}

.jx-nav__mobile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.375rem;
}

.jx-nav__mobile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.jx-nav__mobile-link:hover,
.jx-nav__mobile-link.active {
    color: var(--accent);
    background: var(--accent-soft);
}

/* ── Buttons ── */
.jx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.jx-btn--primary {
    background: var(--text);
    color: white;
}

.jx-btn--primary:hover {
    background: #27272a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.jx-btn--accent {
    background: var(--accent);
    color: white;
}

.jx-btn--accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.jx-btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.jx-btn--ghost:hover {
    border-color: var(--text-muted);
    color: var(--text);
    background: var(--bg-elevated);
}

.jx-btn--sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.jx-btn--lg { padding: 0.75rem 1.5rem; font-size: 0.9375rem; }
.jx-btn--full { width: 100%; }

/* ── Hero ── */
.jx-hero {
    position: relative;
    background: var(--text);
    color: white;
    overflow: hidden;
}

.jx-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(217, 119, 6, 0.15) 0%, transparent 50%);
}

.jx-hero__content {
    position: relative;
    padding: 5rem 0 4.5rem;
}

@media (min-width: 768px) {
    .jx-hero__content { padding: 6.5rem 0 5.5rem; }
}

.jx-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

.jx-hero__eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.jx-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 16ch;
}

.jx-hero__title em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.55);
}

.jx-hero__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 32rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.jx-hero__search {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 28rem;
    padding: 0.375rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
}

@media (min-width: 480px) {
    .jx-hero__search { flex-direction: row; }
}

.jx-hero__search input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: calc(var(--radius-lg) - 4px);
    background: white;
    color: var(--text);
    font-size: 0.9375rem;
}

.jx-hero__search input:focus { outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3); }

.jx-hero__search input::placeholder { color: var(--text-muted); }

.jx-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.jx-hero__tag {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.jx-hero__tag:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.jx-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.jx-hero__stat {
    padding: 1.25rem 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.jx-hero__stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.jx-hero__stat-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Page header ── */
.jx-page-head {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.jx-page-head__inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.jx-page-head__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.jx-page-head__icon .jx-icon { width: 1.375rem; height: 1.375rem; }

.jx-page-head__icon--aviation { background: var(--aviation-soft); color: var(--aviation); }
.jx-page-head__icon--railway { background: var(--rail-soft); color: var(--rail); }
.jx-page-head__icon--featured { background: #f5f3ff; color: var(--featured); }
.jx-page-head__icon--hot { background: #fef2f2; color: var(--hot); }
.jx-page-head__icon--default { background: var(--border-light); color: var(--text-secondary); }

.jx-page-head__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.jx-page-head__subtitle {
    margin-top: 0.375rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ── Section header ── */
.jx-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.jx-section-head__title {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.jx-section-head__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.jx-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.375rem;
}

.jx-badge--aviation { background: var(--aviation-soft); color: var(--aviation); }
.jx-badge--rail { background: var(--rail-soft); color: var(--rail); }
.jx-badge--hot { background: #fef2f2; color: var(--hot); }
.jx-badge--featured { background: #f5f3ff; color: var(--featured); }

/* ── Cards & panels ── */
.jx-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.jx-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: #d4d4d8;
}

.jx-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

/* ── Category cards ── */
.jx-cat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .jx-cat-grid { grid-template-columns: 1fr 1fr; }
}

.jx-cat-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.jx-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.jx-cat-card--aviation { border-color: #bae6fd; }
.jx-cat-card--aviation:hover { border-color: var(--aviation); }

.jx-cat-card--railway { border-color: #fde68a; }
.jx-cat-card--railway:hover { border-color: var(--rail); }

.jx-cat-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.75rem;
}

.jx-cat-card__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.375rem;
    flex: 1;
}

.jx-cat-card__arrow {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.jx-cat-card:hover .jx-cat-card__arrow { color: var(--text); }

/* ── Photo grid ── */
.jx-photo-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
}

@media (min-width: 640px) { .jx-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jx-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .jx-photo-grid { grid-template-columns: repeat(4, 1fr); } }

.jx-photo-card {
    display: block;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.jx-photo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.jx-photo-card__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--border-light);
}

.jx-photo-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jx-photo-card:hover .jx-photo-card__thumb img { transform: scale(1.04); }

.jx-photo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.jx-photo-card:hover .jx-photo-card__overlay { opacity: 1; }

.jx-photo-card__meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    transform: translateY(4px);
    opacity: 0;
    transition: all var(--transition);
}

.jx-photo-card:hover .jx-photo-card__meta {
    transform: translateY(0);
    opacity: 1;
}

.jx-photo-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.375rem;
}

.jx-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.jx-tag--hot { background: var(--hot); }
.jx-tag--featured { background: var(--featured); }
.jx-tag--rail { background: var(--rail); }
.jx-tag--aviation { background: var(--aviation); }
.jx-tag--pending { background: #d97706; }
.jx-tag--rejected { background: #dc2626; }

.jx-photo-card__body {
    padding: 0.875rem 1rem 1rem;
}

.jx-photo-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jx-photo-card__sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jx-photo-card__stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ── Rank list ── */
.jx-rank-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

@media (min-width: 640px) { .jx-rank-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jx-rank-list { grid-template-columns: repeat(4, 1fr); } }

.jx-rank-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.jx-rank-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.jx-rank-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8125rem;
    font-weight: 800;
    border-radius: 6px;
    background: var(--border-light);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.jx-rank-num--1 { background: #fef3c7; color: #92400e; }
.jx-rank-num--2 { background: #f4f4f5; color: #52525b; }
.jx-rank-num--3 { background: #ffedd5; color: #9a3412; }

.jx-rank-item img {
    width: 3.5rem;
    height: 2.625rem;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.jx-rank-item__title {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jx-rank-item__sub {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

/* ── Announcement ── */
.jx-announce {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--accent-soft);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
}

.jx-announce__item {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-light);
}

.jx-announce__item:last-child { border-bottom: none; }

.jx-pin {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    background: var(--rail-soft);
    color: var(--rail);
    border-radius: 3px;
    margin-right: 0.375rem;
}

/* ── Forms ── */
.jx-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.jx-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.jx-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
}

.jx-form-group { margin-bottom: 1rem; }

/* ── Alerts ── */
.jx-alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.jx-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.jx-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ── Footer ── */
.jx-footer {
    background: var(--text);
    color: #a1a1aa;
    margin-top: auto;
}

.jx-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .jx-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.jx-footer__brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.jx-footer__desc {
    font-size: 0.8125rem;
    line-height: 1.7;
    max-width: 20rem;
}

.jx-footer__friend-links {
    margin-top: 1.5rem;
}

.jx-footer__heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.jx-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jx-footer__links li { margin-bottom: 0.5rem; }

.jx-footer__links a {
    font-size: 0.8125rem;
    transition: color var(--transition);
}

.jx-footer__links a:hover { color: white; }

.jx-footer__bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.75rem;
}

.jx-footer__wechat {
    display: inline-flex;
    margin-top: 0.75rem;
    padding: 0.4375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #059669;
    color: white;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.jx-footer__wechat:hover { background: #047857; }

/* ── Auth ── */
.jx-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 16rem);
    padding: 3rem 1rem;
}

.jx-auth__card {
    width: 100%;
    max-width: 24rem;
    padding: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.jx-auth__title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
}

.jx-auth__subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.375rem;
    margin-bottom: 1.5rem;
}

/* ── Photo detail ── */
.jx-photo-detail {
    padding: 2rem 0 4rem;
}

.jx-photo-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .jx-photo-detail__grid { grid-template-columns: 1.2fr 0.8fr; }
}

.jx-photo-detail__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--border-light);
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
}

.jx-photo-detail__image img {
    width: 100%;
    height: auto;
}

.jx-photo-detail__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.jx-photo-detail__desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.jx-photo-detail__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.jx-spec {
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.jx-spec__label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.125rem;
}

.jx-spec__value {
    font-size: 0.875rem;
    font-weight: 500;
}

.jx-photo-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
}

.jx-photo-detail__tag {
    padding: 0.3125rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

/* ── Comments ── */
.jx-comments { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.jx-comments__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.jx-comment {
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 0.625rem;
}

.jx-comment__head {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.jx-comment__user { font-weight: 600; color: var(--text-secondary); }

.jx-comment__body {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ── Pagination ── */
.jx-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.jx-pagination__info {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Empty state ── */
.jx-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.jx-empty__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: var(--text-muted);
}

.jx-empty__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.jx-empty__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ── Prose ── */
.jx-prose h1, .jx-prose h2, .jx-prose h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.jx-prose p, .jx-prose li {
    color: var(--text-secondary);
    line-height: 1.75;
}

.jx-prose h4 {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.jx-prose ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.jx-prose ol li {
    margin-bottom: 0.375rem;
}

.jx-standards-intro {
    font-size: 0.9375rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.jx-standards-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

/* ── Icons ── */
.jx-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* ── Utilities (minimal, complement Tailwind) ── */
.text-link {
    color: var(--accent);
    font-weight: 500;
    transition: color var(--transition);
}

.text-link:hover { color: var(--accent-hover); }

/* ── Tabs ── */
.jx-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.jx-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.jx-tab:hover { color: var(--text); background: var(--border-light); }

.jx-tab.active {
    color: white;
    background: var(--text);
}

/* ── List cards ── */
.jx-list-card {
    display: block;
    padding: 1.25rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.jx-list-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.jx-list-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.jx-list-card__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.jx-list-card__meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.jx-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
}

.jx-contact-icon .jx-icon { width: 1.125rem; height: 1.125rem; }

/* ── Staff cards ── */
.jx-staff-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.jx-staff-card__avatar {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.jx-staff-card__role {
    font-size: 0.8125rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.jx-staff-card__bio {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.jx-member-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

/* ── Announcement modal ── */
body.jx-ann-open { overflow: hidden; }

.jx-ann-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.jx-ann-modal.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.jx-ann-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
}

.jx-ann-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    animation: jx-ann-in 0.3s ease;
}

@keyframes jx-ann-in {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.jx-ann-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem;
    background: white;
}

.jx-ann-header__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jx-ann-header__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
    flex-shrink: 0;
}

.jx-ann-header__icon svg { width: 1.125rem; height: 1.125rem; }

.jx-ann-header__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: -0.01em;
}

.jx-ann-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.jx-ann-close:hover { color: #64748b; background: #f1f5f9; }
.jx-ann-close svg { width: 1.125rem; height: 1.125rem; }

.jx-ann-body {
    background: #f4f6f8;
    padding: 1.25rem 1.5rem;
    max-height: 320px;
    overflow-y: auto;
}

.jx-ann-body::-webkit-scrollbar { width: 4px; }
.jx-ann-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.jx-ann-body__head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.jx-ann-body__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: #dbeafe;
    color: #2563eb;
    flex-shrink: 0;
}

.jx-ann-body__icon .jx-icon { width: 1rem; height: 1rem; }

.jx-ann-body__subtitle {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e3a5f;
}

.jx-ann-body__content {
    font-size: 0.875rem;
    line-height: 1.85;
    color: #64748b;
    text-align: center;
}

.jx-ann-footer {
    padding: 1rem 1.25rem 1.25rem;
    background: white;
}

.jx-ann-confirm {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.jx-ann-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.jx-ann-confirm svg { width: 1rem; height: 1rem; }
