/* RDR 1 ücretli yama sistemi - Destek Üye alanından tamamen ayrı */
.rdr1-original-download-hidden {
  display: none !important;
}

.rdr1-sales-panel,
.rdr1-profile-purchases {
  box-sizing: border-box;
}

.rdr1-sales-panel {
  width: 100%;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(214, 63, 52, 0.42);
  border-radius: 20px;
  color: #f7f3ed;
  background:
    radial-gradient(circle at top right, rgba(197, 45, 34, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(31, 12, 10, 0.98), rgba(7, 13, 17, 0.98));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,.04);
}

.rdr1-sales-head {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.rdr1-sales-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 148, 83, 0.46);
  border-radius: 16px;
  color: #ffb27e;
  background: linear-gradient(145deg, rgba(151, 31, 25, .66), rgba(72, 18, 14, .82));
  font-size: 23px;
}

.rdr1-sales-kicker,
.rdr1-profile-head span {
  display: block;
  margin-bottom: 5px;
  color: #ff9c71;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.4px;
}

.rdr1-sales-head h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
}

.rdr1-sales-head p {
  margin: 0;
  color: rgba(244, 229, 219, .78);
  line-height: 1.55;
}

.rdr1-sales-owner {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 146, 96, .22);
  border-radius: 14px;
  background: rgba(93, 27, 21, .24);
}

.rdr1-sales-owner.is-owner {
  border-color: rgba(60, 225, 126, .34);
  background: rgba(20, 118, 64, .15);
}

.rdr1-sales-owner > i {
  color: #ff9a6d;
  font-size: 21px;
}

.rdr1-sales-owner.is-owner > i { color: #55e890; }
.rdr1-sales-owner div { display: grid; gap: 3px; }
.rdr1-sales-owner strong { color: #fff; }
.rdr1-sales-owner span { color: rgba(239, 229, 220, .70); font-size: 12px; line-height: 1.45; }

.rdr1-sales-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.rdr1-shopier-buy,
.rdr1-download-button,
.rdr1-code-row button,
.rdr1-profile-product button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.rdr1-shopier-buy {
  color: #210a06 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 193, 150, .90);
  background: linear-gradient(135deg, #ffcf9e, #ff8a5c 48%, #cf382b);
  box-shadow: 0 11px 25px rgba(207, 56, 43, .20);
}

.rdr1-download-button,
.rdr1-profile-product button {
  color: #eafff1;
  border: 1px solid rgba(77, 240, 142, .42);
  background: linear-gradient(145deg, #167d4b, #075033);
  box-shadow: 0 11px 25px rgba(32, 255, 107, .13);
}

.rdr1-shopier-buy:hover,
.rdr1-download-button:hover,
.rdr1-code-row button:hover,
.rdr1-profile-product button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.rdr1-download-button:disabled,
.rdr1-code-row button:disabled,
.rdr1-profile-product button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.rdr1-code-area { margin-top: 17px; }
.rdr1-code-area > label { display: block; margin-bottom: 7px; color: #ffe2d2; font-size: 13px; font-weight: 900; }
.rdr1-code-area > small { display: block; margin-top: 9px; color: rgba(239, 219, 207, .63); line-height: 1.45; }

.rdr1-code-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 12px;
  color: rgba(255, 210, 188, .68);
  font-size: 12px;
  font-weight: 750;
}

.rdr1-code-separator::before,
.rdr1-code-separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 137, 93, .20);
}

.rdr1-code-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 9px;
}

.rdr1-paste-button {
  width: 44px;
  min-width: 44px;
  height: 48px;
  display: inline-grid !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(255, 145, 105, .34) !important;
  border-radius: 12px;
  color: #ffd2bd !important;
  background: rgba(84, 26, 20, .78) !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 16px;
}
.rdr1-paste-button:hover,
.rdr1-paste-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 129, 86, .78) !important;
  background: rgba(112, 35, 27, .92) !important;
  outline: none;
}

.rdr1-code-row input {
  width: 100%;
  min-width: 0;
  height: 48px;
  box-sizing: border-box;
  padding: 0 13px;
  border: 1px solid rgba(255, 145, 105, .34);
  border-radius: 12px;
  outline: none;
  color: #fff;
  background: rgba(5, 8, 11, .92);
  font: 850 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .6px;
}

.rdr1-code-row input:focus {
  border-color: rgba(255, 129, 86, .82);
  box-shadow: 0 0 0 3px rgba(207, 56, 43, .15);
}

.rdr1-code-row button {
  color: #fff4ed;
  border: 1px solid rgba(255, 140, 95, .42);
  background: linear-gradient(145deg, #9d2f25, #651b17);
}

.rdr1-sales-status:empty { display: none; }
.rdr1-sales-status { margin: 12px 0 0; padding: 10px 11px; border-radius: 10px; font-size: 12px; font-weight: 800; }
.rdr1-sales-status.is-success { color: #caffd9; border: 1px solid rgba(76,238,137,.28); background: rgba(31,183,93,.13); }
.rdr1-sales-status.is-error { color: #ffd1cd; border: 1px solid rgba(255,102,91,.30); background: rgba(214,55,44,.14); }
.rdr1-sales-status.is-info { color: #ffe0d0; border: 1px solid rgba(255,155,106,.23); background: rgba(166,55,36,.13); }
.rdr1-sales-loading { padding: 18px; color: rgba(255,255,255,.72); text-align: center; }
.rdr1-sales-load-error { border-color: rgba(255,102,91,.35); background: rgba(160,35,28,.16); }
.rdr1-sales-load-error > i { color: #ff786c; }
.rdr1-retry-actions { grid-template-columns: minmax(0, 1fr) auto; }
.rdr1-retry-button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 150, 107, .38);
  border-radius: 11px;
  color: #fff2eb;
  background: rgba(114, 34, 27, .72);
  font-weight: 850;
  cursor: pointer;
}
.rdr1-retry-button:hover { filter: brightness(1.08); }
.rdr1-inline-load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(255,102,91,.26);
  border-radius: 12px;
  color: #ffd1cd;
  background: rgba(160,35,28,.12);
}

.rdr1-profile-purchases {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 133, 88, .25);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(37, 14, 12, .82), rgba(7, 16, 21, .94));
}

.rdr1-profile-head,
.rdr1-profile-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rdr1-profile-head h3 { margin: 0; color: #fff; }
.rdr1-profile-head > i { color: #ff9b70; font-size: 24px; }

.rdr1-profile-product {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(77, 240, 142, .25);
  border-radius: 13px;
  background: rgba(17, 109, 59, .13);
}

.rdr1-profile-product > div { display: grid; gap: 4px; }
.rdr1-profile-product strong { color: #fff; }
.rdr1-profile-product small { color: rgba(224, 242, 232, .66); }
.rdr1-profile-product button { min-height: 40px; padding: 8px 13px; }
.rdr1-profile-empty { margin: 13px 0 0; color: rgba(239,229,220,.64); }

@media (max-width: 680px) {
  .rdr1-sales-panel { padding: 16px; }
  .rdr1-sales-head { flex-direction: column; }
  .rdr1-code-row { grid-template-columns: 44px minmax(0, 1fr); }
  .rdr1-retry-actions { grid-template-columns: 1fr; }
  .rdr1-code-row > button:not(.rdr1-paste-button) { grid-column: 1 / -1; width: 100%; }
  .rdr1-paste-button { width: 44px !important; }
  .rdr1-profile-product,
  .rdr1-inline-load-error { align-items: stretch; flex-direction: column; }
  .rdr1-profile-product button { width: 100%; }
}

/* Undead Nightmare - aynı satış bileşeni, ayrı görsel vurgu */
.rdr1-sales-panel[data-sale-key="rdr2"]{
  border-color:rgba(255,91,91,.32);
  box-shadow:0 20px 55px rgba(109,12,12,.18);
}
.rdr1-sales-panel[data-sale-key="rdr2"] .rdr1-sales-icon{
  color:#ff7b7b;
  background:rgba(132,26,26,.22);
  border-color:rgba(255,103,103,.25);
}
.rdr1-sales-panel[data-sale-key="rdr2"] .rdr1-sales-kicker{color:#ff9292}
.rdr1-sales-panel[data-sale-key="rdr2"] .rdr1-shopier-buy,
.rdr1-sales-panel[data-sale-key="rdr2"] .rdr1-download-button,
.rdr1-sales-panel[data-sale-key="rdr2"] #rdr2RedeemButton{
  background:linear-gradient(135deg,#8f2727,#c63f3f);
  border-color:rgba(255,123,123,.3);
}




/* v172 - Satın Alımlar artık Profilim'den tamamen ayrı ana bölüm */
.purchases-section {
  width: 100%;
  min-height: calc(100vh - 150px);
  padding: 28px 0 54px;
}

.purchases-page-container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.purchases-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.purchases-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(69, 243, 255, .20);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(8, 29, 35, .94), rgba(6, 12, 17, .98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .26);
}

.purchases-page-header span {
  display: block;
  margin-bottom: 5px;
  color: #55f3ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.5px;
}

.purchases-page-header h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
}

.purchases-page-header p {
  margin: 0;
  max-width: 680px;
  color: rgba(224, 242, 245, .70);
  line-height: 1.55;
}

.purchases-page-header > i {
  flex: 0 0 auto;
  color: #55f3ff;
  font-size: 34px;
}

#purchasesSection .rdr1-profile-purchases {
  margin-top: 0;
}

@media (max-width: 680px) {
  .purchases-section { padding: 18px 0 36px; }
  .purchases-page-container { width: min(100% - 20px, 1040px); }
  .purchases-page-header { align-items: flex-start; padding: 16px; border-radius: 16px; }
  .purchases-page-header > i { font-size: 25px; }
}
