.ts-teendr-entry { text-align:center; margin:0 12px 16px; }
#ts-teendr { box-sizing:border-box; width:min(530px,94vw); max-height:90vh; overflow:auto; padding:16px; border:1px solid #a5c3c2; border-radius:16px; color:#173f46; background:#fff; text-align:left; }
#ts-teendr::backdrop { background:#102e34a6; }
#ts-teendr header,.ts-teendr-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#ts-teendr header h2,#ts-teendr header form { margin:0; }
#ts-teendr button,#ts-teendr a,#ts-teendr-open { display:inline-flex; align-items:center; min-height:44px; padding:4px 12px; border:1px solid #24565c; border-radius:8px; color:#173f46; background:#f2faf9; font:inherit; cursor:pointer; }
#ts-teendr button:disabled { opacity:.55; cursor:default; }
#ts-teendr [hidden],#ts-teendr-open[hidden] { display:none!important; }
#ts-teendr-themes fieldset { min-width:0; margin:12px 0; }
#ts-teendr-themes fieldset div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-height:35vh; overflow:auto; }
#ts-teendr-themes label { display:flex; gap:6px; align-items:center; min-height:44px; overflow-wrap:anywhere; }
.ts-teendr-card { touch-action:pan-y; user-select:none; background:#f4f8f7; border-radius:10px; padding:8px; text-align:center; }
.ts-teendr-card img { display:block; width:100%; height:min(35vh,280px); object-fit:contain; }
.ts-teendr-card h3 { margin:8px 0 0; }
.ts-teendr-actions { margin:8px 0; }
#ts-teendr-summary ul { list-style:none; padding:0; }
#ts-teendr-summary li { display:flex; align-items:center; gap:12px; margin:10px 0; }
#ts-teendr-summary img { width:76px; height:76px; object-fit:contain; background:#f4f8f7; }
