
.secret-box-section{max-width:920px;margin:24px auto 34px;padding:23px;border:1px solid #d9e7d7;border-radius:22px;background:linear-gradient(140deg,#f4faed,#fff9e8);box-shadow:0 8px 28px #194c2910;color:#28563c}.secret-box-section[hidden],.secret-box-result[hidden],.secret-box-special[hidden],#secretSpecialResult[hidden]{display:none!important}.secret-box-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}.secret-box-heading img{width:66px;height:66px;object-fit:contain}.secret-box-heading small{color:#4a8a55;font-weight:800;letter-spacing:1px}.secret-box-heading h2{margin:3px 0;font-size:25px}.secret-box-heading p{margin:0;color:#647568;font-size:13px}.secret-box-open{display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:column;width:100%;min-height:142px;border:2px dashed #83b88a;border-radius:18px;background:#fff;cursor:pointer;color:#245e3d}.secret-box-open>span{font-size:46px}.secret-box-open strong{font-size:20px}.secret-box-open small{color:#70816e}.secret-box-open:focus-visible,.secret-box-special button:focus-visible{outline:3px solid #c88c25}.secret-box-result{padding:20px;border-radius:17px;background:white;text-align:center}.secret-box-result h3{margin:6px 0 10px;font-size:21px}.secret-box-result p{white-space:pre-wrap;line-height:1.7}.secret-box-result img{width:100%;max-width:260px;max-height:175px;object-fit:contain;border-radius:12px}.secret-box-result a,.secret-box-result button{display:inline-block;margin:8px 4px 0;border:0;border-radius:30px;padding:11px 17px;background:#287b4d;color:white;text-decoration:none;font-weight:800;cursor:pointer}.secret-box-special{margin-top:15px;padding:17px;border:1px solid #ebd49e;border-radius:16px;background:#fff4d9}.secret-box-special>strong{color:#996117}.secret-box-special h3{margin:8px 0}.secret-box-special p{white-space:pre-wrap}.secret-box-special button{background:#b87722;border:0;border-radius:24px;color:white;padding:12px 18px;font-weight:800;cursor:pointer}.secret-box-status{font-size:12px;color:#66766a}.secret-admin-panel form{display:grid;gap:15px;max-width:850px}.secret-admin-panel label{display:block;font-weight:750}.secret-admin-panel input:not([type=checkbox]),.secret-admin-panel textarea,.secret-admin-panel select{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #d5dfd6;border-radius:9px;font:inherit}.secret-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.secret-admin-warning{padding:13px;background:#fff5e6;border-radius:10px;color:#895221;line-height:1.6}@media(max-width:600px){.secret-box-section{margin:14px 0;padding:14px}.secret-box-heading img{width:55px;height:55px}.secret-box-heading h2{font-size:21px}.secret-admin-grid{grid-template-columns:1fr}}
.secret-box-section [hidden]{display:none!important}

.secret-admin-note{background:#eaf5ed;padding:14px;border-radius:12px;color:#28583a;line-height:1.6}

/* V195 interactive event games */
.secret-game{text-align:center;padding:12px 0}.secret-game h4{font-size:21px;margin:6px 0}.secret-game-choices{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}.secret-game-choices button{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:82px;font-size:36px;background:#fff;border:2px solid #e4bf75;border-radius:16px;padding:16px 12px;box-shadow:0 4px 12px #8e641b20;cursor:pointer}.secret-game-choices button small{font-size:13px;color:#80500d}.secret-game-choices button.secret-game-picked{transform:translateY(-9px);background:#fff1c7;border-color:#bc811e}.secret-game-wheel{display:flex;align-items:center;justify-content:center;gap:12px;font-size:34px;margin:22px auto;background:conic-gradient(#d5efbd 0 25%,#ffe4a4 25% 50%,#e4d5ff 50% 75%,#f9c9c9 75%);border:7px solid #fff;border-radius:50%;width:175px;height:175px;box-shadow:0 4px 16px #73501233}.secret-game-wheel span{font-size:27px}.secret-game-wheel.spinning{animation:secretSpin 1.5s ease-out}@keyframes secretSpin{to{transform:rotate(1440deg)}}.secret-game-note{font-size:12px;color:#87673b;line-height:1.6}.secret-game-finish{text-align:center;background:#fff;border-radius:15px;padding:20px;margin-top:12px}.secret-game-finish>span{font-size:48px}.secret-game-finish h4{font-size:23px;color:#2e7142;margin:8px 0}.secret-game-finish small{color:#777}@media(prefers-reduced-motion:reduce){.secret-game-wheel.spinning{animation:none}.secret-game-choices button.secret-game-picked{transform:none}}

/* V196 event library */
.secret-library-controls{padding:15px;background:#f2f8f2;border-radius:12px}.secret-library-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.secret-library-buttons button,.secret-event-row button{padding:9px 12px;border:1px solid #9bb8a2;background:white;border-radius:9px;color:#28563c;cursor:pointer}.secret-event-library-list{display:grid;gap:8px}.secret-event-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px;border:1px solid #dbe6db;border-radius:10px}.secret-event-row span:first-child{flex:1;min-width:0}.secret-event-row small{display:block;color:#68796c;margin-top:4px}.secret-event-state{font-size:12px;white-space:nowrap;background:#e8f3e8;border-radius:30px;padding:5px 9px}@media(max-width:500px){.secret-event-row{flex-wrap:wrap}.secret-library-buttons button{flex:1}}

/* V197 interactive daily box and event branding */
.secret-play{text-align:center;padding:18px 8px}.secret-play-emoji{font-size:54px}.secret-play-choices{display:grid;gap:10px;max-width:380px;margin:18px auto}.secret-play-choices button,.secret-game-choices button{min-height:56px;border-radius:15px;border:2px solid #b8d7bd;background:#f5fbf3;color:#24563c;font-weight:800;font-size:16px;cursor:pointer}.secret-play-choices button:disabled{opacity:.65}.secret-play-reveal{background:#fff3d8;border-radius:16px;padding:18px;margin:12px 0;color:#65471b}.secret-play-reveal strong{font-size:20px}.secret-event-brand{background:#e7f5e9;color:#1f6842;padding:12px;border-radius:12px;font-weight:900;font-size:18px}.secret-festival-progress{font-size:17px;font-weight:800;padding:12px 5px}.secret-game-choices{display:grid;gap:10px;margin:12px auto;max-width:420px}

/* V198 illustrated gift design */
.secret-box-open{background:radial-gradient(ellipse at 50% 35%,#fff6db 0%,#fffaf0 50%,#f2f8ee 100%);border:1px solid #e7c681;box-shadow:0 12px 28px #72501921;overflow:hidden;min-height:265px;transition:transform .2s,box-shadow .2s}
.secret-box-open:hover{transform:translateY(-2px);box-shadow:0 15px 32px #72501930}
.secret-gift-art{display:block;width:min(210px,55vw);height:190px;object-fit:contain;filter:drop-shadow(0 8px 12px #5c360b30)}
.secret-box-open strong{font-size:22px;color:#76460b}.secret-box-open small{font-size:13px}
@media(prefers-reduced-motion:reduce){.secret-box-open{transition:none}}

/* V200: image-led instant draw instead of emoji-only choices */
.secret-lucky{text-align:center;padding:20px 12px;border-radius:20px;background:linear-gradient(160deg,#fff9e9,#fff 65%,#e9f4eb);color:#274632}.secret-lucky h3{font-size:1.45rem;margin:8px}.secret-lucky-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px auto;max-width:510px}.secret-lucky-boxes button{border:2px solid #cba44f;border-radius:16px;padding:9px 5px;background:#fff8e7;cursor:pointer;box-shadow:0 5px 14px #73531225;transition:transform .2s}.secret-lucky-boxes button:not(:disabled):active{transform:scale(.94)}.secret-lucky-boxes img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}.secret-lucky-boxes b{display:block;font-size:.9rem;margin-top:7px}.secret-lucky-answer{padding:8px 0}.secret-lucky-answer h4{font-size:1.25rem;color:#7d5421}.secret-lucky-answer button{padding:12px 25px;border:0;border-radius:30px;background:#176e3d;color:white;font-weight:700}.secret-lucky small{display:block;font-size:.73rem;color:#6d6d6d;margin:12px 0}.secret-box-open .secret-gift-art{width:min(90%,340px);height:auto;max-height:250px;object-fit:contain;display:block;margin:auto}.secret-box-open{background:linear-gradient(145deg,#fff8e6,#e6f4ea)!important;border:2px solid #dbb76a!important}

/* V201 mobile-first lucky box layout */
.secret-lucky,.secret-lucky *{box-sizing:border-box}
.secret-lucky{width:100%;max-width:100%;overflow:hidden;padding:18px 12px 20px;border-radius:18px}
.secret-lucky h3{font-size:clamp(20px,5vw,27px);line-height:1.35;overflow-wrap:anywhere}
.secret-lucky>p{font-size:14px;line-height:1.55;margin:8px 0}
.secret-lucky-boxes{width:100%;max-width:480px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px auto}
.secret-lucky-boxes button{min-width:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:9px 5px 11px;border-radius:15px;background:#fff8e8;color:#503b20;min-height:126px}
.secret-lucky-boxes img{width:min(100%,110px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px}
.secret-lucky-boxes b{display:block;margin:0;color:#503b20;font-size:clamp(11px,3.1vw,15px);line-height:1.3;white-space:nowrap;text-shadow:none}
.secret-lucky small{font-size:12px;line-height:1.5;color:#686868}
.secret-box-section{min-width:0;overflow:hidden}
@media(max-width:600px){
.secret-box-section{margin:12px 0 18px;padding:10px;border-radius:18px}
.secret-box-result{padding:10px;border-radius:15px}
.secret-lucky{padding:15px 9px 16px}
.secret-lucky-boxes{gap:7px;margin:14px auto}
.secret-lucky-boxes button{min-height:112px;padding:7px 3px 9px;border-width:1.5px;border-radius:13px}
.secret-lucky-boxes img{width:100%;max-width:88px;aspect-ratio:1}
.secret-lucky-boxes b{font-size:12px}
.secret-box-open{min-height:190px}
.secret-box-open .secret-gift-art{max-height:175px}
}
@media(max-width:360px){.secret-lucky-boxes{gap:5px}.secret-lucky-boxes button{min-height:98px}.secret-lucky-boxes b{font-size:11px}}
