/* block:bf-game/activity 0.1.0 */
/* 게임 활동: 보일 칸 수(--bgx-act-cols)만큼 나눈 카드, 칸 제목 앞 색 아이콘 */
.bgx-act-w__grid { display: grid; grid-template-columns: repeat(var(--bgx-act-cols, 3), minmax(0, 1fr)); gap: var(--bf-gap, 16px); }
.bf-block--w-1-3 .bgx-act-w__grid, .bf-block--w-1-2 .bgx-act-w__grid, .bf-area--side .bgx-act-w__grid { grid-template-columns: minmax(0, 1fr); }
.bf-block--w-2-3 .bgx-act-w__grid { grid-template-columns: repeat(min(var(--bgx-act-cols, 3), 2), minmax(0, 1fr)); }
.bgx-act-w__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.bgx-act-w__title { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--bfc-ink); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.bgx-act-w__ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 0; background: none; color: var(--bgx-c, var(--bfc-primary)); font-size: 20px; width: auto; height: auto; }
.bgx-act-w .bgx-row__title .bgx-badge { margin-right: 4px; vertical-align: 1px; }
@media (max-width: 1024px) {
    .bgx-act-w__grid { grid-template-columns: repeat(min(var(--bgx-act-cols, 3), 2), minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .bgx-act-w__grid { grid-template-columns: minmax(0, 1fr); }
}

/* block:bf-game/banner-strip 0.1.1 */
.bfc-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--bfc-strip-h, 72px); padding: 14px 24px; border-radius: var(--bfc-radius, 4px); background-position: center; background-size: cover; color: #fff; text-decoration: none; box-sizing: border-box; }
.bfc-strip__main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bfc-strip__badge { flex-shrink: 0; padding: 4px 9px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; color: rgba(255, 255, 255, .85); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.bfc-strip__title { min-width: 0; overflow: hidden; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.bfc-strip__link { flex-shrink: 0; display: inline-flex; align-items: center; color: #fff; font-size: 13px; font-weight: 700; }
a.bfc-strip:hover .bfc-strip__link { color: var(--bfc-accent, #17bfa0); }

@media (max-width: 768px) {
    .bfc-strip { flex-direction: column; align-items: flex-start; padding: 16px 18px; }
    .bfc-strip__main { flex-direction: column; align-items: flex-start; gap: 8px; }
    .bfc-strip__title { white-space: normal; font-size: 15px; }
}

/* block:bf-game/events 0.1.0 */
/* 기획전 · 이벤트: 큰 카드 + 작은 카드 둘 */
.bgx-events__row { display: flex; flex-wrap: wrap; gap: 20px; }
.bgx-events__big { position: relative; display: flex; flex: 2 1 480px; min-height: 460px; overflow: hidden; border-radius: var(--bgx-r-24); color: #fff; text-decoration: none; isolation: isolate; }
.bgx-events__row.is-one .bgx-events__big { flex-basis: 100%; }
.bgx-events__big:hover { color: #fff; }
.bgx-events__big img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bgx-events__big:hover img { transform: scale(1.03); }
.bgx-events__big.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 55%); }
.bgx-events__text { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 40px); }
.bgx-events__eyebrow { font-size: 14px; font-weight: 700; opacity: .85; }
.bgx-events__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.bgx-events__desc { font-size: 16px; opacity: .9; }
.bgx-events__side { display: flex; flex-direction: column; gap: 20px; flex: 1 1 320px; }
.bgx-events__small { display: flex; align-items: center; gap: 16px; flex: 1; min-height: 220px; padding: 28px; overflow: hidden; border-radius: var(--bgx-r-24); color: #111; text-decoration: none; box-sizing: border-box; }
.bgx-events__small:hover { color: #111; }
.bgx-events__stext { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.bgx-events__small .bgx-events__eyebrow { color: #555; opacity: 1; }
.bgx-events__small .bgx-events__desc { color: #555; font-size: 15px; opacity: 1; }
.bgx-events__stitle { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.bgx-events__pic { flex: none; width: 150px; height: 150px; overflow: hidden; border-radius: var(--bgx-r-16); }
.bgx-events__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
    .bgx-events__row, .bgx-events__side { gap: 12px; }
    .bgx-events__big { min-height: 360px; border-radius: var(--bgx-r-18); }
    .bgx-events__small { min-height: 0; padding: 20px; border-radius: var(--bgx-r-18); }
    .bgx-events__stitle { font-size: 20px; }
    .bgx-events__pic { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
    .bgx-events__big img { transition: none; }
}

/* 게임: 어두운 작은 카드는 흰 글자, 사진 없는 카드는 단색 + 얇은 선 */
.bgx-events__big, .bgx-events__small { border-radius: var(--bfc-card-r); }
.bgx-events__small.is-dark, .bgx-events__small.is-dark:hover { color: #fff; }
.bgx-events__small.is-dark .bgx-events__desc { color: rgba(255, 255, 255, .7); }
.bgx-events__big:not(.has-photo), .bgx-events__small { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.bgx-events__eyebrow { display: inline-block; align-self: flex-start; padding: 2px 6px; border-radius: 3px; background: var(--bfc-primary); color: #fff !important; font-size: 12px; font-weight: 700; letter-spacing: 0; opacity: 1 !important; }
.bgx-events__small:not(.is-dark) .bgx-events__eyebrow { background: #111; }
.bgx-events__big:hover .bgx-events__title, .bgx-events__small:hover .bgx-events__stitle { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .bgx-events__big { min-height: 240px; } .bgx-events__small { min-height: 0; } }

/* block:bf-game/game-links 0.1.0 */
/* 미니게임 바로가기: 단색 카드 + 색 아이콘, 마우스를 올리면 테두리만 그 색 */
.bgx-gl__grid { display: grid; grid-template-columns: repeat(var(--bgx-gl-n, 5), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bf-block--w-1-2 .bgx-gl__grid, .bf-block--w-2-3 .bgx-gl__grid { grid-template-columns: repeat(min(var(--bgx-gl-n, 5), 3), minmax(0, 1fr)); }
.bf-block--w-1-3 .bgx-gl__grid, .bf-area--side .bgx-gl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bgx-gl__tile { --bgx-c: var(--bfc-primary); position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: var(--bfc-card-r); background: var(--bfc-surface); color: var(--bfc-ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--bfc-line); transition: box-shadow .15s; }
.bgx-gl__tile:hover { color: var(--bfc-ink); box-shadow: inset 0 0 0 1px var(--bgx-c); }
.bgx-gl__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--bgx-r-8); background: var(--bgx-c); color: #fff; font-size: 21px; flex-shrink: 0; }
.bgx-gl__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bgx-gl__text strong { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.bgx-gl__text span { color: var(--bfc-muted); font-size: 12.5px; line-height: 1.4; }
.bgx-gl__go { position: absolute; top: 50%; right: 14px; margin-top: -9px; color: var(--bfc-faint); font-size: 18px; transition: color .15s; }
.bgx-gl__tile:hover .bgx-gl__go { color: var(--bgx-c); }
@media (max-width: 1024px) {
    .bgx-gl__grid { grid-template-columns: repeat(min(var(--bgx-gl-n, 5), 3), minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .bgx-gl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .bgx-gl__tile { padding: 12px; gap: 10px; }
    .bgx-gl__go { display: none; }
    .bgx-gl__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--bgx-r-8); background: var(--bgx-c); color: #fff; font-size: 21px; flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .bgx-gl__tile, .bgx-gl__go { transition: none; }
    .bgx-gl__tile:hover { color: var(--bfc-ink); box-shadow: inset 0 0 0 1px var(--bgx-c); }
}

/* block:bf-game/game-tabs 0.1.0 */
/* 게임별 게시판 탭: 밑줄 글자 탭(고른 탭은 탭 색 밑줄) → 16:9 사진 카드 줄 / 줄 목록 */
.bgx-gt__tabs { display: flex; gap: 0; margin: 0 0 16px; border-bottom: 1px solid var(--bfc-line); overflow-x: auto; scrollbar-width: none; }
.bgx-gt__tabs::-webkit-scrollbar { display: none; }
.bgx-gt__tabs button { --bgx-tab: var(--bfc-primary); display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 42px; margin-bottom: -1px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--bfc-muted); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s; }
.bgx-gt__tabs button:hover { color: var(--bfc-ink); }
.bgx-gt__tabs button[aria-selected="true"] { border-bottom-color: var(--bgx-tab); color: var(--bfc-ink); font-weight: 800; }
.bgx-gt__ico { display: inline-flex; width: 22px; height: 22px; overflow: hidden; border-radius: 3px; flex-shrink: 0; }
.bgx-gt__ico:not(:has(img)) { display: none; }
.bgx-gt__ico img { width: 100%; height: 100%; object-fit: cover; }
.bgx-gt__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; margin: 0; padding: 0; list-style: none; }
.bf-block--w-1-2 .bgx-gt__grid, .bf-block--w-2-3 .bgx-gt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bgx-gt__card { display: flex; flex-direction: column; gap: 8px; color: var(--bfc-ink); text-decoration: none; }
.bgx-gt__photo { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--bgx-r-8); background: var(--bgx-photo); color: var(--bfc-chip-3); font-size: 34px; }
.bgx-gt__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bgx-gt__photo .bgx-badge { position: absolute; top: 8px; left: 8px; background: rgba(0, 0, 0, .7); color: #fff; }
.bgx-gt__card:hover .bgx-gt__photo img { transform: scale(1.05); }
.bgx-gt__title { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bgx-gt__card:hover .bgx-gt__title { text-decoration: underline; text-underline-offset: 3px; }
.bgx-gt__title em, .bgx-gt__cmt { color: var(--bfc-primary); font-size: .85em; font-style: normal; font-weight: 800; }
.bgx-gt__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--bfc-faint); font-size: 12.5px; }
.bgx-gt__meta span { display: inline-flex; align-items: center; gap: 3px; }
@media (max-width: 1024px) {
    .bgx-gt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .bgx-gt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    .bgx-gt__title { font-size: 14px; }
    .bgx-gt__tabs button { min-height: 40px; padding: 0 11px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .bgx-gt__photo img { transition: none; }
}
/* 섞어 보기: 사진 카드 2개 아래 줄 목록 */
.bgx-gt--mixed .bgx-gt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bgx-gt__grid + .bgx-gt__rows { margin-top: 14px; border-top: 1px solid var(--bfc-line-soft); }
.bgx-gt__rows .bgx-row__end .bf-icon { margin-left: 2px; vertical-align: -2px; }

/* block:bf-game/hero 0.1.0 */
/* 게임 큰 배너: 화면 가득 사진 · 왼쪽 큰 글 · 아래 넘기기 */
.bgx-hero { position: relative; overflow: hidden; background: #111; }
.bgx-hero__track { height: var(--bgx-hero-h, 600px); }
.bgx-hero__slide { position: relative; display: flex; height: 100%; overflow: hidden; }
.bgx-hero__slide:not(.is-on):not(.swiper-slide) { display: none; }
.bgx-hero__photo { position: absolute; inset: 0; }
.bgx-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bgx-hero__slide--light { color: #fff; }
.bgx-hero__slide--dark { color: #111; }
.bgx-hero__slide.has-scrim.bgx-hero__slide--light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 62%); pointer-events: none; }
.bgx-hero__slide.has-scrim.bgx-hero__slide--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 62%); pointer-events: none; }
.bgx-hero__body { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; padding-bottom: 72px !important; }
.bgx-hero__text { max-width: 580px; }
.bgx-hero__eyebrow { margin: 0 0 12px; font-size: 16px; font-weight: 700; opacity: .9; }
.bgx-hero__title { margin: 0 0 16px; font-size: clamp(38px, 5vw, 72px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.bgx-hero__desc { margin: 0 0 32px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; opacity: .92; }
.bgx-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.bgx-hero__slide--light .bgx-hero__btn1 { background: #fff; color: #111; }
.bgx-hero__slide--light .bgx-hero__btn1:hover { color: #111; }
.bgx-hero__slide--dark .bgx-hero__btn1 { background: #111; color: #fff; }
.bgx-hero__slide--dark .bgx-hero__btn1:hover { color: #fff; }
.bgx-hero__slide--light .bgx-btn--line, .bgx-hero__slide--light .bgx-btn--line:hover { color: #fff; }
.bgx-hero__slide--dark .bgx-btn--line, .bgx-hero__slide--dark .bgx-btn--line:hover { color: #111; }
.bgx-hero__btns .bgx-btn { min-height: 52px; padding: 0 30px; }

/* 아래 넘기기: 지금 장의 글자 색을 따른다 */
.bgx-hero__ctrl { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 14px; color: #fff; pointer-events: none; }
.bgx-hero:has(.bgx-hero__slide--dark.is-on) .bgx-hero__ctrl { color: #111; }
.bgx-hero__ctrl > * { pointer-events: auto; }
.bgx-hero__arrow, .bgx-hero__pause { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; font-size: 20px; cursor: pointer; opacity: .9; }
.bgx-hero__arrow:hover, .bgx-hero__pause:hover { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }
.bgx-hero__pause { border-color: transparent; }
.bgx-hero__ico-play { display: none; }
.bgx-hero.is-paused .bgx-hero__ico-play { display: inline-block; }
.bgx-hero.is-paused .bgx-hero__ico-pause { display: none; }
.bgx-hero__dots { display: flex; gap: 8px; }
.bgx-hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: currentColor; color: inherit; opacity: .4; cursor: pointer; transition: width .25s, opacity .25s; }
.bgx-hero__dots button.is-on { width: 28px; opacity: 1; }
.bgx-hero__count { font-size: 14px; opacity: .85; font-variant-numeric: tabular-nums; }
.bgx-hero__count b { font-weight: 700; }

@media (max-width: 768px) {
    .bgx-hero__track { height: var(--bgx-hero-h-m, 520px); }
    .bgx-hero__body { align-items: flex-end; padding-bottom: 92px !important; }
    .bgx-hero__slide.has-scrim.bgx-hero__slide--light::after { background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 70%); }
    .bgx-hero__slide.has-scrim.bgx-hero__slide--dark::after { background: linear-gradient(0deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 70%); }
    .bgx-hero__desc { margin-bottom: 22px; }
    .bgx-hero__btns .bgx-btn { min-height: 46px; padding: 0 22px; }
    .bgx-hero__ctrl { bottom: 20px; gap: 10px; }
    .bgx-hero__arrow { display: none; }
}
/* 사이트 폭 줄(화면 가득을 끈 경우)에서는 둥근 상자 */
.bf-row:not(.bf-row--bleed) .bgx-hero { border-radius: var(--bgx-r-24); }

/* ---------- 게임 모양 (포털: 꾸밈 없이 사진 · 단색) ---------- */
/* 사진 없는 장: 바탕색 단색 + 오른쪽으로 아주 옅게 밝아짐 (사진이 있으면 사진이 덮는다) */
.bgx-hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .04)); pointer-events: none; }
.bgx-hero__slide:has(.bgx-hero__photo)::before { display: none; }
/* 작은 표시는 대표 색 네모 딱지, 제목은 굵게 */
.bgx-hero__eyebrow { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 3px; background: var(--bfc-primary); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0; opacity: 1; }
.bgx-hero__title { font-weight: 800; letter-spacing: -0.03em; }
.bgx-hero__btns .bgx-btn { border-radius: var(--bgx-r-8); }
.bgx-hero__slide--light .bgx-hero__btn1 { background: var(--bfc-primary); color: #fff; }
.bgx-hero__slide--light .bgx-hero__btn1:hover { color: #fff; opacity: .92; }
.bgx-hero__dots button.is-on { background: var(--bfc-primary); opacity: 1; }
.bgx-hero__ctrl { z-index: 3; }
.bgx-hero.is-single .bgx-hero__body { padding-bottom: 0 !important; }

/* 제목의 [ ] 강조 글자: 포털형은 대표 색, 네온형은 두 네온 색이 번지는 글자 (theme.css) */
.bgx-hero__title .bgx-hl { color: var(--bfc-primary); }
.bgx-hero__slide--dark .bgx-hero__title .bgx-hl { color: var(--bfc-primary-dark); }

/* block:bf-game/leaders 0.1.0 */
/* 출석 · 포인트 순위: 1~3위는 순위 숫자만 대표 색, 값은 굵은 숫자 */
.bgx-ld__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.bgx-ld__head .bfc-box__title { margin: 0; }
.bgx-ld__list .bgx-row { padding: 7px 0; }
.bgx-ld__ava { width: 30px; height: 30px; }
.bgx-ld__ava img { width: 100%; height: 100%; object-fit: cover; }
.bgx-ld .bgx-row__title { display: flex; align-items: center; gap: 5px; }
.bgx-ld .bgx-row__title img { flex-shrink: 0; }
.bgx-ld__value { color: var(--bfc-ink); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bgx-ld__cta { width: 100%; margin-top: 12px; }

/* block:bf-game/news 0.1.0 */
/* 공지 · 소식 목록 */
.bgx-news__more { display: inline-flex; align-items: center; color: var(--bfc-ink-2); font-size: 14px; text-decoration: none; }
.bgx-news__more:hover { color: var(--bfc-ink); }
.bgx-news__list { margin: 0; padding: 0; list-style: none; }
.bgx-news__list li { border-top: 1px solid var(--bfc-line); }
.bgx-news__row { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--bfc-ink); font-size: 15px; text-decoration: none; }
.bgx-news__row:hover { color: var(--bfc-ink); }
.bgx-news__row:hover .bgx-news__subject { text-decoration: underline; text-underline-offset: 3px; }
.bgx-news__tag { flex: none; padding: 3px 8px; border-radius: 6px; background: var(--bfc-chip); color: var(--bfc-ink-2); font-size: 12px; font-weight: 700; }
.bgx-news__tag.is-notice { background: var(--bfc-solid); color: var(--bfc-on-solid); }
.bgx-news__subject { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bgx-news__date { flex: none; color: var(--bfc-muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* block:bf-game/openchat 0.1.0 */
/* 오픈채팅 · 채팅방: 줄 목록(앞에 색 아이콘) + 메신저 단추 */
.bgx-oc .bfc-box__title { margin: 0 0 6px; }
.bgx-oc__lead { margin: 0 0 14px; color: var(--bfc-muted); font-size: 13.5px; line-height: 1.5; }
.bgx-oc__rooms { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.bgx-oc__room { --bgx-c: var(--bfc-primary); display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--bfc-line-soft); color: var(--bfc-ink); text-decoration: none; }
a.bgx-oc__room:hover { color: var(--bfc-ink); }
a.bgx-oc__room:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.bgx-oc__ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--bgx-r-8); background: var(--bgx-c); color: #fff; font-size: 18px; flex-shrink: 0; }
.bgx-oc__go { color: var(--bfc-faint); font-size: 17px; flex-shrink: 0; }
.bgx-oc__msg { width: 100%; margin-top: 12px; }
html.bgx-msg-on .bgx-oc__msg[data-bgx-msg-only] { display: inline-flex !important; }

/* block:bf-game/ranking 0.3.0 */
/* 인기 글 순위: 큰 번호 01 ~ 05, 1~3위는 먹색 번호 */
.bfc-rank__list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.bfc-rank__list > li > a, .bfc-rank__row { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--bfc-ink, #16181d); font-size: 15px; text-decoration: none; }
.bfc-rank__list > li + li { border-top: 1px solid var(--bfc-line-soft, #f4f4f5); }
.bfc-rank__list > li > a:hover .bfc-rank__text { text-decoration: underline; text-underline-offset: 3px; }
.bfc-rank__no { flex-shrink: 0; width: 26px; color: var(--bfc-faint, #6b6b75); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bfc-rank__no.is-top { color: var(--bfc-ink, #16181d); }
.bfc-rank__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.bfc-rank__list > li > a > em { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; color: var(--bfc-muted, #60606b); font-size: 12.5px; font-style: normal; font-weight: 600; }
.bfc-rank__list > li > a > em .bf-icon { font-size: 14px; }
/* 회원 이름(사이드뷰): 메뉴가 잘리지 않게 바깥은 그대로 두고 이름 글자만 줄인다 */
.bfc-rank__who { overflow: visible; }
.bfc-rank__who .sv_wrap { max-width: 100%; }
.bfc-rank__who .sv_member, .bfc-rank__who .sv_guest { display: inline-block; max-width: 100%; overflow: hidden; padding: 2px 0; margin: -2px 0; color: inherit; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; text-decoration: none; }
.bfc-rank__pt { flex-shrink: 0; color: var(--bfc-muted, #60606b); font-size: 13px; font-weight: 600; }

/* block:bf-game/reviews 0.1.0 */
/* 게임 리뷰: 세로 표지 + 이름 · 분류 표 · 한 줄 평 · 큰 점수와 별 · 단추. 칸 폭에 맞춰 1~4 열 */
.bgx-rv__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bgx-rv__card { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px; border-radius: var(--bgx-r-10); background: var(--bfc-surface-2); }
.bgx-rv__cover { display: flex; align-items: center; justify-content: center; width: 88px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--bgx-r-8); background: var(--bgx-photo); color: var(--bfc-faint); font-size: 26px; align-self: start; }
.bgx-rv__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bgx-rv__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.bgx-rv__name { max-width: 100%; overflow: hidden; font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.bgx-rv__name a { color: inherit; text-decoration: none; }
.bgx-rv__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bgx-rv__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.bgx-rv__tags span { padding: 2px 6px; border-radius: 4px; background: var(--bfc-chip-2); color: var(--bfc-muted); font-size: 11.5px; }
.bgx-rv__text { display: -webkit-box; margin: 0; overflow: hidden; color: var(--bfc-muted); font-size: 12.5px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bgx-rv__score { display: inline-flex; align-items: baseline; gap: 6px; }
.bgx-rv__score > strong { font-size: 26px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.bgx-rv__score .bgx-stars { display: inline-flex; gap: 1px; color: var(--bgx-gold, #e2a33a); font-size: 13px; }
.bgx-rv__btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 32px; margin-top: auto; border: 1px solid var(--bfc-chip-3); border-radius: var(--bgx-r-8); color: var(--bfc-ink); font-size: 12.5px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.bgx-rv__btn:hover { border-color: var(--bfc-primary); color: var(--bfc-ink); }
html[data-bgx-look="neon"] .bgx-rv__btn:hover { box-shadow: var(--bgx-glow); }

/* block:bf-game/shots 0.1.0 */
/* 스크린샷 갤러리: 16:9 사진, 아래 어두운 그늘 위 제목. 모자이크는 첫 장이 2칸 × 2줄 */
.bgx-shots__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bgx-shots__item { position: relative; display: block; aspect-ratio: 16 / 9; height: 100%; overflow: hidden; border-radius: var(--bgx-r-8); background: var(--bgx-photo); color: #fff; text-decoration: none; }
.bgx-shots__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bgx-shots__item:hover { color: #fff; }
.bgx-shots__item:hover img { transform: scale(1.03); }
.bgx-shots__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 28px 14px 12px; background: linear-gradient(0deg, rgba(5, 7, 12, .85), transparent); }
.bgx-shots__cap strong { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bgx-shots__cap span { display: inline-flex; align-items: center; gap: 3px; color: rgba(255, 255, 255, .75); font-size: 12px; }
.bgx-shots__cap .bf-icon { color: #fff; }
.bgx-shots--mosaic .bgx-shots__grid li:first-child { grid-column: span 2; grid-row: span 2; }
.bgx-shots--mosaic .bgx-shots__grid li:first-child .bgx-shots__item { aspect-ratio: auto; }
.bgx-shots--mosaic .bgx-shots__grid li:first-child .bgx-shots__cap strong { font-size: 18px; }
.bf-block--w-1-2 .bgx-shots__grid, .bf-block--w-2-3 .bgx-shots__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 768px) {
    .bgx-shots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
    .bgx-shots__cap { padding: 22px 10px 8px; }
    .bgx-shots__cap strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .bgx-shots__item img { transition: none; }
}

/* block:bf-game/streams 0.1.0 */
/* 지금 방송 중: 동그란 프로필(대표 색 테두리, 방송 중이면 빨간 "방송 중" 표) 가로 줄 — 칸이 좁으면 옆으로 넘김 */
.bgx-st__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.bgx-st__head .bfc-box__title { margin: 0; }
.bgx-st__more { display: inline-flex; align-items: center; gap: 2px; color: var(--bfc-muted); font-size: 13px; text-decoration: none; }
.bgx-st__more:hover { color: var(--bfc-ink); }
.bgx-st__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr); gap: 10px; margin: 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.bgx-st__item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px 6px; color: var(--bfc-ink); text-align: center; text-decoration: none; }
a.bgx-st__item:hover .bgx-st__name { text-decoration: underline; text-underline-offset: 3px; }
.bgx-st__ava { position: relative; width: 68px; height: 68px; margin-bottom: 12px; padding: 3px; border-radius: 50%; background: var(--bfc-chip-3); box-sizing: border-box; }
.bgx-st__ava.is-live { background: var(--bfc-primary); }
html[data-bgx-look="neon"] .bgx-st__ava.is-live { background: linear-gradient(135deg, var(--bgx-n1), var(--bgx-n2)); box-shadow: 0 0 18px color-mix(in srgb, var(--bgx-n1) 45%, transparent); }
.bgx-st__ava img, .bgx-st__initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 2px solid var(--bfc-surface); border-radius: 50%; background: var(--bfc-chip); color: var(--bfc-ink-2); font-size: 22px; font-weight: 800; object-fit: cover; box-sizing: border-box; }
.bgx-st__live { position: absolute; bottom: -8px; left: 50%; padding: 1px 6px; border-radius: 4px; background: var(--bgx-hot, #e5484d); color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; transform: translateX(-50%); }
.bgx-st__name { max-width: 100%; overflow: hidden; font-size: 13.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bgx-st__game { max-width: 100%; overflow: hidden; color: var(--bfc-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bgx-st__viewers { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; color: var(--bgx-hot, #e5484d); font-size: 12px; font-weight: 700; }
.bgx-st__viewers .bf-icon { font-size: 13px; }

