@charset "utf-8";

/* 로컬(file://·localhost) 테스트용 폴백 - 상용 m.kt.com 폰트가 CORS로 막히는 환경 대비.
   상용 도메인에서는 kt-style.css의 @font-face가 먼저 로드되므로 이 규칙은 쓰이지 않음. */
@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/PretendardVariable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-display: swap;
}

/* 안심365 리포트 (모바일) 공통 */
.pg-safe365,
.pg-safe365 *,
.pg-safe365 *::before,
.pg-safe365 *::after {
    box-sizing: border-box;
}

.pg-safe365,
.pg-safe365 * {
    font-family: var(--font-family-pretendard);
}

.pg-safe365,
.pg-safe365 * {
    line-height: 1.48;
}

.pg-safe365 [hidden] { display: none !important; }

.pg-safe365 svg.ico {
    flex: none;
}

.pg-safe365 .safe365-blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* 이미지가 아직 없는 자리 표시자 - 실제 에셋은 추후 별도 전달 */
.pg-safe365 .img-placeholder {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 8px;
}

.pg-safe365 h1,
.pg-safe365 h2,
.pg-safe365 h3,
.pg-safe365 p {
    margin: 0;
}

.pg-safe365 button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

.pg-safe365 a,
.pg-safe365 button {
    -webkit-tap-highlight-color: transparent;
}

/* 버튼 공통 */
.safe365-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: normal;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.safe365-btn--primary {
    width: 100%;
    background: var(--fill-primary);
    color: var(--text-inverse);
}

.safe365-btn--primary:focus {
    background: var(--fill-primary-hover);
}

@media (hover: hover) {
    .safe365-btn--primary:hover {
        background: var(--fill-primary-hover);
    }
}

.safe365-btn.safe365-btn--outline {
    width: 100%;
    margin-top: 24px;
    background: var(--background-default);
    border: 1px solid var(--border-subtle-01);
    color: var(--text-primary);
}

.safe365-btn--mission {
    min-height: 40px;
    background: var(--fill-primary);
    color: var(--text-inverse);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    padding: 8px 12px;
}

@media (hover: hover) {
    .safe365-btn--mission:hover {
        background: var(--fill-primary-hover);
    }
}

.pg-safe365 .safe365-btn--mission-done {
    background: var(--fill-disabled-01);
    border: 1px solid var(--border-disabled-01);
    color: var(--text-primary-01);/* 1022 결함아이디1191491, 결함아이디1191137, 결함아이디1191221 */
}

/* 헤더 / 히어로 */
.safe365-header {
    background: var(--gray-50);
    padding: 56px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.safe365-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.safe365-header__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.safe365-heading__logo {
    width: 80px;
    height: 49px;
    object-fit: contain;
}

.safe365-heading__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.safe365-heading__title {
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 32px;
    line-height: 1.48;
    color: var(--text-primary);
}

.safe365-heading__desc {
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-600);
}

.safe365-hero__card {
    background: var(--background-default);
    border-radius: 16px;
    padding: 38px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.safe365-hero__icon {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.safe365-hero__text {
    text-align: center;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-hero__greeting {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-hero__greeting-name {
    font-size: 32px;
}

.safe365-hero__greeting-suffix {
    font-size: 20px;
}

.safe365-hero__card .safe365-btn {
    width: 100%;
    margin-top: 16px;
}

/* 로그인 후 - 보안 리포트 점수 카드 */
.safe365-score-card {
    position: relative;
    background: var(--background-default);
    border-radius: 16px;
    padding: 24px 20px 24px;
}

.safe365-score-card__name {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

p.safe365-score-card__label {
    margin-top: 4px;
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.safe365-score-card__label strong {
    font-weight: var(--font-weight-bold);
}

.safe365-score-card__line {
    margin-top: 16px;
}

.safe365-line-select {
    position: relative;
}

.safe365-line-select__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    width: 100%;
    padding: 12px 12px 12px 16px;
    border: 1px solid var(--border-primary-01);
    border-radius: 8px;
    background: none;
    cursor: pointer;
}

.safe365-line-select__trigger[aria-expanded="true"] {
    border-width: 2px;
}

.safe365-line-select__trigger span[data-safe365-lineselect-value] {
    flex: 1;
    text-align: left;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.safe365-line-select__chevron {
    flex: none;
    transition: transform 0.2s ease;
}

.safe365-line-select__trigger[aria-expanded="true"] .safe365-line-select__chevron {
    transform: rotate(180deg);
}

.safe365-line-select__sheet {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
}

.safe365-line-select__dim {
    position: absolute;
    inset: 0;
    background: var(--dim-overlay);
}

.safe365-line-select__sheet-panel {
    position: relative;
    width: 100%;
    background: var(--background-default);
    border-radius: var(--radius-16, 16px) var(--radius-16, 16px) 0 0;
    overflow: hidden;
}

.safe365-line-select__sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 20px 20px;
}

.safe365-line-select__sheet-title {
    margin: 0;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-line-select__menu {
    list-style: none;
    margin: 0;
    padding: 0 20px 20px;
}

.safe365-line-select__option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 53px;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    cursor: pointer;
}

.safe365-line-select__radio {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid var(--border-primary-04, var(--border-primary-01));
    background: var(--background-default);
}

.safe365-line-select__option[aria-selected="true"] {
    font-weight: var(--font-weight-bold);
}

.safe365-line-select__option[aria-selected="true"] .safe365-line-select__radio {
    border-width: 7px;
    border-color: var(--fill-primary);
}

.safe365-score-card__score-row {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 24px;
}

.safe365-score-card__score {
    font-weight: var(--font-weight-bold);
    font-size: 36px;
    color: var(--text-primary);
}

.safe365-score-card__score span {
    margin-left: 2px;
    font-size: 16px;
}

.safe365-grade {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
}

.safe365-grade--danger { background: var(--red-100); color: var(--red-600); }
.safe365-grade--warning { background: var(--yellow-100); color: var(--yellow-600); }
.safe365-grade--progress { background: var(--tag-status-fill-progress); color: var(--tag-status-text-progress); }
.safe365-grade--positive { background: var(--green-100); color: var(--green-600); }

.safe365-score-card__tooltip-wrap {
    position: relative;
    margin-left: auto;
    display: inline-flex;
}

.safe365-score-card__tooltip,
.safe365-score-card__tooltip:focus {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary-01);
}

.safe365-gauge-wrap {
    position: relative;
    margin-top: 12px;
}

.safe365-gauge {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e0282f 0%, #ffa82e 25%, #2ba7e8 55%, #3abd8b 85%);
    overflow: hidden;
}

.safe365-gauge__mask {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: var(--gray-100);
}

.safe365-gauge__tick {
    position: absolute;
    top: 4px;
    width: 1px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.safe365-gauge__marker {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    width: 10px;
    height: 10px;
    background: url("../images/polygon.svg") no-repeat center / contain;
    transform: translateX(-50%);
}

.safe365-tooltip-popover {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 260px;
    z-index: 10;
}

.safe365-tooltip-popover[hidden] {
    display: none;
}

.safe365-tooltip-popover__caret,
.safe365-tooltip-popover__caret::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}

.safe365-tooltip-popover__caret {
    top: -8px;
    right: 54px;
    border-bottom: 8px solid var(--border-secondary-04);
}

.safe365-tooltip-popover__caret::before {
    top: 2px;
    left: -7px;
    z-index: 1;
    border-left-width: 7px;
    border-right-width: 7px;
    border-bottom: 8px solid var(--fill-on-white-inverse);
}

.safe365-tooltip-popover__body {
    position: relative;
    background: var(--fill-on-white-inverse);
    border: 1px solid var(--border-secondary-04);
    border-radius: 6px;
    padding: 16px 32px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(19, 20, 21, 0.1), 0 0 4px rgba(19, 20, 21, 0.05);
}

.safe365-tooltip-popover__row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary-01);
}

.safe365-tooltip-popover__row .safe365-grade {
    height: 24px;
    width: 44px;
    justify-content: center;
    flex: none;
}

.safe365-tooltip-popover__close {
    position: absolute;
    top: 12px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: 0;
    padding: 0;
    color: var(--icon-tertiary-01);
    cursor: pointer;
}

/* 로그인 후 - 모바일 회선 미사용자 */
p.safe365-hero__sub {
    margin-top: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--text-tertiary-01);
}

/* 1/2/3단계 요약 스텝 */
.safe365-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.safe365-steps__item {
    background: var(--background-default);
    border-radius: 16px;
    min-height: 94px;
    padding: 26px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.safe365-steps__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: none;
}

.safe365-steps__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.safe365-steps__title {
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 14px;
    color: var(--text-primary);
}

.safe365-steps__link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--text-tertiary-01);
    text-decoration: none;
}

/* 섹션 공통 */
.safe365-section {
    background: var(--background-default);
    padding: 56px 20px;
    scroll-margin-top: 85px;
}

.safe365-section--gray {
    background: var(--gray-50);
}

.safe365-section__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.safe365-section__eyebrow {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-600);
}

.safe365-section__title {
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 24px;
    color: var(--text-primary);
}

h2.safe365-section__title--standalone {
    margin-bottom: 24px;
}

.safe365-tag-group {
    display: inline-flex;
}

.safe365-tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--text-tertiary-01);
    background: var(--gray-75);
    border-radius: 4px 0 0 4px;
}

.safe365-tag--live {
    border-radius: 0 4px 4px 0;
    background: #f2555c;
    color: var(--background-default);
    font-weight: var(--font-weight-semibold);
}

/* 1단계 상세카드 */
.safe365-card-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.safe365-card {
    min-height: 174px;
    background: var(--background-default);
    border: 1px solid var(--border-secondary-02);
    border-radius: 16px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

/* 상태 배지가 있으면 배지를 상단에 고정하고 콘텐츠 길이에 따라 하단 여백이 달라지는 구조라
   가운데 정렬 대신 상단 기준 정렬이 맞다 */
.safe365-card--status {
    justify-content: flex-start;
    padding: 20px 20px;
}

.safe365-card__title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-card__title a {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.safe365-card__desc {
    font-size: 15px;
    font-weight: var(--font-weight-regular);
    line-height: 1.58;
    color: var(--text-secondary-01);
}

.safe365-card__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.safe365-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    flex: none;
}

.safe365-status__dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.safe365-status--positive { color: var(--green-400); }/* 1022 결함아이디1191153 */
.safe365-status--positive .safe365-status__dot { background: var(--green-400); }/* 1022 결함아이디1191153 */
.safe365-status--progress { color: var(--graphic-purple-400); }
.safe365-status--progress .safe365-status__dot { background: var(--graphic-purple-400); }
.safe365-status--warning { color: var(--graphic-yellow-500); }/* 1022 결함아이디1191153 */
.safe365-status--warning .safe365-status__dot { background: var(--graphic-yellow-500); }/* 1022 결함아이디1191153 */
.safe365-status--neutral { color: var(--text-tertiary-01); }
.safe365-status--neutral .safe365-status__dot { background: var(--text-disabled-01); }

.safe365-card__foot {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.safe365-card__count {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary-01);
}

.safe365-card__count strong {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 2px;
}

.safe365-card__count em {
    font-style: normal;
    font-size: 13px;
    color: var(--text-tertiary-01);
    display: block;
    margin-top: 4px;
}

.safe365-btn--ghost,
.safe365-btn--ghost:focus {
    flex: none;
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--fill-secondary-01);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
}

@media (hover: hover) {
    .safe365-btn--ghost:hover {
        background: var(--fill-secondary-hover-01);
    }
}

/* 2/3단계 미션 카드 */
.safe365-mission-row {
    list-style: none;
    margin: 0;
    padding: 0;
}

.safe365-mission-row--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.safe365-mission-card {
    background: var(--background-default);
    border-radius: 16px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 280px;
    gap: 16px;
}

.safe365-mission-card__icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex: none;
}

.safe365-mission-row--grid .safe365-mission-card {
    justify-content: flex-start;
    gap: 0;
    padding: 16px 12px 24px;
}

.safe365-mission-row--grid .safe365-mission-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
}

.safe365-mission-row--grid .safe365-mission-card__title {
    margin: 0 0 6px;
}

.safe365-mission-row--grid .safe365-mission-card__desc {
    margin: 0 0 34px;
}

.safe365-mission-card__title {
    text-align: center;
    font-family: var(--font-family-kt-flow-bold);
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    color: var(--text-primary);
}

.safe365-mission-card__desc {
    text-align: center;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary-01);
}

/* 3단계 - 가로형 카드(텍스트 좌측, 아이콘 우상단, 버튼 우하단) */
.safe365-mission-row--stacked {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.safe365-mission-row--stacked .safe365-mission-card {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 154px;
    padding: 24px 20px;
    border: 1px solid var(--border-secondary-02);
    gap: 0;
}

.safe365-mission-row--stacked .safe365-mission-card__icon {
    position: absolute;
    top: 20px;
    right: 29px;
}

.safe365-mission-row--stacked .safe365-mission-card__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: calc(100% - 76px);
}

.safe365-mission-row--stacked .safe365-mission-card__title,
.safe365-mission-row--stacked .safe365-mission-card__desc {
    text-align: left;
}

.safe365-mission-row--stacked .safe365-mission-card__desc {
    color: var(--text-tertiary-01);
}

.safe365-mission-row--stacked .safe365-btn--mission {
    position: absolute;
    right: 20px;
    bottom: 26px;
    width: 74px;
}

/* 알아두면 좋은 개인정보 보호 정보 - 가로 스크롤 */
.safe365-info-cards {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.safe365-info-card {
    scroll-snap-align: start;
    flex: none;
    width: 150px;
    height: 150px;
    background: var(--background-default);
    border: 1px solid var(--border-subtle-01);
    border-radius: 16px;
    padding: 30px 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.safe365-info-card__title {
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    word-break: keep-all;
}

.safe365-info-card .ico {
    display: inline;
    width: 12px;
    position: relative;
    top: 1px;
    margin-left: 4px;
    vertical-align: -3px;
    color: var(--text-primary);
}

/* FAQ 아코디언 */
.safe365-accordion {
    margin: 0 -20px;
    border-top: 1px solid var(--border-primary-01);
}

.safe365-accordion__item {
    border-bottom: 1px solid var(--gray-100);
}

.safe365-accordion__trigger {
    width: 100%;
    background: none;
    min-height: 60px;
    padding: 12px 12px 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
}

.safe365-accordion__icon {
    flex: none;
    transition: transform 0.2s ease;
}

.safe365-accordion__trigger[aria-expanded="true"] .safe365-accordion__icon {
    transform: rotate(180deg);
}

.safe365-accordion__panel {
    background: var(--surface-primary-02);
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.58;
    color: var(--text-secondary-01);
}

.safe365-btn--primary:disabled {
    background: var(--fill-disabled-01);
    color: var(--text-disabled-01);
    cursor: not-allowed;
}

/* 팝업(모달) 공통 뼈대 - 중앙 다이얼로그형(미션 성공/공유하기) */
.safe365-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safe365-modal__dim {
    position: absolute;
    inset: 0;
    background: var(--dim-overlay);
}

.safe365-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    max-width: 320px;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    background: var(--background-default);
    border-radius: var(--radius-12);
    box-shadow: 0 0 40px 0 rgba(19, 20, 21, 0.05), 0 20px 40px 0 rgba(19, 20, 21, 0.1);
    overflow: hidden;
}

.safe365-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-modal__subtitle {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary-04);
}

.safe365-modal__close,
.safe365-modal__close:focus {
    appearance: none;
    border: 0;
    background: none;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    color: var(--text-primary);
    cursor: pointer;
}

.safe365-modal__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 24px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.safe365-modal__foot {
    flex: none;
    padding: 20px;
}

.safe365-modal__dialog--center-text .safe365-modal__title,
.safe365-modal__dialog--center-text .safe365-modal__subtitle {
    text-align: center;
}

/* 팝업(모달) 공통 뼈대 - 전체화면형(퀴즈/안전 습관 체크하기) */
.safe365-modal--full {
    align-items: stretch;
    justify-content: flex-start;
    background: var(--background-default);
}

.safe365-modal__dialog--full {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
}

.safe365-modal__dialog--full .safe365-modal__head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 52px;
    padding: 0 16px;
}

.safe365-modal__dialog--full .safe365-modal__title-area {
    flex: none;
    padding: 16px 20px 20px;
}

.safe365-modal__dialog--full .safe365-modal__title {
    font-size: 20px;
}

.safe365-modal__dialog--full .safe365-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    gap: 40px;
    padding: 0 20px 20px;
}

.safe365-modal__dialog--full .safe365-modal__foot {
    flex: none;
    padding: 16px 20px;
}

/* 안심 퀴즈 */
.safe365-quiz__steps {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.safe365-quiz__step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--fill-secondary-01);
    color: var(--fill-primary);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    border: 1px solid var(--border-primary-01);
}

.safe365-quiz__step[data-safe365-quiz-step-active] {
    background: var(--fill-primary);
    border-color: var(--fill-primary);
    font-weight: var(--font-weight-bold);
    color: var(--text-inverse);
}

.safe365-quiz__step-divider {
    width: 20px;
    height: 2px;
    background: var(--fill-secondary-hover-03);
}

.safe365-quiz__panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.safe365-quiz__question {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--border-secondary-01);
    border-radius: 8px;
}

.safe365-quiz__question p {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-align: center;
    word-break: keep-all;
}

.safe365-quiz__question--fill {
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.safe365-quiz__fill-line {
    margin: 0;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-align: center;
}

.safe365-quiz__blank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 32px;
    padding: 0 10px;
    margin: 0 4px;
    background: var(--fill-on-white-inverse);
    border: 1px solid var(--border-secondary-02);
    border-radius: 6px;
    vertical-align: middle;
}

.safe365-quiz__divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
    border: 0;
    background: var(--border-secondary-01);
}

.safe365-quiz__choices {
    display: flex;
    gap: 12px;
}

.safe365-quiz__choices--row .safe365-quiz__choice {
    flex-direction: row;
}

.safe365-quiz__choices--list {
    flex-direction: column;
}

.pg-safe365 .safe365-quiz__choice,
.pg-safe365 .safe365-quiz__choice:focus {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-primary-01);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.pg-safe365 .safe365-quiz__choice[aria-pressed="true"] {
    border: 2px solid var(--border-primary-focused, #191A1B);
    padding: 7px 15px;
}

.pg-safe365 .safe365-quiz__choice--list,
.pg-safe365 .safe365-quiz__choice--list:focus {
    flex: none;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    align-content: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

.safe365-quiz__choice-icon--ox {
    flex: none;
    width: 20px;
    height: 20px;
}

.safe365-quiz__choice-num {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.safe365-quiz__result {
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    text-align: center;
    gap: 8px;
}

.safe365-quiz__result-icon {
    flex: none;
    width: 96px;
    height: 96px;
}

.safe365-quiz__result-title {
    margin: 0;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.safe365-quiz__result-desc {
    margin: 0;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

/* 공유하기 팝업 */
.safe365-share__body {
    align-items: center;
    gap: 24px;
}

.safe365-share__icons {
    display: flex;
    justify-content: center;
    gap: 77px;
}

.safe365-share__icon-btn,
.safe365-share__icon-btn:focus {
    appearance: none;
    flex: none;
    width: 65px;
    height: 65px;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.safe365-share__icon-btn img {
    width: 100%;
    height: 100%;
}

.safe365-share__actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.pg-safe365 .safe365-share__btn,
.pg-safe365 .safe365-share__btn:focus {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 8px;
    background: transparent;
    border: 1px solid var(--border-primary-01);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    cursor: pointer;
}

/* 안전 습관 체크하기 팝업 */
.safe365-checklist__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.safe365-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    list-style: none;
}

.safe365-checklist__icon {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    background-image: url("../images/checkbox-checked.svg");
}

.safe365-checklist__label {
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

/* URL 공유 등 완료 알림 토스트 */
.safe365-toast {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 24px;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 20px;
    background: var(--fill-on-dark-inverse, #3D3F43);
    color: var(--text-inverse);
    font-family: var(--font-family-pretendard);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    border-radius: 999px;
    box-shadow: 0 8px 12px 0 rgba(20, 20, 20, 0.2), 0 0 8px 0 rgba(19, 20, 21, 0.05);
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.safe365-toast[data-safe365-toast-show] {
    opacity: 1;
    transform: translateY(0);
}
