@font-face {
    font-family: MedihiTreatmentPretendard;
    src: url('../vendors/PretendardVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
.page-program-ko .content.content {
    max-width: 700px !important;
    padding: 0;
    gap: 0;
    margin: 0 auto;
}
.tp-root {
    width: 100%;
    min-height: calc(100vh - var(--navbar--min-height, 58px));
    min-height: calc(100dvh - var(--navbar--min-height, 58px));
    min-height: calc(100lvh - var(--navbar--min-height, 58px));
    background: #fff;
    color: #191f28;
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    font-family: MedihiTreatmentPretendard, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
}
.tp-root [hidden] { display: none !important; }
.tp-root h1, .tp-root h2, .tp-root h3 { font-family: inherit; }
.tp-root button, .tp-root a { -webkit-tap-highlight-color: transparent; }
.tp-root button { font: inherit; cursor: pointer; }
.tp-root button:disabled { cursor: default; opacity: .5; }
.tp-root :is(button, a):focus-visible { outline: 2px solid #ff6100; outline-offset: 3px; }
.tp-symbols { position: absolute; }
.tp-icon { display: inline-block; width: 20px; height: 20px; flex: none; object-fit: contain; }
.tp-root svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.tp-list-header {
    height: 48px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    gap: 10px;
    align-items: center;
}
.tp-list-header h1 { color: #000; font-size: 16px; line-height: 24px; font-weight: 700; text-align: center; margin: 0; }
.tp-icon-button { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: inherit; border: 0; text-decoration: none; }
.tp-list-header .tp-icon-button { width: 20px; height: 20px; }
.tp-filterbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-block: 1px solid #e6e6e6; }
.tp-region-button { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border: 1px solid #ddd; border-radius: 999px; background: #fff; color: #191f28; font-size: 14px !important; }
.tp-region-button .tp-icon { width: 16px; height: 16px; }
.tp-region-button.is-selected { background: #f7f7f7; border-color: #333; }
.tp-filter-hint { font-size: 12px; color: #777; }
.tp-list-body { padding: 0 16px 16px; }
.tp-result-count { min-height: 52px; display: flex; align-items: center; color: #000; font-size: 14px; line-height: 18px; margin: 0; white-space: pre; }
.tp-result-count b { color: #ff6100; }
.tp-program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
.tp-root [data-tp-message] { min-height: 220px; display: flex; justify-content: center; align-items: center; white-space: pre-line; text-align: center; font-size: 16px; line-height: 24px; color: #777; }
.tp-list-body.is-empty .tp-result-count { min-height: 60px; }
.tp-list-body.is-empty [data-tp-message] { min-height: 104px; padding: 28px 16px; box-sizing: border-box; }
.tp-action { display: block; margin: 16px auto; border: 1px solid #ddd; border-radius: 8px; background: #fff; padding: 10px 24px; color: #333; }
.tp-root a.tp-action { box-sizing: border-box; text-align: center; text-decoration: none; }
.tp-more { width: 100%; margin-bottom: 0; font-size: 14px !important; }
.tp-scroll-sentinel { height: 1px; }
.tp-region-sheet { position: fixed; inset: auto auto 0; padding: 0; margin: 0; max-width: 700px; max-height: min(686px, calc(100dvh - 72px)); height: min(686px, calc(100dvh - 72px)); border: 0; border-radius: 16px 16px 0 0; background: #fff; color: #191f28; box-sizing: border-box; overflow: hidden; transform: translateY(100%); opacity: 0; transition: transform 280ms ease-in, opacity 180ms ease-in; }
.tp-region-sheet[open] { display: flex; flex-direction: column; }
.tp-region-sheet.is-open { transform: translateY(0); opacity: 1; }
.tp-region-sheet::backdrop { background: rgb(0 0 0 / 50%); opacity: 0; transition: opacity 180ms ease-in; }
.tp-region-sheet.is-open::backdrop { opacity: 1; }
.tp-sheet-heading { display: flex; align-items: center; justify-content: space-between; padding: 16px; gap: 12px; flex: none; }
.tp-sheet-heading h2 { color: #191f28; font-size: 20px; line-height: 32px; font-weight: 600; margin: 0; }
.tp-sheet-heading .tp-icon-button, .tp-sheet-heading .tp-icon { width: 24px; height: 24px; }
.tp-sheet-body { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; padding: 0 16px 16px; }
.tp-sheet-body h3 { color: #000; font-size: 18px; line-height: 28px; font-weight: 700; margin: 0 0 10px; }
.tp-city-options, .tp-area-options { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-area-options { margin-top: 16px; }
.tp-city-options button, .tp-area-options button { padding: 8px 12px; font-size: 14px; line-height: 18px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #111; }
.tp-area-options button { border-radius: 24px; padding: 8px 10px; }
.tp-city-options button[aria-pressed="true"] { background: #000; border-color: #000; color: #fff; font-weight: 700; }
.tp-area-options button[aria-pressed="true"] { background: #f7f7f7; border-color: #333; }
.tp-sheet-actions { display: flex; gap: 10px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); flex: none; }
.tp-sheet-actions button { border-radius: 8px; min-height: 48px; font-size: 16px; line-height: 24px; font-weight: 700; }
.tp-reset { display: flex; align-items: center; justify-content: center; gap: 4px; flex: none; padding: 10px 16px; border: 1px solid #ccc; color: #191f28; background: #fff; }
.tp-apply { flex: 1; min-width: 0; padding: 12px 16px; border: 0; color: #fff; background: #ff6100; }
@media (prefers-reduced-motion: reduce) {
    .tp-region-sheet, .tp-region-sheet::backdrop { transition: none; }
}
@media (max-width: 767px) {
    .page-program-ko .main { padding-top: 0 !important; overflow: visible; }
    .page-program-ko .navbar, .page-program-ko .mobile-detail-header { display: none !important; }
    .page-program-ko .content.content { padding-top: 0 !important; }
    .tp-root { min-height: 0; border: 0; padding-bottom: 0; }
    .page-program-ko .main:has(.tp-list-body.is-empty) { min-height: 100dvh; padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
    .page-program-ko .main:has(.tp-list-body.is-empty) > footer.footer { margin-top: 0; }
    .tp-list-header { height: 56px; position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #e6e6e6; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 0; }
    .tp-list-header .tp-icon-button { width: 36px; height: 36px; }
    .tp-filterbar { border-top: 0; }
    .tp-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
}
