:root {
  --bg1: #2d1b4e;
  --bg2: #1a1030;
  --accent: #ffb84d;
  --accent2: #6ec878;
  --card: #3a2560;
  --text: #fbf5ff;
  --danger: #ff6e6e;
  --ok: #6ec878;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; user-select: none; }

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Comic Sans MS', 'Segoe UI Rounded', system-ui, sans-serif;
  background: radial-gradient(circle at top, var(--bg1), var(--bg2));
  color: var(--text);
  overflow: hidden;
  touch-action: manipulation;
}

#app { height: 100%; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: rgba(0,0,0,0.25);
}
.brand { font-weight: bold; font-size: 1.15rem; }
.tier-badge {
  background: var(--accent); color: #3a2560; font-weight: bold;
  padding: 4px 10px; border-radius: 20px; font-size: 0.8rem;
}
.icon-btn {
  background: rgba(255,255,255,0.12); border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 1.2rem; color: var(--text); cursor: pointer;
}

.screen { display: none; flex: 1; overflow-y: auto; }
.screen.active { display: flex; flex-direction: column; }

#nursery { align-items: center; justify-content: flex-start; padding: 10px 16px 20px; gap: 10px; }

.stage-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 42vh; }
/* the animated aura layer (aura.js) is inserted as the first child, so the
   sprite itself has to sit above it */
.stage-wrap > .pixel-canvas,
.celebration-card > .pixel-canvas,
.battle-sprite-wrap > .pixel-canvas { position: relative; z-index: 1; }
.aura-canvas { z-index: 0; }
.pixel-canvas { image-rendering: pixelated; image-rendering: crisp-edges; max-width: 70vw; max-height: 40vh; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4)); }
.pixel-canvas.small { max-width: 42vw; max-height: 22vh; }

.dragon-name { font-size: 1.3rem; font-weight: bold; color: var(--accent); min-height: 1.6rem; }

.care-bars, .egg-progress-wrap, .care-xp-wrap { width: 100%; max-width: 420px; }
.hidden { display: none !important; }

.bar { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.bar-label { font-size: 1.2rem; width: 26px; text-align: center; }
.bar-track {
  flex: 1; height: 14px; background: rgba(255,255,255,0.15); border-radius: 10px; overflow: hidden;
}
.bar-track.big { height: 18px; }
.bar-fill { height: 100%; width: 0%; background: var(--ok); transition: width 0.4s ease; }
.bar-fill.egg { background: linear-gradient(90deg, #ffd66e, #ff9d4d); }
.bar-fill.xp { background: linear-gradient(90deg, #7ee0ff, #6ec8ff); }

.egg-progress-label { text-align: center; font-size: 0.85rem; opacity: 0.85; margin-bottom: 4px; }

.action-buttons {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 460px;
}
.action-buttons button {
  flex: 1 1 40%; min-width: 130px; padding: 14px 10px; font-size: 1rem; font-weight: bold;
  border: none; border-radius: 16px; background: var(--card); color: var(--text);
  box-shadow: 0 4px 0 rgba(0,0,0,0.3); cursor: pointer;
}
.action-buttons button:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.action-buttons button.primary { background: var(--accent); color: #3a2560; }

/* collection */
.collection-header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.collection-header h2 { font-size: 1.05rem; margin: 0; }
.collection-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px; padding: 12px 16px 30px; overflow-y: auto;
}
.collection-item {
  background: var(--card); border-radius: 14px; padding: 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.collection-item canvas { image-rendering: pixelated; width: 80px; height: 80px; }
.collection-item .name { font-size: 0.8rem; font-weight: bold; }
.collection-empty { opacity: 0.7; padding: 30px; text-align: center; }

/* modal */
.modal {
  position: fixed; inset: 0; background: rgba(10,5,20,0.82);
  display: flex; align-items: center; justify-content: center; z-index: 50;
  padding: 16px;
}
.modal-card {
  background: var(--card); border-radius: 22px; padding: 18px; width: 100%; max-width: 380px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.modal-mini-canvas-wrap { min-height: 90px; display: flex; align-items: center; }
.question-text { font-size: 2.4rem; font-weight: bold; letter-spacing: 2px; }
.answer-display {
  font-size: 1.8rem; font-weight: bold; min-height: 2.2rem; color: var(--accent);
  border-bottom: 3px solid rgba(255,255,255,0.2); min-width: 100px; text-align: center;
}
.hint-text { min-height: 2.4em; font-size: 0.95rem; text-align: center; color: #ffd9a0; }
.cooldown-label { font-size: 0.95rem; color: var(--danger); }

.keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 6px;
}
.keypad button {
  padding: 16px 0; font-size: 1.3rem; font-weight: bold; border: none; border-radius: 12px;
  background: rgba(255,255,255,0.12); color: var(--text); box-shadow: 0 3px 0 rgba(0,0,0,0.3);
}
.keypad button:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.keypad button.ok { background: var(--ok); color: #123; }
.keypad button:disabled { opacity: 0.35; }

.celebration-card { max-width: 340px; }
.celebration-title { font-size: 1.5rem; font-weight: bold; color: var(--accent); }
.celebration-text { text-align: center; font-size: 1rem; }
.name-entry input {
  width: 100%; padding: 12px; border-radius: 12px; border: none; font-size: 1.1rem; text-align: center;
}
.big-btn {
  margin-top: 6px; padding: 14px 28px; border: none; border-radius: 16px;
  background: var(--accent); color: #3a2560; font-weight: bold; font-size: 1.05rem;
  box-shadow: 0 4px 0 rgba(0,0,0,0.3);
}
.big-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }

/* animations */
@keyframes wiggle { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-4deg)} 75%{transform:rotate(4deg)} }
.wiggle { animation: wiggle 0.4s ease-in-out; }

@keyframes bounce { 0%{transform:scale(1)} 40%{transform:scale(1.15)} 100%{transform:scale(1)} }
.bounce { animation: bounce 0.5s ease; }

@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-8px)} 75%{transform:translateX(8px)} }
.shake { animation: shake 0.3s ease; }

@keyframes popIn { 0%{transform:scale(0.5); opacity:0} 100%{transform:scale(1); opacity:1} }
.pop-in { animation: popIn 0.4s ease; }

.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkle {
  position: absolute; font-size: 1.2rem; animation: sparkleFloat 0.9s ease-out forwards;
}
@keyframes sparkleFloat {
  0% { opacity: 1; transform: translateY(0) scale(0.6); }
  100% { opacity: 0; transform: translateY(-60px) scale(1.3); }
}

#confettiLayer { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.confetti-piece {
  position: absolute; top: -10px; width: 8px; height: 14px; opacity: 0.9;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translateY(110vh) rotate(360deg); opacity: 0.2; }
}

@media (min-width: 700px) {
  .modal-card { max-width: 420px; }
}

/* topbar actions & lore */
.topbar-actions { display: flex; gap: 8px; align-items: center; }

.dragon-lore { text-align: center; margin: 4px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lore-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.element-badge { background: linear-gradient(135deg, #ff7e5f, #feb47b); color: #200; font-weight: bold; font-size: 0.82rem; padding: 4px 10px; border-radius: 12px; }
.power-badge { background: linear-gradient(135deg, #a8ff78, #78ffd6); color: #032; font-weight: bold; font-size: 0.82rem; padding: 4px 10px; border-radius: 12px; }
.lore-desc { font-size: 0.88rem; font-style: italic; opacity: 0.9; margin: 2px 0 0; max-width: 320px; color: #ffe6ac; }

/* Egg choice modal */
.egg-choice-card { max-width: 420px; max-height: 80vh; overflow-y: auto; }
.egg-choice-card h3 { margin: 4px 0 8px; color: var(--accent); text-align: center; }
.mystery-btn { width: 100%; background: linear-gradient(135deg, #7ee0ff, #6ec8ff); color: #123; }
.curated-empty { font-size: 0.85rem; opacity: 0.75; text-align: center; padding: 14px; }
.curated-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px; width: 100%; margin-top: 4px;
}
.curated-item {
  position: relative; background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 6px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform 0.15s ease;
}
.curated-item:active { transform: scale(0.94); }
.curated-item canvas { width: 100%; height: auto; image-rendering: pixelated; border-radius: 8px; }
.curated-item.claimed { cursor: default; opacity: 0.55; }
.curated-item.claimed:active { transform: none; }
.curated-name {
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; opacity: 0.8; white-space: nowrap;
}
.curated-badge {
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  background: var(--ok); color: #123; font-size: 0.6rem; font-weight: bold;
  padding: 2px 6px; border-radius: 8px; white-space: nowrap;
}

/* API Key Modal */
.api-card { text-align: center; gap: 12px; position: relative; }
.api-card h3 { margin: 4px 0; color: var(--accent); }
.api-intro { font-size: 0.88rem; opacity: 0.9; margin: 0; line-height: 1.3; }
#apiKeyInput, #syncUrlInput, #syncTokenInput, #syncProfileInput { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.3); color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.api-status { font-size: 0.85rem; min-height: 1.4em; }
.api-status.success { color: var(--ok); }
.api-status.warning { color: var(--accent); }
.api-status.error { color: var(--danger); }
.api-status.info { color: #7ee0ff; }
.api-actions { display: flex; gap: 10px; width: 100%; justify-content: center; margin-top: 6px; }
.api-actions button { padding: 10px 16px; border-radius: 12px; border: none; font-weight: bold; cursor: pointer; }
.api-actions button.secondary { background: rgba(255,255,255,0.15); color: var(--text); }
.api-actions button.primary { background: var(--accent); color: #3a2560; }
.close-btn { position: absolute; top: 12px; right: 12px; font-size: 0.9rem; width: 32px; height: 32px; }

/* AI Loading Modal */
.loading-card { text-align: center; padding: 30px; gap: 14px; max-width: 320px; }
.magic-spinner { font-size: 2.5rem; animation: magicPulse 1.2s infinite ease-in-out; }
.loading-title { font-weight: bold; font-size: 1.1rem; color: var(--accent); }
.loading-sub { font-size: 0.85rem; opacity: 0.8; }

.celebration-lore { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 6px 0; }
.collection-elem { font-size: 0.72rem; opacity: 0.85; font-weight: bold; }
.collection-stage { font-size: 0.68rem; font-weight: bold; color: var(--accent); opacity: 0.9; }
.collection-evo-badge { font-size: 0.62rem; font-weight: bold; padding: 2px 6px; border-radius: 8px; background: rgba(255,255,255,0.12); color: #7ee0ff; margin-top: 2px; }
.collection-evo-badge.ready { background: linear-gradient(90deg, #ffb84d, #f48fb1); color: #120a24; animation: juiceGlowPulse 1.2s infinite alternate; }
.curated-evo-tag { position: absolute; top: 4px; right: 4px; background: linear-gradient(135deg, #ffb84d, #ff8a5c); color: #1a0c2e; font-size: 0.58rem; font-weight: 800; padding: 1px 5px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.4); z-index: 2; }
.collection-item { cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; position: relative; }
.collection-item:active { transform: scale(0.95); }

@keyframes magicPulse {
  0%,100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.25) rotate(15deg); }
}

/* Lab (hidden, ?lab=1) */
.lab-card { position: relative; text-align: center; gap: 12px; max-width: 360px; }
.lab-card h3 { margin: 4px 0; color: var(--accent); }
.lab-tabs { display: flex; gap: 8px; width: 100%; }
.lab-tab {
  flex: 1; padding: 8px; border-radius: 10px; border: none; font-weight: bold;
  background: rgba(255,255,255,0.1); color: var(--text); cursor: pointer;
}
.lab-tab.active { background: var(--accent); color: #3a2560; }
.lab-panel { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lab-word-hidden { font-size: 0.9rem; opacity: 0.85; min-height: 1.4em; }
#dicteeInput { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.3); color: var(--text); font-size: 1.1rem; text-align: center; }
.cursive-canvas { width: 100%; height: 140px; background: rgba(255,255,255,0.06); border-radius: 12px; touch-action: none; }
.medal-count { font-size: 0.85rem; opacity: 0.9; margin-top: 4px; }

.fx-stage {
  position: relative; width: 100%; height: 160px; background: rgba(255,255,255,0.06);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.fx-dragon { font-size: 3.5rem; }
.battle-ex-card { max-width: 360px; gap: 10px; }
.battle-ex-title { font-weight: bold; color: var(--accent); font-size: 1rem; text-align: center; }
.battle-ex-panel { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
#bxTextInput { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.3); color: var(--text); font-size: 1.1rem; text-align: center; }

/* Battle arena (lab) */
.battle-arena {
  position: relative; width: 100%; border-radius: 14px; padding: 8px;
  background: linear-gradient(180deg, rgba(126,224,255,0.10), rgba(58,37,96,0.5));
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
}
.battle-side { display: flex; flex-direction: column; gap: 3px; }
.battle-side.foe { align-items: flex-end; }
.battle-side.hero { align-items: flex-start; }
.battle-name { font-size: 0.78rem; font-weight: bold; }
.battle-sprite-wrap { position: relative; display: flex; }
.battle-sprite { width: 96px; height: auto; image-rendering: pixelated; }
.hp-track { width: 110px; height: 8px; background: rgba(0,0,0,0.35); border-radius: 6px; overflow: hidden; }
.hp-fill { height: 100%; width: 100%; transition: width 0.35s ease; }
.hp-fill.hero { background: linear-gradient(90deg, #6ec878, #a8ff78); }
.hp-fill.foe { background: linear-gradient(90deg, #ff6e6e, #ffb84d); }
.hp-fill.low { background: linear-gradient(90deg, #ff4d4d, #ff8a5c); }
.battle-log {
  width: 100%; min-height: 2.6em; font-size: 0.85rem; text-align: center;
  background: rgba(0,0,0,0.25); border-radius: 10px; padding: 6px 8px; line-height: 1.3;
}
.battle-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
.battle-actions button {
  padding: 9px 6px; border: none; border-radius: 10px; font-weight: bold; font-size: 0.8rem;
  background: var(--card); color: var(--text); box-shadow: 0 3px 0 rgba(0,0,0,0.3); cursor: pointer;
}
.battle-actions button:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.battle-actions button:disabled { opacity: 0.4; }
.battle-actions button .atk-sub { display: block; font-size: 0.65rem; opacity: 0.8; font-weight: normal; }
@keyframes battleHurt { 0%,100% { filter: none; } 50% { filter: brightness(2.2) saturate(0.3); } }
.hurt { animation: battleHurt 0.3s ease; }

.status-badges { display: flex; gap: 4px; min-height: 15px; flex-wrap: wrap; }
.status-badges span {
  font-size: 0.62rem; background: rgba(0,0,0,0.45); border-radius: 6px; padding: 1px 5px;
}
.battle-name.boss { color: #ff6e6e; text-shadow: 0 0 6px rgba(255,110,110,0.6); }

/* Spell shop (lab) */
.shop-wallet {
  width: 100%; font-size: 0.78rem; background: rgba(0,0,0,0.25);
  border-radius: 10px; padding: 6px 8px; text-align: center; line-height: 1.5;
}
.shop-list { width: 100%; display: flex; flex-direction: column; gap: 6px; max-height: 44vh; overflow-y: auto; }
.shop-item {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06);
  border-radius: 10px; padding: 7px 9px;
}
.shop-item .shop-info { flex: 1; min-width: 0; }
.shop-item .shop-name { font-size: 0.82rem; font-weight: bold; }
.shop-item .shop-sub { font-size: 0.66rem; opacity: 0.85; }
.shop-item button {
  border: none; border-radius: 9px; padding: 7px 10px; font-weight: bold; font-size: 0.72rem;
  background: var(--accent); color: #3a2560; cursor: pointer; white-space: nowrap;
}
.shop-item button:disabled { background: rgba(255,255,255,0.15); color: var(--text); opacity: 0.55; }
.shop-item.owned { opacity: 0.6; }

.fx-select {
  width: 100%; padding: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.3); color: var(--text); font-size: 0.95rem;
}


/* Tactile feedback: buttons dip and glow briefly when pressed, so every tap
   feels acknowledged even before the effect layer fires. */
.action-buttons button, .big-btn, .keypad button, .icon-btn {
  transition: transform 0.08s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.action-buttons button:active, .big-btn:active, .keypad button:active {
  filter: brightness(1.25);
}
.keypad button.ok:active { box-shadow: 0 0 18px rgba(110,200,120,0.8); }
.icon-btn:active { transform: scale(0.9); }

@keyframes juiceGlowPulse {
  0%,100% { box-shadow: 0 0 0 rgba(255,216,79,0); }
  50%     { box-shadow: 0 0 22px rgba(255,216,79,0.75); }
}
.glow-pulse { animation: juiceGlowPulse 0.9s ease; }

/* The care/XP bars now shimmer as they fill */
.bar-fill { position: relative; overflow: hidden; }
.bar-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-100%);
  animation: juiceShimmer 2.2s ease-in-out infinite;
}
@keyframes juiceShimmer { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(200%); } }

/* ---- Player profiles ------------------------------------------------ */
.profile-card { max-width: 360px; }
.profile-hero { font-size: 3rem; line-height: 1; }
.profile-card h3 { margin: 4px 0 0; font-size: 1.4rem; }
.profile-sub { margin: 0 0 6px; font-size: 0.9rem; opacity: 0.85; text-align: center; }
.profile-input {
  width: 100%; padding: 14px; border-radius: 14px; border: none;
  font-size: 1.2rem; text-align: center; font-family: inherit;
}
.profile-error { min-height: 1.2em; font-size: 0.85rem; color: var(--danger); text-align: center; }
.profile-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; }
.profile-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 2px solid transparent; color: var(--text);
  border-radius: 100px; padding: 8px 14px; font-size: 0.95rem; font-weight: bold;
  font-family: inherit; cursor: pointer;
}
.profile-chip.current { border-color: var(--accent); background: rgba(255,184,77,0.2); }
.profile-chip .del { opacity: 0.5; font-size: 0.8rem; }

.adopt-box {
  background: rgba(110,200,120,0.15); border: 1px solid rgba(110,200,120,0.5);
  border-radius: 14px; padding: 12px 14px; width: 100%; text-align: center;
}
.adopt-title { font-weight: bold; font-size: 0.95rem; margin-bottom: 4px; }
.adopt-desc { font-size: 0.9rem; color: var(--accent); }
.adopt-hint { font-size: 0.82rem; opacity: 0.8; margin-top: 6px; }

.parent-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.parent-actions .big-btn { width: 100%; margin-top: 0; }
.parent-note { font-size: 0.8rem; opacity: 0.75; text-align: center; margin-top: 4px; }

/* ---- Growth path ---------------------------------------------------- */
.journey-wrap { width: 100%; max-width: 460px; }
.journey-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 2px; flex-wrap: nowrap; overflow-x: auto; padding: 2px 0;
}
.journey-step {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px 5px; border-radius: 10px; flex: 0 0 auto; min-width: 44px;
  opacity: 0.4;
}
.journey-step .js-icon { font-size: 1.15rem; line-height: 1; }
.journey-step .js-name { font-size: 0.58rem; text-align: center; letter-spacing: 0.01em; }
.journey-step.done { opacity: 0.75; }
.journey-step.current {
  opacity: 1; background: rgba(255,184,77,0.22);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.journey-step.current .js-name { font-weight: bold; color: var(--accent); }
.journey-sep { opacity: 0.3; font-size: 0.7rem; flex: 0 0 auto; }

.goal-card {
  background: rgba(255,255,255,0.08); border-radius: 16px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 7px;
}
.goal-head { display: flex; align-items: center; gap: 7px; }
.goal-icon { font-size: 1.1rem; }
.goal-title { font-weight: bold; font-size: 0.95rem; }
.goal-label { font-size: 0.85rem; opacity: 0.9; }
.goal-todo { display: flex; flex-wrap: wrap; gap: 6px; }
.todo-pill {
  font-size: 0.78rem; padding: 3px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; gap: 4px;
}
.todo-pill.ok { background: rgba(110,200,120,0.25); color: #cfeed4; }
.todo-pill .tp-num { font-weight: bold; font-variant-numeric: tabular-nums; }

.locked-note {
  font-size: 0.85rem; opacity: 0.85; text-align: center;
  background: rgba(255,255,255,0.08); border-radius: 12px; padding: 10px 12px;
}

/* secondary action inside a panel — present but not competing with the primary */
.big-btn.subtle {
  background: rgba(255,255,255,0.14); color: var(--text);
  font-size: 0.92rem; padding: 10px 18px;
}
