.tour-invite{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 20px;padding:2px 8px 2px 14px;border:1px solid #566b39;border-radius:15px;background:#202a18}
.tour-invite button{min-height:44px;background:none;color:#dcf6b3;font-size:13px;font-weight:600;text-align:left}
.tour-invite [data-tour-start]{flex:1}.tour-invite [data-tour-start]>span:first-child{color:#c3ff3e;margin-right:7px}
.tour-invite [data-tour-dismiss]{width:44px;text-align:center;font-size:21px;color:#b6c5a6}
#desktopTour{display:block;width:100%;text-align:left;color:#d5e9ac}
body.monster-tour-open{overscroll-behavior:none}
body.monster-tour-open main{padding-bottom:440px}
body.monster-tour-open #summonDock,body.monster-tour-open #toast{visibility:hidden}
html:has(#monsterTour[open]){scroll-behavior:auto}
#monsterTour{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100dvh;max-height:none;overflow:hidden;border:0;border-radius:0;background:transparent;color:#1b2717;overscroll-behavior:none}
#monsterTour::backdrop{background:transparent;backdrop-filter:none}
.tour-spotlight{position:fixed;border:2px solid #c3ff3e;border-radius:18px;box-shadow:0 0 0 9999px #061007c9,0 0 24px #baff3833;pointer-events:none;transition:top .18s ease,left .18s ease,width .18s ease,height .18s ease}
.tour-no-target{background:#061007c9!important}
.tour-guide{position:absolute;bottom:24px;right:32px;width:min(740px,calc(100% - 64px));display:flex;align-items:flex-end;gap:5px;filter:drop-shadow(0 12px 30px #0006);pointer-events:none}
.tour-mascot{flex:0 0 210px;align-self:flex-end;margin-bottom:6px;animation:tour-arrive .4s cubic-bezier(.2,.8,.3,1.2)}
.tour-mascot .pet-sprite{width:210px;height:205px;padding:0;margin:0}
.tour-mascot .pet-frame,.tour-mascot .pet-floor{inset:0;width:100%;height:100%}
.tour-bubble{position:relative;flex:1;min-width:0;background:#f8f8e8;border:2px solid #d7f68a;border-radius:24px;padding:18px 22px 20px;pointer-events:auto;animation:tour-bubble-in .25s ease-out}
.tour-bubble:before{content:'';position:absolute;bottom:66px;left:-15px;width:24px;height:24px;background:#f8f8e8;border-left:2px solid #d7f68a;border-bottom:2px solid #d7f68a;transform:rotate(45deg)}
.tour-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:-7px}
.tour-topline>span{font-size:10px;font-weight:800;letter-spacing:1.1px;color:#516335}
#tourSkip{color:#4a5941;background:transparent;min-height:44px;padding:8px 0 8px 12px;font-size:12px;white-space:nowrap}
.tour-count{font-size:12px!important;color:#60734c!important;margin:0 0 6px!important}
#tourTitle{font-size:25px;line-height:1.12;letter-spacing:-.7px;margin:0 0 10px;color:#17230f}
#tourTitle:focus{outline:none}
#tourDescription{font-size:15px;line-height:1.55;color:#34402c;margin:0 0 18px}
.tour-dots{display:flex;gap:5px;margin-bottom:14px}.tour-dots i{height:4px;width:15px;background:#d4ddc7;border-radius:10px}.tour-dots i.done{background:#8faa5e}.tour-dots i.current{width:28px;background:#31481e}
.tour-controls{display:flex;justify-content:space-between;align-items:center;gap:14px}
.tour-controls button{min-height:44px;font-size:14px;font-weight:700;border-radius:13px;padding:12px 17px}
#tourBack{background:transparent;color:#435238;padding-left:0}#tourBack:disabled{opacity:.35;cursor:default}
#tourNext{background:#c3ff3e;color:#182411;border:1px solid #9ecf2d}
.tour-controls button:focus-visible,#tourSkip:focus-visible{outline:3px solid #284f87;outline-offset:2px}
@keyframes tour-arrive{from{opacity:0;transform:translateY(24px) rotate(-8deg)}to{opacity:1;transform:none}}
@keyframes tour-bubble-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:700px){
 .tour-invite{margin:-4px 0 16px;padding-left:10px}.tour-invite button{font-size:12px}
 #monsterTour{padding:0!important;border:0!important;border-radius:0!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important}
 .tour-guide{bottom:calc(14px + env(safe-area-inset-bottom));right:12px;width:calc(100% - 24px);display:block;filter:drop-shadow(0 8px 16px #0005)}
 .tour-bubble{padding:12px 17px 16px;border-radius:23px}
 .tour-bubble:before{left:auto;right:60px;top:-11px;bottom:auto;transform:rotate(135deg);width:18px;height:18px}
 .tour-mascot{position:absolute;right:3px;bottom:calc(100% - 10px);margin:0;pointer-events:none}
 .tour-mascot .pet-sprite{width:168px;height:160px}
 #tourTitle{font-size:23px}#tourDescription{font-size:14px;line-height:1.5;margin-bottom:14px}
 .tour-topline>span{max-width:75%;font-size:9px;letter-spacing:.8px}.tour-topline{margin-top:-6px}
 .tour-dots{margin-bottom:10px}.tour-controls button{font-size:13px;padding:11px 13px}
 .tour-count{font-size:11px!important}
}
@media(max-height:650px){.tour-mascot .pet-sprite{width:95px;height:90px}.tour-bubble{padding:9px 15px 12px}#tourTitle{font-size:20px}#tourDescription{font-size:13px;margin-bottom:8px}.tour-dots{display:none}}
@media(prefers-reduced-motion:reduce){.tour-mascot,.tour-bubble{animation:none}.tour-spotlight{transition:none}}
