/* Dood Atlas · share add-on styles (the page's CSP allows only stylesheet files, so this lives here). */
.as-viewbtn { position: absolute; top: 50px; left: 8px; z-index: 3; min-height: 34px; background: #1c1033e6; backdrop-filter: blur(6px); }
.as-dlg { display: none; }
.as-dlg[open] { display: flex; flex-direction: column; gap: 12px; max-height: calc(100dvh - 24px); overflow: auto; }
.as-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.as-head h2 { margin: 0; }
.as-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #ffffff26; background: #ffffff0a; color: var(--ivory); font: 600 20px/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding: 0; flex: none; }
.as-x:hover { border-color: #e2b95566; }
.as-preview { display: block; width: 100%; height: auto; max-height: 42vh; object-fit: contain; border-radius: 14px; background: var(--ink); border: 1px solid var(--line); }
.as-label { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 2px 0 -4px; }
.as-caption { width: 100%; min-height: 76px; resize: vertical; border-radius: 12px; border: 1px solid var(--line); background: var(--night); color: var(--ivory); padding: 10px 12px; font: 400 15px/1.45 var(--sans); }
.as-caption:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.as-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.as-grid .btn { min-height: 46px; padding: 0 12px; }
.as-native, .as-wide { grid-column: 1 / -1; }
.as-xpost { background: #000; border-color: #3a3f46; }
.as-xpost:hover { border-color: #fff; background: #000; }
.as-note { margin: 0; min-height: 1.4em; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.as-grid .btn:focus-visible, .as-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
