/* STAGE35 — fixed viewport notices, matching existing Telemost warning placement. */
@media screen {
  html body .pskgu-site-announcements {
    position:fixed!important;
    left:max(12px, env(safe-area-inset-left))!important;
    right:max(12px, env(safe-area-inset-right))!important;
    bottom:calc(max(10px, env(safe-area-inset-bottom)) + var(--pskgu-sj-clearance, 0px))!important;
    top:auto!important;
    z-index:1095!important;
    display:grid!important;
    gap:8px!important;
    width:auto!important;
    max-width:1120px!important;
    max-height:min(42dvh, 360px)!important;
    margin:0 auto!important;
    padding:0!important;
    overflow:auto!important;
    box-sizing:border-box!important;
    overscroll-behavior:contain;
  }
  html body .pskgu-announcement {
    display:grid!important;
    grid-template-columns:28px minmax(0, 1fr) 34px!important;
    gap:11px!important;
    align-items:start!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:12px 14px!important;
    border:1px solid #b6cce2!important;
    border-radius:11px!important;
    background:#edf5fc!important;
    color:#142b44!important;
    box-shadow:0 3px 14px rgba(16,32,51,.15)!important;
    font:inherit!important;
  }
  html body .pskgu-announcement--warning {
    background:#fff9ed!important; border-color:#d7b879!important; color:#493727!important;
  }
  html body .pskgu-announcement--urgent {
    background:#fff0ee!important; border-color:#dfaea9!important; color:#5b2528!important;
  }
  html body .pskgu-announcement__icon {
    width:28px!important; height:28px!important; display:grid!important; place-items:center!important;
    border-radius:50%!important; background:#cee2f3!important; color:#174a78!important;
    font:700 17px/1 Arial,sans-serif!important;
  }
  html body .pskgu-announcement--warning .pskgu-announcement__icon { background:#f9e4b4!important;color:#805313!important; }
  html body .pskgu-announcement--urgent .pskgu-announcement__icon { background:#f8d5d1!important;color:#9c3d38!important; }
  html body .pskgu-announcement__copy { min-width:0!important; }
  html body .pskgu-announcement__title {
    display:block!important; margin:0 0 3px!important; color:inherit!important;
    font-family:inherit!important; font-size:14px!important; font-weight:700!important;
    line-height:1.35!important; overflow-wrap:anywhere!important;
  }
  html body .pskgu-announcement__body {
    margin:0!important; padding:0!important; color:inherit!important;
    font-family:inherit!important; font-size:13px!important; line-height:1.43!important;
    white-space:pre-line!important; overflow-wrap:anywhere!important;
  }
  html body .pskgu-announcement__close {
    appearance:none!important;display:grid!important;place-items:center!important;
    width:34px!important;height:34px!important;margin:0!important;padding:0!important;
    border:1px solid transparent!important;border-radius:7px!important;
    background:transparent!important;color:inherit!important;cursor:pointer!important;
    font:400 22px/1 Arial,sans-serif!important;
  }
  html body .pskgu-announcement__close:hover {background:rgba(77,104,133,.13)!important;}
  html body .pskgu-announcement__close:focus-visible {outline:2px solid #2875c8!important;outline-offset:2px!important;}
  html[data-theme="dark"] body .pskgu-announcement {background:#19334b!important;border-color:#365d7b!important;color:#edf6ff!important;}
  html[data-theme="dark"] body .pskgu-announcement--warning {background:#302e2b!important;border-color:#786440!important;color:#f0e8de!important;}
  html[data-theme="dark"] body .pskgu-announcement--urgent {background:#43292d!important;border-color:#82525a!important;color:#ffeae8!important;}
  html[data-theme="dark"] body .pskgu-announcement__icon {background:#284e6d!important;color:#daeeff!important;}
  html[data-theme="dark"] body .pskgu-announcement--warning .pskgu-announcement__icon {background:#55452d!important;color:#f6d08c!important;}
  html[data-theme="dark"] body .pskgu-announcement--urgent .pskgu-announcement__icon {background:#6c3c40!important;color:#ffdad5!important;}
  html body.page-schedule-detail {padding-bottom:calc(var(--pskgu-sj-clearance, 0px) + var(--pskgu-announcement-clearance, 0px))!important;}
  html body:not(.page-schedule-detail) {scroll-padding-bottom:var(--pskgu-announcement-clearance, 0px);}
}
@media screen and (max-width:700px) {
  html body .pskgu-site-announcements {
    left:6px!important;right:6px!important;
    bottom:calc(max(6px, env(safe-area-inset-bottom)) + var(--pskgu-sj-clearance,0px))!important;
    max-height:min(36dvh, 270px)!important;gap:6px!important;
  }
  html body .pskgu-announcement {
    padding:10px!important;gap:8px!important;grid-template-columns:22px minmax(0,1fr) 30px!important;
    border-radius:9px!important;
  }
  html body .pskgu-announcement__icon {width:22px!important;height:22px!important;font-size:15px!important;}
  html body .pskgu-announcement__title {font-size:12.8px!important;}
  html body .pskgu-announcement__body {font-size:12px!important;}
  html body .pskgu-announcement__close {width:30px!important;height:30px!important;}
}
@media print { html body .pskgu-site-announcements {display:none!important;} }
