/* Public policy presentation follows Yaho Keycap. Native document styles remain separate. */
:root {
	color: #181a1f;
	background: #f6f7f9;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
	line-height: 1.65;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 32px 16px 48px;
}

main {
	width: min(880px, 100%);
	margin: 0 auto;
	padding: 32px;
	border: 1px solid #e5e8ef;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(24, 26, 31, .06);
}

h1 {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 5vw, 2.4rem);
	line-height: 1.25;
}

h1:has(+ .policy-version [data-privacy-version-select]) {
	margin-bottom: 16px;
}

h2 {
	margin: 32px 0 10px;
	font-size: 1.2rem;
}

p,
li {
	font-size: 1rem;
}

.meta {
	margin: 0 0 28px;
	color: #5b6372;
}

.policy-version {
	display: block;
	width: min(344px, 100%);
	margin: 0 0 28px;
}

.policy-version select {
	width: 100%;
	height: 48px;
	padding: 1.111px 51.111px 1.111px 15.111px;
	border: 1.111px solid #e5e8eb;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
	background-color: #ffffff;
	background-image: url("./chevron-down.svg");
	background-repeat: no-repeat;
	background-position: right 15.111px center;
	background-size: 20px 20px;
	color: #191f28;
	font-family: "Pretendard JP", "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	font-feature-settings: "ss10" 1;
	line-height: 1.6;
	letter-spacing: .144px;
	cursor: pointer;
}

.policy-version select:focus-visible {
	outline: 3px solid rgba(19, 95, 204, .25);
	outline-offset: 2px;
}

.privacy-preamble-divider {
	width: 100%;
	height: 1.5px;
	margin: 24px 0;
	border: 0;
	background: #e5e8ef;
}

a {
	color: #135fcc;
	word-break: break-all;
}

footer {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid #e9edf3;
	color: #626b7a;
	font-size: .95rem;
}

@media (max-width: 640px) {
	body {
		padding: 0;
		background: #ffffff;
	}

	main {
		padding: 24px 18px 36px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
}

h1:has(+ .policy-version [data-terms-version-select]) { margin-bottom: 16px; }

/* YAHO KEYCAP language navigation and document content on the Lotto policy skin. */
:root { color-scheme: light; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0 0 22px; }
.toolbar a { padding: 7px 12px; border: 1px solid #e5e8ef; border-radius: 6px; background: #fff; color: #181a1f; font-size: .9rem; font-weight: 500; text-decoration: none; word-break: normal; }
.toolbar a[aria-current="page"] { border-color: #135fcc; background: #135fcc; color: #fff; }
.toolbar a:focus-visible { outline: 3px solid rgba(19,95,204,.25); outline-offset: 2px; }
.panel { padding: 0; border: 0; background: transparent; box-shadow: none; }

.lead { font-weight: 400; }
p, li, th, td { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; }
th, td { border: 1px solid #e5e8ef; padding: 10px; text-align: left; vertical-align: top; }
th { background: #f6f7f9; }
[hidden] { display: none !important; }


.toolbar { margin: 20px 0 0; justify-content: flex-start; }

body.privacy-page,
body.terms-page { background: #f6f7f9; }
.toolbar.privacy-language-tabs,
.toolbar.terms-language-tabs { width: min(880px, 100%); margin: 0 auto 16px; justify-content: flex-end; }
@media (max-width: 640px) {
  .toolbar.privacy-language-tabs,
.toolbar.terms-language-tabs { padding: 16px 18px; margin-bottom: 0; }
}
