/* Shared announcement palette. Gameplay and event state remain native. */
body #shiny-global-card.sg-card,
body #weekly-pass-welcome.weekly-pass-welcome {
  box-sizing:border-box!important;left:50%!important;right:auto!important;
  top:calc(var(--rh-buffs-top,76px) + 8px)!important;transform:translateX(-50%)!important;
  width:min(560px,calc(100vw - 24px))!important;max-height:calc(100dvh - 120px)!important;
  border:1px solid #3199c2!important;border-radius:3px 14px 3px 14px!important;
  background:linear-gradient(135deg,#0b2b41,#041523 75%)!important;
  box-shadow:0 12px 32px #0008,inset 0 0 0 3px #082238!important;
  color:#e7f5fd!important;animation:none!important;overflow:auto!important;
}
body #shiny-global-card .sg-main {display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;min-height:0!important}
body #shiny-global-card .sg-art {display:grid!important;place-items:center!important;min-width:0!important;background:#082033!important;border-right:1px solid #24516a!important}
body #shiny-global-card .sg-art-orbit {width:72px!important;height:72px!important;border:1px solid #327895!important;background:#051624!important;box-shadow:0 0 18px #2bcfff15!important}
body #shiny-global-card .sg-art-orbit:after {color:#ffd569!important}
body #shiny-global-card .sg-art canvas {width:68px!important;height:68px!important;object-fit:contain!important;image-rendering:pixelated!important}
body #shiny-global-card .sg-content {min-width:0!important;padding:18px!important}
body #shiny-global-card small {font:700 10px/1.4 Arial,sans-serif!important;letter-spacing:1.2px!important;color:#70dcff!important}
body #shiny-global-card h2 {display:block!important;margin:6px 0!important;overflow:visible!important;font:700 clamp(18px,2vw,24px)/1.15 Arial,sans-serif!important;color:#fff0b1!important;text-shadow:none!important;overflow-wrap:anywhere!important}
body #shiny-global-card p {display:block!important;margin:0 0 12px!important;overflow:visible!important;font:12px/1.5 Arial,sans-serif!important;color:#b9d5e4!important}
body #shiny-global-card .sg-meta {display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:0 0 12px!important}
body #shiny-global-card .sg-meta span {padding:5px 6px!important;border:1px solid #28556e!important;border-radius:4px!important;background:#081c2d!important;color:#b6dce9!important;font:700 8px/1.3 Arial,sans-serif!important}
body #shiny-global-card .sg-bossbar {height:5px!important;margin:0 0 12px!important;background:#102c40!important;border:0!important}
body #shiny-global-card .sg-bossbar i {background:linear-gradient(90deg,#ee6073,#ffd16d)!important}
body #shiny-global-card .sg-actions {display:grid!important;grid-template-columns:minmax(0,1fr) 94px!important;gap:8px!important}
body #shiny-global-card .sg-actions button,
body #weekly-pass-welcome .weekly-pass-welcome-action {
  min-height:40px!important;padding:10px 12px!important;border:1px solid #41bbeb!important;border-radius:5px!important;
  background:linear-gradient(#1475a4,#0b4669)!important;color:#f1fbff!important;
  font:700 11px/1.2 Arial,sans-serif!important;letter-spacing:.3px!important;box-shadow:none!important;white-space:normal!important;
}
body #shiny-global-card .sg-actions .sg-close {border-color:#365c73!important;background:#0c2639!important;color:#bfd8e5!important}
body #weekly-pass-welcome.weekly-pass-welcome {display:grid;grid-template-columns:60px minmax(0,1fr) auto!important;gap:14px!important;padding:16px 48px 16px 16px!important}
body #weekly-pass-welcome .weekly-pass-welcome-art {width:56px!important;height:56px!important;border:1px solid #ae8a40!important;border-radius:5px 12px!important;background:linear-gradient(140deg,#594626,#20241f)!important;box-shadow:none!important;transform:none!important}
body #weekly-pass-welcome .weekly-pass-welcome-art b {font:800 28px/1 Arial!important;color:#ffe38a!important}
body #weekly-pass-welcome .weekly-pass-welcome-art span {font-size:8px!important;color:#b2dfef!important}
body #weekly-pass-welcome .weekly-pass-welcome-copy {gap:5px!important}
body #weekly-pass-welcome .weekly-pass-welcome-copy small {font:700 9px/1.3 Arial!important;letter-spacing:1px!important;color:#72d8fa!important}
body #weekly-pass-welcome .weekly-pass-welcome-copy strong {font:700 clamp(17px,2vw,23px)/1.12 Arial!important;letter-spacing:.2px!important;color:#fff0b1!important;text-shadow:none!important}
body #weekly-pass-welcome .weekly-pass-welcome-copy span {font:11px/1.4 Arial!important;color:#b9d5e4!important}
body #weekly-pass-welcome .weekly-pass-welcome-close {right:10px!important;top:10px!important;width:28px!important;height:28px!important;border-color:#365c73!important;border-radius:5px!important;background:#0c2639!important;color:#d8f2ff!important}
body #weekly-pass-welcome .weekly-pass-welcome-timer {right:15px!important;bottom:12px!important;font:10px/1 Arial!important;color:#9cbbce!important}
body .weekly-pass-window,body .boss-forge-shell {border-color:#3199c2!important;border-radius:5px 16px!important;background:linear-gradient(145deg,#0b263b,#061523 72%)!important;box-shadow:0 18px 50px #0009!important;color:#e4f3fc!important}
body .weekly-pass-window>header,body .boss-forge-shell>header {background:linear-gradient(120deg,#10334a,#0a2032)!important;border-bottom-color:#285b77!important}
body .weekly-pass-window>header h2,body .boss-forge-shell>header h2 {color:#fff0b1!important;font-family:Arial,sans-serif!important}
body .weekly-pass-window :is(.weekly-pass-day,.weekly-pass-summary,.weekly-pass-special),body .boss-forge-card {border-color:#294c63!important;background-color:#0a1d2e!important}
body .boss-forge-system-entry>img {display:block!important;width:28px!important;height:28px!important;object-fit:contain!important;filter:none!important}
body :is(#shiny-global-card,#weekly-pass-welcome) button:focus-visible {outline:2px solid #ffe18d!important;outline-offset:2px!important}

/* Adjustable compact panels: bounds and saved sizes are owned by the HUD. */
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .panel:is(.hunt-analyzer-panel,.auto-helper-panel).collapsed {padding:4px 24px 4px 10px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .panel:is(.hunt-analyzer-panel,.auto-helper-panel).collapsed>.rh-panel-resize {display:block!important;right:5px!important;bottom:5px!important;width:16px!important;height:16px!important;border-color:#50c6ed!important;border-radius:0!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body :is(.hunt-analyzer-panel,.auto-helper-panel).collapsed :is(#minimize-hunt-analyzer,#minimize-auto-helper,.rh-helper-config) {width:var(--rh-control-size)!important;min-width:var(--rh-control-size)!important;height:var(--rh-control-size)!important;min-height:var(--rh-control-size)!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .auto-helper-panel.collapsed .auto-helper-compact {height:100%!important;gap:3px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .auto-helper-panel.collapsed .auto-helper-compact>span:nth-child(n) {display:flex!important;flex-direction:column!important;justify-content:center!important;gap:1px!important;height:100%!important;padding:0 1px!important;background:transparent!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .auto-helper-panel.collapsed .auto-helper-compact :is(.helper-compact-ball-host,.helper-compact-ball-host>canvas,.helper-compact-ball-host>.ball-sheet-frame,span>img) {flex:0 0 var(--rh-icon-size)!important;width:var(--rh-icon-size)!important;min-width:var(--rh-icon-size)!important;max-width:var(--rh-icon-size)!important;height:var(--rh-icon-size)!important;min-height:var(--rh-icon-size)!important;max-height:var(--rh-icon-size)!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .auto-helper-panel.collapsed .auto-helper-compact>span b {font-size:var(--rh-text-size)!important;line-height:1.1!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .auto-helper-panel.collapsed .auto-helper-compact>span.resource-empty::after {top:1px!important;right:1px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .hunt-analyzer-panel.collapsed .analyzer-compact {grid-template-columns:repeat(4,minmax(0,1fr))!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .hunt-analyzer-panel.collapsed .analyzer-compact>span {height:auto!important;min-height:28px!important;flex-wrap:wrap!important;padding:0 3px!important;font-size:var(--rh-text-size)!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .hunt-analyzer-panel.collapsed .analyzer-compact b {font-size:var(--rh-text-size)!important;overflow-wrap:anywhere!important;line-height:1.15!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body .hunt-analyzer-panel.collapsed #rh-helper-toggle {height:var(--rh-control-size)!important;min-width:60px!important;font-size:var(--rh-text-size)!important}
.rh-mail-grip {display:none}
html.reference-hud body #mailbox-floating-letter {touch-action:none!important;cursor:grab!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #mailbox-floating-letter .rh-mail-grip {display:grid!important;place-items:center!important;position:absolute;left:2px;top:3px;width:18px;height:24px;color:#8edcf4;font:18px/1 Arial;z-index:2}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #mailbox-floating-letter .rh-mail-icon {left:20px!important;top:11px!important;width:26px!important;height:24px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next:not(.rh-boss-fold) {padding:10px 40px 10px 70px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next:not(.rh-boss-fold)>#rh-boss-art {width:48px!important;height:56px!important;left:15px!important;top:10px!important;object-fit:contain!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next:not(.rh-boss-fold) :is(small,em) {font-size:10px!important;line-height:14px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next:not(.rh-boss-fold) b {font-size:22px!important;line-height:26px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next>#rh-boss-fold {display:grid!important;place-items:center!important;position:absolute!important;inset:calc(50% - 14px) 9px auto auto!important;width:28px!important;height:28px!important;border:1px solid #296a88!important;border-radius:5px!important;background:#0a293d!important;color:#8be3ff!important;font:700 19px/1 Arial!important;cursor:pointer!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next.rh-boss-fold>#rh-boss-clock {font-size:20px!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next:not(.rh-boss-fold)>span:not(#rh-boss-fold) {gap:0!important}
html.reference-hud.reference-hud.reference-hud.reference-hud.reference-hud body #shiny-global-next:not(.rh-boss-fold) :is(small,em,b) {flex-shrink:0!important;height:auto!important;margin:0!important;overflow:visible!important}
@media(max-width:620px){
 body #shiny-global-card.sg-card,body #weekly-pass-welcome.weekly-pass-welcome {top:68px!important;width:calc(100vw - 20px)!important;max-height:calc(100dvh - 88px)!important}
 body #shiny-global-card .sg-main {grid-template-columns:64px minmax(0,1fr)!important}
 body #shiny-global-card .sg-art-orbit {width:52px!important;height:52px!important}
 body #shiny-global-card .sg-art canvas {width:48px!important;height:48px!important}
 body #shiny-global-card .sg-content {padding:12px!important}
 body #shiny-global-card .sg-actions {grid-template-columns:1fr!important}
 body #shiny-global-card .sg-actions button {min-height:42px!important}
 body #weekly-pass-welcome.weekly-pass-welcome {grid-template-columns:50px minmax(0,1fr)!important;gap:10px!important;padding:14px 42px 14px 12px!important}
 body #weekly-pass-welcome .weekly-pass-welcome-art {width:46px!important;height:52px!important}
 body #weekly-pass-welcome .weekly-pass-welcome-action {grid-column:1/-1!important;justify-content:center!important;min-height:42px!important}
 body .weekly-pass-window>header {gap:8px!important;padding:12px!important}
}
