#memories-open{white-space:nowrap}#memory-replay,#memory-arrival{position:absolute;z-index:650;background:#fafbf5;border:0;box-shadow:0 4px 20px #1c321b22;border-radius:24px;padding:12px 16px;font:600 12px/1.4 system-ui;color:#303b2a}#memory-replay{left:20px;bottom:154px}#memory-arrival{left:20px;top:85px;background:#d9ef8b;max-width:calc(100% - 40px)}#memory-modal{z-index:1600}#memory-modal[hidden],#memory-info[hidden],#memory-replay[hidden],#memory-arrival[hidden],#memory-modal [hidden]{display:none!important}.memory-card{position:relative;width:min(500px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;background:#faf9f5;color:#283025;border-radius:28px;padding:34px 28px 26px;box-shadow:0 20px 100px #0003;font:14px/1.6 system-ui;text-align:center}.memory-card h1{font-size:28px;letter-spacing:-1px;line-height:1.2;margin:12px 0 18px}.memory-card p{color:#64705b;font-size:13px;margin:10px 0 18px}.memory-card small{display:block;color:#66715d;font-size:11px;margin:9px 0}.memory-close{position:absolute;right:12px;top:10px;background:transparent;border:0;color:#4d5946;font-size:25px;width:38px;height:38px}.memory-kicker{font-size:11px;letter-spacing:1px;color:#6a785b}.memory-card button:not(.memory-close){font:600 13px/1.4 system-ui;min-height:44px;border:0;border-radius:16px;padding:12px 16px;background:#eceee6;color:#33402a}.memory-card button.memory-primary{display:block;width:100%;background:#d7ee7a;color:#273218;margin:12px 0}.memory-card button:disabled{opacity:.55}.memory-card a{display:block;color:#52623f;font-size:12px;margin-top:14px}.memory-tour-art{position:relative;width:210px;height:220px;margin:10px auto 20px;background:radial-gradient(ellipse,#eaf0dc 0 55%,transparent 56%)}.memory-tour-art>img{width:180px;height:210px;object-fit:contain;filter:grayscale(1);opacity:.5;transform:rotate(9deg);transition:transform .4s,filter .4s,opacity .4s}.memory-tour-art.unlocked>img{filter:none;opacity:1;transform:rotate(-9deg)}.memory-tour-art>span{position:absolute;left:50%;transform:translateX(-50%);bottom:10px;white-space:nowrap;border-radius:14px;background:#fff;padding:5px 10px;font-size:11px;box-shadow:0 4px 15px #0001}.memory-rules{text-align:left;background:#eef0e6;padding:14px 17px;border-radius:17px;margin:18px 0}.memory-rules p{margin:7px 0;font-size:12px;color:#536148}.memory-card #memory-tour,.memory-card #memory-erase,.memory-card #memory-visit{display:block;width:100%;margin-top:8px}.memory-card #memory-erase{background:transparent;color:#85614d}.memory-practice-map{height:210px;position:relative;overflow:hidden;border-radius:20px;background:repeating-linear-gradient(20deg,transparent 0 45px,#fff 46px 50px,transparent 51px 95px),repeating-linear-gradient(110deg,#e5e8db 0 60px,#fff 61px 65px,#e5e8db 66px 115px);margin:20px 0}.memory-practice-map>span{position:absolute;left:14px;top:12px;color:#74816b;font-size:11px}.memory-card .memory-drop{position:absolute;top:60px;left:calc(50% - 50px);width:100px;height:100px;border:2px dashed #96ac40!important;border-radius:50%!important;background:#eff5de!important;font-size:28px!important;padding:5px!important}.memory-drop small{margin:0;font-size:11px}.memory-practice-sticker{height:150px;width:120px;object-fit:contain;position:absolute;left:calc(50% - 60px);top:30px;transform:rotate(-8deg)}.memory-place-form{text-align:left}.memory-place-form>label{display:block;font-size:12px;font-weight:600;color:#4c5b40}.memory-place-form input[type=text],.memory-place-form input[name=place]{width:100%;font:16px system-ui;padding:12px;border:1px solid #d2d8c5;border-radius:12px;margin-top:6px;background:#fff;color:#283025}.memory-kind-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.memory-card .memory-kind-picker button{padding:5px;background:transparent;border:2px solid transparent}.memory-card .memory-kind-picker button[aria-pressed=true]{border-color:#9bb63e;background:#edf3dc}.memory-kind-picker img{width:100%;height:78px;object-fit:contain}.memory-kind-picker small{margin:0}.memory-public{font-weight:400!important;display:flex!important;align-items:flex-start;gap:8px;margin:16px 0}.memory-public input{width:18px;height:18px;flex:none;margin:2px 0}.memory-candidates{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.memory-card .memory-candidates button{font-size:12px;padding:9px 11px}.memory-card .memory-candidates button[aria-pressed=true]{background:#d7ee7a}.memory-error{color:#ac3525!important;text-align:left;background:#fff0eb;padding:10px;border-radius:12px}.memory-place-pin{background:transparent;border:0;text-align:center}.memory-place-pin>img{width:86px;height:78px;object-fit:contain;transform:rotate(-6deg)}.memory-place-pin>span{display:block;position:absolute;left:50%;transform:translateX(-50%);max-width:145px;width:max-content;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#fcfcf6;color:#3a4630;padding:3px 8px;border-radius:10px;font:600 11px/1.3 system-ui;box-shadow:0 2px 8px #26371c18}.memory-ghost-pin{background:transparent;border:0;text-align:center}.memory-ghost-pin>img{width:66px;height:53px;object-fit:contain;opacity:.58}.memory-ghost-pin>span,.memory-ghost-pin>small{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;background:#f8faf2e8;color:#516044;border-radius:9px;padding:2px 6px;font:10px/1.3 system-ui}.memory-ghost-pin>span{top:-9px}.memory-ghost-pin>small{bottom:-4px}#memory-info{position:absolute;left:20px;right:20px;bottom:70px;z-index:750;max-width:460px;display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:22px;background:#faf9f5;color:#303c29;box-shadow:0 6px 26px #0002;font:14px/1.5 system-ui}#memory-info>img{height:70px;width:65px;object-fit:contain}#memory-info>div{flex:1;min-width:0}#memory-info strong{display:block;font-size:16px;overflow-wrap:anywhere}#memory-info small{display:block;font-size:11px;color:#637257;margin-top:4px}#memory-info>button{background:transparent;color:#4a5940;border:0;width:32px;height:40px;font-size:22px}#memory-modal button:focus-visible,#memory-info button:focus-visible{outline:3px solid #718b36;outline-offset:3px}
@media(max-width:540px){.memory-card{padding:32px 18px 20px;border-radius:22px}.memory-card h1{font-size:25px}.memory-tour-art{height:190px}.memory-tour-art>img{height:180px}.memory-kind-picker{gap:4px}.memory-kind-picker img{height:65px}#memory-info{left:10px;right:10px;bottom:100px;padding:10px;gap:8px}#memory-info>img{width:48px;height:56px}#memory-replay{left:12px;bottom:190px}#memory-arrival{left:12px;top:122px;max-width:calc(100% - 24px)}.map-tools{max-width:calc(100% - 24px);flex-wrap:wrap}.memory-card .memory-public{font-size:12px}}
@media(prefers-reduced-motion:reduce){.memory-tour-art>img{transition:none}}

#memory-modal .memory-place-form{width:100%;padding:0;border:0;box-shadow:none;border-radius:0;background:transparent}#memory-modal .memory-close{width:38px}#memory-modal{padding:12px}


.memory-intro-stickers{display:flex;justify-content:center;align-items:center;gap:4px;margin:18px 0}.memory-intro-stickers img{width:30%;max-width:120px;height:115px;object-fit:contain}.memory-intro-stickers img:nth-child(2){transform:rotate(-8deg)}.memory-rules summary{cursor:pointer;font-weight:600}
