dialog{background:var(--cd);color:var(--fg);border:1px solid var(--ln);border-radius:1rem;width:min(520px,94vw);max-height:90vh;padding:1.2rem;box-shadow:0 18px 40px rgba(0,0,0,.45)}dialog::backdrop{background:rgba(5,5,5,.8)}
dialog.dw{margin:0 0 0 auto;height:100vh;max-height:100vh;max-width:100vw;width:min(420px,100vw);border-radius:0;border-width:0 0 0 1px}
dialog form{display:grid;gap:.6rem}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.top h3{margin:0}
.big{width:100%;border-radius:.6rem;aspect-ratio:1;object-fit:cover}.th{display:flex;gap:.5rem;margin:.5rem 0}.th img{width:56px;height:56px;object-fit:cover;border-radius:.4rem;cursor:pointer;opacity:.6}.th img.on{opacity:1;outline:1px solid var(--rd)}
.ln{display:flex;gap:.6rem;align-items:center;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid var(--ln)}
.sr{display:flex;gap:.6rem;align-items:center;padding:.5rem 0;cursor:pointer}.sr img{width:48px;height:48px;object-fit:cover;border-radius:.4rem}.sr span{flex:1}.sr b{color:var(--rd)}
.zm{overflow:hidden;border-radius:.6rem;cursor:zoom-in}.zm.z{cursor:zoom-out}.zm img{transition:transform .2s}.zm.z img{transform:scale(2.2)}
.cd{display:block;color:var(--gd);font-size:.75rem;margin-bottom:.4rem}.md h3,.md h4{margin:1rem 0 .4rem}.md p,.md li{color:var(--mu);margin:.3rem 0}.md ul{padding-left:1.2rem}
.mt{width:100%;border-collapse:collapse;margin:.6rem 0}.mt td{border:1px solid var(--ln);padding:.4rem .6rem;font-size:.85rem}.mt tr:first-child td{font-weight:700;color:var(--fg)}
