/*
 * 이미지 중심의 레거시 페이지는 원본 좌표와 크기를 유지한다.
 * 아래 규칙은 회원·게시판·마이페이지처럼 HTML로 구성된 화면에만 적용한다.
 */
:root {
    --platform-ink: #202833;
    --platform-muted: #667282;
    --platform-line: #e3e8ee;
    --platform-line-strong: #cfd7e1;
    --platform-surface: #f6f8fa;
    --platform-surface-accent: #eef5fb;
    --platform-primary: #175c94;
    --platform-primary-dark: #104a7a;
    --platform-danger: #b4232d;
    --platform-success: #18704a;
    --platform-shadow: 0 10px 32px rgba(27, 48, 73, .07);
}

/* 레거시 페이지 공통 유틸리티: 인라인 style을 대체하므로 인라인과 같은 우선순위(!important)를 쓴다.
   [hidden] 규칙보다 앞에 두어 hidden 속성이 계속 이기게 한다. 새 화면은 구조화된 컴포넌트 클래스를 우선한다. */
.u-flex { display: flex !important; }
.u-block { display: block !important; }
.u-relative { position: relative !important; }
.u-flex-col { flex-direction: column !important; }
.u-justify-center { justify-content: center !important; }
.u-grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.u-w-full { width: 100% !important; }
.u-w-half { width: 50% !important; }
.u-max-w-full { max-width: 100% !important; }
.u-max-w-half { max-width: 50% !important; }
.u-h-auto { height: auto !important; }
.u-text-left { text-align: left !important; }
.u-bg-none { background: 0 none !important; }
.u-border-b-0 { border-bottom: 0 none !important; }
.u-border-r-0 { border-right: 0 none !important; }
.u-gap-05 { gap: .5rem !important; }
.u-gap-075 { gap: .75rem !important; }
.u-gap-1 { gap: 1rem !important; }
.u-gap-2 { gap: 2rem !important; }
.u-pt-1 { padding-top: 1rem !important; }
.u-pt-3 { padding-top: 3rem !important; }
.u-pl-0 { padding-left: 0 !important; }
.u-pr-0 { padding-right: 0 !important; }
.u-pb-0 { padding-bottom: 0 !important; }
.u-mt-3 { margin-top: 3rem !important; }
/* 여백: u-p-상-우-하-좌 / u-m-상-우-하-좌 (단위 rem, _는 소수점) */
.u-p-0-0-0-0 { padding: 0 !important; }
.u-p-0-0-1_5-0 { padding: 0 0 1.5rem !important; }
.u-p-0-10-0-10 { padding: 0 10rem !important; }
.u-p-2-0-0-0 { padding: 2rem 0 0 !important; }
.u-p-2-0-0_5-0 { padding: 2rem 0 .5rem !important; }
.u-p-2-0-4-0 { padding: 2rem 0 4rem !important; }
.u-p-2-2-0-2 { padding: 2rem 2rem 0 !important; }
.u-p-2-2-2-2 { padding: 2rem !important; }
.u-p-4-0-0-0 { padding: 4rem 0 0 !important; }
.u-p-4-0-8-0 { padding: 4rem 0 8rem !important; }
.u-p-5-0-0-0 { padding: 5rem 0 0 !important; }
.u-p-6-0-0-0 { padding: 6rem 0 0 !important; }
.u-p-8-0-0-0 { padding: 8rem 0 0 !important; }
.u-m-0-0-0-0 { margin: 0 !important; }
.u-m-0-0-4-0 { margin: 0 0 4rem !important; }
.u-m-2-0-0-0 { margin: 2rem 0 0 !important; }
.u-m-2-0-4-0 { margin: 2rem 0 4rem !important; }
/* 1:1 정사각형 상품 썸네일 */
.thumb-square { position: relative !important; padding-top: 100% !important; overflow: hidden !important; }
.thumb-square__center { position: absolute !important; inset: 0 !important; transform: translate(50%, 50%) !important; }
.thumb-square__image { position: absolute !important; top: 0 !important; left: 0 !important; max-width: 100% !important; height: auto !important; transform: translate(-50%, -50%) !important; }

[hidden] { display: none !important; }
body { min-width: 320px; }
html.is-layout-hidden [data-layout-chrome] { display: none !important; }
html.is-layout-hidden .container { min-height: 100dvh; }
.business-card-image { display: block; max-width: 100%; height: auto; margin: 20px auto; }
.header-inner > .heaer-item--logo { padding: 0 .5rem 0 0; }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 1000; padding: 12px 16px; border-radius: 8px; background: #fff; color: #111; box-shadow: var(--platform-shadow); }
.skip-link:focus { top: 10px; }
.image-button { display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.header-inner > .heaer-item { min-width: 0; }
.header-inner form button, .menu-inner form button { width: 100%; }
.fixed-all-menu-container.is-open { display: block; }
.swiper-container { position: relative; min-width: 0; overflow: hidden; }
.swiper-wrapper { display: flex; width: 100%; gap: 16px; align-items: stretch; transition: transform .5s ease; }
.swiper-slide { flex: 0 0 100%; min-width: 0; }
.mainslide070802Swiper .swiper-slide { flex-basis: calc((100% - 16px) / 2); }
.main-gmf-swiper .swiper-slide { flex-basis: calc((100% - 8px) / 1.5); }
.main-shopping-swiper .swiper-wrapper { gap: 0; }
.swiper-button-prev, .swiper-button-next { position: absolute; z-index: 2; display: grid; place-items: center; cursor: pointer; }
.swiper-button-prev::after { content: '‹'; }
.swiper-button-next::after { content: '›'; }

/* 구조화된 본문 공통 */
.form-shell,
.dashboard-shell {
    width: auto;
    min-height: 0;
    margin: 36px clamp(16px, 4vw, 28px) 72px;
    color: var(--platform-ink);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -.012em;
}

.form-card {
    padding: clamp(26px, 5vw, 40px);
    border: 1px solid var(--platform-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--platform-shadow);
    color: var(--platform-ink);
    font-size: 16px;
    line-height: 1.65;
}
.form-card--center { text-align: center; }
.form-card h1,
.page-heading h1 {
    margin: 0 0 24px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--platform-line);
    color: var(--platform-ink);
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.04em;
}
.form-card h2 {
    margin: 34px 0 14px;
    color: var(--platform-ink);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: -.025em;
}
.form-card p { margin: 12px 0; line-height: 1.7; }
.form-card > p:first-of-type:not(.notice):not(.field-help) { margin-top: -10px; color: var(--platform-muted); }
.form-card strong { font-weight: 750; }
.eyebrow {
    display: block;
    margin: 0 0 7px !important;
    color: var(--platform-primary) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}
.page-heading span { display: block; color: var(--platform-muted); font-size: 15px; line-height: 1.65; }

/* 알림 */
.notice {
    margin: 20px 0;
    padding: 14px 16px;
    border: 1px solid #c9dced;
    border-radius: 11px;
    background: var(--platform-surface-accent);
    color: #244d70;
    font-size: 14px;
    line-height: 1.65;
}
main > .notice { margin: 20px clamp(16px, 4vw, 28px) 0; }
.notice ul { margin: 0; padding-left: 20px; }
.notice--error { border-color: #efc9cd; background: #fff4f5; color: #87202a; }

/* 입력 */
.form-card form { margin: 0; }
.form-card label {
    display: grid;
    gap: 7px;
    margin: 19px 0 0;
    color: #2b3542;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}
.form-card input:not([type=checkbox]):not([type=radio]):not([type=file]),
.form-card select,
.form-card textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid var(--platform-line-strong);
    border-radius: 10px;
    outline: 0;
    background: #fff;
    color: var(--platform-ink);
    font: inherit;
    font-weight: 450;
    line-height: 1.45;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-card input::placeholder,
.form-card textarea::placeholder { font-size: 1em; }
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card input:hover,
.form-card select:hover,
.form-card textarea:hover { border-color: #aeb9c6; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--platform-primary);
    box-shadow: 0 0 0 3px rgba(23, 92, 148, .13);
}
.form-card input[disabled],
.form-card select[disabled],
.form-card textarea[disabled] { background: var(--platform-surface); color: var(--platform-muted); cursor: not-allowed; }
.form-card input[type=file] { max-width: 100%; padding: 10px; border: 1px dashed var(--platform-line-strong); border-radius: 10px; background: var(--platform-surface); font-size: 14px; }
.form-card input[type=checkbox],
.form-card input[type=radio] {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    transform: none;
    accent-color: var(--platform-primary);
}
.form-card .inline-choice {
    display: flex;
    grid-template-columns: none;
    gap: 9px;
    align-items: flex-start;
    width: fit-content;
    font-weight: 550;
}
.form-card .inline-choice--custom { align-items: center; }
.form-card .inline-choice--custom input[type=text] {
    display: inline-block;
    width: min(180px, 48vw);
    min-height: 40px;
    padding: 7px 10px;
}
.form-card fieldset.form-phone-field {
    margin: 19px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}
.form-card fieldset.form-phone-field > legend {
    margin: 0 0 7px;
    padding: 0;
    color: #2b3542;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}
.form-phone {
    display: grid;
    grid-template-columns: minmax(0, .8fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid var(--platform-line-strong);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-phone:hover { border-color: #aeb9c6; }
.form-phone:focus-within { border-color: var(--platform-primary); box-shadow: 0 0 0 3px rgba(23, 92, 148, .13); }
.form-phone > span { align-self: center; color: var(--platform-muted); }
.form-card .form-phone input:not([type=checkbox]):not([type=radio]):not([type=file]) {
    min-width: 0;
    min-height: 46px;
    padding: 10px 4px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}
.business-card-list { display: grid; gap: 22px; margin-top: 22px; }
.business-card-list__item { padding: 18px; border: 1px solid var(--platform-line); border-radius: 12px; background: var(--platform-surface); }
.business-card-list__preview { display: block; }
.business-card-list__preview img { display: block; width: min(100%, 500px); height: auto; margin: 0 auto; }
.business-card-list__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.business-card-detail { margin-top: 22px; }
.business-card-detail__preview { display: block; }
.business-card-detail__preview img { display: block; width: min(100%, 500px); height: auto; margin: 0 auto; }
.profile-consent-list { display: grid; gap: 10px; margin-top: 19px; }
.form-card .profile-consent-list .inline-choice {
    align-items: center;
    gap: 11px;
    width: 100%;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid var(--platform-line);
    border-radius: 9px;
    background: var(--platform-surface);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-card .profile-consent-list .inline-choice:hover { border-color: #aeb9c6; }
.form-card .profile-consent-list .inline-choice:focus-within {
    border-color: var(--platform-primary);
    box-shadow: 0 0 0 3px rgba(23, 92, 148, .13);
}
.form-card .profile-consent-list .inline-choice:has(input:checked) {
    border-color: #b9d2e7;
    background: var(--platform-surface-accent);
}
.form-card .profile-consent-list input[type=checkbox] {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    transform: none;
}
.form-card fieldset { min-width: 0; margin: 28px 0 0; padding: 18px 22px; border: 1px solid var(--platform-line); border-radius: 12px; }
.form-card legend { padding: 0 8px; font-size: 15px; font-weight: 750; line-height: 1.5; }
.form-card fieldset > label:first-of-type { margin-top: 0; }
.form-card fieldset > :last-child:not(.choice-group__summary) { margin-bottom: 0; }
.form-card .application-agreement > .inline-choice { align-items: center; margin-top: 19px; }
.form-card .application-agreement > .inline-choice input[type=checkbox] {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
    margin-top: 0;
}
.choice-group__options { margin-top: 0; }
.choice-group__options--scroll {
    max-height: min(48dvh, 26rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 12px;
}
.choice-group__options--scroll:focus-visible {
    border-radius: 6px;
    outline: 3px solid rgba(23, 92, 148, .2);
    outline-offset: 3px;
}
.choice-group__option { padding: 14px 0; border-bottom: 1px solid var(--platform-line); }
.choice-group__option:first-child { padding-top: 0; }
.choice-group__option:last-child { padding-bottom: 0; border-bottom: 0; }
.form-card .choice-group__option .inline-choice { width: 100%; margin-top: 0; cursor: pointer; }
.form-card .choice-group__option .field-help { margin: 8px 0 0 28px; }
.choice-group__summary {
    margin: 18px -22px -18px;
    padding: 15px 22px 17px;
    border-top: 1px solid #c9dced;
    border-radius: 0 0 11px 11px;
    background: var(--platform-surface-accent);
    color: #244d70;
}
.choice-group__summary-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.choice-group__summary-heading > span { color: var(--platform-muted); font-size: 13px; }
.choice-group__summary-values { display: grid; gap: 5px; margin-top: 7px; font-size: 14px; }
.choice-group__summary-values > span { white-space: nowrap; }
.choice-group__summary-values strong { margin-left: 4px; color: var(--platform-primary); }
.field-help { color: var(--platform-muted); font-size: 13px; font-weight: 450; line-height: 1.55; }
.field-success { color: var(--platform-success); }
.field-error { color: var(--platform-danger); }
.input-row { display: flex; gap: 9px; align-items: center; }
.input-row > * { min-width: 0; }
.input-row > input { flex: 1; }

/* 회원가입 */
.registration-shell { max-width: 760px; margin-inline: auto; }
.registration-card { overflow: hidden; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.registration-hero {
    padding: clamp(28px, 5vw, 44px) clamp(22px, 6vw, 48px) 30px;
    background: linear-gradient(180deg, #eaf5fd 0%, #f5faff 100%);
    text-align: center;
}
.registration-card .registration-hero h1 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--platform-primary);
    font-size: clamp(28px, 4vw, 36px);
}
.registration-hero > p { margin: 20px 0 0 !important; color: var(--platform-ink) !important; font-size: clamp(19px, 3vw, 24px); font-weight: 750; }
.registration-progress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 380px; margin: 24px auto 0; padding: 0; list-style: none; }
.registration-progress li { position: relative; display: grid; gap: 7px; justify-items: center; color: var(--platform-muted); font-size: 13px; font-weight: 650; line-height: 1.35; }
.registration-progress li::before { position: absolute; top: 16px; right: 50%; left: -50%; height: 3px; background: var(--platform-line-strong); content: ''; }
.registration-progress li:first-child::before { display: none; }
.registration-progress span { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid #aeb9c6; border-radius: 50%; background: #fff; color: var(--platform-muted); font-size: 15px; font-weight: 800; }
.registration-progress .is-current { color: var(--platform-primary); }
.registration-progress .is-current span { border-color: var(--platform-primary); background: var(--platform-primary); color: #fff; }
.registration-body { padding: 30px clamp(20px, 6vw, 48px) 12px; }
.registration-required { margin: 0 0 24px !important; color: #4f5c6b; font-size: 13px; }
.registration-required span,
.required-mark { color: var(--platform-danger); }
.registration-form { max-width: 640px; margin: 0 auto; }
.registration-group + .registration-group { margin-top: 36px; }
.registration-card .registration-group h2 {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 18px;
    color: var(--platform-ink);
    font-size: 21px;
}
.registration-card .registration-group h2::after { height: 1px; flex: 1; background: var(--platform-line-strong); content: ''; }
.registration-card .registration-group h2::before { width: 5px; height: 24px; border-radius: 3px; background: var(--platform-primary); content: ''; }
.registration-card .registration-group > label { display: block; }
.registration-card .registration-group > label > input:not([type=checkbox]):not([type=radio]):not([type=file]) { margin-top: 7px; }
.registration-card .registration-group > label > .field-help { display: block; margin-top: 5px; }
.registration-phone-field { margin-top: 19px; }
.registration-phone-field > label { display: block; margin: 0 0 7px; }
.registration-phone {
    display: grid;
    grid-template-columns: minmax(0, .8fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid var(--platform-line-strong);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.registration-phone:hover { border-color: #aeb9c6; }
.registration-phone:focus-within { border-color: var(--platform-primary); box-shadow: 0 0 0 3px rgba(23, 92, 148, .13); }
.registration-phone > span { align-self: center; color: var(--platform-muted); }
.registration-card .registration-phone input:not([type=checkbox]):not([type=radio]):not([type=file]) {
    min-width: 0;
    min-height: 46px;
    padding: 10px 4px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}
.registration-choices { display: grid; gap: 10px; margin-top: 16px; }
.registration-card .registration-choice-row {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #d2e2f0;
    border-radius: 10px;
    background: #f4f9fd;
}
.registration-choice-row span { color: var(--platform-muted); font-size: 13px; font-weight: 500; }
.registration-optional { margin-top: 38px; border: 1px solid #c8dceb; border-radius: 12px; background: #fff; }
.registration-optional summary { position: relative; padding: 16px 50px 16px 18px; border-radius: 11px; background: var(--platform-surface-accent); color: var(--platform-primary); font-size: 17px; font-weight: 750; line-height: 1.4; cursor: pointer; list-style: none; }
.registration-optional summary::-webkit-details-marker { display: none; }
.registration-optional summary::after { position: absolute; top: 50%; right: 20px; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ''; transform: translateY(-65%) rotate(45deg); transition: transform .15s ease; }
.registration-optional[open] summary { border-radius: 11px 11px 0 0; }
.registration-optional[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.registration-optional summary span { font-size: 14px; font-weight: 600; }
.registration-optional__body { padding: 2px 18px 22px; }
.registration-actions { display: grid; gap: 12px; margin-top: 28px; text-align: center; }
.registration-card .registration-actions .button { width: 100%; min-height: 54px; font-size: 17px; }
.registration-actions > a { justify-self: center; padding: 4px; color: var(--platform-primary); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* 버튼과 보조 링크 */
.button,
.form-card .button {
    display: inline-flex;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 17px;
    border: 1px solid var(--platform-line-strong);
    border-radius: 10px;
    background: #fff;
    color: #344050;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}
.button:hover { border-color: #aeb9c6; background: var(--platform-surface); }
.button:active { transform: translateY(1px); }
.button--primary,
.form-card .button--primary { border-color: var(--platform-primary); background: var(--platform-primary); color: #fff; }
.button--primary:hover,
.form-card .button--primary:hover { border-color: var(--platform-primary-dark); background: var(--platform-primary-dark); }
.button:focus-visible { outline: 3px solid rgba(23, 92, 148, .2); outline-offset: 2px; }
.button:disabled { opacity: .48; cursor: not-allowed; }
.form-actions { display: flex; gap: 9px; justify-content: flex-end; margin: 24px 0 0; flex-wrap: wrap; }
.form-actions form { margin: 0; }
.form-links { display: flex; justify-content: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; color: var(--platform-muted); font-size: 14px; }
.form-links a,
.form-card > a:not(.button) { color: var(--platform-primary); text-decoration: underline; text-decoration-color: rgba(23, 92, 148, .3); text-underline-offset: 3px; }
.login-submit,
.login-join { width: 100%; margin-top: 14px !important; }
.form-card .login-submit { min-height: 52px; font-size: 16px; }
.form-card .login-join { min-height: 50px; background: var(--platform-surface); font-size: 15px; }
.member-login { padding-block: clamp(30px, 7vw, 50px); }
.login-guide { margin: 28px 0 0 !important; color: var(--platform-muted); text-align: center; font-size: 14px; }

/* 약관과 상세 정보 */
.regi_term + .regi_term { margin-top: 34px; }
.terms-box {
    max-height: 230px;
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--platform-line);
    border-radius: 10px;
    background: var(--platform-surface);
    color: #4d5967;
    font-size: 14px;
    line-height: 1.75;
    white-space: pre-wrap;
}
.terms-box:focus { outline: 3px solid rgba(23, 92, 148, .15); outline-offset: 2px; }
.preserve-text { overflow-wrap: anywhere; white-space: pre-wrap; }
.record-fields { margin: 24px 0; border-top: 1px solid var(--platform-line-strong); }
.record-fields dt { padding: 13px 14px 5px; border-top: 0; color: var(--platform-muted); background: transparent; font-size: 13px; font-weight: 700; }
.record-fields dd { margin: 0; padding: 0 14px 14px; border-bottom: 1px solid var(--platform-line); }
.record-list article { padding: 18px 4px; border-bottom: 1px solid var(--platform-line); }
.record-list article:first-child { border-top: 1px solid var(--platform-line); }
.record-list article p { margin: 5px 0 0; color: var(--platform-muted); font-size: 13px; }
.empty-panel { margin: 0; padding: 38px 18px; color: var(--platform-muted); font-size: 14px; line-height: 1.65; text-align: center; }

/* 표와 게시판 */
.form-card table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.form-card th,
.form-card td { padding: 14px 12px; border-bottom: 1px solid var(--platform-line); text-align: left; vertical-align: middle; }
.form-card .empty-panel { text-align: center; }
.form-card th { border-top: 1px solid var(--platform-line-strong); background: var(--platform-surface); color: #455160; font-size: 13px; font-weight: 750; }
.form-card tbody tr:hover td { background: #fafbfd; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--platform-line); border-radius: 11px; }
.table-scroll table { min-width: 520px; }
.table-scroll th:first-child,
.table-scroll td:first-child { padding-left: 16px; }
.table-scroll th:last-child,
.table-scroll td:last-child { padding-right: 16px; }
.form-card .board-search { margin: 24px 0 16px; }
.board-search label { margin: 0 0 7px; color: var(--platform-muted); font-size: 13px; }
.board-search .input-row input { margin: 0; }
.board-search .button { flex: 0 0 auto; min-width: 72px; }
.board-list { table-layout: fixed; }
.board-list .board-no { width: 64px; text-align: center; color: var(--platform-muted); }
.board-list .board-date { width: 94px; text-align: center; color: var(--platform-muted); font-size: 13px; }
.board-list td:nth-child(2) { overflow-wrap: anywhere; }
.board-list td a { font-weight: 650; }
.submission-status { display: inline-block; margin-left: 7px; color: var(--platform-primary); font-size: 12px; font-weight: 650; }
.faq-item { margin: 0; padding: 0; border-bottom: 1px solid var(--platform-line); font-size: 15px; line-height: 1.7; }
.faq-item:first-of-type { border-top: 1px solid var(--platform-line); }
.faq-item summary { padding: 16px 4px; font-weight: 700; cursor: pointer; }
.faq-item[open] summary { color: var(--platform-primary); }
.faq-item > div { padding: 0 4px 18px; color: #4e5967; }
.post-body { padding: 26px 2px; overflow-wrap: anywhere; font-size: 16px; line-height: 1.8; }
.post-body table { max-width: 100%; }
.post-comment { margin: 0; padding: 18px 4px; border-bottom: 1px solid var(--platform-line); }
.post-comment p { margin: 7px 0; }
.post-comment small { color: var(--platform-muted); font-size: 12px; }
.attachment { padding: 14px 0; overflow-wrap: anywhere; }
.attachment img { max-width: 100%; height: auto; margin: 10px 0; }
.pagination { display: flex; justify-content: center; gap: 5px; margin: 0; padding: 26px 0 4px; flex-wrap: wrap; font-size: 13px; }
.pagination a,
.pagination span { display: grid; min-width: 36px; min-height: 36px; padding: 6px 9px; place-items: center; border: 1px solid var(--platform-line); border-radius: 8px; background: #fff; }
.pagination a:hover { border-color: var(--platform-line-strong); background: var(--platform-surface); }
.pagination [aria-current=page] { border-color: var(--platform-primary); background: var(--platform-primary); color: #fff; }
.pagination [aria-disabled=true] { color: #a1a9b4; }

/* 마이페이지는 카드 타일 대신 한 줄씩 읽히는 메뉴로 구성한다. */
.dashboard-shell .page-heading { margin-bottom: 18px; padding: 0; }
.dashboard-shell .page-heading > p { margin: 0 0 7px; color: var(--platform-primary); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; border: 0; }
.dashboard-grid a {
    display: grid;
    min-height: 0;
    padding: 18px 20px;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    border: 1px solid var(--platform-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(27, 48, 73, .04);
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.dashboard-grid a:hover { border-color: #bacdde; box-shadow: 0 8px 22px rgba(27, 48, 73, .08); transform: translateY(-1px); }
.dashboard-grid__icon { display: grid; width: 42px; height: 42px; grid-row: span 2; place-items: center; border-radius: 50%; background: var(--platform-surface-accent); font-size: 20px; }
.dashboard-grid strong { align-self: end; color: var(--platform-ink); font-size: 16px; line-height: 1.35; }
.dashboard-grid small { margin-top: 3px; color: var(--platform-muted); font-size: 13px; line-height: 1.5; }

.video-board article { margin: 30px 0 50px; }
/* 16:9 영상 공통. 여백은 modifier로, 좌표처럼 페이지마다 다른 값만 페이지에 둔다. */
.iframe-container { position: relative; width: 100%; box-sizing: border-box; }
.iframe-container--my-2 { margin-top: 2rem; margin-bottom: 2rem; }
.iframe-container--my-3 { margin-top: 3rem; margin-bottom: 3rem; }
.iframe-container--mb-2_5 { margin-bottom: 2.5rem; }
.iframe-wrapper { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; overflow: hidden; border-radius: 12px; background: #111; }
.iframe-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
.photo-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.photo-board img { width: 100%; margin-bottom: 10px; aspect-ratio: 4 / 3; border-radius: 10px; object-fit: cover; }

@media (max-width: 640px) {
    .form-shell,
    .dashboard-shell { margin: 22px 12px 52px; font-size: 15px; }
    .form-card { padding: 24px 18px; border-radius: 14px; font-size: 15px; box-shadow: 0 7px 24px rgba(27, 48, 73, .055); }
    .form-card h1,
    .page-heading h1 { margin-bottom: 20px; padding-bottom: 17px; font-size: 25px; }
    .form-card h2 { margin-top: 30px; font-size: 18px; }
    .form-card label { font-size: 14px; }
    .form-actions { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
    .form-actions .button,
    .form-actions form,
    .form-actions form .button { width: 100%; }
    .input-row { gap: 6px; }
    .photo-board { grid-template-columns: minmax(0, 1fr); }
    .dashboard-grid a { padding: 16px; }
    .registration-shell { margin-top: 0; }
    .registration-card { margin-inline: -12px; border-radius: 0; }
    .registration-hero { padding: 28px 20px 26px; }
    .registration-body { padding: 26px 20px 8px; }
    .registration-card .registration-hero h1 { font-size: 28px; }
    .registration-hero > p { margin-top: 17px !important; font-size: 20px; }
    .registration-progress { margin-top: 20px; }
    .registration-card .registration-group h2 { font-size: 19px; }
    .registration-optional summary { font-size: 16px; }
}

@media (max-width: 480px) {
    main > .notice { margin-inline: 12px; }
    .form-card { padding-inline: 16px; }
    .board-list { table-layout: auto; }
    .board-list .board-no { display: none; }
    .board-list .board-date { width: 68px; padding-inline: 4px; font-size: 11px; }
    .board-list th,
    .board-list td { padding-block: 13px; padding-inline: 8px; }
    .form-card fieldset { padding: 15px 14px; }
    .choice-group__options--scroll { max-height: min(44dvh, 22rem); padding-right: 8px; }
    .choice-group__summary { margin: 16px -14px -15px; padding: 14px; }
    .choice-group__summary-values { display: grid; gap: 5px; }
    .terms-box { padding: 15px; }
    .registration-body { padding-inline: 16px; }
    .registration-phone { gap: 3px; padding-inline: 8px; }
    .registration-card .registration-phone input:not([type=checkbox]):not([type=radio]):not([type=file]) { padding-inline: 2px; font-size: 15px; }
    .registration-optional__body { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.application-payment{display:grid;gap:12px}.application-payment__choices{display:flex;flex-wrap:wrap;gap:12px}.form-card .application-payment__choices .inline-choice{margin-top:0}.application-payment__panel{display:grid;gap:10px;margin:0}.application-payment__panel[hidden]{display:none}.application-payment__panel label{margin:0}
.coin-payment-notice__list { display: grid; gap: 14px; margin-top: 12px; }
.coin-payment-notice__item { display: grid; gap: 7px; }
.coin-payment-notice__address { display: flex; gap: 8px; align-items: stretch; }
.coin-payment-notice__address code {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(19, 75, 122, .18);
    border-radius: 8px;
    background: #fff;
    color: var(--platform-ink);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.coin-payment-notice__copy {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 0;
    border-radius: 8px;
    background: var(--platform-primary);
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.coin-payment-notice__copy:focus-visible { outline: 3px solid rgba(19, 75, 122, .25); outline-offset: 2px; }
.coin-payment-notice__status { min-height: 1.4em; color: var(--platform-muted); font-size: 12px; }

@media (max-width: 575px) {
    .coin-payment-notice__address { align-items: stretch; flex-direction: column; }
    .coin-payment-notice__copy { min-height: 42px; }
}
