.af-mobile {
    --af-ink: #182338;
    --af-blue: #1563be;
    --af-blue-dark: #104e97;
    --af-blue-soft: #edf5ff;
    --af-muted: #506179;
    --af-line: #dce5f0;
    --af-white: #fff;
    color: var(--af-ink);
    font: 400 14px/1.55 "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    letter-spacing: -.02em;
    text-align: left;
}

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

.af-mobile [hidden] {
    display: none !important;
}

#af-page {
    display: block;
    width: min(1024px, calc(100% - 32px));
    min-width: 0;
    margin: 0 auto;
    padding: 24px 0 38px;
}

#af-page ~ .footerarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 16px 20px;
    color: #dde5f0;
    background: #1c2636;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

#af-page ~ .footerarea :is(.menu_1, .copyarea_new) {
    box-sizing: border-box;
    width: min(1024px, 100%);
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    list-style: none;
}

#af-page ~ .footerarea .menu_1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #405069;
}

#af-page ~ .footerarea .menu_1 li,
#af-page ~ .footerarea .copyarea_new li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: left;
}

#af-page ~ .footerarea .menu_1 a {
    display: inline-flex;
    width: auto;
    min-height: 36px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.af-mobile h1,
.af-mobile h2,
.af-mobile h3,
.af-mobile p,
.af-mobile ol,
.af-mobile li {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}

.af-mobile div {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
}

.af-mobile :is(button, select, input) {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

.af-mobile :is(button, a, select, input):focus-visible {
    outline: 2px solid #246ec8;
    outline-offset: 2px;
}

#af-page.af-mobile .af-page-heading,
.af-mobile .af-policy-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 0 0 15px;
}

.af-mobile .af-page-heading h1,
.af-mobile .af-policy-heading h1 {
    font-size: clamp(25px, 5.7vw, 33px);
    font-weight: 680;
    line-height: 1.25;
    letter-spacing: -.045em;
}

.af-mobile .af-heading-copy p {
    margin-top: 6px;
    color: var(--af-muted);
    font-size: 13px;
    word-break: keep-all;
}

.af-mobile .af-guide-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
}

.af-mobile .af-guide-links a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    color: var(--af-blue-dark);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.af-mobile .af-guide-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#af-page #myfrm {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--af-line);
    border-radius: 12px;
    background: #f3f8ff;
}

.af-mobile .af-search-grid,
.af-mobile .af-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 9px;
}

.af-mobile .af-search-extra {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.af-mobile .af-people {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 9px;
    min-width: 0;
}

#af-page .af-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 5px;
    min-width: 0;
    margin: 0;
    color: var(--af-ink);
    font: inherit;
    text-align: left;
}

.af-mobile .af-field > span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

#af-page .af-field :is(input, select, button) {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 9px;
    border: 1px solid #cbd9e9;
    border-radius: 7px;
    color: var(--af-ink);
    background: var(--af-white);
    font-size: 16px;
    font-weight: 400;
    box-shadow: none;
}

#af-page .af-field select {
    appearance: auto;
    background-image: none;
}

.af-mobile .af-date-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    appearance: none;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

#af-page .af-field .af-date-trigger {
    font-size: clamp(13px, 3.6vw, 16px);
}

.af-mobile .af-date-trigger svg,
.af-mobile .af-calendar svg,
.af-mobile .af-route-line svg,
.af-mobile .af-air-logo svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.af-mobile .af-date-trigger svg,
.af-mobile .af-calendar svg {
    color: #3d6495;
}

.af-mobile .af-age-note {
    grid-column: 1 / -1;
    margin-top: 2px;
    color: var(--af-muted);
    font-size: 11px;
    word-break: keep-all;
}

.af-mobile .af-search-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    gap: 9px;
}

.af-mobile .af-return-date {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3px 10px;
    color: var(--af-muted);
    font-size: 12px;
}

.af-mobile .af-return-date time {
    color: var(--af-ink);
    font-weight: 620;
    font-variant-numeric: tabular-nums;
}

.af-mobile .af-button {
    display: inline-flex;
    width: auto;
    max-width: none;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    appearance: none;
    font: inherit;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.af-mobile .af-button-select {
    color: #fff;
    background: var(--af-blue);
}

.af-mobile .af-button-select:not(:disabled):hover {
    background: var(--af-blue-dark);
}

.af-mobile .af-button-outline {
    border-color: #b8cde6;
    color: var(--af-blue-dark);
    background: #fff;
}

.af-mobile .af-button-outline:not(:disabled):hover {
    background: var(--af-blue-soft);
}

.af-mobile .af-button:disabled {
    opacity: .62;
    cursor: default;
}

.af-mobile .af-search-submit {
    width: 100%;
    min-height: 46px;
}

.af-mobile .af-form-message {
    margin-top: 9px;
    color: #a33738;
    font-size: 13px;
}

#af-page #air_box {
    margin-top: 27px;
    scroll-margin-top: 92px;
}

.af-mobile .af-results-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 3px 12px;
    margin-bottom: 12px;
}

.af-mobile .af-results-heading h2 {
    font-size: clamp(21px, 4.9vw, 26px);
    font-weight: 680;
    line-height: 1.28;
    letter-spacing: -.035em;
}

.af-mobile .af-results-heading p {
    color: var(--af-muted);
    font-size: 12px;
}

.af-mobile .af-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 13px;
    padding: 4px;
    border: 1px solid var(--af-line);
    border-radius: 9px;
    background: #f4f7fa;
    list-style: none;
}

.af-mobile .af-step {
    display: grid;
    min-width: 0;
    min-height: 34px;
    padding: 4px 2px;
    place-items: center;
    border-radius: 6px;
    color: var(--af-muted);
    font-size: clamp(11px, 2.9vw, 13px);
    font-weight: 550;
    text-align: center;
    word-break: keep-all;
}

.af-mobile .af-step.is-active {
    color: #fff;
    background: var(--af-blue);
    font-weight: 650;
}

.af-mobile .af-step.is-done {
    color: var(--af-blue-dark);
    background: #e6f0fd;
}

.af-mobile .af-filters {
    margin: 0 0 17px;
}

#af-page .af-filters select {
    font-size: 14px;
}

#af-page .af-result-section {
    width: 100%;
    min-width: 0;
    margin: 0 0 20px;
}

#af-page .af-result-section:last-child {
    margin-bottom: 0;
}

.af-mobile .af-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.af-mobile .af-section-heading > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    min-width: 0;
}

.af-mobile .af-section-heading h3 {
    font-size: 16px;
    font-weight: 680;
    word-break: keep-all;
    overflow-wrap: anywhere;
    scroll-margin-top: 92px;
}

.af-mobile .af-direction {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 5px;
    color: var(--af-blue-dark);
    background: var(--af-blue-soft);
    font-size: 11px;
    font-weight: 650;
}

.af-mobile .af-direction-return {
    color: #136e6b;
    background: #e8f7f3;
}

.af-mobile .af-count,
.af-mobile .af-trip-date,
.af-mobile .af-section-note {
    color: var(--af-muted);
    font-size: 12px;
}

.af-mobile .af-count {
    flex: 0 0 auto;
    padding-top: 3px;
}

.af-mobile .af-section-note {
    margin: 0 0 9px;
    word-break: keep-all;
}

.af-mobile .af-complete-label {
    color: var(--af-blue-dark);
    font-weight: 650;
}

.af-mobile .af-flight-list,
.af-mobile .af-fragment {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.af-mobile .af-flight {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--af-line);
    border-radius: 10px;
    background: var(--af-white);
}

.af-mobile .af-flight.is-selected {
    border-color: #87b5e9;
    background: #f8fbff;
}

.af-mobile .af-flight-top,
.af-mobile .af-airline {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.af-mobile .af-flight-top {
    justify-content: space-between;
}

.af-mobile .af-airline strong {
    font-size: 15px;
    font-weight: 650;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.af-mobile .af-air-logo {
    position: relative;
    display: grid;
    width: 32px;
    height: 30px;
    flex: 0 0 32px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e1eaf5;
    border-radius: 7px;
    color: #5379a8;
    background: #f2f7fe;
}

.af-mobile .af-air-logo img {
    position: absolute;
    inset: 0;
    display: block;
    float: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 2px;
    border: 0;
    object-fit: contain;
    background: #fff;
}

.af-mobile .af-card-tag {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 5px;
    color: var(--af-blue-dark);
    background: #e8f2ff;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}

.af-mobile .af-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(43px, .7fr) minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.af-mobile .af-airport {
    display: grid;
    min-width: 0;
    align-content: start;
    justify-items: start;
    gap: 2px;
}

.af-mobile .af-airport:last-child {
    justify-items: end;
    text-align: right;
}

.af-mobile .af-flight-date,
.af-mobile .af-city,
.af-mobile .af-route-middle {
    color: var(--af-muted);
    font-size: 12px;
}

.af-mobile .af-city {
    overflow-wrap: anywhere;
}

.af-mobile .af-flight-time {
    color: var(--af-ink);
    font-size: clamp(22px, 6vw, 29px);
    font-weight: 650;
    line-height: 1.16;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.af-mobile .af-route-middle {
    min-width: 0;
    color: #486988;
    font-size: 11px;
    text-align: center;
}

.af-mobile .af-route-line {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #4276ae;
}

.af-mobile .af-route-line::before,
.af-mobile .af-route-line::after {
    content: "";
    height: 1px;
    flex: 1 1 0;
    background: #cddbeb;
}

.af-mobile .af-flight-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding-top: 8px;
    border-top: 1px solid #e6edf6;
}

.af-mobile .af-flight-bottom .af-button {
    min-width: 68px;
    margin-left: auto;
}

.af-mobile .af-fare {
    min-width: 0;
}

.af-mobile .af-fare-caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    margin-bottom: 1px;
    color: var(--af-muted);
    font-size: 11px;
}

.af-mobile .af-fare-caption em {
    color: #a84239;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.af-mobile .af-money {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: var(--af-blue-dark);
    font-size: clamp(19px, 5.6vw, 24px);
    font-variant-numeric: tabular-nums;
    line-height: 1.17;
    white-space: nowrap;
}

.af-mobile .af-money strong {
    font-weight: 720;
}

.af-mobile .af-money small {
    font-size: .63em;
    font-weight: 550;
}

.af-mobile .af-booking {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 14px 0 0;
    padding: 13px;
    border: 1px solid #b8d0ed;
    border-radius: 10px;
    background: #eff6ff;
}

.af-mobile .af-passenger-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d7e5f7;
    color: var(--af-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.af-mobile .af-passenger-row strong {
    color: var(--af-ink);
    font-weight: 650;
}

.af-mobile .af-booking-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 12px;
    padding-top: 9px;
}

.af-mobile .af-total {
    display: grid;
    justify-items: start;
    gap: 2px;
    min-width: 0;
    color: var(--af-muted);
    font-size: 12px;
}

.af-mobile .af-total .af-money {
    font-size: clamp(23px, 6.1vw, 31px);
}

.af-mobile .af-booking-main .af-button {
    min-width: 99px;
    margin-left: auto;
}

.af-mobile .af-legacy-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.af-mobile .af-empty,
.af-mobile .af-loading {
    min-width: 0;
    padding: 22px 13px;
    border: 1px solid var(--af-line);
    border-radius: 10px;
    color: var(--af-muted);
    background: #f8fafe;
    text-align: center;
    word-break: keep-all;
}

.af-mobile :is(.af-empty, .af-loading) strong {
    display: block;
    margin-bottom: 3px;
    color: var(--af-ink);
    font-size: 15px;
    font-weight: 650;
}

.af-mobile :is(.af-empty, .af-loading) p {
    font-size: 13px;
}

.af-mobile .af-empty .af-button {
    margin: 10px auto 0;
}

.af-mobile .af-spinner {
    display: block;
    width: 21px;
    height: 21px;
    margin: 0 auto 9px;
    border: 2px solid #dbe8fa;
    border-top-color: var(--af-blue);
    border-radius: 50%;
    animation: af-spin .8s linear infinite;
}

#af-selected-return {
    scroll-margin-top: 90px;
}

.af-mobile .af-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.af-mobile.af-policy-page {
    width: min(768px, calc(100% - 32px));
    margin: 22px auto;
}

.af-mobile .af-policy-body {
    min-width: 0;
    max-width: 100%;
    padding: clamp(12px, 4vw, 20px);
    overflow-x: auto;
    border: 1px solid var(--af-line);
    border-radius: 10px;
    background: var(--af-white);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.af-mobile .af-policy-body :is(p, ul, ol, table) {
    margin: 0 0 .65em;
}

.af-mobile .af-policy-body :is(ul, ol) {
    padding-left: 1.25em;
    list-style: revert;
}

.af-mobile .af-policy-body table {
    max-width: 100%;
    border-collapse: collapse;
}

.af-mobile .af-policy-body :is(th, td) {
    padding: .45em;
    border: 1px solid var(--af-line);
}

.af-mobile .af-policy-body img {
    max-width: 100%;
    height: auto;
}

.af-mobile .af-policy-heading h2 {
    font-size: 20px;
    font-weight: 650;
}

@media (min-width: 760px) {
    #af-page {
        padding: 32px 0 45px;
    }

    #af-page #myfrm {
        padding: 19px;
    }

    .af-mobile .af-search-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .af-mobile .af-search-extra {
        grid-template-columns: minmax(0, 1fr) minmax(190px, .45fr);
        gap: 18px;
        align-items: start;
    }

    .af-mobile .af-search-action {
        gap: 5px;
    }

    #af-page .af-flight {
        grid-template-columns: minmax(142px, .62fr) minmax(208px, 1fr) minmax(183px, .86fr);
        align-items: center;
        gap: 16px;
        padding: 14px;
    }

    #af-page .af-flight-top {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
    }

    #af-page .af-flight-bottom {
        padding: 0 0 0 13px;
        border-top: 0;
        border-left: 1px solid #e6edf6;
        gap: 8px;
    }

    #af-page #air_box,
    #af-page .af-section-heading h3,
    #af-selected-return {
        scroll-margin-top: 118px;
    }
}

@keyframes af-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .af-mobile .af-spinner { animation: none; }
}

#af-page #af-calendar {
    position: fixed;
    inset: 0;
    width: min(390px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #d8e1ef;
    border-radius: 16px;
    color: var(--af-ink);
    background: #fff;
    box-shadow: 0 16px 45px rgba(24, 35, 56, .22);
    font: inherit;
    text-align: left;
}

#af-page #af-calendar:not([open]) {
    display: none;
}

#af-page #af-calendar::backdrop {
    background: rgb(14 29 48 / 48%);
}

#af-page .af-calendar-title,
#af-page .af-calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#af-page .af-calendar-title {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--af-line);
}

#af-page #af-calendar-heading,
#af-page #af-calendar-month {
    margin: 0;
    color: var(--af-ink);
    font-size: 17px;
    font-weight: 650;
}

#af-page .af-calendar-navigation {
    padding-block: 9px 4px;
}

#af-page #af-calendar-month {
    font-size: 20px;
    white-space: nowrap;
}

#af-page #af-calendar button {
    display: grid;
    float: none;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    appearance: none;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

#af-page #af-calendar .af-calendar-close,
#af-page #af-calendar .af-month-button {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #eef5ff;
}

#af-page #af-calendar .af-calendar-close {
    background: transparent;
}

#af-page #af-calendar :is(.af-calendar-close, .af-month-button):enabled:hover {
    background: #e1efff;
}

#af-page .af-calendar-week,
#af-page .af-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    text-align: center;
}

#af-page .af-calendar-week span {
    display: grid;
    min-height: 35px;
    place-items: center;
    color: var(--af-muted);
    font-size: 13px;
    font-weight: 600;
}

#af-page #af-calendar .af-calendar-day {
    width: 100%;
    height: 42px;
    border-radius: 9px;
    color: var(--af-ink);
    background: transparent;
    font-size: 15px;
    font-weight: 550;
}

#af-page .af-calendar-week span:is(:first-child, :last-child),
#af-page #af-calendar .af-calendar-day:is(:nth-child(7n + 1), :nth-child(7n)) {
    color: #c33634;
}

#af-page #af-calendar .af-calendar-day:enabled:hover,
#af-page #af-calendar .af-calendar-day[aria-current="date"]:enabled {
    color: var(--af-blue);
    background: #e8f2ff;
}

#af-page #af-calendar .af-calendar-day[aria-pressed="true"]:enabled {
    color: #fff;
    background: var(--af-blue);
    font-weight: 650;
}

#af-page #af-calendar .af-calendar-day:disabled {
    color: #8794a5;
    cursor: default;
}

#af-page #af-calendar .af-calendar-day[aria-hidden="true"],
#af-page #af-calendar .af-month-button:disabled {
    opacity: .42;
    cursor: default;
}
