/* Phase 389 — community controls and avatar contrast on the shared site palette. */
.dl-community{--dlc-border:rgba(130,142,158,.14);--dlc-muted:var(--secondary,#828e93);--dlc-surface:var(--secondary-bg);--dlc-soft:var(--tertiary-bg);max-width:1220px;margin:0 auto;padding-bottom:48px}
.dl-community *{box-sizing:border-box}
.dl-community-title,.dl-community-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.dl-community-title{margin-bottom:23px}
.dl-community-title h1{margin:0 0 6px;letter-spacing:-.025em;line-height:1.18}
.dl-community-title p,.dl-community-count,.dl-community-empty{color:var(--dlc-muted);margin:0}
.dl-community a{text-decoration:none}
.dl-community-title>a,.dl-community-section-heading>a,.dl-community-self nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:0;border-radius:4px;color:inherit;white-space:nowrap;font-size:.95rem;line-height:1.35;transition:background .16s ease}
.dl-community-title>a:hover,.dl-community-section-heading>a:hover,.dl-community-self nav a:hover{background:var(--dlc-soft);border-color:transparent}
.dl-community-search,.dl-community-section,.dl-community-self{border:0;background:var(--dlc-surface);border-radius:5px;padding:19px;margin-bottom:16px}
.dl-community-search{padding:18px 19px;box-shadow:none}
.dl-community-search label{display:block;margin-bottom:9px;font-weight:600;font-size:1rem}
.dl-community-search>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.dl-community-search input{min-width:180px;flex:1;background:var(--primary-bg);color:inherit;border:1px solid var(--dlc-border);border-radius:4px;padding:10px 13px;min-height:43px;font-size:1rem;outline:none}
.dl-community-search input:focus-visible{border-color:#8eaacd;box-shadow:0 0 0 2px rgba(114,154,196,.18)}
.dl-community-search button{min-height:43px;padding:10px 20px;border-radius:4px;font-size:.95rem;cursor:pointer}
.dl-community-search a{color:var(--dlc-muted);padding:10px 12px;font-size:.93rem}
.dl-community-search a:hover{color:inherit}
.dl-community-count{font-size:.85rem;margin:2px 0 13px}
.dl-community-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.dl-community-person{display:flex;align-items:center;gap:12px;min-height:80px;padding:14px 16px;border:0;border-radius:4px;background:var(--secondary-bg);color:inherit;min-width:0;transition:background .16s ease,transform .16s ease}
.dl-community-person:hover,.dl-community-person:focus-visible{background:var(--tertiary-bg);border-color:transparent;transform:none}
.dl-community-person>span:nth-child(2){min-width:0;flex:1}
.dl-community-person .dl-participant-avatar,.dl-community-self .dl-participant-avatar{width:43px;height:43px;min-width:43px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;background:var(--tertiary-bg)}
.dl-community-person .dl-participant-avatar img,.dl-community-self .dl-participant-avatar img{width:100%;height:100%;object-fit:cover}
.dl-community-person strong,.dl-community-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-community-person strong{font-size:1rem;line-height:1.3}
.dl-community-person small{color:var(--dlc-muted);font-size:.85rem;margin-top:4px}
.dl-community-person .dl-person-chevron{font-size:1.35rem;color:var(--dlc-muted);font-family:Arial,sans-serif;margin-left:auto}
.dl-community-pagination{display:flex;align-items:center;gap:11px;margin-top:20px;font-size:.88rem;color:var(--dlc-muted)}
.dl-community-pagination a{color:inherit;border:0;padding:8px 13px;border-radius:4px}
.dl-community-pagination a:hover{background:var(--dlc-soft)}
.dl-community-empty{padding:18px 0}
/* Personal workspace */
.dl-community-self{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.dl-community-self>div{display:flex;gap:12px;align-items:center;min-width:0}
.dl-community-self>div>div{display:grid;gap:4px;min-width:0}
.dl-community-self strong{overflow-wrap:anywhere}
.dl-community-self span{color:var(--dlc-muted);font-size:.9rem}
.dl-community-self nav{display:flex;gap:8px;flex-wrap:wrap}
.dl-community-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.dl-community-overview>div{border:0;border-radius:4px;background:var(--dlc-surface);padding:18px 19px;display:flex;flex-direction:column;gap:5px}
.dl-community-overview strong{font-size:1.6rem;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.18}
.dl-community-overview span{color:var(--dlc-muted);font-size:.9rem}
.dl-community-dashboard{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:16px;align-items:start}
.dl-community-section{margin-bottom:0;min-width:0}
.dl-community-section-heading{padding-bottom:14px;border-bottom:1px solid var(--dlc-border)}
.dl-community-section-heading h2{margin:0;font-size:1.24rem;letter-spacing:-.014em}
.dl-community-section h3.dl-community-group-title{display:flex;align-items:center;gap:8px;margin:19px 0 9px;font-size:.76rem;font-weight:700;letter-spacing:.045em;text-transform:uppercase;color:var(--dlc-muted)}
.dl-community-section h3 span{font-weight:600;font-size:.72rem;border:1px solid var(--dlc-border);border-radius:99px;padding:1px 7px;color:inherit}
.dl-community-group-ongoing:before,.dl-community-group-upcoming:before,.dl-community-group-finished:before{content:"";width:7px;height:7px;border-radius:50%;background:#7f9fc2}
.dl-community-group-ongoing:before{background:#74b9a0}.dl-community-group-finished:before{background:#97a1b1}
.dl-community-events{display:grid;gap:8px}
.dl-community-event{border:0;border-bottom:1px solid var(--dlc-border);background:transparent;border-radius:0;padding:10px 2px;display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}
.dl-community-event:hover{background:var(--tertiary-bg)}
.dl-community-event>div{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;overflow-wrap:anywhere}
.dl-community-event-name{font-size:.89rem;font-weight:600;flex-basis:100%;line-height:1.38}
.dl-community-event small,.dl-community-event time{font-size:.74rem;color:var(--dlc-muted)}
.dl-community-event-mode{padding:2px 7px;border-radius:4px;background:var(--tertiary-bg);border:0}
.dl-community-event>a{white-space:nowrap;color:inherit;text-decoration:none;border:0;border-radius:6px;padding:6px 9px;font-size:.76rem;flex-shrink:0}
.dl-community-event>a:hover{background:var(--dlc-soft);border-color:transparent}
.dl-community-notification-section .dl-community-event>div{display:grid;gap:6px}
.dl-community-notification-section .dl-community-event>div>span{font-size:.84rem;line-height:1.42}
.dl-community-notice-unread{border-left:2px solid var(--secondary);background:transparent}
.dl-community-notice-unread small{color:var(--secondary)}
.dl-community-unread{display:inline-block;font-size:.69rem;font-weight:600;color:#d9b6b6;border:1px solid rgba(210,153,153,.32);border-radius:99px;padding:3px 7px;vertical-align:middle;letter-spacing:normal}
@media(max-width:1000px){.dl-community-dashboard{grid-template-columns:1fr}.dl-community-notification-section{margin-bottom:18px}}
@media(max-width:680px){.dl-community-search{padding:14px}.dl-community-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.dl-community-person{padding:11px;min-height:69px}.dl-community-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.dl-community-section{padding:14px}.dl-community-self nav{width:100%}.dl-community-event{align-items:flex-start}.dl-community-event>a{align-self:center}}
@media(max-width:440px){.dl-community-grid{grid-template-columns:1fr}.dl-community-search input{width:100%;flex-basis:100%}.dl-community-title>a{width:100%}}
@media(prefers-reduced-motion:reduce){.dl-community-person,.dl-community-title>a,.dl-community-section-heading>a,.dl-community-self nav a{transition:none}.dl-community-person:hover{transform:none}}

/* The site-wide surface system owns panel color; nested rows use separators rather than boxed cards. */
.dl-community .dl-community-event:last-child{border-bottom:0}
.dl-community .dl-community-event:hover{background:var(--tertiary-bg)}
.dl-community .dl-community-section,.dl-community .dl-community-self,.dl-community .dl-community-search{background:var(--secondary-bg)}
.dl-community .dl-community-overview>div{background:var(--secondary-bg)}

/* Phase 389: explicit resting and hover states, independent of generic button/anchor rules. */
.site-primary .dl-community .dl-community-search button[type="submit"]{
  background:var(--tertiary-bg);color:var(--primary);border:0;
  min-height:43px;padding:10px 20px;border-radius:4px;font-size:.95rem;
}
.site-primary .dl-community .dl-community-search button[type="submit"]:hover{
  background:var(--dl-ui-surface-hover,#343b49);color:var(--primary);
}
.site-primary .dl-community .dl-community-search button[type="submit"]:focus-visible{
  background:var(--tertiary-bg);outline:2px solid var(--secondary);outline-offset:2px;
}
/* Keep avatar initials distinct from the hover surface without altering uploaded photos. */
.dl-community .dl-community-person .dl-participant-avatar,
.dl-community .dl-community-self .dl-participant-avatar{
  background:var(--primary-bg);color:var(--primary);
  flex-shrink:0;
}
.dl-community .dl-community-person:hover .dl-participant-avatar,
.dl-community .dl-community-person:focus-visible .dl-participant-avatar{
  background:var(--secondary-bg);color:var(--primary);
}
.dl-community .dl-community-person .dl-participant-avatar img,
.dl-community .dl-community-self .dl-participant-avatar img{background:transparent}
/* Small action controls should remain visible before hover. */
.site-primary .dl-community .dl-community-title>a,
.site-primary .dl-community .dl-community-section-heading>a,
.site-primary .dl-community .dl-community-self nav a,
.site-primary .dl-community .dl-community-event>a,
.site-primary .dl-community .dl-community-pagination a{
  background:var(--tertiary-bg);color:var(--primary);
}
.site-primary .dl-community .dl-community-title>a:hover,
.site-primary .dl-community .dl-community-section-heading>a:hover,
.site-primary .dl-community .dl-community-self nav a:hover,
.site-primary .dl-community .dl-community-event>a:hover,
.site-primary .dl-community .dl-community-pagination a:hover{
  background:var(--dl-ui-surface-hover,#343b49);color:var(--primary);
}
.site-primary .dl-community a:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}

/* Phase 390: usable, compact discovery tools and private workspace views. */
.dl-community-filter-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}
.dl-community-search .dl-community-filter-row label{display:inline-flex;align-items:center;gap:9px;margin:0;font-weight:500;font-size:.92rem;color:var(--dlc-muted)}
.site-primary .dl-community .dl-community-filter-row select{background:var(--tertiary-bg);border:0;border-radius:4px;color:var(--primary);padding:9px 12px;min-height:42px;font:inherit;font-size:.94rem;cursor:pointer}
.dl-community-filter-row input[type="checkbox"]{min-height:initial;min-width:initial;flex:initial;width:16px;height:16px;accent-color:var(--secondary)}
.dl-community-letters{display:flex;flex-wrap:wrap;gap:3px;margin:12px 0 16px}
.dl-community-letters a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:5px;color:var(--dlc-muted);font-size:.88rem;border-radius:3px}
.dl-community-letters a:hover,.dl-community-letters a[aria-current="page"]{color:var(--primary);background:var(--tertiary-bg)}
/* Filters are section navigation, not filled action buttons. */
.dl-community-view-tabs{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0 8px;border-bottom:1px solid var(--dlc-border)}
.dl-community-view-tabs a{color:var(--dlc-muted);padding:11px 1px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:.94rem;text-decoration:none}
.dl-community-view-tabs a:hover{color:var(--primary);background:transparent}
.dl-community-view-tabs a[aria-current="page"]{color:var(--primary);font-weight:600;border-bottom-color:var(--secondary);background:transparent}
.dl-community-view-tabs a:focus-visible,.dl-community-letters a:focus-visible,.dl-community-filter-row select:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}

/* Match the 24px Website links controls rather than the obsolete 17px directory checkbox. */
.site-primary .dl-community .dl-community-filter-row .dl-community-toggle input[type="checkbox"] {
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  flex:0 0 24px!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:5px!important;
  background:var(--tertiary-bg)!important;
  color:var(--primary)!important;
  cursor:pointer;
}
.site-primary .dl-community .dl-community-filter-row .dl-community-toggle input[type="checkbox"]:checked {
  border:0!important;
  background:var(--tertiary-bg)!important;
}
.site-primary .dl-community .dl-community-filter-row .dl-community-toggle input[type="checkbox"]::after {
  content:""!important;
  display:none!important;
  box-sizing:border-box!important;
  width:7px!important;
  height:12px!important;
  margin:-2px 0 0!important;
  border:solid var(--primary)!important;
  border-width:0 2px 2px 0!important;
  transform:rotate(45deg)!important;
}
.site-primary .dl-community .dl-community-filter-row .dl-community-toggle input[type="checkbox"]:checked::after {
  display:block!important;
}
.site-primary .dl-community .dl-community-filter-row .dl-community-toggle input[type="checkbox"]:focus-visible {
  outline:2px solid var(--secondary)!important;
  outline-offset:3px!important;
}
.site-primary .dl-community .dl-community-filter-row .dl-community-toggle input[type="checkbox"]:disabled {
  opacity:.55;
  cursor:not-allowed;
}
.dl-community-page-numbers{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px}
.dl-community-page-numbers a{min-width:32px;text-align:center}
.dl-community-page-numbers a[aria-current="page"]{background:var(--tertiary-bg);font-weight:700}
.dl-community-expand{margin:14px 0 0;text-align:center}
.dl-community-expand a{display:inline-block;padding:8px 13px;border-radius:4px;background:var(--tertiary-bg);color:var(--primary)}
.dl-community-expand a:hover{background:var(--dl-ui-surface-hover,#343b49);color:var(--primary)}
@media(max-width:600px){.dl-community-pagination{flex-wrap:wrap}.dl-community-page-numbers{order:3;flex-basis:100%}.dl-community-filter-row{gap:12px}}

/* Phase 392: static activity rows. Only explicit links provide hover feedback.
   Prevent the selected/hovered-looking grey block seen in My League. */
.site-primary .dl-community .dl-community-event,
.site-primary .dl-community .dl-community-event:hover,
.site-primary .dl-community .dl-community-event:focus-within{
  background:transparent!important;
}
.site-primary .dl-community .dl-community-expand a:hover{
  background:var(--tertiary-bg);color:var(--primary);
}
.dl-community-overview a{
  display:flex;flex-direction:column;gap:5px;padding:18px 19px;
  background:var(--secondary-bg);border-radius:4px;color:var(--primary);
  text-decoration:none;
}
.dl-community-overview a:hover{background:var(--secondary-bg);color:var(--primary)}
.dl-community-overview a:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}
.dl-community-overview a strong{font-size:1.6rem;font-weight:700;line-height:1.18;font-variant-numeric:tabular-nums}
.dl-community-overview a span{color:var(--dlc-muted);font-size:.9rem}

/* Phase 393: player comparison reuses the existing low-contrast community surfaces. */
.dl-player-compare .dl-compare-search p{margin:10px 0 0;color:var(--dlc-muted);font-size:.81rem}
.dl-player-compare .dl-compare-error{color:#dfb3a8;margin:0 0 14px}
.dl-player-compare .dl-compare-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
.dl-player-compare .dl-compare-player{background:var(--secondary-bg);border:0;border-radius:4px;padding:18px;min-width:0}
.dl-player-compare .dl-compare-identity{display:flex;gap:12px;align-items:center;min-width:0}
.dl-player-compare .dl-compare-identity .dl-participant-avatar{width:48px;height:48px;min-width:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--tertiary-bg)}
.dl-player-compare .dl-compare-identity img{width:100%;height:100%;object-fit:cover}
.dl-player-compare .dl-compare-identity strong,.dl-player-compare .dl-compare-identity a{display:block;overflow-wrap:anywhere}
.dl-player-compare .dl-compare-identity a{color:var(--dlc-muted);font-size:.82rem;margin-top:3px}
.dl-player-compare .dl-compare-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px;padding-top:15px;border-top:1px solid var(--dlc-border)}
.dl-player-compare .dl-compare-stat-grid>div{display:grid;gap:4px}
.dl-player-compare .dl-compare-stat-grid strong{font-size:1.25rem;font-variant-numeric:tabular-nums}
.dl-player-compare .dl-compare-stat-grid span{font-size:.76rem;color:var(--dlc-muted)}
.dl-player-compare .dl-compare-shared h2{font-size:1.25rem;margin:0 0 16px}
.dl-player-compare .dl-compare-count{font-size:.93rem;font-weight:normal;color:var(--dlc-muted)}
.dl-player-compare .dl-compare-event-list{list-style:none;padding:0;margin:0}
.dl-player-compare .dl-compare-event-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--dlc-border)}
.dl-player-compare .dl-compare-event-list li:last-child{border:0}
.dl-player-compare .dl-compare-event-list li a{color:inherit}
.dl-player-compare .dl-compare-event-list li span{color:var(--dlc-muted);font-size:.8rem;white-space:nowrap}
.dl-player-compare .dl-compare-disclaimer{font-size:.8rem;color:var(--dlc-muted);line-height:1.55}
@media(max-width:680px){.dl-player-compare .dl-compare-columns{grid-template-columns:1fr}}
.dl-player-compare .dl-compare-swap{text-align:center;margin:-5px 0 19px}
.dl-player-compare .dl-compare-swap a{display:inline-block;padding:10px 13px;border:0;border-radius:4px;color:inherit;font-size:.95rem;background:transparent}
.dl-player-compare .dl-compare-swap a:hover,.dl-player-compare .dl-compare-swap a:focus{background:transparent}

/* Phase 394: restrained, keyboard-accessible player suggestions. */
.dl-player-compare .dl-compare-input-row{display:flex;gap:10px;align-items:flex-start}
.dl-player-compare .dl-compare-autocomplete{position:relative;flex:1;min-width:0}
.site-primary .dl-player-compare .dl-compare-autocomplete>input{width:100%;box-sizing:border-box;border:1px solid var(--dlc-border);border-radius:4px;background:var(--primary-bg);color:var(--primary)}
.site-primary .dl-player-compare .dl-compare-autocomplete>input:focus{outline:none;border-color:#657991;box-shadow:0 0 0 2px rgba(101,121,145,.28);background:var(--primary-bg)}
.dl-player-compare .dl-compare-suggestions{position:absolute;z-index:30;left:0;right:0;top:100%;margin:4px 0 0;padding:4px 0;list-style:none;max-height:260px;overflow:auto;background:var(--secondary-bg);border:1px solid var(--dlc-border);border-radius:4px;box-shadow:0 10px 22px rgba(0,0,0,.25)}
.dl-player-compare .dl-compare-suggestions[hidden]{display:none}
.dl-player-compare .dl-compare-suggestions li{margin:0;padding:0}
.dl-player-compare .dl-compare-suggestions button{display:block;width:100%;text-align:left;background:transparent!important;border:0!important;border-radius:0!important;padding:10px 12px;color:inherit;cursor:pointer;overflow-wrap:anywhere}
.dl-player-compare .dl-compare-suggestions button:hover,.dl-player-compare .dl-compare-suggestions button[aria-selected="true"]{background:var(--tertiary-bg)!important}
@media(max-width:560px){.dl-player-compare .dl-compare-input-row{flex-wrap:wrap}.dl-player-compare .dl-compare-autocomplete{flex-basis:100%}}

/* Phase 395: shared tournament match breakdown and quick compare discovery. */
.dl-community-person-wrap{position:relative;min-width:0}
.dl-community-person-wrap .dl-community-person{padding-right:86px;height:100%;box-sizing:border-box}
.dl-community-person-wrap .dl-person-chevron{display:none}
.site-primary .dl-community .dl-community-quick-compare{position:absolute;right:8px;top:50%;transform:translateY(-50%);padding:9px 7px;font-size:.84rem;color:var(--dlc-muted);border:0;border-radius:3px;background:transparent;text-decoration:none}
.site-primary .dl-community .dl-community-quick-compare:hover,.site-primary .dl-community .dl-community-quick-compare:focus-visible{background:var(--tertiary-bg);color:var(--primary);text-decoration:none}
.dl-compare-filters{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 20px}
.dl-compare-filters a{padding:9px 10px;font-size:.95rem;color:var(--dlc-muted);border-radius:3px}
.dl-compare-filters a:hover,.dl-compare-filters a[aria-current="page"]{color:var(--primary);background:var(--tertiary-bg);text-decoration:none}
.dl-compare-filters span{font-size:.84rem;opacity:.8;margin-left:3px}
.dl-player-compare .dl-compare-record-heading,.dl-player-compare .dl-compare-record-list li{display:grid;grid-template-columns:minmax(0,2fr) minmax(110px,1fr) minmax(110px,1fr);gap:12px;align-items:start}
.dl-player-compare .dl-compare-record-heading{color:var(--dlc-muted);font-size:.78rem;padding-bottom:8px;border-bottom:1px solid var(--dlc-border);overflow-wrap:anywhere}
.dl-player-compare .dl-compare-record-list li{padding:12px 0}
.dl-player-compare .dl-compare-event-title a{display:block;font-weight:600;overflow-wrap:anywhere}
.dl-player-compare .dl-compare-event-title small,.dl-player-compare .dl-compare-record small{display:block;color:var(--dlc-muted);font-size:.76rem;margin-top:4px}
.dl-player-compare .dl-compare-record strong{display:block;font-variant-numeric:tabular-nums}
.dl-player-compare .dl-compare-no-record{color:var(--dlc-muted);font-size:.78rem}
.dl-player-compare .dl-compare-mobile-label{display:none}
@media(max-width:640px){.dl-player-compare .dl-compare-record-heading{display:none}.dl-player-compare .dl-compare-record-list li{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dl-player-compare .dl-compare-event-title{grid-column:1/-1}.dl-player-compare .dl-compare-mobile-label{display:block;font-size:.73rem;color:var(--dlc-muted);overflow-wrap:anywhere;margin-bottom:4px}}

/* Phase 397: compact upcoming schedule; reuse the site's established surfaces. */
.dl-community-next{margin:14px 0 16px;padding:19px;background:var(--secondary-bg);border-radius:4px}
.dl-community-next-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.dl-community-next-head h2{font-size:1.08rem;margin:0}
.dl-community-next-head>a{font-size:.92rem;color:var(--text-muted,#99a6b7);text-decoration:none!important}
.dl-community-next-head>a:hover,.dl-community-next-head>a:focus-visible{color:var(--primary)}
.dl-community-next-list{display:flex;flex-direction:column}
.dl-community-next-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;min-width:0}
.dl-community-next-item+.dl-community-next-item{border-top:1px solid rgba(160,170,190,.13)}
.dl-community-next-item>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.dl-community-next-title{font-weight:600;color:inherit;overflow-wrap:anywhere;text-decoration:none!important}
.dl-community-next-item time{font-size:.8rem;color:var(--text-muted,#99a6b7)}
.dl-community-next-action{flex-shrink:0;font-size:.92rem;padding:10px 14px;border:0;border-radius:3px;color:inherit;text-decoration:none!important}
.dl-community-next-title:hover,.dl-community-next-title:focus-visible{color:var(--primary)}
.dl-community-next-action:hover,.dl-community-next-action:focus-visible{background:var(--tertiary-bg);color:var(--primary)}
.dl-community-next a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:520px){.dl-community-next-item{align-items:flex-start;flex-direction:column;gap:8px}.dl-community-next-action{align-self:flex-start}}

/* Phase 399: compact private Lobby history, aligned with existing community surfaces. */
.dl-my-lobby{max-width:1100px;margin:0 auto;padding-bottom:30px}
.dl-my-lobby-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.dl-my-lobby-heading h1{margin:0 0 8px}
.dl-my-lobby-heading p{margin:0}
.dl-my-lobby-back,.dl-my-lobby-open{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:7px 11px;background:var(--tertiary-bg);border:0;border-radius:4px;color:var(--primary);text-decoration:none!important;font-size:.85rem;line-height:1.4}
.dl-my-lobby-back:hover,.dl-my-lobby-back:focus-visible,.dl-my-lobby-open:hover,.dl-my-lobby-open:focus-visible{background:var(--secondary-bg);color:var(--primary);text-decoration:none!important}
.dl-my-lobby :is(a):focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.dl-my-lobby-history{background:var(--secondary-bg);padding:14px 18px;border-radius:4px}
.dl-my-lobby-history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-bottom:10px}
.dl-my-lobby-history-heading h2{font-size:1.12rem;margin:0}
.dl-my-lobby-history-heading span{font-size:.8rem;color:var(--secondary)}
.dl-my-lobby-item{padding:13px 0;border-top:1px solid var(--tertiary-bg)}
.dl-my-lobby-item-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px 16px;flex-wrap:wrap}
.dl-my-lobby-tournament{font-weight:700;color:var(--primary);text-decoration:none!important;overflow-wrap:anywhere}
.dl-my-lobby-tournament:hover,.dl-my-lobby-tournament:focus-visible{color:var(--primary);text-decoration:none!important}
.dl-my-lobby-item-head time{font-size:.78rem;color:var(--secondary);font-variant-numeric:tabular-nums}
.dl-my-lobby-message{margin:9px 0 11px;line-height:1.5;overflow-wrap:anywhere;white-space:normal}
.dl-my-lobby-message--removed{color:var(--secondary)}
.dl-my-lobby-item-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dl-my-lobby-status{font-size:.76rem;color:var(--secondary)}
.dl-my-lobby-empty{color:var(--secondary);padding:18px 0;margin:0;border-top:1px solid var(--tertiary-bg)}
.dl-my-lobby-pages{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:16px 0}
.dl-my-lobby-pages a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;padding:7px 10px;background:var(--secondary-bg);border-radius:4px;color:var(--primary);text-decoration:none!important;font-size:.85rem}
.dl-my-lobby-pages a[aria-current="page"]{background:var(--tertiary-bg);font-weight:700}
.dl-my-lobby-pages a:hover,.dl-my-lobby-pages a:focus-visible{background:var(--tertiary-bg);text-decoration:none!important}
@media(max-width:600px){.dl-my-lobby-history{padding:12px}.dl-my-lobby-item-head{align-items:flex-start}.dl-my-lobby-item-head time{flex-basis:100%}}



/* Match comparison empty states to the rest of the League pages. */
.dl-player-compare .dl-compare-shared .dl-community-empty{font-size:1rem;line-height:1.6}
