/* V39: site notifications, missing pages and account-form close buttons only.
 * The protected Market document and account-tool window are not styled here. */
#site-message { z-index:400; padding:20px; }
#site-message .site-message-backdrop { background:rgba(8,8,9,.78); backdrop-filter:blur(6px); cursor:default; }
#site-message .site-message-dialog {
  box-sizing:border-box; width:min(480px,100%); max-height:calc(100svh - 40px);
  padding:40px 32px 28px; overflow:auto; overscroll-behavior:contain;
  border:1px solid #48484b; border-top:3px solid #97404b; border-radius:8px;
  background:linear-gradient(145deg,#272728,#1d1d1f); box-shadow:0 24px 80px #0009;
  color:#ededee; text-align:center; scrollbar-color:#626267 #222224;
}
#site-message .site-message-dialog.is-success { border-top-color:#789986; }
#site-message .site-message-mark {
  display:grid; place-items:center; width:64px; height:64px; margin:0 auto 22px;
  border:1px solid #854550; border-radius:50%; background:#97374318; color:#e4a7ae;
  font:400 32px/1 Arial,sans-serif;
}
#site-message .is-success .site-message-mark { border-color:#587262; background:#739d8015; color:#aacdb8; }
#site-message .site-message-title { margin:0 16px 14px; color:#ededee; font:500 24px/1.35 Georgia,serif; letter-spacing:.015em; overflow-wrap:anywhere; }
#site-message .site-message-text { margin:0 0 28px; color:#c8c8ce; font:400 16px/1.65 Arial,sans-serif; white-space:pre-line; overflow-wrap:anywhere; }
#site-message .site-message-confirm, .s39-error-card .s39-home-link {
  box-sizing:border-box; display:inline-flex; justify-content:center; align-items:center;
  min-height:48px; padding:12px 28px; border:1px solid #ad5661; border-radius:4px;
  background:linear-gradient(#98343f,#782731); color:#fff; font:600 14px/1.5 Arial,sans-serif;
  text-decoration:none; letter-spacing:.04em; cursor:pointer;
}
#site-message .site-message-confirm { width:100%; }
#site-message .site-message-confirm:hover, .s39-error-card .s39-home-link:hover { background:linear-gradient(#aa414d,#8d303b); border-color:#c27680; }
#site-message .site-message-close, html:not([data-active-view]) body.journey-account-page .back-button[data-back-panel] {
  box-sizing:border-box; display:grid; place-items:center; flex:none; width:44px; height:44px;
  padding:0; border:1px solid #4b4b50!important; border-radius:5px; background:#2c2c2f!important;
  color:#d4d4da!important; line-height:1; cursor:pointer; transition:background .15s,border-color .15s;
}
#site-message .site-message-close { position:absolute; top:12px; right:12px; }
#site-message .site-message-close svg, html:not([data-active-view]) body.journey-account-page .back-button[data-back-panel] svg { display:block!important; width:20px!important; height:20px!important; pointer-events:none; }
#site-message .site-message-close:hover, html:not([data-active-view]) body.journey-account-page .back-button[data-back-panel]:hover { background:#493036!important; border-color:#a15b65!important; color:#fff!important; }
#site-message :is(button,a):focus-visible, .s39-error-card a:focus-visible, html:not([data-active-view]) body.journey-account-page .back-button[data-back-panel]:focus-visible { outline:2px solid #d7a5ad!important; outline-offset:3px; }
html.site-message-open, body.site-message-open { overflow:hidden!important; overscroll-behavior:none; }

html[data-active-view="notFound"] #inner-page-shell {
  display:grid; place-items:center; min-height:100svh; padding:130px 24px 64px!important;
  background:radial-gradient(ellipse at 50% 90%,#45454830,transparent 65%),linear-gradient(155deg,#202021,#19191a 55%,#252527)!important;
}
html[data-active-view="notFound"] .inner-page-body { width:100%; max-width:600px; margin:0 auto; }
.s39-error-document { box-sizing:border-box; margin:0; min-height:100svh; display:grid; place-items:center; padding:24px; background:linear-gradient(155deg,#202021,#19191a 55%,#252527); color:#ededee; font:400 16px/1.65 Arial,sans-serif; }
.s39-error-document.s39-error-embed { min-height:360px; padding:12px; background:transparent; }
.s39-error-card, html[data-active-view="notFound"] #not-found-view {
  box-sizing:border-box; width:100%; max-width:600px; margin:0 auto; padding:44px 32px;
  border:1px solid #414145; border-top:3px solid #87404a; border-radius:8px;
  background:linear-gradient(145deg,#272728,#202022); box-shadow:0 20px 60px #0003; text-align:center;
}
.s39-error-card .not-found-code { display:block; margin:0 0 20px; color:#cdb482; font:400 clamp(72px,14vw,112px)/1 Georgia,serif; letter-spacing:.05em; }
.s39-error-card h1 { margin:0 0 16px; color:#ededee; font:500 clamp(26px,4vw,34px)/1.25 Georgia,serif; overflow-wrap:anywhere; }
.s39-error-card p { margin:0 auto 28px; max-width:440px; color:#bdbdc5; font:400 16px/1.65 Arial,sans-serif; overflow-wrap:anywhere; }
@media(max-width:600px) {
  #site-message { padding:14px; }
  #site-message .site-message-dialog { max-height:calc(100svh - 28px); padding:52px 22px 24px; }
  #site-message .site-message-title { font-size:22px; margin-inline:0; }
  .s39-error-card, html[data-active-view="notFound"] #not-found-view { padding:32px 22px; }
  html[data-active-view="notFound"] #inner-page-shell { padding:148px 16px 40px!important; }
  .s39-error-card .s39-home-link { width:100%; }
}
@media(prefers-reduced-motion:reduce) { #site-message *, .back-button[data-back-panel] { transition:none!important; } }
