.bdo-app{--bdo-gold:#d7bd83;--bdo-green:#89c8aa;color:#e3e7df;max-width:1400px;margin:auto}.bdo-app button,.bdo-app input,.bdo-app select{font:inherit}.bdo-app button:focus-visible,.bdo-app a:focus-visible{outline:2px solid var(--bdo-gold);outline-offset:4px}.bdo-tabs{display:flex;gap:6px;border-bottom:1px solid #343b34;margin-bottom:24px}.bdo-tabs button{padding:13px 24px;color:#99a299;background:none;border:0;border-bottom:2px solid transparent;cursor:pointer}.bdo-tabs button.active{color:var(--bdo-gold);border-bottom-color:var(--bdo-gold)}.bdo-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:14px 0 32px}.bdo-kicker{color:#b7a477;font-size:10px;letter-spacing:2px;font-weight:700}.bdo-intro h2{font-size:26px;letter-spacing:-1px;margin:10px 0}.bdo-intro p{font-size:13px;color:#9ca69d;margin:0}.bdo-stats{display:flex;gap:30px;flex-shrink:0}.bdo-stats>div{display:grid;gap:6px}.bdo-stats strong{font-size:23px;color:var(--bdo-gold);font-variant-numeric:tabular-nums}.bdo-stats span{font-size:11px;color:#8f9b91}.bdo-app .panel{overflow:hidden;border:1px solid #343b34;background:#181e1a;border-radius:12px;margin-bottom:20px}.bdo-filters{display:flex;align-items:end;gap:12px;padding:22px;background:#1c231e;border-bottom:1px solid #343b34;flex-wrap:wrap}.bdo-filters label,.bdo-search-panel form>label{font-size:11px;font-weight:600;color:#b4beb3;display:grid;gap:8px}.bdo-app input,.bdo-app select{background:#111813;border:1px solid #3b493d;color:#e3e7df;border-radius:6px;padding:10px 12px;min-width:0;font-size:12px;height:40px}.bdo-flex{flex:1;min-width:150px}.bdo-table-head{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.bdo-table-head h3{margin:0;font-size:14px}.bdo-table-head h3 span{font-size:11px;font-weight:400;color:#a2ad9f;margin-left:6px}.bdo-table-head>span{font-size:11px;color:#9da89c}.bdo-app a{color:#a9b9a9}.bdo-table-wrap{overflow-x:auto}.bdo-rank-table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}.bdo-rank-table th{background:#141a16;color:#879486;font-size:11px;font-weight:500;text-align:left;padding:12px 20px}.bdo-rank-table td{padding:14px 20px;border-bottom:1px solid #29312a;vertical-align:middle}.bdo-rank-table tbody tr:hover{background:#202a22}.bdo-rank-table small{display:block;color:#859282;font-size:11px;margin-top:5px}.bdo-rank{font-size:17px;color:#a8b4a5;font-variant-numeric:tabular-nums}.bdo-rank.top{color:var(--bdo-gold);font-weight:800}.bdo-name{border:0;background:none;padding:0;color:inherit;cursor:pointer;text-align:left;word-break:break-word}.bdo-name:hover{text-decoration:underline;color:var(--bdo-gold)}.bdo-score{font-variant-numeric:tabular-nums;font-size:16px;color:var(--bdo-gold)}.bdo-delta{display:block;font-size:10px;margin-top:3px}.bdo-delta.up{color:#84bf9e}.bdo-delta.down{color:#d59a94}.bdo-record{color:#9da89d;font-variant-numeric:tabular-nums}.bdo-record>span{color:#a6d2b6}.bdo-win{width:64px;height:3px;background:#30392f;margin-top:8px;border-radius:5px;overflow:hidden}.bdo-win i{display:block;height:100%;background:#8baf83}.bdo-note{font-size:11px;line-height:1.8;color:#98a695;padding:14px 22px;margin:0;background:#151c17;border-top:1px solid #2d362e}.bdo-tracker-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.bdo-search-panel{position:sticky;top:20px}.bdo-search-panel form{padding:20px;border-bottom:1px solid #303b30}.bdo-search-panel form>label{font-size:14px;color:#d6ded1;margin-bottom:12px}.bdo-search-panel select{width:100%;margin-bottom:8px}.bdo-search-box{display:flex;gap:8px}.bdo-search-box input{width:100%;min-width:0}.bdo-app .btn{white-space:nowrap;min-height:38px}.bdo-list-label{display:flex;justify-content:space-between;padding:18px 18px 12px;font-size:11px;color:#a0af9b}.bdo-list-label span{color:#6d806c;font-size:10px}.bdo-result{display:grid;grid-template-columns:1fr auto;gap:5px;text-align:left;border:0;border-top:1px solid #273028;background:transparent;width:100%;padding:14px 18px;color:#d2dbce;cursor:pointer}.bdo-result small{font-size:10px;color:#81937f;grid-column:1}.bdo-result strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.bdo-result>span{grid-column:2;grid-row:1 / 3;align-self:center;color:#748c71}.bdo-result.selected,.bdo-result:hover{background:#29372b}.bdo-result.selected{border-left:2px solid var(--bdo-gold)}.bdo-search-results{max-height:550px;overflow:auto}.bdo-exact{margin:12px;max-width:calc(100% - 24px);white-space:normal!important}.bdo-empty-state{padding:65px 25px;text-align:center;min-height:340px;display:flex;flex-direction:column;justify-content:center}.bdo-empty-mark{font-size:40px;color:var(--bdo-gold)}.bdo-empty-state h3{font-size:20px;margin:18px 0 10px}.bdo-empty-state p{font-size:12px;color:#9eac98;line-height:1.9;margin:3px}.bdo-empty{text-align:center;color:#8a9e85;padding:30px 16px!important;font-size:12px}.bdo-profile-head{display:flex;justify-content:space-between;align-items:center;padding:26px 24px 18px;gap:15px}.bdo-profile-head h2{font-size:28px;margin:10px 0;word-break:break-word}.bdo-profile-head p{font-size:12px;color:#9aaf95;margin:0;line-height:1.8}.bdo-profile-actions{display:flex;gap:8px;padding:0 24px 18px;flex-wrap:wrap}.bdo-profile-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:#9aab94;padding:0 24px 20px}.bdo-status{border:1px solid #40593e;color:#acd39c;border-radius:20px;padding:4px 8px}.bdo-aliases{border-top:1px solid #303b30;padding:16px 24px;font-size:12px}.bdo-aliases>span{font-size:10px;color:#81967a;display:block;margin-bottom:12px}.bdo-aliases>div{margin:6px 0;line-height:1.8}.bdo-aliases small{color:#81967a;margin-left:15px}.bdo-timeline{list-style:none;margin:0;padding:0 22px}.bdo-timeline li{display:grid;grid-template-columns:100px 1fr;gap:18px;border-top:1px solid #303b30;padding:18px 0}.bdo-event-date{font-size:11px;color:#a8b59f;font-variant-numeric:tabular-nums}.bdo-event-date small{display:block;color:#73856d;font-size:9px;margin-top:5px}.bdo-event-tag{font-size:9px;color:#c6b18a;border:1px solid #554e3a;padding:3px 7px;border-radius:4px;display:inline-block}.bdo-event-tag.join,.bdo-event-tag.rejoin{color:#a4c9a0;border-color:#40573d}.bdo-event-tag.leave{color:#cea7a0;border-color:#5e4640}.bdo-event-names{font-size:13px;line-height:1.9;margin:8px 0}.bdo-timeline li>div>small{font-size:10px;color:#7e9376}.bdo-pagination{display:flex;align-items:center;justify-content:center;padding:16px;gap:18px;font-size:12px}.bdo-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 22px 18px;gap:0 20px}.bdo-member-grid>div{padding:14px 0;border-top:1px solid #303b30;min-width:0}.bdo-member-grid strong{font-size:12px;font-weight:500;word-break:break-word}.bdo-member-grid small{display:block;font-size:10px;color:#8eaa84;margin-top:6px;line-height:1.5}.bdo-chart svg{display:block;width:100%;max-height:200px;padding:0 10px 10px}.bdo-chart text{fill:#8da283;font-size:11px}.bdo-season-results>div:not(.bdo-table-head){display:flex;align-items:center;gap:16px;margin:0 22px;padding:14px 0;border-top:1px solid #303b30;font-size:11px}.bdo-season-results>div>span:first-child{flex:1}.bdo-season-results small{display:block;color:#849b7c;font-size:10px;margin-top:5px}.bdo-favorites{padding:10px 18px 16px;border-bottom:1px solid #303b30}.bdo-favorites h3{font-size:11px;color:#bea979;font-weight:500}.bdo-favorites small{font-size:9px;color:#83967c;margin-left:6px}.bdo-favorites>.bdo-name{font-size:11px;display:inline-block;margin:4px 8px 0 0;border:1px solid #3c5037;padding:5px 9px;border-radius:5px}.bdo-app button:disabled{opacity:.5;cursor:wait}.bdo-app .bdo-pagination button:disabled{cursor:default}
@media(max-width:1100px){.bdo-intro{align-items:start;flex-direction:column;gap:20px}.bdo-stats{gap:35px}.bdo-tracker-layout{grid-template-columns:240px minmax(0,1fr)}.bdo-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bdo-rank-table td,.bdo-rank-table th{padding:12px 14px}}
@media(max-width:760px){.bdo-tabs{margin-bottom:20px}.bdo-tabs button{flex:1;padding:12px 8px;font-size:13px}.bdo-intro{padding:0 0 22px}.bdo-intro h2{font-size:22px}.bdo-intro p{font-size:11px}.bdo-stats{width:100%;justify-content:space-between;gap:10px}.bdo-stats strong{font-size:21px}.bdo-stats span{font-size:10px}.bdo-filters{padding:16px;gap:10px}.bdo-filters>label{flex:1 1 40%;min-width:0}.bdo-filters>label.bdo-flex{flex-basis:60%}.bdo-filters select{width:100%}.bdo-rank-table{min-width:620px}.bdo-tracker-layout{display:block}.bdo-search-panel{position:static}.bdo-search-results{max-height:210px}.bdo-empty-state{min-height:220px;padding:35px 20px}.bdo-profile-head{padding:22px 18px 15px}.bdo-profile-head h2{font-size:25px}.bdo-profile-actions{padding:0 18px 16px}.bdo-profile-actions .btn{font-size:11px;padding:8px 10px}.bdo-profile-meta{padding:0 18px 18px}.bdo-table-head{padding:16px 18px}.bdo-timeline{padding:0 18px}.bdo-timeline li{grid-template-columns:78px 1fr;gap:12px}.bdo-event-date{font-size:10px}.bdo-member-grid{padding:0 18px 15px;gap:0 15px}.bdo-note{padding:14px 18px;font-size:10px}.bdo-season-results>div:not(.bdo-table-head){margin:0 18px;gap:10px}.bdo-chart svg{min-height:140px}.bdo-profile{scroll-margin-top:12px}}

.bdo-app .bdo-chart svg{width:100%;height:180px;min-height:180px;max-height:none}.bdo-timeline li.bdo-empty{display:block}
@media(max-width:760px){.bdo-intro>div:first-child{display:none}.bdo-intro{padding-bottom:20px}.bdo-tabs{margin-bottom:20px}}

.bdo-recent{margin:0 0 22px;padding:17px 20px;border:1px solid #303b30;border-radius:10px;background:#141c17}
.bdo-recent-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bdo-recent-head h3{font-size:12px;font-weight:600;color:#d0dbca}
.bdo-clear{padding:3px 0;border:0;background:none;color:#95a68d;font-size:11px!important;cursor:pointer}
.bdo-clear:hover{color:var(--bdo-gold)}
.bdo-recent>p{font-size:12px;color:#8e9d87;line-height:1.6}
.bdo-recent-row{display:flex;align-items:baseline;gap:16px;margin-top:10px;min-width:0}
.bdo-recent-row>span{flex:0 0 25px;font-size:11px;color:#9aac92}
.bdo-recent-items{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.bdo-recent-chip{display:flex;align-items:center;max-width:100%;border:1px solid #3a4b34;border-radius:6px;background:#1e2a20;overflow:hidden}
.bdo-recent-chip>.bdo-name{padding:7px 8px 7px 11px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}
.bdo-recent-remove{padding:6px 9px 6px 5px;border:0;background:none;color:#829578;font-size:17px!important;line-height:1;align-self:stretch;cursor:pointer}
.bdo-recent-remove:hover{background:#354030;color:#d3c38c}
.bdo-result>span{grid-row:1 / 3}
.bdo-profile-head h2{margin:0 0 10px;font-size:26px}.bdo-membership-date{display:block;font-size:11px;color:#99a991;margin-top:8px}
.bdo-profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid #303b30;background:#151c17}.bdo-profile-toolbar>span{font-size:11px;color:#9aab94}.bdo-profile-toolbar .btn{min-height:32px;padding:6px 12px;font-size:11px}
.bdo-timeline li.bdo-history-row{grid-template-columns:100px minmax(0,1fr);align-items:start;gap:20px;padding:17px 0}.bdo-history-row .bdo-event-date{padding-top:3px;font-size:11px;white-space:nowrap}
.bdo-event-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;line-height:1.7}.bdo-event-summary>.bdo-name:first-child{font-weight:600}.bdo-event-summary .bdo-event-tag{font-size:10px;padding:1px 7px;flex-shrink:0}
.bdo-event-route{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:6px;color:#a4b29b;font-size:12px;line-height:1.7}.bdo-event-route>span{color:#75896d}
.bdo-history-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 22px;font-size:10px;color:#889c7d;border-top:1px solid #303b30}
@media(max-width:760px){.bdo-profile-toolbar{padding:12px 18px}.bdo-timeline li.bdo-history-row{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:15px 0}.bdo-history-row .bdo-event-date{font-size:10px}.bdo-event-summary{font-size:13px;gap:8px}.bdo-event-route{font-size:11px;gap:7px}.bdo-history-foot{padding:12px 18px;font-size:10px}}
.bdo-portrait{display:block;object-fit:cover;object-position:center;width:48px;height:48px;border-radius:9px;border:1px solid #55604d;flex-shrink:0;background:#22291f}
.bdo-class-cell{display:flex;align-items:center;gap:12px}.bdo-class-cell .bdo-portrait{width:44px;height:44px}
.bdo-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:22px 22px 4px}
.bdo-podium-card{position:relative;display:flex;gap:16px;align-items:center;min-width:0;padding:20px 16px;border:1px solid #514c37;border-radius:10px;background:linear-gradient(120deg,#373526,#1a221b)}
.bdo-podium-card .bdo-portrait{width:80px;height:100px;border-radius:7px;object-fit:cover}
.bdo-podium-card>div{min-width:0}.bdo-podium-card h3{margin:0 0 8px;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.bdo-podium-card p{margin:0 0 14px;font-size:11px;color:#b4bdab}
.bdo-podium-card strong{font-size:25px;color:#e2c88d;font-variant-numeric:tabular-nums}.bdo-podium-card strong small{font-size:11px;font-weight:400;margin-left:5px;color:#a9b49e}
.bdo-medal{position:absolute;top:12px;left:10px;display:grid;place-items:center;width:28px;height:32px;background:#d5b66e;color:#24251c;font-weight:800;font-size:16px;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);filter:drop-shadow(0 2px 3px #000)}
.place-2{background:linear-gradient(120deg,#2e3835,#1a221b);border-color:#48554a}.place-2 .bdo-medal{background:#c3cdc8}.place-3{background:linear-gradient(120deg,#392f25,#1a221b);border-color:#524635}.place-3 .bdo-medal{background:#be9169}
.bdo-family-rank{display:flex;align-items:center;gap:20px;padding:22px;border:1px solid #514d38;border-radius:12px;background:linear-gradient(110deg,#2c3022,#172019);margin-bottom:20px}
.bdo-board>.bdo-family-rank{margin:20px 22px 0}.bdo-family-rank .bdo-portrait{width:80px;height:100px}.bdo-family-rank h3{margin:8px 0;font-size:19px}.bdo-family-rank h3 strong{color:var(--bdo-gold);margin-left:14px;font-size:22px}.bdo-family-rank p{margin:8px 0;font-size:12px;color:#bec9b5}.bdo-family-rank small{font-size:11px;color:#9daa94}
.bdo-member-grid>.bdo-member{display:flex;align-items:center;gap:10px}.bdo-member>div{min-width:0}.bdo-member .bdo-portrait{width:38px;height:44px;border-radius:6px}
@media(max-width:1100px){.bdo-podium{gap:9px;padding:16px 16px 0}.bdo-podium-card{gap:10px;padding:17px 12px}.bdo-podium-card .bdo-portrait{width:58px;height:80px}.bdo-podium-card h3{font-size:13px}.bdo-podium-card strong{font-size:22px}}
@media(max-width:760px){.bdo-podium{grid-template-columns:1fr;padding:16px 16px 0;gap:8px}.bdo-podium-card{padding:12px 16px;gap:18px;min-height:94px}.bdo-podium-card .bdo-portrait{width:64px;height:70px}.bdo-podium-card>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;flex:1}.bdo-podium-card h3{font-size:13px;margin:0 0 5px}.bdo-podium-card p{grid-column:1;margin:0;font-size:10px}.bdo-podium-card strong{grid-column:2;grid-row:1 / 3;font-size:20px}.bdo-medal{top:9px;left:10px;width:23px;height:27px;font-size:13px}.bdo-family-rank{padding:16px;gap:14px}.bdo-board>.bdo-family-rank{margin:16px 16px 0}.bdo-family-rank .bdo-portrait{width:64px;height:80px}.bdo-family-rank h3{font-size:16px}.bdo-family-rank h3 strong{font-size:19px;margin-left:8px}.bdo-class-cell{gap:8px}.bdo-rank-table{min-width:680px}.bdo-member-grid{grid-template-columns:1fr}.bdo-member .bdo-portrait{width:40px;height:46px}}
@media(max-width:760px){.bdo-recent{padding:14px 16px;margin-bottom:18px}.bdo-recent-row{gap:10px}.bdo-recent-items{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;width:100%}.bdo-recent-chip{flex-shrink:0;max-width:100%}.bdo-recent-chip>.bdo-name{font-size:11px;max-width:200px}.bdo-recent-remove{padding:8px 10px}.bdo-recent>p{font-size:11px}.bdo-recent-head{margin-bottom:9px}}

.bdo-former-name{font-size:10px;color:#96a38f;font-weight:400}.bdo-previous-names{margin-top:12px;font-size:11px;line-height:1.8;color:#acb89f}.bdo-previous-names>span{color:#819576;margin-right:8px}

.bdo-popular{margin-bottom:20px;padding:0 16px}.bdo-popular summary{padding:17px 0;cursor:pointer;font-size:13px;color:#e1d5b7;font-weight:600;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.bdo-popular summary::-webkit-details-marker{display:none}.bdo-popular summary>span{font-size:9px;letter-spacing:1px;color:#8b9e85;font-weight:400}.bdo-popular ol{padding:0;margin:0 0 12px;list-style:none}.bdo-popular li{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #303b30;min-width:0}.bdo-popular-rank{width:15px;color:#cdb67d;font-size:12px;font-variant-numeric:tabular-nums}.bdo-popular li>button{background:transparent;border:0;padding:2px 0;text-align:left;min-width:0;flex:1}.bdo-popular strong{font-size:12px;font-weight:500;display:block;overflow-wrap:anywhere}.bdo-popular small{font-size:9px;color:#84967c;display:block;margin-top:3px}.bdo-popular-count{font-size:10px;color:#95a48b;white-space:nowrap;font-variant-numeric:tabular-nums}.bdo-popular-empty{font-size:11px;color:#95a48b;line-height:1.8}
@media(min-width:1400px){.bdo-app{padding-right:224px}.bdo-popular{position:fixed;top:112px;right:max(24px,calc((100vw - 1746px)/2 + 40px));width:200px;max-height:calc(100vh - 140px);overflow-y:auto;z-index:8;margin:0}.bdo-tracker-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:1399px){.bdo-popular summary::after{content:'⌄';color:#aeba9e}.bdo-popular[open] summary::after{content:'⌃'}.bdo-popular summary>span{margin-left:auto}.bdo-popular ol{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}}
@media(max-width:600px){.bdo-popular ol{grid-template-columns:1fr}.bdo-popular{padding:0 16px}}

.bdo-recent-games{display:flex;gap:6px;margin:6px 0;font-size:12px;font-weight:700}.bdo-recent-games .result-W{color:#1675bd}.bdo-recent-games .result-L{color:#c44949}.bdo-recent-games .result-D{color:#777}

/* History: a distinct date, action and readable guild route on every screen. */
.bdo-timeline li.bdo-history-row{display:grid;grid-template-columns:116px minmax(0,1fr);gap:12px;padding:16px 0;align-items:start}
.bdo-timeline .bdo-event-date{font-size:12px;line-height:1.7;color:#a9b6c8;white-space:normal;font-variant-numeric:tabular-nums}
.bdo-timeline .bdo-event-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;line-height:1.5}
.bdo-timeline .bdo-event-summary>.bdo-name{font-weight:750;font-size:15px;color:#edf2fa}
.bdo-timeline .bdo-event-tag{display:inline-flex;align-items:center;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700;line-height:1.5}
.bdo-timeline .bdo-event-tag.join,.bdo-timeline .bdo-event-tag.rejoin{color:#92c9ff;background:#163351;border:1px solid #315d88}
.bdo-timeline .bdo-event-tag.leave{color:#ffacb0;background:#47232b;border:1px solid #82404c}
.bdo-timeline .bdo-event-route{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px;line-height:1.6}
.bdo-timeline .bdo-event-route>.bdo-name{display:inline-block;padding:3px 9px;border:1px solid #404958;border-radius:7px;background:#202732;color:#dce5f1;font-size:12px;max-width:100%;overflow-wrap:anywhere}
.bdo-timeline .bdo-event-route>[aria-hidden]{color:#8b9bb0}
.bdo-timeline .bdo-movement-dates{display:block;margin-top:6px;color:#a9b6c8;font-size:11px}
@media(max-width:600px){.bdo-timeline li.bdo-history-row{grid-template-columns:1fr;gap:6px;padding:15px 0}.bdo-timeline .bdo-event-date{font-size:11px}.bdo-timeline .bdo-event-route{gap:6px}}

/* Each history row states only its dated action and affected guild. */
.bdo-timeline .bdo-event-summary{gap:10px;min-height:28px}.bdo-timeline .bdo-event-summary>.bdo-name{font-size:14px;font-weight:600;overflow-wrap:anywhere}.bdo-timeline .bdo-event-body{min-width:0}.bdo-timeline .bdo-event-date{padding-top:3px}
