/* XYNOXIA release feed: dark surfaces, silver type, restrained crimson. */
.xyn-updates-bell{position:fixed;z-index:85;right:18px;top:18px;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #343943;border-radius:999px;background:#111317;color:#F7F8FA;font:600 12px/1.2 system-ui,sans-serif;box-shadow:0 8px 28px #0004;cursor:pointer}
.xyn-updates-bell>span:first-child{font-size:22px;color:#D11F43}.xyn-updates-bell b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#D11F43;color:#fff;font-size:10px}
.xyn-updates-panel{position:fixed;z-index:100;top:72px;right:18px;width:min(410px,calc(100vw - 28px));max-height:min(76vh,700px);overflow:auto;border:1px solid #343943;border-radius:20px;background:#0D0F12;color:#F7F8FA;box-shadow:0 24px 80px #0009;font-family:system-ui,sans-serif}
.xyn-updates-panel[hidden],.xyn-updates-bell[hidden]{display:none!important}
.xyn-updates-head{display:flex;justify-content:space-between;gap:12px;padding:22px 20px 16px;border-bottom:1px solid #272B31}.xyn-updates-head p{margin:0 0 8px;color:#D11F43;font-size:10px;font-weight:800;letter-spacing:.16em}.xyn-updates-head h2{margin:0 0 5px;font-size:24px;letter-spacing:-.04em}.xyn-updates-head span{font-size:12px;color:#A4ABB5}.xyn-updates-head>button{align-self:flex-start;width:34px;height:34px;border:1px solid #343943;border-radius:50%;background:#171A1F;color:#F7F8FA;font-size:23px;cursor:pointer}
.xyn-updates-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 20px;color:#A4ABB5;font-size:10px;font-weight:800;letter-spacing:.1em}.xyn-updates-toolbar button,.xyn-updates-footer button{border:1px solid #3A3F48;border-radius:999px;background:#171A1F;color:#F7F8FA;padding:8px 11px;font-size:11px;cursor:pointer}
.xyn-updates-list{display:grid;gap:10px;padding:0 14px 14px}.xyn-update-card{padding:15px;border:1px solid #292D34;border-radius:14px;background:#111317}.xyn-update-card.is-new{border-color:#762337;background:linear-gradient(135deg,#1B1115,#111317 70%)}.xyn-update-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#9CA3AF;font-size:9px;letter-spacing:.08em}.xyn-update-meta span{color:#F07A8C;font-weight:800}.xyn-update-meta time{margin-left:auto}.xyn-update-meta b{padding:3px 6px;border-radius:5px;background:#99001B;color:white;font-size:9px}.xyn-update-card h3{margin:10px 0 6px;font-size:16px;letter-spacing:-.02em}.xyn-update-card p{margin:0;color:#C2C7CE;font-size:12px;line-height:1.55}.xyn-update-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.xyn-update-tags span{padding:4px 7px;border:1px solid #343943;border-radius:999px;color:#A4ABB5;font-size:9px}.xyn-updates-empty{padding:22px 12px;color:#A4ABB5;text-align:center;font-size:12px;line-height:1.6}
.xyn-updates-footer{display:grid;gap:9px;padding:14px 20px 20px;border-top:1px solid #272B31}.xyn-updates-footer button{justify-self:start;border-color:#7B1A30;background:#24151A}.xyn-updates-footer small{color:#8E96A1;font-size:10px;line-height:1.5}
.xyn-updates-toast{position:fixed;z-index:95;left:50%;bottom:calc(100px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:min(520px,calc(100vw - 28px));padding:14px 16px;border:1px solid #762337;border-radius:16px;background:#111317;color:#F7F8FA;text-align:left;box-shadow:0 16px 48px #0009;cursor:pointer;animation:xynToastIn .24s ease-out}.xyn-toast-mark{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#24151A;color:#D11F43;font-size:22px}.xyn-updates-toast>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}.xyn-updates-toast b{color:#F07A8C;font-size:9px;letter-spacing:.13em}.xyn-updates-toast strong{font-size:13px}.xyn-updates-toast small{overflow:hidden;color:#A4ABB5;font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.xyn-updates-toast>span:last-child{color:#D11F43}
@keyframes xynToastIn{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:760px){.xyn-updates-bell{top:10px;right:10px;min-height:42px;padding:7px 10px}.xyn-updates-bell-label{display:none}.xyn-updates-panel{top:60px;right:10px;width:calc(100vw - 20px);max-height:calc(100dvh - 150px);border-radius:17px}.xyn-updates-toast{bottom:calc(96px + env(safe-area-inset-bottom,0px));padding:12px}.xyn-updates-toast strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.xyn-updates-toast{animation:none}}

/* Mobile release panel: fit the usable viewport and scroll the feed, not the page. */
@media(max-width:760px){
  .xyn-updates-panel{
    top:12px;
    bottom:calc(104px + env(safe-area-inset-bottom,0px));
    right:10px;
    left:10px;
    width:auto;
    max-height:none;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:18px;
  }
  .xyn-updates-panel[hidden]{display:none!important}
  .xyn-updates-head{flex:0 0 auto;padding:16px 16px 13px;gap:10px}
  .xyn-updates-head p{font-size:9px;letter-spacing:.13em}
  .xyn-updates-head h2{font-size:22px}
  .xyn-updates-head span{font-size:12px;line-height:1.4}
  .xyn-updates-head>button{width:36px;height:36px;flex:0 0 36px}
  .xyn-updates-toolbar{flex:0 0 auto;padding:10px 16px;font-size:10px}
  .xyn-updates-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 12px}
  .xyn-update-card{padding:13px}
  .xyn-update-card h3{font-size:16px;line-height:1.3}
  .xyn-update-card p{font-size:12px;line-height:1.55}
  .xyn-updates-footer{flex:0 0 auto;padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px));gap:7px}
  .xyn-updates-footer button{font-size:11px;padding:9px 12px}
  .xyn-updates-footer small{font-size:10px}
  .xyn-updates-bell{top:8px;right:8px}
}
@media(max-height:650px) and (max-width:760px){
  .xyn-updates-panel{top:8px;bottom:calc(82px + env(safe-area-inset-bottom,0px))}
  .xyn-updates-head{padding:10px 13px}
  .xyn-updates-head h2{font-size:19px}
  .xyn-updates-footer{padding:9px 13px}
}
/* Keep the helper launcher clear of the dock and visibly on-brand. */
@media(max-width:760px){
  .ask-xynoxia-launcher{
    right:12px!important;
    bottom:calc(108px + env(safe-area-inset-bottom,0px))!important;
    width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
    max-width:48px!important;padding:0!important;border-radius:50%!important;
    background:#99001b!important;border:1px solid #d11f43!important;
    box-shadow:0 8px 22px #0008!important;
  }
  .ask-xynoxia-launcher>span:first-child{
    width:100%!important;height:100%!important;
    background:transparent!important;border:0!important;border-radius:50%!important;
    color:#fff!important;font-size:0!important;
  }
  .ask-xynoxia-launcher>span:first-child:after{content:"X"!important;font-size:18px!important;font-weight:800!important}
}

/* Final mobile corrections: keep updates controls away from the brand/header and dock. */
@media(max-width:760px){
 .xyn-updates-bell{top:calc(8px + env(safe-area-inset-top,0px));right:12px;z-index:85;min-width:44px;min-height:44px;justify-content:center}
 .xyn-updates-panel{top:calc(10px + env(safe-area-inset-top,0px));bottom:calc(108px + env(safe-area-inset-bottom,0px));left:10px;right:10px;width:auto;max-height:none}
 .xyn-updates-toast{bottom:calc(110px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 24px)}
}

/* Keep the release-notes pill from covering the top-right Contact Support control. */
@media (min-width:761px) {
  .xyn-updates-bell { top:100px!important; right:18px!important; }
}


/* Keep Updates in the app's top navigation instead of floating over the page. */
.topbar #xynoxiaUpdatesRoot {position:relative!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;margin-left:auto!important;z-index:20!important}
.topbar .xyn-updates-bell {
  position:static!important;inset:auto!important;transform:none!important;
  min-height:42px!important;padding:8px 12px!important;border-radius:12px!important;
  box-shadow:none!important;white-space:nowrap!important;
}
.topbar .xyn-updates-panel {position:fixed!important;top:84px!important;right:18px!important}
@media(max-width:760px){
  .topbar #xynoxiaUpdatesRoot {margin-left:0!important}
  .topbar .xyn-updates-bell {position:static!important;min-height:40px!important;padding:7px 9px!important}
  .topbar .xyn-updates-bell-label {display:inline!important}
  .topbar .xyn-updates-panel {top:72px!important;right:10px!important;left:10px!important;width:auto!important}
}
@media(max-width:500px){
  .topbar .xyn-updates-bell-label {display:none!important}
  .topbar .xyn-updates-bell {min-width:40px!important;width:40px!important;padding:6px!important}
}

/* Refined technical diamond identity for the Updates control. */
.topbar .xyn-updates-bell>span:first-child{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:21px!important;font-weight:500!important;color:#f4f6f9!important;text-shadow:0 0 12px #cbd5e122!important}
.topbar .xyn-updates-bell:hover{border-color:#667080!important;background:linear-gradient(145deg,#1b2029,#101216)!important}
.topbar .xyn-updates-bell:focus-visible{outline:2px solid #d11f43!important;outline-offset:3px!important}
