/* The photo-inspired facade is itself the seventh chapter's entrance. */
#world .drying-chapter{width:390px;background:none;box-shadow:none;backdrop-filter:none;padding:0;pointer-events:none}
#world .drying-factory-hotspot{position:absolute;z-index:4;border:0;padding:0;background:none;border-radius:8px;transform:none;cursor:pointer;touch-action:manipulation;outline-offset:4px}
.drying-factory-hotspot:focus-visible{outline:2px solid #fff5cd;box-shadow:0 0 0 5px #647e5099}
.drying-entry-hint{position:absolute;left:50%;top:101%;transform:translateX(-50%);padding:6px 14px;border:1px solid #9f945b50;border-radius:20px;background:#fff8e5ed;font-size:12px;letter-spacing:.05em;white-space:nowrap;color:#536449;box-shadow:0 3px 10px #3c513a16;pointer-events:none}
body.overview .drying-factory-hotspot{display:none}
#gameDialog.drying-game[open]{padding:0;overflow:hidden;background:#dce2cd;border:2px solid #81937a;box-shadow:0 18px 70px #283c3266}
#gameDialog.drying-game .game-board{height:100%;overflow:hidden}
.drying-stage{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;flex:1;overflow:hidden;background:#eee6ce;container-type:size}
.drying-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.drying-wall-signs{position:absolute;inset:0;z-index:1;pointer-events:none}
.drying-wall-sign{position:absolute;top:29%;display:flex;gap:clamp(8px,3cqh,24px);transform:translateX(-50%);white-space:nowrap}
.drying-wall-sign[hidden]{display:none}
.drying-wall-character{display:grid;place-items:center;box-sizing:border-box;width:clamp(28px,10cqh,80px);aspect-ratio:1;background:#fff;border:1px solid #ddd8cb;color:#ba302b;font:700 clamp(22px,8cqh,64px)/1 'Songti SC','STSong',serif;box-shadow:1px 2px 2px #594b3526}
.drying-stories{position:absolute;inset:0;z-index:4;pointer-events:none}
.drying-story{position:absolute;bottom:50%;width:var(--drying-window-width);height:var(--drying-window-height);box-sizing:border-box;color:#3d5946;transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 6px 8px #173a3020)}
.drying-story[hidden]{display:none}
.drying-video-story{pointer-events:auto}
.drying-story-shell{position:absolute;inset:0;z-index:1;overflow:hidden;mask-image:var(--drying-opening-mask);mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-image:var(--drying-opening-mask);-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}
.drying-story-frame{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;user-select:none;-webkit-user-drag:none;filter:saturate(.55) brightness(1.025)}
.drying-story-copy,.drying-video-preview{position:absolute;left:var(--drying-opening-left);top:var(--drying-opening-top);width:var(--drying-opening-width);height:var(--drying-opening-height);box-sizing:border-box}
.drying-story-copy{display:flex;flex-direction:column;justify-content:center;gap:clamp(6px,1.8cqh,16px);padding:clamp(6px,1.8cqh,18px) 5%;background:linear-gradient(135deg,#fffdf3,#f6efd9)}
.drying-story-copy p{font-size:clamp(15px,3.4cqh,28px);line-height:1.35;letter-spacing:.025em;margin:0;color:#405444}
.drying-story-copy .drying-period{font-size:clamp(12px,2.3cqh,19px);line-height:1.45;letter-spacing:.04em;color:#8a8062;white-space:nowrap}
.drying-center-count{display:flex;align-items:center;justify-content:flex-start;gap:clamp(18px,6cqh,64px)}
.drying-story-copy .drying-center-title{font-weight:500;white-space:nowrap}
.drying-stat{display:inline-flex;align-items:baseline;gap:clamp(4px,1cqh,9px);flex:none;white-space:nowrap;color:#8b6938}
.drying-stat strong{font:700 clamp(38px,8.5cqh,76px)/1.05 'Avenir Next','Helvetica Neue',sans-serif;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.drying-stat>span{font-size:clamp(15px,2.6cqh,23px);font-weight:500;color:#68745a}
.drying-locations{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:clamp(14px,2.6cqh,23px);line-height:1.6}
.drying-locations>span{flex:none;color:#8a8062;font-size:.9em;padding-top:.05em}
.drying-locations ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2px,.6cqh,6px) clamp(8px,2cqh,18px);flex:1;min-width:0;list-style:none;padding:0;margin:0;color:#405444}
.drying-locations li{display:flex;align-items:center;gap:.25em;white-space:nowrap}
.drying-location-icon{width:1em;height:1.15em;flex:none;fill:none;stroke:#8b6938;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.drying-measures{display:grid;gap:clamp(8px,2.5cqh,22px)}
.drying-measure{display:flex;align-items:center;justify-content:space-between;gap:clamp(8px,2cqh,18px)}
.drying-measure+.drying-measure{padding-top:clamp(8px,2cqh,18px);border-top:1px solid #ac9b6b35}
.drying-measure-label{font-weight:500}
.drying-video-preview{display:block;object-fit:cover;background:#172a23;pointer-events:none}
.drying-video-play{position:absolute;inset:0;z-index:3;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#63714d;font-size:clamp(16px,3cqh,24px);cursor:pointer;pointer-events:auto;touch-action:manipulation}
.drying-video-play[hidden]{display:none}
.drying-video-play>span{display:grid;place-items:center;width:clamp(44px,9cqh,72px);aspect-ratio:1;border:1px solid #d8c18e;border-radius:50%;background:#fff3d1ed;box-shadow:0 3px 10px #173a3033;pointer-events:none}
.drying-video-play svg{display:block;width:42%;height:42%}
#gameDialog .drying-video-play:not(:disabled):hover{transform:none;box-shadow:none;background:#fff8e51a}
.drying-video-play:focus-visible{outline:2px solid #a58b50;outline-offset:3px}
.drying-scroll-control{position:absolute;inset:0;z-index:3;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;outline-offset:-5px}
.drying-scroll-control.is-dragging{cursor:grabbing}
.drying-scroll-control:focus-visible{outline:2px solid #fff4b7}
.drying-swipe-hint{position:absolute;left:30%;top:59%;z-index:6;display:grid;justify-items:center;gap:6px;transform:translateX(-50%);pointer-events:none;user-select:none}
.drying-swipe-gesture{position:relative;width:clamp(106px,18cqh,148px);height:clamp(54px,10cqh,82px)}
.drying-swipe-gesture svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#fff6d8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #375533)}
.drying-swipe-hand{position:absolute;left:55%;top:0;width:clamp(50px,9cqh,76px);aspect-ratio:1;background:var(--media-c069c0cc98) 0 0/200% 100% no-repeat;filter:drop-shadow(0 1px 1px #294e36) drop-shadow(0 2px 3px #fff9dd);animation:drying-swipe 1.8s ease-in-out infinite}
.drying-swipe-copy{padding:7px 13px;border:1px solid #d9c79499;border-radius:20px;background:#fff9e9f2;color:#496345;box-shadow:0 3px 8px #294f4020;font:500 clamp(11px,1.8cqh,14px)/1.4 'PingFang SC',sans-serif;white-space:nowrap}
@keyframes drying-swipe{0%,15%,100%{transform:translateX(0);opacity:1}70%{transform:translateX(-55px);opacity:1}85%{transform:translateX(-55px);opacity:0}}
body.tap-hints-paused .drying-swipe-hand,.drying-stage:not([data-ready=true]) .drying-swipe-hand{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.drying-swipe-hand{animation:none;transform:translateX(-20px)}}
.drying-controls{position:absolute;left:24px;bottom:22px;display:flex;gap:9px;z-index:5}
.drying-controls>button{min-height:44px;min-width:44px;border:1px solid #bdad78;border-radius:10px;background:#fff6dcf0;color:#506950;box-shadow:0 3px 0 #6d795033;font-size:23px;cursor:pointer;touch-action:manipulation}
.drying-controls>button:focus-visible{outline:2px solid #477052;outline-offset:3px}
.drying-caption{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:3;white-space:nowrap;font-size:13px!important;color:#5e7155;background:#faf3dece;border-radius:20px;padding:6px 14px;margin:0;pointer-events:none}
.drying-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;white-space:nowrap}
.drying-stage.is-complete .drying-caption{left:42%;font-size:12px!important}
#gameDialog.drying-game .close{background:#fff5dced;color:#577150;border:1px solid #cdbd88;border-radius:10px;box-shadow:0 3px 0 #6d795033}
#gameDialog.drying-game .game-foot .primary{background:#55724f;border:1px solid #e6d7a0;border-radius:12px;color:#fff7dc}
@media(max-height:600px),(orientation:portrait) and (max-width:760px){
  #world .drying-chapter{width:300px}
  #world .drying-chapter h2{font-size:29px}
  .drying-entry-hint{font-size:10px;padding:4px 10px}
  .drying-controls{left:18px;bottom:15px}
  .drying-caption{bottom:18px;font-size:11px!important;padding:5px 10px}
}
