@import url("/welly-fonts.css");
.welly-policy-page { --welly-content-max: 800px; margin: 0; background: #fff; color: #2d2d36; font: 400 16px/1.6 "Pretendard Regular", sans-serif; }
.welly-policy-page *, .welly-policy-page *::before, .welly-policy-page *::after { box-sizing: border-box; }
.welly-policy-page a { color: inherit; }
.welly-policy-page a:focus-visible { outline: 2px solid #149fb2; outline-offset: 4px; }
.welly-policy-skip { position: fixed; top: -80px; left: 16px; z-index: 2000; padding: 8px 16px; border-radius: 8px; background: #2d2d36; color: #fff !important; }
.welly-policy-skip:focus { top: 8px; }
.welly-policy-main { width: min(var(--welly-content-max), calc(100% - 40px)); max-width: var(--welly-content-max); min-height: calc(100svh - 180px); margin: 0 auto; padding: 48px 0 120px; }
.welly-policy-context { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.welly-policy-back { display: inline-flex; align-items: center; gap: 10px; color: #6b6b78 !important; text-decoration: none; font-size: 14px; white-space: nowrap; }
.welly-policy-back img { transform: rotate(90deg); }
.welly-policy-article { width: 100%; max-width: none; margin: 88px auto 0; }
.welly-policy-kicker { margin: 0 0 20px; color: #1599aa; font: 600 14px/20px "Pretendard SemiBold", sans-serif; }
.welly-policy-title { margin: 0; font: 700 48px/1.25 "Pretendard Bold", sans-serif; letter-spacing: -1.44px; overflow-wrap: anywhere; }
.welly-policy-subtitle { margin: 28px 0 12px; font: 600 24px/1.5 "Pretendard SemiBold", sans-serif; letter-spacing: -.48px; word-break: keep-all; }
.welly-policy-description { max-width: 640px; margin: 0; color: #6b6b78; font-size: 18px; line-height: 1.8; word-break: keep-all; }
.welly-policy-title + .welly-policy-description { margin-top: 24px; }
html:is(:lang(ja), :lang(zh)) .welly-policy-description { word-break: normal; overflow-wrap: anywhere; }
.welly-policy-draft { margin-top: 56px; padding-top: 24px; border-top: 1px solid #efeff3; }
.welly-policy-draft p { margin: 0; color: #6b6b78; font-size: 14px; }
.welly-policy-legacy { display: inline-block; margin-top: 16px; font: 500 14px/22px "Pretendard Medium", sans-serif; text-underline-offset: 4px; }
.welly-policy-date { margin: 24px 0 0; font-size: 14px; color: #6b6b78; }
/* While loading, the empty date line keeps its one-line height so nothing below it jumps. */
.welly-policy-date:empty::before, .welly-notices-count:empty::before { content: "\00a0"; }
/* The date line sits right under the title; a description follows it. */
.welly-policy-date + .welly-policy-description { margin-top: 16px; }
.welly-policy-translation { margin: 32px 0 0; padding: 20px 24px; border-radius: 16px; background: #f0fbfc; color: #3f6870; font-size: 14px; line-height: 1.7; }
.welly-policy-translation strong { font-family: "Pretendard SemiBold", sans-serif; }
.welly-policy-translation p { margin: 6px 0 0; }
.welly-policy-body { margin-top: 48px; padding-top: 32px; border-top: 1px solid #efeff3; color: #555561; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.welly-policy-body h2 { margin: 56px 0 20px; color: #2d2d36; font: 600 24px/1.5 "Pretendard SemiBold", sans-serif; letter-spacing: -.4px; }
.welly-policy-body h3 { margin: 32px 0 12px; color: #2d2d36; font: 600 19px/1.6 "Pretendard SemiBold", sans-serif; }
.welly-policy-body p { margin: 0 0 16px; }
.welly-policy-body hr { width:100%; margin:32px 0; border:0; border-top:1px solid #efeff3; }
.welly-policy-body strong { color: #2d2d36; font-family: "Pretendard SemiBold", sans-serif; font-weight: 600; }
.welly-policy-body ol, .welly-policy-body ul { margin: 12px 0 24px; padding-left: 24px; }
.welly-policy-body li { padding-left: 4px; margin: 8px 0; }
.welly-policy-body li ol, .welly-policy-body li ul { margin: 8px 0 12px; }
.welly-policy-table { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid #e6e6ec; border-radius: 12px; }
.welly-policy-table:focus-visible { outline: 2px solid #149fb2; outline-offset: 4px; }
.welly-policy-table table { width: 100%; min-width: 740px; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.welly-policy-table th, .welly-policy-table td { padding: 16px; min-width: 120px; border-right: 1px solid #e6e6ec; border-bottom: 1px solid #e6e6ec; vertical-align: top; text-align: left; }
.welly-policy-table th { background: #f7f7f9; color: #2d2d36; font-family: "Pretendard SemiBold", sans-serif; }
.welly-policy-table th:last-child, .welly-policy-table td:last-child { border-right: 0; }
.welly-policy-table tr:last-child td { border-bottom: 0; }
/* cells wrap between words, not inside them (the body's overflow-wrap:anywhere splits Korean words in narrow cells);
   the first column names the row and stays on one line, the wrapper scrolling sideways when the table is wider */
.welly-policy-table th, .welly-policy-table td { overflow-wrap: normal; word-break: keep-all; }
.welly-policy-table tr > :first-child { min-width: 96px; white-space: nowrap; }
:is(:lang(ja), :lang(zh)) .welly-policy-body { line-height: 2; }
.welly-policy-footer { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 32px; border-top: 1px solid #efeff3; display: flex; justify-content: space-between; gap: 20px; color: #6b6b78; font-size: 13px; }
.welly-policy-footer p { margin: 0; }
.welly-policy-footer a { text-decoration: none; }
@media (min-width: 810px) and (max-width: 1199.98px) {
  .welly-policy-page { --welly-content-max: 762px; }
  .welly-policy-main, .welly-policy-footer { max-width: 762px; }
}
@media (max-width: 809.98px) {
  .welly-policy-page { --welly-content-max: 342px; }
  .welly-policy-main, .welly-policy-footer { width: calc(100% - 40px); }
  .welly-policy-main { padding-top: 32px; padding-bottom: 80px; }
  .welly-policy-context { flex-direction: column; align-items: flex-start; gap: 24px; }
      .welly-policy-article { margin-top: 56px; }
  .welly-policy-title { font-size: 34px; line-height: 1.3; letter-spacing: -1.02px; }
  .welly-policy-subtitle { margin-top: 24px; font-size: 20px; }
  .welly-policy-description { font-size: 16px; }
  .welly-policy-draft { margin-top: 40px; }
  .welly-policy-body { margin-top: 32px; padding-top: 24px; font-size: 15px; }
  .welly-policy-body h2 { margin-top: 40px; font-size: 21px; }
  .welly-policy-body h3 { font-size: 18px; }
  .welly-policy-translation { padding: 16px 18px; }
  .welly-policy-footer { flex-direction: column; gap: 8px; }
}
/* Muted text is #6b6b78 (5.2:1 on white). */
/* ?region=<id>: the region the app linked to, highlighted in the note color above. */
.welly-policy-region { margin: 40px -16px 0; padding: 4px 16px 8px; border-radius: 16px; background: #f0fbfc; }
.welly-policy-region > :first-child { margin-top: 20px; }
.welly-policy-region > :last-child { margin-bottom: 16px; }

/* While the first data loads the page keeps a tall main, so the footer does not jump up and back down. */
.welly-policy-main:has(.welly-policy-article[aria-busy="true"]) { min-height: 150vh; }
/* First load of a content page, before its data arrives (<article aria-busy="true">, removed when it is drawn):
   bars where the title, date line and text go, at the real sizes so nothing moves. A language switch in place never shows it. */
.welly-skeleton__bar { display: inline-block; width: var(--w, 100%); max-width: 100%; height: .8em; vertical-align: middle; border-radius: 6px; background: #efeff3; }
.welly-policy-article[aria-busy="true"] .welly-policy-title { color: transparent; background: linear-gradient(#efeff3, #efeff3) 0 50% / min(60%, 420px) .7em no-repeat; border-radius: 8px; }
.welly-policy-article[aria-busy="true"] .welly-policy-date:empty::before,
.welly-policy-article[aria-busy="true"] .welly-notices-count:empty::before { content: ""; display: inline-block; width: 96px; height: .9em; vertical-align: middle; border-radius: 6px; background: #efeff3; }
.welly-policy-article[aria-busy="true"] .welly-policy-body:empty::before {
  content: ""; display: block; height: 15.2em;
  background: repeating-linear-gradient(to bottom, transparent 0 .55em, #efeff3 .55em 1.35em, transparent 1.35em 1.9em) 0 0 / 100% 7.6em no-repeat,
              repeating-linear-gradient(to bottom, transparent 0 .55em, #efeff3 .55em 1.35em, transparent 1.35em 1.9em) 0 7.6em / 72% 7.6em no-repeat;
}
.welly-skeleton-summary { padding: 26px 0; font: 600 18px/1.6 "Pretendard SemiBold", sans-serif; }
.welly-skeleton-row .welly-notices-row:hover { background: none; }
.welly-policy-article[aria-busy="true"] :is(.welly-skeleton__bar, .welly-policy-title, .welly-policy-date, .welly-notices-count, .welly-policy-body:empty) { animation: welly-skeleton-pulse 1.6s ease-in-out infinite; }
@keyframes welly-skeleton-pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .welly-policy-article[aria-busy="true"] * { animation: none !important; } }
/* Nothing published yet: a calm line in the list or body area. */
.welly-notices-empty, .welly-policy-empty { padding: 28px 12px; color: #6b6b78; list-style: none; }
.welly-policy-empty { padding: 0; margin: 0; }

/* In the app's webview (?app=1, welly-languages.js): no back-to-home link and no web footer on
   document pages (a notice's back-to-list link stays). */
html[data-app] .welly-policy-page .welly-policy-back:not([href*="/notices/"]),
html[data-app] .welly-policy-page .welly-footer { display: none !important; }
/* A failed load offers to try again. */
.welly-policy-retry { margin-top: 24px; padding: 10px 20px; border: 1px solid #dedee4; border-radius: 48px; background: #fff; color: #2d2d36; font: 500 15px/1.5 "Pretendard Medium", sans-serif; cursor: pointer; }
.welly-policy-retry:hover { background: #f7f7f9; }
.welly-policy-retry:focus-visible { outline: 2px solid #149fb2; outline-offset: 4px; }
