/* Enot Studio v26: cohesive responsive layer */
:root { --enot-r:20px; --enot-stroke:rgba(174,199,230,.15); --enot-shadow:0 18px 44px rgba(0,0,0,.18); }
*,*::before,*::after {box-sizing:border-box}
html {scroll-padding-top:86px;-webkit-text-size-adjust:100%}
body {min-width:0;overflow-x:clip}
img,video,svg,canvas {max-width:100%}
.card,.product-card,.market-item,.inv-plate-tile,.inv-boost-tile,.eco-section {min-width:0;overflow-wrap:anywhere}
.card,.product-card,.inv-boost-tile,.inv-plate-tile {border-radius:var(--enot-r)!important;border:1px solid var(--enot-stroke);box-shadow:var(--enot-shadow)}
.card {background:linear-gradient(155deg,rgba(31,49,70,.95),rgba(17,28,45,.96))}
.product-card {background:linear-gradient(165deg,#202d44 0%,#152337 72%,#172538 100%)}
.card:nth-of-type(3n+2) {background:linear-gradient(165deg,rgba(25,52,63,.95),rgba(18,31,46,.96))}
.card:nth-of-type(3n+3) {background:linear-gradient(155deg,rgba(43,37,66,.95),rgba(22,30,48,.96))}
.card-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.card-head h2 {margin:0;line-height:1.28}
.card img,.product-card img {object-fit:contain}
.grid,.market-grid,.product-grid,.market-cards,.inv-items-grid {min-width:0}
input,select,textarea,button {max-width:100%;font:inherit}
input,select,textarea {min-width:0}
button,.btn {touch-action:manipulation;min-height:38px}
button:focus-visible,.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {outline:2px solid #5eead4;outline-offset:3px}
table {max-width:100%}
.table-wrap,[class*="table-wrap"],[class*="table-scroll"] {overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.market-my-lots,.inv-summary {grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}
.inv-boost-tile {justify-content:space-between;gap:14px!important;padding:18px!important;background:linear-gradient(145deg,#202b46,#172a36)!important}
.inv-boost-tile img {width:76px!important;height:76px!important}
.inv-plate-tile {padding:18px!important;background:linear-gradient(150deg,#24313e,#171f38)!important}
.inv-boost-tile form,.inv-plate-tile form {margin-top:auto!important}
.inv-lot-row {flex-wrap:wrap;gap:12px!important;border-radius:14px!important}
.inv-empty {border:1px dashed var(--enot-stroke);border-radius:14px;background:rgba(255,255,255,.02);padding:30px!important}
.inv-feature {padding:clamp(20px,3vw,34px);margin:0 0 20px;border:1px solid rgba(94,234,212,.2);border-radius:24px;background:radial-gradient(ellipse at 90% -20%,rgba(57,225,193,.17),transparent 55%),linear-gradient(120deg,#1b3140,#1c243e)}
.inv-feature h1 {font-size:clamp(23px,3.5vw,35px);line-height:1.15;margin:6px 0}
.inv-feature p {max-width:620px;margin:8px 0;color:#becbd8;font-size:14px}
.inv-feature-links {display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.inv-feature-links a {display:inline-flex;align-items:center;border-radius:12px;padding:9px 14px;text-decoration:none;color:#d8f8f2;background:rgba(96,220,200,.12);border:1px solid rgba(96,220,200,.22)}
.inv-stat {border-radius:16px!important;padding:18px!important;background:linear-gradient(155deg,rgba(31,49,68,.95),rgba(21,34,50,.96))!important}
.inv-toolbar {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.inv-filter {background:#23344c;color:#e6f4fa;border:1px solid rgba(180,210,241,.2);border-radius:12px;padding:10px 14px;cursor:pointer}
.inv-filter[aria-pressed="true"] {background:#167d78;border-color:#4fdfc6;color:white}
.inv-category[hidden] {display:none!important}
@media (min-width:1600px) { .inv-summary {grid-template-columns:repeat(4,minmax(0,1fr))!important} }
@media (max-width:1100px) { .eco-layout {grid-template-columns:1fr!important} .eco-nav {position:static!important;max-height:none!important;flex-direction:row!important;overflow-x:auto;white-space:nowrap} }
@media (max-width:768px) { .card,.eco-section {padding:clamp(14px,4vw,20px)!important} .inv-feature {padding:20px} .product-card,.inv-boost-tile {width:100%} .modal-box,.item-modal-box {width:calc(100vw - 24px);max-width:100%!important;max-height:calc(100dvh - 30px);overflow-y:auto} .market-toolbar {flex-wrap:wrap} .eco-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))} }
@media (max-width:480px) { .inv-summary {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px} .inv-stat .v {font-size:17px} .inv-stat {padding:12px!important} .card-head {align-items:flex-start} .btn {white-space:normal;text-align:center} .inv-feature-links a {flex:1;justify-content:center} .inv-plate-tile {padding:12px!important} .card [style*="grid-template-columns:repeat(auto-fill,minmax(220px"] {grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important} }
@media (prefers-reduced-motion:reduce) { .card,.btn,.product-card {transition:none!important;animation:none!important} }

.inv-extra-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:12px;margin:14px 0}
.inv-extra-tile{display:flex;align-items:center;gap:13px;min-width:0;padding:15px;border:1px solid rgba(157,188,223,.16);border-radius:17px;background:linear-gradient(155deg,#243447,#1c2940)}
.inv-extra-icon{width:50px;height:50px;flex:0 0 50px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:rgba(92,204,197,.13);font-size:27px}
.inv-extra-label{min-width:0;flex:1}.inv-extra-label strong{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.inv-extra-label small{display:block;color:#aabccd;font-size:11px;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}.inv-extra-qty{flex-shrink:0;background:rgba(45,212,191,.12);color:#a7f3d0;border-radius:8px;padding:6px 9px;font-size:12px;font-weight:800}
