/* Acil gece kurası — çark + sihirbaz */
.gk-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: auto;
}
.gk-overlay[hidden] { display: none !important; }

.gk-shell {
  width: min(920px, 100%);
  max-height: min(86vh, 780px);
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1e3a5f, #312e81);
  color: #fff;
}
.gk-head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.gk-head .gk-date { font-size: 13px; opacity: .9; }
.gk-head .gk-ver { font-size: 10px; opacity: .65; margin-top: 2px; }
.gk-step-dots--head {
  margin: 6px 0 2px;
  justify-content: flex-start;
}
.gk-step-dots--head .gk-step-dot {
  background: rgba(255,255,255,.35);
}
.gk-step-dots--head .gk-step-dot.on { background: #fbbf24; }
.gk-step-dots--head .gk-step-dot.done { background: #4ade80; }
.gk-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.gk-history-btn {
  border: 2px solid rgba(125, 211, 252, .85);
  background: rgba(14, 165, 233, .25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(56, 189, 248, .45);
}
.gk-history-btn:hover {
  background: rgba(14, 165, 233, .4);
  box-shadow: 0 0 16px rgba(56, 189, 248, .6);
}
.gk-close {
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
}
.gk-close:hover { background: rgba(255,255,255,.28); }

.gk-body {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.95fr);
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.gk-body.gk-body--spin .gk-wheel-wrap {
  width: min(200px, 34vw);
  height: min(200px, 34vw);
}
.gk-body.gk-body--spin .gk-wheel-area {
  padding: 10px 12px 8px;
}
.gk-body.gk-body--spin .gk-step-dots {
  margin-bottom: 8px;
}
.gk-body.gk-body--spin .gk-panel {
  padding: 12px 14px;
  max-height: min(72vh, 620px);
}
.gk-body.gk-body--spin .gk-step-hint {
  margin-bottom: 8px;
}
.gk-body.gk-body--panel-only {
  grid-template-columns: 1fr;
}
.gk-body.gk-body--panel-only .gk-wheel-area {
  display: none;
}
.gk-body.gk-body--panel-only .gk-panel {
  border-right: none;
  max-height: none;
}

@media (max-width: 720px) {
  .gk-shell { max-height: 96vh; }
  .gk-body { grid-template-columns: 1fr; overflow: auto; }
  .gk-body.gk-body--spin {
    display: flex;
    flex-direction: column;
  }
  .gk-body.gk-body--spin .gk-wheel-area {
    order: -1;
    flex-shrink: 0;
    padding-top: 12px;
    padding-bottom: 8px;
  }
  .gk-body.gk-body--spin .gk-panel {
    order: 1;
    border-right: none;
    padding-top: 8px;
  }
  .gk-body.gk-body--panel-only .gk-panel {
    border-right: none;
    max-height: none;
    padding-bottom: 24px;
  }
  .gk-panel { min-height: 0; flex: 1; }
  .gk-actions {
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, transparent, #f8fafc 24%, #f8fafc);
    padding-top: 12px;
    margin-top: 12px;
    z-index: 2;
  }
  .gk-history-btn { font-size: 11px; padding: 7px 10px; }
}

.gk-panel {
  padding: 18px 20px;
  overflow-y: auto;
  border-right: 1px solid #e2e8f0;
  color: #1e293b;
}
.gk-panel.gk-panel--foot-fixed {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.gk-panel--foot-fixed .gk-step-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px 8px;
}
.gk-panel--foot-fixed.gk-panel--cocuk .gk-step-scroll {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 4px;
}
.gk-panel--foot-fixed .gk-step-foot {
  flex-shrink: 0;
  padding: 8px 14px 12px;
  border-top: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: 0 -6px 16px rgba(15, 23, 42, .08);
  z-index: 3;
}
.gk-panel--foot-fixed .gk-step-foot .gk-actions {
  margin-top: 8px;
  margin-bottom: 0;
}
.gk-panel *:not(.gk-badge):not(.gk-drag-chip):not(.gk-chip-remove):not(.primary):not(.gk-btn-next.primary) {
  color: inherit;
}
.gk-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}
.gk-step-hint {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 14px;
  line-height: 1.45;
}
.gk-step-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.gk-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.gk-step-dot.on { background: #4f46e5; }
.gk-step-dot.done { background: #22c55e; }

.gk-pool-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.gk-pool-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
}
.gk-pool-item input { accent-color: #4f46e5; }
.gk-add-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.gk-add-row input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
}

.gk-field { margin-bottom: 12px; }
.gk-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}
.gk-field input[type="time"],
.gk-field select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}
.gk-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gk-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gk-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
}
.gk-radio:has(input:checked) {
  border-color: #4f46e5;
  background: #eef2ff;
}
.gk-radio input { accent-color: #4f46e5; }

.gk-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.gk-actions .btn { flex: 1; min-width: 100px; }

/* Modal içi düğmeler — global stilleri ezer */
.gk-overlay .gk-panel .btn,
.gk-overlay .gk-actions .btn {
  font-weight: 600 !important;
}
.gk-overlay .btn.gk-btn-back,
.gk-overlay .btn.ghost,
.gk-overlay .gk-actions .btn.gk-btn-back,
.gk-overlay .gk-actions .btn.ghost {
  background: #fff !important;
  color: #0f172a !important;
  border: 2px solid #64748b !important;
  box-shadow: none !important;
}
.gk-overlay .btn.gk-btn-back:hover,
.gk-overlay .btn.ghost:hover {
  background: #e2e8f0 !important;
  color: #020617 !important;
}
.gk-overlay .btn.gk-btn-next.primary,
.gk-overlay .btn.primary,
.gk-overlay .gk-actions .btn.primary {
  color: #fff !important;
  border: none !important;
}
.gk-overlay .btn.gk-btn-next:not(.primary) {
  background: #e0e7ff !important;
  color: #312e81 !important;
  border: 2px solid #818cf8 !important;
}
.gk-overlay .gk-step-title { color: #0f172a !important; }
.gk-overlay .gk-step-hint { color: #475569 !important; }
.gk-overlay .gk-field label { color: #334155 !important; }
.gk-overlay .gk-pool-item span { color: #1e293b !important; }
.gk-overlay .gk-radio { color: #1e293b !important; }
.gk-overlay select,
.gk-overlay input[type="time"],
.gk-overlay input[type="text"] {
  color: #0f172a !important;
  background: #fff !important;
}
.gk-target-hint {
  background: #eef2ff;
  padding: 8px 10px;
  border-radius: 8px;
  color: #4338ca;
  font-weight: 600;
}

/* Sürükle-bırak */
.gk-chip-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  padding: 10px;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
}
.gk-drag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: grab;
  user-select: none;
}
.gk-drag-chip.placed {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}
.gk-drag-chip.placed.asistan {
  background: linear-gradient(135deg, #db2777, #be185d);
}
.gk-drag-chip.placed.cocuk-acil {
  background: linear-gradient(135deg, #059669, #10b981);
}
.gk-drag-chip.dragging { opacity: 0.55; }
.gk-mobile-shifts {
  display: none;
  gap: 4px;
  margin-left: 4px;
}
.gk-shift-pick {
  border: none;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 26px;
  height: 26px;
  border-radius: 6px;
  padding: 0 6px;
  cursor: pointer;
  line-height: 1;
}
.gk-shift-pick:active {
  background: rgba(255,255,255,.45);
  transform: scale(0.96);
}
@media (max-width: 720px) {
  .gk-mobile-shifts { display: inline-flex; }
  .gk-drag-chip {
    flex-wrap: wrap;
    max-width: 100%;
    padding: 8px 10px;
    font-size: 13px;
  }
}
.gk-mini-badge {
  font-size: 9px;
  font-style: normal;
  opacity: 0.9;
}
.gk-chip-remove {
  border: none;
  background: rgba(0,0,0,.2);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.gk-manual-shift {
  margin-bottom: 12px;
}
.gk-manual-shift-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 6px;
}
.gk-manual-shift-head b { color: #1e293b; font-size: 13px; }
.gk-slot-count {
  margin-left: auto;
  font-weight: 700;
  color: #4f46e5;
}
.gk-shift-slots {
  min-height: 52px;
  padding: 10px;
  background: #fff;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.gk-drop-zone.over {
  border-color: #4f46e5;
  background: #eef2ff;
}
.gk-drop-hint {
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
}
.gk-empty-hint {
  font-size: 12px;
  color: #64748b;
}

.gk-wheel-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 24px;
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
  position: relative;
}
.gk-wheel-wrap {
  position: relative;
  width: min(300px, 72vw);
  height: min(300px, 72vw);
}
.gk-wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid #0f172a;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.gk-wheel-svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  transition: none;
}
.gk-wheel-svg.spinning {
  transition: transform 4s cubic-bezier(.17,.67,.12,.99);
}
.gk-wheel-center {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.gk-wheel-center:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.gk-wheel-center svg {
  width: 22px;
  height: 22px;
  fill: #312e81;
}
.gk-wheel-label {
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  min-height: 2.5em;
}
.gk-wheel-winner {
  display: none;
  font-size: 17px;
  font-weight: 700;
  color: #312e81;
  margin-top: 6px;
  text-align: center;
}
.gk-wheel-winner:not(:empty):not([hidden]) {
  display: block;
}

.gk-result-shifts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gk-shift-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}
.gk-shift-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #1e293b;
}
.gk-shift-time {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}
.gk-shift-doc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 4px 0;
  color: #1e293b;
}
.gk-doc-name {
  color: #0f172a;
  font-weight: 600;
}
.gk-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #3730a3;
}
.gk-badge.asistan { background: #fce7f3; color: #9d174d; }
.gk-badge.cocuk { background: #dcfce7; color: #166534; }

.gk-result-date {
  display: inline;
  font-size: 14px;
  font-weight: 700;
  color: #4338ca;
  margin-left: 4px;
}
.gk-save-notice {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  color: #334155 !important;
  line-height: 1.5;
}
.gk-save-notice.saved {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #065f46 !important;
}
.gk-save-notice.error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b !important;
}

/* Fosforlu onay kutusu */
.gk-confirm {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, .78);
  backdrop-filter: blur(4px);
}
.gk-confirm[hidden] { display: none !important; }
.gk-confirm-box {
  width: min(420px, 100%);
  background: #0f172a;
  border: 3px solid #22d3ee;
  border-radius: 16px;
  padding: 20px 22px;
  color: #f8fafc;
  box-shadow:
    0 0 12px rgba(34, 211, 238, .75),
    0 0 28px rgba(34, 211, 238, .45),
    0 0 48px rgba(56, 189, 248, .25);
  animation: gkConfirmGlow 2s ease-in-out infinite;
}
@keyframes gkConfirmGlow {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(34, 211, 238, .6),
      0 0 24px rgba(34, 211, 238, .35);
    border-color: #22d3ee;
  }
  50% {
    box-shadow:
      0 0 18px rgba(52, 211, 153, .85),
      0 0 36px rgba(34, 211, 238, .55);
    border-color: #34d399;
  }
}
.gk-confirm-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 8px rgba(34, 211, 238, .5);
}
.gk-confirm-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #e2e8f0;
  font-weight: 500;
}
.gk-confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.gk-confirm-actions .btn { flex: 1; }
.gk-confirm .gk-btn-back {
  background: #1e293b !important;
  color: #f8fafc !important;
  border: 2px solid #94a3b8 !important;
}
.gk-confirm .btn.primary {
  background: linear-gradient(135deg, #dc2626, #ea580c) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* Eski kuralar listesi */
.gk-history-list { margin-bottom: 12px; }
.gk-history-month { margin-bottom: 14px; }
.gk-history-month h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #312e81;
  font-weight: 800;
}
.gk-history-month ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gk-history-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.gk-history-row .gk-history-day { flex: 1; min-width: 0; }
.gk-history-del {
  flex-shrink: 0;
  align-self: center;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
}
.gk-history-del:hover {
  background: #fee2e2;
  border-color: #f87171;
}
.gk-history-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.gk-history-detail-head .gk-history-detail-title { margin: 0; }
.gk-btn-del.danger,
.btn.gk-btn-del.danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  border-color: #991b1b !important;
  color: #fff !important;
}
.gk-btn-del.sm { font-size: 11px; padding: 6px 10px; }
.gk-history-day {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  color: #1e293b;
}
.gk-history-day:hover {
  border-color: #4f46e5;
  background: #eef2ff;
}
.gk-history-day-meta {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.gk-history-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #e2e8f0;
}
.gk-history-detail-title {
  margin: 0 0 10px;
  font-size: 14px;
  color: #312e81;
}

/* Acil sayfası — Gece Kurası düğmesi */
.btn.gece-kurasi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #312e81, #4f46e5);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 16px;
  white-space: nowrap;
}
.btn.gece-kurasi-btn:hover {
  filter: brightness(1.08);
  color: #fff;
}
.gece-kurasi-lottie {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gece-kurasi-lottie svg,
.gece-kurasi-lottie img {
  width: 100% !important;
  height: 100% !important;
}
.duty-range-row {
  flex-wrap: wrap;
  gap: 10px;
}

/* Acil sayfası — kura sonucu + tarih seçimi */
.acil-date-section {
  margin-top: 4px;
}
.acil-date-section .controls {
  margin-top: 0;
}
/* Acil sayfası — gece kurası bilgi kutusu (tarih seçiminin üstü) */
.gece-kurasi-banner {
  position: relative;
  margin: 0 0 14px;
  border-radius: 14px;
  overflow: hidden;
}
.gece-kurasi-banner[hidden] { display: none !important; }
.gece-kurasi-banner .gk-banner-glow {
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .55), rgba(79, 70, 229, .45), rgba(52, 211, 153, .5), rgba(250, 204, 21, .35));
  filter: blur(14px);
  opacity: 1;
  animation: gkBannerGlow 2.2s ease-in-out infinite;
  z-index: 0;
}
@keyframes gkBannerGlow {
  0%, 100% { opacity: .65; transform: scale(1); filter: blur(14px); }
  50% { opacity: 1; transform: scale(1.02); filter: blur(18px); }
}
.gece-kurasi-banner .gk-banner-inner {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
  border: 2px solid rgba(34, 211, 238, .75);
  border-radius: 14px;
  box-shadow:
    0 0 22px rgba(34, 211, 238, .45),
    0 0 40px rgba(52, 211, 153, .25),
    inset 0 0 24px rgba(79, 70, 229, .15);
  animation: gkBannerPulse 2.2s ease-in-out infinite;
}
@keyframes gkBannerPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(34, 211, 238, .35), 0 0 30px rgba(52, 211, 153, .2), inset 0 0 20px rgba(79, 70, 229, .12); }
  50% { box-shadow: 0 0 28px rgba(34, 211, 238, .65), 0 0 48px rgba(52, 211, 153, .4), inset 0 0 28px rgba(79, 70, 229, .2); }
}
.gk-banner-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.gk-banner-dismiss {
  flex-shrink: 0;
  border: 1px solid rgba(248, 113, 113, .7);
  background: rgba(127, 29, 29, .45);
  color: #fecaca;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.gk-banner-dismiss:hover {
  background: rgba(185, 28, 28, .55);
  color: #fff;
}
.gk-banner-head h4,
.gece-kurasi-banner h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  text-shadow: 0 0 10px rgba(34, 211, 238, .35);
}
.gece-kurasi-banner .gk-banner-date {
  color: #a5f3fc;
  font-weight: 700;
}
.gece-kurasi-banner .gk-banner-hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
}
.gece-kurasi-banner .gk-inline-shifts {
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .gece-kurasi-banner .gk-inline-shifts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
.gece-kurasi-banner .gk-shift-card {
  padding: 10px 12px;
  background: rgba(255, 255, 255, .96);
  border-color: rgba(148, 163, 184, .35);
}
.gece-kurasi-banner .gk-shift-card h4 { color: #1e293b; }
.gece-kurasi-banner .gk-shift-time { color: #64748b; }

.gk-demo-toggle[hidden] {
  display: none !important;
}
.gk-demo-toggle:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fef08a;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, .5);
  background: rgba(120, 53, 15, .35);
}
.gk-demo-toggle:not([hidden]) input { accent-color: #facc15; }
.gk-demo-banner {
  background: #fef9c3;
  border: 2px solid #facc15;
  color: #713f12;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.gk-asistan-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  border: 1px solid #f9a8d4;
  border-radius: 10px;
  font-size: 13px;
}
.gk-asistan-summary-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9d174d;
  background: #fff;
  padding: 2px 8px;
  border-radius: 6px;
}
.gk-asistan-summary b { color: #831843; font-size: 14px; }
.gk-asistan-summary-shift {
  color: #9d174d;
  font-size: 12px;
  font-weight: 600;
}
.gk-cocuk-spin-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gk-cocuk-right .gk-actions {
  margin-top: 4px;
}
@media (max-width: 720px) {
  .gk-cocuk-layout {
    grid-template-columns: 1fr;
  }
  .gk-cocuk-right {
    order: 2;
  }
}
.gk-cocuk-winner {
  margin: 0;
  font-size: 14px;
  color: #312e81;
  min-height: 1.4em;
}
.gk-cocuk-winner b { color: #4f46e5; }
.gk-panel--cocuk-full {
  padding: 14px 16px !important;
  overflow-y: auto;
}
.gk-cocuk-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(300px, 1.25fr);
  gap: 16px 20px;
  align-items: start;
}
.gk-cocuk-left {
  min-width: 0;
}
.gk-cocuk-lottery-opts {
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed #e2e8f0;
}
.gk-cocuk-scope-hint { margin-bottom: 6px !important; }
.gk-cocuk-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  background: #f8fafc;
  border: 2px solid #c7d2fe;
  border-radius: 12px;
}
.gk-cocuk-pool-panel {
  flex: 1;
  min-height: 0;
}
.gk-cocuk-pool-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #312e81;
}
.gk-cocuk-pool-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: none;
  overflow: visible;
  border: none;
  background: transparent;
  padding: 0;
  min-height: 0;
}
.gk-cocuk-pool-list .gk-pool-item {
  padding: 10px 12px;
  font-size: 13px;
}
.gk-cocuk-all-msg {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  color: #475569;
  background: #fff;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}
.gk-cocuk-spin-wrap button[hidden] {
  display: none !important;
}
.gk-cocuk-lottery-opts.is-locked {
  opacity: .72;
  pointer-events: none;
}
.gk-pool-item.is-disabled {
  opacity: .65;
  pointer-events: none;
}
.gk-cocuk-winner.is-final {
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef2ff;
  border: 1px solid #a5b4fc;
  font-weight: 600;
}
.gk-cocuk-pinner-hint,
.gk-cocuk-pool-hint {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.gk-history-demo h4 { color: #b45309; }
.gk-history-day.demo { border-color: #fcd34d; background: #fffbeb; }

.gk-spin-status {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-size: 13px;
  color: #312e81;
}
.gk-spin-mode-lead,
.gk-spin-wheel-lead {
  margin-bottom: 10px !important;
  font-weight: 600;
  color: #4338ca !important;
}
.gk-spin-mode-group,
.gk-spin-shift-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.gk-spin-mode-card,
.gk-spin-shift-card {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 4px;
  padding: 12px 14px !important;
}
.gk-spin-mode-title,
.gk-spin-shift-title {
  font-weight: 800;
  font-size: 14px;
  color: #1e293b;
}
.gk-spin-mode-desc,
.gk-spin-shift-meta {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  font-weight: 500;
}
.gk-spin-actions {
  margin-top: 8px;
}
.gk-spin-actions .gk-btn-next:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.gk-btn-spin-glow {
  animation: gkSpinBtnGlow 1.4s ease-in-out infinite;
  border: 2px solid #4ade80 !important;
}
.gk-btn-spin-glow:disabled {
  animation: none;
  border-color: #cbd5e1 !important;
}
@keyframes gkSpinBtnGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(74, 222, 128, .45), 0 0 0 0 rgba(74, 222, 128, .35);
    border-color: #4ade80;
  }
  50% {
    box-shadow: 0 0 20px rgba(74, 222, 128, .85), 0 0 32px rgba(34, 211, 238, .45);
    border-color: #86efac;
  }
}
.gk-spin-shift-card.is-done {
  opacity: .48;
  pointer-events: none;
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}
.gk-spin-shift-card.is-done .gk-spin-shift-title,
.gk-spin-shift-card.is-done .gk-spin-shift-meta {
  color: #94a3b8 !important;
}
.gk-spin-shift-card.is-active {
  border-color: #6366f1 !important;
  background: #eef2ff !important;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .25);
}
.gk-spin-shift-card.is-picked:has(input:checked) {
  border-color: #4f46e5 !important;
  background: #eef2ff !important;
}
.gk-spin-shift-winners {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 6px;
}
.gk-spin-shift-winners span {
  color: #dc2626;
  font-weight: 800;
  font-size: 13px;
}
.gk-spin-win-name {
  color: #dc2626;
  font-weight: 800;
}
.gk-spin-pool-lead-wrap {
  position: relative;
  margin: 10px 0 12px;
  border-radius: 12px;
  overflow: hidden;
}
.gk-spin-pool-lead-glow {
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(248, 113, 113, .55),
    rgba(239, 68, 68, .45),
    rgba(250, 204, 21, .35),
    rgba(248, 113, 113, .5)
  );
  filter: blur(12px);
  animation: gkSpinPoolLeadGlow 2s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes gkSpinPoolLeadGlow {
  0%, 100% {
    opacity: .55;
    transform: scale(1);
    filter: blur(12px);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
    filter: blur(16px);
  }
}
.gk-spin-pool-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid #f87171;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 45%, #fef2f2 100%);
  color: #b91c1c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  animation: gkSpinPoolLeadPulse 2s ease-in-out infinite;
  box-shadow:
    0 0 12px rgba(239, 68, 68, .25),
    inset 0 0 18px rgba(254, 202, 202, .35);
}
.gk-spin-pool-lead b {
  color: #991b1b;
  font-weight: 900;
  text-transform: none;
}
.gk-spin-pool-lead-meta {
  color: #dc2626;
  font-weight: 800;
  white-space: nowrap;
}
@keyframes gkSpinPoolLeadPulse {
  0%, 100% {
    border-color: #f87171;
    box-shadow:
      0 0 10px rgba(239, 68, 68, .3),
      0 0 0 0 rgba(239, 68, 68, .2),
      inset 0 0 14px rgba(254, 202, 202, .3);
  }
  50% {
    border-color: #ef4444;
    box-shadow:
      0 0 22px rgba(239, 68, 68, .65),
      0 0 36px rgba(250, 204, 21, .25),
      inset 0 0 22px rgba(254, 202, 202, .5);
  }
}
.gk-spin-pool-scope {
  margin-bottom: 10px;
}
.gk-spin-pool-panel {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 2px solid #c7d2fe;
  border-radius: 10px;
}
.gk-spin-pool-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #312e81;
}
.gk-spin-pool-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: none;
  overflow: visible;
}
.gk-spin-pool-list .gk-pool-item {
  padding: 9px 11px;
  font-size: 13px;
}
.gk-spin-pool-hint {
  margin: 0 0 8px !important;
  font-size: 12px;
  color: #6366f1;
  font-weight: 600;
}
