/* Engraved symbols and weathered paper, with the strongest treatment in the book. */
.atlas-icon{display:inline-block;width:25px;height:25px;vertical-align:middle;flex-shrink:0}.nav-journal .atlas-icon{width:21px;height:21px;margin-left:8px;color:#826231}.result-flourish .atlas-icon{width:33px;height:33px}.score-tile>.atlas-icon{width:25px;height:25px}.secondary-action .atlas-icon{width:20px;height:20px}.total-flourish .atlas-icon{width:38px;height:38px}.opening-collection>.atlas-icon{width:34px;height:34px;color:#866231}
.opening-border:before,.opening-border:after,.collectible.gilded:after{content:none}.result-flourish{font-size:0}.opening-border{border-style:double;border-width:3px}
.parchment{background-color:#f0e3c5;background-image:radial-gradient(ellipse at 0 0,#a8732922,transparent 38%),radial-gradient(ellipse at 100% 100%,#a8732920,transparent 42%),radial-gradient(ellipse at 45% 30%,#fff9e9a0,transparent 65%),url('/grain.svg');background-size:auto,auto,auto,150px 150px}
.round-panel.parchment{box-shadow:inset 0 0 42px #8c5d2514,0 12px 50px #19383a35;border-color:#b69764;background-image:radial-gradient(ellipse at 0 100%,#ac7b2929,transparent 35%),radial-gradient(ellipse at 95% 0,#a8792920,transparent 35%),linear-gradient(#fff8e8aa,#f4e7ccbb),url('/chart-engraving.svg'),url('/grain.svg');background-size:auto,auto,auto,900px 650px,150px 150px;background-position:center,center,center,right top,center}
.journal-dialog.parchment{border:1px solid #9d7c45;border-left:9px solid #8b6939;padding:34px 38px;box-shadow:inset 4px 0 8px #68481735,inset 0 0 65px #9b672b25,0 18px 70px #102e3b60;}
#journal-dialog.journal-dialog.parchment,#complete-round .results-stamps{background-color:#edddba;background-image:linear-gradient(90deg,#79522222,transparent 28px,transparent calc(100% - 15px),#79522216),radial-gradient(ellipse at 0 100%,#a46b2a32,transparent 42%),radial-gradient(ellipse at 90% 3%,#bd8d4626,transparent 40%),url('/chart-engraving.svg'),url('/grain.svg');background-size:auto,auto,auto,900px 650px,140px 140px;background-position:center,center,center,right top,center}
.journal-dialog>h2{font-style:italic}.journal-dialog #journal-rule{color:#5d6048}.journal-controls{padding-bottom:4px}.place-pages{display:flex;gap:0;border-bottom:1px solid #b29360;margin:10px 0 18px}.place-pages button{background:#dfc99e66;border:1px solid #b29360;border-bottom:0;border-radius:6px 6px 0 0;padding:8px 24px;margin:0 7px 0 0;color:#765528;font:20px Atlas,serif}.place-pages button[aria-pressed=true]{background:#f8edd5;color:#204f4e;box-shadow:inset 0 3px #527569}.journal-slots{gap:16px}.collectible,.collectible.collected,.collectible.gilded{padding:7px!important;background:transparent;border:0;box-shadow:none;min-height:195px}.collectible p{font-size:11px;color:#8a7857;margin-top:8px}
.category-stamp{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%;min-height:180px;padding:18px 10px 22px;outline:0;border:1px dashed #b8a17a;background:transparent;color:#998460;border-radius:2px;isolation:isolate}.category-stamp strong{font:500 25px/1.05 Atlas,serif;text-align:center;max-width:100%;overflow-wrap:anywhere;z-index:1}.category-stamp .stamp-engraving{display:grid;place-items:center;width:67px;height:67px;flex-shrink:0}.category-stamp .stamp-engraving .atlas-icon{width:49px;height:49px;opacity:.7}.category-stamp.blank{color:#978564;background:#f7ecd022}.category-stamp.inked{color:#305f60;background:radial-gradient(ellipse,#faf0d9b0,#d8c59e30);border:3px double #487678;border-radius:5px;box-shadow:1px 2px 2px #76582f17;transform:rotate(-1.3deg)}
.category-stamp.inked:before{content:'';position:absolute;inset:6px;border:1px solid currentColor;opacity:.55;pointer-events:none}.category-stamp.inked:after{content:'';position:absolute;inset:0;background:url('/grain.svg');opacity:.4;pointer-events:none}.category-stamp.inked .stamp-engraving{border:2px solid currentColor;border-radius:50%;outline:1px dashed currentColor;outline-offset:-6px}.category-stamp.inked .stamp-engraving .atlas-icon{opacity:1;width:43px;height:43px}.stamp-imprint{font:600 9px/1 system-ui,sans-serif;letter-spacing:2px;border-top:1px solid currentColor;border-bottom:1px solid currentColor;padding:4px 5px;margin-top:3px;transform:rotate(-5deg);opacity:.85}.category-stamp .stamp-flag{position:absolute;top:10px;left:10px;font:22px/1 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;filter:saturate(.7);z-index:1}.category-stamp .stamp-count{position:absolute;top:10px;right:10px;font:11px/1 system-ui,sans-serif;color:inherit}.category-stamp.gold{color:#81551a;background:radial-gradient(ellipse at 35% 20%,#fff4bc,#edce7c88 70%,#c99c4d55);border-color:#a77a2a;box-shadow:inset 0 0 16px #b7873326,1px 3px 4px #68441c25}.gold-seal{position:absolute;right:-5px;bottom:-9px;display:grid;place-items:center;width:44px;height:44px;background:linear-gradient(135deg,#fff0a3,#c8912f 55%,#efcf77);color:#765013;box-shadow:0 2px 4px #61430b40;clip-path:polygon(50% 0,60% 7%,73% 5%,79% 17%,92% 22%,92% 36%,100% 48%,93% 60%,94% 74%,81% 81%,74% 94%,60% 93%,50% 100%,38% 93%,24% 94%,18% 82%,5% 75%,7% 61%,0 50%,7% 38%,5% 24%,18% 18%,25% 5%,38% 7%);z-index:2}.gold-seal .atlas-icon{width:31px;height:31px}.stamp-earned{padding:18px 5px;gap:22px}.stamp-earned .category-stamp,.review-stamps .category-stamp{width:165px;min-height:180px}.stamp-earned .category-stamp strong{font-size:23px}.review-stamps{padding:14px 0;gap:22px}.stamp-open{font:19px Atlas,serif}.journal-slots .collectible:nth-child(even) .inked{transform:rotate(1.1deg)}
@media(max-width:600px){.journal-dialog.parchment{padding:24px 17px;border-left-width:5px}.journal-slots{gap:10px}.collectible{min-height:190px}.category-stamp{min-height:180px;padding-left:7px;padding-right:7px}.category-stamp strong{font-size:21px}.category-stamp .stamp-flag{left:7px;font-size:19px}.category-stamp .stamp-count{right:7px}.place-pages button{padding:9px 22px}.stamp-earned{gap:17px}.stamp-earned .category-stamp{width:132px;min-height:175px}.stamp-earned .category-stamp strong{font-size:21px}.stamp-imprint{font-size:8px;letter-spacing:1.5px}.gold-seal{width:36px;height:36px}.gold-seal .atlas-icon{width:26px;height:26px}.result-flourish .atlas-icon{width:26px;height:26px}.nav-journal .atlas-icon{width:18px;height:18px}}
@media(prefers-reduced-motion:no-preference){.result-arrive .category-stamp.inked{animation:ink-press .5s ease-out .55s both}@keyframes ink-press{from{opacity:0;scale:1.12}to{opacity:1;scale:1}}}
.category-stamp .stamp-imprint{font:600 11px/1 system-ui,sans-serif;letter-spacing:1.6px;width:max-content;max-width:100%;white-space:nowrap;padding:5px 7px;margin-top:5px}
@media(max-width:600px){.category-stamp .stamp-imprint{font-size:9px;letter-spacing:1px;padding:5px}}
/* Results spread: score on the left, the actual discoveries on the right. */
.results-overview{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:24px 0 28px;text-align:center;align-items:center}.results-score{padding:20px 10px}.results-stamps{border-left:1px solid #b59a66;padding:8px 0 8px 28px;min-width:0}.results-stamps h3{font:500 29px Atlas,serif;margin:0 0 4px}.results-stamps>p{font:12px/1.5 system-ui;color:#756345;margin:6px 0 16px}.results-overview .journey-total{margin:0;gap:8px;flex-wrap:wrap;align-items:center}.results-overview .total-flourish{position:static;display:flex;margin-left:8px}.results-overview #complete-score{font-size:80px}.results-overview #complete-breakdown{display:flex;flex-direction:column;gap:5px;margin:20px 0 0;padding:0}.results-overview #complete-breakdown>b{font:38px/1 Atlas,serif}.results-overview #complete-breakdown>span{display:block;border:0;background:none;min-width:0;padding:0;font:18px/1.3 Atlas,serif;color:#425d50}#run-stamps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 10px;margin:0 0 20px}#run-stamps:empty{display:none}#run-stamps .category-stamp{min-height:112px;padding:22px 5px 12px;gap:4px}#run-stamps .category-stamp strong{font-size:17px}#run-stamps .stamp-engraving{width:31px;height:31px;outline-offset:-3px}#run-stamps .stamp-engraving .atlas-icon{width:23px;height:23px}#run-stamps .stamp-flag{font-size:13px;top:7px;left:7px}#run-stamps .stamp-count{font-size:9px;top:7px;right:7px}#run-stamps .stamp-imprint{font-size:6px;letter-spacing:.7px;padding:3px;margin-top:2px}#run-stamps .gold-seal{width:24px;height:24px;bottom:-6px;right:-4px}#run-stamps .gold-seal .atlas-icon{width:18px;height:18px}.bonus-tile{white-space:normal;line-height:1.4}.score-tile{min-width:0}#result-bonus{white-space:normal}
@media(max-width:600px){.results-overview{grid-template-columns:1fr;gap:15px;margin:16px 0 22px}.results-score{padding:8px}.results-stamps{border-left:0;border-top:1px solid #b59a66;padding:20px 0 0}.results-overview #complete-score{font-size:70px}.results-overview #complete-breakdown{margin-top:12px}#run-stamps{grid-template-columns:repeat(3,minmax(0,1fr))}.results-stamps h3{font-size:26px}}
/* A travelling scorecard with a dedicated achievement ribbon. */
.results-overview{align-items:stretch;gap:24px}.results-score{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;min-height:300px;padding:28px 24px 100px;border:1px solid #345e59;border-radius:4px;background:radial-gradient(ellipse at 25% 15%,#42766c,#234e4b 70%);box-shadow:inset 0 0 0 5px #2e5c54,inset 0 0 0 6px #c9b36d70,0 5px 12px #52452324;color:#fff1cc;overflow:visible}.results-score:before{content:'';position:absolute;inset:8px;background:url('/chart-engraving.svg') center/600px 440px;opacity:.22;pointer-events:none;z-index:-1}.score-caption{font:10px/1.5 system-ui;letter-spacing:3px;color:#e5d5ad;margin:0 0 23px}.results-overview .journey-total{color:#fff0c8;gap:9px}.results-overview #complete-score{font-size:96px;text-shadow:0 2px 0 #173c3c}.results-overview #complete-max{color:#decba0;font-size:25px}.results-overview .total-flourish{color:#e9c779;align-self:center;margin-left:3px}.results-overview .total-flourish .atlas-icon{width:32px;height:32px}
.results-overview #complete-breakdown{position:absolute;bottom:19px;left:-9px;right:-9px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:13px;min-height:67px;margin:0;padding:10px 18px;background:linear-gradient(110deg,#b99453,#dbc18b 50%,#b58f50);border-top:1px solid #f8e3af;border-bottom:1px solid #856332;box-shadow:0 4px 7px #102e3333;color:#3c4939}.results-overview #complete-breakdown:before,.results-overview #complete-breakdown:after{content:'';position:absolute;bottom:-9px;width:9px;height:9px;background:#77552d;clip-path:polygon(0 0,100% 0,100% 100%);left:0}.results-overview #complete-breakdown:after{left:auto;right:0;transform:scaleX(-1)}.results-overview #complete-breakdown>span{font:600 23px/.97 Atlas,serif;color:#32463b;text-align:left;letter-spacing:.2px}.results-overview #complete-breakdown>b{display:grid;place-items:center;flex-shrink:0;min-width:61px;min-height:44px;padding:4px 10px;border:1px solid #7b633f88;border-radius:50%;background:#f5e5bb55;box-shadow:inset 0 0 0 3px #d2b57e;font:600 30px/1 Atlas,serif;color:#354b40}.results-overview #complete-breakdown>.atlas-icon{width:32px;height:37px;color:#65502f}.results-overview #complete-breakdown.has-perfect{background:linear-gradient(110deg,#c2943f,#ffe8a2 48%,#dbb35c);border-top-color:#fff5cf}.results-overview #complete-breakdown.has-perfect>b{background:#275951;color:#fff1bc;border-color:#edcf82;box-shadow:inset 0 0 0 3px #376a5d,0 0 14px #ffe5a780}.results-stamps{border:1px solid #b89a6266;border-radius:4px;padding:22px 18px 16px;background:linear-gradient(145deg,#fff7e6aa,#decca34d);box-shadow:inset 0 0 0 5px #fff5dc55}.results-stamps h3{font-style:italic}.results-stamps #ending-journal{border:1px solid #a78b54;border-radius:3px;padding:8px 19px;background:#ecdbb5;color:#5f4826;box-shadow:0 2px 0 #a78b5433}.results-stamps #ending-journal:hover{background:#e2c995}#run-stamps{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center}#run-stamps:has(>.category-stamp:only-child){grid-template-columns:minmax(110px,150px)}.expedition-ending>.round-eyebrow{letter-spacing:2px}.expedition-ending>h2{margin-bottom:10px}
@media(prefers-reduced-motion:no-preference){.result-arrive #complete-breakdown.has-perfect{animation:ribbon-arrival .65s cubic-bezier(.2,.8,.3,1.15) .2s both}.result-arrive #complete-breakdown.has-perfect>b{animation:seal-arrival .5s ease-out .65s both}@keyframes ribbon-arrival{from{opacity:0;transform:translateY(12px) scaleX(.9)}to{opacity:1;transform:none}}@keyframes seal-arrival{from{opacity:0;transform:scale(1.3) rotate(-12deg)}to{opacity:1;transform:none}}}
@media(max-width:600px){.results-overview{gap:20px}.results-score{min-height:275px;padding:23px 15px 100px}.results-overview #complete-score{font-size:84px}.results-overview #complete-breakdown{left:-5px;right:-5px;gap:10px;padding:10px;bottom:18px}.results-overview #complete-breakdown>span{font-size:23px}.results-overview #complete-breakdown:before,.results-overview #complete-breakdown:after{width:5px;height:7px;bottom:-7px}.results-stamps{padding:20px 12px 16px}.score-caption{margin-bottom:16px}}

.results-score .crowd-comparison{font:500 18px/1.4 Atlas,serif;color:#fff1cc;margin:14px 0 0;padding:0 6px;text-wrap:balance}

#score-distribution{margin:10px -8px 0;color:#e5d5ad}#score-distribution svg{display:block;width:100%;height:auto;overflow:visible}#score-distribution text{font:14px system-ui;fill:currentColor}#score-distribution .distribution-you{fill:#fff1cc;font-weight:600}#score-distribution .distribution-area{fill:#e5cf8b;fill-opacity:.17}#score-distribution .distribution-line{fill:none;stroke:#e5cf8b;stroke-width:2}#score-distribution .distribution-axis,#score-distribution .distribution-rug{stroke:#e5d5ad;stroke-opacity:.55}#score-distribution .distribution-marker{stroke:#fff1cc;stroke-width:1.5;stroke-dasharray:3 3}#score-distribution .distribution-point{fill:#fff1cc;stroke:#345e59;stroke-width:2}

#crowd-map-note{top:16px;bottom:auto;width:auto;max-width:calc(100% - 130px);padding:8px 15px;pointer-events:none}#crowd-map-note strong{font-size:17px}

#crowd-map-note .map-key-items{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px}#crowd-map-note .map-key-items>span{display:flex;align-items:center;gap:7px;font:12px system-ui;color:#294c49}#crowd-map-note i{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;font:600 13px system-ui;font-style:normal}#crowd-map-note .key-guess{background:#ce715e;color:#fff5e1;border:2px solid #fff8e7;border-radius:50% 50% 50% 0;transform:rotate(-45deg)}#crowd-map-note.summary-key .key-guess{background:#b95843;border-radius:4px;transform:none}#crowd-map-note .key-answer{background:#326c57;color:#fff3d9;border:2px solid #fff3d9;border-radius:50%}#crowd-map-note.summary-key .key-answer{background:#e8ead2;color:#1e6659;border-color:#1e6659}#crowd-map-note .key-heat{width:30px;height:30px;border-radius:50%;background:radial-gradient(circle,#8f1725 0%,#e65c32 18%,#f5a23d 32%,#f1e65b 45%,#59d6b0 57%,#5fcdf066 66%,#5ac3f500 76%)}#crowd-map-note small{display:block;font:10px system-ui;color:#685a49;margin-top:5px}#crowd-map-note [hidden]{display:none!important}
@media(max-width:600px){#crowd-map-note{top:10px;max-width:calc(100% - 92px);padding:7px 9px}#crowd-map-note .map-key-items{gap:6px 10px}#crowd-map-note .map-key-items>span{font-size:11px}}

#score-distribution .distribution-slot{fill:#fff1cc;fill-opacity:.035}#score-distribution .distribution-bar{fill:#dac58d;fill-opacity:.66}#score-distribution .distribution-own-band{fill:#f4d994;fill-opacity:.95}#score-distribution .distribution-title{font:600 11px system-ui;letter-spacing:1.4px;fill:#e5d5ad}#score-distribution .distribution-caption{font:12px system-ui;fill:#e5d5ad}#score-distribution .distribution-arrow{fill:#fff1cc}#score-distribution .distribution-marker{stroke:#fff1cc;stroke-width:1.6;stroke-dasharray:3 3}

#score-distribution .rank-track{stroke:#fff1cc;stroke-opacity:.18;stroke-width:8;stroke-linecap:round}#score-distribution .rank-progress{stroke:#e5cf8b;stroke-width:8;stroke-linecap:round}#score-distribution .rank-tick{stroke:#e5d5ad;stroke-opacity:.45}#score-distribution .rank-pointer{stroke:#fff1cc;stroke-width:1.5}#score-distribution .rank-halo{fill:#e5cf8b;fill-opacity:.2}#score-distribution .rank-point{fill:#fff1cc;stroke:#315e59;stroke-width:2}#score-distribution .rank-title{font:600 11px system-ui;letter-spacing:1.3px}#score-distribution .rank-caption{font:12px system-ui}#score-distribution .rank-label{font:13px system-ui}

/* Keep earned stamps legible, including two-stamp result summaries. */
#run-stamps{grid-template-columns:repeat(2,minmax(0,180px));gap:18px;justify-content:center}
#run-stamps .category-stamp{min-height:155px;padding:28px 8px 16px;gap:6px}
#run-stamps .category-stamp strong{font-size:21px}
#run-stamps .stamp-engraving{width:42px;height:42px}
#run-stamps .stamp-engraving .atlas-icon{width:31px;height:31px}
#run-stamps .stamp-imprint{font-size:8px;letter-spacing:1px;padding:4px}
@media(max-width:420px){#run-stamps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#run-stamps .category-stamp strong{font-size:19px}}

.results-overview .results-score{align-self:start}

/* Border-post impressions share the same die in the journal, reveal and results. */
.category-stamp.post-stamp {
  color:var(--post-ink); background:transparent;
  border:2px solid currentColor; border-radius:5px; box-shadow:none;
  text-align:center; justify-content:center; gap:5px; padding:12px;
}
.category-stamp.post-stamp::before {
  content:"";position:absolute;inset:3px;border:1px solid currentColor;
  opacity:.52;pointer-events:none;
}
.category-stamp.post-stamp::after {
  content:"";position:absolute;inset:0;background:url('/grain.svg');opacity:.26;pointer-events:none;
}
.category-stamp.post-stamp.blank {color:#707070;background:#ecebe680;filter:grayscale(1);transform:none}
.post-stamp .post-plate {display:block;width:100%;max-width:172px;height:auto;flex:none;margin:2px auto}
.post-stamp .post-plate svg {overflow:hidden}
.post-stamp .post-title {display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0}
.category-stamp.post-stamp .post-title .stamp-flag {
  position:static;flex:none;filter:none;font-size:14px;line-height:1;
}
.category-stamp.post-stamp.blank .stamp-flag {opacity:.78}
.category-stamp.post-stamp strong {font:600 clamp(16px,2vw,24px)/1.03 Atlas,Georgia,serif;overflow-wrap:anywhere;min-width:0}
.post-stamp .post-caption {font:italic 500 14px/1.15 Atlas,Georgia,serif;overflow-wrap:anywhere}
.post-stamp .post-imprint {
  font:600 10px/1.3 system-ui,sans-serif;letter-spacing:.04em;
  margin-top:3px;padding:4px 6px 0;border-top:1px solid currentColor;
}
.category-stamp.post-stamp.gold {
  color:#5d400f;border-color:#926817;
  background:linear-gradient(120deg,#c49b43 0%,#ecd38d 23%,#f8e7ae 42%,#dbb75f 63%,#f2da96 83%,#cda84e 100%);
  box-shadow:inset 0 0 0 2px #fff0b7,inset 0 0 12px #996c202b,0 2px 3px #61471624;
}
.category-stamp.post-stamp.gold::before {border:1px solid #957024;opacity:1}
.post-stamp.gold .post-plate {filter:drop-shadow(0 1px 0 #fff1bd)}
#run-stamps .post-stamp {padding:11px 10px;gap:4px}
#run-stamps .post-stamp .post-caption {font-size:13px}

#sound-toggle {display:block;margin:4px auto;min-height:36px;padding:4px 12px}
#run-stamps .stamp-waiting {filter:grayscale(1);opacity:.58}
#run-stamps .stamp-landing {animation:stamp-impression 560ms ease-out}
@keyframes stamp-impression {
  from {filter:grayscale(1);opacity:.58;scale:1.04}
  24% {filter:grayscale(.2);opacity:1;scale:.96}
  to {filter:grayscale(0);opacity:1;scale:1}
}
@media (prefers-reduced-motion:reduce) {
  #run-stamps .stamp-landing {animation:none}
}
