/*
 * 사이버오로바둑 다운로드 — 화면 스타일
 * 앱 스토어형: 회색 바탕 위 흰 판, 받기 버튼만 오로바둑 로고 파랑. 휴대폰은 꽉 찬 흰 띠, 넓은 화면은 둥근 판 + 오른쪽 칸.
 */

:root {
	--cb-bg: #f2f4f6;
	--cb-panel: #fff;
	--cb-text: #191f28;
	--cb-body: #333d4b;
	--cb-sub: #4e5968;
	--cb-mute: #6b7684;
	--cb-faint: #b0b8c1;
	--cb-line: #e5e8eb;
	--cb-soft: #f2f4f6;
	--cb-soft2: #f9fafb;
	--cb-blue: #1162d8;
	--cb-blue-press: #0b4fb3;
	--cb-blue-soft: #e8f1fd;
	--cb-star: #f5a300;
	--cb-pad: 20px;
	--cb-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	--cb-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	color-scheme: light;
	scrollbar-color: #c9cfd6 transparent;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--cb-bg);
	color: var(--cb-text);
	font: 16px/1.6 var(--cb-font);
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--cb-blue);
	text-underline-offset: 3px;
}

::selection {
	background: #cfe0fa;
	color: var(--cb-text);
}

:focus-visible {
	outline: 2px solid var(--cb-blue);
	outline-offset: 2px;
	border-radius: 8px;
}

input,
textarea,
select,
button {
	font: inherit;
	color: inherit;
	caret-color: var(--cb-blue);
}

.cb-i {
	flex: none;
	display: block;
}

.cb-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--cb-text);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.cb-skip:focus {
	top: 12px;
}

.cb-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ------------------------------------------------------------------
 * 머리글
 * ------------------------------------------------------------------ */

.cb-top {
	background: #fff;
	border-bottom: 1px solid var(--cb-line);
}

.cb-top__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 56px;
}

.cb-brand {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	color: var(--cb-text);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.cb-brand span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cb-brand .cb-appicon {
	width: 28px;
	height: 28px;
}

.cb-top__home {
	display: flex;
	flex: none;
	align-items: center;
	gap: 4px;
	padding: 8px 10px;
	margin-right: -10px;
	border-radius: 10px;
	color: var(--cb-sub);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.cb-top__home:hover {
	background: var(--cb-soft);
	color: var(--cb-text);
}

.cb-tabs ul {
	display: flex;
	gap: 2px;
	margin: 0 -4px;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.cb-tabs ul::-webkit-scrollbar {
	display: none;
}

.cb-tabs a {
	display: block;
	padding: 8px 10px 11px;
	border-bottom: 2px solid transparent;
	color: var(--cb-mute);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}

.cb-tabs a:hover {
	color: var(--cb-text);
}

.cb-tabs a[aria-current] {
	color: var(--cb-text);
	border-bottom-color: var(--cb-text);
}

/* ------------------------------------------------------------------
 * 본문 짜임: 휴대폰은 한 줄, 960px부터 오른쪽 칸
 * ------------------------------------------------------------------ */

.cb-main {
	padding-bottom: 8px;
}

.cb-main > .cb-wrap {
	padding: 0;
}

.cb-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 14px 20px 10px;
	list-style: none;
	color: var(--cb-sub);
	font-size: 13px;
}

.cb-crumbs li {
	display: flex;
	align-items: center;
	gap: 2px;
}

.cb-crumbs a {
	color: var(--cb-sub);
	text-decoration: none;
}

.cb-crumbs a:hover {
	color: var(--cb-text);
	text-decoration: underline;
}

.cb-crumbs .cb-i {
	color: var(--cb-faint);
}

.cb-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.cb-layout > *,
.cb-side > * {
	margin-bottom: 8px;
}

.cb-side > :last-child {
	margin-bottom: 0;
}

.cb-panel {
	background: var(--cb-panel);
	padding: 24px var(--cb-pad);
}

.cb-panel__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.cb-panel__head h2 {
	margin: 0;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.cb-panel__meta {
	color: var(--cb-mute);
	font-size: 13px;
	text-align: right;
}

.cb-main > .cb-wrap > .cb-crumbs + .cb-layout,
.cb-main > .cb-wrap > .cb-layout:first-child {
	margin-top: 0;
}

.cb-main > .cb-wrap > .cb-layout:first-child,
.cb-main > .cb-wrap > .cb-ad:first-child + .cb-layout {
	padding-top: 8px;
}

@media (min-width: 720px) {
	:root {
		--cb-pad: 28px;
	}

	.cb-wrap {
		padding: 0 24px;
	}

	.cb-main > .cb-wrap {
		padding: 0 24px;
	}

	.cb-crumbs ol {
		padding: 18px 4px 12px;
	}

	.cb-panel {
		border-radius: 20px;
		padding: 28px var(--cb-pad);
	}

	.cb-layout > *,
	.cb-side > * {
		margin-bottom: 14px;
	}

	.cb-main > .cb-wrap > .cb-layout:first-child,
	.cb-main > .cb-wrap > .cb-ad:first-child + .cb-layout {
		padding-top: 20px;
	}
}

@media (min-width: 960px) {
	.cb-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		column-gap: 20px;
	}

	.cb-layout > * {
		grid-column: 1;
	}

	.cb-layout > .cb-side {
		grid-column: 2;
		grid-row: 1 / span 14;
		position: sticky;
		top: 20px;
	}

	.cb-side .cb-panel {
		padding: 24px;
	}
}

.cb-wrap--narrow {
	max-width: 688px;
}

/* ------------------------------------------------------------------
 * 앱 머리: 아이콘·이름·받기 버튼·정보 줄
 * ------------------------------------------------------------------ */

.cb-appicon {
	display: block;
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 22%;
	object-fit: cover;
	outline: 1px solid rgba(25, 31, 40, 0.08);
	outline-offset: -1px;
	background: var(--cb-soft);
}

.cb-appicon--empty {
	width: var(--s);
	height: var(--s);
}

.cb-hero__id {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cb-hero__name {
	min-width: 0;
}

.cb-hero h1,
.cb-get h1 {
	margin: 0;
	font-size: 22px;
	line-height: 1.36;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.cb-hero__by {
	margin: 4px 0 0;
	color: var(--cb-sub);
	font-size: 14px;
}

.cb-hero__note {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--cb-soft);
	color: var(--cb-sub);
	font-size: 14px;
	line-height: 1.55;
}

.cb-hero__note[hidden] {
	display: none;
}

.cb-hero__note a {
	font-weight: 700;
	text-decoration: none;
}

.cb-hero__lead {
	max-width: 62ch;
	margin: 18px 0 0;
	color: var(--cb-body);
	font-size: 15px;
	line-height: 1.75;
}

.cb-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	width: 100%;
	min-height: 58px;
	margin-top: 20px;
	padding: 9px 16px;
	border-radius: 14px;
	background: var(--cb-blue);
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s var(--cb-ease), transform 0.15s var(--cb-ease);
	-webkit-tap-highlight-color: transparent;
}

.cb-btn:hover {
	background: var(--cb-blue-press);
}

.cb-btn:active {
	transform: scale(0.985);
}

.cb-btn__name {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.cb-btn__sub {
	color: rgba(255, 255, 255, 0.84);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

@media (min-width: 720px) {
	.cb-hero h1,
	.cb-get h1 {
		font-size: 26px;
	}

	.cb-hero__id {
		gap: 20px;
	}

	.cb-hero .cb-appicon {
		width: 88px;
		height: 88px;
	}

	.cb-hero .cb-btn {
		max-width: 360px;
	}
}

/* 정보 줄: 칸마다 위 이름표·가운데 굵은 값·아래 작은 글자, 칸 사이 세로 선. 넘치면 옆으로 넘김. */
.cb-strip {
	display: flex;
	margin: 22px calc(var(--cb-pad) * -1) 0;
	padding: 0 var(--cb-pad);
	overflow-x: auto;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.cb-strip::-webkit-scrollbar {
	display: none;
}

.cb-strip__cell {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	min-width: 92px;
	padding: 2px 14px;
	border-left: 1px solid var(--cb-line);
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.cb-strip__cell:first-child {
	border-left: 0;
	padding-left: 0;
}

.cb-strip__cell:last-child {
	padding-right: 0;
}

.cb-strip__k {
	color: var(--cb-mute);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.cb-strip__v {
	color: var(--cb-sub);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.cb-strip__s {
	display: flex;
	align-items: center;
	min-height: 18px;
	color: var(--cb-mute);
	font-size: 12px;
	white-space: nowrap;
}

a.cb-strip__cell:hover .cb-strip__v {
	color: var(--cb-text);
}

.cb-strip.is-drag,
.cb-shots.is-drag {
	cursor: grabbing;
	user-select: none;
	scroll-snap-type: none;
}

/* ------------------------------------------------------------------
 * 줄 목록 (기기·바로가기)
 * ------------------------------------------------------------------ */

.cb-sub-h {
	margin: 28px 0 2px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.cb-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cb-row {
	position: relative;
}

.cb-row + .cb-row::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 62px;
	border-top: 1px solid var(--cb-soft);
}

.cb-row__link,
.cb-official__main {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	color: inherit;
	text-decoration: none;
}

.cb-row__tile {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 13px;
	background: var(--cb-soft);
	color: var(--cb-sub);
}

.cb-row__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.cb-row__name {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--cb-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}

.cb-row__sub {
	overflow: hidden;
	color: var(--cb-mute);
	font-size: 13px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cb-pill {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--cb-soft);
	color: var(--cb-blue);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s var(--cb-ease);
}

.cb-pill--plain {
	color: var(--cb-sub);
}

.cb-pill--solid {
	background: var(--cb-blue);
	color: #fff;
}

.cb-row__link:hover .cb-pill,
.cb-official__main:hover .cb-pill {
	background: var(--cb-line);
}

.cb-pill--solid:hover {
	background: var(--cb-blue-press);
}

.cb-row.is-mine .cb-row__tile {
	background: var(--cb-blue-soft);
	color: var(--cb-blue);
}

.cb-mine {
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--cb-blue-soft);
	color: var(--cb-blue);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
}

.cb-row.is-muted .cb-row__name {
	color: var(--cb-sub);
}

/* 공식 바로가기 */
.cb-official__main {
	padding-top: 0;
}

.cb-links {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--cb-soft);
}

.cb-links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 2px;
	border-bottom: 1px solid var(--cb-soft);
	color: var(--cb-body);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.cb-links a > .cb-i:first-child {
	color: var(--cb-mute);
}

.cb-links a span {
	flex: 1;
}

.cb-links a > .cb-i:last-child {
	color: var(--cb-faint);
}

.cb-links a:hover {
	color: var(--cb-text);
}

.cb-links a:hover > .cb-i:last-child {
	color: var(--cb-sub);
}

.cb-official__note {
	margin: 12px 0 0;
	color: var(--cb-mute);
	font-size: 12px;
	line-height: 1.6;
}

/* ------------------------------------------------------------------
 * 스크린샷 선반 + 크게 보기
 * ------------------------------------------------------------------ */

.cb-shots {
	display: flex;
	gap: 10px;
	margin: 0 calc(var(--cb-pad) * -1);
	padding: 0 var(--cb-pad) 2px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 var(--cb-pad);
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.cb-shots::-webkit-scrollbar {
	display: none;
}

.cb-shot {
	flex: none;
	overflow: hidden;
	border: 1px solid var(--cb-line);
	border-radius: 14px;
	background: var(--cb-soft);
	line-height: 0;
	scroll-snap-align: start;
}

.cb-shot img {
	display: block;
	width: auto;
	max-width: none;
	height: clamp(260px, 64vw, 380px);
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.cb-shots {
		cursor: grab;
	}
}

.cb-lb {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(17, 20, 24, 0.94);
	color: #fff;
}

.cb-lb[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cb-lb::backdrop {
	background: transparent;
}

.cb-lb__img {
	max-width: min(92vw, 1100px);
	max-height: calc(100vh - 140px);
	border-radius: 12px;
	user-select: none;
}

.cb-lb__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
}

.cb-lb__btn:hover {
	background: rgba(255, 255, 255, 0.22);
}

.cb-lb__close {
	top: 16px;
	right: 16px;
}

.cb-lb__prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.cb-lb__next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.cb-lb__count {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 719px) {
	.cb-lb__prev,
	.cb-lb__next {
		top: auto;
		bottom: 12px;
		transform: none;
	}
}

/* ------------------------------------------------------------------
 * 설치 순서 (검은 돌 번호), 새로운 기능, 본문
 * ------------------------------------------------------------------ */

.cb-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: cb-step;
}

.cb-steps li {
	position: relative;
	padding: 2px 0 20px 44px;
	color: var(--cb-body);
	font-size: 16px;
	line-height: 1.65;
	counter-increment: cb-step;
}

.cb-steps li:last-child {
	padding-bottom: 2px;
}

.cb-steps li::before {
	content: counter(cb-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cb-text);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.cb-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 32px;
	bottom: 4px;
	left: 13.5px;
	border-left: 1px solid var(--cb-line);
}

.cb-new {
	margin: 0;
	color: var(--cb-body);
	font-size: 15px;
	line-height: 1.75;
}

.cb-prose > :first-child {
	margin-top: 0;
}

.cb-prose > :last-child {
	margin-bottom: 0;
}

.cb-prose h1 {
	margin: 0 0 20px;
	font-size: 24px;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.cb-prose h2 {
	margin: 36px 0 12px;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.cb-prose h3 {
	margin: 28px 0 8px;
	font-size: 17px;
	line-height: 1.45;
}

.cb-prose p,
.cb-prose li {
	color: var(--cb-body);
	font-size: 16px;
	line-height: 1.8;
}

.cb-prose p {
	max-width: 68ch;
	margin: 0 0 14px;
}

.cb-prose ul,
.cb-prose ol {
	max-width: 68ch;
	margin: 0 0 14px;
	padding-left: 1.25em;
}

.cb-prose li {
	margin: 6px 0;
	padding-left: 2px;
}

.cb-prose li::marker {
	color: var(--cb-faint);
}

.cb-prose strong {
	color: var(--cb-text);
	font-weight: 700;
}

.cb-prose img {
	border-radius: 14px;
}

.cb-doc .cb-doc__date {
	margin-top: 28px;
	color: var(--cb-mute);
	font-size: 13px;
}

/* ------------------------------------------------------------------
 * 자주 묻는 질문
 * ------------------------------------------------------------------ */

.cb-faq__item + .cb-faq__item {
	border-top: 1px solid var(--cb-soft);
}

.cb-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0;
	color: var(--cb-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}

.cb-faq__item summary::-webkit-details-marker {
	display: none;
}

.cb-faq__item summary .cb-i {
	color: var(--cb-faint);
	transform: rotate(90deg);
	transition: transform 0.2s var(--cb-ease);
}

.cb-faq__item[open] summary .cb-i {
	transform: rotate(-90deg);
}

.cb-faq__a p {
	max-width: 68ch;
	margin: -4px 0 16px;
	color: var(--cb-body);
	font-size: 15px;
	line-height: 1.8;
}

/* ------------------------------------------------------------------
 * 평가 및 리뷰
 * ------------------------------------------------------------------ */

.cb-stars {
	position: relative;
	display: inline-flex;
	line-height: 0;
	vertical-align: middle;
}

.cb-stars__bg,
.cb-stars__fg {
	display: flex;
	gap: 1px;
}

.cb-stars__bg {
	fill: #d1d6db;
}

.cb-stars__fg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	fill: var(--cb-star);
}

.cb-stars svg {
	flex: none;
}

.cb-rate {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 18px;
}

.cb-rate__big {
	flex: none;
	text-align: center;
}

.cb-rate__big strong {
	display: block;
	font-size: 48px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}

.cb-rate__big span {
	display: block;
	margin-top: 6px;
	color: var(--cb-mute);
	font-size: 13px;
	font-weight: 600;
}

.cb-rate__bars {
	flex: 1;
	min-width: 0;
}

.cb-rate__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 13px;
}

.cb-rate__n {
	width: 8px;
	color: var(--cb-mute);
	font-size: 11px;
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.cb-rate__track {
	flex: 1;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--cb-soft);
}

.cb-rate__track span {
	display: block;
	height: 100%;
	border-radius: 2px;
	background: var(--cb-sub);
}

.cb-rate__count {
	margin: 6px 0 0;
	color: var(--cb-mute);
	font-size: 12px;
	text-align: right;
}

.cb-reviews {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cb-review {
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--cb-soft2);
	box-shadow: inset 0 0 0 1px var(--cb-soft);
}

.cb-review__top {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--cb-mute);
	font-size: 13px;
}

.cb-review__who {
	overflow: hidden;
	color: var(--cb-sub);
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cb-review__top time {
	flex: none;
	margin-left: auto;
	font-variant-numeric: tabular-nums;
}

.cb-review__title {
	margin: 10px 0 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.cb-review__body {
	margin: 4px 0 0;
	color: var(--cb-body);
	font-size: 15px;
	line-height: 1.7;
}

.cb-more {
	margin-top: 10px;
}

.cb-more > summary,
.cb-write > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	background: var(--cb-soft);
	color: var(--cb-text);
	font-size: 15px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
	transition: background-color 0.15s var(--cb-ease);
}

.cb-more > summary:hover,
.cb-write > summary:hover {
	background: var(--cb-line);
}

.cb-more > summary::-webkit-details-marker,
.cb-write > summary::-webkit-details-marker {
	display: none;
}

.cb-more[open] > summary {
	display: none;
}

.cb-write {
	margin-top: 16px;
}

.cb-write[open] > summary {
	margin-bottom: 8px;
	background: transparent;
	padding: 0;
	min-height: 32px;
}

.cb-empty {
	margin: 0;
	color: var(--cb-sub);
	font-size: 15px;
}

.cb-write__note {
	margin: 10px 0 0;
	color: var(--cb-mute);
	font-size: 12px;
}

/* Site Reviews 양식을 이 테마 모양으로 */
.cb-write__form .glsr-form,
.cb-write__form form {
	display: grid;
	gap: 14px;
}

.cb-write__form .glsr-field {
	margin: 0;
}

.cb-write__form label,
.cb-write__form .glsr-label {
	display: block;
	margin: 0 0 6px;
	color: var(--cb-sub);
	font-size: 14px;
	font-weight: 600;
}

.cb-write__form input[type="text"],
.cb-write__form input[type="email"],
.cb-write__form textarea,
.cb-write__form select {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #d1d6db;
	border-radius: 12px;
	background: #fff;
	color: var(--cb-text);
	font-size: 16px;
	line-height: 1.5;
	box-shadow: none;
	transition: border-color 0.15s var(--cb-ease), box-shadow 0.15s var(--cb-ease);
}

.cb-write__form textarea {
	min-height: 120px;
	resize: vertical;
}

.cb-write__form input:focus,
.cb-write__form textarea:focus,
.cb-write__form select:focus {
	border-color: var(--cb-blue);
	box-shadow: 0 0 0 3px rgba(17, 98, 216, 0.16);
	outline: none;
}

.cb-write__form ::placeholder {
	color: #8b95a1;
}

.cb-write__form button[type="submit"],
.cb-write__form .glsr-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: var(--cb-blue);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.cb-write__form button[type="submit"]:hover,
.cb-write__form .glsr-button:hover {
	background: var(--cb-blue-press);
}

.cb-write__form .glsr-field-error,
.cb-write__form .glsr-form-message.glsr-form-failed {
	color: #d22030;
	font-size: 13px;
}

.cb-write__form .glsr-form-message.glsr-form-success {
	padding: 12px 14px;
	border-radius: 12px;
	background: #e9f7ef;
	color: #116b3a;
	font-size: 14px;
}

/* ------------------------------------------------------------------
 * 정보 표
 * ------------------------------------------------------------------ */

.cb-info {
	margin: 0;
}

.cb-info > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-top: 1px solid var(--cb-soft);
}

.cb-info > div:first-child {
	border-top: 0;
}

.cb-info dt {
	flex: none;
	color: var(--cb-mute);
	font-size: 14px;
}

.cb-info dd {
	margin: 0;
	color: var(--cb-text);
	font-size: 14px;
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.cb-info__src {
	margin: 10px 0 0;
	color: var(--cb-mute);
	font-size: 12px;
	line-height: 1.6;
}

/* ------------------------------------------------------------------
 * 따라오는 받기 막대 (큰 받기 버튼이 화면 위로 지나가면)
 * ------------------------------------------------------------------ */

.cb-sticky {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--cb-line);
	box-shadow: 0 6px 16px -10px rgba(25, 31, 40, 0.25);
	transform: translateY(-110%);
	transition: transform 0.28s var(--cb-ease);
	visibility: hidden;
}

.cb-sticky.is-on {
	transform: none;
	visibility: visible;
}

.cb-sticky__in {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 60px;
}

.cb-sticky .cb-appicon {
	width: 36px;
	height: 36px;
}

.cb-sticky__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.cb-sticky__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.cb-sticky__sub {
	overflow: hidden;
	color: var(--cb-mute);
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* ------------------------------------------------------------------
 * 다운로드 안내 페이지
 * ------------------------------------------------------------------ */

.cb-main > .cb-wrap--narrow > .cb-panel + .cb-panel,
.cb-main > .cb-wrap--narrow > .cb-ad + .cb-panel {
	margin-top: 8px;
}

.cb-main > .cb-wrap--narrow > .cb-panel:first-child,
.cb-main > .cb-wrap--narrow > .cb-crumbs:first-child + .cb-panel {
	margin-top: 0;
}

.cb-get .cb-info {
	margin-top: 18px;
}

.cb-btn--get {
	position: relative;
	overflow: hidden;
}

.cb-btn--get > * {
	position: relative;
	z-index: 1;
}

/* 기다리는 동안: 회색 버튼이 --wait초 동안 왼쪽부터 차오르고, 끝나면 파란 버튼 (스크립트가 없어도 같은 시간 뒤에 열림). */
.cb-btn--get.is-wait {
	background: var(--cb-soft);
	color: var(--cb-sub);
	cursor: default;
	pointer-events: none;
	animation: cb-get-open 0.01s linear var(--wait, 5s) forwards;
}

.cb-btn--get.is-wait .cb-btn__sub {
	color: var(--cb-sub);
	font-weight: 700;
}

.cb-btn--get.is-wait::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(17, 98, 216, 0.1);
	transform: scaleX(0);
	transform-origin: left center;
	animation: cb-get-bar var(--wait, 5s) linear forwards;
}

@keyframes cb-get-bar {
	to {
		transform: scaleX(1);
	}
}

@keyframes cb-get-open {
	to {
		pointer-events: auto;
		background: var(--cb-blue);
		color: #fff;
		cursor: pointer;
	}
}

.cb-get__note {
	display: flex;
	gap: 8px;
	margin: 14px 0 0;
	color: var(--cb-sub);
	font-size: 13px;
	line-height: 1.6;
}

.cb-get__note .cb-i {
	margin-top: 1px;
	color: var(--cb-mute);
}

.cb-back {
	margin: 16px 0 8px;
	text-align: center;
}

.cb-back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--cb-sub);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.cb-back a:hover {
	background: #fff;
	color: var(--cb-text);
}

.cb-404 h1 {
	margin: 0 0 8px;
	font-size: 24px;
}

.cb-404 > p {
	margin: 0 0 12px;
	color: var(--cb-sub);
}

/* ------------------------------------------------------------------
 * 광고 자리 (버튼 둘레에는 두지 않음)
 * ------------------------------------------------------------------ */

.cb-ad {
	position: relative;
	margin: 8px 0;
	padding-top: 18px;
	overflow: hidden;
	text-align: center;
}

.cb-ad__tag {
	position: absolute;
	top: 0;
	left: 50%;
	color: var(--cb-sub);
	font-size: 11px;
	transform: translateX(-50%);
}

.cb-ad--mobile {
	display: none;
}

@media (max-width: 719px) {
	.cb-ad--mobile {
		display: block;
	}

	.cb-ad--desktop {
		display: none;
	}
}

@media (max-width: 599px) {
	/* 휴대폰 전체 폭 반응형 광고는 화면 폭만큼 정사각형으로 떠서 자리를 미리 그만큼 잡아 둠 (CLS). */
	.cb-ad ins[data-cb-min][data-full-width-responsive="true"] {
		min-height: 100vw !important;
	}
}

/* ------------------------------------------------------------------
 * 바닥글
 * ------------------------------------------------------------------ */

.cb-foot {
	padding: 28px 0 calc(72px + env(safe-area-inset-bottom));
	color: var(--cb-sub);
	font-size: 13px;
	line-height: 1.7;
}

.cb-foot__notice {
	display: flex;
	gap: 8px;
	max-width: 68ch;
	margin: 0 0 14px;
	color: var(--cb-sub);
}

.cb-foot__notice .cb-i {
	margin-top: 3px;
}

.cb-foot__links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.cb-foot a {
	color: var(--cb-body);
	text-decoration: none;
}

.cb-foot a:hover {
	color: var(--cb-text);
	text-decoration: underline;
}

.cb-foot__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0 0 4px;
}

.cb-foot__copy {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
