/* Community feedback: hidden completely until the server and email approval are ready. */
.player-comments[hidden]{display:none!important}
.hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px 12px;flex-wrap:wrap}
.feedback-jump{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 12px;color:#f4e4c3;border:1px solid #d9c49b80;border-radius:11px;font-size:13px;font-weight:750;text-underline-offset:3px}
.feedback-jump[hidden]{display:none}
.feedback-jump:hover{background:#fff4d71a}
.feedback-jump:focus-visible{outline:3px solid #e5ceb0;outline-offset:3px}
.player-comments{margin:0 clamp(16px,4vw,32px) 25px;background:#fffefa;border:1px solid #cbdcc9;border-radius:16px;overflow:hidden;scroll-margin-top:16px}
.player-comments>details>summary{list-style:none;cursor:pointer;padding:21px clamp(16px,3vw,26px);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px 20px;background:#f2f7ef;color:#264835}
.player-comments>details>summary::-webkit-details-marker{display:none}
.player-comments>details>summary:hover{background:#eaf2e6}
.player-comments>details>summary:focus-visible{outline-offset:-3px}
.feedback-summary-copy{display:grid;gap:5px}
.feedback-summary-heading{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}
.feedback-summary-heading strong{font-size:clamp(19px,3vw,22px);line-height:1.25}
#feedbackCount{padding:3px 8px;border-radius:20px;background:#e1edde;color:#345b43;font-size:12px;font-weight:700}
.feedback-summary-description{color:#4c6555;font-size:13px;line-height:1.5}
.feedback-summary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 13px;border-radius:9px;background:#285b43;color:#fff;font-size:13px;font-weight:750}
.feedback-summary-action svg{flex:none}
.feedback-close-label,.player-comments>details[open] .feedback-open-label{display:none}
.player-comments>details[open] .feedback-close-label{display:inline}
.player-comments>details[open] .feedback-summary-action svg{transform:rotate(180deg)}
.feedback-content{padding:clamp(16px,3vw,26px);border-top:1px solid #dce7d9}
.feedback-content>.feedback-intro{font-size:14px}
.feedback-filter{display:flex;align-items:end;gap:8px 12px;flex-wrap:wrap;margin:12px 0}
.feedback-filter .feedback-field{flex:1 1 240px;max-width:380px;margin:0;font-size:13px}
.feedback-filter .button{min-height:42px;font-size:13px}
.feedback-intro{color:#64756a;font-size:12px;line-height:1.65;margin:0 0 13px}
.feedback-field{display:grid;gap:6px;margin:12px 0;color:#3b5a46;font-size:12px;font-weight:700}
.feedback-field input,.feedback-field textarea,.feedback-field select{width:100%;background:white;border:1px solid #cbd7ca;border-radius:10px;font:inherit;font-size:13px;color:#253d30;padding:11px;min-height:42px}
.feedback-field textarea{min-height:95px;resize:vertical;line-height:1.5}
.feedback-comments{display:grid;gap:9px;margin:13px 0 20px}
.feedback-comment{padding:14px;border:1px solid #e1e8dc;background:#f9fbf6;border-radius:11px}
.feedback-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#7e897d;margin-bottom:8px}
.feedback-meta strong{font-size:12px;color:#315b44}
.feedback-comment p{margin:0;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#385041}
.feedback-spoiler{border:1px solid #e4d5af;border-radius:8px;padding:8px 11px;background:#f9f3df}
.feedback-spoiler summary{font-size:12px;font-weight:750;color:#846531;cursor:pointer}
.feedback-spoiler p{margin-top:9px}
.feedback-empty{font-size:12px;color:#879187}
.feedback-form{border-top:1px solid #e6e9de;padding-top:13px}
.feedback-form h3{margin:0 0 7px;font-size:15px;color:#2c4f39}
.feedback-flag{display:flex;gap:9px;align-items:center;font-size:12px;color:#445f49;cursor:pointer}
.feedback-flag input{width:18px;height:18px;accent-color:#287657}
#feedbackEmailOptions{margin-top:12px}
.feedback-submit{min-height:43px;padding:11px 17px;border:0;background:#285b43;border-radius:10px;color:white;font-size:12px;font-weight:750;margin-top:12px}
.feedback-submit:disabled{opacity:.5}
.feedback-status{font-size:12px;color:#526c58;margin-top:8px}
.feedback-status.error{color:#a84634}.feedback-status.success{color:#25674c}
.feedback-honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}
.stage-card{border:1px solid #dcded5;border-radius:14px;background:#fffefa;overflow:hidden;box-shadow:0 2px 4px #14231a06}
.stage-card>.stage{border:0;border-radius:0;box-shadow:none}
.stage-card:has(>.stage[open]){border-color:#b6c9b9;box-shadow:0 6px 24px #263b2b0b}
.stage-card:has(>.stage.is-filtered-out){display:none}
.area-feedback{display:flex;justify-content:flex-end;padding:9px 15px;border-top:1px solid #e6e9e3;background:#f5f8f1}
.area-feedback button{display:inline-flex;align-items:center;gap:10px;min-height:44px;background:white;border:1px solid #c3d3c3;border-radius:10px;color:#285b43;font-weight:750;font-size:14px;cursor:pointer;padding:8px 14px}
.area-feedback button:hover{background:#e7f1e4;border-color:#80a88a}
.area-feedback-count{display:inline-grid;place-items:center;min-width:25px;min-height:25px;border-radius:20px;background:#e9efe5;color:#4b6652;font-variant-numeric:tabular-nums}
.area-feedback.has-comments .area-feedback-count{background:#285b43;color:white}
.stage[open]+.area-feedback button{font-size:15px;padding:10px 16px}
.feedback-heading{margin:20px 0 10px;font-size:17px;line-height:1.4;color:#2d4b36}
.feedback-group{display:grid;gap:12px;margin-bottom:15px}
.feedback-group-title{margin:0;padding:12px 14px;border-left:4px solid #367458;background:#edf3e9;border-radius:0 8px 8px 0;font-size:15px;line-height:1.4;color:#2d4b36}
.feedback-comment p{font-size:15px;line-height:1.7}
.feedback-meta strong{font-size:14px}
.feedback-spoiler summary{font-size:14px}
.feedback-replies{display:grid;gap:10px;margin-top:15px;padding-left:14px;border-left:3px solid #c4d8c4}
.feedback-reply{background:white}
.feedback-reply-button,.feedback-reply-context button{min-height:40px;margin-top:10px;padding:8px 12px;border:1px solid #c3d3c3;border-radius:8px;background:white;color:#285b43;font-size:13px;font-weight:700;cursor:pointer}
.feedback-reply-context{padding:12px;border-radius:10px;background:#edf3e9;color:#2d4b36;font-size:13px}
.feedback-reply-context button{margin:8px 0 0;display:block}
.feedback-reply-context[hidden]{display:none}
@media(max-width:600px){.feedback-replies{padding-left:9px}.feedback-comment{padding:12px}.feedback-group-title{font-size:14px}}
@media(max-width:600px){.player-comments{margin:0 14px 24px}.area-feedback{padding:8px 12px}}
@media(max-width:520px){.hero-actions{justify-content:center}}

.area-feedback[hidden]{display:none!important}

/* Clearly identified updates from the site owner, never presented as visitor reviews. */
.feedback-comment.feedback-creator{border-color:#c7d9c4;background:#f5f9f2}
.feedback-author{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.feedback-creator-badge{font-size:10px;line-height:1.4;font-weight:750;letter-spacing:.02em;color:#315b44;background:#e2efdc;border:1px solid #c8ddc1;border-radius:6px;padding:2px 7px}

/* Collapsible discussions beneath each area, mirroring the main approved feed. */
.area-feedback{display:block;padding:0;border-top:1px solid #e6e9e3;background:#f7faf4}
.area-comment-details{width:100%}
.area-comment-details>summary{
 list-style:none;display:flex;align-items:center;gap:10px;min-height:52px;
 padding:10px 16px;cursor:pointer;color:#285b43;font-size:13px;font-weight:760;
}
.area-comment-details>summary::-webkit-details-marker{display:none}
.area-comment-details>summary:hover{background:#eef5ea}
.area-comment-details>summary:focus-visible{outline:3px solid #65aa7c;outline-offset:-3px}
.area-comment-details .area-feedback-count{margin-left:auto}
.area-comment-chevron{width:9px;height:9px;flex:none;border-right:2px solid #6f9475;border-bottom:2px solid #6f9475;transform:rotate(45deg);transition:transform .15s;margin-right:4px;margin-top:-4px}
.area-comment-details[open] .area-comment-chevron{transform:rotate(225deg);margin-top:4px}
.area-comment-content{padding:13px 16px 16px;border-top:1px solid #e1e9dd;background:#fcfdf9}
.area-comment-list{display:grid;gap:10px}
.area-comment-list .feedback-comment{padding:12px}
.area-comment-list .feedback-comment p{font-size:13px;line-height:1.6}
.area-comment-list .feedback-meta strong{font-size:12px}
.area-comment-actions{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-top:12px}
.area-comment-add{
 border:1px solid #bdd1bd;border-radius:9px;color:#2b654a;background:white;
 font-weight:750;font-size:12px;padding:10px 13px;min-height:42px;
 cursor:pointer;
}
.area-comment-add:hover{background:#eff7ea}
.area-comment-all{display:inline-flex;align-items:center;min-height:42px;padding:5px 2px;color:#2b654a;font-size:13px;font-weight:750;text-underline-offset:3px}
.area-comment-all:hover{color:#173e2c}
.area-comment-add:focus-visible,.area-comment-all:focus-visible{outline:3px solid #65aa7c;outline-offset:2px}
@media(max-width:600px){
 .area-comment-details>summary{min-height:52px;padding:10px 12px}
 .area-comment-content{padding:12px}
}

/* Return to the first incomplete area while browsing elsewhere. */
.floating-continue{
 position:fixed;z-index:40;bottom:calc(17px + env(safe-area-inset-bottom, 0px));
 right:16px;display:flex;align-items:center;justify-content:center;gap:8px;
 min-height:46px;max-width:min(90vw,280px);padding:11px 16px;
 background:#205c41;color:white;border:1px solid #3c7d5a;border-radius:999px;
 box-shadow:0 7px 25px #142b2050;font:700 12px/1.3 system-ui,-apple-system,sans-serif;
 cursor:pointer;transition:background .2s,box-shadow .2s;
}
.floating-continue:hover{background:#184e36;box-shadow:0 9px 28px #142b205e}
.floating-continue:focus-visible{outline:3px solid #d8c17f;outline-offset:3px}
.floating-continue[hidden]{display:none!important}
.floating-continue-icon{font-size:17px;line-height:1}
@media(max-width:520px){
 .floating-continue{right:13px;bottom:calc(14px + env(safe-area-inset-bottom, 0px));padding:11px 14px;font-size:12px}
}

/* Independent, remembered setting for visitor and Creator spoiler comments. */
.feedback-spoiler-setting{margin:6px 0 16px;padding:10px 12px;border:1px solid #e1e8dc;border-radius:10px;background:#f7faf4}
.feedback-spoiler-setting-label{display:flex;align-items:center;gap:11px;min-height:44px;cursor:pointer;color:#2d513b}
.feedback-spoiler-setting-label>input{width:19px;height:19px;flex:none;margin:0;accent-color:#287657}
.feedback-spoiler-setting-copy{display:grid;gap:3px;font-size:13px;line-height:1.35}
.feedback-spoiler-setting-copy strong{font-size:13px;font-weight:750}
.feedback-spoiler-setting-copy>span{font-size:11px;font-weight:450;color:#617467}
.feedback-spoiler-setting-label:focus-within{outline:2px solid #65aa7c;outline-offset:3px;border-radius:4px}

/* Notify about new approved discussions without reloading checklist or drafts. */
.comments-update-notice[hidden]{display:none!important}
.comments-update-notice{position:fixed;z-index:105;bottom:calc(18px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(450px,calc(100vw - 30px));padding:16px 18px;background:#fcfaf4;color:#224432;border:1px solid #c4d5bf;border-radius:15px;box-shadow:0 14px 40px #13291c38;font-size:13px;line-height:1.5}
.comments-update-notice strong{display:block;font-size:14px;font-weight:800}
.comments-update-notice p{margin:6px 0 13px;color:#44594b;font-size:12px;line-height:1.55}
.comments-update-actions{display:flex;gap:8px;flex-wrap:wrap}
.comments-update-actions button{min-height:42px;padding:9px 14px;border-radius:9px;font-size:12px;font-weight:750}
#commentsUpdateApply{background:#285c43;border:1px solid #285c43;color:#fff}
#commentsUpdateLater{background:transparent;border:1px solid #c3d1c2;color:#315842}
.comments-update-actions button:focus-visible{outline:3px solid #65aa7c;outline-offset:2px}
body:has(.update-notice:not([hidden])) .comments-update-notice{display:none!important}
body:has(.comments-update-notice:not([hidden])) .floating-continue{display:none!important}

/* Collapsed Comments opens the checklist; discussion opens only below its tasks. */
.area-comment-preview{
 display:flex;align-items:center;gap:10px;width:100%;min-height:52px;
 padding:10px 16px;border:0;border-top:1px solid #e6e9e3;
 background:#f7faf4;color:#285b43;font:inherit;font-size:13px;
 font-weight:760;text-align:left;cursor:pointer;
}
.area-comment-preview .area-feedback-count{margin-left:auto}
.area-comment-preview.has-comments .area-feedback-count{background:#285b43;color:#fff}
.area-comment-preview:hover{background:#eef5ea}
.area-comment-preview:focus-visible{outline:3px solid #65aa7c;outline-offset:-3px}
.area-comment-preview[hidden],
.stage-card>.stage[open]+.area-comment-preview,
.stage-card>.stage:not([open])~.area-feedback{display:none!important}
@media(max-width:600px){.area-comment-preview{padding:10px 12px}}
