*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;background:#ee907e;color:#fff}.shell{max-width:880px;margin:auto}.poster{min-height:900px;padding:132px 55px 100px;background:radial-gradient(ellipse at 30% 31%,#d5e8f8 0%,transparent 40%),linear-gradient(137deg,#eea6bd 3%,#a578b8 34%,#777bb7 62%,#f0adc6 81%,#547db4 100%);position:relative;overflow:hidden}.poster:before,.poster:after{content:"";position:absolute;pointer-events:none;inset:-5%;background:linear-gradient(42deg,transparent 47%,#ffffff23 47.1%,transparent 65%)}.poster:after{transform:rotate(78deg)}header{text-align:center;position:relative;z-index:1}header h1{font-size:46px;letter-spacing:.13em;margin:0;color:#fff4da;text-shadow:0 4px 14px #8966ae6b}header p{color:#ffefe0;letter-spacing:.22em;font-size:17px}.slider{height:380px;position:relative;display:flex;align-items:center;margin-top:44px;z-index:1}.stage{height:100%;flex:1;position:relative;touch-action:pan-y;perspective:900px}.slide{position:absolute;top:50%;left:50%;width:205px;height:285px;transform:translate(calc(-50% + var(--shift)),-50%) scale(var(--scale));transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .65s ease;box-shadow:0 14px 25px #3332;cursor:pointer}.slide img{width:100%;height:100%;object-fit:cover}.arrow{background:transparent;color:#141414;-webkit-text-stroke:1px #d2fbdd;border:0;font-size:36px;cursor:pointer;z-index:20;padding:0 8px}.notice{margin:100px auto 0;max-width:750px;background:#ffe9dc;border-radius:10px;color:#534d5a;padding:12px;min-height:68px;display:flex;gap:16px;align-items:center;position:relative;z-index:1}.bubble{display:grid;place-items:center;color:white;background:#d29ca4;border-radius:50%;width:45px;height:45px;flex-shrink:0}.links{padding:24px 20px;display:flex;align-items:center;flex-direction:column;gap:40px}.links a{display:block;width:min(265px,85%);text-align:center;padding:14px;border-radius:6px;background:#ffc16a;color:white;text-decoration:none;font-weight:700;box-shadow:0 4px 2px #b4686144}footer{text-align:center;padding:20px;font-size:12px}footer a{color:#ffffff9c}.empty{position:absolute;top:45%;width:100%;text-align:center}.admin-bg{background:#f3f4fa;color:#283149}.admin-wrap{max-width:940px;margin:28px auto;padding:0 16px 30px}.admin-head{display:flex;gap:20px;align-items:center}.admin-head h1{margin-right:auto}.admin-head a{color:#7451ae}.panel{background:#fff;border-radius:16px;padding:22px;margin:20px 0;box-shadow:0 7px 25px #17203a12}.panel h2{margin-top:0}.panel label{display:block;font-weight:600;margin:14px 0}.panel input{display:block;border:1px solid #ccd1df;padding:12px;border-radius:8px;width:100%;margin:7px 0;font:inherit}.panel button{background:#7760bd;color:white;border:none;border-radius:8px;padding:12px 18px;cursor:pointer}.pair{display:grid;grid-template-columns:1fr 2fr;gap:12px}.hint{color:#737789;font-size:13px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:15px}.photo-item{border:1px solid #eee;border-radius:8px;padding:9px;min-width:0}.photo-item img{width:100%;height:160px;object-fit:cover}.photo-item p{overflow-wrap:anywhere;font-size:12px;min-height:24px}.tools{display:flex;gap:5px}.tools .small{padding:8px 10px}.alert,.success{border-radius:8px;padding:12px;background:#ffe5e5;color:#b52e33}.success{background:#def5e7;color:#207b48}@media(max-width:650px){.poster{padding:65px 10px 70px;min-height:670px}header h1{font-size:34px}.slider{height:310px;margin-top:30px}.slide{width:148px;height:222px;transform:translate(calc(-50% + var(--shiftsm)),-50%) scale(var(--scale))}.arrow{font-size:24px;padding:0}.notice{margin:65px 10px 0;font-size:13px}.pair{grid-template-columns:1fr}.admin-head{flex-wrap:wrap}}


/* FIRST_SCREEN_LAYOUT_V1 */

/* 电脑端：整体尽量放进一个屏幕 */
body:not(.admin-bg) .shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:not(.admin-bg) .poster {
    min-height: 0;
    flex: 1 1 auto;
    padding: clamp(18px, 4vh, 40px) 35px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body:not(.admin-bg) .poster header h1 {
    font-size: clamp(25px, 3.5vh, 46px);
}

body:not(.admin-bg) .slider {
    height: clamp(180px, 34vh, 350px);
    flex-shrink: 1;
    margin-top: 10px;
}

body:not(.admin-bg) .notice {
    margin: 10px auto 0;
    width: 100%;
    min-height: 58px;
}

body:not(.admin-bg) .links {
    flex-shrink: 0;
    padding: 16px 15px 20px;
    gap: 12px;
}

body:not(.admin-bg) .links a {
    padding: 12px 14px;
    font-size: 16px;
}

/* 手机端 */
@media(max-width:650px) {
    body:not(.admin-bg) .poster {
        padding: 18px 12px 14px;
    }

    body:not(.admin-bg) .slider {
        height: clamp(160px, 32vh, 270px);
        margin-top: 8px;
    }

    body:not(.admin-bg) .slide {
        width: min(148px, 36vw);
        height: min(222px, 29vh);
    }

    body:not(.admin-bg) .notice {
        margin-top: 8px;
        padding: 9px;
        min-height: 54px;
    }

    body:not(.admin-bg) .links {
        gap: 10px;
        padding: 12px 12px 16px;
    }

    body:not(.admin-bg) .links a {
        padding: 11px;
    }
}

/* 较矮的屏幕 */
@media(max-height:700px) {
    body:not(.admin-bg) .poster {
        padding-top: 12px;
        padding-bottom: 10px;
    }

    body:not(.admin-bg) .slider {
        height: 30vh;
        min-height: 140px;
    }

    body:not(.admin-bg) .notice {
        margin-top: 6px;
    }

    body:not(.admin-bg) .links {
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 12px;
    }
}



/* NOTICE_POSITION_V1_START */
body:not(.admin-bg) .notice {
    transform: translateY(-65px);
}
/* NOTICE_POSITION_V1_END */


/* NOTICE_TEXT_CENTER_START */
body:not(.admin-bg) .notice {
    position: relative;
}

body:not(.admin-bg) #notice-text {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding-right: 61px;
    overflow-wrap: anywhere;
}
/* NOTICE_TEXT_CENTER_END */


/* NAV_BUTTON_SMALL_START */
body:not(.admin-bg) .links a {
    width: min(220px, 78%);
    padding: 10px 12px;
    font-size: 15px;
}

body:not(.admin-bg) .links {
    gap: 10px;
}
/* NAV_BUTTON_SMALL_END */
