#tgbglw-card { min-width: 0; }
#tgbglw-player { width: 100%; min-width: 0; }
#tgbglw-audio { display: block; width: 100%; max-width: 100%; }
#tgbglw-player .tgbglw-duration { margin: .45rem 0 .8rem; font-size: .85rem; }
#tgbglw-read { margin-top: auto; align-self: flex-start; border: 0; background: transparent; padding: 5px 0; color: #986116; font: inherit; font-weight: 800; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#tgbglw-read:hover, #tgbglw-read:focus { color: #18334a; }
#tgbglw-dialog { box-sizing: border-box; width: min(900px, 96vw); max-width: 96vw; max-height: 90vh; max-height: 90dvh; overflow-y: auto; border: 1px solid #c49a46; border-radius: 20px; padding: clamp(18px, 4vw, 38px); color: #18334a; background: #fffaf0; }
#tgbglw-dialog::backdrop { background: rgba(0,0,0,.65); }
#tgbglw-dialog .tgbglw-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
#tgbglw-dialog h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 6vw, 44px); margin: 0; color: #18334a; }
#tgbglw-close { flex: none; border: 1px solid #c49a46; border-radius: 999px; background: white; color: #18334a; font: inherit; padding: 8px 18px; cursor: pointer; }
#tgbglw-dialog .tgbglw-script { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.75; color: #18334a; }
#tgbglw-dialog .tgbglw-script p { margin: 1.1em 0; }
#tgbglw-dialog-player .tgbg-extra-controls { display: flex; flex-wrap: wrap; gap: 8px; }
#tgbglw-dialog button:focus-visible, #tgbglw-read:focus-visible { outline: 3px solid #18334a; outline-offset: 3px; }
