/* 道具の進化モード（js/evo.js・js/evo3d.js） */
.mode-sw{position:fixed;left:16px;bottom:16px;z-index:60;display:flex;gap:2px;padding:4px;border-radius:999px;background:rgba(3,20,31,.78);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.mode-sw button{border:0;background:none;color:#d6eef5;font:700 13px/1 "Noto Sans JP",system-ui,sans-serif;padding:10px 15px;border-radius:999px;cursor:pointer;white-space:nowrap}
.mode-sw button[aria-pressed="true"]{background:#fff;color:#0d2a3a}
.evo-bg{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:none}
html.evo .evo-bg{display:block}
html.evo .sea,html.evo .tank > canvas,html.evo .tank .rays,html.evo .seabed,html.evo .hero .hint,html.evo .depth-say{display:none !important}
html.evo body.dive{background:#160d12}
html.evo .buddy{display:none !important}
.evo-buddy{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:none}
html.evo .evo-buddy{display:block}
.depth .evo-read{display:none}
html.evo .depth .read:not(.evo-read){display:none}
html.evo .depth .evo-read{display:block}
html.evo .depth .line{background:linear-gradient(180deg,#f3a65a 0%,#b4523a 10%,#cfe0ea 22%,#8a5a34 34%,#e2c25a 48%,#8a7a62 64%,#1a2550 82%,#bfe6ff 100%)}
html.evo .depth .mark{background:radial-gradient(circle at 35% 30%,#fff 0 18%,#ffe2b0 30%,#f3a65a 70%);box-shadow:0 0 0 2px #fff,0 0 14px rgba(243,166,90,.9)}
html.evo .depth .read small{color:#ffd9a8}
.evo-say{position:fixed;z-index:46;right:30px;top:50vh;max-width:290px;background:#fff;color:#0d2a3a;font-size:13.5px;line-height:1.65;padding:12px 16px;border-radius:14px;box-shadow:0 14px 34px rgba(3,20,31,.22);opacity:0;transform:translateX(8px);transition:opacity .35s,transform .35s;pointer-events:none}
.evo-say b{display:block;font-size:12px;color:#b4523a}
.evo-say.on{opacity:1;transform:none}
html:not(.evo) .evo-say{display:none}
@media (max-width:760px){.evo-say{right:auto;left:12px;top:auto;bottom:74px;max-width:calc(100vw - 24px)}}
html.evo .buddy::before{display:none}

.evo3d{position:fixed;inset:0;z-index:-1;pointer-events:none}
html:not(.evo) .evo3d{display:none}
html.evo3d-on .evo-bg{display:none}
