#festive-action { position:static;min-height:38px;background:#8b3fd0;color:#fff;border:1px solid #8b3fd0;cursor:pointer;white-space:nowrap; }
#festive-panel {position:absolute;inset:0;z-index:180;display:flex;align-items:center;justify-content:center;background:#18202ba6;padding:14px;color:#293344;}
#festive-panel.hidden,#festive-action.hidden,#festive-panel .hidden {display:none!important;}
#festive-panel .fe-card {width:min(660px,100%);max-height:calc(100dvh - 28px);display:flex;flex-direction:column;background:#fffaf0;border:2px solid #d5bd98;border-radius:16px;box-shadow:0 12px 50px #0005;overflow:hidden;}
#festive-panel header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #decdb6;}
#festive-panel h2 {font-size:19px;margin:0;} #festive-panel h3 {font-size:17px;margin:12px 0 6px;}
#festive-panel button {min-height:44px;padding:8px 12px;border:1px solid #c9b698;border-radius:9px;background:#f0e2ca;color:#362a40;font:inherit;cursor:pointer;}
#festive-panel button:disabled {opacity:.5;cursor:default;}
#festive-panel button:focus-visible,#festive-panel input:focus-visible,#festive-panel select:focus-visible,#festive-panel textarea:focus-visible {outline:3px solid #76517e;outline-offset:2px;}
#fe-flash {margin:0;padding:0 16px;color:#276b49;white-space:pre-wrap;} #fe-flash:not(:empty) {padding:10px 16px;}
#fe-flash.fe-error {color:#9e2939;}
#fe-body {overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;min-height:0;padding:14px 16px;}
#festive-panel p {line-height:1.5;overflow-wrap:anywhere;}
#festive-panel form {display:grid;gap:12px;padding:12px 0;}
#festive-panel label {display:grid;gap:5px;font-weight:600;}
#festive-panel input,#festive-panel select,#festive-panel textarea {box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #b7ad9e;border-radius:7px;padding:9px;background:#fff;color:#293344;font:inherit;}
#festive-panel textarea {resize:vertical;}
#festive-panel .fe-event {border-top:1px solid #decdb6;padding:12px 0;}
#festive-panel .fe-person {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #e6d9c6;overflow-wrap:anywhere;}
#fe-owner,#fe-answer {display:flex;gap:8px;flex-wrap:wrap;}
body.festive-open #touch-ui,body.festive-open #table-action,body.festive-open #board-action {visibility:hidden;}
body.photo-mode #festive-action,body.game-open #festive-action {display:none!important;}
body.touch #festive-action {position:static;font-size:12px;padding:0 7px!important;}
@media(max-width:500px) {#festive-panel {padding:8px;}#festive-panel .fe-card {max-height:calc(100dvh - 16px);}#festive-panel h2 {font-size:17px;}#fe-body {padding:12px;}#festive-panel .fe-person {align-items:flex-start;}}
