.image-crop-dialog{width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:22px;overflow:auto}.image-crop-dialog h2{font-size:23px}.crop-stage{min-height:140px;display:flex;align-items:center;justify-content:center;background:repeating-conic-gradient(#d6ccd1 0% 25%,#eee8eb 0% 50%) 50%/18px 18px;overflow:hidden}.crop-stage canvas{display:block;cursor:grab;touch-action:none;outline-offset:-3px}.crop-stage canvas:active{cursor:grabbing}.crop-stage canvas:focus-visible{outline:2px solid var(--accent)}.crop-controls{margin-top:18px;display:grid;gap:12px}.crop-controls label{font-size:12px}.crop-controls input[type=range]{width:100%;min-height:32px;accent-color:var(--accent);padding:0}.crop-position{display:grid;grid-template-columns:1fr 1fr;gap:18px}.crop-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.crop-actions button{min-height:42px}.crop-controls .campaign-field{margin:0}.sidebar-person{display:flex;gap:12px;align-items:center}.sidebar-person>div{min-width:0}.sidebar-avatar{width:42px;height:42px;flex:0 0 42px;object-fit:contain}.sidebar-avatar.is-uploaded{object-fit:cover;border-radius:2px}.sidebar-avatar:not(.is-uploaded){filter:brightness(0) invert(1);opacity:.9}.sidebar-avatar[hidden]{display:none}.enemy-emblem{display:inline-block;flex:0 0 38px;width:38px;height:38px;background:var(--accent);mask:var(--emblem) center/contain no-repeat;-webkit-mask:var(--emblem) center/contain no-repeat}.gm-codex-card h3,.object-card h3{display:flex;align-items:center;gap:10px}.chat-author-choice{display:flex;align-items:center;gap:10px;flex:1}.chat-author-choice label{flex:1}.chat-author-choice select{width:100%}.chat-author-choice .social-avatar{margin:0;flex:0 0 36px}.social-message>.enemy-emblem{width:40px;height:40px}.editor-attachments .attachment-tools{display:flex;gap:4px;position:static}.editor-attachments .attachment-tools button{position:static;font-size:10px;padding:3px 6px}.image-edit-action{margin-top:8px}@media(max-width:480px){.image-crop-dialog{padding:16px}.image-crop-dialog h2{font-size:20px}.crop-actions>.site-action{flex:1 1 100px}.sheet-tabs button{flex-direction:column;gap:3px!important}.sheet-tabs .sheet-tab-icon{display:inline-block;flex:none!important;width:24px!important;height:24px!important}.sheet-tabs button{min-height:65px!important}}
