* { box-sizing:border-box; }
.unlock {
  --paper:#f7f2e8; --ink:#19163d; --muted:#594f6d; --card:#fffaf3; --line:#cdbedc; --rose:#f8d9e8; --lilac:#e9dfff; --gold:#ffdb75; --mint:#def3e3;
  margin:0; min-height:100vh; background:var(--paper); color:var(--ink); font:500 1rem/1.4 Fredoka,system-ui,sans-serif;
}
html[data-theme="dark"] .unlock {
  --paper:#191327; --ink:#fff0fc; --muted:#ded1e7; --card:#251d38; --line:#5e4b70; --rose:#482745; --lilac:#393052; --gold:#ffd677; --mint:#264b3d;
}
.unlock-main { width:min(100% - 28px,1000px); margin-inline:auto; padding:4px 0 52px; }
.unlock-nav { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.unlock-nav a,.unlock-primary,.unlock-secondary,.unlock-pick {
  display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:44px;
  border:1px solid var(--line); border-radius:99px; padding:6px 13px; background:var(--card); color:var(--ink);
  font:650 .95rem/1.24 Fredoka,system-ui,sans-serif; text-decoration:none; cursor:pointer;
}
.unlock-nav [aria-current],.unlock-secondary.selected,.unlock-nav a:hover,.unlock-secondary:hover { background:var(--lilac); }
.unlock-primary { background:var(--gold); color:#291a3a; border-color:#ac751f; box-shadow:0 2px #ac751f42; }
.unlock-primary:hover { filter:brightness(1.06); }
.unlock :focus-visible { outline:3px solid #bb4f91; outline-offset:3px; }
.unlock h1,.unlock h2,.unlock h3 { margin:0; line-height:1.08; }
.unlock h1 { font-size:clamp(2rem,6vw,3.9rem); letter-spacing:-.035em; }
.unlock h2 { font-size:clamp(1.2rem,3vw,1.5rem); }
.unlock h3 { font-size:1.08rem; }
.unlock p { margin:8px 0 11px; }
.unlock small { color:var(--muted); }
.unlock-heading { margin:9px 0 15px; }
.unlock-heading p { color:var(--muted); font-size:clamp(1rem,2.3vw,1.22rem); }
.unlock-hero {
  display:grid; grid-template-columns:minmax(0,1fr) clamp(80px,24%,220px); align-items:center; gap:10px;
  min-height:230px; padding:clamp(12px,4vw,34px); border:1px solid var(--line); border-radius:26px; background:linear-gradient(128deg,var(--rose),var(--lilac) 72%,var(--card)); color:var(--ink);
}
.unlock-hero h1 { font-size:clamp(2.3rem,9vw,5.75rem); }
.unlock-hero-lumi { position:relative; display:grid; place-items:center; }
.unlock-hero-lumi::before { position:absolute; content:""; inset:10% 1%; border-radius:50%; background:radial-gradient(ellipse,#ffc5e3a0,transparent 72%); }
.unlock-hero-lumi svg { position:relative; width:100%; filter:drop-shadow(0 11px 9px #8235412d); }
.unlock-hero-lumi span { position:absolute; inset:7% auto auto 4%; color:#a35540; font-size:clamp(.89rem,3vw,1.75rem); }
.unlock-hero-lumi span:last-child { inset:auto 0 13% auto; }
.unlock-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-block:9px 2px; }
.unlock-lumi { display:flex; align-items:center; gap:10px; margin:12px 0; padding:6px 12px; border:1px solid var(--line); border-radius:15px; background:var(--rose); }
.unlock-lumi > span { flex:0 0 42px; }
.unlock-lumi svg { display:block; width:100%; }
.unlock-lumi p { margin:0; }
.unlock-panel { min-width:0; margin:10px 0; padding:clamp(11px,2.5vw,20px); border:1px solid var(--line); border-radius:18px; background:var(--card); }
.unlock-overview,.unlock-missions,.unlock-zone-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,224px),1fr)); gap:10px; margin-block:10px; }
.unlock-overview .unlock-panel,.unlock-missions .unlock-panel { margin:0; }
.unlock-card-picks { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr)); gap:8px; }
.unlock-pick { justify-content:start; min-height:68px; padding:10px 13px; border-radius:16px; background:var(--lilac); text-align:left; }
.unlock-pick:nth-child(2) { background:var(--rose); }
.unlock-pick:nth-child(3) { background:var(--mint); }
.unlock-form { display:grid; gap:9px; }
.unlock-form > button[type="submit"] { justify-self:start; }
.unlock-form label,.unlock-search { display:grid; min-width:0; gap:4px; font-weight:600; }
.unlock-form :is(input:not([type="checkbox"]),textarea,select),.unlock-search input {
  width:100%; min-width:0; min-height:44px; border:1px solid var(--line); border-radius:10px;
  background:var(--paper); color:var(--ink); padding:7px 9px; font:500 1rem/1.3 Fredoka,system-ui,sans-serif;
}
.unlock-form textarea { resize:vertical; min-height:62px; }
.unlock-form fieldset { display:grid; gap:8px; margin:0; padding:9px; border:1px solid var(--line); border-radius:11px; }
.unlock-form .unlock-check { display:flex; align-items:center; gap:8px; min-height:38px; }
.unlock-form input[type="checkbox"] { width:20px; height:20px; accent-color:#9d45b6; }
.unlock-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.unlock-postit { min-width:0; display:grid; align-content:start; gap:4px; padding:11px 13px; border:1px solid var(--line); border-radius:14px; background:var(--lilac); overflow-wrap:anywhere; }
.unlock-postit[data-zone="0"] { background:color-mix(in srgb,var(--card) 73%,#ef9a5d); }
.unlock-postit[data-zone="1"] { background:var(--rose); }
.unlock-postit[data-zone="2"] { background:var(--mint); }
.unlock-postit[data-zone="3"] { background:color-mix(in srgb,var(--card) 73%,#71b6ec); }
.unlock-postit[data-zone="4"] { background:color-mix(in srgb,var(--card) 73%,#ed82aa); }
.unlock-postit[data-zone="5"] { background:var(--lilac); }
.unlock-postit[data-zone="6"] { background:color-mix(in srgb,var(--card) 70%,#efbb52); }
.unlock-text { display:inline-flex; width:fit-content; align-items:center; min-height:34px; color:inherit; text-underline-offset:3px; }
.unlock-cal-head { display:flex; justify-content:space-between; align-items:center; gap:7px; margin:12px 0; text-align:center; }
.unlock-cal-head h2 { text-transform:capitalize; }
.unlock-cal-head a { min-height:38px; padding-inline:7px; }
[data-form="jump-date"] { grid-template-columns:minmax(0,210px) auto; justify-content:start; align-items:end; margin-bottom:12px; }
.unlock-day-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
.unlock-weekdays { text-align:center; color:var(--muted); font-size:.84rem; }
.unlock-day {
  position:relative; display:grid; place-content:center; min-height:37px; padding:3px; border:1px solid transparent; border-radius:9px;
  color:var(--ink); background:var(--paper); text-decoration:none;
}
.unlock-day:is(:hover,.selected) { background:var(--lilac); border-color:var(--line); }
.unlock-day i { display:block; text-align:center; line-height:.7; font-style:normal; color:#a14974; }
.unlock-year { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,132px),1fr)); gap:5px; }
.unlock-year button { border-radius:9px; text-transform:capitalize; }
.unlock-step { display:grid; gap:3px; font-weight:650; }
.unlock-step progress { width:100%; height:13px; accent-color:#9f62ce; }
.unlock-steps { display:flex; flex-wrap:wrap; gap:5px; }
.unlock-steps span { padding:6px 9px; border:1px solid var(--line); border-radius:99px; font-size:.8rem; }
.unlock-steps [aria-current] { background:var(--lilac); font-weight:700; }
.unlock-details,.unlock-privacy { padding:8px; border:1px solid var(--line); border-radius:9px; margin-block:6px; }
.unlock-details summary,.unlock-privacy summary { cursor:pointer; }
.unlock-details .unlock-form { margin-top:8px; }
.unlock-conflict { border:1px solid #cd977a; border-radius:13px; margin-top:10px; padding:8px; }
.unlock-success { border-radius:8px; padding:7px; background:var(--mint); }
#unlock-status:not(:empty) { padding:7px 10px; border-radius:9px; background:var(--mint); }
.unlock-search { max-width:400px; }
@media(max-width:520px) {
  .unlock-hero { min-height:200px; }
  .unlock-nav a { font-size:.84rem; min-height:38px; padding-inline:8px; }
  .unlock-main { padding-top:0; }
}

.unlock-game-level {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  padding: clamp(12px, 2.6vw, 19px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.unlock-game-level > div { flex: 1 1 15rem; }
.unlock-game-level p { margin: 4px 0; color: var(--muted); }
.unlock-game-level progress { display: block; width: min(100%, 340px); accent-color: #a34ac8; }
.unlock-game-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.unlock-game-paths a {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 8px;
  min-height: 80px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--lilac);
  color: var(--ink);
  text-decoration: none;
}
.unlock-game-paths a:nth-child(2) { background: var(--mint); }
.unlock-game-paths a:nth-child(3) { background: var(--rose); }
.unlock-game-paths a:hover strong { text-decoration: underline; }
.unlock-game-paths :is(span,b) { grid-row: 1 / 3; font-size: 1.3rem; }
.unlock-game-paths b { grid-column: 3; }
.unlock-game-paths small { grid-column: 2; font-size: .86rem; }
.unlock-game-links { margin-top: 12px; }
@media (max-width: 620px) {
  .unlock-game-paths { grid-template-columns: 1fr; }
  .unlock-game-paths a { min-height: 62px; }
}

.unlock-game-tabs, .unlock-explorer-links { display:flex; flex-wrap:wrap; gap:.6rem; margin-block:1rem; }
.unlock-game-tabs a, .unlock-explorer-links a {
  min-height:44px; padding:.65rem .9rem; border:1px solid #a99bbc; border-radius:14px;
  color:inherit; text-decoration:none; background:var(--card,#fff7ed);
}
.unlock-game-tabs a[aria-current] { background:#ffda43; color:#19163d; border-color:#19163d; }
.unlock-game-tools summary { cursor:pointer; padding-block:.5rem; }
.unlock-explorer-links a { flex:1 1 11rem; display:flex; flex-direction:column; gap:.35rem; }
.unlock-mini-wheel {
  display:block; width:46px; height:46px; border-radius:50%; border:2px solid #19163d;
  background:conic-gradient(#4d8feb 0 20%,#ff5c6c 20% 40%,#2ecc8a 40% 60%,#7c59d1 60% 80%,#ffda43 80%);
}
.unlock-game-local { font-size:.9rem; }
