/* A brief, inline receipt after the gear has been saved. Never covers controls. */
#shop .shop-header { flex-wrap: wrap; }
#fusion-reveal[hidden] { display: none; }
#fusion-reveal {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 38px;
  align-items: center;
  flex: 1 0 100%;
  gap: 10px;
  min-width: 0;
  margin-top: 10px;
  padding: 8px 8px 8px 4px;
  border: 1px solid #9c825b;
  border-left: 3px solid #efc284;
  border-radius: 2px 12px 2px 12px;
  background: linear-gradient(112deg, #3c3334, #262d31 42%, #17262d);
  box-shadow: inset 0 1px #fff0c01c;
}
.fusion-reveal-art {
  display: grid;
  place-items: center;
  width: 88px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #efc78d32, #efc78d00 72%);
}
.fusion-reveal-art canvas { display: block; width: 88px; height: 52px; }
.fusion-reveal-copy { min-width: 0; }
#fusion-reveal .micro { display: block; color: #efc284; font-size: 9px; letter-spacing: .08em; }
#fusion-reveal-name { display: block; margin-top: 2px; color: #fff0d4; font-size: 20px; line-height: 1.05; overflow-wrap: anywhere; }
#fusion-reveal-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 5px; }
#fusion-reveal-stats > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 5px; }
#fusion-reveal-stats small { color: #b5c4c6; font-size: 10px; }
#fusion-reveal-stats b { color: #f4e8c7; font: 650 11px/1.2 var(--mono); }
#fusion-reveal-details { margin: 4px 0 0; color: #b3c2c2; font-size: 10px; line-height: 1.25; }
#fusion-reveal-close {
  display: grid;
  place-items: center;
  align-self: start;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid #738280;
  border-radius: 3px 7px 3px 7px;
  background: #14232bbf;
  color: #e8dbbf;
  font: 400 23px/1 system-ui, sans-serif;
  cursor: pointer;
}
#fusion-reveal-close:hover { background: #394139; }
#fusion-reveal-close:focus-visible, #fusion-reveal-close[data-pad-focus] { outline: 2px solid var(--lime); outline-offset: 2px; }
#fusion-reveal-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#fusion-reveal[data-motion="full"] .fusion-reveal-art { animation: forge-seat .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes forge-seat { from { transform: scale(.82); opacity: .3; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 480px) {
  #fusion-reveal { grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 5px; max-height: 110px; padding: 6px 6px 6px 2px; overflow: hidden; }
  .fusion-reveal-art { width: 48px; height: 52px; }
  .fusion-reveal-art canvas { width: 48px; height: 34px; }
  #fusion-reveal .micro { font-size: 8px; line-height: 1.1; }
  #fusion-reveal-name { font-size: 17px; }
  #fusion-reveal-stats { display: grid; gap: 3px; margin-top: 4px; }
  #fusion-reveal-stats > span { display: block; }
  #fusion-reveal-stats small { display: block; font-size: 8px; line-height: 1.1; }
  #fusion-reveal-stats b { display: block; font-size: 9px; line-height: 1.1; }
  #fusion-reveal-details { margin-top: 3px; font-size: 9px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #fusion-reveal-close { width: 44px; min-height: 44px; }
}
@media (max-height: 420px) {
  #fusion-reveal { grid-template-columns: 58px minmax(0, 1fr) 44px; gap: 5px; margin-top: 5px; padding-block: 4px; }
  .fusion-reveal-art { width: 58px; height: 42px; }
  .fusion-reveal-art canvas { width: 58px; height: 38px; }
  #fusion-reveal .micro { font-size: 8px; }
  #fusion-reveal-name { display: inline; margin: 0 8px 0 0; font-size: 15px; }
  #fusion-reveal-stats { display: inline-flex; gap: 2px 10px; margin: 1px 0 0; }
  #fusion-reveal-stats small, #fusion-reveal-stats b { font-size: 9px; }
  #fusion-reveal-details { font-size: 9px; margin-top: 2px; }
  #fusion-reveal-close { width: 44px; min-height: 44px; }
}
/* A short frame has room for a receipt strip, not a second panel.
   The complete comparison and part receipt remain in the polite announcement. */
@media (max-height: 600px) {
  #fusion-reveal { grid-template-columns: 46px minmax(0, 1fr) 44px; gap: 5px; box-sizing: border-box; height: 48px; min-height: 48px; max-height: 48px; margin-top: 4px; padding: 1px 4px 1px 2px; overflow: hidden; }
  .fusion-reveal-art { width: 46px; height: 40px; }
  .fusion-reveal-art canvas { width: 46px; height: 32px; }
  #fusion-reveal .micro, #fusion-reveal-details { display: none; }
  #fusion-reveal-name { display: block; margin: 0; font-size: 14px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #fusion-reveal-name::before { content: 'IV / '; color: #efc284; font-size: 10px; }
  #fusion-reveal-stats { display: block; margin: 3px 0 0; }
  #fusion-reveal-stats > span { display: flex; gap: 4px; align-items: baseline; }
  #fusion-reveal-stats > span + span { display: none; }
  #fusion-reveal-stats small, #fusion-reveal-stats b { display: inline; font-size: 9px; line-height: 1.1; }
  #fusion-reveal-close { align-self: center; }
}
/* Leave a usable inventory lane while the brief strip is visible in landscape.
   The ordinary Armory heading returns as soon as the receipt closes. */
@media (max-height: 360px) and (orientation: landscape) {
  #shop .shop-header:has(#fusion-reveal:not([hidden])) { gap: 4px 10px; padding: 4px max(12px, calc(var(--bench-cut) + 3px)) 4px 12px; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) #shop-title { margin: 0; font-size: 22px; line-height: 1; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) .eyebrow { margin: 0 0 2px; font-size: 8px; line-height: 1; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) .shop-bank { gap: 6px; padding: 4px; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) .shop-bank > div { display: flex; align-items: baseline; gap: 5px; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) .shop-bank .micro { font-size: 8px; line-height: 1; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) .shop-bank strong { margin: 0; font-size: 20px; line-height: 1; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) .armory-cash-icon { width: 20px; height: 20px; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) .armory-cash-icon svg { width: 18px; }
  #shop .shop-header:has(#fusion-reveal:not([hidden])) #fusion-reveal { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { #fusion-reveal .fusion-reveal-art { animation: none; } }
