/* Mar Aberto inventory. Original industrial-diving visual language. */
#abyssInventoryRoot{position:absolute;inset:0;z-index:87;pointer-events:none;font-family:Inter,system-ui,sans-serif;color:#f1eee5}
#abyssInventoryRoot[hidden],#abyssInventoryPanel[hidden]{display:none!important}
#abyssInventoryToggle{pointer-events:auto;position:absolute;right:14px;bottom:76px;border:1px solid #8a785a;border-radius:9px;background:linear-gradient(145deg,#203444ef,#071520eb);color:#f4dba6;padding:9px 12px;font:700 11px Inter,system-ui,sans-serif;letter-spacing:.08em;box-shadow:0 5px 20px #030912ad;cursor:pointer}
#abyssInventoryToggle kbd{margin-left:7px;padding:2px 6px;border:1px solid #6c8190;border-radius:4px;color:#d1dfde;background:#0d2735}
#abyssInventoryPanel{pointer-events:auto;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(490px,calc(100% - 22px));max-height:min(90%,650px);overflow-y:auto;box-sizing:border-box;padding:20px;border:2px solid #9f865d;border-radius:12px;background:radial-gradient(ellipse at top,#294354 0,#121f2d 55%,#090e18 100%);box-shadow:0 0 0 9999px #010810a0,0 28px 80px #000d, inset 0 0 0 2px #384e59}
#abyssInventoryPanel header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #6b755c;padding:0 0 10px;margin-bottom:10px;gap:12px}
#abyssInventoryPanel header small{color:#cfac73;font-size:10px;letter-spacing:.16em;font-weight:750}
#abyssInventoryPanel h2{margin:3px 0 0;font-size:clamp(17px,3vw,24px);line-height:1.2;letter-spacing:.06em;font-family:Cinzel,Georgia,serif;color:#f0e7d4}
#abyssInventoryClose{border:1px solid #9d977b;background:#31404b;color:#ece6da;border-radius:7px;font-size:24px;width:34px;height:34px;cursor:pointer}
#abyssInventoryPanel .abyss-inventory-help{font-size:12px;line-height:1.5;color:#c6d2d3;margin:11px 0 17px}
.abyss-inventory-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.abyss-inventory-slot{position:relative;aspect-ratio:1;min-width:0;border:2px solid #435f69;border-radius:6px;background:linear-gradient(140deg,#172c3b,#0c1c29);box-shadow:inset 1px 2px 8px #040d17;cursor:pointer;padding:4px}
.abyss-inventory-slot:disabled{opacity:.63;cursor:default}
.abyss-inventory-slot:not(:disabled):hover{border-color:#a6d9ce;background:#27465a}
.abyss-inventory-slot.is-selected{border-color:#e5c17c;box-shadow:0 0 0 1px #ddb96a,inset 0 0 16px #ad906c33}
.abyss-inventory-art{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.abyss-inventory-art svg{width:85%;height:85%;filter:drop-shadow(0 3px 4px #0008)}
.abyss-inventory-count{position:absolute;right:3px;bottom:2px;font-size:11px;font-weight:800;color:white;text-shadow:0 1px 3px #000,0 0 4px #000}
#abyssInventoryPanel footer{margin-top:15px;border-top:1px solid #4e6672;padding-top:12px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;letter-spacing:.06em;color:#c9dedc}
#abyssInventorySelected{color:#efd4a0;flex:1;font-size:11px}
@media(max-width:620px){#abyssInventoryToggle{right:10px;bottom:102px;padding:8px 10px;font-size:10px}#abyssInventoryPanel{padding:13px;max-height:84%;border-radius:9px}.abyss-inventory-grid{gap:4px}.abyss-inventory-slot{border-width:1px}#abyssInventoryPanel .abyss-inventory-help{font-size:11px}#abyssInventoryPanel footer{flex-wrap:wrap}}

.abyss-hotbar{pointer-events:auto;position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:grid;grid-template-columns:repeat(9,54px);gap:6px;padding:7px 9px;border:1px solid rgba(139,230,245,.32);border-radius:12px;background:rgba(6,22,38,.82);box-shadow:0 12px 36px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.09);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.abyss-hotbar-slot{position:relative;width:54px;height:54px;border:1.5px solid rgba(64,110,140,.48);border-radius:8px;background:rgba(12,32,52,.65);cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;transition:border-color .15s,box-shadow .15s}.abyss-hotbar-slot:hover{border-color:#7de5f5;background:rgba(20,48,76,.75)}.abyss-hotbar-slot.is-selected{border:2px solid #f6d365;box-shadow:0 0 14px rgba(246,211,101,.45),inset 0 0 8px rgba(246,211,101,.22);background:rgba(18,44,70,.85)}.abyss-hotbar-slot kbd{position:absolute;left:4px;top:3px;color:#a0cfdc;background:transparent;border:0;font:700 10px 'Manrope',Inter,system-ui,sans-serif;pointer-events:none}.abyss-hotbar-slot .abyss-inventory-art svg{width:88%;height:88%;filter:drop-shadow(0 2px 5px rgba(0,0,0,.55))}@media(max-width:620px){.abyss-hotbar{grid-template-columns:repeat(9,38px);gap:3px;bottom:8px;padding:5px;max-width:calc(100vw - 12px);border-radius:9px}.abyss-hotbar-slot{width:38px;height:38px;border-radius:6px}}

.submarine-workshop-card{width:min(860px,94vw);max-height:88vh;overflow:auto;background:radial-gradient(circle at 50% 0,#263d47,#0b1720 58%,#050b10);border:2px solid #9c855f}.submarine-workshop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:18px 0}.submarine-upgrade{padding:14px;border:1px solid #4e6870;border-radius:9px;background:#10232bd9;text-align:left;color:#e7f1ee}.submarine-upgrade small{display:block;color:#caa86c;letter-spacing:.08em}.submarine-upgrade strong{display:block;margin:4px 0 7px}.submarine-upgrade span{font-size:11px;color:#b8c9c7}.submarine-upgrade button{margin-top:10px;width:100%}

/* Submarine research tree: compact branches instead of a second main-menu system. */
.submarine-lab-heading{grid-column:1/-1;padding:14px 16px;border:1px solid #9c855f;background:#08151dcc;border-radius:8px}.submarine-lab-heading strong,.submarine-lab-heading span{display:block}.submarine-lab-heading strong{color:#f0d49a;letter-spacing:.08em}.submarine-lab-heading span{margin-top:5px;font-size:11px;color:#9fb7b8}.submarine-upgrade.branch-core{border-color:#d0ad69;box-shadow:inset 0 0 20px #d0ad6914}.submarine-upgrade.branch-engineering{border-left:3px solid #7d9ba4}.submarine-upgrade.branch-energy{border-left:3px solid #73dbe7}.submarine-upgrade.branch-adaptation{border-left:3px solid #82b98f}.submarine-upgrade span{display:block;line-height:1.45}

.submarine-upgrade.branch-industry{border-color:rgba(213,170,67,.48);background:linear-gradient(145deg,rgba(51,43,25,.86),rgba(10,23,31,.92))}

.offshore-row{display:grid!important;grid-template-columns:72px minmax(90px,1fr) 82px 58px;gap:8px;align-items:center;margin-top:8px}.offshore-row i{height:8px;background:rgba(255,255,255,.09);border-radius:8px;overflow:hidden}.offshore-row i em{display:block;height:100%;background:#b88b43;border-radius:8px}.offshore-row.gas i em{background:#69aa8b}.offshore-row small{text-align:right;opacity:.8}@media(max-width:680px){.offshore-row{grid-template-columns:62px 1fr 72px}.offshore-row small{grid-column:2/4;text-align:left}}

/* Physical gathering: tool progress, floating pickup and hotbar receipt. */
.exploration-work-track{height:6px;margin:7px 0;border:1px solid #57717680;border-radius:7px;overflow:hidden;background:#081823}.exploration-work-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#729eb3,#d8bb7a);transition:width .10s linear}.abyss-hotbar-count{position:absolute;right:3px;bottom:2px;font:800 11px Inter,sans-serif;color:#f3e5c5;text-shadow:0 1px 4px #000}.abyss-hotbar-slot.abyss-collected{animation:abyssAcquiredGlow .78s ease-out}.abyss-pickup-label{position:absolute;left:38%;top:-12px;pointer-events:none;color:#b0f5cb;font:bold 14px Inter,sans-serif;text-shadow:0 2px 4px #001;animation:abyssAcquireFloat .9s ease forwards}@keyframes abyssAcquiredGlow{0%{box-shadow:0 0 0 3px #92edc6,0 0 19px #74dab3}100%{box-shadow:0 0 0 0 #92edc600}}@keyframes abyssAcquireFloat{to{transform:translateY(-24px);opacity:0}}

.abyss-pickup-flight{position:absolute;width:24px;height:24px;z-index:120;pointer-events:none;filter:drop-shadow(0 0 7px rgba(176,255,205,.65))}.abyss-pickup-flight svg{display:block;width:100%;height:100%}
