/* MarjinalTV — çekiliş sayfası (style.css'teki renkleri kullanır) */
.ck-wrap { max-width: 820px; margin: 0 auto; padding: 22px 16px 60px; }
.ck-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 36px; }
.ck-back { color: var(--muted); font-size: 14px; font-weight: 600; }
.ck-back:hover { color: var(--text); }
.ck-user { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.ck-user img { width: 30px; height: 30px; border-radius: 50%; }
.ck-user span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.ck-link { background: none; border: 0; color: var(--blue-2); font: 600 13px var(--ui); cursor: pointer; }
.ck-admin-link { padding: 5px 10px; border-radius: 8px; background: rgba(217, 178, 106, .15); color: #f0cf8a; font-weight: 700; font-size: 12.5px; }

.ck-hero { display: flex; align-items: center; gap: 18px; padding: 22px; margin-bottom: 16px; }
.ck-logo { width: 84px; height: 84px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px var(--panel-solid), 0 0 0 5px var(--blue), 0 0 24px rgba(47, 123, 255, .6); }
.ck-title {
  display: flex; align-items: center; gap: 10px;
  font: 900 clamp(28px, 5vw, 38px)/1.1 var(--display); letter-spacing: .03em;
  background: linear-gradient(180deg, #fff, var(--ice) 50%, #7fb2ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ck-title svg { color: #f0cf8a; font-size: .8em; filter: drop-shadow(0 0 10px rgba(255, 170, 60, .6)); }
.ck-sub { color: var(--muted); margin-top: 6px; font-size: 14.5px; }

/* Adımlar */
.ck-steps { display: grid; gap: 4px; padding: 10px; }
.ck-step { display: flex; gap: 14px; padding: 14px; border-radius: 14px; transition: background .2s; }
.ck-step.ok { background: rgba(62, 224, 127, .06); }
.ck-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); font-weight: 800; color: var(--ice);
}
.ck-step.ok .ck-num { background: #1f9d55; border-color: #3ee07f; color: transparent; position: relative; }
.ck-step.ok .ck-num::after { content: "✓"; position: absolute; color: #fff; font-size: 17px; }
.ck-step-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ck-step-body > b { font-size: 15.5px; }
.ck-step-body > small { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ck-av { width: 20px; height: 20px; border-radius: 50%; }
.ck-bad { color: #ff8c9e; }
.ck-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ck-gbtn { margin-top: 6px; min-height: 40px; }
.ck-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; }
.ck-check input { width: 18px; height: 18px; accent-color: var(--wa); }

.ck-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 11px; border: 0; cursor: pointer;
  font: 700 14px/1 var(--ui); color: #fff; transition: filter .2s, transform .2s;
}
.ck-btn svg { font-size: 17px; }
.ck-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ck-btn:disabled, .ck-btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.ck-btn-discord { background: var(--discord); }
.ck-btn-wa { background: var(--wa); color: #04260f; }
.ck-btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); color: var(--text); }
.ck-btn-join {
  background: linear-gradient(135deg, #f0b44c, #e07b2a); color: #2a1300;
  box-shadow: 0 10px 26px rgba(240, 150, 60, .3); padding: 13px 20px; font-size: 15px;
}

/* Çekiliş kartları */
.ck-list { display: grid; gap: 14px; }
.ck-card { padding: 20px; }
.ck-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ck-card h3 { font: 800 20px/1.25 var(--ui); }
.ck-prize { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: #f0cf8a; font-weight: 600; font-size: 14.5px; }
.ck-timer {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px;
  background: rgba(47, 123, 255, .12); border: 1px solid var(--line-strong);
  font: 800 16px/1 var(--ui); font-variant-numeric: tabular-nums; color: var(--ice);
}
.ck-desc { margin-top: 10px; color: #c6d2ee; font-size: 14.5px; white-space: pre-line; }
.ck-count { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: 13.5px; }

.ck-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ck-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ck-form input, .ck-form select {
  padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #060b18; color: var(--text); font: 500 14.5px var(--ui); outline: none;
}
.ck-form input:focus, .ck-form select:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 123, 255, .2); }
.ck-form input:disabled, .ck-form select:disabled { opacity: .55; }
.ck-form .ck-btn-join { grid-column: 1 / -1; }
.ck-lock { grid-column: 1 / -1; color: var(--muted); font-size: 13px; text-align: center; }
.ck-joined { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(62, 224, 127, .1); color: #7ff0ae; font-weight: 700; }

.ck-card.is-done { opacity: .95; }
.ck-badge { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ck-win-title { margin-top: 14px; font-weight: 800; }
.ck-winners { margin: 8px 0 0 22px; display: grid; gap: 6px; }
.ck-winners li b { color: #f0cf8a; }
.ck-winners li span { color: var(--ice); font-size: 13.5px; }
.ck-winners li small { color: var(--muted); }
.ck-empty { color: var(--muted); padding: 18px; text-align: center; }
.ck-note { margin-top: 26px; color: var(--dim); font-size: 12.5px; text-align: center; }

.toast.ok { border-color: rgba(62, 224, 127, .5); }
.toast.bad { border-color: rgba(255, 77, 94, .6); }
.ck-page .toast { bottom: 24px; }

@media (max-width: 640px) {
  .ck-hero { flex-direction: column; text-align: center; }
  .ck-title { justify-content: center; }
  .ck-form { grid-template-columns: 1fr; }
  .ck-user span { display: none; }
}
