/* =====================================================================
 *  学園祭2026 特設ページの終了のごあいさつ（2026/index.html）
 *  色・明朝は site.css の変数をそのまま使う（site.css の後に読む）。
 *  背景はポスターをぼかして暗くしたもの（開催中のトップと同じ雰囲気）
 * ===================================================================== */

html {
    touch-action: manipulation;
}

body.closed-page {
    min-height: 100svh;
    background-color: var(--night);
    color: #d8ccb6;
    display: grid;
    place-items: center;
    padding: 2rem 16px calc(2rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

.closed-bg {
    position: fixed;
    inset: -40px;
    background: url(../img/site/poster-sm.jpg) center / cover no-repeat;
    filter: blur(28px) brightness(.35) saturate(1.1);
    z-index: 0;
}

.closed-card {
    position: relative;
    z-index: 1;
    width: min(36rem, 100%);
    text-align: center;

    & .closed-mascot {
        display: block;
        width: 150px;
        height: auto;
        margin: 0 auto .5rem;
    }

    & .closed-eyebrow {
        margin: 0;
        font-size: .8rem;
        letter-spacing: .3em;
        color: var(--gold);
    }

    & h1 {
        margin: .3rem 0 1.25rem;
        font-family: var(--mincho);
        font-weight: 700;
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        line-height: 1.4;
        color: var(--gold-light);
        text-wrap: balance;
    }

    & .closed-theme {
        margin: 0 0 1.5rem;
        font-family: var(--mincho);
        font-size: 1.05rem;
        color: #fff;
    }

    & .closed-message {
        margin: 0 0 1rem;
        line-height: 2;
        text-wrap: pretty;
    }

    & .closed-note {
        margin: 2rem 0 0;
        padding: .9rem 1.1rem;
        border: 1px solid rgb(226 196 127 / 35%);
        border-radius: var(--radius);
        font-size: .85rem;
        line-height: 1.8;
        text-align: left;
        color: #c9bda6;
    }

    & .closed-footer {
        margin: 2rem 0 0;
        font-size: .8rem;
        color: #8f846f;
    }
}
