/* hsi_audioguide – mini-player + okno transkrypcji */
.hsiag{position:relative;margin:16px 0 0;background:#fff;border:1px solid #cfdcee;border-radius:16px;padding:14px 16px 12px;display:flex;flex-direction:column;gap:10px;font-family:inherit;color:#003051}
.hsiag__top{display:flex;align-items:center;gap:12px}
.hsiag__play{width:48px;height:48px;flex:0 0 48px;border-radius:999px;border:0;background:#0069b3;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s}
.hsiag__play:hover{background:#00579a}
.hsiag__play:focus-visible,.hsiag__wave:focus-visible,.hsiag__seek:focus-visible,.hsiag__trlink:focus-visible,.hsiag-modal__x:focus-visible{outline:3px solid #7fb6e6;outline-offset:2px}
.hsiag__i-pause{display:none}
.hsiag.is-playing .hsiag__i-play{display:none}
.hsiag.is-playing .hsiag__i-pause{display:block}
.hsiag__txt{min-width:0;display:flex;flex-direction:column;gap:2px}
.hsiag__title{padding-right:22px;font-size:.9375rem;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 -2px}
.hsiag__sub{font-size:.8125rem;color:#4a5b72;line-height:1.35}
.hsiag__who{margin-left:auto;display:flex;flex:0 0 auto;padding-left:4px}
.hsiag__av{width:36px;height:36px;border-radius:999px;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,48,81,.25);color:#fff;font-size:.8125rem;font-weight:600;display:flex;align-items:center;justify-content:center;background:#003051;object-fit:cover;box-sizing:border-box}
.hsiag__av + .hsiag__av{margin-left:-10px}
.hsiag__av--1{background:#c2410c}
.hsiag__av--2{background:#00796b}
.hsiag__bar{display:flex;align-items:center;gap:10px}
.hsiag__wave{flex:1 1 auto;display:flex;align-items:center;justify-content:space-between;gap:1px;height:28px;cursor:pointer;min-width:0;overflow:hidden}
.hsiag__wave i{display:block;flex:1 1 0;max-width:4px;min-width:1px;border-radius:2px;background:#c9d6e8;transition:background .1s}
.hsiag__wave i.on{background:#0069b3}
.hsiag__time{flex:0 0 auto;font-size:.75rem;color:#4a5b72;white-space:nowrap;font-variant-numeric:tabular-nums}
.hsiag.is-loading .hsiag__play{opacity:.7}
.hsiag__trlink{flex:0 0 auto;white-space:nowrap;border:0;background:none;padding:2px 0 2px 2px;font:inherit;font-size:.6875rem;line-height:1.2;color:#4a5b72;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.hsiag__trlink:hover{color:#0069b3}

/* okno transkrypcji: tresc jest w HTML (SEO/GEO), wizualnie ukryta do klikniecia */
.hsiag-modal{position:fixed;inset:0;z-index:10050;display:none;align-items:center;justify-content:center;padding:16px}
.hsiag-modal.is-open{display:flex}
.hsiag-modal__bg{position:absolute;inset:0;background:rgba(0,24,48,.55)}
.hsiag-modal__box{position:relative;width:100%;max-width:760px;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:16px;padding:20px 24px 24px;box-shadow:0 20px 60px rgba(0,24,48,.35);color:#003051;outline:0}
.hsiag-modal__head{display:flex;align-items:flex-start;gap:12px}
.hsiag-modal__h{margin:0;font-size:1.125rem;font-weight:700;line-height:1.35;color:#003051}
.hsiag-modal__x{margin-left:auto;width:40px;height:40px;flex:0 0 40px;border:0;border-radius:999px;background:#eef3f9;color:#003051;display:flex;align-items:center;justify-content:center;cursor:pointer}
.hsiag-modal__x:hover{background:#dde6f1}
.hsiag-modal__sub{margin:4px 0 16px;font-size:.8125rem;color:#4a5b72}
.hsiag-modal__body{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:24px}
.hsiag-modal__lbl{font-size:.75rem;font-weight:600;color:#4a5b72;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}
.hsiag-modal__ch ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.hsiag__seek{display:flex;gap:10px;width:100%;min-height:40px;align-items:center;padding:6px 10px;border:0;border-radius:10px;background:transparent;color:#003051;text-align:left;font:inherit;font-size:.8125rem;cursor:pointer}
.hsiag__seek:hover{background:#eef3f9}
.hsiag__seek span{color:#4a5b72;font-variant-numeric:tabular-nums;min-width:32px}
.hsiag-modal__text p{margin:0 0 8px;font-size:.875rem;line-height:1.6;color:#2b3d55}
.hsiag-modal__text b{color:#003051}
body.hsiag-lock{overflow:hidden}
@media (max-width:767px){
  .hsiag-modal__body{grid-template-columns:minmax(0,1fr);gap:12px}
  .hsiag-modal__box{padding:16px}
}

/* bąbelek AI – prawy górny róg */
.hsiag__ai{position:absolute;top:8px;right:8px;z-index:2;display:block;cursor:default;outline:0;user-select:none;-webkit-user-select:none}
.hsiag__ai-b{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#fff;border:1px solid #8a94a6;color:#8a94a6;font-size:8px;font-weight:700;letter-spacing:.02em;line-height:1;font-family:inherit;transition:background .15s,color .15s}
.hsiag__ai:hover .hsiag__ai-b{background:#fff;border-color:#5b6677;color:#5b6677}
.hsiag__ai-tip{position:absolute;right:-4px;top:calc(100% + 8px);width:max-content;max-width:220px;padding:7px 10px;border-radius:8px;background:#003051;color:#fff;font-size:.6875rem;line-height:1.35;font-weight:400;white-space:normal;text-align:left;box-shadow:0 6px 18px rgba(0,24,48,.25);opacity:0;visibility:hidden;transform:translateY(-3px);transition:opacity .15s,transform .15s,visibility .15s;pointer-events:none}
.hsiag__ai-tip::before{content:"";position:absolute;right:9px;top:-5px;width:10px;height:10px;background:#003051;transform:rotate(45deg);border-radius:2px}
.hsiag__ai:hover .hsiag__ai-tip{opacity:1;visibility:visible;transform:translateY(0)}
