.ec-poe1 .ec-layout { grid-template-columns: 200px minmax(0,1fr); gap: 20px; }
.ec-poe1 .ec-side { padding: 18px 10px; }
.ec-poe1 .ec-side h2 { margin-bottom: 14px; }
.ec-poe1 .ec-side a { padding: 9px 12px; font-size: 13px; margin: 2px 0; }
.ec-poe1 .ec-side a.active { background: rgba(253,49,71,.14); color: #ff7184; box-shadow: inset 3px 0 #fd3147; }
.ec-poe1 .ec-panel { padding: 24px; border-color: #342c43; }
.ec-poe1 .ec-toolbar { align-items: center; margin-bottom: 18px; gap: 20px; }
.ec-poe1 .ec-toolbar h2 { margin-bottom: 6px; font-size: 26px; }
.ec-market-context { display: block; margin-top: 6px; font-size: 12px; color: #aaa4b8; line-height: 1.6; }
.ec-poe1 .ec-search-bar > div { min-width: 0; }
.ec-poe1 .ec-search-bar label { display: block; margin-bottom: 8px; color: #aaa4b8; font-size: 12px; }
.ec-poe1 .ec-search-bar .custom-select-wrapper { width: 100%; }
.ec-poe1 .ec-value-control .custom-select-trigger { background: #252332; color: #fff; border: 1px solid #393443; font: inherit; }
.ec-poe1 .ec-value .ec-popular-pair { justify-content: flex-end; }
.ec-poe1 .ec-toolbar-controls { min-width: 190px; }
.ec-poe1 .ec-league { display: flex; gap: 12px; }
.ec-poe1 .ec-category-control { display: none; }
.ec-poe1 .ec-search-bar { display: grid; grid-template-columns: minmax(0,1fr) 175px 180px; gap: 12px; margin-bottom: 20px; align-items: end; }
.ec-poe1 .ec-search-bar input { flex: 1; width: 100%; height: 48px; }
.ec-poe1 .ec-search-bar select { width: 175px; }
.ec-poe1 .ec-search-bar > .custom-select-wrapper { width: 175px; flex-shrink: 0; }
.ec-poe1 select.ec-select-enhanced { display: none; }
.ec-poe1 .ec-search-bar .custom-select-trigger { height: 48px; min-height: 48px; background: #252332; border: 1px solid #393443; color: #fff; font: inherit; text-align: left; }
.ec-poe1 .custom-select-option { display: block; width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.05); font: inherit; text-align: left; }
.ec-poe1 .custom-select-option:hover { background: rgba(253,49,71,.1); color: #fd3147; }
.ec-poe1 .custom-select-option.selected { background: rgba(253,49,71,.15); color: #fd3147; }
.ec-poe1 .custom-select-option:focus-visible { outline: 2px solid #fd3147; outline-offset: -2px; }
.ec-poe1 .ec-converter { background: linear-gradient(115deg,#292033,#211b2d); padding: 20px; border: 1px solid #483448; margin-bottom: 20px; }
.ec-poe1 .ec-converter h2 { font-size: 17px; }
.ec-poe1 .ec-converter .ec-muted { font-size: 12px; line-height: 1.6; }
.ec-poe1 .ec-convert-fields { grid-template-columns: 80px minmax(0,1fr) 36px minmax(0,1fr); gap: 10px; }
.ec-poe1 #ec-swap { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: #352a40; border: 1px solid #55415c; border-radius: 50%; color: #ffbd71; font-size: 20px; cursor: pointer; }
.ec-poe1 #ec-swap:hover { background: #fff; color: #fd3147; }
.ec-poe1 #ec-result { padding-top: 14px; border-top: 1px solid #453349; font-size: 16px; line-height: 1.7; }
.ec-poe1 .ec-table th { font-size: 11px; }
.ec-poe1 .ec-table td { padding: 13px 8px; }
.ec-poe1 .ec-name { min-width: 170px; }
.ec-poe1 input:focus-visible,.ec-poe1 select:focus-visible,.ec-poe1 button:focus-visible { outline: 2px solid #fd3147; outline-offset: 2px; }
@media (max-width: 1050px) and (min-width: 768px) {
    .ec-poe1 .ec-layout { grid-template-columns: 175px minmax(0,1fr); gap: 16px; }
    .ec-poe1 .ec-panel { padding: 18px; }
    .ec-poe1 .ec-search-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ec-poe1 .ec-search-control { grid-column: 1/-1; }
}
@media (max-width: 767px) {
    .ec-poe1 .ec-layout { display: block; }
    .ec-poe1 .ec-side { display: none; }
    .ec-poe1 .ec-panel { padding: 16px; }
    .ec-poe1 .ec-toolbar { gap: 16px; align-items: stretch; }
    .ec-poe1 .ec-toolbar h2 { font-size: 23px; }
    .ec-poe1 .ec-toolbar-controls { display: block; min-width: 0; }
    .ec-poe1 .ec-league { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ec-poe1 .ec-category-control { display: block; }
    .ec-poe1 .ec-league > div { min-width: 0; }
    .ec-poe1 .ec-league select { width: 100%; }
    .ec-poe1 .ec-league .custom-select-wrapper { min-width: 0; }
    .ec-poe1 .ec-search-bar { gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ec-poe1 .ec-search-control { grid-column: 1/-1; }
    .ec-poe1 .ec-search-bar input { min-width: 0; }
    .ec-poe1 .ec-search-bar select { width: 128px; font-size: 12px; padding-inline: 8px; }
    .ec-poe1 .ec-search-bar > .custom-select-wrapper { width: 136px; }
    .ec-poe1 .ec-search-bar .custom-select-trigger { font-size: 12px; padding-inline: 10px; }
    .ec-poe1 #ec-search,.ec-poe1 #ec-amount,.ec-poe1 .ec-select-search { font-size: 16px; }
    .ec-poe1 .ec-converter { padding: 16px; }
    .ec-poe1 .ec-convert-fields { grid-template-columns: 64px minmax(0,1fr) 36px; }
    .ec-poe1 .ec-convert-fields .custom-select-wrapper:last-child { grid-column: 1/-1; }
    .ec-poe1 .ec-table th,.ec-poe1 .ec-table td { padding: 12px 7px; }
    .ec-poe1 .ec-name { min-width: 165px; font-size: 13px; }
    .ec-poe1 .ec-table-wrap { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) rgba(255,255,255,.03); }
    .ec-poe1 .ec-table-wrap::-webkit-scrollbar { height: 6px; }
    .ec-poe1 .ec-table-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,.03); border-radius: 3px; }
    .ec-poe1 .ec-table-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }
    .ec-poe1 .ec-table-wrap::-webkit-scrollbar-thumb:hover { background: rgba(253,49,71,.4); }
}
