/* V5.41 Writer's Corner: single-click half-size panels and private Scene Studio. */
#wc-root .wc-micro-panel[role="button"]{cursor:pointer;transition:border-color .17s, box-shadow .17s, transform .17s}
#wc-root .wc-micro-panel[role="button"]:hover{border-color:#e2bd76!important;box-shadow:0 0 0 1px rgba(222,174,91,.2),0 16px 38px rgba(0,0,0,.2)}
#wc-root .wc-micro-panel[role="button"]:focus-visible{outline:3px solid #d9ad6a;outline-offset:3px}
#wc-root .wc-micro-panel[role="button"]:active{transform:scale(.997)}
#wc-root .wc-scene-mini{display:flex;flex-direction:column;gap:8px;font-size:12px;padding:10px;background:linear-gradient(135deg,rgba(184,137,69,.2),rgba(57,37,64,.28));border:1px solid rgba(219,175,105,.24);border-radius:10px;color:#ecd0a5}
#wc-root .wc-scene-mini span:first-child{font-weight:800;font-size:14px}
#wc-root .wc-scene-mini small{color:#c1ad9d}
#wc-root .wc-scene-studio{color:#f2ece5;display:flex;flex-direction:column;gap:16px;min-width:0}
#wc-root .wc-scene-intro{display:flex;gap:18px;justify-content:space-between;align-items:center;flex-wrap:wrap;border:1px solid #765c3d;background:linear-gradient(120deg,#292339,#171f2c);border-radius:14px;padding:20px}
#wc-root .wc-scene-intro h3{font:italic 29px Georgia,serif;color:#ead2ab;margin:5px 0}
#wc-root .wc-scene-intro small{letter-spacing:.11em;color:#daa865;font-size:11px}
#wc-root .wc-scene-intro p{max-width:650px;line-height:1.55;color:#d7c8c0;margin:0}
#wc-root .wc-scene-actions{display:flex;flex-wrap:wrap;gap:8px}
#wc-root .wc-scene-layout{display:grid;grid-template-columns:minmax(185px,22%) minmax(0,1fr);gap:16px;min-height:470px}
#wc-root .wc-scene-list{border:1px solid #41546b;background:#111d2a;padding:14px;border-radius:13px;min-width:0;display:flex;flex-direction:column;gap:9px}
#wc-root .wc-scene-list h4{margin:1px 0 7px;color:#e8c18a}
#wc-root .wc-scene-list button{cursor:pointer;border:1px solid #39506a;background:#182a3c;color:#efede7;padding:10px 13px;text-align:left;border-radius:8px;display:flex;flex-direction:column;gap:5px}
#wc-root .wc-scene-list button.active{border-color:#e6bb77;background:#332b32}
#wc-root .wc-scene-list button small{color:#afbac6}
#wc-root .wc-scene-work{display:flex;flex-direction:column;gap:12px;min-width:0}
#wc-root .wc-scene-stage{position:relative;overflow:hidden;border-radius:14px;aspect-ratio:16/9;min-height:225px;max-height:460px;background:radial-gradient(circle at 65% 30%,#52443d,#11151e 75%);display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px #0007;border:1px solid #96734c}
#wc-root .wc-scene-stage>img{height:100%;width:100%;object-fit:cover;object-position:center 33%;opacity:.81;filter:saturate(.94)}
#wc-root .wc-scene-stage>div{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,rgba(8,11,20,.97));padding:60px 24px 20px;text-align:center;text-shadow:0 1px 3px black}
#wc-root .wc-scene-stage small{color:#e8c28a;font-weight:600;letter-spacing:.14em}
#wc-root .wc-scene-stage h3{margin:5px 0;font:italic 24px Georgia,serif;color:#fff}
#wc-root .wc-scene-stage p{margin:4px auto;max-width:760px;color:#f8f3ee;font-size:17px;line-height:1.45}
#wc-root .wc-scene-playbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#wc-root .wc-scene-playbar>span{color:#b1becb;font-size:12px;margin-left:auto}
#wc-root .wc-scene-shotlist{display:flex;gap:10px;overflow:auto;padding:6px 0 13px}
#wc-root .wc-shot-card{display:flex;flex:0 0 230px;gap:9px;background:#182838;border:1px solid #354c5c;border-radius:9px;min-height:116px;padding:8px}
#wc-root .wc-shot-card.wc-shot-selected{border-color:#d9aa66;box-shadow:0 0 0 1px #d9aa6644}
#wc-root .wc-shot-picture{flex:0 0 66px;overflow:hidden;border-radius:5px}
#wc-root .wc-shot-picture img{width:100%;height:100%;object-fit:cover}
#wc-root .wc-shot-card strong{display:block;margin:6px 0 3px;color:#e6c189}
#wc-root .wc-shot-card small{font-size:9px;color:#93a7b8}
#wc-root .wc-shot-card p{font-size:11px;line-height:1.3;margin:0;color:#dae4e9}
#wc-root .wc-scene-edit{background:#121f2b;border:1px solid #45546a;border-radius:10px;padding:16px}
#wc-root .wc-scene-edit h4{color:#dabb8b;margin:0 0 10px}
#wc-root .wc-scene-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#wc-root .wc-scene-edit-grid label{font-size:12px;color:#c8b6a4;display:flex;flex-direction:column;gap:4px}
#wc-root .wc-scene-edit-grid select,#wc-root .wc-scene-edit textarea{width:100%;min-width:0;background:#081723;color:#f4f4ef;border:1px solid #4c6277;border-radius:7px;padding:9px}
#wc-root .wc-scene-edit textarea{margin-top:11px;resize:vertical}
#wc-root .wc-scene-empty{color:#bfcbd2;padding:25px 15px;border:1px dashed #5b6874;border-radius:10px;text-align:center}
#wc-root .wc-scene-work>.wc-field input{background:#101f2c;color:#f2f2f2}
@media(max-width:950px){#wc-root .wc-scene-layout{grid-template-columns:1fr}#wc-root .wc-scene-list{flex-direction:row;flex-wrap:wrap;align-items:center}#wc-root .wc-scene-list h4{width:100%}#wc-root .wc-scene-stage{min-height:180px}#wc-root .wc-scene-edit-grid{grid-template-columns:1fr}}

#wc-root .wc-main-editor>.wc-micro-head{cursor:pointer}
#wc-root .wc-main-editor>.wc-micro-head:hover{background:linear-gradient(90deg,rgba(230,183,98,.09),transparent)}
