/* ElosPlay — Biblioteca Experience v4.1 | UI-only, based on V4.0 */
/* The photo-based card artwork is unique for the six featured mechanics; other cards retain legacy artwork until their individual redesign. */
:root{--ep41-nav-ink:#d7f1ee;--ep41-line:#d7e9eb}
/* Refine sidebar instead of leaving iconless edge-clipped text. */
.ep4-shell{max-width:100%;min-width:0;overflow-x:clip}
.ep4-shell .work-area{min-width:0;max-width:100%}
.ep4-shell .sidebar{width:224px;flex:0 0 224px;box-sizing:border-box; padding:18px 12px 13px; overflow:hidden; background:linear-gradient(160deg,#083745 0%,#075458 58%,#076a63 100%);}
.ep4-shell .sidebar .brand{display:flex;align-items:center; gap:10px; padding:2px 8px 12px; margin:0 0 12px; border-bottom:1px solid #ffffff20; min-width:0}
.ep4-shell .sidebar .brand-icon{width:39px;flex:0 0 39px;height:39px;border-radius:10px}
.ep4-shell .sidebar .brand strong{font-size:20px;letter-spacing:-.045em}
.ep4-shell .sidebar .brand small{font-size:8.5px;line-height:1.45;max-width:128px}
.ep4-shell .ep4-nav{gap:4px;padding:2px 0 6px;display:flex;flex-direction:column;overflow-x:hidden;min-width:0}
.ep4-shell .ep4-nav-item,.ep4-shell .ep4-nav-link{box-sizing:border-box;display:flex;align-items:center;gap:11px;padding:9px 11px;min-height:43px;line-height:1.25;text-align:left;border-radius:11px;color:var(--ep41-nav-ink);font-size:12.5px;font-weight:680;flex:0 0 auto;white-space:normal}
.ep4-shell .ep4-nav-item.active{background:linear-gradient(100deg,#0bb4a4,#0d8d87);box-shadow:inset 3px 0 0 #84ffe1,0 5px 15px #052e3650;color:white}
.ep4-shell .ep4-nav-item:hover,.ep4-shell .ep4-nav-link:hover{background-color:#ffffff17;color:white}
.ep4-shell .ep4-nav-item .nav-symbol,.ep4-shell .ep4-nav-more .nav-symbol,.ep4-shell .ep4-nav-link .nav-symbol{display:inline-flex!important;align-items:center;justify-content:center;opacity:1!important;visibility:visible!important;width:22px!important;min-width:22px!important;flex:0 0 22px!important;height:22px!important;padding:0!important;margin:0!important;position:static!important;transform:none!important;color:#a8e8df!important;font-size:19px!important;line-height:1!important;}
.ep4-shell .ep4-nav-item.active .nav-symbol{color:white!important}
.ep41-nav-icon{display:block;flex-shrink:0;stroke:currentColor;vertical-align:middle;max-width:20px;max-height:20px}
.ep4-shell .ep4-nav-more{margin-top:5px;padding-top:8px;border-top:1px solid #ffffff24}
.ep4-shell .ep4-nav-more>summary{font-size:12px;min-height:39px;padding:8px 10px;gap:10px}
.ep4-shell .ep4-nav-more-items{gap:2px;padding:3px 0 4px 6px}
.ep4-shell .ep4-caa{padding:8px 10px;min-height:49px;border-radius:12px;gap:10px;margin:7px 0 3px}
.ep4-shell .ep4-caa .ep41-nav-icon{height:21px;width:21px}
.ep4-shell .sidebar-bottom .org-meta{padding:10px 5px;margin-bottom:5px}
.ep4-shell .sidebar-bottom [data-action="logout"]{padding:9px 10px;min-height:39px}
/* First activities appear above the fold in common desktop viewports. */
.ep4-shell .ep4-topbar{height:54px;min-height:54px;padding:0 clamp(14px,2.3vw,28px)}
.ep4-topbar-title{font-size:clamp(15px,1.5vw,20px);gap:8px}
.ep4-topbar-mark{width:26px;height:26px}
.ep4-shell .main-content{padding:12px clamp(14px,2.35vw,33px) 58px;max-width:1600px}
.ep4-shell .ep4-library{gap:10px!important}
.ep4-hero{min-height:95px;max-height:110px;padding:12px 20px;border-radius:17px}
.ep4-hero-kicker{font-size:9px;margin:0 0 3px}
.ep4-hero h1{font-size:clamp(23px,2.05vw,29px);margin:0 0 3px;line-height:1.1}
.ep4-hero p:not(.ep4-hero-kicker){font-size:11.5px;line-height:1.35}
.ep4-hero-art{width:165px;height:143px;top:-21px;right:25px;opacity:.86}
.ep4-hero-copy{max-width:calc(100% - 160px)}
.ep4-explore{gap:7px;padding:10px 13px 10px;border-radius:15px}
.ep4-search input{height:43px!important;border-width:1px!important;border-radius:11px;font-size:13px;padding-left:43px}
.ep4-search-icon{font-size:24px;left:13px}
.ep4-filter-row{gap:8px;grid-template-columns:1.18fr 1fr 1fr auto}
.ep4-filter-row label{min-height:43px;padding:4px 8px;border-radius:9px;gap:7px}
.ep4-field-icon{font-size:19px;flex-basis:21px}
.ep4-select-group{gap:0}
.ep4-select-group strong{font-size:10px}
.ep4-filter-row select,.ep4-locked{height:22px;font-size:11.2px;padding-top:0;padding-bottom:0}
.ep4-advanced{min-height:43px;min-width:110px;border-radius:9px}
.ep4-advanced>summary{padding:8px 11px;min-height:43px;font-size:11px}
.ep4-categories{gap:5px;padding:0;row-gap:5px}
.ep4-shell .ep4-categories .ep2-genre-chip{min-height:31px;padding:5px 10px;font-size:10.7px;gap:5px}
.ep4-shell .ep4-categories .ep2-genre-chip span{font-size:15px}
.ep4-shortcuts{gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}
.ep4-shortcut{min-height:53px;gap:8px;padding:7px 10px;border-radius:12px}
.ep4-shortcut-icon{width:31px;height:31px;flex-basis:31px;font-size:19px;border-radius:9px}
.ep4-shortcut strong{font-size:11.7px}
.ep4-shortcut small{font-size:9.5px;margin-top:1px}
.ep4-shortcut>span:last-child{font-size:16px}
.ep41-active-shortcut{border-color:#15a294;outline:2px solid #17b49b48}
.ep4-results-head{padding:1px 2px 0;min-height:35px;align-items:center}
.ep4-results-head h2{font-size:18px;margin:0}
.ep4-results-head #library-count{font-size:10.6px}
.ep4-results-tools .button{min-height:32px}
.ep4-view-picker button{width:31px;height:29px;font-size:18px}
/* Activity cards: reduced dead space; actions remain large enough for touch. */
.ep4-shell .ep4-activities-grid{gap:12px}
.ep4-shell .ep4-activity-card{border-radius:15px!important;min-width:0}
.ep4-shell .ep4-activity-card .ep4-cover{height:128px}
.ep4-shell .ep4-activity-card .ep4-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.ep4-shell .ep4-activity-card .ep4-card-body{padding:10px 12px 9px;gap:4px}
.ep4-shell .ep4-activity-card .v2-mechanic-tag{font-size:9.4px;line-height:1.2}
.ep4-shell .ep4-activity-card .v2-time{font-size:9.4px}
.ep4-shell .ep4-activity-card .v2-card-body h3{font-size:16px;line-height:1.2;margin:0}
.ep4-shell .ep4-activity-card .v2-card-description{font-size:11.4px;line-height:1.35;min-height:30px;max-height:31px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ep4-shell .ep4-activity-card .v2-skill-list{gap:4px;margin:1px 0 0;min-height:23px;align-items:center}
.ep4-shell .ep4-activity-card .v2-skill-list span{font-size:9.5px;padding:3px 7px}
.ep4-shell .ep4-activity-card .v2-card-actions{gap:7px;margin:5px 0 0;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr)}
.ep4-shell .ep4-activity-card .v2-card-actions .button{min-height:38px;font-size:11px;padding:7px 4px}
.ep4-shell .ep4-activity-card .ep4-fav{width:32px;height:32px;top:7px;right:7px}
.ep4-card-more{margin-top:0}
.ep4-card-more>summary{padding:4px 0 0;font-size:10px}
.ep4-shell .ep4-as-list .ep4-activity-card{min-height:167px}
.ep4-shell .ep4-as-list .ep4-activity-card .ep4-cover{height:100%;min-height:167px}
.ep4-shell .ep4-as-list .ep4-activity-card .ep4-card-body{padding:13px 16px}
.ep4-activity-card:hover{box-shadow:0 10px 26px #1344501b!important;transform:translateY(-1px)}
@media(max-width:1260px){.ep4-shell .ep4-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));}.ep4-shortcuts{gap:6px}.ep4-shortcut{padding:6px 8px}}
@media(max-width:1080px){.ep4-shell .sidebar{width:212px;flex-basis:212px}.ep4-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.ep4-hero{min-height:94px}}
@media(max-width:790px){.ep4-shell .sidebar{width:min(288px,85vw);flex-basis:unset;position:fixed;transform:translateX(-105%)}.ep4-shell .sidebar.open{transform:translateX(0)}.ep4-shell .main-content{padding:12px 12px 50px}.ep4-shell .ep4-topbar{height:54px;min-height:54px}.ep4-hero{min-height:98px;padding:12px 15px}.ep4-hero-art{width:130px;height:120px;right:0;top:-10px}.ep4-hero-copy{max-width:calc(100% - 115px)}.ep4-shell .ep4-activities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ep4-shell .ep4-library{gap:9px!important}.ep4-shell .main-content{padding:11px 10px 40px}.ep4-hero{min-height:100px;max-height:118px;padding:11px;border-radius:14px}.ep4-hero-copy{max-width:calc(100% - 75px)}.ep4-hero h1{font-size:clamp(19px,5.8vw,24px)}.ep4-hero p:not(.ep4-hero-kicker){font-size:10.5px}.ep4-hero-kicker{font-size:7.6px}.ep4-hero-art{width:105px;height:119px;right:-21px;top:-8px}.ep4-explore{padding:9px;gap:7px}.ep4-search input{height:43px!important}.ep4-filter-row{grid-template-columns:1fr!important;gap:6px}.ep4-filter-row label{min-height:41px}.ep4-filter-row .ep4-select-filter{display:none}.ep4-advanced{min-height:39px}.ep4-advanced>summary{min-height:39px}.ep4-categories{gap:6px}.ep4-shell .ep4-categories .ep2-genre-chip{min-height:32px;padding:5px 9px}.ep4-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ep4-shortcut{min-height:62px;padding:8px 4px;gap:4px;flex-direction:column}.ep4-shortcut strong{font-size:10px}.ep4-shortcut small{display:none}.ep4-shortcut-icon{width:27px;height:27px;flex-basis:27px}.ep4-shortcuts .ep4-recent{display:none}.ep4-results-head{min-height:34px}.ep4-results-head h2{font-size:17px}.ep4-shell .ep4-activities-grid{grid-template-columns:1fr;gap:9px}.ep4-shell .ep4-activity-card{display:grid;grid-template-columns:minmax(108px,38%) minmax(0,1fr);min-height:157px}.ep4-shell .ep4-activity-card .ep4-cover,.ep4-shell .ep4-as-list .ep4-activity-card .ep4-cover{height:100%;min-height:157px}.ep4-shell .ep4-activity-card .ep4-card-body,.ep4-shell .ep4-as-list .ep4-activity-card .ep4-card-body{padding:9px;gap:4px}.ep4-shell .ep4-activity-card .v2-card-description{min-height:0;max-height:45px;font-size:10.5px}.ep4-shell .ep4-activity-card .v2-card-body h3{font-size:15px}.ep4-shell .ep4-activity-card .v2-card-actions{grid-template-columns:minmax(0,1fr) 34px;margin-top:auto}.ep4-shell .ep4-activity-card .v2-card-actions .button{min-height:36px;font-size:10px}.ep4-shell .ep4-activity-card .v2-skill-list{display:none}.ep4-shell .ep4-as-list .ep4-activity-card{grid-template-columns:minmax(108px,38%) minmax(0,1fr)}.ep4-activity-card:hover{transform:none}}
@media(max-width:380px){.ep4-hero-copy{max-width:calc(100% - 70px)}.ep4-hero h1{font-size:19px}.ep4-hero-art{right:-30px}.ep4-shell .ep4-activity-card{grid-template-columns:minmax(95px,36%) minmax(0,1fr)}.ep4-shell .ep4-activity-card .v2-card-body h3{font-size:14px}.ep4-shell .ep4-activity-card .v2-card-description{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ep4-activity-card{transform:none!important;transition:none!important}}
