.memory-notebook{width:min(760px,96vw);max-height:94dvh;padding:14px;border:2px solid #cba954;background:#11151d;color:#fbe8b5;overflow:auto;box-sizing:border-box}.memory-notebook header,.memory-notebook nav{display:flex;align-items:center;justify-content:space-between;gap:8px}.memory-notebook h2{font-size:17px;margin:0}.memory-notebook button{min-height:44px;font-size:12px}.notebook-page{position:relative;text-align:center;padding:12px 0}.notebook-cover{display:block;width:min(310px,80%);margin:12px auto;image-rendering:pixelated}.notebook-spread{display:block;width:100%;height:auto;image-rendering:pixelated}.notebook-paper{margin:-12px 7% 12px;padding:18px;background:#fff4d7;color:#283038;border:1px solid #c9a764;text-align:left;box-shadow:inset 8px 0 #e7ce98}.notebook-paper h3{font-size:19px;margin:0 0 8px}.notebook-paper p{font-size:14px;line-height:1.6}.notebook-paper time{font-size:12px;color:#685d48}.notebook-photo{display:block;width:100%;max-height:320px;object-fit:contain;margin:14px auto}.notebook-gem{display:flex;gap:12px;align-items:center;margin:15px 0;font-size:14px}.notebook-gem img{width:52px;height:62px;object-fit:contain;image-rendering:pixelated}.notebook-stamp{display:block;width:130px;max-height:170px;object-fit:contain;mix-blend-mode:multiply;margin:16px auto;animation:notebook-stamp .25s ease-out}.notebook-count{font-size:12px;text-align:center}.reduce-motion .notebook-stamp{animation:none}@keyframes notebook-stamp{from{transform:scale(1.18);opacity:.1}to{transform:scale(1);opacity:1}}.ocean-map-guide{position:absolute;left:8%;top:83%;z-index:3;width:65px;height:65px;object-fit:contain;image-rendering:pixelated}.ocean-guide-button{display:flex;align-items:center;gap:10px;min-height:48px}.ocean-guide-button img{width:45px;height:45px;object-fit:contain;image-rendering:pixelated}.bag-gem-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bag-gem-grid figure{margin:0;text-align:center}.bag-gem-grid img{width:65px;height:75px;object-fit:contain;image-rendering:pixelated}.bag-gem-grid figcaption{font-size:12px;line-height:1.5}

.memory-notebook .notebook-paper p,.memory-notebook .notebook-paper figcaption{color:#354047}.memory-notebook .notebook-gem img,.memory-notebook .notebook-stamp{background:transparent;box-shadow:none}.memory-notebook .notebook-stamp{width:120px;max-height:155px}

.memory-notebook header{position:sticky;top:0;z-index:10;background:#11151d;padding:8px 0}.ocean-node img{object-fit:contain}

.notebook-left,.notebook-right{position:absolute;top:12%;height:68%;box-sizing:border-box;overflow:auto;color:#283038;padding:8px;text-align:center}.notebook-left{left:8%;width:37%}.notebook-right{left:51%;width:37%}.notebook-left h3{font-size:clamp(12px,2vw,18px);margin:0 0 6px;line-height:1.25}.notebook-left time{font-size:11px}.notebook-right .notebook-photo{width:100%;height:100%;max-height:none;margin:0;object-fit:contain}.notebook-left .notebook-stamp{width:80%;max-height:65%;margin:10px auto}.notebook-note{position:relative;margin:12px 6px 0;font-size:13px;line-height:1.5;color:#fbe8b5}.notebook-page:has(.notebook-left){padding:0}.notebook-note p{margin:0 0 8px}.bag-treasure-case{position:relative;width:min(330px,100%);margin:auto;aspect-ratio:1.05}.bag-treasure-case>img{width:100%;height:100%;image-rendering:pixelated}.bag-treasure-case .bag-gem-grid{position:absolute;inset:43% 8% 12%;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:4px}.bag-gem-slot{display:grid;place-items:center}.bag-gem-slot img{width:30px;height:38px;image-rendering:pixelated}

.notebook-spread-frame{position:relative;width:100%;aspect-ratio:3/2}.notebook-spread-frame>.notebook-spread{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}

.memory-notebook .notebook-left,.memory-notebook .notebook-right{background:#fff1ce;border:1px solid #bea06b;box-shadow:inset 0 0 8px #d2b67d}.memory-notebook .notebook-left h3,.memory-notebook .notebook-left p,.memory-notebook .notebook-right p{color:#283038}.memory-notebook .notebook-left .notebook-stamp{mix-blend-mode:multiply}
