/* Wishes on the Tide: a harbor story, folded into the original Paper Return controls. */
:root{--tide:#3d8278;--out:#ad742f;--warm:#f3dfb4}
.hub-card{width:min(850px,100%);padding:22px 26px 18px;text-align:left;background:#faf7eaf5}
.hub-brand{margin-bottom:18px;padding-bottom:15px}
.hub-layout{display:grid;grid-template-columns:1fr 1.12fr;gap:32px;align-items:center}
.harbor-cover{position:relative;align-self:stretch;min-height:350px;border-radius:120px 120px 12px 12px;overflow:hidden;border:1px solid #c5ccb5;box-shadow:inset 0 0 0 6px #f7f0d3;background:#dfe7d5}
.harbor-cover>svg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover-caption{position:absolute;left:23px;bottom:18px;font:italic 20px/1.25 Georgia,serif;color:#fff9df;text-shadow:0 2px 5px #31594c}
.cover-landmark{filter:saturate(.25);opacity:.62;transition:filter .6s,opacity .6s}
.harbor-cover[data-restored="1"] .restored-0,.harbor-cover[data-restored="2"] :is(.restored-0,.restored-1),.harbor-cover[data-restored="3"] :is(.restored-0,.restored-1,.restored-2),.harbor-cover[data-restored="4"] :is(.restored-0,.restored-1,.restored-2,.restored-3),.harbor-cover[data-restored="5"] :is(.restored-0,.restored-1,.restored-2,.restored-3,.restored-4),.harbor-cover[data-restored="6"] .cover-landmark{filter:none;opacity:1}
.cover-sparks{opacity:.25}.harbor-cover[data-restored="6"] .cover-sparks{opacity:1;filter:drop-shadow(0 0 4px #fce7a1)}
.hub-story{text-align:left;min-width:0}
.hub-story h1{font-size:42px;margin:8px 0 7px;white-space:normal}
.hub-story>.eyebrow{font-size:8px;letter-spacing:1.3px}
.journey-title{font:italic 22px Georgia,serif;color:#8e7049;margin:0 0 10px}
.hub-tag{font-size:12px;line-height:1.65;margin-bottom:13px}
.journey-progress{margin:8px 0 14px;font-size:10px;color:#7c806b;text-align:center;letter-spacing:.1px}
.classic-play{min-height:44px;font-size:12px;margin-top:0;background:#f5f1e1;border-color:#c6ccb8}
.hub-story .modes{grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}
.hub-story .mode{padding:11px 8px;column-gap:6px;min-height:55px}
.hub-story .mode b{font-size:14px;white-space:nowrap}
.hub-story .mode i{font-size:20px}
.hub-story .mode small{font-size:8px;line-height:1.5}
.hub-story .progress{padding:9px 12px;gap:11px}
.hub-story .progress b{font-size:22px}.hub-story .progress>div:first-child span{font-size:7px;letter-spacing:.5px}
.hub-story .unlock span{font-size:10px}
.hub-story .hub-links{gap:0 10px;justify-content:center;margin-top:7px}.hub-story .hub-links .text-button{font-size:10px;padding:9px 0}
.adventure-dialog{width:min(780px,calc(100vw - 24px));padding:23px 26px 17px;border-radius:18px;background:#fbf8ed}
.adventure-dialog .dialog-head{justify-content:space-between;margin-bottom:6px}.adventure-dialog h2{font-size:34px;margin-top:3px}.adventure-dialog .dialog-head .eyebrow{font-size:8px}
.map-intro{font-size:12px;color:#77816b;margin:6px 0 14px}
.restoration{display:flex;align-items:center;flex-wrap:wrap;gap:7px;justify-content:space-between;font-size:10px;color:#777d65;margin-bottom:17px}
#restoration-note{font-weight:700;color:#54705c}.restoration i{width:100%;height:4px;background:#e4e5d7;border-radius:8px;overflow:hidden}.restoration em{display:block;height:100%;background:#81a68c;transition:width .5s}
.adventure-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.mission-card{position:relative;padding:0 0 9px;overflow:hidden;border-radius:12px;background:#f7f3e6;border:1px solid #d7dccb;text-align:left;transition:transform .18s,border-color .18s;min-height:155px;isolation:isolate}
.mission-card>svg{display:block;width:100%;height:88px;object-fit:cover;background:#d7e2d2}
.mission-card:hover:not(:disabled){transform:translateY(-2px);border-color:#9aae95}
.mission-card[aria-pressed="true"]{outline:2px solid #5b806a;outline-offset:2px;background:#edf1e4}
.mission-card .mission-number{position:absolute;left:8px;top:7px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#fcf8eae6;border:1px solid #d1d7bf;font-size:10px;color:#5c7058}
.mission-card>b{display:block;font:400 15px/1.1 Georgia,serif;margin:8px 10px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mission-place{display:block;font-size:8px;color:#77866b;margin:0 10px 3px}
.mission-card>small{display:block;margin:0 10px;color:#b49451;font-size:13px;letter-spacing:2px;line-height:1.2}
.mission-card:disabled{opacity:.5}.mission-card:disabled>small{font-size:8px;letter-spacing:0;min-height:16px;color:#6d7564}.mission-card:disabled>svg{filter:saturate(.25)}
.mission-card.restored .mission-place{color:#437463}
.mission-brief{display:grid;grid-template-columns:62px minmax(0,1fr) 150px;align-items:center;gap:14px;margin-top:18px;padding:14px;border:1px solid #dedfcb;border-radius:12px;background:#eeeada}
.brief-portrait{width:62px;height:62px;border-radius:50%;overflow:hidden;border:3px solid #faf6e6;box-shadow:0 1px 5px #46584121}.brief-portrait svg{width:100%;height:100%}
.brief-copy h3{font:400 20px/1.1 Georgia,serif;margin:3px 0 5px}.brief-copy .eyebrow{font-size:8px;letter-spacing:1px;color:#94744a}.brief-copy p{font-size:11px;line-height:1.5;margin:0;color:#596b57}.brief-copy small{display:block;font-size:10px;line-height:1.5;margin-top:5px;color:#83846d}
.mission-brief .primary{margin:0;min-height:48px;font-size:12px}
.catch-note{font-size:10px;line-height:1.55;text-align:center;color:#828673;margin:11px 0 0}
.adventure-hud{position:absolute;left:50%;top:calc(max(10px,env(safe-area-inset-top)) + 92px);transform:translateX(-50%);z-index:3;pointer-events:none;max-width:calc(100% - 22px);width:max-content;min-width:225px;text-align:center;background:#faf6e8eb;border:1px solid #a1b39766;box-shadow:0 4px 14px #2d483a10;border-radius:10px;padding:7px 12px}
.adventure-hud>span{display:block;font-size:7px;letter-spacing:1.3px;font-weight:700;color:#8c7950}.adventure-hud>b{display:block;font-size:11px;font-weight:600;line-height:1.35;margin-top:3px;max-width:340px}
.flight-legend{display:flex;justify-content:center;gap:13px;font-size:8px;margin-top:4px}.flight-legend .outward{color:#a56c2f}.flight-legend .homeward{color:#397b70}
.adventure-playing .coach{padding:9px 12px;font-size:11px;line-height:1.5;max-width:340px;bottom:calc(84px + env(safe-area-inset-bottom))}
.perfect-catch{position:absolute;z-index:4;right:max(14px,env(safe-area-inset-right),calc(50% - 290px));bottom:calc(19px + env(safe-area-inset-bottom));min-width:138px;min-height:58px;border:1px solid #5e9f8d;border-radius:32px;padding:9px 18px;color:#e9f4e5;background:#325f54ed;overflow:hidden;text-align:center;box-shadow:0 6px 22px #2a51492b;isolation:isolate}
.perfect-catch b{display:block;position:relative;font:400 20px Georgia,serif}.perfect-catch small{display:block;position:relative;font-size:8px;margin-top:3px;letter-spacing:.2px}.catch-fill{position:absolute;inset:0;background:#cce9ae;opacity:.16;transform:scaleX(var(--catch-progress,0));transform-origin:left}.perfect-catch:disabled{opacity:.8}.perfect-catch.ready{color:#23483b;background:#e4efcb;border-color:#a9c678;animation:catch-ready .7s ease-in-out infinite}.perfect-catch.ready .catch-fill{opacity:.45;background:#bad990}
.hub-open .adventure-hud,.hub-open .perfect-catch{visibility:hidden}
.adventure-playing .result-stats{gap:18px}.adventure-playing .result-stats b{font-size:20px}.adventure-playing .result-stats span{font-size:7px;letter-spacing:.7px}.adventure-playing .card>p{font-size:12px;line-height:1.65;color:#6f7e66}
@keyframes catch-ready{50%{box-shadow:0 0 0 7px #c5df9c22,0 6px 22px #2a51492b}}
@media(min-width:800px) and (min-height:700px){.hub-card{padding:25px 30px 26px}.harbor-cover{min-height:400px}.hub-story .primary.big{min-height:56px}.hub-story .hub-tag{margin-bottom:17px}}
@media(max-width:600px){
 .hub-card{max-width:390px;padding:16px 19px 12px;border-radius:16px}.hub-layout{display:block}.harbor-cover{display:none}.hub-brand{padding-bottom:11px;margin-bottom:14px}.hub-brand .whimfold-name{font-size:21px}.hub-brand .all-games{font-size:10px;padding:8px 9px}.hub-story{text-align:center}.hub-story h1{font-size:45px;margin-top:7px}.journey-title{font-size:21px;margin-bottom:9px}.hub-tag{font-size:12px;margin-bottom:13px}.hub-story .mode{min-height:51px;padding:10px 9px}.hub-story .modes{gap:7px}.hub-story .mode b{font-size:14px}.hub-story .mode small{font-size:8px}.journey-progress{margin-bottom:11px}.hub-story .hub-links{gap:0 11px}
 .adventure-dialog{padding:17px 15px 13px}.adventure-dialog h2{font-size:27px}.map-intro{font-size:10px;line-height:1.4;margin-bottom:12px}.adventure-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mission-card{min-height:135px}.mission-card>svg{height:68px}.mission-card>b{font-size:14px;margin:7px 9px 4px}.mission-card .mission-place{font-size:8px;margin-left:9px}.mission-card>small{font-size:12px;margin-left:9px}.restoration{margin-bottom:13px;font-size:9px}.mission-brief{grid-template-columns:44px minmax(0,1fr);gap:10px;padding:12px;margin-top:14px}.brief-portrait{width:44px;height:44px}.mission-brief .primary{grid-column:1/-1;min-height:46px}.brief-copy h3{font-size:19px}.brief-copy p{font-size:10px}.brief-copy small{font-size:9px}.catch-note{font-size:9px;margin-top:9px}.adventure-hud{padding:6px 9px;top:calc(max(10px,env(safe-area-inset-top)) + 91px)}.adventure-hud>b{font-size:10px;max-width:285px}.adventure-playing .hud-title span{font-size:6px;letter-spacing:.7px}.adventure-playing .hud-title{padding-left:11px;padding-right:10px}.adventure-playing .hud-score{min-width:55px;padding-left:10px;padding-right:10px}.adventure-playing .hud-top{gap:6px}.adventure-playing .chip-button{width:38px;height:38px}.adventure-playing .coach{bottom:calc(85px + env(safe-area-inset-bottom))}.perfect-catch{min-width:129px;min-height:58px;padding:9px 15px}.perfect-catch b{font-size:19px}
}
@media(max-width:360px) and (min-height:500px){.hub-card{padding:12px 15px 10px}.hub-brand{padding-bottom:7px;margin-bottom:9px}.hub-brand img{width:39px;height:33px}.hub-story h1{font-size:39px;margin:5px 0}.hub-story>.eyebrow{font-size:7px}.journey-title{font-size:19px;margin-bottom:7px}.hub-story .hub-tag{display:block;font-size:10px;margin:0 0 10px}.hub-story .primary.big{min-height:48px}.journey-progress{font-size:9px;margin:6px 0 9px}.classic-play{min-height:40px}.hub-story .modes{margin:7px 0}.hub-story .mode{padding:8px 6px;min-height:45px}.hub-story .mode b{font-size:12px}.hub-story .mode i{font-size:17px}.hub-story .mode small{display:block;font-size:7px}.hub-story .progress{padding:7px 11px}.hub-story .hub-links .text-button{padding:8px 0;font-size:9px}.hub-story .hub-links{gap:0 10px}}
@media(max-height:620px) and (min-width:601px){
 .hub-card{width:min(750px,100%);padding:12px 20px 10px}.hub-brand{padding-bottom:7px;margin-bottom:10px}.hub-brand img{width:36px;height:30px}.hub-layout{grid-template-columns:.8fr 1.4fr;gap:22px}.harbor-cover{min-height:230px;border-radius:85px 85px 10px 10px}.cover-caption{font-size:17px;bottom:12px;left:15px}.hub-story h1{font-size:33px;margin:0 0 3px}.hub-story>.eyebrow{display:none}.journey-title{font-size:17px;margin-bottom:5px}.hub-story .hub-tag{display:none}.hub-story .primary.big{min-height:42px;font-size:12px;margin-top:4px}.journey-progress{font-size:9px;margin:5px 0 7px}.classic-play{min-height:36px;font-size:10px}.hub-story .modes{margin:6px 0}.hub-story .mode{min-height:38px;padding:7px 9px}.hub-story .mode b{font-size:13px}.hub-story .mode small{display:none}.hub-story .mode i{font-size:17px}.hub-story .progress{display:none}.hub-story .hub-links{gap:0 12px;margin-top:2px}.hub-story .hub-links .text-button{font-size:9px;padding:5px 0}
 .adventure-dialog{width:min(740px,calc(100vw - 24px));padding:15px 20px}.adventure-dialog .dialog-head{margin-bottom:4px}.adventure-dialog h2{font-size:26px}.map-intro{display:none}.restoration{margin:8px 0 12px}.adventure-map{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.mission-card{min-height:110px}.mission-card>svg{height:54px}.mission-card>b{font-size:11px;margin:6px 6px 4px}.mission-card .mission-place{font-size:7px;margin:0 6px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mission-card>small{font-size:11px;margin:0 6px}.mission-card:disabled>small{font-size:7px;max-height:16px;overflow:hidden}.mission-card .mission-number{width:20px;height:20px;left:5px;top:5px;font-size:8px}.mission-brief{margin-top:12px;padding:10px;grid-template-columns:44px minmax(0,1fr) 140px;gap:10px}.brief-portrait{width:44px;height:44px}.brief-copy h3{font-size:17px;margin:2px 0 4px}.brief-copy p{font-size:10px}.brief-copy small{font-size:9px;margin-top:3px}.mission-brief .primary{min-height:44px;font-size:11px}.catch-note{font-size:9px;margin-top:8px}.catch-note br{display:none}
 .adventure-hud{left:max(13px,env(safe-area-inset-left));top:70px;transform:none;min-width:0;width:155px;max-width:25vw;padding:7px 9px;text-align:left}.adventure-hud>b{font-size:10px}.flight-legend{justify-content:flex-start;gap:7px;flex-wrap:wrap;font-size:7px}.adventure-playing .hud-top{left:10px;right:10px}.adventure-playing .hud-title{max-width:270px}.adventure-playing .hud-score{margin-left:auto}.adventure-playing .hud-sub{bottom:13px;right:13px}.adventure-playing .hud-bottom{left:13px;bottom:13px}.adventure-playing .coach{left:13px;bottom:75px;transform:translateY(10px);width:155px;max-width:25vw;text-align:left;font-size:10px;line-height:1.45}.adventure-playing .coach.show{transform:none}.perfect-catch{right:13px;bottom:90px;min-width:128px}.adventure-playing .banner{top:28%;font-size:26px}
}
@media(max-height:380px) and (max-width:600px){
 .hub-card{width:min(520px,100%);max-width:520px;padding:10px 17px}.hub-brand{padding-bottom:5px;margin-bottom:6px}.hub-brand img{height:25px;width:30px}.hub-brand .whimfold-name{font-size:18px}.hub-brand .all-games{font-size:9px;padding:5px 8px}.hub-story{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;text-align:left;align-items:center}.hub-story>.eyebrow,.hub-story .hub-tag,.hub-story .progress{display:none}.hub-story h1{font-size:30px;grid-column:1;grid-row:1;margin:0 0 4px}.journey-title{grid-column:1;grid-row:2;font-size:15px;margin:0 0 5px}.hub-story .primary.big{grid-column:1;grid-row:3;min-height:39px;font-size:11px;margin:0}.journey-progress{grid-column:1;grid-row:4;font-size:8px;margin:6px 0}.classic-play{grid-column:2;grid-row:1/3;min-height:38px;font-size:10px;margin:0}.hub-story .modes{grid-column:2;grid-row:3/5;grid-template-columns:1fr;margin:4px 0 0;gap:5px}.hub-story .mode{padding:6px 9px;min-height:30px}.hub-story .mode i{font-size:16px;grid-row:1}.hub-story .mode b{font-size:12px}.hub-story .mode small{display:none}.hub-story .hub-links{grid-column:1/-1;margin:1px 0 0;gap:0 15px}.hub-story .hub-links .text-button{font-size:9px;padding:6px 0}
 .adventure-dialog{padding:12px 15px}.adventure-dialog .map-intro,.adventure-dialog .catch-note{display:none}.adventure-dialog .dialog-head{margin-bottom:4px}.adventure-dialog h2{font-size:24px}.restoration{margin:8px 0 10px}.adventure-map{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.mission-card{min-height:90px;border-radius:8px}.mission-card>svg{height:40px}.mission-card>b{font-size:10px;margin:5px 4px 3px;max-width:100%}.mission-card .mission-place{display:none}.mission-card>small{font-size:10px;margin-left:4px;letter-spacing:1px}.mission-card:disabled>small{font-size:6px;line-height:1.2;margin:4px}.mission-card .mission-number{width:17px;height:17px;left:4px;top:4px;font-size:7px}.mission-brief{grid-template-columns:minmax(0,1fr) 120px;gap:9px;margin-top:10px;padding:9px}.brief-portrait{display:none}.brief-copy h3{font-size:16px;margin:2px 0 3px}.brief-copy p{font-size:9px}.brief-copy small{display:none}.mission-brief .primary{grid-column:2;grid-row:1;min-height:43px;font-size:10px}.brief-copy .eyebrow{font-size:7px}
 .adventure-hud{left:11px;top:69px;transform:none;width:130px;min-width:0;max-width:23vw;padding:6px;text-align:left}.adventure-hud>b{font-size:9px}.flight-legend{gap:3px;font-size:7px;flex-wrap:wrap;justify-content:flex-start}.adventure-playing .coach{display:none}.perfect-catch{min-width:111px;min-height:50px;right:10px;bottom:89px;padding:7px 12px}.perfect-catch b{font-size:17px}.perfect-catch small{font-size:7px}.adventure-playing .hud-sub{right:10px;bottom:10px}.adventure-playing .hud-title span{font-size:6px;letter-spacing:.5px}.adventure-playing .hud-title b{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.perfect-catch.ready{animation:none}}
@media(max-width:600px) and (min-height:381px) and (max-height:650px){
 .adventure-dialog{padding:13px 14px}.adventure-dialog h2{font-size:25px}.adventure-dialog .dialog-head .eyebrow{font-size:7px}.map-intro{display:none}.restoration{margin:9px 0 12px;font-size:8px}.adventure-map{gap:8px}.mission-card{min-height:78px;padding-bottom:6px;border-radius:9px}.mission-card>svg{height:31px}.mission-card>b{font-size:12px;margin:5px 7px 3px}.mission-card .mission-place{display:none}.mission-card>small{font-size:10px;margin-left:7px}.mission-card:disabled>small{font-size:7px;min-height:12px}.mission-card .mission-number{width:19px;height:19px;top:5px;left:5px;font-size:8px}.mission-brief{grid-template-columns:32px minmax(0,1fr);gap:7px;padding:9px;margin-top:12px}.brief-portrait{width:32px;height:32px}.brief-copy h3{font-size:17px;margin:3px 0 4px}.brief-copy p{font-size:9px;line-height:1.4}.brief-copy small{display:none}.brief-copy .eyebrow{font-size:7px}.mission-brief .primary{min-height:43px;margin-top:1px}.catch-note{font-size:8px;margin-top:8px}
}
