.legends{--gold:#e9bf5c;--panel:#121a14;--border:#344332;color:#f4f6ef;background:#090d0b}.lg-wrap{width:min(1180px,calc(100% - 40px));margin:auto}.lg-head{border-bottom:1px solid var(--border);background:#0b110d}.lg-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;flex-wrap:wrap}.lg-nav nav,.lg-footer,.lg-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.lg-nav nav a,.lg-back,.lg-footer a{font-size:13px;font-weight:700;color:#bbc7b5}.lg-nav nav a:hover,.lg-footer a:hover{color:var(--green)}.lg-hero{background:radial-gradient(ellipse at 80% 55%,#435a1d66,transparent 55%),linear-gradient(115deg,#0b110d,#182319);border-bottom:1px solid var(--border);overflow:hidden}.lg-hero-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;padding:80px 0}.lg-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--green);margin:0 0 12px}.legends h1{font-size:clamp(68px,9vw,130px);line-height:.83;margin:20px 0;letter-spacing:-1px}.legends h1 span{display:block;color:var(--gold)}.lg-lead{font-size:19px;line-height:1.6;color:#c4cfbf;max-width:600px}.lg-emblem{min-height:260px;border:1px solid #b6ce6655;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:skew(-6deg);background:repeating-linear-gradient(135deg,#a6f52908 0 2px,transparent 2px 15px);font-family:'Barlow Condensed',Impact,sans-serif;box-shadow:0 0 70px #a6f5290c}.lg-emblem span{font-size:70px;font-weight:900;line-height:1;color:var(--green)}.lg-emblem strong{font-size:clamp(42px,6vw,85px);font-weight:900;line-height:1;color:var(--gold)}.lg-emblem small{letter-spacing:3px;margin:18px 0;font-size:13px}.lg-metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);margin-top:24px}.lg-metrics div{padding:20px;display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--border)}.lg-metrics div:last-child{border:none}.lg-metrics strong{font:900 48px/1 'Barlow Condensed',Impact,sans-serif;color:var(--green)}.lg-metrics span{font-size:10px;letter-spacing:1px;font-weight:700;color:#a9b5a4}.lg-section{padding:38px 0;scroll-margin-top:15px;border-bottom:1px solid var(--border)}.legends h2{font-size:clamp(44px,6vw,72px);margin:8px 0 24px}.legends h3{font-size:29px;line-height:1.1;margin:12px 0}.lg-gold{color:var(--gold)}.lg-sectionhead{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.lg-panel{background:linear-gradient(135deg,#182318,#101711);border:1px solid var(--border);padding:24px;margin-bottom:14px;overflow-wrap:anywhere}.lg-panel p{line-height:1.65;color:#c3cebd}.lg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lg-grid .lg-panel{margin:0}.lg-note{font-size:14px;color:#b2bfaa;margin:16px 0;line-height:1.5}.lg-table{overflow-x:auto}.lg-table table{border-collapse:collapse;width:100%;min-width:400px;font-variant-numeric:tabular-nums}.lg-table td,.lg-table th{padding:13px;text-align:left;border-bottom:1px solid var(--border)}.lg-table th{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--green);background:#182318}.lg-table td:last-child{font-weight:700}.lg-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:6px}.lg-points span{padding:8px;background:#090d0b;border:1px solid var(--border);font-size:13px}.legends label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;margin:0 0 12px}.legends input,.legends select,.legends textarea{font:inherit;background:#080e09;color:#f4f6ef;border:1px solid #54644d;padding:10px;border-radius:3px;min-width:0;max-width:100%}.legends input:focus,.legends textarea:focus,.legends select:focus{outline:2px solid var(--green)}.legends form{display:grid;gap:8px;max-width:640px}.legends form button{justify-self:start}.legends button{cursor:pointer}.legends button:disabled{opacity:.5;cursor:not-allowed}.legends .lg-check{flex-direction:row;align-items:center}.legends [hidden]{display:none!important}.lg-footer{padding:30px 0}.lg-error{color:#ff9e8b}.lg-code{font:700 25px 'Barlow Condensed',sans-serif;color:var(--green);letter-spacing:1px}.lg-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lg-admin-row{border-bottom:1px solid var(--border);padding:14px 0}.lg-admin-row button{margin:4px 5px 4px 0}.legends pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.lg-small{min-height:34px;padding:8px 12px}.lg-trophy{color:var(--gold);font-size:24px}.lg-panel summary{cursor:pointer;font-weight:700}.lg-hero a{white-space:normal}@media(max-width:760px){.lg-hero-grid,.lg-admin-grid{grid-template-columns:1fr}.lg-hero-grid{padding:50px 0}.lg-grid{grid-template-columns:1fr}.lg-metrics{grid-template-columns:repeat(2,1fr)}.lg-metrics div{border-bottom:1px solid var(--border)}.lg-nav nav{gap:12px}.lg-emblem{min-height:180px}.lg-nav .brand img{width:55px}.lg-actions{gap:10px}.lg-panel{padding:16px}}

/* OSRT LEGENDS V2 - visual patch */
.legends .button.button-glass{color:#f4f6ef;background:#ffffff0d;border-color:#a5b19d88}
.legends .button.button-glass:hover:not(:disabled){color:#e9bf5c;background:#ffffff16;border-color:#e9bf5c}
.legends .button.button-glass:focus-visible{outline:3px solid #a6f529;outline-offset:3px}
.legends .button.button-glass:disabled{color:#c4cfbf;opacity:.55}
.legends .lg-emblem.lg-emblem-logo{min-height:0;transform:none;border:0;background:none;box-shadow:none;gap:8px;padding:8px 0}
.legends .lg-emblem-logo img{display:block;width:100%;height:auto;max-width:650px;object-fit:contain;filter:drop-shadow(0 12px 24px #0008)}
.legends .lg-emblem-logo small{color:#dce4d7;text-align:center;margin:0 0 8px}
.legends .lg-nav .lg-admin-brand img{width:160px;height:auto;max-height:106px;object-fit:contain}
@media(max-width:760px){.legends .lg-emblem-logo img{max-width:440px}.legends .lg-nav .lg-admin-brand img{width:125px;max-height:84px}}
/* END OSRT LEGENDS V2 */
