/* Result-only skin: matches the Ancient announcement palette from r76. */
body #shiny-global-result-card.sg-result-card {
  box-sizing:border-box!important;
  left:50%!important;right:auto!important;top:max(12px,min(14vh,96px))!important;
  transform:translateX(-50%)!important;
  width:min(460px,calc(100vw - 24px))!important;
  max-height:calc(100vh - 24px)!important;
  max-height:calc(100dvh - max(12px,min(14vh,96px)) - 12px)!important;
  padding:22px!important;overflow:auto!important;overscroll-behavior:contain;
  color-scheme:dark;scrollbar-width:thin;scrollbar-color:#3199c2 #071a2a;
  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;font-family:Arial,sans-serif!important;text-align:center;
}
body #shiny-global-result-card::before {
  content:"";position:absolute;inset:0 28% auto!important;height:2px;
  background:linear-gradient(90deg,transparent,#70dcff,transparent)!important;
  pointer-events:none;
}
body #shiny-global-result-card .sg-result-ball {
  box-sizing:content-box!important;width:46px!important;height:46px!important;
  margin:0 auto 13px!important;border:3px solid #071724!important;
  box-shadow:0 0 0 1px #327895,0 0 18px #2bcfff15!important;
  animation:none!important;flex-shrink:0;
}
body #shiny-global-result-card .sg-result-ball::after {
  box-sizing:content-box!important;width:12px!important;height:12px!important;
  border-width:3px!important;
}
body #shiny-global-result-card>small {
  display:block!important;margin:0 0 7px!important;
  color:#70dcff!important;font:700 10px/1.4 Arial,sans-serif!important;
  letter-spacing:1.2px!important;
}
body #shiny-global-result-card h2 {
  display:block!important;margin:0 0 10px!important;
  color:#fff0b1!important;font:700 clamp(20px,2vw,24px)/1.2 Arial,sans-serif!important;
  text-shadow:none!important;letter-spacing:0!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
body #shiny-global-result-card.captured h2 {color:#a5eaff!important}
body #shiny-global-result-card p {
  display:block!important;margin:0 0 18px!important;
  color:#b9d5e4!important;font:400 13px/1.55 Arial,sans-serif!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
body #shiny-global-result-card .sg-actions {display:flex!important;justify-content:center!important;gap:0!important}
body #shiny-global-result-card .sg-actions button {
  box-sizing:border-box!important;flex:1!important;min-width:0!important;
  min-height:42px!important;padding:11px 16px!important;
  border:1px solid #41bbeb!important;border-radius:5px!important;
  background:linear-gradient(#1475a4,#0b4669)!important;
  color:#f1fbff!important;font:700 12px/1.4 Arial,sans-serif!important;
  letter-spacing:.5px!important;box-shadow:none!important;cursor:pointer;
  white-space:normal!important;transform:none!important;
  transition:background-color .15s,border-color .15s!important;
}
body #shiny-global-result-card .sg-actions button:hover {
  background:linear-gradient(#1989ba,#0d557c)!important;border-color:#87e0ff!important;
  filter:none!important;transform:none!important;
}
body #shiny-global-result-card .sg-actions button:active {background:#0b4669!important}
body #shiny-global-result-card .sg-actions button:focus-visible {outline:2px solid #ffe18d!important;outline-offset:3px!important}
@media(max-width:620px){
  body #shiny-global-result-card.sg-result-card {padding:18px 16px!important}
  body #shiny-global-result-card h2 {font-size:20px!important}
  body #shiny-global-result-card .sg-actions button {min-height:44px!important}
}
@media(max-height:420px){
  body #shiny-global-result-card.sg-result-card {top:12px!important;max-height:calc(100dvh - 24px)!important;padding:14px 16px!important}
  body #shiny-global-result-card .sg-result-ball {width:34px!important;height:34px!important;margin-bottom:9px!important}
  body #shiny-global-result-card p {margin-bottom:12px!important}
}
@media(prefers-reduced-motion:reduce){
  body #shiny-global-result-card,body #shiny-global-result-card * {animation:none!important;transition:none!important}
}
