.boardgame-main {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 184, 0, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 30%),
        linear-gradient(180deg, #fbf6eb 0%, #f7f9fc 34%, #ffffff 100%);
}

.boardgame-main::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(30, 58, 95, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.04) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
}

.boardgame-hero {
    position: relative;
    padding: 5rem 0 3rem;
    overflow: hidden;
}

.boardgame-hero-inner {
    position: relative;
    z-index: 1;
    display: block;
}

.boardgame-hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.9;
}

.boardgame-hero-glow-left {
    width: 280px;
    height: 280px;
    left: -70px;
    top: 40px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.35) 0%, rgba(255, 184, 0, 0) 72%);
}

.boardgame-hero-glow-right {
    width: 320px;
    height: 320px;
    right: -120px;
    top: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 70%);
}

.boardgame-hero-copy,
.boardgame-panel-card,
.boardgame-footnote-card {
    border: 1px solid rgba(30, 58, 95, 0.08);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(30, 58, 95, 0.08);
}

.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 {
    padding: 2rem;
    border-radius: 32px;
    max-width: 100%;
}

.boardgame-eyebrow,
.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-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 12px 28px rgba(23, 39, 65, 0.06);
}

.boardgame-title {
    margin-top: 0.85rem;
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: #1d2533;
}

.boardgame-subtitle {
    margin-top: 1rem;
    max-width: 780px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: #3b4558;
    line-height: 1.65;
}

.boardgame-description {
    margin-top: 1rem;
    max-width: 720px;
    color: #586277;
    font-size: 1rem;
    line-height: 1.8;
}

.boardgame-hero-account-entry {
    margin-top: 1.15rem;
    display: inline-grid;
    grid-template-columns: 1fr auto;
    column-gap: 1rem;
    align-items: flex-start;
    min-height: 74px;
    max-width: 420px;
    padding: 0.95rem 1.1rem 0.95rem 1.15rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 249, 253, 0.92));
    border: 1px solid rgba(29, 52, 95, 0.1);
    color: #193252;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(27, 41, 66, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    position: relative;
}

.boardgame-hero-account-entry-text {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #18304d;
    grid-column: 1;
    grid-row: 1;
}

.boardgame-hero-account-entry-note {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #708096;
    grid-column: 1;
    grid-row: 2;
}

.boardgame-hero-share-tip {
    margin-top: 0.85rem;
    max-width: 520px;
    color: #66748a;
    font-size: 0.92rem;
    line-height: 1.7;
}

.boardgame-hero-account-entry::after {
    content: '→';
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 61, 108, 0.08);
    color: #234a84;
    font-size: 1.05rem;
    font-weight: 800;
}

.boardgame-hero-account-entry:hover {
    color: #193252;
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(27, 41, 66, 0.12);
    border-color: rgba(35, 74, 132, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 245, 251, 0.96));
}

.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-search-shell {
    position: relative;
    z-index: 6;
    isolation: isolate;
    padding: 0 0 1rem;
}

.boardgame-search-panel {
    position: relative;
    z-index: 1;
    padding: 1rem 1.15rem 1.1rem;
    border-radius: 24px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    background: #fff;
    box-shadow: 0 16px 36px rgba(23, 39, 65, 0.08);
}

.boardgame-search-label {
    display: block;
    margin-bottom: 0.65rem;
    color: #304564;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.boardgame-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.boardgame-search-input {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 1rem 0 1.05rem;
    border-radius: 16px;
    border: 1px solid rgba(35, 74, 132, 0.12);
    background: #fff;
    color: #17253b;
    font-size: 0.98rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.boardgame-search-input:focus {
    outline: none;
    border-color: rgba(35, 74, 132, 0.34);
    box-shadow: 0 0 0 4px rgba(44, 106, 196, 0.1);
}

.boardgame-search-hint {
    flex: none;
    color: #60708b;
    font-size: 0.84rem;
}

.boardgame-search-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 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-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, 249, 252, 0.94), rgba(247, 249, 252, 0.72) 68%, rgba(247, 249, 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: 132px;
    padding: 1rem 1.15rem 1.05rem;
    border-radius: 24px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-decoration: none;
    color: #20324d;
    box-shadow: 0 16px 36px rgba(23, 39, 65, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    overflow: hidden;
}

.boardgame-subnav-link::after {
    content: '';
    position: absolute;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 0.72rem;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 184, 0, 0), rgba(255, 184, 0, 0.9), rgba(59, 130, 246, 0));
    opacity: 0;
    transform: scaleX(0.72);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

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

.boardgame-subnav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(23, 39, 65, 0.12);
    border-color: rgba(35, 74, 132, 0.14);
}

.boardgame-subnav-link.is-active {
    background: linear-gradient(135deg, rgba(20, 48, 86, 0.96), rgba(44, 106, 196, 0.9));
    border-color: transparent;
    color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 48px rgba(19, 47, 86, 0.22);
}

.boardgame-subnav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.boardgame-subnav-link.is-active strong,
.boardgame-subnav-link.is-active .boardgame-subnav-kicker {
    color: #fff;
}

.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: 1rem;
}

.boardgame-hotness-intro {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: #4f5f77;
    line-height: 1.75;
    box-shadow: 0 18px 40px rgba(22, 37, 62, 0.06);
}

.boardgame-filter-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 18px 40px rgba(22, 37, 62, 0.06);
}

.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 3;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 24px 60px rgba(22, 37, 62, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

.boardgame-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 80px rgba(22, 37, 62, 0.12);
    border-color: rgba(30, 58, 95, 0.16);
}

.boardgame-cover {
    position: relative;
    min-height: 196px;
    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.05), rgba(15, 23, 42, 0.55));
    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);
}

.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.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.boardgame-cover-text {
    text-align: right;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.94);
    position: relative;
    z-index: 1;
}

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

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

.boardgame-card-top h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    color: #17243a;
}

.boardgame-card-subtitle {
    margin-top: 0.3rem;
    color: #748097;
    font-size: 0.95rem;
}

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

.boardgame-tag {
    padding: 0.36rem 0.68rem;
    border-radius: 999px;
    background: #eef3fb;
    color: #30415d;
    font-size: 0.82rem;
    font-weight: 600;
}

.boardgame-tag-highlight {
    background: rgba(255, 184, 0, 0.18);
    color: #6d4d04;
}

.boardgame-card-reason {
    margin-top: 1rem;
    color: #41516d;
    line-height: 1.82;
    flex: 1;
}

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

.boardgame-card-footer a {
    color: var(--brand-navy);
    font-weight: 700;
    text-decoration: none;
}

.boardgame-card-footer a:hover {
    text-decoration: underline;
}

.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.75rem;
    margin-top: 1rem;
}

.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;
}

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

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

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

    .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-hero-copy,
    .boardgame-panel-card,
    .boardgame-footnote-card {
        border-radius: 22px;
    }

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

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

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

    .boardgame-search-input-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .boardgame-search-panel {
        background: #fff;
        box-shadow: 0 14px 32px rgba(23, 39, 65, 0.08);
    }

    .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: 108px;
        padding: 0.95rem 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: 180px;
    }
}

@media (max-width: 480px) {
    .boardgame-main::before {
        opacity: 0.16;
    }

    .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-copy {
        padding: 1.3rem;
    }

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

    .boardgame-search-panel {
        padding: 0.9rem 0.9rem 1rem;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(23, 39, 65, 0.08);
    }

    .boardgame-search-input {
        height: 48px;
        font-size: 0.94rem;
    }

    .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: 224px;
        min-height: 100px;
        flex: 0 0 224px;
        padding: 0.88rem 0.9rem 0.95rem;
        border-radius: 20px;
    }

    .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: 2.2rem;
    }

    .boardgame-subtitle,
    .boardgame-description {
        font-size: 0.98rem;
    }

    .boardgame-hero-share-tip {
        font-size: 0.88rem;
    }

    .boardgame-hero-account-entry {
        width: 100%;
        max-width: none;
    }

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

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

    .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);
    }
}
