.boardgame-main {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
}

.boardgame-hero {
    position: relative;
    padding: 2.5rem 0 0;
}

.boardgame-hero-card {
    padding: 24px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(30, 50, 80, 0.07);
    box-shadow: 0 8px 32px rgba(20, 35, 60, 0.05);
}

.boardgame-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.boardgame-hero-cta {
    flex-shrink: 0;
    padding: 10px 20px;
    background: #1d3a64;
    color: #fff;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, transform 0.18s ease;
}

.boardgame-hero-cta:hover {
    background: #264d80;
    color: #fff;
    transform: translateY(-1px);
}

.boardgame-panel-card,
.boardgame-footnote-card {
    border: 1px solid rgba(30, 50, 80, 0.07);
    background: #fff;
    box-shadow: 0 4px 20px rgba(20, 35, 60, 0.04);
}

.boardgame-hero-poster-callout {
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(234, 170, 24, 0.14) 0%, rgba(59, 130, 246, 0.12) 100%);
    border: 1px solid rgba(234, 170, 24, 0.35);
    box-shadow: 0 16px 40px rgba(23, 39, 65, 0.12);
}

.boardgame-hero-poster-callout-label {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-navy);
}

.boardgame-hero-poster-callout-text {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #2d3a52;
}

.boardgame-hero-poster-callout-text strong {
    color: #1a2d4a;
    font-weight: 800;
}

.boardgame-hero-poster-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #234a84 0%, #1a3668 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(26, 54, 104, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.boardgame-hero-poster-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 54, 104, 0.4);
    color: #fff;
}

.boardgame-hero-poster-cta::after {
    content: '→';
    font-weight: 800;
}

.boardgame-hero-copy {
    flex: 1;
    min-width: 0;
}

.boardgame-section-kicker,
.boardgame-panel-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-navy);
}

.boardgame-title {
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a2740;
}

.boardgame-subtitle {
    margin-top: 0.4rem;
    max-width: 600px;
    font-size: 0.95rem;
    color: #5a6a82;
    line-height: 1.6;
}

.boardgame-panel-card {
    border-radius: 24px;
    padding: 1.4rem;
}

.boardgame-panel-note {
    margin-top: 0.7rem;
    color: #5e6a80;
    line-height: 1.7;
}

.boardgame-source-row {
    display: grid;
    gap: 0.3rem;
    height: 100%;
    align-content: start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    background: rgba(246, 249, 253, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.boardgame-source-row p {
    margin: 0;
    color: #4c5a72;
    line-height: 1.7;
}

.boardgame-source-label,
.boardgame-source-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(30, 58, 95, 0.08);
    color: #21304d;
    font-size: 0.8rem;
    font-weight: 700;
}

.boardgame-section {
    position: relative;
    padding: 1.75rem 0 2.5rem;
}

.boardgame-hero-card .boardgame-search-panel {
    margin-top: 16px;
}

.boardgame-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f5f7fb;
    border: 1px solid rgba(30, 50, 80, 0.08);
}

.boardgame-search-icon {
    flex-shrink: 0;
    color: #b0b8c8;
    font-size: 0.9rem;
}

.boardgame-search-input {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #17253b;
    font-size: 0.95rem;
}

.boardgame-search-input:focus {
    outline: none;
}

.boardgame-search-hint {
    flex: none;
    color: #9aa4b6;
    font-size: 0.82rem;
}

.boardgame-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.boardgame-search-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.85rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248, 250, 253, 0.96), #fff);
    border: 1px solid rgba(30, 58, 95, 0.08);
}

.boardgame-search-card-media {
    width: 84px;
}

.boardgame-search-card-image,
.boardgame-search-card-image-fallback {
    width: 84px;
    height: 112px;
    border-radius: 16px;
}

.boardgame-search-card-image {
    display: block;
    object-fit: cover;
    background: #eef2f7;
}

.boardgame-search-card-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    background: linear-gradient(135deg, #183c72, #3d7ed7);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.boardgame-search-card-body {
    min-width: 0;
}

.boardgame-search-card-top h3 {
    margin: 0;
    color: #152236;
    font-size: 1.02rem;
}

.boardgame-search-card-top p {
    margin: 0.24rem 0 0;
    color: #60708b;
    font-size: 0.88rem;
}

.boardgame-search-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin-top: 0.65rem;
    color: #4f5f77;
    font-size: 0.82rem;
}

.boardgame-search-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.boardgame-search-result-card .boardgame-mark-group {
    margin-top: 0.95rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(30, 58, 95, 0.08);
}

.boardgame-search-result-card .boardgame-mark-btn {
    min-height: 66px;
}

.boardgame-search-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(30, 58, 95, 0.07);
    color: #314663;
    font-size: 0.76rem;
    font-weight: 700;
}

.boardgame-search-tag-highlight {
    background: rgba(44, 106, 196, 0.12);
    color: #24509a;
}

.boardgame-search-empty {
    grid-column: 1 / -1;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(244, 247, 251, 0.9);
    color: #60708b;
    font-size: 0.9rem;
}

.boardgame-feed-strip {
    padding: 14px 0;
}

.boardgame-feed-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(90deg, #f4f7fc, #faf7f0);
    border: 1px solid rgba(30, 50, 80, 0.05);
    overflow: hidden;
}

.boardgame-feed-label {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1d3a64;
    white-space: nowrap;
}

.boardgame-feed-divider {
    flex-shrink: 0;
    width: 1px;
    height: 16px;
    background: rgba(30, 50, 80, 0.12);
}

.boardgame-feed-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.boardgame-feed-scroll::-webkit-scrollbar {
    display: none;
}

.boardgame-feed-pill {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(30, 50, 80, 0.06);
    font-size: 0.82rem;
    color: #3a4a64;
    white-space: nowrap;
}

.boardgame-feed-pill b {
    color: #1a2740;
    font-weight: 700;
}

.boardgame-subnav-shell {
    position: sticky;
    top: 76px;
    z-index: 5;
    padding: 0 0 1.25rem;
}

.boardgame-subnav-shell::before {
    content: '';
    position: absolute;
    inset: -0.45rem 0 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(247, 248, 252, 0.96), rgba(247, 248, 252, 0.72) 68%, rgba(247, 248, 252, 0));
    pointer-events: none;
}

.boardgame-subnav {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.boardgame-subnav-link {
    position: relative;
    display: grid;
    gap: 0.38rem;
    min-height: 100px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(30, 50, 80, 0.08);
    background: #fff;
    text-decoration: none;
    color: #20324d;
    box-shadow: 0 4px 16px rgba(20, 35, 60, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    overflow: hidden;
}

.boardgame-subnav-link strong {
    font-size: 1.05rem;
    line-height: 1.3;
    color: #17253b;
}

.boardgame-subnav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 35, 60, 0.08);
    border-color: rgba(30, 50, 80, 0.14);
}

/* 选中态：浅色底 + 品牌色描边，与整页留白风格一致，避免整块深蓝与底部高亮光条 */
.boardgame-subnav-link.is-active {
    background: linear-gradient(165deg, #f5f8fd 0%, #eef3fb 55%, #e8f0fa 100%);
    border: 1.5px solid rgba(29, 58, 100, 0.42);
    color: #1a2d45;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 6px 22px rgba(29, 58, 100, 0.1);
}

.boardgame-subnav-link.is-active:hover {
    border-color: rgba(29, 58, 100, 0.52);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 28px rgba(29, 58, 100, 0.12);
}

.boardgame-subnav-link.is-active strong {
    color: #132238;
}

.boardgame-subnav-link.is-active .boardgame-subnav-kicker {
    color: rgba(29, 58, 100, 0.62);
}

.boardgame-subnav-link.is-active .boardgame-subnav-note {
    color: #516079;
}

.boardgame-subnav-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #60708b;
}

.boardgame-subnav-note {
    color: inherit;
    font-size: 0.86rem;
    line-height: 1.55;
    max-width: 22ch;
}

.boardgame-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.boardgame-section-head h2 {
    margin-top: 0.35rem;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    letter-spacing: -0.03em;
    color: #152236;
}

.boardgame-section-head p {
    margin-top: 0.65rem;
    color: #546178;
    line-height: 1.8;
    max-width: 720px;
}

.boardgame-section-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.boardgame-section-meta span {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 58, 95, 0.08);
    color: #425069;
    font-size: 0.88rem;
}

.boardgame-card-grid,
.boardgame-award-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
}

.boardgame-hotness-intro {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(30, 50, 80, 0.06);
    background: #fff;
    color: #4f5f77;
    line-height: 1.75;
    box-shadow: 0 4px 16px rgba(20, 35, 60, 0.03);
}

.boardgame-filter-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 10px 16px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(30, 50, 80, 0.06);
    box-shadow: 0 4px 16px rgba(20, 35, 60, 0.03);
}

.boardgame-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.boardgame-filter-label {
    color: #667389;
    font-size: 0.84rem;
    font-weight: 700;
}

.boardgame-filter-chip {
    padding: 0.58rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    background: #fff;
    color: #40516d;
    font-size: 0.88rem;
    font-weight: 700;
}

.boardgame-filter-chip.is-active {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.18), rgba(59, 130, 246, 0.16));
    color: #15233b;
    border-color: rgba(59, 130, 246, 0.18);
}

.boardgame-filter-select-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.boardgame-filter-select {
    min-width: 132px;
    padding: 0.62rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(30, 58, 95, 0.1);
    background: #fff;
    color: #30415d;
    font-weight: 600;
}

.boardgame-card {
    grid-column: span 4;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(30, 50, 80, 0.06);
    box-shadow: 0 2px 8px rgba(20, 35, 60, 0.04);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.boardgame-card.is-filter-hidden {
    display: none !important;
}

.boardgame-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(20, 35, 60, 0.12), 0 4px 12px rgba(20, 35, 60, 0.06);
    border-color: rgba(30, 50, 80, 0.1);
}

.boardgame-cover {
    position: relative;
    min-height: 180px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
    isolation: isolate;
}

.boardgame-cover-bgg {
    background:
        linear-gradient(135deg, rgba(17, 42, 83, 0.92), rgba(59, 130, 246, 0.84)),
        radial-gradient(circle at top right, rgba(255, 184, 0, 0.5), transparent 40%);
}

.boardgame-cover-award {
    background:
        linear-gradient(135deg, rgba(108, 70, 11, 0.92), rgba(255, 184, 0, 0.82)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 45%);
}

.boardgame-cover-hotness {
    background:
        linear-gradient(135deg, rgba(83, 36, 7, 0.92), rgba(217, 114, 24, 0.86)),
        radial-gradient(circle at top right, rgba(255, 220, 138, 0.28), transparent 45%);
}

.boardgame-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.15) 40%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 0;
}

.boardgame-card-image-wrap {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.boardgame-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.boardgame-card:hover .boardgame-card-image {
    transform: scale(1.08);
}

.boardgame-card-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: 1.55rem;
    text-align: center;
    line-height: 1.3;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 35%),
        linear-gradient(135deg, rgba(17, 42, 83, 0.72), rgba(59, 130, 246, 0.66));
}

.boardgame-rank,
.boardgame-award-year-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.boardgame-cover-text {
    text-align: right;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.boardgame-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem 1.1rem;
}

.boardgame-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.boardgame-card-top h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    color: #152236;
}

.boardgame-card-subtitle {
    margin-top: 0.25rem;
    color: #8694a8;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}

.boardgame-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.boardgame-tag {
    padding: 0.32rem 0.65rem;
    border-radius: 8px;
    background: #f0f4fa;
    color: #3a4f6e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.boardgame-tag-highlight {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.15), rgba(255, 160, 0, 0.2));
    color: #7a5500;
}

.boardgame-card-reason {
    margin-top: 0.85rem;
    color: #4a5b74;
    font-size: 0.92rem;
    line-height: 1.75;
    flex: 1;
}

.boardgame-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(30, 58, 95, 0.06);
    color: #8694a8;
    font-size: 0.84rem;
}

.boardgame-card-footer a {
    color: #3B82F6;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.boardgame-card-footer a:hover {
    color: #1d5bbf;
}

.boardgame-section-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.35rem;
}

.boardgame-toggle-btn,
.boardgame-year-tab {
    appearance: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.boardgame-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    color: #fff;
    text-align: center;
    text-decoration: none;
    line-height: 1.35;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(30, 58, 95, 0.18);
}

.boardgame-toggle-btn:hover,
.boardgame-year-tab:hover {
    transform: translateY(-1px);
}

.boardgame-year-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.boardgame-year-tabs::-webkit-scrollbar {
    display: none;
}

.boardgame-year-tab {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #43516a;
    border: 1px solid rgba(30, 58, 95, 0.1);
    font-weight: 700;
}

.boardgame-year-tab.is-active {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.2), rgba(59, 130, 246, 0.18));
    color: #14233c;
    border-color: rgba(59, 130, 246, 0.18);
}

.boardgame-award-year.is-hidden {
    display: none;
}

.boardgame-section-awards .boardgame-card {
    grid-column: span 6;
}

.boardgame-footnote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.boardgame-footnote-card {
    padding: 1.4rem;
    border-radius: 24px;
}

.boardgame-footnote-card-unified {
    display: grid;
    gap: 1rem;
}

.boardgame-footnote-header {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: start;
}

.boardgame-footnote-card h3 {
    margin-top: 0.55rem;
    font-size: 1.3rem;
    color: #17243a;
}

.boardgame-footnote-card p:last-child {
    margin-top: 0.7rem;
    color: #5c697f;
    line-height: 1.8;
}

.boardgame-footnote-update {
    min-width: 180px;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(246, 249, 253, 0.96), rgba(235, 241, 248, 0.94));
    border: 1px solid rgba(30, 58, 95, 0.08);
    color: #1d304c;
}

.boardgame-footnote-update-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #697992;
}

.boardgame-footnote-update strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.15rem;
}

.boardgame-footnote-rule {
    margin: 0;
    color: #5c697f;
    line-height: 1.8;
}

.boardgame-footnote-sources {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.boardgame-mark-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(30, 58, 95, 0.06);
}

.boardgame-mark-btn {
    appearance: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.18rem;
    min-height: 72px;
    border: 1px solid rgba(21, 56, 104, 0.16);
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(241, 245, 250, 0.96));
    color: #31425d;
    border-radius: 20px;
    padding: 0.8rem 0.9rem 0.8rem 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
    overflow: hidden;
}

.boardgame-mark-btn::before {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.86;
}

.boardgame-mark-btn-want::before {
    content: '☆';
    color: #b87412;
}

.boardgame-mark-btn-played::before {
    content: '✓';
    color: #0e6c6d;
}

.boardgame-mark-btn-text {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: inherit;
}

.boardgame-mark-btn-note {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    color: #6f7e93;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.boardgame-mark-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(26, 91, 178, 0.3);
    box-shadow: 0 14px 30px rgba(28, 81, 166, 0.12);
}

.boardgame-mark-btn-want {
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(255, 244, 226, 0.95));
    border-color: rgba(217, 143, 24, 0.24);
}

.boardgame-mark-btn-played {
    background: linear-gradient(180deg, rgba(240, 250, 250, 0.98), rgba(227, 246, 245, 0.96));
    border-color: rgba(18, 126, 129, 0.22);
}

.boardgame-mark-btn.is-active {
    background: linear-gradient(135deg, #17345f, #2d6fd6);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 16px 34px rgba(28, 81, 166, 0.26);
    transform: translateY(-1px);
}

.boardgame-mark-btn-want.is-active {
    background: linear-gradient(135deg, #8d4d00, #e7a316);
    box-shadow: 0 16px 34px rgba(184, 116, 18, 0.28);
}

.boardgame-mark-btn-played.is-active {
    background: linear-gradient(135deg, #0f5561, #15a3a7);
    box-shadow: 0 16px 34px rgba(15, 113, 117, 0.28);
}

.boardgame-mark-btn.is-active .boardgame-mark-btn-note,
.boardgame-mark-btn.is-active::before {
    color: rgba(255, 255, 255, 0.86);
}

.boardgame-mark-btn.is-inactive {
    background: linear-gradient(180deg, rgba(245, 247, 250, 0.92), rgba(236, 240, 244, 0.92));
    border-color: rgba(118, 131, 151, 0.16);
    color: #758399;
    box-shadow: none;
    opacity: 0.86;
    filter: grayscale(0.08);
}

.boardgame-mark-btn.is-inactive::before,
.boardgame-mark-btn.is-inactive .boardgame-mark-btn-note {
    color: #98a3b4;
}

.boardgame-mark-btn.is-inactive .boardgame-mark-btn-text {
    color: #6f7d92;
}

.boardgame-mark-btn:disabled {
    opacity: 0.68;
    cursor: wait;
}

.profile-boardgame-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.boardgame-share-btn {
    background: linear-gradient(135deg, #17345f, #2d6fd6);
    color: #fff;
    border-color: transparent;
}

.boardgame-share-btn:hover {
    color: #fff;
}

.boardgame-poster-payload {
    display: none;
}

.boardgame-share-poster-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.boardgame-share-poster-modal[hidden] {
    display: none !important;
}

.boardgame-share-poster-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.boardgame-share-poster-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(92vh, 920px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 74, 132, 0.55) rgba(232, 238, 246, 0.92);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
    padding: 1.1rem;
}

.boardgame-share-poster-dialog::-webkit-scrollbar {
    width: 10px;
}

.boardgame-share-poster-dialog::-webkit-scrollbar-track {
    margin: 14px 0;
    border-radius: 999px;
    background: rgba(232, 238, 246, 0.92);
}

.boardgame-share-poster-dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid rgba(232, 238, 246, 0.92);
    background: linear-gradient(180deg, rgba(29, 58, 95, 0.78), rgba(59, 130, 246, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.boardgame-share-poster-dialog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(24, 49, 81, 0.88), rgba(43, 111, 214, 0.82));
}

.boardgame-share-poster-header,
.boardgame-share-poster-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.boardgame-share-poster-header h2 {
    margin: 0.35rem 0 0;
    color: #17243a;
    font-size: 1.45rem;
    line-height: 1.2;
}

.boardgame-share-poster-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: #fff;
    color: #42536a;
    font-size: 1.6rem;
    line-height: 1;
}

.boardgame-share-poster-body {
    margin: 1rem 0;
    overflow: hidden;
}

.boardgame-share-poster-canvas {
    display: none;
}

.boardgame-share-poster-preview {
    width: 100%;
    display: block;
    max-height: min(64vh, 680px);
    object-fit: contain;
    border-radius: 28px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 50px rgba(18, 35, 60, 0.12);
    background: linear-gradient(180deg, #f8f4eb, #f7f9fc);
}

.boardgame-share-poster-tip {
    margin: 0;
    max-width: 260px;
    color: #687891;
    font-size: 0.88rem;
    line-height: 1.7;
}

.boardgame-share-poster-footer .profile-boardgame-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.boardgame-share-poster-open {
    overflow: hidden;
}

/* ── Hero v2 ── */
.boardgame-hero-v2 {
    padding: 3rem 0 1.5rem;
    background: linear-gradient(180deg, #eef2f8 0%, #f7f8fc 100%);
}

.boardgame-hero-center {
    text-align: center;
    margin-bottom: 2rem;
}

.boardgame-hero-headline {
    margin: 0;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #152236;
}

.boardgame-hero-tagline {
    margin: 0.6rem 0 0;
    font-size: 1.05rem;
    color: #5a6a82;
    line-height: 1.6;
}

.boardgame-hero-account-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin: 0 auto 1.25rem;
    max-width: 640px;
    text-align: center;
}

.boardgame-hero-account-entry {
    font-weight: 700;
    color: #1d3a64;
    text-decoration: none;
    border-bottom: 2px solid rgba(29, 58, 100, 0.25);
}

.boardgame-hero-account-entry:hover {
    color: #2563eb;
    border-bottom-color: rgba(37, 99, 235, 0.45);
}

.boardgame-hero-account-entry-note {
    font-size: 0.88rem;
    color: #64748b;
}

.boardgame-overview-update {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
}

.boardgame-search-shell {
    position: relative;
    z-index: 6;
    isolation: isolate;
}

.boardgame-search-shell .boardgame-search-input-v2 {
    -webkit-appearance: none;
    appearance: none;
}

/* v2 search panel */
.boardgame-search-panel-v2 {
    max-width: 640px;
    margin: 0 auto 2rem;
}

.boardgame-search-input-wrap-v2 {
    height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(30, 50, 80, 0.12);
    box-shadow: 0 4px 20px rgba(20, 35, 60, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.boardgame-search-input-wrap-v2:focus-within {
    border-color: #3B82F6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.boardgame-search-icon-v2 {
    flex-shrink: 0;
    color: #9aa4b6;
}

.boardgame-search-input-v2 {
    color: #17253b;
    font-size: 1rem;
}

.boardgame-search-input-v2::placeholder {
    color: #9aa4b6;
}

/* v2 search results */
.boardgame-hero-v2 .boardgame-search-results {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* action cards */
.boardgame-action-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.boardgame-action-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(30, 50, 80, 0.08);
    box-shadow: 0 4px 16px rgba(20, 35, 60, 0.04);
    text-decoration: none;
    color: #20324d;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.boardgame-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 35, 60, 0.08);
    border-color: rgba(30, 50, 80, 0.14);
    color: #20324d;
}

.boardgame-action-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.boardgame-action-text {
    min-width: 0;
}

.boardgame-action-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #152236;
}

.boardgame-action-text span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #5a6a82;
}

/* poster callout in v2 */
.boardgame-hero-v2 .boardgame-hero-poster-callout {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

@media (max-width: 1100px) {
    .boardgame-card,
    .boardgame-section-awards .boardgame-card {
        grid-column: span 6;
    }

    .boardgame-footnote-sources {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .boardgame-hero-v2 {
        padding: 2rem 0 1.2rem;
    }

    .boardgame-hero {
        padding: 1.5rem 0 0;
    }

    .boardgame-action-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .boardgame-action-card {
        padding: 1rem;
    }

    .boardgame-hero-card {
        padding: 18px 20px;
    }

    .boardgame-hero-top {
        flex-direction: column;
        align-items: stretch;
    }

    .boardgame-hero-cta {
        text-align: center;
    }

    .boardgame-hero-poster-callout {
        margin-bottom: 1.2rem;
        padding: 1.1rem 1.2rem;
        border-radius: 20px;
    }

    .boardgame-hero-poster-callout-text {
        font-size: 0.95rem;
    }

    .boardgame-hero-poster-cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }

    .boardgame-section-head {
        flex-direction: column;
        align-items: start;
    }

    .boardgame-subnav-shell {
        top: 68px;
        padding-bottom: 1rem;
    }

    .boardgame-search-results {
        grid-template-columns: 1fr;
    }

    .boardgame-search-result-card .boardgame-mark-group {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .boardgame-search-result-card .boardgame-mark-btn {
        min-height: 72px;
    }

    .boardgame-subnav {
        grid-template-columns: 1fr;
    }

    .boardgame-subnav-link {
        min-height: 90px;
        padding: 0.9rem 1rem;
    }

    .boardgame-section-meta {
        justify-content: flex-start;
    }

    .boardgame-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .boardgame-card,
    .boardgame-section-awards .boardgame-card,
    .boardgame-footnote-card {
        grid-column: span 12;
    }

    .boardgame-footnote-grid {
        grid-template-columns: 1fr;
    }

    .boardgame-footnote-header {
        flex-direction: column;
    }

    .boardgame-card-footer {
        flex-direction: column;
        align-items: start;
    }

    .boardgame-mark-group {
        gap: 0.55rem;
    }

    .boardgame-mark-btn {
        min-height: 76px;
    }

    .profile-boardgame-actions {
        width: 100%;
    }

    .profile-boardgame-actions .boardgame-toggle-btn {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .boardgame-share-poster-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .boardgame-share-poster-footer .profile-boardgame-actions {
        width: 100%;
        justify-content: stretch;
    }

    .boardgame-cover {
        min-height: 160px;
    }
}

@media (max-width: 480px) {
    .boardgame-hero-v2 {
        padding: 1.5rem 0 1rem;
    }

    .boardgame-hero-center {
        margin-bottom: 1.5rem;
    }

    .boardgame-hero-tagline {
        font-size: 0.95rem;
    }

    .boardgame-search-input-wrap-v2 {
        height: 48px;
        padding: 0 14px;
    }

    .boardgame-search-panel-v2 {
        margin-bottom: 1.5rem;
    }

    .boardgame-action-icon {
        font-size: 1.3rem;
    }

    .boardgame-action-text strong {
        font-size: 0.9rem;
    }

    .boardgame-action-text span {
        font-size: 0.78rem;
    }

    .boardgame-hero-poster-callout {
        margin-bottom: 1rem;
        padding: 1rem 1rem;
        border-radius: 18px;
    }

    .boardgame-hero-poster-callout-label {
        font-size: 0.78rem;
    }

    .boardgame-hero-poster-callout-text {
        font-size: 0.92rem;
        margin-bottom: 0.9rem;
    }

    .boardgame-hero-card {
        padding: 16px;
    }

    .boardgame-feed-inner {
        padding: 10px 14px;
    }

    .boardgame-subnav-shell {
        position: static;
    }

    .boardgame-search-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .boardgame-search-card-top h3 {
        font-size: 0.96rem;
        line-height: 1.28;
    }

    .boardgame-search-card-top p {
        font-size: 0.82rem;
    }

    .boardgame-search-card-meta {
        gap: 0.35rem 0.55rem;
        margin-top: 0.5rem;
        font-size: 0.78rem;
    }

    .boardgame-search-card-tags {
        margin-top: 0.6rem;
    }

    .boardgame-search-result-card .boardgame-mark-group {
        margin-top: 0.75rem;
        gap: 0.5rem;
    }

    .boardgame-search-result-card .boardgame-mark-btn {
        min-height: 68px;
        padding: 0.8rem 0.7rem;
    }

    .boardgame-search-result-card .boardgame-mark-btn-note {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .boardgame-search-card-image,
    .boardgame-search-card-image-fallback {
        width: 72px;
        height: 96px;
        border-radius: 14px;
    }

    .boardgame-subnav {
        display: flex;
        overflow-x: auto;
        gap: 0.7rem;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
    }

    .boardgame-subnav::-webkit-scrollbar {
        display: none;
    }

    .boardgame-subnav-link {
        min-width: 200px;
        min-height: 90px;
        flex: 0 0 200px;
        padding: 0.85rem 0.9rem;
        border-radius: 14px;
    }

    .boardgame-subnav-link strong {
        font-size: 0.98rem;
    }

    .boardgame-subnav-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }

    .boardgame-subnav-note {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .boardgame-title {
        font-size: 1.6rem;
    }

    .boardgame-card-body {
        padding: 1rem;
    }

    .boardgame-cover {
        min-height: 140px;
        padding: 0.75rem;
    }

    .boardgame-filter-select-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .boardgame-filter-select {
        min-width: 0;
        flex: 1;
    }

    .boardgame-mark-btn {
        min-height: 68px;
    }

    .boardgame-mark-group {
        grid-template-columns: 1fr;
    }

    .profile-boardgame-actions {
        width: 100%;
        flex-direction: column;
    }

    .profile-boardgame-actions .boardgame-toggle-btn {
        width: 100%;
        flex: none;
        text-align: center;
    }

    .boardgame-share-poster-dialog {
        width: 100%;
        max-height: 100vh;
        border-radius: 24px;
        padding: 0.9rem;
    }

    .boardgame-share-poster-header,
    .boardgame-share-poster-footer {
        align-items: flex-start;
    }

    .boardgame-share-poster-tip {
        max-width: none;
    }

    .boardgame-share-poster-preview {
        max-height: min(58vh, 560px);
    }
}
