.resource-delivery-backdrop {
  position: fixed; inset: 0; z-index: 11000; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgb(0 0 0 / 78%); backdrop-filter: blur(7px);
}
.resource-delivery-dialog {
  position: relative; width: min(100%, 560px); max-height: calc(100dvh - 48px); overflow: auto;
  box-sizing: border-box; border: 1px solid #565038; border-radius: 22px; padding: 28px;
  background: linear-gradient(150deg, #181d17, #0e120f); color: #f5f3e9;
  box-shadow: 0 24px 100px rgb(0 0 0 / 60%); text-align: center; scrollbar-width: thin; scrollbar-color: #60583b #121810;
}
.resource-delivery-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center;
  padding: 0; border: 1px solid #434632; border-radius: 10px; background: #22271e; color: #e2d8b4;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.resource-delivery-kicker { display: inline-block; margin-top: 2px; color: #91cca6; font-size: 12px; letter-spacing: .06em; }
.resource-delivery-dialog h2 { margin: 8px 0; font-size: 28px; line-height: 1.35; color: #f7f4e8; }
.resource-delivery-description { max-width: 400px; margin: 0 auto 16px; color: #acafa2; font-size: 14px; line-height: 1.7; }
.resource-delivery-card { padding: 18px 16px; background: #1b211a; border: 1px solid #3b402e; border-radius: 16px; }
.resource-delivery-provider { margin: 0 0 8px; font-size: 20px; color: #e1cf92; }
.resource-delivery-game { margin: 0 auto 18px; max-width: 340px; overflow-wrap: anywhere; color: #b6b9ab; font-size: 13px; line-height: 1.6; }
.resource-delivery-qr-frame { display: inline-flex; padding: 16px; background: #fff; border-radius: 14px; line-height: 0; }
.resource-delivery-qr { display: block; width: 256px; height: 256px; max-width: 100%; object-fit: contain; image-rendering: pixelated; }
.resource-delivery-code { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: #adb3a2; }
.resource-delivery-code strong { font-family: ui-monospace, monospace; font-size: 18px; letter-spacing: .1em; color: #e4cc82; user-select: all; }
.resource-delivery-code button { padding: 6px 12px; border: 1px solid #6d6037; border-radius: 7px; background: #302c1c; color: #e1cc85; font-weight: 600; cursor: pointer; }
.resource-delivery-open { display: block; margin-top: 18px; padding: 14px 18px; background: #d5bd75; color: #15170f; border-radius: 10px; text-decoration: none; font-weight: 750; }
.resource-delivery-footnote { margin: 12px 0 0; color: #8f9687; font-size: 12px; line-height: 1.7; }
.resource-delivery-dialog :focus-visible, .resolve-verification-dialog :focus-visible { outline: 2px solid #dec982; outline-offset: 4px; }
.resolve-verification-test-notice { padding: 10px 12px; border: 1px solid #80642c; border-radius: 9px; background: #392d16; color: #f2d493 !important; font-size: 12px !important; line-height: 1.6; }
@media (max-width: 600px) {
  .resource-delivery-backdrop { padding: 12px; }
  .resource-delivery-dialog { padding: 28px 14px 20px; border-radius: 18px; max-height: calc(100dvh - 24px); }
  .resource-delivery-dialog h2 { font-size: 24px; }
  .resource-delivery-card { padding: 18px 8px; }
  .resource-delivery-qr-frame { padding: 12px; }
  .resource-delivery-qr { width: 240px; height: 240px; }
}
