/* v1.9: モコの宝箱 / アイテム保管 */
.islandObjectV15.storedV19{display:none!important}
.storageBtnV19{
  position:relative;display:flex;align-items:center;gap:7px;min-height:39px;padding:7px 10px;
  border:0;border-radius:13px;background:linear-gradient(135deg,#fff5cf,#ffe4a8 55%,#ffd58d);
  color:#7a5423;font:950 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:0 5px 14px #7b5a2c24,inset 0 0 0 1px #fff9;touch-action:manipulation;cursor:pointer
}
.storageBtnV19:active{transform:translateY(1px) scale(.985)}
.storageBtnV19>b{position:absolute!important;right:-6px;top:-7px;display:grid!important;place-items:center!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:999px!important;background:#ff7186!important;color:#fff!important;font-size:10px!important;box-shadow:0 3px 8px #ba596633!important}
.tinyChestV19{position:relative;width:22px;height:17px;display:block;flex:0 0 auto}
.tinyChestV19:before{content:"";position:absolute;left:2px;top:1px;width:18px;height:8px;border-radius:7px 7px 2px 2px;background:linear-gradient(#d8904f,#b86835);box-shadow:inset 0 0 0 1px #8f522e}
.tinyChestV19:after{content:"";position:absolute;left:1px;top:8px;width:20px;height:9px;border-radius:2px 2px 6px 6px;background:linear-gradient(#eaa85b,#b96938);box-shadow:inset 0 0 0 1px #91532f}
.tinyChestV19 i{position:absolute;z-index:2;left:9px;top:7px;width:5px;height:7px;border-radius:2px;background:#ffe07a;box-shadow:0 0 0 1px #b4862c}

.storageOverlayV19{position:fixed;inset:0;z-index:30000;display:flex;align-items:flex-end;justify-content:center;padding:18px;background:#28496880;backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:.25s ease;overflow-y:auto;overscroll-behavior:contain}
.storageOverlayV19.showV19{opacity:1;visibility:visible}
.storagePanelV19{position:relative;width:min(820px,96vw);max-height:min(88vh,820px);overflow:auto;padding:22px 22px 18px;border-radius:32px 32px 25px 25px;background:linear-gradient(180deg,#fffef8,#f4fbff 55%,#eef7ff);border:2px solid #fff;box-shadow:0 30px 90px #17334866;transform:translateY(34px) scale(.98);transition:.28s cubic-bezier(.2,.8,.2,1.05);-webkit-overflow-scrolling:touch;touch-action:pan-y}
.storageOverlayV19.showV19 .storagePanelV19{transform:none}
.closeStorageV19{position:sticky;float:right;top:0;z-index:5;width:40px;height:40px;border:0;border-radius:50%;background:#eef5fb;color:#5a6d81;font-size:24px;font-weight:700;box-shadow:0 5px 13px #45607818;touch-action:manipulation}
.storageTopV19{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;padding:4px 34px 14px 4px}
.storageEyebrowV19{font-size:10px;font-weight:1000;letter-spacing:.15em;color:#9b7a42}
.storageTopV19 h2{margin:4px 0 5px;font-size:30px;line-height:1;color:#435a72}.storageTopV19 p{margin:0;color:#68798b;font-size:13px;line-height:1.55}.storageTopV19 p b{color:#586d85}
.storageSummaryV19{display:inline-flex;margin-top:9px;padding:6px 10px;border-radius:999px;background:#fff1cb;color:#8a642d;font-size:11px;font-weight:950}

.bigChestV19{position:relative;width:132px;height:112px;margin:auto;filter:drop-shadow(0 12px 12px #79562f2b)}
.chestGlowV19{position:absolute;left:15px;right:15px;top:8px;height:55px;border-radius:50%;background:#ffe88e88;filter:blur(15px);animation:chestGlowV19 2.5s ease-in-out infinite alternate}@keyframes chestGlowV19{to{opacity:.45;transform:scale(1.1)}}
.chestLidV19{position:absolute;left:14px;top:17px;width:104px;height:43px;border-radius:25px 25px 7px 7px;background:linear-gradient(180deg,#ecae62,#c9783f);border:3px solid #8c502f;box-shadow:inset 0 7px 0 #ffd18c,inset 0 -6px 0 #a96135}
.chestLidV19:after{content:"";position:absolute;left:47px;top:25px;width:12px;height:19px;border-radius:5px;background:#ffe073;border:2px solid #a97627}
.chestBodyV19{position:absolute;left:9px;top:55px;width:114px;height:52px;border-radius:8px 8px 20px 20px;background:linear-gradient(180deg,#dd934e,#a85d35);border:3px solid #854b2e;box-shadow:inset 0 8px 0 #f4b767,inset 0 -8px 0 #834b31}
.chestBodyV19:before,.chestBodyV19:after{content:"";position:absolute;top:0;bottom:0;width:9px;background:#f0c45f;box-shadow:inset 0 0 0 2px #a77826}.chestBodyV19:before{left:20px}.chestBodyV19:after{right:20px}.chestBodyV19 i{position:absolute;z-index:2;left:49px;top:-8px;width:16px;height:23px;border-radius:5px;background:#ffe37d;border:2px solid #a77528}

.storageMokoNoteV19{display:grid;grid-template-columns:38px auto 1fr;gap:8px;align-items:center;margin:0 0 13px;padding:9px 12px;border-radius:17px;background:#edf8ff;border:1px solid #d9ecfa;color:#526a80}.storageMokoNoteV19 b{font-size:12px}.storageMokoNoteV19 small{font-size:10px;color:#7b8c9d}.mokoMiniFaceV19{position:relative;width:32px;height:28px;border-radius:50%;background:#fff;border:2px solid #bfd9eb;color:#425971;font-size:0;box-shadow:0 3px 8px #617c9822}.mokoMiniFaceV19:before,.mokoMiniFaceV19:after{content:"";position:absolute;top:7px;width:4px;height:5px;border-radius:50%;background:#41566d}.mokoMiniFaceV19:before{left:7px}.mokoMiniFaceV19:after{right:7px}.mokoMiniFaceV19{background-image:radial-gradient(circle at 50% 70%,#ffb9ce 0 2px,transparent 2.4px)}

.storageGridV19{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:2px 0 12px}
.storageItemV19{display:grid;grid-template-columns:76px 1fr auto;gap:9px;align-items:center;min-height:88px;padding:8px 9px;border-radius:20px;background:#fff;border:2px solid #e9f1f7;box-shadow:0 7px 18px #48657c12;transition:.18s}
.storageItemV19.inBoxV19{background:linear-gradient(135deg,#fffaf0,#fff);border-color:#f0deb7}.storageItemV19.popV19{animation:storagePopV19 .36s ease}@keyframes storagePopV19{45%{transform:scale(1.025)}}
.storageItemArtV19{width:72px;height:72px;display:grid;place-items:center;filter:drop-shadow(0 7px 5px #50677d22)}.storageItemArtV19 .artSvgV15{width:100%;height:100%}
.storageItemCopyV19{min-width:0;display:flex;flex-direction:column;gap:3px}.storageItemCopyV19 b{font-size:13px;color:#415870;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.storageItemCopyV19 span{font-size:10px;font-weight:850;color:#8594a2}
.storageToggleV19{min-width:92px;min-height:40px;border:0;border-radius:13px;padding:7px 9px;font:900 11px/1.15 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;touch-action:manipulation;cursor:pointer}.storageToggleV19.putV19{background:#f3eee8;color:#7a624d;box-shadow:inset 0 0 0 1px #dfd0c1}.storageToggleV19.bringV19{background:linear-gradient(135deg,#dff9ff,#e8f0ff);color:#426493;box-shadow:inset 0 0 0 1px #bed9ef}.storageToggleV19:active{transform:scale(.97)}
.storageEmptyV19{grid-column:1/-1;padding:30px;text-align:center;color:#758798;font-size:13px;line-height:1.7}
.storageFooterV19{position:sticky;bottom:-18px;display:flex;justify-content:flex-end;gap:9px;margin:2px -4px -6px;padding:12px 4px 6px;background:linear-gradient(180deg,#f4fbff00,#f4fbffff 35%)}
.restoreAllV19,.doneStorageV19{min-height:46px;border:0;border-radius:15px;padding:10px 16px;font-weight:950;touch-action:manipulation}.restoreAllV19{background:#fff;color:#5b7188;box-shadow:inset 0 0 0 2px #dce8f2}.doneStorageV19{background:linear-gradient(135deg,#6d85f5,#67b5ea);color:#fff;box-shadow:0 7px 17px #5b79bd2e}

@media(max-width:760px){
  .hero.v15Hero .islandHudV15{left:10px;bottom:10px;right:10px;gap:7px;padding:7px 8px 7px 10px;flex-wrap:wrap}
  .hero.v15Hero .islandHudV15>div{min-width:120px;flex:1}.editIslandBtnV15,.storageBtnV19{font-size:10px;padding:8px 9px}
  .storageOverlayV19{padding:8px;align-items:flex-end}.storagePanelV19{width:100%;max-height:91vh;padding:16px 12px 12px;border-radius:28px 28px 18px 18px}
  .storageTopV19{grid-template-columns:100px 1fr;gap:8px;padding:2px 30px 10px 0}.bigChestV19{width:96px;height:90px;transform:scale(.76)}.storageTopV19 h2{font-size:24px}.storageTopV19 p{font-size:11px}
  .storageMokoNoteV19{grid-template-columns:34px 1fr}.storageMokoNoteV19 small{grid-column:2}
  .storageGridV19{grid-template-columns:1fr;gap:8px}.storageItemV19{grid-template-columns:66px 1fr auto;min-height:78px}.storageItemArtV19{width:62px;height:62px}.storageToggleV19{min-width:84px;font-size:10px}
}
@media(max-width:430px){
  .storageBtnV19>span:nth-child(2){display:none}.storageBtnV19{width:40px;justify-content:center;padding:7px}.tinyChestV19{transform:scale(1.08)}
  .storageTopV19{grid-template-columns:80px 1fr}.bigChestV19{margin-left:-11px}.storageTopV19 p br{display:none}
  .storageItemV19{grid-template-columns:58px 1fr}.storageItemArtV19{width:54px;height:54px}.storageToggleV19{grid-column:2;width:100%;min-height:36px}.storageFooterV19{justify-content:stretch}.restoreAllV19,.doneStorageV19{flex:1}
}
