@charset "utf-8";

/*--------------------------------------------
  1. Utilities
--------------------------------------------*/
.text-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*--------------------------------------------
  2. Layout & Containers
--------------------------------------------*/
#bo_list_wrap {
  background-color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.05);
}

#bo_v {
  background-color: #fff !important;
  border-top: 2px solid #DE5533;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.05);
}

#bo_v_title {
  background: none;
  background-color: white;
  font-size: 1.5rem;
  color: #DE5533;
  font-weight: 700;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
}

/*--------------------------------------------
  3. Content Area
--------------------------------------------*/
#bo_v_con {
  background: #fff;
  color: #333;
  font-size: 1rem;
  padding: 1.5rem;
  margin: 1rem 0;
  min-height: 200px;
  word-break: break-word;
  overflow: hidden;
}

/*--------------------------------------------
  4. Post Meta
--------------------------------------------*/
.post-meta-box {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}
.post-meta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.post-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
}
.post-meta-list i {
  color: #999;
  font-size: 0.85rem;
}

/*--------------------------------------------
  5. Images & Thumbnails
--------------------------------------------*/
#bo_v_con img,
.gallery-thumb img.transition-scale {
  max-width: 100%;
  height: auto;
}

#bo_v_img {
  width: 100%;
  text-align: center;
  overflow: hidden;
  zoom: 1;
}
#bo_v_img:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_img a.view_image {
  display: block;
}
#bo_v_img img {
  margin-bottom: 1rem;
}

/* Hover-scale on thumbnails */
.gallery-thumb img.transition-scale {
  transition: transform 0.3s ease;
}
.gallery-thumb:hover img.transition-scale {
  transform: scale(1.05);
}

/*--------------------------------------------
  6. Gallery Cards
--------------------------------------------*/
.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------
  7. Buttons
--------------------------------------------*/
.btn-safe-list {
  display: inline-flex;
  align-items: center;
  background-color: #DE5533;
  border: none;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.btn-safe-list:hover {
  background-color: #c14324;
  text-decoration: none;
}
.btn-safe-list i {
  font-size: 1rem;
}

/*--------------------------------------------
  8. Comment Section
--------------------------------------------*/
#bo_vc,
.cmt-box {
  background-color: #fff;
  margin-top: 2rem;
  border-radius: 5px;
}

.comment-card {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-radius: 3px;
  box-shadow: 3px 6px 6px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  overflow: hidden;
}
.comment-card header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
}
.comment-card header ul,
.cmt-action-list {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}
.comment-card header li,
.cmt-action-list li {
  position: relative;
  font-size: 0.85rem;
}
.cmt-action-list li::before {
  content: "|";
  color: #ccc;
  margin-right: 0.5rem;
}
.cmt-action-list li:first-child::before {
  content: "";
}
.cmt-action-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}
.cmt-action-list a:hover {
  color: #DE5533;
  text-decoration: underline;
}
.cmt-like i {
  color: #DE5533;
  margin-right: 0.3rem;
}
.cmt-content {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  word-break: break-word;
  overflow: hidden;
}
.cmt-content img {
  max-width: 100%;
  height: auto;
}
.cmt-btn ul {
  margin: 0;
  padding: 0;
}
.cmt-btn ul > li {
  float: left;
  font-size: 12px;
  padding: 0 10px;
}
.cmt-btn ul > li::before {
  content: "|";
  color: #ccc;
  margin-left: -12px;
}
.cmt-btn ul > li:first-child::before,
.cmt-btn ul > li.no-bar::before {
  content: "";
  margin-left: 0;
}
.cmt-btn ul > li > a {
  float: left;
  color: #888;
  white-space: nowrap;
}

/* textarea in comments */
#fviewcomment #wr_content {
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.75rem;
  resize: none;
  color: #333;
  border-radius: 4px;
}
#bo_vc .no_comment {
  color: #999;
  padding: 1rem 0;
  text-align: center;
}
#bo_vc input[type="submit"],
#bo_vc .btn {
  background: #DE5533;
  border: none;
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-weight: bold;
  transition: background 0.3s ease;
}
#bo_vc .btn:hover {
  background: #c14624;
}

/*--------------------------------------------
  9. Forms & Write
--------------------------------------------*/
#bo_w .list-group-item {
  padding-left: 0;
  padding-right: 0;
  border-left: 0;
  border-right: 0;
}
#bo_w #wr_content {
  margin-bottom: 1rem !important;
}
@media all and (max-width:575px) {
  .responsive #bo_w #wr_content {
    max-height: 160px !important;
  }
}

/*--------------------------------------------
 10. Responsive Overrides
--------------------------------------------*/
@media all and (max-width:767px) {
  .responsive #bo_list .float-left.float-md-none {
    margin-right: 0.75rem;
  }
  .responsive #bo_list .na-title {
    margin-bottom: 0.14rem;
  }
}
@media all and (max-width:575px) {
  .responsive #bo_v_title {
    font-size: 20px;
    line-height: 1.5;
  }
  .responsive #bo_v_con {
    min-height: 140px;
  }
}

/* Override colored background for comment toolbar buttons */
.btn_comment {
  background: transparent !important;
  border: none !important;
}


/* ===== [Oncaland-FreeSlot] 데모 게임 화면 / 관리자 색인 상태 ===== */
.oc-fs-game { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 8px; border: 1px solid var(--border, #2E2840); border-radius: 14px; background: #000; }
.oc-fs-game iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.oc-fs-game:fullscreen { border-radius: 0; border: 0; }
.oc-fs-game-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; font-size: 13px; color: var(--text-muted, #A49DB8); }
.oc-fs-full { height: 34px; padding: 0 14px; border: 1px solid var(--border, #2E2840); border-radius: 8px; background: var(--surface-2, #15111F); color: var(--text-menu, #CFC8E0); font-size: 13px; font-weight: 700; cursor: pointer; }
.oc-fs-full:hover { border-color: var(--accent, #6D3FD1); color: #fff; }
.oc-fs-seo { margin-bottom: 12px; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.oc-fs-seo.is-off { background: rgba(229, 72, 77, .1); border: 1px solid rgba(229, 72, 77, .35); color: #F4A4A7; }
.oc-fs-seo.is-on { background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .3); color: #9BE7B4; }
@media (max-width: 767px) { .oc-fs-game { aspect-ratio: 4 / 3; } }

/* 게임 정보 표 / 목록 RTP 배지 */
.oc-fs-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 0 16px; border: 1px solid var(--border, #2E2840); border-radius: 12px; overflow: hidden; }
.oc-fs-info > div { padding: 12px 14px; border-right: 1px solid var(--border, #2E2840); border-bottom: 1px solid var(--border, #2E2840); background: var(--surface-2, #15111F); }
.oc-fs-info dt { margin: 0 0 4px; font-size: 12px; font-weight: 500; color: var(--text-muted, #A49DB8); }
.oc-fs-info dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--text-strong, #fff); }
#bo_list .img-wrap { position: relative; }
.oc-fs-rtp { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 2px 8px; border: 1px solid rgba(196, 176, 255, .5); border-radius: 999px; background: rgba(15, 12, 22, .85); color: var(--accent-text, #C4B0FF); font-size: 11px; font-weight: 800; pointer-events: none; }

/* 한글 게임명 */
#bo_list .na-item:has(> .oc-fs-ko) { flex-wrap: wrap; }
#bo_list .na-item:has(> .oc-fs-ko) > .na-subject { max-width: 100%; }
.oc-fs-ko { display: block; flex: 0 0 100%; width: 100%; margin-top: 2px; overflow: hidden; color: var(--text-muted, #A49DB8); font-size: 12px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.oc-fs-ko-title { margin: -16px 0 14px; padding: 0 1.25rem; color: var(--text-muted, #A49DB8); font-size: 15px; font-weight: 500; }

/* oc-fs-thumbbg : 썸네일은 card_thumbs.php 로 339x180(원본 크기) 통일 → 칸을 꽉 채움 */
#bo_list .img-wrap { background: #17121F !important; }
#bo_list .img-wrap .img-render { object-fit: cover; transition: transform .25s ease; }
#bo_list .img-wrap:hover .img-render { transform: scale(1.04); }

/* 상세 상단 : 좌 썸네일 · 우 게임 정보 */
.oc-fs-top { display: grid; grid-template-columns: 339px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 0 16px; }
.oc-fs-top.no-thumb { grid-template-columns: minmax(0, 1fr); }
.oc-fs-thumb { overflow: hidden; width: 339px; aspect-ratio: 339 / 180; box-sizing: content-box; border: 1px solid var(--border, #2E2840); border-radius: 12px; background: #17121F; }
.oc-fs-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-fs-top .oc-fs-info { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 1px; height: auto; margin: 0; background: var(--border, #2E2840); }
.oc-fs-top .oc-fs-info > div { display: flex; flex-direction: column; justify-content: center; border: 0; }
.oc-fs-top .oc-fs-info > div.is-wide { grid-column: 1 / -1; }
@media (max-width: 767px) {
	.oc-fs-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.oc-fs-top .oc-fs-info { height: auto; }
	.oc-fs-thumb { width: auto; aspect-ratio: 339 / 180; }
}

/* 전체화면 닫기 버튼 (전체화면일 때만 보임) + 아이폰용 화면 채우기 */
.oc-fs-exit { position: absolute; top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); z-index: 5; display: none; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(15, 12, 22, .8); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.oc-fs-game:fullscreen .oc-fs-exit, .oc-fs-game:-webkit-full-screen .oc-fs-exit, .oc-fs-game.is-pseudo .oc-fs-exit { display: flex; }
.oc-fs-game.is-pseudo { position: fixed; inset: 0; z-index: 3000; width: 100vw; height: 100vh; height: 100dvh; margin: 0; aspect-ratio: auto; border: 0; border-radius: 0; }
html.oc-fs-lock, html.oc-fs-lock body { overflow: hidden; }

/* 목록 카드 : 게임사 배지 + 한글/영문 게임명 */
.oc-fs-prov { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: rgba(15, 12, 22, .85); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 11px; font-weight: 700; pointer-events: none; }
#bo_gallery .oc-fs-name { display: block; padding: 0 2px; text-decoration: none; }
#bo_gallery .oc-fs-name-ko { display: block; overflow: hidden; color: var(--text, #EDEAF5); font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
#bo_gallery .oc-fs-name-en { display: block; margin-top: 1px; overflow: hidden; color: var(--text-muted, #A49DB8); font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
#bo_gallery .oc-fs-name:hover .oc-fs-name-ko { color: var(--accent-text, #C4B0FF); }

/* 목록 : 썸네일 + 게임명을 하나의 카드로 */
#bo_gallery .oc-fs-card { height: 100%; overflow: hidden; border: 1px solid rgba(196, 176, 255, .16); border-radius: 12px; background: #231C30; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
#bo_gallery .oc-fs-card:hover { transform: translateY(-3px); border-color: rgba(196, 176, 255, .45); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
#bo_gallery .oc-fs-card .img-wrap { margin-bottom: 0 !important; border-radius: 0 !important; }
#bo_gallery .oc-fs-card .img-wrap .img-render { border-radius: 0 !important; }
#bo_gallery .oc-fs-card .oc-fs-name { padding: 10px 12px 12px; border-top: 1px solid var(--border, rgba(255, 255, 255, .06)); }

/* 관리자 선택 체크박스 : 썸네일 위로 겹쳐서 여백 안 생기게 */
#bo_gallery .img-item .chk-box { position: absolute; top: 8px; right: 8px; z-index: 4; display: block; width: auto; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; line-height: 1; }
#bo_gallery .img-item .chk-box input { width: 16px; height: 16px; margin: 0; cursor: pointer; }

/* 상세 상단 정리 (oc-fs-top v2) : 썸네일·정보표 같은 톤, 빈 칸 없음, 칸 구분은 얇은 선 */
.oc-fs-top { align-items: stretch; gap: 14px; }
.oc-fs-top .oc-fs-thumb { align-self: center; border-color: rgba(196, 176, 255, .16); box-shadow: 0 4px 16px rgba(0, 0, 0, .3); }
.oc-fs-top .oc-fs-info { gap: 0; background: #1B1526; border: 1px solid rgba(196, 176, 255, .16); grid-auto-rows: auto; align-content: stretch; }
.oc-fs-top .oc-fs-info > div { padding: 12px 16px; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.oc-fs-top .oc-fs-info > div:not(.is-wide):nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .06); }
.oc-fs-top .oc-fs-info > div:last-child { border-bottom: 0; }
.oc-fs-top .oc-fs-info dt { margin-bottom: 3px; font-size: 12px; color: #8F86A6; }
.oc-fs-top .oc-fs-info dd { font-size: 15px; line-height: 1.45; color: #F2EFF8; }

/* mgamefirst : 좁은 화면(767px 이하)에서는 게임화면 → 전체화면 버튼 → 썸네일·정보 순서 (HTML 순서는 그대로, 보이는 순서만) */
@media (max-width: 767px) {
	#bo_v_con:has(> .oc-fs-game) { display: flex; flex-direction: column; }
	#bo_v_con:has(> .oc-fs-game) > * { min-width: 0; }
	#bo_v_con > .oc-fs-seo { order: -3; }
	#bo_v_con > .oc-fs-game-head { order: -2; }
	#bo_v_con > .oc-fs-game { order: -1; margin-bottom: 16px; }
}

/* 전체화면 버튼 : 게임 화면 우측 상단 (전체화면일 때는 같은 자리에 '닫기'가 대신 나옴) */
.oc-fs-open { position: absolute; top: 10px; right: 10px; z-index: 5; display: flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(15, 12, 22, .75); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; opacity: .85; transition: opacity .2s, border-color .2s; }
.oc-fs-open:hover { opacity: 1; border-color: rgba(196, 176, 255, .7); }
.oc-fs-game:fullscreen .oc-fs-open, .oc-fs-game:-webkit-full-screen .oc-fs-open, .oc-fs-game.is-pseudo .oc-fs-open { display: none; }

/* 게임 머리줄 : 게임 화면 위에 붙어서 '여기가 게임, 오른쪽이 전체화면' 이 바로 보이게 */
.oc-fs-game-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid rgba(196, 176, 255, .16); border-bottom: 0; border-radius: 14px 14px 0 0; background: #1B1526; }
.oc-fs-game-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; min-width: 0; }
.oc-fs-game-label b { color: #F2EFF8; font-size: 14px; font-weight: 700; }
.oc-fs-game-label em { color: #8F86A6; font-size: 12px; font-style: normal; }
.oc-fs-game-head .oc-fs-full { flex: none; height: 30px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: transparent; color: #CFC8E0; font-size: 13px; font-weight: 600; }
.oc-fs-game-head .oc-fs-full:hover { border-color: rgba(196, 176, 255, .5); color: #fff; }
.oc-fs-game-head + .oc-fs-game { margin-bottom: 20px; border-color: rgba(196, 176, 255, .16); border-radius: 0 0 14px 14px; }
.oc-fs-game-head + .oc-fs-game:fullscreen, .oc-fs-game-head + .oc-fs-game.is-pseudo { border-radius: 0; }

/* 목록 배지 한 줄 : RTP 왼쪽 · 게임사 오른쪽, 좁으면 글자 줄이고 넘치면 말줄임 */
#bo_gallery .oc-fs-badges { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 4px; pointer-events: none; }
#bo_gallery .oc-fs-badges .oc-fs-rtp, #bo_gallery .oc-fs-badges .oc-fs-prov { position: static; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.5; }
#bo_gallery .oc-fs-badges .oc-fs-rtp { flex: 0 0 auto; }
#bo_gallery .oc-fs-badges .oc-fs-prov { flex: 0 1 auto; margin-left: auto; }
@media (max-width: 575px) {
	#bo_list.px-4 { padding-left: 0 !important; padding-right: 0 !important; }
	#bo_gallery { padding-left: 8px !important; padding-right: 8px !important; }
	#bo_gallery > ul { margin-left: -5px !important; margin-right: -5px !important; }
	#bo_gallery > ul > li { padding-left: 5px !important; padding-right: 5px !important; padding-bottom: 10px !important; }
	#bo_gallery .oc-fs-badges { left: 5px; right: 5px; bottom: 5px; gap: 3px; }
	#bo_gallery .oc-fs-badges .oc-fs-rtp, #bo_gallery .oc-fs-badges .oc-fs-prov { padding: 1px 6px; font-size: 10px; }
	#bo_gallery .oc-fs-card .oc-fs-name { padding: 8px 10px 10px; }
	#bo_gallery .oc-fs-name-ko { font-size: 13px; }
	#bo_gallery .oc-fs-name-en { font-size: 11px; }
}

/* badges-xs : 아주 좁은 폰(380px 이하)은 게임사 배지 숨김 (위 분류 탭에 게임사가 있음, 잘린 글자 방지) */
@media (max-width: 380px) { #bo_gallery .oc-fs-badges .oc-fs-prov { display: none; } }

/* 게임사 선택 첫 화면 */
.oc-pv-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
.oc-pv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.oc-pv-title { margin: 0 0 4px; color: #F2EFF8; font-size: 20px; font-weight: 800; }
.oc-pv-sub { margin: 0; color: #8F86A6; font-size: 13px; }
.oc-pv-sub b { color: #C4B0FF; }
.oc-pv-admin { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.oc-pv-abtn { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; color: #CFC8E0; font-size: 12px; text-decoration: none; }
.oc-pv-abtn:hover { border-color: rgba(196, 176, 255, .5); color: #fff; text-decoration: none; }
.oc-pv-search { display: flex; max-width: 520px; height: 42px; margin: 0 0 20px; overflow: hidden; border: 1px solid rgba(196, 176, 255, .16); border-radius: 10px; background: #1B1526; }
.oc-pv-search input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; color: #F2EFF8; font-size: 14px; outline: none; }
.oc-pv-search input::placeholder { color: #6F6787; }
.oc-pv-search button { width: 46px; border: 0; background: transparent; color: #CFC8E0; cursor: pointer; }
.oc-pv-search button:hover { color: #fff; }
.oc-pv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.oc-pv-card { position: relative; display: block; overflow: hidden; aspect-ratio: 339 / 180; border: 1px solid rgba(196, 176, 255, .16); border-radius: 12px; background: #231C30; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.oc-pv-card:hover { transform: translateY(-3px); border-color: rgba(196, 176, 255, .45); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); text-decoration: none; }
.oc-pv-bg { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .3s ease; }
.oc-pv-card:hover .oc-pv-bg { transform: scale(1.05); }
.oc-pv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 12, 22, .1) 0%, rgba(15, 12, 22, .55) 50%, rgba(15, 12, 22, .92) 100%); }
.oc-pv-info { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.oc-pv-name { overflow: hidden; color: #fff; font-size: 18px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.oc-pv-cnt { flex: none; padding: 2px 9px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(15, 12, 22, .7); color: #CFC8E0; font-size: 12px; font-weight: 600; }
@media (max-width: 991px) { .oc-pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
	.oc-pv-wrap { padding-left: 12px; padding-right: 12px; }
	.oc-pv-head { flex-direction: column; }
	.oc-pv-title { font-size: 18px; }
	.oc-pv-grid { gap: 10px; }
	.oc-pv-info { left: 10px; right: 10px; bottom: 8px; flex-direction: column; align-items: flex-start; gap: 4px; }
	.oc-pv-name { max-width: 100%; font-size: 15px; }
	.oc-pv-cnt { font-size: 11px; padding: 1px 7px; }
}

/* 게임 화면 : 누르기 전 대기 화면 (게임 플레이 / 보증카지노) */
.oc-fs-poster { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #120E1A; }
.oc-fs-poster-bg { position: absolute; inset: 0; background: center / cover no-repeat; filter: brightness(.7); }
.oc-fs-poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15, 12, 22, .55) 0%, rgba(15, 12, 22, .25) 55%, rgba(15, 12, 22, .45) 100%); pointer-events: none; }
.oc-fs-poster-btns { z-index: 1; }
.oc-fs-poster-btns { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 16px; }
.oc-fs-play, .oc-fs-real { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 48px; padding: 0 22px; border-radius: 12px; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.oc-fs-play { border: 0; background: #6D3FD1; color: #fff; box-shadow: 0 6px 18px rgba(109, 63, 209, .45); }
.oc-fs-play:hover { background: #7C4FE0; transform: translateY(-1px); }
.oc-fs-real { border: 1px solid rgba(255, 255, 255, .35); background: rgba(15, 12, 22, .55); color: #fff; }
.oc-fs-real:hover { border-color: rgba(196, 176, 255, .8); color: #fff; text-decoration: none; transform: translateY(-1px); }
.oc-fs-game.is-playing .oc-fs-poster { display: none; }
@media (max-width: 575px) {
	.oc-fs-poster-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 260px; }
	.oc-fs-play, .oc-fs-real { min-width: 0; height: 44px; font-size: 15px; }
}

/* gamefirst-all : PC에서도 게임화면 → 썸네일·게임 정보 순서 (HTML 순서는 그대로, 보이는 순서만) */
#bo_v_con:has(> .oc-fs-game) { display: flex; flex-direction: column; }
#bo_v_con:has(> .oc-fs-game) > * { min-width: 0; }
#bo_v_con > .oc-fs-seo { order: -3; }
#bo_v_con > .oc-fs-game-head { order: -2; }
#bo_v_con > .oc-fs-game { order: -1; margin-bottom: 16px; }

/* viewhead-tight : 작성자 줄을 뺀 뒤 제목·버튼·게임 사이 간격 정리 */
#bo_v #bo_v_info { margin-bottom: 4px !important; }
#bo_v #bo_v_info > .clearfix { padding-top: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .06); padding-bottom: 8px; }
#bo_v .oc-fs-ko-title { margin-bottom: 10px; }

/* viewbtn-pill : 상세 상단 버튼(목록 · URL복사 · 관리)을 작은 버튼 한 줄로 */
#bo_v #bo_v_btn { display: flex !important; align-items: center; justify-content: flex-end; gap: 6px; text-align: left; }
#bo_v #bo_v_btn > .btn, #bo_v #bo_v_btn > .btn-group > .btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; margin: 0 !important; padding: 0 11px !important; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: transparent; color: #CFC8E0; font-size: 12px; font-weight: 600; line-height: 1; box-shadow: none; }
#bo_v #bo_v_btn > .btn:hover, #bo_v #bo_v_btn > .btn-group > .btn:hover { border-color: rgba(196, 176, 255, .5); color: #fff; }
#bo_v #bo_v_btn > a.btn:has(.fa-bars) { order: -1; margin-right: auto !important; }
#bo_v #bo_v_btn .fa { font-size: 12px; opacity: .8; }
#bo_v #bo_v_btn .dropdown-toggle::after { display: none; }
