/* B9: doplňky pro okna převedená na rozložení Koček (okna-b9.js). Ostrý styl, bez stínů, rohy 6 px, mezery 6 px. */
.of-modal .b9-titles { display:flex; flex-direction:column; gap:6px; }
.of-modal .b9-capline { font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; text-align:center; opacity:.9; }
.of-modal #show-titles-rows { display:flex; flex-direction:column; gap:6px; }
.of-modal .b9-trow { display:flex; gap:6px; align-items:stretch; }
.of-modal .b9-trow > .of-ct { flex:1 1 0; min-width:0; }
.of-modal .b9-trow > .of-ct[style*="display:none"] { display:none !important; }
.of-modal .b9-trm { flex:0 0 44px; min-height:62px; border:1px solid var(--p-fg,#a02a5c); border-radius:6px; background:var(--p-bg,#fdeaf0); color:var(--p-fg,#a02a5c); font:inherit; font-size:22px; font-weight:700; cursor:pointer; box-shadow:none; padding:0; }
.of-modal .b9-list { display:flex; flex-direction:column; gap:6px; }
.of-modal .b9-list > .of-act, .of-modal .b9-list > .of-ct { margin:0; width:100%; }
.of-modal .b9-chips { margin-bottom:6px; }
.of-modal .b9-badges { display:flex; flex-wrap:wrap; justify-content:center; gap:4px; margin-top:2px; }
.of-modal .b9-badges span { border-radius:4px !important; }
.of-modal #sup-daily-unit { font-size:12px; opacity:.8; }
.of-modal .b9-trow select, .of-modal .of-sw select { max-width:100%; }
.of-modal .of-ct textarea { overflow-wrap:anywhere; }
.of-modal .of-note { text-align:center; font-size:12.5px; opacity:.85; padding:4px 6px; }
/* výběr fotek do PDF vrhu */
.of-modal .b9-pick { display:flex; flex-direction:column; gap:6px; }
.of-modal .b9-pickrow { padding:8px; border:1px solid var(--b-fg,#1a5299); border-radius:6px; background:var(--surface); }
.of-modal .b9-pickrow img { border-radius:4px !important; }
/* galerie fotek mláďat */
#pup-gallery-overlay .b9-galtop { flex:0 0 auto; display:flex; justify-content:space-between; align-items:center; padding:max(env(safe-area-inset-top,0px),10px) 12px 6px; color:#fff; font-size:13px; font-weight:700; }
#pup-gallery-overlay .b9-galx { width:44px; height:44px; border:1px solid #cfe2ee; border-radius:6px; background:#ffffff; color:#163448; font-size:16px; cursor:pointer; box-shadow:none; }
#pup-gallery-overlay .b9-galimg { flex:1; min-height:0; position:relative; display:flex; align-items:center; justify-content:center; padding:0 8px; }
#pup-gallery-overlay .b9-galimg img { max-width:100%; max-height:100%; object-fit:contain; border-radius:6px; }
#pup-gallery-overlay .b9-galnav { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:44px; height:44px; border:1px solid #cfe2ee; border-radius:6px; background:#ffffff; color:#163448; font-size:22px; cursor:pointer; box-shadow:none; opacity:.94; }
#pup-gallery-overlay .b9-galnav.l { left:10px; } #pup-gallery-overlay .b9-galnav.r { right:10px; }
#pup-gallery-overlay .b9-galbar { flex:0 0 auto; background:var(--surface); border-top:1px solid var(--xl); display:flex; flex-direction:column; gap:6px; padding:8px 8px max(calc(env(safe-area-inset-bottom,0px) + 8px),10px) !important; }
#pup-gallery-overlay .b9-galbar .of-act { margin-top:0; }
#pup-gallery-overlay, #pup-gallery-overlay.of-modal { background:rgba(10,24,34,.94) !important; padding:0 !important; }
