/* Daily Rewards — hangar split layout (Infó-style) */

#boot.is-lobby .lobby-main:has(#panel-daily:not(.hidden)) {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#boot.is-lobby #panel-daily.lobby-panel--daily {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

#boot.is-lobby #panel-daily.lobby-panel--daily.hidden {
  display: none !important;
}

#daily-rewards-modal,
.dr-frame-bg,
.dr-claim-btn,
.dr-close,
.dr-sub,
.dr-status {
  display: none !important;
}

.dr-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(80, 180, 255, 0.35);
  background: #040a14;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(30, 140, 220, 0.15);
}

.dr-shell-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.2) 0%, rgba(2, 6, 14, 0.55) 50%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(ellipse 70% 55% at 30% 40%, rgba(40, 120, 200, 0.2), transparent 65%),
    url(/assets/auction/earth-in-space-wallpaper-1920x1440_25.jpg) center / cover no-repeat;
  filter: saturate(1.05) brightness(0.68);
}

.dr-shell-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 35% 45%, transparent 0%, rgba(0, 0, 0, 0.4) 75%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(90deg, rgba(0, 4, 12, 0.35) 0%, transparent 30%, rgba(0, 4, 12, 0.45) 100%);
}

.dr-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  box-sizing: border-box;
}

.dr-stage-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: 3px;
  border: 1px solid rgba(90, 170, 230, 0.45);
  background: rgba(4, 14, 28, 0.78);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(120, 200, 255, 0.15);
}

.dr-stage-head h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7ec8ff;
  text-shadow: 0 0 14px rgba(80, 180, 255, 0.35);
}

.dr-stage-head p {
  margin: 2px 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(170, 200, 230, 0.75);
}

.dr-stage-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dr-chip {
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid rgba(80, 160, 220, 0.28);
  background: rgba(0, 0, 0, 0.35);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfe8ff;
}

.dr-chip.is-gold {
  border-color: rgba(255, 200, 90, 0.35);
  color: #ffd76a;
}

/* Left hero */
.dr-hero {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 3px;
  border: 1px solid rgba(90, 170, 230, 0.5);
  background: rgba(4, 14, 28, 0.82);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(30, 140, 220, 0.16),
    inset 0 0 28px rgba(0, 40, 80, 0.3);
  overflow: hidden;
}

.dr-hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 18px 16px;
  text-align: center;
}

.dr-hero-inner::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(70, 160, 230, 0.18);
  pointer-events: none;
}

.dr-claim-label {
  position: relative;
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7ec8ff;
}

.dr-claim-day {
  position: relative;
  font-family: "Orbitron", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f2f7ff;
}

.dr-claim-icon {
  position: relative;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  margin: 4px 0;
  border-radius: 50%;
  border: 1px solid rgba(80, 180, 255, 0.35);
  background:
    radial-gradient(circle at 50% 40%, rgba(60, 140, 220, 0.28), transparent 65%),
    rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 30px rgba(40, 140, 220, 0.2);
}

.dr-claim-icon img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.dr-claim-name {
  position: relative;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f2f7ff;
}

.dr-claim-qty {
  position: relative;
  font-family: "Rajdhani", monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: #7ec8ff;
}

.dr-claim-cta {
  position: relative;
  margin-top: 8px;
  min-width: 180px;
  padding: 12px 20px;
  border: 1px solid rgba(80, 220, 140, 0.55);
  border-radius: 3px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #04140c;
  background: linear-gradient(180deg, #7dffae, #2fc86a);
  box-shadow: 0 0 20px rgba(60, 220, 120, 0.35);
  cursor: pointer;
}

.dr-claim-cta:hover:not(:disabled) {
  filter: brightness(1.06);
}

.dr-claim-cta:disabled {
  cursor: default;
  color: rgba(190, 210, 235, 0.8);
  background: rgba(20, 40, 70, 0.7);
  border-color: rgba(80, 140, 200, 0.3);
  box-shadow: none;
}

.dr-hero.is-done .dr-claim-label {
  color: #ffd76a;
}

.dr-hero.is-complete .dr-claim-label {
  color: #ffd76a;
}

.dr-hero-foot {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(80, 160, 220, 0.22);
  background: rgba(0, 0, 0, 0.25);
}

.dr-progress-strip {
  display: grid;
  gap: 6px;
}

.dr-progress-strip strong {
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #ffd76a;
}

.dr-progress-track {
  height: 5px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(80, 160, 220, 0.2);
  overflow: hidden;
}

.dr-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2a8fff, #7ec8ff 55%, #ffd76a);
  transition: width 0.35s ease;
}

.dr-progress-note {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(170, 200, 230, 0.75);
}

/* Right timeline list */
.dr-track {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 3px;
  border: 1px solid rgba(90, 170, 230, 0.45);
  background: rgba(4, 14, 28, 0.78);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 0 24px rgba(0, 40, 80, 0.25);
  overflow: hidden;
}

.dr-track-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(80, 160, 220, 0.22);
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7ec8ff;
}

.dr-track-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px;
}

.dr-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dr-cell {
  position: relative;
  display: grid;
  grid-template-columns: 42px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 8px 12px;
  border-radius: 3px;
  border: 1px solid rgba(80, 150, 210, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.dr-cell:hover {
  border-color: rgba(120, 190, 255, 0.45);
  background: rgba(20, 50, 90, 0.35);
}

.dr-cell.is-claimable {
  border-color: rgba(80, 230, 140, 0.65);
  background: rgba(20, 80, 45, 0.4);
  box-shadow: 0 0 16px rgba(40, 200, 100, 0.2);
  cursor: pointer;
}

.dr-cell.is-claimed {
  border-color: rgba(70, 200, 130, 0.35);
  background: rgba(10, 50, 30, 0.35);
}

.dr-cell.is-missed {
  opacity: 0.45;
}

.dr-cell.is-ship {
  border-color: rgba(255, 200, 90, 0.45);
  background:
    linear-gradient(90deg, rgba(80, 50, 10, 0.35), rgba(0, 0, 0, 0.28));
}

.dr-day {
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(180, 210, 240, 0.85);
}

.dr-icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(80, 150, 210, 0.18);
}

.dr-icon-wrap img {
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.dr-cell-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dr-name {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #eef5ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-qty {
  font-family: "Rajdhani", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7ec8ff;
}

.dr-cell.is-claimed .dr-qty,
.dr-cell.is-claimable .dr-qty {
  color: #8dffb0;
}

.dr-mark {
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(160, 190, 220, 0.7);
}

.dr-cell.is-claimed .dr-mark {
  color: #4dff88;
}

.dr-cell.is-claimable .dr-mark {
  color: #ffd76a;
}

.dr-cell.is-missed .dr-mark {
  color: rgba(255, 90, 90, 0.85);
}

.dr-cell.is-locked .dr-mark {
  color: rgba(140, 170, 200, 0.45);
}

.dr-finale {
  display: none;
}

.dr-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e23;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.dock-link--daily {
  position: relative;
}

@media (max-width: 980px) {
  .dr-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(240px, 1fr);
  }
  .dr-hero {
    grid-column: 1;
    grid-row: 2;
  }
  .dr-track {
    grid-column: 1;
    grid-row: 3;
  }
  .dr-hero-inner {
    padding: 16px;
  }
  .dr-claim-icon {
    width: 100px;
    height: 100px;
  }
}
