/* PlaySchool V1.6.8: Board edit actions and responsive edit form. */
.ps-post-actions{display:flex;align-items:center;justify-content:flex-end;padding:12px 0 2px}
.ps-edit-post-button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 16px;border-radius:9px;border:1px solid #efbbdb;background:#49354f;color:#ffe3f3!important;font-size:13px;font-weight:800;text-decoration:none;transition:background .15s}
.ps-edit-post-button:hover,.ps-edit-post-button:focus-visible{background:#664a70;color:#fff!important}
.ps-board-edited{color:#deadd0}
.ps-edit-existing-image{display:flex;flex-direction:column;gap:11px;background:#2b283a;border:1px solid #504660;border-radius:11px;padding:15px;color:#dfd1e6;font-size:12px}
.ps-edit-existing-image img{display:block;width:auto;max-width:100%;max-height:230px;object-fit:contain;align-self:flex-start;border-radius:9px}
.board-form label.ps-edit-notice-option,.ps-edit-existing-image label.ps-edit-remove-option{display:flex;align-items:center;flex-direction:row;gap:10px;cursor:pointer}
.board-form label.ps-edit-notice-option{border:1px solid #62516d;background:#30283b;padding:13px 15px;border-radius:10px}
.board-form label.ps-edit-notice-option input,.ps-edit-existing-image label.ps-edit-remove-option input{width:17px;height:17px;min-width:17px;padding:0;accent-color:#db9bc9}
@media(max-width:650px){.ps-post-actions{justify-content:stretch}.ps-edit-post-button{width:100%}.board-form-actions>a,.board-form-actions>button{flex:1}}

/* Keep the optional name field hidden until Other is selected. */
[data-contribution-other][hidden]{display:none!important}

/* V1.6.11: compact contribution round editing and deletion panel. */
.ps-contrib-round-list{display:flex;flex-direction:column;gap:9px;margin-top:13px}
.ps-contrib-round-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid #755e8266;border-radius:12px;background:#2c283a35}
.ps-contrib-round-label{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:5px}
.ps-contrib-round-label strong{overflow-wrap:anywhere}
.ps-contrib-round-label small{font-size:12px;opacity:.76}
.ps-contrib-round-edit{position:relative;flex:0 1 auto}
.ps-contrib-round-edit>summary{cursor:pointer;border:1px solid #8d7a9e;border-radius:8px;padding:8px 11px;list-style:none;font-weight:700;font-size:12px}
.ps-contrib-round-edit>summary::-webkit-details-marker{display:none}
.ps-contrib-round-edit[open]{flex:1 1 100%;order:3}
.ps-contrib-round-edit[open]>summary{display:inline-block;margin-bottom:10px}
.ps-contrib-round-edit form{max-width:440px;padding:10px;border:1px solid #a088aa4f;border-radius:9px}
.ps-contrib-round-row .mini-delete{min-height:34px}
@media(max-width:650px){.ps-contrib-round-row{align-items:stretch}.ps-contrib-round-label{flex-basis:100%}.ps-contrib-round-edit{flex:1 1 auto}.ps-contrib-round-edit>summary{text-align:center}.ps-contrib-round-row .mini-delete{min-height:40px}}
