/* FORMAT-LUCY.CSS — Lucy's Kitchen — full palette owner
   No !important wars. format.css provides neutral structure,
   this file owns all Lucy colors and layout specifics.
   ════════════════════════════════════════════════════════ */

/* ── BASE ── */
html, body { background: #F5EAD8; }

/* ── SPLASH ── */
#splash-screen { background: #F5EAD8; }

/* ── SHOP WINDOW ── */
.shop-window {
  background: #F5EAD8;
  border-bottom: 2px solid #F0DFC8;
}

.shop-window-title {
  color: #C49070;
  text-shadow: none;
}

.scallop-divider {
  background:
    radial-gradient(circle at 10px 0, #F0DFC8 10px, transparent 11px),
    radial-gradient(circle at 30px 0, #F0DFC8 10px, transparent 11px);
  background-size: 40px 24px;
  background-color: #F5EAD8;
  background-repeat: repeat-x;
  background-position: top left;
}

/* ── LOCK SCREEN ── */
#lock-screen { background: #F5EAD8; }

.lock-title { color: #C49070; }
.lock-subtitle { color: #C49070; }

.key-input-wrap input {
  border-color: #F0DFC8;
  color: #C49070;
}

.key-input-wrap input:focus { border-color: #FAD480; }

.unlock-btn {
  background: #A8234A;
  color: #FDFAF5;
}

.have-key-link {
  color: #C49070;
  text-shadow: 0 2px 12px rgba(180,140,100,0.25);
}

/* ── TAB SCREENS ── */
.tab-screen { background: #FDFAF5; }

.tab-header { background: #F5EAD8; }

.tab-title {
  color: #C49070;
  text-shadow: none;
}

.tab-scallop {
  background:
    radial-gradient(circle at 10px 0, #F0DFC8 10px, transparent 11px),
    radial-gradient(circle at 30px 0, #F0DFC8 10px, transparent 11px);
  background-size: 40px 24px;
  background-color: #FDFAF5;
  background-repeat: repeat-x;
  background-position: top left;
}

/* ── MAIN APP ── */
#app {
  background-color: #F5EAD8;
  background-image:
    linear-gradient(rgba(180,140,100,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,140,100,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
  padding-top: 60px;
  align-items: center;
}

/* ── CARD ── */
.card {
  background-color: transparent;
  background-image: none;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  max-width: 480px;
  min-height: unset;
}

.card-bg { display: none; }

/* ── TOP BAR ── */
.top-bar {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
  position: relative;
}

.city  { color: #C49070; letter-spacing: 0.18em; font-size: 10px; }
.clock { color: #C49070; font-size: 10px; }

/* ── LUCY ILLUSTRATION ── */
.nimkin-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.lucy-circle {
  position: absolute;
  width: 115%;
  height: 115%;
  border-radius: 50%;
  background: #FDFAF5;
  box-shadow: 0 0 30px 12px rgba(255,210,185,0.75);
  z-index: 1;
}

@keyframes lucyWiggle {
  0%, 100%  { transform: scale(1.28) rotate(0deg); }
  10%       { transform: scale(1.30) rotate(-5deg); }
  20%       { transform: scale(1.32) rotate(5deg); }
  30%       { transform: scale(1.32) rotate(-4deg); }
  40%       { transform: scale(1.32) rotate(3deg); }
  50%       { transform: scale(1.32) rotate(-2deg); }
  60%       { transform: scale(1.28) rotate(0deg); }
}

.lucy-book {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.28);
  transform-origin: center center;
}

.lucy-book.wiggling {
  animation: lucyWiggle 0.8s ease-in-out forwards !important;
}

/* ── LABELS ── */
.weather-label {
  font-size: 28px;
  color: #C49070;
  margin-top: 0;
  font-weight: 700;
  text-align: center;
}

.weather-note {
  font-size: 13px;
  color: #C49070;
  text-align: center;
  margin-top: 8px;
}

/* ── ACTION BUTTONS ── */
.action-buttons {
  width: 100%;
  max-width: 320px;
  margin-top: 40px;
}

.btn-closet {
  background: #FAD480;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  padding: 16px 18px;
  width: 100%;
}

.btn-updates {
  background: #FDFAF5;
  color: #C49070;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  padding: 16px 18px;
  width: 100%;
  box-shadow: 0 0 20px 8px rgba(255,210,185,0.7);
}

.btn-install {
  background: #A8234A;
  color: #FDFAF5;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  padding: 16px 18px;
  width: 100%;
  box-shadow: none;
}

/* ── POST-IT DOODLES ── */
.postit {
  position: absolute;
  background: #FAF3E8;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 2px 3px 8px rgba(180,140,100,0.25);
  z-index: 4;
}

.postit-tape {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  background: rgba(250,212,128,0.85);
  border-radius: 2px;
}

/* ── PACK CARD ── */
.pack-card-img {
  background: #F0DFC8;
}

/* ── OVEN FIELD PLACEHOLDERS ── */
#lk-temp::placeholder,
#lk-time::placeholder { color: #FDFAF5; }

/* ── TICKER ── */
.ticker-content {
  color: #C49070;
  animation-duration: 60s;
}
#card-kitchen-view { margin-top: 20px; }
#postit-frodo { margin-top: 19px; }
#card-kitchen-view .weather-label, #card-kitchen-view .weather-note, #card-kitchen-view .action-buttons { margin-top: 25px; }
#card-kitchen-view .weather-note { margin-top: 0px; }