/*
 * 충남아이키움포털 — 열두달 놀이터 (ik_play 스킨)
 * Figma: 메가파크 공유 문서 / 05 열두달 놀이터
 * 공용 토큰(--color-*)은 _layout/bootstrap/css/style.css 에 정의되어 있습니다.
 */

/* 회차 색상 토큰 */
:root {
    --play-r1: #ffa000; /* 1회차 — 주황 */
    --play-r2: #43b04a; /* 2회차 — 초록 */
    --play-r3: #2e9bd6; /* 3회차 — 파랑 */
}

/* ============================================================
 * 공용 — 섹션 / 리스트 / 버튼
 * ============================================================ */
.play-sec {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 24px;
}

.play-sec__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
}

.play-sec__title--picked { padding: 8px 24px; }

/* 삼각형 불릿 (시설 안내 · 구경하기) */
.play-sec__bullet {
    width: 0;
    height: 0;
    flex: 0 0 auto;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--color-primary);
}

/* 링 불릿 (안내 섹션 제목) */
.play-sec__dot {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border: 2.5px solid var(--color-primary);
    border-radius: 50%;
}

.play-sub {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: var(--color-text);
    opacity: .8;
}

.play-sub--accent { color: var(--color-primary); opacity: 1; }

.play-list {
    margin: 0;
    padding-left: 21px;
    list-style: disc;
}

.play-list li {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: var(--color-text);
    opacity: .8;
}

.play-cta { padding: 16px 20px; }

.play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

.play-btn--primary { background: var(--color-primary); color: #fff; }
.play-btn--ghost { background: #f6f6f6; color: var(--color-text); opacity: .8; }
.play-btn--outline {
    background: #fff;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
}

.play-btn-row {
    display: flex;
    gap: 12px;
}

.play-btn-row .play-btn { flex: 1 0 0; min-width: 0; }

/* ============================================================
 * 05-1 시설 안내
 * ============================================================ */
.play-map { padding: 8px 20px; }

.play-map img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.play-facility {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.play-facility .play-sec__title { padding: 0 24px; }

.play-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 8px 0 0;
    padding: 0 20px;
}

.play-gallery__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.play-gallery__thumb {
    width: 100%;
    height: 300px;
    border-radius: 28px;
    background: #f6f6f6;
}

.play-gallery__cap {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: var(--color-text);
    opacity: .8;
}

/* ============================================================
 * 05-2 이용 안내 — 개인/기관 토글 · 시간 카드
 * ============================================================ */
.play-guide {
    background: #fff;
    padding: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.play-reserve {
    background: #fff;
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 개인 / 기관 · 이용안내 / 예약신청 세그먼트 */
.segment {
    display: flex;
    gap: 4px;
    margin: 0 20px;
    padding: 4px;
    background: #f0f0f0;
    border-radius: 16px;
}

.play-reserve .segment { margin: 0; }

.segment__btn {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text);
    opacity: .4;
}

.time-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .04);
}

.time-card__head {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: var(--color-text);
    opacity: .8;
}

.time-card__no {
    font-weight: 700;
    opacity: 1;
    color: var(--color-text);
}

.time-card__sub {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: var(--color-primary);
}

/* ============================================================
 * 05-3 예약 신청 — 달력
 * ============================================================ */
.playcal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.playcal__selects {
    display: flex;
    gap: 12px;
}

.plsel {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
}

.plsel__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-text);
}

.plsel__caret {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 2px solid #9a9a9a;
    border-bottom: 2px solid #9a9a9a;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .15s;
}

.plsel.is-open .plsel__caret { transform: rotate(-135deg) translate(-2px, -2px); }

.plsel__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 240px;
    overflow-y: auto;
    margin: 0;
    padding: 8px 16px;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.plsel.is-open .plsel__menu { display: block; }

.plsel__option {
    font-weight: 600;
    font-size: 16px;
    line-height: 40px;
    color: var(--color-text);
    opacity: .3;
    cursor: pointer;
}

.plsel__option.is-selected { opacity: 1; }

.playcal__grid {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 8px 4px;
}

.playcal__row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.playcal__dow {
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
    opacity: .5;
}

.playcal__dow.is-sun { color: #e8554e; opacity: .8; }

.playcal__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 48px;
    padding: 6px 0;
}

.playcal__date {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text);
    opacity: .8;
}

.playcal__cell--muted .playcal__date { opacity: .25; }

.playcal__cell.is-selected {
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 4px 0;
}

.playcal__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 6px;
}

.playcal__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.playcal__dot--r1 { background: var(--play-r1); }
.playcal__dot--r2 { background: var(--play-r2); }
.playcal__dot--r3 { background: var(--play-r3); }
.playcal__dot--off { background: #d0d0d0; }

.playcal__legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.playcal__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    color: var(--color-text);
    opacity: .6;
}

.playcal__legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* 회차 카드 */
.slot-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slot-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .04);
}

.slot-card.is-selected.slot-card--r1 { border: 2px solid var(--play-r1); }
.slot-card.is-selected.slot-card--r2 { border: 2px solid var(--play-r2); }
.slot-card.is-selected.slot-card--r3 { border: 2px solid var(--play-r3); }

.slot-card__top,
.slot-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.slot-card__round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: #fff;
}

.slot-card__round--r1 { background: var(--play-r1); }
.slot-card__round--r2 { background: var(--play-r2); }
.slot-card__round--r3 { background: var(--play-r3); }

.slot-card__left {
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
}

.slot-card__time {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
}

.slot-card__price {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.slot-card--r1 .slot-card__left,
.slot-card--r1 .slot-card__price { color: var(--play-r1); }
.slot-card--r2 .slot-card__left,
.slot-card--r2 .slot-card__price { color: var(--play-r2); }
.slot-card--r3 .slot-card__left,
.slot-card--r3 .slot-card__price { color: var(--play-r3); }

/* 하단 요약 + 버튼 */
.play-footbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px 24px;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .04);
}

.play-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.play-summary__label {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text);
}

.play-summary__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.play-summary__date {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary);
}

.play-summary__price {
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-text);
}

/* ============================================================
 * 05-3 보드게임방 — 단계 헤더 / 신청서 / 보드게임 선택
 * ============================================================ */
.play-stephead {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 8px;
    background: #fff;
}

.play-back {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.play-back__ico {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-left: 2px solid var(--color-text);
    border-bottom: 2px solid var(--color-text);
    transform: translate(-30%, -50%) rotate(45deg);
}

.play-stephead__title {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: var(--color-text);
}

.play-form {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 24px;
}

.form-sec {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 24px;
}

.form-sec__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
}

.form-sec__dot {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border: 2.5px solid var(--color-primary);
    border-radius: 50%;
}

.field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-text);
}

.field--readonly { background: #f8f8f8; }

.field__caret {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 2px solid #9a9a9a;
    border-bottom: 2px solid #9a9a9a;
    transform: rotate(45deg) translate(-2px, -2px);
}

.field .is-placeholder { opacity: .35; }

/* 체크박스 행 */
.choice {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.choice__input { position: absolute; opacity: 0; width: 0; height: 0; }

.choice__box {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border: 2px solid var(--color-border-strong);
    border-radius: 8px;
    background: #fff;
}

.choice.is-checked .choice__box {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.choice.is-checked .choice__box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 6px;
    height: 11px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.choice__label {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
    opacity: .8;
}

/* 동의 박스 */
.consent-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 16px;
}

.consent-box__head {
    margin: 6px 0 0;
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
}

.consent-box__head:first-child { margin-top: 0; }

.consent-box__text {
    margin: 0;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
    opacity: .6;
}

.consent-box__list {
    margin: 0;
    padding-left: 18px;
    list-style: decimal;
}

.consent-box__list li {
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
    opacity: .6;
}

/* 보드게임 선택 */
.play-select {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px 24px;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.game-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 16px;
}

.game-card__thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #d9d9d9;
}

.game-card__body { flex: 1 0 0; min-width: 0; }

.game-card__name {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
}

.game-card__code {
    margin: 2px 0 0;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
    opacity: .4;
}

.game-card__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}

.game-card__btn.is-pick { background: var(--color-primary); color: #fff; }
.game-card__btn.is-done { background: #e8e8e8; color: var(--color-text); opacity: .5; }
.game-card__btn.is-remove { background: #ececec; color: var(--color-text); opacity: .7; }

/* ============================================================
 * 05-4 예약 현황
 * ============================================================ */
.play-status {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px 8px;
}

.status-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.field--select {
    flex: 1 0 0;
    min-width: 0;
    height: 52px;
    cursor: pointer;
}

.status-filter__tilde {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--color-text);
    opacity: .5;
}

.status-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.status-toolbar__count {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
}

.status-toolbar__count strong { color: var(--color-primary); }

.status-toolbar__sorts { display: flex; gap: 12px; }

.status-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: var(--color-text);
    opacity: .7;
}

.resv-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.resv-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.resv-card__date {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
}

.resv-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    line-height: 24px;
}

.resv-card__badge--ok { background: rgba(0, 145, 132, .12); color: var(--color-primary); }
.resv-card__badge--cancel { background: rgba(255, 160, 0, .15); color: var(--color-accent); }

.resv-card__info {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.resv-card__row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 24px;
}

.resv-card__row dt {
    flex: 0 0 auto;
    width: 36px;
    font-weight: 700;
    color: var(--color-text);
    opacity: .45;
}

.resv-card__row dd {
    margin: 0;
    font-weight: 500;
    color: var(--color-text);
    opacity: .85;
}

.resv-card__notice {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 12px;
    background: #f0f0f0;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
    opacity: .4;
}

.resv-card__btns {
    display: flex;
    gap: 12px;
}

.resv-card__btns .play-btn {
    flex: 1 0 0;
    min-width: 0;
    height: 52px;
    border-radius: 14px;
}


/* ============================================================
 * API 연동 후 추가 — 안내 문구 · 표 · 단계 · 칩 · 상세
 * ============================================================ */

/* 안내 · 경고 문구 */
.play-notice {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f7f4;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
}

.play-notice--warn {
    background: #fdf2f1;
    color: #c0392b;
}

.play-form .play-notice { margin: 0 20px; }

/* 사진 갤러리 — 실제 이미지가 들어옵니다 */
.play-gallery__thumb {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 표 */
.play-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.play-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 20px;
}

.play-table th,
.play-table td {
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
    color: var(--color-text);
}

.play-table thead th {
    background: #f6f6f6;
    font-weight: 700;
    text-align: center;
}

.play-table tbody th {
    background: #fafafa;
    font-weight: 600;
    white-space: nowrap;
}

.play-list--note li {
    font-size: 13px;
    opacity: .75;
}

/* 이용 방법 단계 (보드게임방) */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step-list__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
}

.step-list__no {
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: var(--color-primary);
}

.step-list__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text);
}

/* 달력 — 휴관일 · 예약 불가 */
.playcal__cell--cur { cursor: pointer; }
.playcal__cell.is-off { cursor: default; }
.playcal__cell.is-holiday .playcal__date { color: #e8554e; }

.playcal__holi {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    line-height: 14px;
    color: #e8554e;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 회차 카드 — 버튼으로 쓰므로 기본 스타일을 지웁니다 */
button.slot-card {
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

button.slot-card:disabled,
.slot-card.is-disabled {
    cursor: default;
    opacity: .5;
}

/* 신청서 — 입력 필드 · 힌트 */
.field--input {
    width: 100%;
    font: inherit;
    color: var(--color-text);
}

.form-hint {
    margin: 0;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: var(--color-text);
    opacity: .65;
}

.choice__label em {
    font-style: normal;
    opacity: .65;
}

/* 기관 — 지역 · 기관유형 칩 */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    color: var(--color-text);
    cursor: pointer;
}

.chip.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

/* 기관 — 연령별 인원 */
.count-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.count-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.count-item__label {
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: var(--color-text);
    opacity: .7;
}

.count-item__input {
    width: 100%;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font: inherit;
    text-align: center;
    color: var(--color-text);
}

/* 이용수칙 영상 */
.play-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.play-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 보드게임 선택 — 검색 영역 · 썸네일 */
.play-select__filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 24px;
}

.game-card__thumb {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__age {
    margin: 2px 0 0;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: var(--color-text);
    opacity: .6;
}

/* 예약 현황 — 기간 바로 선택 */
.status-quick {
    display: flex;
    gap: 8px;
    padding: 0 24px;
}

.status-quick__btn {
    flex: 1 1 0;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
}

.status-quick__btn.is-active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* 예약 상세 */
.play-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 24px 24px;
}

.detail-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-top: 1px solid var(--color-border);
}

.detail-list__row {
    display: flex;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--color-border);
}

.detail-list__row dt {
    flex: 0 0 96px;
    font-weight: 600;
    font-size: 13px;
    line-height: 22px;
    color: var(--color-text);
    opacity: .65;
}

.detail-list__row dd {
    flex: 1 1 auto;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text);
    word-break: break-all;
}

.detail-actions { margin-top: 8px; }

/* 화면에서만 감춥니다 (표 캡션 등) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   이용료 결제 결과 (pay_result.php)
   ============================================================ */

.play-payresult {
    padding: 32px 20px 40px;
    text-align: center;
}

.play-payresult__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: var(--color-primary);
}

.play-payresult.is-failed .play-payresult__title { color: #d94b4b; }

.play-payresult__desc {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text);
    opacity: .8;
}

.play-payresult__info {
    margin: 0 0 24px;
    padding: 16px;
    border-radius: 12px;
    background: #f6f6f6;
    text-align: left;
}

.play-payresult__info > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}

.play-payresult__info dt {
    font-size: 14px;
    color: var(--color-text);
    opacity: .7;
}

.play-payresult__info dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    word-break: break-all;
}

.play-payresult__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
