@charset "UTF-8";

/* ==========================================================
   GREYFALL · SCHEDULE
   일정 — 긴 타임라인 바 대신 단일 날짜 기록 카드
   ========================================================== */


/* ----------------------------------------------------------
   01 · STATUS
   ---------------------------------------------------------- */

.gf-schedule-status {
    display: grid;
    gap: 12px;

    max-width: 62ch;
    margin-top: clamp(25.2px, 3.08vw, 39.2px);
    padding: 24px 26px 26px;

    border: 1px solid var(--gf-line);
    border-left: 2px solid var(--gf-amber);

    background: var(--gf-surface);
}

.gf-schedule-status > span {
    font-family: var(--gf-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;

    color: var(--gf-amber);
}

.gf-schedule-status strong {
    font-size: clamp(1rem, 2vw, 1.16rem);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -0.014em;

    color: var(--gf-text-strong);
}

.gf-schedule-status p {

    font-size: 0.87rem;
    line-height: 1.85;

    color: rgba(226, 223, 216, 0.82);
}


/* ----------------------------------------------------------
   02 · DATE RECORDS
   각 항목은 독립된 기록 카드. 연결 바 없음.
   ---------------------------------------------------------- */

.gf-date-list {
    display: grid;
    gap: 12px;
}

.gf-date-list article {
    position: relative;

    display: grid;
    grid-template-columns:
        72px
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: 4px 26px;

    padding: 24px 26px 24px 24px;

    border: 1px solid var(--gf-line);

    background: var(--gf-surface);
}

/* 상태 표시 좌측 마커 */
.gf-date-list article::before {
    content: "";

    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;

    width: 2px;
}

.gf-date-number {
    font-family: var(--gf-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.075em;

    color: var(--gf-text-ghost);
}

.gf-date-list article > div {
    min-width: 0;
}

.gf-date-list article > div p {
    font-family: var(--gf-mono);
    font-size: 0.58rem;
    letter-spacing: 0.11em;

    color: var(--gf-text-ghost);
}

.gf-date-list article > div h3 {
    margin-top: 8px;

    font-size: clamp(1.04rem, 2.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.012em;

    color: var(--gf-text-strong);
}

/* 날짜 값 */
.gf-date-list article > strong {
    justify-self: end;

    font-family: var(--gf-mono);
    font-size: clamp(1rem, 2.4vw, 1.42rem);
    font-weight: 600;
    letter-spacing: 0.01em;

    white-space: nowrap;
}

/* 보조 설명 */
.gf-date-list article > small {
    grid-column: 2 / -1;

    margin-top: 10px;
    padding-top: 12px;

    border-top: 1px solid var(--gf-line-soft);

    font-size: 0.79rem;
    line-height: 1.7;

    color: var(--gf-text-faint);
}

/* -- 미정 -------------------------------------------------- */

.gf-date-list article.is-pending::before {
    background: var(--gf-line-bright);
}

.gf-date-list article.is-pending > strong {
    color: var(--gf-text-faint);
}

/* -- 확정 -------------------------------------------------- */

.gf-date-list article.is-confirmed {
    border-color: rgba(158, 51, 44, 0.3);

    background:
        linear-gradient(
            100deg,
            var(--gf-red-wash),
            rgba(158, 51, 44, 0.015) 56%
        ),
        var(--gf-surface);
}

.gf-date-list article.is-confirmed::before {
    background: var(--gf-red);
}

.gf-date-list article.is-confirmed .gf-date-number {
    color: var(--gf-red);
}

.gf-date-list article.is-confirmed > strong {
    color: var(--gf-text-strong);
}


/* ----------------------------------------------------------
   03 · LEGEND
   ---------------------------------------------------------- */

.gf-date-legend {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;

    gap: 10px 22px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid var(--gf-line-soft);
}

/* span = 상태 라벨 (CONFIRMED / PENDING) */
.gf-date-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-family: var(--gf-mono);
    font-size: 0.62rem;
    letter-spacing: 0.085em;

    color: var(--gf-text-faint);

    white-space: nowrap;
}

.gf-date-legend > span::before {
    content: "";

    flex: 0 0 auto;

    width: 9px;
    height: 9px;
}

/* 첫 번째 = 확정 */
.gf-date-legend > span:nth-of-type(1) {
    color: var(--gf-text-strong);
}

.gf-date-legend > span:nth-of-type(1)::before {
    background: var(--gf-red);
}

/* 두 번째 = 미정 */
.gf-date-legend > span:nth-of-type(2)::before {
    background: var(--gf-line-bright);
}

/* p = 해당 상태에 속하는 항목 */
.gf-date-legend > p {
    min-width: 0;

    font-family: var(--gf-mono);
    font-size: 0.66rem;
    line-height: 1.6;
    letter-spacing: 0.04em;

    color: var(--gf-text-dim);
}


/* ----------------------------------------------------------
   04 · OPERATION FLOW
   ---------------------------------------------------------- */

.gf-operation-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--gf-line-strong);
    border-left: 1px solid var(--gf-line);
}

.gf-operation-flow article {

    min-width: 0;
    padding: 22px 20px 26px;

    border-right: 1px solid var(--gf-line);
    border-bottom: 1px solid var(--gf-line);

    background-color: rgba(10, 11, 14, 0.84);
}

.gf-operation-flow article > span {
    display: block;

    font-family: var(--gf-mono);
    font-size: 0.62rem;
    letter-spacing: 0.085em;

    color: var(--gf-red);
}

.gf-operation-flow article > p:first-of-type {
    margin-top: 22px;

    font-family: var(--gf-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;

    color: var(--gf-text-ghost);
}

.gf-operation-flow article h3 {
    margin-top: 9px;

    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.012em;

    color: var(--gf-text-strong);
}

.gf-flow-copy {

    margin-top: 12px;

    font-size: 0.83rem;
    line-height: 1.8;

    color: rgba(226, 223, 216, 0.82);
}


/* ----------------------------------------------------------
   05 · NOTICE RULES
   ---------------------------------------------------------- */

.gf-notice-rules {

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-top-color: var(--gf-line-strong);

    background-color: rgba(10, 11, 14, 0.82);
    box-shadow: var(--gf-inset-soft);
}

.gf-notice-rules article {

    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0 26px;

    padding: 19px 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gf-notice-rules article:last-child {
    border-bottom: 0;
}

.gf-notice-rules article span {
    font-family: var(--gf-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.065em;
    line-height: 1.85;

    color: var(--gf-red);
}

.gf-notice-rules article strong {

    min-width: 0;
    max-width: 68ch;

    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.82;
    letter-spacing: -0.01em;

    color: var(--gf-text-strong);
}

.gf-latest-notice {
    display: grid;
    gap: 12px;
}

.gf-latest-notice > span {
    font-family: var(--gf-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;

    color: var(--gf-text-ghost);
}

.gf-latest-notice strong {
    max-width: 62ch;

    font-size: clamp(0.98rem, 2vw, 1.12rem);
    font-weight: 700;
    line-height: 1.72;
    letter-spacing: -0.014em;

    color: var(--gf-text-strong);
}


/* ----------------------------------------------------------
   06 · RUNNING
   ---------------------------------------------------------- */

.gf-running-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--gf-line-strong);
    border-left: 1px solid var(--gf-line);
}

.gf-running-list article {

    min-width: 0;
    padding: 22px 22px 26px;

    border-right: 1px solid var(--gf-line);
    border-bottom: 1px solid var(--gf-line);

    background-color: rgba(10, 11, 14, 0.84);
}

.gf-running-list article span {
    display: block;

    font-family: var(--gf-mono);
    font-size: 0.62rem;
    letter-spacing: 0.085em;

    color: var(--gf-red);
}

.gf-running-list article h3 {
    margin-top: 20px;

    font-size: clamp(1.02rem, 2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.012em;

    color: var(--gf-text-strong);
}

.gf-running-list article p {

    margin-top: 12px;

    font-size: 0.84rem;
    line-height: 1.82;

    color: rgba(226, 223, 216, 0.82);
}


/* ----------------------------------------------------------
   07 · OFFICIAL PERIOD
   ---------------------------------------------------------- */

.gf-schedule-period {

    position: relative;

    display: grid;
    gap: 18px;

    margin-top: clamp(28px, 3.5vw, 43.4px);
    padding-top: clamp(22.4px, 2.66vw, 32.2px);

    border-top: 1px solid var(--gf-line-strong);
}

.gf-schedule-period::before {
    content: "";

    position: absolute;
    left: 0;
    top: -1px;

    width: 84px;
    height: 1px;

    background: var(--gf-red);
}

.gf-schedule-period > span {
    font-family: var(--gf-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;

    color: var(--gf-red);
}

.gf-schedule-period strong {
    font-family: var(--gf-font-display);
    font-size: clamp(2rem, 7vw, 4.6rem);
    font-weight: var(--gf-w-display);
    line-height: 0.96;
    letter-spacing: -0.02em;

    color: var(--gf-text-strong);
}

.gf-schedule-period p {
    max-width: 60ch;

    font-size: 0.9rem;
    line-height: 1.88;

    color: var(--gf-text-dim);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 980px) {

    .gf-operation-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gf-running-list {
        grid-template-columns: minmax(0, 1fr);
    }
}


@media (max-width: 860px) {

    /* 날짜 기록 카드 — 세로 재배치, 바 형태 금지 */
    .gf-date-list article {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;

        gap: 0 18px;

        padding: 20px 18px;
    }

    .gf-date-number {
        grid-column: 1 / -1;
        margin-bottom: 14px;
    }

    .gf-date-list article > strong {
        grid-column: 1 / -1;
        justify-self: start;

        margin-top: 12px;

        font-size: 1.24rem;
    }

    .gf-date-list article > small {
        grid-column: 1 / -1;
        margin-top: 14px;
    }

    .gf-schedule-status {
        padding: 20px 18px 22px;
    }

    .gf-notice-rules article {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;

        padding: 18px 14px 22px;
    }

    .gf-notice-rules article span {
        line-height: 1.4;
    }

    .gf-operation-flow article,
    .gf-running-list article {
        padding: 20px 18px 24px;
    }

    .gf-date-legend {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .gf-date-legend > p {
        margin-bottom: 10px;
        padding-left: 18px;
    }

    .gf-date-legend > p:last-child {
        margin-bottom: 0;
    }
}


@media (max-width: 520px) {

    .gf-operation-flow {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ----------------------------------------------------------
   99 · SURFACE POLISH
   ---------------------------------------------------------- */

.gf-date-list article {
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.022),
            transparent 44%
        );

    box-shadow: var(--gf-inset-soft), var(--gf-lift);

    transition: background-color 280ms ease, border-color 280ms ease;
}

.gf-date-list article:hover {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: var(--gf-line-strong);
}

.gf-date-list article.is-confirmed:hover {
    border-color: rgba(158, 51, 44, 0.5);
}

.gf-schedule-status {
    box-shadow: var(--gf-inset-soft), var(--gf-lift);
}

.gf-operation-flow article,
.gf-running-list article {
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.016),
            transparent 46%
        );

    box-shadow: var(--gf-inset-soft);

    transition: background-color 260ms ease;
}

.gf-operation-flow article:hover,
.gf-running-list article:hover {
    background-color: rgba(15, 17, 21, 0.92);
}

.gf-notice-rules article {
    transition: background-color 240ms ease;
}

.gf-notice-rules article:hover {
    background-color: rgba(15, 17, 21, 0.42);
}


/* ==========================================================
   100 · PC COMPOSITION
   ----------------------------------------------------------
   데스크탑에서 가로 폭이 남는 구간의 구성을 다듬는다.
   ≤860px 레이아웃(세로 재배치)은 건드리지 않는다.
   ========================================================== */

@media (min-width: 861px) {

    /* -- 02 공식 일정 -------------------------------------
       기존: 제목/날짜 한 줄 + 구분선 + 보조설명 한 줄 (150px, 아래가 빔)
       변경: [번호] [라벨·제목] [보조설명] [날짜] 한 줄 기록 라인 */

    .gf-date-list article {
        grid-template-columns:
            56px
            minmax(0, 1fr)
            minmax(0, 0.92fr)
            auto;

        align-items: center;
        gap: 0 clamp(20px, 2.4vw, 34px);

        padding: 19px 26px 19px 24px;
    }

    .gf-date-number          { grid-column: 1; grid-row: 1; }
    .gf-date-list article > div    { grid-column: 2; grid-row: 1; }
    .gf-date-list article > small  { grid-column: 3; grid-row: 1; }
    .gf-date-list article > strong { grid-column: 4; grid-row: 1; }

    /* 보조 설명 — 구분선 없이 같은 줄의 한 항목으로 */
    .gf-date-list article > small {
        margin-top: 0;
        padding-top: 0;

        border-top: 0;

        color: rgba(226, 223, 216, 0.62);
    }

    .gf-date-list article > div h3 {
        margin-top: 6px;
    }

    /* 날짜 앞 얇은 구분 룰 — 표처럼 읽히게 */
    .gf-date-list article > strong {
        padding-left: clamp(20px, 2.4vw, 34px);
        border-left: 1px solid var(--gf-line-soft);
    }


    /* -- 03 공지와 변경 사항 : 행 높이 압축 ---------------- */
    .gf-notice-rules article {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0 22px;

        padding: 16px 20px;
    }


    /* -- 07 공식 활동 기간 --------------------------------
       고아처럼 떨어져 있던 "2027" 을 날짜 옆 연도 스탬프로 */

    .gf-schedule-period {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: end;

        column-gap: clamp(26px, 3vw, 48px);
    }

    .gf-schedule-period > span {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .gf-schedule-period strong {
        grid-column: 1;
        grid-row: 2;
    }

    .gf-schedule-period p {
        grid-column: 2;
        grid-row: 2;

        max-width: none;
        margin-bottom: 0.42em;
        padding-bottom: 10px;

        border-bottom: 1px solid var(--gf-line);

        font-family: var(--gf-mono);
        font-size: clamp(1.1rem, 2.2vw, 1.6rem);
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.06em;

        color: var(--gf-text-faint);
    }
}
