/* ==========================================================================
   Çekiliş (Giveaway) sayfaları — ortak tema
   --------------------------------------------------------------------------
   Site geneli Bootstrap 3.3 kullanır; Bootstrap 5 yardımcı sınıfları (d-flex,
   gap-*, fw-bold, badge bg-* ...) burada YOKTUR. Bu yüzden çekiliş sayfalarının
   tüm görünümü "cx-" önekli sınıflarla bu dosyada tanımlanır.
   Bootstrap 5 kullanan bağımsız yönetim sayfaları (giveaways/edit, story_desk)
   için ek düzeltmeler en altta ".cx-bs5" kapsamı altındadır.
   ========================================================================== */

:root {
  --cx-primary: #0f5660;
  --cx-primary-hover: #0c4850;
  --cx-primary-soft: #e7f1f2;
  --cx-accent: #ffb72f;
  --cx-accent-hover: #f4a91c;
  --cx-accent-soft: #fff6e0;
  --cx-on-accent: #1f2328;
  --cx-bg: #f4f7f8;
  --cx-surface: #ffffff;
  --cx-surface-alt: #f8fbfb;
  --cx-border: #dce5e8;
  --cx-border-strong: #b9ced4;
  --cx-text: #1e2328;
  --cx-muted: #60707a;

  --cx-success: #15803d;
  --cx-success-soft: #dcfce7;
  --cx-danger: #b42318;
  --cx-danger-soft: #fee4e2;
  --cx-warning: #a15c07;
  --cx-warning-soft: #fef3c7;
  --cx-info: #1d4ed8;
  --cx-info-soft: #e0ecff;
  --cx-neutral: #475569;
  --cx-neutral-soft: #eef2f5;

  --cx-radius: 18px;
  --cx-radius-sm: 10px;
  --cx-shadow: 0 14px 34px rgba(15, 86, 96, .08);
  --cx-shadow-sm: 0 6px 18px rgba(15, 86, 96, .08);
  --cx-gradient: linear-gradient(90deg, var(--cx-primary), var(--cx-accent));
  --cx-font: 'Poppins', sans-serif;
  --cx-mono: 'Space Mono', SFMono-Regular, Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------------------
   Sayfa iskeleti
   -------------------------------------------------------------------------- */
.cx-body { background: var(--cx-bg); }

.cx-page {
  font-family: var(--cx-font);
  color: var(--cx-text);
  background: linear-gradient(180deg, #f8fbfc 0%, var(--cx-bg) 100%);
  padding: 36px 0 64px;
  font-size: 14px;
  line-height: 1.6;
}
.cx-page *, .cx-page *::before, .cx-page *::after { box-sizing: border-box; }
.cx-page p { font-family: var(--cx-font); color: var(--cx-muted); font-size: 14px; font-weight: 400; line-height: 1.65; margin: 0 0 10px; }
.cx-page img { max-width: 100%; }

.cx-wrap { width: 100%; max-width: 1140px; margin: 0 auto; }
.cx-wrap--sm { max-width: 780px; }
.cx-wrap--md { max-width: 960px; }

/* --------------------------------------------------------------------------
   Tipografi
   -------------------------------------------------------------------------- */
.cx-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--cx-primary); margin-bottom: 6px;
}
.cx-page .cx-title { font-family: var(--cx-font); font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--cx-primary); margin: 0 0 6px; word-break: break-word; }
.cx-page .cx-title--lg { font-size: 30px; }
.cx-page .cx-subtitle { font-size: 14px; color: var(--cx-muted); margin: 0; }
.cx-page .cx-section-title {
  font-family: var(--cx-font); font-size: 17px; font-weight: 700; color: var(--cx-primary);
  margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px dashed #e2ebee;
  display: flex; align-items: center; gap: 10px;
}
.cx-page .cx-h3 { font-family: var(--cx-font); font-size: 18px; font-weight: 700; color: var(--cx-text); margin: 0 0 8px; line-height: 1.35; }
.cx-page .cx-h4 { font-family: var(--cx-font); font-size: 16px; font-weight: 700; color: var(--cx-primary); margin: 0; line-height: 1.35; }
.cx-step-no {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--cx-primary); color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.cx-muted { color: var(--cx-muted) !important; }
.cx-small { font-size: 12.5px; }
.cx-strong { font-weight: 700; }
.cx-break { word-break: break-all; overflow-wrap: anywhere; }
.cx-text-center { text-align: center; }
.cx-text-success { color: var(--cx-success) !important; }
.cx-text-danger { color: var(--cx-danger) !important; }
.cx-text-accent { color: #c77d00 !important; }
.cx-text-primary { color: var(--cx-primary) !important; }
.cx-req { color: var(--cx-danger); font-weight: 700; }

.cx-link, .cx-link:focus { color: var(--cx-primary); font-weight: 600; text-decoration: none; }
.cx-link:hover { color: var(--cx-primary-hover); text-decoration: underline; }
.cx-link--muted, .cx-link--muted:focus { color: var(--cx-muted); font-weight: 500; }
.cx-link--muted:hover { color: var(--cx-primary); }

/* --------------------------------------------------------------------------
   Yardımcı yerleşim sınıfları
   -------------------------------------------------------------------------- */
.cx-flex { display: flex; align-items: center; }
.cx-flex--start { align-items: flex-start; }
.cx-flex--wrap { flex-wrap: wrap; }
.cx-flex--between { justify-content: space-between; }
.cx-flex--center { justify-content: center; }
.cx-flex--end { justify-content: flex-end; }
.cx-flex--col { flex-direction: column; align-items: stretch; }
.cx-grow { flex: 1 1 auto; min-width: 0; }
.cx-gap-xs { gap: 6px; }
.cx-gap-sm { gap: 10px; }
.cx-gap { gap: 16px; }
.cx-gap-lg { gap: 24px; }
.cx-mt-0 { margin-top: 0 !important; }
.cx-mt-sm { margin-top: 10px !important; }
.cx-mt { margin-top: 18px !important; }
.cx-mt-lg { margin-top: 28px !important; }
.cx-mb-0 { margin-bottom: 0 !important; }
.cx-mb-sm { margin-bottom: 10px !important; }
.cx-mb { margin-bottom: 18px !important; }
.cx-mb-lg { margin-bottom: 28px !important; }
.cx-inline-form { display: inline-block; margin: 0; }
.cx-hidden, .cx-page .cx-hidden { display: none !important; }
.cx-divider { border: 0; border-top: 1px solid var(--cx-border); margin: 24px 0; }

.cx-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cx-grid--2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* --------------------------------------------------------------------------
   Kart
   -------------------------------------------------------------------------- */
.cx-card {
  position: relative; background: var(--cx-surface); border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius); box-shadow: var(--cx-shadow); overflow: hidden; margin-bottom: 22px;
}
.cx-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--cx-gradient); z-index: 1; }
.cx-card--plain::before { display: none; }
.cx-card__head {
  padding: 28px 32px 20px; border-bottom: 1px solid var(--cx-border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.cx-card__head--center { flex-direction: column; text-align: center; }
.cx-card__body { padding: 28px 32px; }
.cx-card__foot {
  padding: 20px 32px; border-top: 1px solid var(--cx-border); background: var(--cx-surface-alt);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}

.cx-panel { background: var(--cx-surface-alt); border: 1px solid var(--cx-border); border-radius: 14px; padding: 18px 20px; }
.cx-panel + .cx-panel { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Butonlar
   -------------------------------------------------------------------------- */
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--cx-font); font-size: 14px; font-weight: 600; line-height: 1.2;
  padding: 11px 20px; border-radius: var(--cx-radius-sm); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  -webkit-appearance: none; appearance: none; vertical-align: middle;
}
.cx-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(15, 86, 96, .18); text-decoration: none; }
.cx-btn:hover { text-decoration: none; }
.cx-btn[disabled], .cx-btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

.cx-btn--accent, .cx-btn--accent:focus { background: var(--cx-accent); border-color: var(--cx-accent); color: var(--cx-on-accent); font-weight: 700; }
.cx-btn--accent:hover { background: var(--cx-accent-hover); border-color: var(--cx-accent-hover); color: var(--cx-on-accent); box-shadow: 0 6px 16px rgba(255, 183, 47, .38); }

.cx-btn--primary, .cx-btn--primary:focus { background: var(--cx-primary); border-color: var(--cx-primary); color: #fff; }
.cx-btn--primary:hover { background: var(--cx-primary-hover); border-color: var(--cx-primary-hover); color: #fff; }

.cx-btn--outline, .cx-btn--outline:focus { background: #fff; border-color: #9db1b7; color: var(--cx-primary); }
.cx-btn--outline:hover { background: var(--cx-primary); border-color: var(--cx-primary); color: #fff; }

.cx-btn--ghost, .cx-btn--ghost:focus { background: #eef3f5; border-color: #eef3f5; color: var(--cx-muted); }
.cx-btn--ghost:hover { background: #e2ebef; border-color: #e2ebef; color: var(--cx-text); }

.cx-btn--success, .cx-btn--success:focus { background: var(--cx-success); border-color: var(--cx-success); color: #fff; }
.cx-btn--success:hover { background: #116632; border-color: #116632; color: #fff; }

.cx-btn--danger, .cx-btn--danger:focus { background: var(--cx-danger); border-color: var(--cx-danger); color: #fff; }
.cx-btn--danger:hover { background: #912018; border-color: #912018; color: #fff; }

.cx-btn--danger-outline, .cx-btn--danger-outline:focus { background: #fff; border-color: #e3b1ad; color: var(--cx-danger); }
.cx-btn--danger-outline:hover { background: var(--cx-danger); border-color: var(--cx-danger); color: #fff; }

.cx-btn--sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; gap: 6px; }
.cx-btn--lg { padding: 14px 28px; font-size: 15px; }
.cx-btn--block { display: flex; width: 100%; }

/* Segment (filtre) butonları */
.cx-segmented {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff;
  border: 1px solid var(--cx-border); border-radius: 999px; box-shadow: var(--cx-shadow-sm);
}
.cx-segmented__btn, .cx-segmented__btn:focus {
  font-family: var(--cx-font); border: 0; background: transparent; color: var(--cx-primary);
  font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; line-height: 1.3; outline: none;
}
.cx-segmented__btn:hover { background: var(--cx-primary-soft); color: var(--cx-primary); text-decoration: none; }
.cx-segmented__btn.is-active, .cx-segmented__btn.is-active:hover { background: var(--cx-primary); color: #fff; }

/* --------------------------------------------------------------------------
   Form elemanları
   -------------------------------------------------------------------------- */
.cx-field { margin-bottom: 18px; }
.cx-page .cx-label, .cx-label {
  display: block; font-family: var(--cx-font); font-weight: 600; font-size: 14px; color: var(--cx-text); margin: 0 0 6px; max-width: 100%;
}
.cx-input, .cx-select, .cx-textarea {
  display: block; width: 100%; font-family: var(--cx-font); font-size: 14px; color: var(--cx-text);
  background: #fff; border: 1.5px solid var(--cx-border); border-radius: var(--cx-radius-sm);
  padding: 10px 14px; line-height: 1.45; height: auto; box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cx-input::placeholder, .cx-textarea::placeholder { color: #9aa8b0; }
.cx-input:focus, .cx-select:focus, .cx-textarea:focus { border-color: var(--cx-primary); box-shadow: 0 0 0 3px rgba(15, 86, 96, .12); outline: none; }
.cx-input.is-invalid, .cx-select.is-invalid, .cx-textarea.is-invalid { border-color: var(--cx-danger); }
.cx-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.cx-textarea { min-height: 96px; resize: vertical; }
.cx-select { -webkit-appearance: none; appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2360707a' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.cx-input--sm, .cx-select--sm { padding: 8px 12px; font-size: 13px; }
.cx-select.cx-select--sm { padding-right: 32px; }
.cx-help { display: block; font-size: 12.5px; color: var(--cx-muted); margin-top: 6px; line-height: 1.5; }
.cx-error { display: block; font-size: 12.5px; color: var(--cx-danger); font-weight: 600; margin-top: 6px; }

.cx-input-group { display: flex; align-items: stretch; width: 100%; }
.cx-input-group__addon {
  display: inline-flex; align-items: center; padding: 0 14px; background: var(--cx-surface-alt);
  border: 1.5px solid var(--cx-border); border-right: 0; border-radius: var(--cx-radius-sm) 0 0 var(--cx-radius-sm);
  color: var(--cx-muted); font-weight: 700;
}
.cx-input-group .cx-input { border-radius: 0 var(--cx-radius-sm) var(--cx-radius-sm) 0; min-width: 0; }

/* Özel onay kutusu */
.cx-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin: 0; font-weight: 400; }
.cx-check input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0;
  border: 1.5px solid var(--cx-border-strong); border-radius: 6px; background: #fff; cursor: pointer; position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.cx-check input[type="checkbox"]:checked { background: var(--cx-primary); border-color: var(--cx-primary); }
.cx-check input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.cx-check input[type="checkbox"]:focus { outline: none; box-shadow: 0 0 0 3px rgba(15, 86, 96, .18); }
.cx-check__text { display: block; font-weight: 600; color: var(--cx-text); line-height: 1.45; }
.cx-check--full { flex: 1 1 100%; margin-bottom: 4px; }
.cx-check__desc { display: block; font-size: 12.5px; color: var(--cx-muted); font-weight: 400; margin-top: 2px; }

/* Kural kartı (oluşturma formu) */
.cx-rule { background: var(--cx-surface-alt); border: 1px solid var(--cx-border); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; transition: border-color .2s ease, background .2s ease; }
.cx-rule:hover { border-color: var(--cx-border-strong); background: #f6fbfc; }
.cx-rule__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cx-rule__title { font-weight: 700; color: var(--cx-text); display: flex; align-items: center; gap: 8px; }
.cx-rule__title .fa { color: var(--cx-primary); }
.cx-rule__desc { font-size: 12.5px; color: var(--cx-muted); margin-top: 2px; }
.cx-rule__body { margin-top: 12px; }

.cx-notice {
  background: var(--cx-accent-soft); border-left: 4px solid var(--cx-accent); border-radius: 8px;
  padding: 10px 14px; font-size: 12.5px; color: #7a4d06; line-height: 1.55; margin-top: 12px;
}
.cx-notice--info { background: var(--cx-primary-soft); border-left-color: var(--cx-primary); color: #0d4a52; }

/* --------------------------------------------------------------------------
   Rozet / hap (pill)
   -------------------------------------------------------------------------- */
.cx-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  font-family: var(--cx-font); font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  background: var(--cx-neutral-soft); color: var(--cx-neutral); vertical-align: middle;
}
.cx-pill--lg { padding: 6px 14px; font-size: 13px; }
.cx-pill--success { background: var(--cx-success-soft); color: var(--cx-success); }
.cx-pill--danger { background: var(--cx-danger-soft); color: var(--cx-danger); }
.cx-pill--warning { background: var(--cx-warning-soft); color: var(--cx-warning); }
.cx-pill--info { background: var(--cx-info-soft); color: var(--cx-info); }
.cx-pill--primary { background: var(--cx-primary-soft); color: var(--cx-primary); }
.cx-pill--accent { background: var(--cx-accent); color: var(--cx-on-accent); }
.cx-pill--muted { background: var(--cx-neutral-soft); color: var(--cx-neutral); }
.cx-pill--solid { background: var(--cx-primary); color: #fff; }
.cx-pill--wrap { white-space: normal; text-align: left; }

/* --------------------------------------------------------------------------
   İstatistik kutuları
   -------------------------------------------------------------------------- */
.cx-stats { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.cx-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-stat { background: var(--cx-surface-alt); border: 1px solid var(--cx-border); border-radius: 14px; padding: 16px 12px; text-align: center; }
.cx-stat__value { font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--cx-primary); }
.cx-stat__label { font-size: 12.5px; font-weight: 600; color: var(--cx-muted); margin-top: 4px; }
.cx-stat--success .cx-stat__value { color: var(--cx-success); }
.cx-stat--danger .cx-stat__value { color: var(--cx-danger); }
.cx-stat--warning .cx-stat__value { color: var(--cx-warning); }
.cx-stat--muted .cx-stat__value { color: var(--cx-neutral); }

/* Bilgi listesi (etiket: değer) */
.cx-meta { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-meta__label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--cx-muted); margin-bottom: 3px; }
.cx-meta__value { font-weight: 600; color: var(--cx-text); overflow-wrap: anywhere; }

/* Kısa bilgi satırı (tarih, ödül vb.) */
.cx-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--cx-muted); }
.cx-facts span { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   Tablo
   -------------------------------------------------------------------------- */
.cx-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--cx-border); border-radius: 14px; background: #fff; }
.cx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 0; }
.cx-table th {
  background: var(--cx-surface-alt); color: var(--cx-muted); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .4px; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--cx-border); white-space: nowrap;
}
.cx-table td { padding: 12px 14px; border-bottom: 1px solid #edf2f4; vertical-align: middle; color: var(--cx-text); }
.cx-table tbody tr:last-child td { border-bottom: 0; }
.cx-table tbody tr:hover td { background: #fafcfd; }
.cx-table .cx-num { text-align: right; }

/* --------------------------------------------------------------------------
   İlerleme çubuğu
   -------------------------------------------------------------------------- */
.cx-progress { height: 12px; border-radius: 999px; background: #e3eaed; overflow: hidden; margin: 12px 0 18px; }
.cx-progress__bar { height: 100%; width: 0; border-radius: 999px; background: var(--cx-gradient); transition: width .45s ease; }
.cx-progress--sm { height: 8px; }
.cx-progress__bar.is-animated {
  background-image: linear-gradient(45deg, rgba(255,255,255,.22) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.22) 75%, transparent 75%, transparent), var(--cx-gradient);
  background-size: 22px 22px, 100% 100%;
  animation: cx-stripes 1s linear infinite;
}
.cx-progress__bar.is-success { background: var(--cx-success); }
.cx-progress__bar.is-danger { background: var(--cx-danger); }
@keyframes cx-stripes { from { background-position: 22px 0, 0 0; } to { background-position: 0 0, 0 0; } }

/* --------------------------------------------------------------------------
   Adım göstergesi (dikey zaman çizelgesi)
   -------------------------------------------------------------------------- */
.cx-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.cx-step { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 0 0 18px; margin: 0; }
.cx-step:last-child { padding-bottom: 0; }
.cx-step::before {
  content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; background: var(--cx-border);
}
.cx-step:last-child::before { display: none; }
.cx-step__icon {
  position: relative; z-index: 1; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: #e8eef0; color: #7b8a92; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--cx-border);
}
.cx-step__content { flex: 1 1 auto; min-width: 0; padding: 7px 14px 10px; border-radius: 12px; border: 1px solid transparent; transition: background .25s ease, border-color .25s ease; }
.cx-step__title { font-weight: 700; font-size: 14.5px; color: var(--cx-text); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cx-step__desc { font-size: 12.5px; color: var(--cx-muted); margin-top: 2px; line-height: 1.5; }
.cx-step__detail { font-weight: 600; color: var(--cx-text); }
.cx-step__state { font-size: 13px; flex-shrink: 0; }

.cx-step.is-pending { opacity: .6; }
.cx-step.is-active .cx-step__icon { background: var(--cx-primary); color: #fff; box-shadow: 0 0 0 4px rgba(15, 86, 96, .15); }
.cx-step.is-active .cx-step__content { background: var(--cx-primary-soft); border-color: #c6dcdf; }
.cx-step.is-active .cx-step__state { color: var(--cx-primary); }
.cx-step.is-done .cx-step__icon { background: var(--cx-success); color: #fff; box-shadow: 0 0 0 1px var(--cx-success); }
.cx-step.is-done::before { background: #86d19f; }
.cx-step.is-done .cx-step__state { color: var(--cx-success); }
.cx-step.is-error .cx-step__icon { background: var(--cx-danger); color: #fff; box-shadow: 0 0 0 1px var(--cx-danger); }
.cx-step.is-error .cx-step__content { background: var(--cx-danger-soft); border-color: #f4c7c3; }
.cx-step.is-error .cx-step__state { color: var(--cx-danger); }

/* --------------------------------------------------------------------------
   Uyarı kutuları
   -------------------------------------------------------------------------- */
.cx-alert {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--cx-border); border-left-width: 4px; background: #fff; margin-bottom: 18px;
  font-size: 14px; line-height: 1.55; color: var(--cx-text);
}
.cx-alert > .fa { font-size: 17px; margin-top: 2px; flex-shrink: 0; }
.cx-alert__title { display: block; font-weight: 700; margin-bottom: 2px; }
.cx-alert ul { margin: 6px 0 0; padding-left: 18px; }
.cx-alert ul li { list-style: disc; margin: 2px 0; padding: 0; }
.cx-alert p { margin: 0 0 6px; color: inherit; }
.cx-alert p:last-child { margin-bottom: 0; }
.cx-alert--success { background: #f0fbf4; border-color: #bfe5cc; border-left-color: var(--cx-success); color: #11552b; }
.cx-alert--danger { background: #fef3f2; border-color: #f6cdc9; border-left-color: var(--cx-danger); color: #7a1b14; }
.cx-alert--warning { background: #fffaeb; border-color: #f6e0a6; border-left-color: #f59e0b; color: #6b4307; }
.cx-alert--info { background: var(--cx-primary-soft); border-color: #c6dcdf; border-left-color: var(--cx-primary); color: #0d4a52; }

/* --------------------------------------------------------------------------
   Boş durum
   -------------------------------------------------------------------------- */
.cx-empty { text-align: center; padding: 48px 20px; }
.cx-empty__icon {
  width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--cx-primary-soft);
  color: var(--cx-primary); display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.cx-page .cx-empty__title { font-family: var(--cx-font); font-size: 18px; font-weight: 700; color: var(--cx-text); margin: 0 0 6px; }
.cx-empty p { max-width: 460px; margin: 0 auto 16px; }

/* --------------------------------------------------------------------------
   Liste satırı (Çekilişlerim)
   -------------------------------------------------------------------------- */
.cx-row-item {
  background: var(--cx-surface-alt); border: 1px solid var(--cx-border); border-radius: 14px; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.cx-row-item:hover { box-shadow: var(--cx-shadow-sm); border-color: var(--cx-border-strong); transform: translateY(-1px); }
.cx-row-item__main { flex: 1 1 320px; min-width: 0; }
.cx-row-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* --------------------------------------------------------------------------
   Herkese açık çekiliş kartı (cekilis/index)
   -------------------------------------------------------------------------- */
.cx-gcard { position: relative; display: flex; flex-direction: column; background: var(--cx-surface); border: 1px solid var(--cx-border); border-radius: var(--cx-radius); overflow: hidden; box-shadow: var(--cx-shadow); transition: box-shadow .22s ease, transform .22s ease; }
.cx-gcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cx-gradient); z-index: 2; }
.cx-gcard:hover { box-shadow: 0 16px 38px rgba(15, 86, 96, .14); transform: translateY(-3px); }
.cx-gcard__media { display: block; position: relative; background: var(--cx-primary-soft); }
.cx-gcard__media img { display: block; width: 100%; height: 200px; object-fit: cover; }
.cx-gcard__media img.is-logo { object-fit: contain; padding: 40px; }
.cx-gcard__flag { position: absolute; top: 14px; right: 12px; z-index: 2; }
.cx-gcard__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.cx-page .cx-gcard__title { font-family: var(--cx-font); font-size: 17px; font-weight: 700; margin: 0; line-height: 1.35; }
.cx-gcard__title a, .cx-gcard__title a:focus { color: var(--cx-text); text-decoration: none; }
.cx-gcard__title a:hover { color: var(--cx-primary); }
.cx-gcard__prize { font-size: 13px; font-weight: 600; color: #c77d00; display: flex; align-items: center; gap: 6px; }
.cx-gcard__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }

/* --------------------------------------------------------------------------
   Çekiliş detay (cekilis/show) başlık alanı
   -------------------------------------------------------------------------- */
.cx-hero__img { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.cx-hero__desc { color: var(--cx-muted); line-height: 1.75; margin-top: 10px; }

.cx-checklist { list-style: none; margin: 0; padding: 0; }
.cx-checklist li {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; margin: 0 0 10px;
  background: var(--cx-surface-alt); border: 1px solid #e5edf0; border-radius: 12px; color: var(--cx-text); line-height: 1.55;
}
.cx-checklist li > .fa { color: var(--cx-primary); margin-top: 3px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Kazananlar
   -------------------------------------------------------------------------- */
.cx-winner {
  background: var(--cx-surface-alt); border: 1px solid var(--cx-border); border-left: 5px solid #94a3b8;
  border-radius: 14px; padding: 16px 18px; margin-bottom: 14px;
}
.cx-winner--main { border-left-color: var(--cx-accent); background: #fffdf7; }
.cx-winner__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cx-winner__user { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.cx-winner__name, .cx-winner__name:focus { font-size: 16px; font-weight: 700; color: var(--cx-text); text-decoration: none; overflow-wrap: anywhere; }
.cx-winner__name:hover { color: var(--cx-primary); }
.cx-quote { background: rgba(15, 86, 96, .05); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--cx-text); margin-top: 10px; overflow-wrap: anywhere; }
.cx-quote .fa { color: var(--cx-muted); margin-right: 4px; font-size: 11px; }
.cx-validations { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--cx-border); }
.cx-validations__label { display: block; font-size: 12px; font-weight: 700; color: var(--cx-muted); margin-bottom: 6px; }
.cx-validations .cx-pill { margin: 0 4px 6px 0; }

.cx-chip-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cx-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #f1d37a; padding: 6px 14px; border-radius: 999px; font-weight: 600; color: var(--cx-text); }
.cx-chip--muted { border-color: var(--cx-border); color: var(--cx-muted); font-weight: 500; }
.cx-chip small { color: var(--cx-muted); font-weight: 500; }

.cx-winner-box {
  background: linear-gradient(180deg, #fff7df 0%, #fff2c8 100%); border: 1px solid #f1d37a; border-radius: var(--cx-radius);
  padding: 22px; text-align: center; margin-bottom: 22px; color: #6f5211; box-shadow: 0 10px 24px rgba(255, 183, 47, .16);
}
.cx-page .cx-winner-box__title { font-family: var(--cx-font); font-size: 19px; font-weight: 700; color: #6f5211; margin: 0 0 14px; }
.cx-page .cx-winner-box p { color: inherit; font-size: 16px; }
.cx-winner-box__group { margin-top: 14px; }
.cx-winner-box__group:first-of-type { margin-top: 0; }
.cx-winner-box__label { display: block; font-weight: 700; color: var(--cx-primary); margin-bottom: 8px; }

/* Kriptografik kanıt kutusu */
.cx-mono {
  background: #0f1f24; color: #a7b8bf; font-family: var(--cx-mono); font-size: 12px; line-height: 1.8;
  padding: 16px 18px; border-radius: 12px; overflow-wrap: anywhere; word-break: break-all;
}
.cx-mono strong { color: #f8fafc; font-weight: 700; }
.cx-mono--light { background: rgba(255, 255, 255, .7); color: #555; }
.cx-mono--light strong { color: var(--cx-text); }

/* --------------------------------------------------------------------------
   Sayfalama (Laravel bootstrap-4/5 sayfalama görünümü için)
   -------------------------------------------------------------------------- */
.cx-pagination { margin-top: 24px; display: flex; justify-content: center; }
.cx-pagination nav { max-width: 100%; }
.cx-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; border-radius: 0; }
.cx-pagination .pagination > li { display: block; margin: 0; padding: 0; }
.cx-pagination .pagination > li > a,
.cx-pagination .pagination > li > span {
  float: none; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; margin: 0; border: 1px solid var(--cx-border); border-radius: 10px !important; background: #fff;
  color: var(--cx-primary); font-weight: 600; font-size: 13.5px; line-height: 1; text-decoration: none; box-shadow: none;
}
.cx-pagination .pagination > li > a:hover,
.cx-pagination .pagination > li > a:focus { background: var(--cx-primary-soft); border-color: #c6dcdf; color: var(--cx-primary); }
.cx-pagination .pagination > .active > a,
.cx-pagination .pagination > .active > span,
.cx-pagination .pagination > .active > span:hover { background: var(--cx-primary); border-color: var(--cx-primary); color: #fff; }
.cx-pagination .pagination > .disabled > a,
.cx-pagination .pagination > .disabled > span { background: #f3f6f7; color: #a2b0b6; cursor: not-allowed; }
/* bootstrap-5 sayfalama görünümünde gelen "x - y arası gösteriliyor" metni */
.cx-pagination nav > .d-flex { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.cx-pagination p.small { margin: 0; font-size: 12.5px; color: var(--cx-muted); }

/* --------------------------------------------------------------------------
   Yükleniyor ikonu (FA 4.7 ile uyumlu, ek kütüphane gerektirmez)
   -------------------------------------------------------------------------- */
.cx-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: cx-spin .75s linear infinite; vertical-align: -3px; }
@keyframes cx-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Duyarlı (responsive) düzen
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cx-page { padding: 22px 0 44px; }
  .cx-card__head, .cx-card__body { padding-left: 20px; padding-right: 20px; }
  .cx-card__head { padding-top: 24px; }
  .cx-card__foot { padding: 16px 20px; }
  .cx-page .cx-title { font-size: 22px; }
  .cx-page .cx-title--lg { font-size: 24px; }
  .cx-meta, .cx-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .cx-row-item__actions { width: 100%; }
  .cx-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .cx-card__head, .cx-card__body { padding-left: 16px; padding-right: 16px; }
  .cx-card__foot { padding: 14px 16px; }
  .cx-stats, .cx-stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cx-stat__value { font-size: 22px; }
  .cx-btn { white-space: normal; text-align: center; }
  .cx-card__foot .cx-btn { flex: 1 1 100%; }
  .cx-card__foot .cx-inline-form { flex: 1 1 100%; }
  .cx-card__foot .cx-inline-form .cx-btn { width: 100%; }
  .cx-segmented { border-radius: 14px; }
  .cx-step__content { padding: 6px 10px 8px; }
  .cx-gcard__media img { height: 180px; }
}

/* ==========================================================================
   Bağımsız Bootstrap 5 yönetim sayfaları (giveaways/edit, story_desk)
   ========================================================================== */
.cx-bs5 { font-family: var(--cx-font); color: var(--cx-text); background: linear-gradient(180deg, #f8fbfc 0%, var(--cx-bg) 100%); min-height: 100vh; }

/* İnce üst menü */
.cx-topbar { background: #fff; border-bottom: 1px solid var(--cx-border); box-shadow: 0 2px 12px rgba(15, 86, 96, .05); position: relative; }
.cx-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--cx-gradient); }
.cx-topbar__inner { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cx-topbar__logo { display: inline-flex; align-items: center; }
.cx-topbar__logo img { height: 40px; width: auto; display: block; }
.cx-topbar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cx-topbar__nav a { font-size: 14px; font-weight: 600; color: var(--cx-primary); text-decoration: none; padding: 7px 12px; border-radius: 999px; }
.cx-topbar__nav a:hover { background: var(--cx-primary-soft); color: var(--cx-primary); }
.cx-topbar__nav a.is-active { background: var(--cx-primary); color: #fff; }

.cx-bs5 .cx-shell { max-width: 1180px; margin: 0 auto; padding: 28px 16px 56px; }
.cx-bs5 .cx-card { margin-bottom: 22px; }
.cx-bs5 .cx-title { font-size: 22px; font-weight: 700; color: var(--cx-primary); margin: 0 0 4px; word-break: break-word; }
.cx-bs5 .cx-subtitle { font-size: 14px; color: var(--cx-muted); margin: 0; }
.cx-bs5 .cx-section-title { font-size: 17px; font-weight: 700; color: var(--cx-primary); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }

.cx-bs5 .btn { border-radius: var(--cx-radius-sm); font-weight: 600; }
.cx-bs5 .btn-primary { --bs-btn-bg: var(--cx-accent); --bs-btn-border-color: var(--cx-accent); --bs-btn-color: var(--cx-on-accent);
  --bs-btn-hover-bg: var(--cx-accent-hover); --bs-btn-hover-border-color: var(--cx-accent-hover); --bs-btn-hover-color: var(--cx-on-accent);
  --bs-btn-active-bg: var(--cx-accent-hover); --bs-btn-active-border-color: var(--cx-accent-hover); --bs-btn-active-color: var(--cx-on-accent);
  --bs-btn-disabled-bg: var(--cx-accent); --bs-btn-disabled-border-color: var(--cx-accent); --bs-btn-disabled-color: var(--cx-on-accent); font-weight: 700; }
.cx-bs5 .btn-teal { --bs-btn-bg: var(--cx-primary); --bs-btn-border-color: var(--cx-primary); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--cx-primary-hover); --bs-btn-hover-border-color: var(--cx-primary-hover); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--cx-primary-hover); --bs-btn-active-border-color: var(--cx-primary-hover); --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--cx-primary); --bs-btn-disabled-border-color: var(--cx-primary); --bs-btn-disabled-color: #fff; }
.cx-bs5 .btn-outline-secondary, .cx-bs5 .btn-outline-primary { --bs-btn-color: var(--cx-primary); --bs-btn-border-color: #9db1b7;
  --bs-btn-hover-bg: var(--cx-primary); --bs-btn-hover-border-color: var(--cx-primary); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--cx-primary); --bs-btn-active-border-color: var(--cx-primary); --bs-btn-active-color: #fff; }
.cx-bs5 .btn-outline-danger { --bs-btn-color: var(--cx-danger); --bs-btn-border-color: #e3b1ad;
  --bs-btn-hover-bg: var(--cx-danger); --bs-btn-hover-border-color: var(--cx-danger); --bs-btn-hover-color: #fff; }
.cx-bs5 .btn-success { --bs-btn-bg: var(--cx-success); --bs-btn-border-color: var(--cx-success); --bs-btn-hover-bg: #116632; --bs-btn-hover-border-color: #116632; }
.cx-bs5 .form-control, .cx-bs5 .form-select { border: 1.5px solid var(--cx-border); border-radius: var(--cx-radius-sm); }
.cx-bs5 .form-control:focus, .cx-bs5 .form-select:focus, .cx-bs5 .form-check-input:focus { border-color: var(--cx-primary); box-shadow: 0 0 0 .2rem rgba(15, 86, 96, .15); }
.cx-bs5 .form-check-input:checked { background-color: var(--cx-primary); border-color: var(--cx-primary); }
.cx-bs5 .form-label, .cx-bs5 .form-check-label { color: var(--cx-text); }
.cx-bs5 .text-muted { color: var(--cx-muted) !important; }
.cx-bs5 .input-group-text { border: 1.5px solid var(--cx-border); background: var(--cx-surface-alt); }
.cx-bs5 .modal-content { border-radius: var(--cx-radius); border: 1px solid var(--cx-border); overflow: hidden; }
.cx-bs5 .modal-header { border-bottom-color: var(--cx-border); }
.cx-bs5 .modal-header.cx-modal-head { background: var(--cx-primary); color: #fff; }
.cx-bs5 .alert { border-radius: 12px; }
.cx-bs5 .cx-table-wrap .table { margin: 0; }
.cx-bs5 .cx-table th { background: var(--cx-surface-alt); }
.cx-bs5 .pagination { --bs-pagination-color: var(--cx-primary); --bs-pagination-hover-color: var(--cx-primary); --bs-pagination-focus-color: var(--cx-primary);
  --bs-pagination-active-bg: var(--cx-primary); --bs-pagination-active-border-color: var(--cx-primary); --bs-pagination-border-radius: 10px; }
.cx-bs5 .progress { background-color: #e3eaed; border-radius: 999px; }
.cx-bs5 .progress-bar.bg-warning { background-color: var(--cx-accent) !important; }
.cx-bs5 .progress-bar.bg-info { background-color: #2b8a96 !important; }
.cx-bs5 .progress-bar.bg-primary { background-color: var(--cx-primary) !important; }
.cx-bs5 .progress-bar.bg-success { background-color: var(--cx-success) !important; }
.cx-bs5 .cx-filterbar { background: var(--cx-surface-alt); border: 1px solid var(--cx-border); border-radius: 14px; padding: 14px; }
.cx-bs5 .cx-proof-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }

@media (max-width: 575px) {
  .cx-topbar__logo img { height: 32px; }
  .cx-topbar__nav a { padding: 6px 9px; font-size: 13px; }
  .cx-bs5 .cx-shell { padding: 18px 12px 40px; }
  .cx-bs5 .cx-title { font-size: 19px; }
}

/* ---------- Şart özeti & kazanan adayları ---------- */
.cx-conditions { display: grid; gap: 14px; }
.cx-conditions__group { border: 1px solid var(--cx-border); border-radius: 14px; padding: 14px 16px; background: var(--cx-surface); }
.cx-conditions__title { font-weight: 700; color: var(--cx-primary); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cx-conditions__hint { color: var(--cx-muted); font-size: 12.5px; margin: 2px 0 8px; }
.cx-candidates { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cx-candidates th, .cx-candidates td { padding: 8px 10px; border-bottom: 1px solid var(--cx-border); text-align: left; vertical-align: top; }
.cx-candidates th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--cx-muted); }
.cx-winner-note { font-size: 12.5px; color: var(--cx-muted); margin-top: 4px; }
.cx-winner-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Herkese açık liste & sonuç duyurusu ---------- */
a.cx-segmented__btn { text-decoration: none; display: inline-block; }
a.cx-segmented__btn:hover, a.cx-segmented__btn:focus { text-decoration: none; }
a.cx-chip { text-decoration: none; }
.cx-h5 { font-size: 16px; font-weight: 700; color: var(--cx-text); margin: 0 0 4px; }
.cx-gcard__winners { font-size: 13.5px; color: var(--cx-text); margin-top: 8px; display: flex; gap: 6px; align-items: baseline; word-break: break-word; }
.cx-gcard__winners .fa { color: var(--cx-accent); }
.cx-result-hero { overflow: hidden; }
.cx-result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cx-result-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--cx-border); border-radius: 14px; background: var(--cx-surface); }
.cx-result-item__rank { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: var(--cx-accent); color: #1f2328; flex-shrink: 0; }
.cx-result-item__name { font-size: 17px; font-weight: 700; color: var(--cx-primary); text-decoration: none; word-break: break-all; flex: 1 1 auto; min-width: 0; }
.cx-result-item__name:hover { text-decoration: underline; color: var(--cx-primary-hover); }
.cx-result-list--muted .cx-result-item__rank { background: var(--cx-surface-alt); color: var(--cx-muted); border: 1px solid var(--cx-border); }
.cx-result-list--muted .cx-result-item__name { font-size: 15px; color: var(--cx-text); }

/* ---------- Çekilişler sayfası: tanıtım, üye paneli, bölümler ---------- */
.cx-intro__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cx-intro__text { flex: 1 1 380px; min-width: 0; }
.cx-intro__text .cx-subtitle { margin-bottom: 12px; }
.cx-intro__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--cx-muted); font-size: 14px; }
.cx-intro__stats strong { color: var(--cx-primary); font-size: 18px; }
.cx-intro__cta { flex: 0 1 300px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cx-intro__cta .cx-btn { justify-content: center; }
.cx-intro__hint { margin: 0; font-size: 14px; color: var(--cx-text); font-weight: 600; text-align: center; }
.cx-intro__hint .fa { color: var(--cx-accent); }

.cx-mine .cx-card__head { padding-top: 22px; padding-bottom: 16px; }
.cx-mine .cx-card__body { padding-top: 8px; padding-bottom: 8px; }
.cx-mine__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--cx-border); }
.cx-mine__row:last-child { border-bottom: 0; }
.cx-mine__info { min-width: 0; flex: 1 1 280px; }
.cx-mine__title { font-weight: 700; color: var(--cx-text); font-size: 16px; text-decoration: none; word-break: break-word; }
.cx-mine__title:hover { color: var(--cx-primary); text-decoration: underline; }
.cx-mine__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; font-size: 13px; color: var(--cx-muted); }
.cx-mine__actions { display: flex; flex-wrap: wrap; gap: 6px; }

.cx-section { margin-bottom: 36px; }
.cx-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.cx-section__head .cx-h4 { margin: 0; }
.cx-empty--compact { padding: 24px 20px; }
.cx-empty--compact p { margin-bottom: 12px; color: var(--cx-muted); }
.cx-gcard__meta { font-size: 13px; color: var(--cx-muted); margin-top: 8px; }

@media (max-width: 767px) {
  .cx-intro__cta { flex-basis: 100%; }
  .cx-mine__actions { width: 100%; }
}

/* ---------- Sonuç yayınlama ---------- */
.cx-publish { border: 1px dashed var(--cx-accent); background: #fff9ec; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.cx-publish.is-published { border-style: solid; border-color: #b9dcc4; background: #f1faf4; }
.cx-publish__text { font-size: 14px; color: var(--cx-text); margin-bottom: 10px; }
.cx-alert .cx-inline-form { display: inline-block; margin: 6px 0 0 6px; }

/* ===== Kazanan animasyonu (hediye kutusu) — assets/js/cekilis-reveal.js ===== */
.cx-reveal-lock, .cx-reveal-lock body { overflow: hidden; }
.cx-reveal { position: fixed; inset: 0; z-index: 10050; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 42, 48, .86); font-family: var(--cx-font); }
.cx-reveal.is-open { display: flex; animation: cx-reveal-in .35s ease both; }
@keyframes cx-reveal-in { from { opacity: 0; } to { opacity: 1; } }
.cx-reveal__panel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.cx-reveal__close { position: absolute; top: -6px; right: -6px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--cx-primary); font-size: 18px; box-shadow: var(--cx-shadow-sm); cursor: pointer; }
.cx-reveal__close:hover { background: var(--cx-accent); color: var(--cx-on-accent); }
.cx-reveal__stage canvas { display: block; border-radius: var(--cx-radius); background: #fff6e0; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.cx-reveal__stage[data-format="story"] canvas { height: min(68vh, 780px, calc((100vw - 32px) * 16 / 9)); aspect-ratio: 9 / 16; }
.cx-reveal__stage[data-format="post"] canvas { height: min(68vh, 680px, calc((100vw - 32px) * 5 / 4)); aspect-ratio: 4 / 5; }
.cx-reveal__bar { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 440px; }
.cx-reveal__seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.cx-reveal__seg button { border: 0; background: transparent; color: #fff; font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.cx-reveal__seg button.is-active { background: #fff; color: var(--cx-primary); }
.cx-reveal__seg button[disabled] { opacity: .6; cursor: not-allowed; }
.cx-reveal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cx-reveal__note { min-height: 18px; margin: 0; color: rgba(255, 255, 255, .85); font-size: 12px; text-align: center; }
.cx-reveal__skip { border: 0; background: none; color: var(--cx-accent); font-size: 13px; font-weight: 600; cursor: pointer; }
.cx-reveal__skip:hover { text-decoration: underline; }
@media (max-height: 640px) {
  .cx-reveal__stage[data-format="story"] canvas { height: min(58vh, calc((100vw - 32px) * 16 / 9)); }
  .cx-reveal__stage[data-format="post"] canvas { height: min(58vh, calc((100vw - 32px) * 5 / 4)); }
}
@media (prefers-reduced-motion: reduce) { .cx-reveal.is-open { animation: none; } }
