.dlc-presale-dialog {
  width: min(648px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  letter-spacing: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  overflow: hidden;
  user-select: text;
}

.dlc-presale-dialog[open] { display: flex; flex-direction: column; }
.dlc-presale-dialog::backdrop { background: rgba(0, 0, 0, .65); }

.dlc-presale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 12px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.dlc-presale-header h2 { font-size: 18px; line-height: 1.5; font-weight: 600; }
.dlc-presale-close { width: 36px; height: 36px; flex-shrink: 0; border-radius: 4px; color: #4b5563; font-size: 28px; line-height: 1; }
.dlc-presale-close:hover { background: #f3f4f6; }
.dlc-presale-body { min-height: 0; padding: 16px 23px 20px; overflow-y: auto; overscroll-behavior: contain; }
.dlc-presale-body p { margin: 0 0 16px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.dlc-presale-body p a { color: #1d4ed8; text-underline-offset: 3px; }
.dlc-presale-artwork { display: block; width: 100%; max-width: 600px; height: auto; aspect-ratio: 1; margin: 0 auto; object-fit: contain; }
.dlc-presale-footer { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 10px; flex-shrink: 0; padding: 14px 20px; border-top: 1px solid #e5e7eb; background: #f9fafb; }
.dlc-presale-buy { text-decoration: none; text-align: center; }
.dlc-presale-dialog button:focus-visible, .dlc-presale-dialog a:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }

@media (max-width: 600px) {
  .dlc-presale-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .dlc-presale-header { padding: 10px 14px; }
  .dlc-presale-header h2 { font-size: 16px; }
  .dlc-presale-body { padding: 14px; }
  .dlc-presale-body p { font-size: 14px; }
  .dlc-presale-footer { padding: 12px 14px; }
}
