/* ARPG-Life / D4 visual language, Maxroll-inspired composition. Author: vlad1116. */
.poec{--poec-gold:#c9a24b;--poec-accent:#c9a24b;--poec-bg:#15171c;--poec-card:#1d2027;--poec-line:#30333a;color:#e8e6e1;margin:24px 0;font:inherit;container-type:inline-size}.poec-poe2{--poec-accent:#7dabc0}.poec *{box-sizing:border-box}.poec [hidden]{display:none!important}.poec-bar{display:flex;flex-direction:column;gap:16px;padding:16px;background:var(--poec-bg);border:1px solid var(--poec-line);border-radius:10px;margin-bottom:20px}.poec input,.poec select{background:#101216!important;color:#e8e6e1!important;border:1px solid #42454b!important;border-radius:7px;padding:10px;font:inherit;max-width:100%}.poec-searchrow{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.poec-searchrow>input{flex:1 1 220px;min-width:0}.poec .poec-archive{display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:13px}.poec .poec-archive input{width:18px;height:18px}.poec-filters{display:flex;flex-wrap:wrap;gap:12px}.poec-filters label{flex:1 1 130px;font-size:12px;color:#aaa}.poec-filters select{display:block;width:100%;margin-top:5px}.poec button{border:1px solid #42454b;background:var(--poec-card);color:#eee;border-radius:7px;padding:8px 13px;cursor:pointer;font:inherit}.poec button:hover,.poec button:focus-visible{border-color:var(--poec-accent)}.poec button.is-on{border-color:var(--poec-accent);box-shadow:inset 0 0 0 1px var(--poec-accent);background:color-mix(in srgb,var(--poec-accent) 18%,#101216)}.poec-classes{display:flex;flex-wrap:wrap;gap:7px}.poec-classes button{display:flex;gap:9px;align-items:center;padding:5px 10px 5px 5px;font-size:14px;font-weight:600}.poec-portrait{display:inline-block;flex:none;width:48px!important;height:48px!important;border-radius:7px;object-fit:cover;object-position:center 30%;background-color:#101216;vertical-align:middle;max-width:none!important}.poec-sprite{background-repeat:no-repeat}.poec-all{display:grid;place-items:center;font-size:28px}.poec-stage{display:flex;gap:5px;flex-wrap:wrap}.poec-stage button{font-size:13px}.poec [data-count]{margin:0;font-size:13px;color:#aaa}.poec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;flex:1;min-width:0}.poec-card{position:relative;display:flex;min-height:210px;height:100%;overflow:hidden;border:1px solid #3b3c40;border-radius:12px;background:linear-gradient(120deg,#1d2027,#101216);color:#eee!important;text-decoration:none!important;transition:border-color .15s,transform .15s}.poec-card:hover{border-color:var(--poec-accent);transform:translateY(-2px)}.poec-card .poec-art{position:absolute;right:0;top:0;width:68%;height:100%;object-fit:cover;object-position:70% 30%;opacity:.8;mask-image:linear-gradient(to right,transparent,#000 70%);-webkit-mask-image:linear-gradient(to right,transparent,#000 70%);pointer-events:none}.poec-card-content{position:relative;z-index:1;padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0;flex:1;background:linear-gradient(to right,rgba(14,15,18,.8),transparent)}.poec-card-heading{display:flex;gap:10px;align-items:flex-start}.poec-card-heading>div{min-width:0}.poec-card h3{font-size:17px!important;margin:0 0 5px!important;line-height:1.35;color:#eee!important;text-wrap:balance}.poec-card p{margin:0!important;font-size:12px;line-height:1.45;color:#c0c2c8}.poec-card small{font-size:11px;color:#a9abb1}.poec-card .poec-skill{color:#d5bd86}.poec-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:auto}.poec-tags span,.poec-badge{font-size:11px;line-height:1.4;padding:4px 8px;border:1px solid #47433b;background:rgba(18,19,22,.85);border-radius:4px;color:#d5be86}.poec-badge{color:#111;background:var(--poec-gold)}.poec-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.poec-tabs a{padding:8px 12px;background:#202127;border:1px solid #67542c;border-radius:6px;color:#e4c479}.poec-tier{display:flex;gap:12px;padding:12px;background:#15171c;border:1px solid #30333a;margin:12px 0;border-radius:10px}.poec-rank{font-size:30px;background:#63512a;color:#fff;display:grid;place-items:center;min-width:55px;border-radius:8px}.poec-rank-s{background:#9d4545}.poec-rank-a{background:#a17832}.poec-rank-b{background:#77803d}.poec-rank-c{background:#39816c}.poec-rank-d{background:#4e6280}html body .poec a.poec-card,html body .poec a.poec-card *{text-decoration:none}.poec-card:hover h3{text-decoration:underline!important;text-underline-offset:3px}@container(max-width:660px){.poec-grid{grid-template-columns:1fr}.poec-bar{padding:10px;gap:12px}.poec-classes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.poec-classes button{font-size:12px;min-width:0}.poec-classes .poec-portrait{width:48px!important;height:48px!important}.poec-tier{padding:8px;gap:8px}.poec-rank{min-width:35px;font-size:23px}.poec-card-content{padding:14px}.poec-filters label{flex-basis:40%}.poec-card{min-height:190px}}@media(max-width:600px){.poec-grid{grid-template-columns:1fr}}

/* Refined navigation and class selectors, 04.11.2026. */
.poec{--poec-accent:#c9a24b}.poec-poe2{--poec-accent:#91b6ca}.poec-masthead{margin-bottom:22px}.poec-game-switch{display:flex;gap:6px;padding-bottom:22px}.poec-game-switch a,.poec-game-switch span{padding:8px 16px;color:#a6a8af!important;text-decoration:none!important;border:1px solid #30333a;border-radius:6px;background:#14161b;font-size:13px;font-weight:600}.poec-game-switch .is-on{color:#eee!important;border-color:var(--poec-accent);background:color-mix(in srgb,var(--poec-accent) 12%,#14161b)}.poec-title-row h2{font-size:30px!important;line-height:1.2;margin:4px 0 10px!important;color:#eee!important}.poec .poec-eyebrow{font-size:10px;letter-spacing:.14em;color:var(--poec-accent);font-weight:700;margin:0}.poec-subtitle{font-size:14px;color:#a4a6ad;margin:0 0 22px!important}.poec-main-tabs{display:flex;gap:25px;border-bottom:1px solid #30333a}.poec-main-tabs a,.poec-main-tabs span{padding:12px 2px 13px;color:#a6a8af!important;text-decoration:none!important;font-size:15px;font-weight:600;position:relative}.poec-main-tabs .is-on{color:#eee!important}.poec-main-tabs .is-on:after{content:"";position:absolute;height:3px;left:0;right:0;bottom:-1px;background:var(--poec-accent);border-radius:2px}.poec-main-tabs a:hover{color:var(--poec-accent)!important}.poec-classes{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:7px;padding-bottom:16px;border-bottom:1px solid #30333a}.poec-classes button{flex-direction:column;justify-content:center;gap:8px;min-height:104px;padding:9px 5px;font-size:12px;border-radius:8px;background:linear-gradient(150deg,#1d2027,#14161b)}.poec-classes button.is-on{box-shadow:inset 0 -3px 0 var(--poec-accent);background:color-mix(in srgb,var(--poec-accent) 10%,#14161b)}.poec-classes .poec-portrait{border:1px solid #575048;box-shadow:0 2px 8px #0008}.poec-stage{gap:0;align-self:flex-start;border:1px solid #373a43;background:#101216;border-radius:8px;padding:3px}.poec-stage button{border-color:transparent;border-radius:5px;background:transparent;padding:7px 13px;font-size:12px}.poec-stage button.is-on{box-shadow:none;color:#141414;background:var(--poec-accent);border-color:var(--poec-accent)}.poec-bar>.poec-filters{max-width:300px}.poec-more{border-top:1px solid #30333a;padding-top:10px}.poec-more summary{font-size:12px;cursor:pointer;color:#b5b6bc;padding:3px 0;list-style-position:inside}.poec-more summary:hover{color:var(--poec-accent)}.poec-more[open] summary{margin-bottom:12px}.poec-searchrow>input{font-size:13px}.poec-searchrow>button{font-size:12px;padding:7px 10px;border:0;background:transparent;text-decoration:underline;color:#aaa}.poec-card{min-height:230px}.poec-card-content{gap:15px;padding:19px}.poec-card h3{font-size:18px!important}.poec-card-heading .poec-portrait{border:1px solid #555148}.poec-card .poec-art{opacity:.95}.poec-card-content{background:linear-gradient(to right,rgba(14,15,18,.94),rgba(14,15,18,.6) 42%,transparent 82%)}.poec-tags span{color:#c6c6c8;border-color:#3c3c3e}.poec-tabs a{background:#15171c;border-color:#30333a;color:#aaa;text-decoration:none!important;font-size:13px}.poec-tabs a[aria-current="page"]{border-color:var(--poec-accent);color:#eee;background:color-mix(in srgb,var(--poec-accent) 15%,#15171c)}@container(max-width:660px){.poec-classes{grid-template-columns:repeat(3,minmax(0,1fr))}.poec-classes button{min-height:94px;font-size:12px}.poec-title-row h2{font-size:25px!important}.poec-main-tabs{gap:22px}.poec-main-tabs a,.poec-main-tabs span{font-size:14px}.poec-game-switch a,.poec-game-switch span{flex:1;text-align:center;padding:8px}.poec-stage{width:100%}.poec-stage button{flex:1;padding:7px 8px;font-size:11px}.poec-card-content{padding:14px}.poec-card h3{font-size:17px!important}.poec-card{min-height:215px}}@container(max-width:310px){.poec-classes{grid-template-columns:repeat(2,minmax(0,1fr))}.poec-main-tabs{gap:16px}}

/* Compact controls and permanent tag chips, 0.2.2. */
.poec-masthead{margin-bottom:16px}.poec-title-row h2{font-size:27px!important}.poec-subtitle{margin-bottom:15px!important}.poec-bar{gap:12px;padding:14px}.poec-classes{gap:6px;padding-bottom:12px}.poec-classes button{min-height:88px;gap:5px;padding:6px;font-size:12px}.poec-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.poec-toolbar>input{flex:1 1 210px;min-width:0;font-size:13px!important;height:38px}.poec-toolbar .poec-ascend{flex:0 1 205px;min-width:165px}.poec-toolbar select{width:100%;height:38px;padding:7px 10px;font-size:13px}.poec-toolbar .poec-stage{align-self:center;padding:2px;max-width:100%}.poec-toolbar .poec-stage button{padding:7px 9px;font-size:12px;white-space:nowrap}.poec-tag-filters{display:flex;flex-direction:column;gap:7px;padding:10px 0;border-top:1px solid #30333a;border-bottom:1px solid #30333a}.poec-tag-row{display:flex;gap:12px;align-items:baseline}.poec-filter-label{flex:0 0 65px;font-size:11px;color:#9a9ba3}.poec-tag-row>div{display:flex;gap:5px;flex-wrap:wrap}.poec button.poec-tag-chip{border-radius:5px;padding:4px 9px;border-color:#3a3d45;background:transparent;font-size:12px;line-height:1.4;color:#bdbfc7;box-shadow:none}.poec button.poec-tag-chip:hover{color:#eee;border-color:var(--poec-accent)}.poec button.poec-tag-chip.is-on{color:#101216;background:var(--poec-accent);border-color:var(--poec-accent)}.poec-footer-controls{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;font-size:12px;color:#999}.poec-footer-controls .poec-more{padding:0;border:0;flex:1 1 210px}.poec-footer-controls summary{padding:0;line-height:20px}.poec-footer-controls .poec-filters{padding:10px 0 3px;max-width:600px}.poec-footer-controls .poec-filters select{font-size:12px;padding:7px;height:35px}.poec-footer-controls .poec-archive{font-size:12px;line-height:20px}.poec-footer-controls [data-reset]{padding:0;font-size:12px;border:0;border-radius:0;background:transparent;text-decoration:underline;color:#aaa;line-height:20px}.poec-footer-controls [data-count]{font-size:12px;line-height:20px}.poec-empty{padding:25px!important;text-align:center;border:1px dashed #3b3e45;border-radius:9px;font-size:14px;color:#a6a8af}.poec-tag-editor fieldset{border-top:1px solid #ddd;padding-top:6px}.poec-tag-editor legend{font-weight:600}@container(max-width:660px){.poec-toolbar>input{flex-basis:100%}.poec-toolbar .poec-ascend{flex:1 1 100%;min-width:0}.poec-toolbar .poec-stage{width:100%;flex-wrap:wrap;justify-content:center}.poec-toolbar .poec-stage button{flex:1 1 auto;padding:6px 8px;font-size:11px}.poec-tag-row{flex-direction:column;gap:5px}.poec-filter-label{flex:auto;font-size:11px}.poec-footer-controls{gap:10px}.poec-footer-controls .poec-more{flex-basis:100%}.poec-classes button{min-height:85px}.poec-main-tabs{gap:22px}}

/* Independent article/tag links: no nested anchors. */
.poec-card>a.poec-card-link{position:absolute;inset:0;z-index:1;border-radius:inherit}.poec-card>a.poec-card-link:focus-visible{outline:2px solid var(--poec-accent);outline-offset:-3px}.poec-card .poec-card-content{z-index:auto;pointer-events:none}.poec-card a.poec-tag-link{position:relative;z-index:2;pointer-events:auto;font-size:11px;line-height:1.4;padding:4px 8px;border:1px solid #3c3c3e;background:rgba(18,19,22,.85);border-radius:4px;color:#c6c6c8!important;text-decoration:none!important}.poec-card a.poec-tag-link:hover,.poec-card a.poec-tag-link:focus-visible{border-color:var(--poec-accent);color:var(--poec-accent)!important}

/* Ascendancy portrait bar & card art framing, 0.2.5. */
.poec-ascend-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 0 12px;border-bottom:1px solid #30333a}.poec-ascend-bar button{display:inline-flex;align-items:center;gap:8px;padding:4px 11px 4px 5px;min-height:42px;font-size:12px;font-weight:600;border-radius:7px;background:#14161b}.poec-ascend-bar button[data-ascend-btn=""]{padding:4px 12px}.poec-ascend-bar .poec-portrait{width:32px!important;height:32px!important;border-radius:5px;border:1px solid #575048}.poec-poe1 .poec-card .poec-art{object-position:right center}.poec-poe2 .poec-card .poec-art{object-position:50% 25%}
