/* A calm, readable progress journal over the Ocean. */
.progress-screen { min-height:100%; padding-bottom:calc(30px + var(--sb)); }
.progress-body { width:calc(100% - 32px); max-width:780px; margin:12px auto 0; padding:0 22px 26px; border-radius:28px; background:#fffaf3; color:#173f4b; box-shadow:0 12px 40px #052b3b33; }
.progress-hero { padding:28px 0; color:#173f4b; text-align:center; border-bottom:1px solid #174b5b26; }
.progress-kicker { text-transform:uppercase; letter-spacing:.13em; font-size:12px; font-weight:900; color:#39666c; }
.progress-hero h2 { font:500 clamp(27px,5vw,38px)/1.15 var(--f-display); margin:12px 0; }
.progress-hero p { line-height:1.5; }
.progress-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:28px 0 18px; }
.progress-totals div { display:flex; flex-direction:column-reverse; justify-content:flex-end; }
.progress-totals dt { font-size:12px; font-weight:800; }
.progress-totals dd { margin:0 0 6px; font:500 36px/1.1 var(--f-display); }
.progress-totals small { display:block; font:700 11px/1.5 var(--f-body); color:#4b686d; min-height:17px; }
.progress-totals [data-total-puzzles]::after { content:""; display:block; height:17px; }
.progress-levels,.progress-saved { font-size:13px; font-weight:800; }
.progress-screen .progress-hero .btn-primary { background:#075667; color:#fff; border-color:#075667; text-decoration:none; }
.progress-puzzles,.progress-worlds { margin-top:32px; }
.progress-body h2 { font-family:var(--f-display); font-weight:500; }
.progress-puzzles dl { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; }
.progress-puzzles dl div { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:3px 0; min-height:50px; border-bottom:1px solid #174b5b26; }
.progress-puzzles dd { margin:0; font-weight:900; }
/* Each link is a full-size tap target, not just its line of text. */
.progress-puzzles a { display:inline-flex; align-items:center; min-height:44px; color:inherit; text-underline-offset:3px; }
.progress-puzzles p,.progress-worlds>p,.progress-note { font-size:14px; line-height:1.6; color:#476670; }
.progress-worlds ol { list-style:none; padding:0; margin:20px 0; }
.progress-world { display:flex; align-items:center; gap:14px; padding:18px 0; border-bottom:1px solid #174b5b26; color:inherit; text-decoration:none; min-width:0; }
.progress-art { flex:0 0 58px; height:58px; border-radius:18px; background:#195d6c; background-position:center; background-size:cover; }
.progress-world-copy { flex:1; min-width:0; }
.progress-world strong { display:block; font-family:var(--f-display); font-size:20px; font-weight:500; overflow-wrap:anywhere; }
.progress-world-copy>span { display:block; font-size:12px; margin:5px 0 9px; }
.progress-world progress { width:100%; height:7px; display:block; border:0; border-radius:9px; overflow:hidden; background:#174b5b26; accent-color:#087286; }
.progress-world progress::-webkit-progress-bar { background:#174b5b26; border-radius:9px; }
.progress-world progress::-webkit-progress-value { background:#087286; border-radius:9px; }
.progress-world progress::-moz-progress-bar { background:#087286; border-radius:9px; }
.progress-note { text-align:center; margin:30px auto 0; max-width:520px; }
.home-progress-entry { margin:20px 0 0; text-align:center; }
.world-completion { margin:0 0 18px; padding:18px; background:#fff1c9; color:#493c22; border:1px solid #ead8a2; border-radius:22px; }
.world-completion strong { display:block; font:500 26px/1.2 var(--f-display); margin-bottom:8px; }
.world-completion p { margin:6px 0; font-weight:800; }
.world-completion small { display:block; line-height:1.5; margin-top:8px; }
@media(max-width:380px) { .progress-body { padding-left:16px; padding-right:16px; } .progress-hero { padding:22px 0; } .progress-totals dd { font-size:30px; } .progress-puzzles dl { grid-template-columns:1fr; } .progress-art { flex-basis:46px; height:46px; } .progress-world { gap:10px; } }

/* Illustrated enamel keeps every discovery colourful, earned or still ahead. */
.badge-journal { margin-top:30px; }
.badge-journal>p { font-size:14px; line-height:1.6; }
.journey-badges { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:20px 0; }
.journey-badge {
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  min-width:0; padding:20px 14px 18px; text-align:center; color:#103f4e;
  border:1px solid #dfd1b3; border-radius:24px;
  background:linear-gradient(145deg,#fbf7ed,#f5efdf);
  box-shadow:inset 0 1px 0 #fffdf8,0 2px 5px #b4a47d0b;
}
.journey-badge.earned {
  border-color:#b9d3bd; background:linear-gradient(145deg,#edf7eb,#dfeee1);
  box-shadow:inset 0 1px 0 #fffdf8,inset 0 0 0 1px #e8dfbd4d;
}
.journey-badge-art {
  position:relative; isolation:isolate; display:grid; place-items:center;
  width:180px; max-width:100%; aspect-ratio:1; margin:0 0 12px; flex:none;
}
.journey-badge-art::before {
  content:""; position:absolute; inset:3%; z-index:-1; border-radius:50%;
  background:radial-gradient(circle,#c5e5de66,#d6e8df44 66%,#d6e8df00 71%);
  border:1px solid #c2dcd355;
}
.journey-badge.earned .journey-badge-art::before {
  background:radial-gradient(circle,#a8dccc77,#c0e4d855 66%,#c0e4d800 71%);
  border-color:#aad7c677;
}
.journey-badge-art img { display:block; width:100%; height:100%; object-fit:contain; }
.journey-badge-name {
  display:block; width:100%; margin:0; font:500 24px/1.15 var(--f-display);
  overflow-wrap:break-word;
}
.journey-badge-requirement {
  display:block; width:100%; margin-top:5px; color:#245363;
  font:700 14px/1.45 var(--f-body); overflow-wrap:break-word;
}
.journey-badge-status {
  display:block; width:fit-content; max-width:100%; margin:13px 0 0; padding:7px 15px;
  color:#244c5b; background:#e2dece; border-radius:999px;
  font:750 12px/1.35 var(--f-body); white-space:normal; overflow-wrap:break-word;
}
.journey-badge.earned .journey-badge-status { color:#104858; background:#9dddc4; font-weight:900; }
@media(max-width:520px) {
  .journey-badges { gap:10px; }
  .journey-badge { padding:14px 6px 13px; border-radius:20px; }
  .journey-badge-art { width:clamp(110px,32vw,140px); margin-bottom:9px; }
  .journey-badge-name { display:flex; align-items:center; justify-content:center; min-height:2.3em; font-size:18px; }
  .journey-badge-requirement { min-height:2.9em; margin-top:4px; font-size:12px; }
  .journey-badge-status { margin-top:10px; padding:6px 9px; font-size:11px; }
}
.world-stamps { display:flex; flex-wrap:wrap; gap:6px; padding-top:12px; }
.world-stamps>span { border:1px dashed #9aafb0; border-radius:9px; padding:7px 10px; font-size:11px; color:#49616a; }
.world-stamps>.earned { background:#fff0c4; border:1px solid #bb8c39; color:#59401b; font-weight:900; }
.world-badge-collection { border-bottom:1px solid #174b5b26; padding-bottom:8px; }
.world-badge-collection summary { min-height:44px; padding:12px 0; font-size:13px; font-weight:800; cursor:pointer; }
.progress-worlds .world-badge-collection ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; margin:0; }
.world-badge-collection li { display:flex; justify-content:space-between; align-items:center; gap:6px; padding:8px 0; font-size:12px; border-bottom:1px solid #174b5b15; }
.world-badge-collection p { font-size:12px; line-height:1.5; }
@media(max-width:420px) { .progress-worlds .world-badge-collection ol { grid-template-columns:1fr; } }
