/* Isolated presentation. Load explicitly when a feature is connected later. */
.gold-anchored-notice{
  position:fixed;inset:auto;box-sizing:border-box;max-width:none;margin:0;padding:0;
  border:1px solid var(--card-border,rgba(120,220,255,.28));border-radius:20px;
  background:#173b53;color:var(--color-text,#eaf6ff);
  font-family:var(--font-main,'Cairo',system-ui,sans-serif);text-align:right;direction:rtl;
  box-shadow:0 12px 35px rgba(3,12,24,.4);overflow:visible;
}
.gold-anchored-notice[open]{display:block}
.gold-anchored-notice:modal,.gold-anchored-notice-content{overscroll-behavior:contain}
.gold-anchored-notice::backdrop{
  background:rgba(4,14,29,.69);overflow:hidden;overscroll-behavior:contain;
  animation:goldAnchoredNoticeBackdropIn 220ms ease-out;
}
.gold-anchored-notice.is-closing::backdrop{animation:goldAnchoredNoticeBackdropOut 180ms ease-in forwards}
.gold-anchored-notice::before{
  content:"";position:absolute;top:-6px;left:calc(var(--notice-arrow-x,50%) - 5px);
  width:10px;height:10px;transform:rotate(45deg);pointer-events:none;
  background:#173b53;border-top:1px solid var(--card-border,rgba(120,220,255,.28));
  border-left:1px solid var(--card-border,rgba(120,220,255,.28));
}
.gold-anchored-notice[data-side="above"]::before{top:auto;bottom:-6px;transform:rotate(225deg)}
.gold-anchored-notice-content{
  display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;
  max-height:var(--notice-max-height,calc(100dvh - 34px));padding:20px;overflow-y:auto;border-radius:19px;
}
.gold-anchored-notice p{flex:1;min-width:0;margin:0;font-size:15px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
.gold-anchored-notice button{
  flex:none;min-height:44px;padding:6px 16px;border:1px solid var(--card-border,rgba(120,220,255,.28));border-radius:10px;
  background:rgba(169,207,227,.045);color:var(--color-text,#eaf6ff);font:inherit;font-size:14px;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.gold-anchored-notice button:active{background:rgba(94,231,255,.14)}
.gold-anchored-notice:focus{outline:none}
.gold-anchored-notice button:focus-visible{outline:2px solid var(--color-focus,#7ceaf5);outline-offset:3px}
@keyframes goldAnchoredNoticeBackdropIn{from{background:transparent}to{background:rgba(4,14,29,.69)}}
@keyframes goldAnchoredNoticeBackdropOut{from{background:rgba(4,14,29,.69)}to{background:transparent}}
@media(prefers-reduced-motion:reduce){.gold-anchored-notice::backdrop,.gold-anchored-notice.is-closing::backdrop{animation:none}}
