.empire-directory,.ml-rules{--ml-bg:#faf9f6;--ml-surface:#fff;--ml-ink:#2c2940;--ml-muted:#7d7989;--ml-line:#e9e5e6;--ml-accent:#7259e4;--ml-soft:#f0ecff;--ml-header:#fffdfa;--ml-button:#7259e4;--ml-button-hover:#5e45c9;--ml-focus:#7259e41f}html[data-theme=dark] .empire-directory,html[data-theme=dark] .ml-rules{--ml-bg:#181824;--ml-surface:#242434;--ml-ink:#f5f3fb;--ml-muted:#b4b0c1;--ml-line:#3e3d50;--ml-accent:#b4a2ff;--ml-soft:#37304e;--ml-header:#20202d;--ml-button:#8e76f4;--ml-button-hover:#9c87fa;--ml-focus:#b4a2ff26;color-scheme:dark}.ml-page{max-width:1200px;margin:auto;padding:46px 28px 90px;color:var(--ml-ink)}.ml-heading{display:flex;align-items:center;justify-content:space-between;gap:32px}.ml-eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;color:var(--ml-accent)}.ml-heading h1{font:900 clamp(30px,4vw,45px)/1.12 Nunito,Arial,sans-serif;letter-spacing:-1.3px;margin:12px 0}.ml-heading p{font-size:14px;line-height:1.7;color:var(--ml-muted);margin:0}.ml-logo{width:250px;height:auto;flex:none}.ml-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--ml-line);padding:24px 0;margin-bottom:34px}.ml-population,.ml-toolbar>a{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}.ml-toolbar>a{color:var(--ml-accent)}.ml-population{color:var(--ml-muted)}.ml-population strong{color:var(--ml-ink);font-size:16px}.ml-population i{width:7px;height:7px;background:#44ae7a;border-radius:100%;box-shadow:0 0 0 4px #44ae7a17}.ml-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.ml-actions h2{font:900 25px Nunito,Arial,sans-serif;margin:0 0 6px}.ml-actions p{font-size:12px;color:var(--ml-muted);margin:0}.ml-primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:11px 18px;border:0;border-radius:10px;background:var(--ml-button);color:#fff;font-size:12px;font-weight:800;cursor:pointer}.ml-primary:hover{background:var(--ml-button-hover)}.ml-primary:disabled{opacity:.5;cursor:default}.ml-filters{gap:12px;margin-bottom:24px}.ml-filters,.ml-search{display:flex;align-items:center}.ml-search{gap:10px;padding:0 14px;border:1px solid var(--ml-line);border-radius:10px;background:var(--ml-surface);flex:1 1;color:var(--ml-muted)}.ml-search input{width:100%;min-height:44px;outline:none;color:var(--ml-ink)}.ml-back,.ml-search input,.ml-text-button{border:0;background:transparent;font-size:12px}.ml-back,.ml-text-button{color:var(--ml-button);font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.ml-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.ml-lobby-card{background:var(--ml-surface);border:1px solid var(--ml-line);border-radius:17px;padding:23px;box-shadow:0 6px 20px #302b4110;display:flex;flex-direction:column}.ml-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ml-card-heading h3{font:900 21px Nunito,Arial,sans-serif;margin:0;overflow-wrap:anywhere}.ml-lock{font-size:10px;display:flex;gap:5px;align-items:center;white-space:nowrap;color:var(--ml-accent);background:var(--ml-soft);padding:6px 8px;border-radius:6px}.ml-lock.protected{background:#fff2da;color:#957029}.ml-card-meta{display:flex;gap:14px;align-items:center;font-size:11px;color:var(--ml-muted);margin:12px 0 19px}.ml-card-meta>span{display:flex;align-items:center;gap:5px}.ml-participants{display:flex;flex-wrap:wrap;gap:9px;min-height:60px;margin-bottom:18px}.ml-participants>span{display:flex;align-items:center;gap:6px;padding:5px 8px 5px 5px;border-radius:9px;background:var(--ml-soft);font-size:11px;max-width:100%}.ml-participants>span.offline{opacity:.55}.ml-participants img{width:26px;height:26px;object-fit:cover;border-radius:7px}.ml-participants>span>span{overflow-wrap:anywhere}.ml-card-footer{border-top:1px solid var(--ml-line);padding-top:15px;display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:auto}.ml-card-footer>span{font-size:11px;letter-spacing:1px;color:var(--ml-muted)}.ml-empty{text-align:center;display:flex;flex-direction:column;align-items:center;background:var(--ml-surface);border:1px dashed var(--ml-line);padding:55px 20px;border-radius:18px;color:var(--ml-muted)}.ml-empty h3{font-size:20px;color:var(--ml-ink);margin:14px 0 8px}.ml-empty p{font-size:13px;margin:0;line-height:1.7}.ml-form-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);grid-gap:36px;gap:36px;align-items:start}.ml-form{background:var(--ml-surface);border:1px solid var(--ml-line);border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:22px}.ml-back{align-self:flex-start;padding:0}.ml-field{display:flex;flex-direction:column;gap:9px;min-width:0}.ml-field>span{font-size:12px;font-weight:800;color:var(--ml-muted)}.ml-field input,.ml-field select{height:45px;border:1px solid var(--ml-line);border-radius:9px;padding:0 12px;font-size:13px;color:var(--ml-ink);background:var(--ml-bg);min-width:0;outline:none}.ml-field input:focus,.ml-field select:focus,.ml-search:focus-within{border-color:var(--ml-accent);box-shadow:0 0 0 3px var(--ml-focus)}.ml-form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.ml-note{font-size:11px;line-height:1.7;color:var(--ml-muted);margin:0}.ml-submit{width:100%;min-height:47px}.ml-error{background:#fff0ed;border:1px solid #f4d6cb;border-radius:9px;color:#a34638;padding:13px 15px;font-size:12px;line-height:1.6;margin:0}.ml-form-aside{padding:15px 10px}.ml-form-aside h2{font:900 30px Nunito,Arial,sans-serif;margin:0 0 14px}.ml-form-aside li,.ml-form-aside p{font-size:13px;line-height:1.8;color:var(--ml-muted)}.ml-form-aside ul{padding-left:19px;display:grid;grid-gap:10px;gap:10px;margin:25px 0}.ml-form-aside>a{font-size:13px;color:var(--ml-button);font-weight:800}.ml-selected{display:flex;flex-direction:column;gap:8px;padding:14px;background:var(--ml-soft);border-radius:10px}.ml-selected span{font-size:12px;color:var(--ml-muted)}.ml-rules{max-width:820px;margin:auto;padding:40px 25px 75px;color:var(--ml-ink)}.ml-rules h1{font:900 38px Nunito,Arial,sans-serif}.ml-rules section{padding:22px 25px;margin:18px 0;background:var(--ml-surface);border:1px solid var(--ml-line);border-radius:14px}.ml-rules h2{font-size:20px;margin:0 0 12px}.ml-rules li,.ml-rules p{font-size:14px;line-height:1.8}.ml-rules li{margin:8px 0}.ml-rules>a{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--ml-button)}@media(max-width:760px){.ml-page{padding:32px 18px 70px}.ml-heading{gap:16px}.ml-logo{width:150px}.ml-heading h1{font-size:32px}.ml-form-layout,.ml-grid{grid-template-columns:1fr}.ml-form-aside{display:none}.ml-filters{flex-wrap:wrap}.ml-search{flex-basis:100%}.ml-actions h2{font-size:21px}.ml-actions .ml-primary{white-space:nowrap}.ml-toolbar{margin-bottom:25px}.ml-form{padding:22px}}@media(max-width:480px){.ml-heading{display:block}.ml-logo{display:none}.ml-actions{align-items:stretch;flex-direction:column}.ml-actions .ml-primary{width:100%}.ml-toolbar>a{font-size:11px}.ml-population{font-size:11px;gap:5px}.ml-population i{display:none}.ml-form-row{grid-template-columns:1fr}.ml-lobby-card{padding:18px}.ml-card-heading h3{font-size:18px}.ml-card-footer .ml-primary{font-size:11px;padding:10px 12px}.ml-rules{padding:25px 17px}.ml-rules section{padding:18px}}.empire-site.empire-directory,html[data-theme=dark] .empire-site.empire-directory{background:var(--ml-bg);color:var(--ml-ink)}.empire-directory .empire-header,html[data-theme=dark] .empire-directory .empire-header{background:var(--ml-header);border-color:var(--ml-line)}.empire-directory .empire-header{height:82px}.empire-directory .empire-header-inner{max-width:1220px;padding:0 28px;gap:24px}.empire-directory .empire-back{color:var(--ml-muted)}.empire-directory .empire-back:hover,.empire-directory .empire-brand>span{color:var(--ml-accent)}.empire-directory .empire-brand{color:var(--ml-ink)}.empire-directory .ps-monopoly-population{display:inline-flex;align-items:center;gap:8px;color:var(--ml-muted);font-size:12px;font-weight:700;white-space:nowrap}.empire-directory .ps-monopoly-population>svg{color:var(--ml-accent)}.empire-directory .ps-monopoly-population strong{color:var(--ml-ink)}.ml-page{max-width:1220px;padding-top:54px}.ml-actions h1{font:900 30px Nunito,Arial,sans-serif;letter-spacing:-1px;margin:0}.ml-action-buttons{display:flex;align-items:center;gap:12px}.ml-rules-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border:1px solid var(--ml-line);border-radius:10px;background:var(--ml-soft);color:var(--ml-accent);font-size:13px;font-weight:900;white-space:nowrap}.ml-rules-button:hover{border-color:var(--ml-accent);box-shadow:0 4px 12px var(--ml-focus)}.ml-form-layout{display:block;max-width:760px;margin:0 auto}.ml-page.ml-form-page{max-width:816px}.ml-form{padding:30px;gap:24px}.ml-form-back{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border:1px solid var(--ml-line);border-radius:10px;background:var(--ml-surface);color:var(--ml-ink);font-size:13px;font-weight:800;cursor:pointer}.ml-form-back:hover{border-color:var(--ml-accent);background:var(--ml-soft);color:var(--ml-accent)}.ml-page button.ml-form-back:focus-visible{outline:2px solid var(--ml-accent);outline-offset:3px}.ml-participants{gap:12px;min-height:68px}.ml-participants>span{gap:10px;padding:8px 14px 8px 8px;font-size:15px;font-weight:700;line-height:1.4;border-radius:14px}.ml-participants img{width:44px;height:44px;border-radius:12px;flex:none}.ml-heading{padding-bottom:36px;margin-bottom:34px;border-bottom:1px solid var(--ml-line)}.ml-heading h1{font-size:clamp(38px,4.1vw,56px);letter-spacing:-2px;margin:15px 0 16px}.ml-heading h1 em{font-style:normal;color:var(--ml-accent)}.ml-rules-link{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:var(--ml-accent);white-space:nowrap}.ml-back:hover,.ml-rules-link:hover,.ml-text-button:hover{text-decoration:underline;text-underline-offset:4px}.ml-actions h2{font-size:30px;letter-spacing:-1px;margin:0}.ml-primary{box-shadow:0 7px 17px #7058df24;min-height:44px;font-weight:900}.ml-primary:disabled{box-shadow:none}.ml-field input::placeholder,.ml-search input::placeholder{color:var(--ml-muted);opacity:1}.ml-empty,.ml-form,.ml-lobby-card{border-radius:20px;box-shadow:0 8px 23px #302b4110}.ml-empty{border-style:solid;min-height:235px;justify-content:center}.ml-empty>svg{color:var(--ml-accent);background:var(--ml-soft);box-sizing:content-box;padding:14px;border-radius:16px}.ml-empty h3{font-family:Nunito,Arial,sans-serif;font-weight:900}.ml-page a:focus-visible,.ml-page button:focus-visible{outline:2px solid var(--ml-accent);outline-offset:4px}html[data-theme=dark] .empire-directory .ml-lock.protected{background:#4a4130;color:#ecd6a7}html[data-theme=dark] .empire-directory .ml-error{background:#412c35;border-color:#764451;color:#ffb5be}