/* Eldcores interior pages: native cards, ledgers and character dossiers. */
.ec-modern .ec-view-body{min-width:0;line-height:1.65}
.ec-modern .ec-section-lead{padding:4px 0 25px;border-bottom:1px solid #b8a77d;margin-bottom:23px}
.ec-modern .ec-kicker{display:block;color:#796435;font:700 10px/1.5 Arial,sans-serif;letter-spacing:1.8px;text-transform:uppercase}
.ec-modern .ec-section-lead h2,.ec-modern .ec-search-card h2{font:normal clamp(25px,3vw,36px)/1.2 Georgia,serif;color:#293625;margin:8px 0 12px}
.ec-modern .ec-section-lead p,.ec-modern .ec-search-card p{margin:0;max-width:530px;color:#6b624e;font-size:14px}
.ec-modern .ec-muted,.ec-modern .ec-filter-note{color:#756b55;font-size:11px}
.ec-modern .ec-filter-bar{display:flex;gap:15px;align-items:end;background:#e7ddc1;border:1px solid #c4b58d;padding:17px;margin-bottom:24px}
.ec-modern .ec-filter-bar label,.ec-modern .ec-field,.ec-modern .ec-inline-search label{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px;font:700 10px/1.5 Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;color:#5c6044}
.ec-modern .ec-filter-bar select,.ec-modern .ec-inline-search input,.ec-modern .ec-field input{width:100%;min-width:0;border:1px solid #b5a375;border-radius:0;background:#fff9e8;padding:11px 12px;font:normal 14px Arial,sans-serif;color:#2a3527;box-sizing:border-box}
.ec-modern .ec-filter-note{max-width:95px;line-height:1.5;padding-bottom:7px}
.ec-modern .ec-list-heading{display:flex;justify-content:space-between;font:700 9px Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:#796f55;padding:0 16px 10px}
.ec-modern .ec-player-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ec-modern .ec-player-row{display:flex;align-items:center;gap:12px;border:1px solid #c4b58e;background:#f5ecd5;min-height:84px;padding:12px 16px;box-sizing:border-box;position:relative}
.ec-modern .ec-rank-top{border-color:#aa9052;background:linear-gradient(110deg,#e5d3a0,#faf1db 70%)}
.ec-modern .ec-rank-1{border-left:4px solid #a2863a}
.ec-modern .ec-position{width:30px;flex-shrink:0;text-align:center;font:normal 25px Georgia,serif;color:#96782e}
.ec-modern .ec-position small{display:block;font:700 9px Arial,sans-serif;letter-spacing:1px}
.ec-modern .ec-player-name{flex:1;min-width:0;overflow-wrap:anywhere}
.ec-modern .ec-player-name>a,.ec-modern .ec-adventurer-card h3 a,.ec-modern .ec-guild-card h3 a{color:#293e2b!important;font:700 17px/1.3 Georgia,serif;text-decoration:none}
.ec-modern .ec-player-name small{display:block;font-size:11px;color:#7c7057}
.ec-modern .ec-player-value{text-align:right;min-width:0;color:#34422b}
.ec-modern .ec-player-value strong{font:normal 25px Georgia,serif}
.ec-modern .ec-player-value small{display:block;font:10px/1.5 Arial,sans-serif;color:#81724f}
.ec-modern .ec-avatar{width:58px;height:58px;display:flex;align-items:center;justify-content:center;flex:none;background:radial-gradient(#c5c1a0,#e6dcc0);border:1px solid #b7aa82;overflow:hidden;position:relative}
.ec-modern .ec-avatar img{position:static!important;margin:0!important;width:64px!important;height:64px!important;max-width:none;object-fit:contain}
.ec-modern .ec-presence{font:700 10px/1.5 Arial,sans-serif;color:#7f796e;letter-spacing:.5px}
.ec-modern .ec-presence:before{content:'●';font-size:8px;margin-right:6px;color:#9b978b}
.ec-modern .ec-presence.is-active,.ec-modern .ec-presence.is-active:before{color:#44753a}
.ec-modern .ec-pagination{display:flex;justify-content:space-between;gap:10px;margin-top:20px}
.ec-modern .ec-empty{text-align:center;border:1px dashed #b5a57c;padding:35px 20px;background:#eee4c9;grid-column:1/-1;list-style:none}
.ec-modern .ec-empty>span{display:block;color:#a38948;font:38px Georgia,serif;margin-bottom:10px}
.ec-modern .ec-empty h3{font:normal 23px Georgia,serif;color:#34412c;margin:0 0 10px}
.ec-modern .ec-empty p{color:#796d55;font-size:13px;max-width:380px;margin:0 auto}
.ec-modern .ec-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.ec-modern .ec-stat-grid article{padding:18px 14px;background:#e9dfc3;border-top:2px solid #9e8951;min-width:0}
.ec-modern .ec-stat-grid article>small{display:block;text-transform:uppercase;font:700 9px Arial,sans-serif;letter-spacing:1px;color:#7c6e50;margin-bottom:12px}
.ec-modern .ec-stat-grid article>strong{display:block;font:normal 23px Georgia,serif;overflow-wrap:anywhere;color:#34402d}
.ec-modern .ec-community-grid,.ec-modern .ec-guild-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.ec-modern .ec-adventurer-card,.ec-modern .ec-guild-card{display:flex;align-items:center;gap:14px;background:#f3e9cf;padding:20px 16px;border:1px solid #c7b68d;min-width:0}
.ec-modern .ec-adventurer-card>div,.ec-modern .ec-guild-card>div{min-width:0;overflow-wrap:anywhere}
.ec-modern .ec-adventurer-card h3,.ec-modern .ec-guild-card h3{margin:4px 0;font:700 18px Georgia,serif}
.ec-modern .ec-adventurer-card p,.ec-modern .ec-guild-card p{font-size:12px;margin:4px 0;color:#76694d}
.ec-modern .ec-adventurer-card small{font-size:10px;color:#82765e}
.ec-modern .ec-guild-card{align-items:flex-start}
.ec-modern .ec-guild-card>img{flex:none;object-fit:contain}
.ec-modern .ec-callout{display:flex;gap:20px;justify-content:space-between;align-items:center;background:#303e2c;padding:24px;color:#e9dfbe;margin-top:25px;border:1px solid #97804c}
.ec-modern .ec-callout h3{color:#e9dfbe;font:normal 23px Georgia,serif;margin:0 0 8px}
.ec-modern .ec-callout p{font-size:12px;color:#beb99e;margin:0}
.ec-modern .ec-callout .ec-action{white-space:nowrap}
.ec-modern .ec-chip-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:20px 0;font-size:11px}
.ec-modern .ec-chip-bar>a{border:1px solid #baa67a;padding:7px 12px;color:#4f5c3d;background:#e9dfc4;text-decoration:none}
.ec-modern .ec-chip-bar>a:hover{background:#d6c69d}
.ec-modern .ec-disclosure{border-top:1px solid #bdac81;padding:18px 0;margin-top:18px;font-size:13px}
.ec-modern .ec-disclosure summary{cursor:pointer;color:#4a5839;font-weight:bold}
.ec-modern .ec-facts{margin:18px 0;display:grid;gap:0}
.ec-modern .ec-facts>div{display:grid;grid-template-columns:120px 1fr;gap:15px;padding:12px 0;border-bottom:1px solid #dbccaa}
.ec-modern .ec-facts dt{font-size:11px;color:#8a7855}
.ec-modern .ec-facts dd{margin:0;overflow-wrap:anywhere}
.ec-modern .ec-profile-hero{display:flex;gap:18px;align-items:center;background:linear-gradient(115deg,#202f24,#455038);border:1px solid #9d8651;padding:25px;margin-bottom:24px}
.ec-modern .ec-profile-hero .ec-kicker{color:#c4b580}
.ec-modern .ec-profile-hero h2{font:normal clamp(25px,3vw,38px)/1.15 Georgia,serif;margin:6px 0 10px;color:#f0dfaf;overflow-wrap:anywhere}
.ec-modern .ec-profile-hero>div{min-width:0}
.ec-modern .ec-profile-hero .ec-presence{color:#ccc6b1}
.ec-modern .ec-profile-avatar{flex:none;width:90px;height:100px;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #827b53;background:radial-gradient(#6b7650,transparent)}
.ec-modern .ec-profile-avatar img{width:110px;height:110px;max-width:none;object-fit:contain}
.ec-modern .ec-level-medal{margin-left:auto;text-align:center;border-left:1px solid #77805b;padding-left:18px;flex-shrink:0}
.ec-modern .ec-level-medal small{font:700 9px Arial,sans-serif;letter-spacing:1.5px;color:#c4b580}
.ec-modern .ec-level-medal strong{display:block;color:#f2d788;font:normal 35px Georgia,serif}
.ec-modern .ec-profile-details>table{border-collapse:collapse;margin-bottom:20px}
.ec-modern .ec-profile-details>table>tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#ccbc95;border:1px solid #ccbc95}
.ec-modern .ec-profile-details>table>tbody>tr{display:flex;flex-direction:column;background:#f3e8cf!important;padding:13px 16px;min-width:0}
.ec-modern .ec-profile-details>table>tbody>tr:first-child{display:none}
.ec-modern .ec-profile-details>table>tbody>tr>td{width:auto!important;padding:0!important;background:transparent!important;border:0!important;overflow-wrap:anywhere}
.ec-modern .ec-profile-details>table>tbody>tr>td:first-child{font:700 9px Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;color:#7b7055!important;margin-bottom:7px}
.ec-modern .ec-profile-details>table>tbody>tr>td:last-child{font-size:13px;color:#34402d!important}
.ec-modern .ec-profile-archive>table{margin:20px 0;border-collapse:collapse}
.ec-modern .ec-profile-archive>table td{overflow-wrap:anywhere}
.ec-modern .ec-profile-archive>table:nth-of-type(1)>tbody>tr{display:flex;flex-wrap:wrap;gap:16px}
.ec-modern .ec-profile-archive>table:nth-of-type(1)>tbody>tr>td{flex:1 1 160px;width:auto!important;padding:0!important}
.ec-modern .ec-profile-archive #signLinks input{width:100%!important}
.ec-modern .ec-profile-archive img{max-width:100%;object-fit:contain}
.ec-modern .ec-profile-archive #signLinks{max-width:100%}
.ec-modern .ec-search-card{margin:25px 0 0;padding:22px;background:#e5d8b7;border-top:3px solid #8e7a43}
.ec-modern .ec-inline-search{display:flex;gap:15px;align-items:end;margin-top:18px}
.ec-modern .ec-inline-search .ec-action{min-height:42px;white-space:nowrap}
.ec-modern .ec-group-heading{margin:28px 0 12px;font:normal 24px Georgia,serif;color:#4f5a3c;border-bottom:1px solid #baa67b;padding-bottom:12px}
.ec-modern .ec-spell-filter table,.ec-modern .ec-spell-filter td{background:transparent!important;border:0!important}
.ec-modern .ec-spells-empty{display:none}
.ec-modern .ts_Spells>label{border:1px solid #9f8c59;background:#36442d;color:#f2e7c9;padding:10px 18px;font:700 12px Arial,sans-serif;cursor:pointer}
.ec-modern .ts_Spells .tab-panel{overflow-x:auto}
.ec-modern .ec-recovery-form{max-width:530px}
.ec-modern .ec-choice-list{border:0;padding:0;margin:25px 0}
.ec-modern .ec-choice-list legend{font:700 10px Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#6b694b;margin-bottom:12px}
.ec-modern .ec-choice-list label{display:flex;align-items:start;gap:12px;border:1px solid #c4b58e;padding:16px;margin:8px 0;background:#f3e8cc;cursor:pointer}
.ec-modern .ec-choice-list small{display:block;margin-top:5px;font-size:12px;color:#89785a}
/* Existing world descriptions retain their server-provided text, with an editorial layout. */
.ec-modern .ec-view-serverinfo>p:first-child,.ec-modern .ec-view-bestiary>p:first-child,.ec-modern .ec-view-tasks>p:first-child{font:normal 21px/1.6 Georgia,serif;color:#435035;padding-bottom:20px;border-bottom:1px solid #b9a87d}
.ec-modern .ec-view-serverinfo>h2,.ec-modern .ec-view-bestiary>h2,.ec-modern .ec-view-tasks>h2,.ec-modern .ec-view-downloads h1{font:normal 32px/1.2 Georgia,serif!important;color:#3b4a30!important;margin:10px 0 24px!important}
.ec-modern .ec-view-serverinfo table>tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ec-modern .ec-view-serverinfo table tr{display:flex;flex-direction:column;border:1px solid #c4b48c;padding:18px;background:#ece0c1!important;min-width:0}
.ec-modern .ec-view-serverinfo table td{border:0!important;padding:0!important;background:transparent!important;width:auto!important}
.ec-modern .ec-view-serverinfo table td:first-child{font:700 9px Arial,sans-serif;color:#86734a!important;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.ec-modern .ec-view-serverinfo table td:last-child{font-size:15px;overflow-wrap:anywhere}
.ec-modern .ec-view-bestiary>p,.ec-modern .ec-view-tasks>p{background:#eee3c5;border-left:3px solid #a0894e;padding:22px 24px;margin:15px 0;line-height:1.9}
.ec-modern .ec-view-downloads ol{list-style:none;counter-reset:install;padding:0;display:grid;gap:10px;margin:24px 0}
.ec-modern .ec-view-downloads ol li{counter-increment:install;display:flex;align-items:center;gap:15px;background:#e8ddbf;border:1px solid #c0ad7d;padding:15px;font-size:13px}
.ec-modern .ec-view-downloads ol li:before{content:'0' counter(install);font:normal 25px Georgia,serif;color:#9a8041;flex:none}
.ec-modern .ec-view-rules .ec-rules-section{padding:20px;background:#eee3c8;border-top:2px solid #a38c54}
.ec-modern .ec-view-body :focus-visible{outline:2px solid #7a8b4f;outline-offset:3px}
@media(max-width:650px){
 .ec-modern .ec-filter-bar{flex-wrap:wrap;padding:13px;gap:10px}.ec-modern .ec-filter-bar label{flex:1 1 100px}.ec-modern .ec-filter-note{max-width:none;width:100%;padding:0}
 .ec-modern .ec-community-grid,.ec-modern .ec-guild-grid{grid-template-columns:1fr}
 .ec-modern .ec-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-modern .ec-stat-grid article:last-child{grid-column:1/-1}
 .ec-modern .ec-player-row{padding:12px 9px;gap:8px}.ec-modern .ec-player-row .ec-avatar{width:40px;height:48px}.ec-modern .ec-position{width:23px;font-size:21px}.ec-modern .ec-player-name>a{font-size:14px}.ec-modern .ec-player-value strong{font-size:22px}.ec-modern .ec-player-value small{font-size:9px;max-width:90px;overflow-wrap:anywhere}
 .ec-modern .ec-profile-hero{padding:17px 12px;gap:12px;flex-wrap:wrap}.ec-modern .ec-profile-avatar{width:60px;height:75px}.ec-modern .ec-level-medal{padding-left:10px}.ec-modern .ec-level-medal strong{font-size:28px}
 .ec-modern .ec-profile-details>table>tbody{grid-template-columns:1fr}.ec-modern .ec-profile-details>table>tbody>tr{padding:12px 14px}
 .ec-modern .ec-profile-archive>table{display:block;max-width:100%;overflow-x:auto}
 .ec-modern .ec-callout,.ec-modern .ec-inline-search{flex-direction:column;align-items:stretch}.ec-modern .ec-search-card{padding:17px}.ec-modern .ec-inline-search label{flex:auto}
 .ec-modern .ec-filter-bar select,.ec-modern .ec-inline-search input,.ec-modern .ec-field input{font-size:16px}
 .ec-modern .ec-view-serverinfo table>tbody{grid-template-columns:1fr}.ec-modern .ec-view-bestiary>p,.ec-modern .ec-view-tasks>p{padding:17px}
}
@media(prefers-reduced-motion:reduce){.ec-modern .ec-view-body *{scroll-behavior:auto}}

.ec-modern .ec-guild-dossier .Border_2,.ec-modern .ec-guild-dossier .Border_3,.ec-modern .ec-guild-dossier .BoxContent{border:0;background:transparent;padding:0}
.ec-modern .ec-guild-dossier .ec-guild-hero{margin:0 0 25px}
.ec-modern .ec-guild-hero>img{object-fit:contain;flex:none}
.ec-modern .ec-guild-dossier .TableContainer{margin:18px 0}
.ec-modern .ec-guild-dossier .TableContent td{padding:12px!important;line-height:1.7}
.ec-modern .ec-guild-dossier .CaptionContainer{background:#34422e!important;padding:12px 16px!important;color:#ecdfbb!important}
.ec-modern .ec-guild-dossier .CaptionContainer .Text{position:static;color:#ecdfbb!important;font:normal 20px Georgia,serif}
@media(max-width:650px){.ec-modern .ec-guild-dossier{max-width:100%;overflow-x:auto}.ec-modern .ec-player-row .ec-player-name{overflow-wrap:anywhere}}

/* Account characters use a flexible roster, never percentage-based action columns. */
.ec-modern .ec-account-roster{margin:28px 0 20px}
.ec-modern .ec-account-roster>header{border-bottom:1px solid #bba778;padding-bottom:15px;margin-bottom:12px}
.ec-modern .ec-account-roster h3{font:normal 25px/1.3 Georgia,serif;color:#36462f;margin:6px 0 0}
.ec-modern .ec-roster-list{display:grid;gap:9px}
.ec-modern .ec-roster-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px;background:#eee3c7;border:1px solid #c1ad7f}
.ec-modern .ec-roster-identity{min-width:0}
.ec-modern .ec-roster-identity strong{display:block;font:700 17px/1.4 Georgia,serif;color:#34482e;overflow-wrap:anywhere}
.ec-modern .ec-roster-identity small{display:block;font:12px/1.5 Arial,sans-serif;color:#786a50;margin-top:4px}
.ec-modern .ec-roster-row>.ec-presence{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.ec-modern .ec-roster-row form{margin:0;width:auto;min-width:76px}
.ec-modern .ec-roster-view{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:76px;min-height:42px;padding:10px 14px;border:1px solid #9e8b58;background:#34462f;color:#f5e8bd;font:700 12px/1 Arial,sans-serif;white-space:nowrap;word-break:normal;overflow-wrap:normal;cursor:pointer}
.ec-modern .ec-roster-view:hover{background:#495c3d}
.ec-modern .ec-roster-view:focus-visible{outline:2px solid #778b43;outline-offset:3px}
@media(max-width:650px){.ec-modern .ec-roster-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px}.ec-modern .ec-roster-identity{grid-column:1/-1}.ec-modern .ec-roster-row form{justify-self:end}.ec-modern .ec-roster-view{min-height:44px}}

.ec-modern .ec-profile-archive>br{display:none}
.ec-modern .ec-account-facts{margin:25px 0;padding:18px;background:#eee3c7;border:1px solid #c1ad7f}
.ec-modern .ec-account-facts h3{font:normal 24px/1.3 Georgia,serif;color:#36462f;margin:6px 0 15px}
.ec-modern .ec-account-facts .ec-facts{margin:0}
.ec-modern .ec-account-facts .ec-facts>div{grid-template-columns:90px minmax(0,1fr);gap:15px}
.ec-modern .ec-account-facts .ec-facts dt{white-space:nowrap;overflow-wrap:normal}
.ec-modern .ec-account-facts .ec-facts dd{font-size:12px;line-height:1.6}
.ec-modern .ec-ban-note{display:block;color:#934232}
@media(max-width:420px){.ec-modern .ec-account-facts .ec-facts>div{grid-template-columns:1fr;gap:5px}}

/* Inventory is a complete 3-column equipment grid, independent of legacy tables. */
.ec-modern .ec-profile-archive>table:first-of-type>tbody>tr>td.ec-equip-panel{flex:1 1 250px;min-width:0;max-width:100%;padding:0!important}
.ec-modern .ec-equipment{box-sizing:border-box;width:100%;padding:18px;background:#ece1c3;border:1px solid #bba373}
.ec-modern .ec-equipment h3{font:normal 24px/1.3 Georgia,serif;color:#35462e;margin:5px 0 18px}
.ec-modern .ec-equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,auto);gap:8px;max-width:276px;margin:0 auto;overflow:visible}
.ec-modern .ec-equipment-slot{margin:0;min-width:0;box-sizing:border-box;background:linear-gradient(#344035,#252e27);border:1px solid #858363;padding:8px 3px 6px;text-align:center;overflow:visible}
.ec-modern .ec-slot-image{height:36px;min-width:0;display:flex;align-items:center;justify-content:center}
.ec-modern .ec-slot-image img{display:block;position:static!important;width:32px!important;height:32px!important;min-width:32px;max-width:none!important;max-height:none!important;margin:0!important;object-fit:contain;image-rendering:pixelated}
.ec-modern .ec-slot-image a{display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px}
.ec-modern .ec-equipment-slot figcaption{font:9px/1.4 Arial,sans-serif;color:#d1c7a3;margin-top:5px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.ec-modern .ec-slot-2{grid-column:1;grid-row:1}.ec-modern .ec-slot-1{grid-column:2;grid-row:1}.ec-modern .ec-slot-3{grid-column:3;grid-row:1}
.ec-modern .ec-slot-6{grid-column:1;grid-row:2}.ec-modern .ec-slot-4{grid-column:2;grid-row:2}.ec-modern .ec-slot-5{grid-column:3;grid-row:2}
.ec-modern .ec-slot-9{grid-column:1;grid-row:3}.ec-modern .ec-slot-7{grid-column:2;grid-row:3}.ec-modern .ec-slot-10{grid-column:3;grid-row:3}
.ec-modern .ec-slot-8{grid-column:2;grid-row:4}.ec-modern .ec-equipment-skull{text-align:center;margin:12px 0 0}
@media(max-width:650px){.ec-modern .ec-equipment{padding:14px 10px}.ec-modern .ec-equipment-grid{gap:6px}.ec-modern .ec-profile-archive>table:first-of-type>tbody>tr>td.ec-equip-panel{flex-basis:100%}}
