/* Enot Plus · interface enhancements, loaded after Aurora Glass */
:root { --ep-outline:rgba(155,169,220,.19); }
:root[data-enot-accent="ocean"] { --accent:#18c8d2;--accent-hover:#60e8e9;--accent-soft:rgba(24,200,210,.15);--accent-line:rgba(24,200,210,.4);--accent-glow:rgba(24,200,210,.28);--grad-main:linear-gradient(125deg,#0daab9,#278ce6,#60e8e9);--shadow-accent:0 10px 30px -10px rgba(24,200,210,.45); }
:root[data-enot-accent="sunset"] { --accent:#ff8b60;--accent-hover:#ffb18b;--accent-soft:rgba(255,139,96,.15);--accent-line:rgba(255,139,96,.4);--accent-glow:rgba(255,139,96,.28);--grad-main:linear-gradient(125deg,#ff8358,#ff6b91,#ffbe70);--shadow-accent:0 10px 30px -10px rgba(255,139,96,.48); }
.ep-search-trigger { display:flex;gap:10px;align-items:center;border:1px solid var(--border-strong);color:var(--text-2);background:rgba(17,21,39,.75);border-radius:12px;padding:10px 13px;cursor:pointer;font:inherit;min-width:180px;justify-content:flex-start;transition:border-color .18s,background .18s; }
.ep-search-trigger:hover { border-color:var(--accent-line);background:var(--accent-soft); }
.ep-search-trigger > span:first-child {font-size:23px;line-height:14px;color:var(--accent-hover)}
.ep-search-trigger kbd {margin-left:auto;background:rgba(255,255,255,.05);padding:3px 6px;border:1px solid var(--border);border-radius:5px;font-size:10px;white-space:nowrap}
.ep-overlay[hidden] {display:none!important}
.ep-overlay {position:fixed;inset:0;z-index:100500;background:rgba(2,4,13,.76);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;align-items:flex-start;justify-content:center;padding:clamp(35px,12vh,130px) 16px 20px}
.ep-modal-open {overflow:hidden!important}
.ep-dialog {width:min(100%,630px);max-height:min(75vh,720px);display:flex;flex-direction:column;overflow:hidden;background:#101428;border:1px solid rgba(154,163,223,.28);border-radius:22px;box-shadow:0 35px 110px #000a,0 0 65px rgba(124,108,255,.12)}
.ep-search-line {display:flex;align-items:center;gap:13px;padding:19px 20px;border-bottom:1px solid var(--ep-outline)}
.ep-search-line > span {color:var(--accent-hover);font-size:30px;line-height:1}
.ep-search-line input {flex:1;min-width:0;border:0;outline:0;background:none;color:#fff;font:500 16px/1.5 Inter,system-ui,sans-serif}
.ep-search-line input::placeholder {color:#818aa9}
.ep-close {border:1px solid var(--ep-outline);background:#22283d;color:#c4c9d9;border-radius:7px;padding:6px 9px;cursor:pointer}
.ep-results {overflow:auto;min-height:120px;padding:10px;overscroll-behavior:contain}
.ep-result {display:flex;align-items:center;border-radius:12px;border:1px solid transparent;gap:5px}
.ep-result.selected,.ep-result:hover {background:rgba(124,108,255,.13);border-color:var(--accent-line)}
.ep-result-link {min-width:0;flex:1;display:flex;gap:12px;align-items:center;padding:10px;text-decoration:none;color:#fff}
.ep-result-icon {width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(124,108,255,.12);font-size:21px}
.ep-result-info {min-width:0;display:flex;flex-direction:column;gap:4px}.ep-result-info strong {font-size:13px}.ep-result-info small {color:#9aa6c1;font-size:11px}
.ep-star {font-size:23px;background:none;border:none;color:#69728b;cursor:pointer;padding:12px}.ep-star:hover,.ep-star.is-favorite {color:#ffc56b}
.ep-empty {text-align:center;color:var(--text-3);padding:28px 10px}
.ep-dialog-bottom {display:flex;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid var(--ep-outline);font-size:11px;color:#8b97b2}
.ep-quick {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 16px}.ep-quick:empty {display:none}
.ep-quick-title {font-size:11px;font-weight:700;color:var(--text-3);margin-right:4px}
.ep-quick-item {display:inline-flex;align-items:center;padding:8px 11px;border-radius:99px;background:var(--accent-soft);color:var(--text-1);border:1px solid var(--accent-line);text-decoration:none;font-size:12px;font-weight:600;transition:transform .2s}
.ep-quick-item:hover {transform:translateY(-2px)}
.ep-quick-edit {border:none;background:none;color:var(--text-3);cursor:pointer;font:inherit;font-size:11px;text-decoration:underline}
.ep-pref {display:inline-flex;align-items:center;gap:8px;color:var(--text-3);margin-left:auto;font-size:11px}
.ep-swatch {font-size:19px;cursor:pointer;border:2px solid transparent;border-radius:50%;line-height:1;background:transparent;padding:2px 3px}.ep-swatch.selected {border-color:currentColor}.ep-violet {color:#9280ff}.ep-ocean {color:#32dae6}.ep-sunset {color:#ff976d}
.ep-dock {display:none}
:where(a,button,input):focus-visible {outline:2px solid var(--accent-hover)!important;outline-offset:3px}
@media(max-width:1180px){.ep-search-trigger {min-width:0;padding:9px}.ep-search-trigger kbd {display:none}}
@media(max-width:860px){
  .ep-search-trigger {margin-left:auto;padding:8px 10px}.ep-search-trigger > span:nth-child(2) {display:none}
  .ep-dock {display:flex;position:fixed;z-index:110;bottom:calc(10px + env(safe-area-inset-bottom));left:12px;right:12px;padding:6px;gap:2px;background:rgba(17,21,39,.94);backdrop-filter:blur(20px);border:1px solid var(--border-strong);border-radius:19px;box-shadow:0 10px 45px #0009;justify-content:space-around}
  .ep-dock-link,.ep-dock-more {min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 3px;color:var(--text-2);background:none;border:0;text-decoration:none;font:inherit;cursor:pointer;border-radius:12px}
  .ep-dock-link span,.ep-dock-more span {font-size:20px}.ep-dock-link small,.ep-dock-more small {font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .ep-dock-link:hover,.ep-dock-more:hover {background:var(--accent-soft);color:var(--text-1)}
  .main {padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
  .ep-dialog-bottom {font-size:10px}
}
@media(max-width:470px){.ep-search-trigger {margin-left:0}.ep-dialog {border-radius:16px}.ep-search-line {padding:13px}.ep-search-line input {font-size:13px}.ep-dialog-bottom span:last-child {display:none}}
@media(prefers-reduced-motion:reduce){.ep-quick-item {transition:none}}


/* Enot v7 — shared reliable responsive cards, across the player-facing website */
:where(.content,.main,.page,.container){min-width:0;}
:where(.card,.product-card,.shop-card,.item-card,.market-card,.pf-card,.pf-pet-tile,.pet-card){min-width:0;max-width:100%;overflow-wrap:anywhere;}
:where(.card,.product-card,.shop-card,.item-card,.market-card,.pf-card){border-radius:16px;}
:where(.product-card,.shop-card,.item-card,.pf-pet-tile) img{object-fit:contain;max-width:100%;}
:where(.product-card,.shop-card,.item-card,.pf-pet-tile) :where(.btn,button){max-width:100%;white-space:normal;}
:where(.product-card,.shop-card,.item-card,.market-card) :where(h2,h3,h4,p){overflow-wrap:anywhere;}
:where(.product-card,.shop-card,.item-card,.market-card) :where(input,select){min-width:0;max-width:100%;}
:where(.pf-stat,.pets-kpi){min-width:0;overflow-wrap:anywhere;}
@media(max-width:700px){
  :where(.shop-grid,.item-grid,.products-grid,.market-grid,.inventory-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));}
}
@media(max-width:430px){
  :where(.shop-grid,.item-grid,.products-grid,.market-grid,.inventory-grid){grid-template-columns:minmax(0,1fr);}
}
@media(prefers-reduced-motion:reduce){:where(.pet-hero-img img,.pf-pet-tile){animation:none!important;transition:none!important;}}

/* Unified catalogue cards (shop + market): stable image, metadata and footer */
.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));align-items:stretch;gap:15px;}
.market-grid > .product-card{display:flex;flex-direction:column;min-width:0;width:100%;height:100%;overflow:hidden;border-radius:18px;background:linear-gradient(160deg,#1b2033,#111725);border:1px solid rgba(159,173,211,.17);box-shadow:0 8px 30px #0002;}
.market-grid > .product-card .product-image{flex:0 0 auto;aspect-ratio:5/4;min-height:140px;max-height:210px;min-width:0;padding:16px;background:radial-gradient(circle at 50% 50%,rgba(139,124,240,.12),rgba(12,17,30,.65) 73%);}
.market-grid > .product-card .product-image img{display:block;max-height:100%;max-width:100%;height:100%;width:100%;object-fit:contain;}
.market-grid > .product-card .product-info{display:flex;flex-direction:column;min-width:0;gap:5px;}
.market-grid > .product-card .product-title{min-height:0;line-height:1.36;font-size:14px;overflow-wrap:anywhere;}
.market-grid > .product-card .product-desc-short{overflow-wrap:anywhere;}
.market-grid > .product-card .product-features{min-width:0;flex:0 0 auto;}
.market-grid > .product-card .product-features .pf-row{min-width:0;}
.market-grid > .product-card .product-features .pf-v{overflow-wrap:anywhere;white-space:normal;}
.market-grid > .product-card .product-meta{margin-top:auto;min-width:0;align-items:center;}
.market-grid > .product-card .product-price{white-space:normal;overflow-wrap:anywhere;font-size:clamp(15px,1.6vw,19px);}
.market-grid > .product-card .product-badges{max-width:calc(100% - 16px);}
.market-grid > .product-card :where(.product-actions,.product-buttons){min-width:0;flex-wrap:wrap;}
.market-grid > .product-card :where(.product-btn){min-width:0;overflow-wrap:anywhere;white-space:normal;}
@media(max-width:680px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.market-grid>.product-card .product-image{min-height:112px;max-height:155px;}.market-grid>.product-card .product-info{padding:10px 10px 0;}.market-grid>.product-card .product-features{margin:0 9px 8px;padding:2px 7px;}.market-grid>.product-card .product-meta{padding:8px 10px 0;}}
@media(max-width:390px){.market-grid{grid-template-columns:minmax(0,1fr);}.market-grid>.product-card .product-image{max-height:195px;}}
