@import url('./league-championship-prizes.css?v=b9f3b9ba4f7becd6');
@import url('./league-championship-playoff.css?v=199eff2ad3063928');

.city-world .map-marker:has(> .map-championship) { z-index: 123; }
.map-marker > .map-championship {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing:border-box;
  width:108px;
  max-width:none;
  min-height: 28px;
  padding:4px 5px;
  border: 1px solid #e3be72;
  border-radius: 7px;
  background: linear-gradient(160deg, #284458, #102533);
  color: #ffe4a0;
  font: 700 11px/1.1 Arial, sans-serif;
  white-space: normal;
  box-shadow: 0 2px 5px #07141f94;
  pointer-events: auto;
  cursor: pointer;
}
.map-marker > .map-war-score + .map-championship { bottom: calc(100% + 36px); }
.map-championship > .icon, .map-championship > svg { width: 15px; height: 15px; flex: none; }
.map-championship > span { display: grid; gap: 2px; text-align: left; }
.map-championship time { display:block;white-space:nowrap;font-variant-numeric:tabular-nums; }
.map-championship > span > b { white-space:nowrap;font-size:10px; }
.map-championship > span > small { font: 10px/1.15 Arial, sans-serif; color: #dfedf3; }
.map-championship:focus-visible, .lc-entry:focus-visible { outline: 3px solid #fff0bd; outline-offset: 2px; }
.lc-cover {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: clamp(132px, 25vw, 192px);
  padding: clamp(13px, 3vw, 24px);
  border: 1px solid #a78c5a;
  border-radius: 12px;
  background: #102536 url('/assets/league-championship-celebration.webp?v=11a5f350d99ccf7e') right 31% / cover no-repeat;
  color: #fbf3da;
  text-align: left;
}
.lc-cover::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #07141bb0 0%, #07141b4d 46%, transparent 76%), linear-gradient(0deg, #081723b3 0%, transparent 68%);
}
.game-main > .lc-cover {
  width: calc(100% - 24px);
  max-width: 1000px;
  margin: 12px auto 10px;
}
.lc-entry { cursor: pointer; }
.lc-cover-copy { display: grid; gap: 5px; width: min(72%, 500px); }
.lc-cover-copy > strong, .lc-cover-copy > h2 {
  margin: 0;
  color: #fff4cf;
  font: 700 clamp(23px, 5.4vw, 40px)/1.03 Oswald, 'Arial Narrow', sans-serif;
  text-shadow: 0 1px 5px #06131d;
}
.lc-cover-copy > small { color: #d0e1e9; font: 600 clamp(12px, 2.5vw, 15px)/1.3 Arial, sans-serif; }
.lc-entry > .icon, .lc-entry > svg {
  align-self: flex-end;
  margin-left: auto;
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 1px solid #dfc386aa;
  border-radius: 50%;
  background: #102433cc;
  color: #f2d994;
}
.lc-screen { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 2vw, 16px); margin: 12px 0 0; }
.lc-screen > :not(.lc-ranking) { width: 100%; max-width: 1000px; justify-self: center; }

.lc-screen > .lcpo, .lc-screen > .lc-prizes { margin-block: 0; }
@media (min-width: 700px) {
  .game-main > .lc-cover { width: calc(100% - 32px); }
}
@media (max-width: 390px) {
  .lc-cover-copy { width: 75%; }

}
.lc-facts, .lc-mine { margin: 0; padding: 8px 14px; background: #152d3b; border: 1px solid #425c69; border-radius: 9px; }
.lc-facts > div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 9px 0; }
.lc-facts > div + div { border-top: 1px solid #57717d65; }
.lc-facts dt, .lc-mine small { color: #b7cbd5; }
.lc-facts dd { margin: 0 0 0 auto; color: #f1f7f9; font-weight: 700; }
.lc-mine h3, .lc-mine p { margin: 4px 0; }
.lc-feedback { margin: 0; color: #ccdde5; }

.lc-info { padding: 12px 14px; border: 1px solid #425c69; border-radius: 9px; background: #152d3b; color: #e4f0f5; }
.lc-ranking h3, .lc-info h3 { margin: 0 0 8px; font: 700 20px/1.15 Oswald, Arial, sans-serif; }
.lc-ranking p, .lc-info p { margin: 5px 0; line-height: 1.45; }
.lc-ranking {
  margin-inline: calc(-1 * var(--pane-inset, 10px));
  padding-block: 12px 0;
  border-block: 1px solid #425c69;
  background: #152d3b;
  color: #e4f0f5;
}
.lc-ranking > :is(h3, p) { padding-inline: 10px; }
.lc-ranking table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lc-ranking th, .lc-ranking td { padding: 8px 4px; text-align: left; }
.lc-ranking thead th { color: #bfd0d8; font-size: 12px; }
.lc-ranking tr > :first-child { width: 1%; white-space: nowrap; padding-left: 8px; }
.lc-ranking tr > :last-child { width: 1%; white-space: nowrap; text-align: right; padding-right: 10px; }
.lc-ranking tbody tr { border-top: 1px solid #57717d65; cursor: pointer; }
.lc-ranking .lc-own { background: #394337; color: #ffebaf; }
.lc-ranking tbody tr:focus-within { outline: 2px solid #ffdf8f; outline-offset: -2px; }
@media (hover: hover) { .lc-ranking tbody tr:hover { background: #264455; } }
.lc-ranking-link {
  display: flex; align-items: center; gap: 7px;
  padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; text-align: start; overflow-wrap: anywhere; cursor: pointer;
}
.lc-ranking-link .league-badge { flex: none; width: 28px; height: 30px; }
.lc-tag { color: #a7c5d4; }
.lc-roster-status { display: block; font-size: 12px; line-height: 1.5; }
.lc-roster-status.is-ready { color: #94e3a8; }
.lc-roster-status.is-short { color: #ffaaa5; }


.lc-point-parts { display: block; margin-top: 3px; font: 11px/1.4 Arial, sans-serif; color: #b5cad3; }

.lc-skeleton tbody tr { cursor: default; }
.lc-skeleton tbody td { height: 67px; }
.lc-skeleton i { display: block; width: 1.2em; height: .75em; border-radius: 4px; background: #344c5d; }
.lc-skeleton td:last-child i { margin-left: auto; }
.lc-skeleton-identity { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.lc-skeleton-identity i:first-child { width: 28px; height: 30px; border-radius: 5px 5px 45% 45%; }
.lc-skeleton-identity i:last-child { width: 56%; }
.lc-skeleton td:nth-child(2) > i { width: 70%; height: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .lc-skeleton tbody { animation: lc-skeleton-pulse 1.5s ease-in-out infinite alternate; }
  @keyframes lc-skeleton-pulse { to { opacity: .55; } }
}

.league-page-bar.lc-page-bar{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lc-rules-button{font:inherit;font-size:.86rem;font-weight:600;color:#efda9f;background:#203746;border:1px solid #5b6560;border-radius:7px;padding:5px 11px;min-height:32px;cursor:pointer}
.lc-rules-button:focus-visible{outline:2px solid #f6d57b;outline-offset:2px}
.lc-rules-copy{line-height:1.45;overflow-wrap:anywhere}
.lc-rules-copy section+section{border-top:1px solid #365160;margin-top:14px;padding-top:12px}
.lc-rules-copy h3{margin:0 0 6px;color:#f3dea5}
.lc-rules-copy p{margin:0 0 7px}
time[data-lc-at]{font-variant-numeric:tabular-nums}

.lc-section-tabs {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 5px;
  margin: 10px 0;
}
.lc-section-tabs .lc-section-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid #496271;
  border-radius: 7px;
  background: linear-gradient(#203b4c, #182e3d);
  color: #cfdee7;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}
.lc-section-tab .icon { width: 17px; height: 17px; flex: none; }
.lc-section-tab[data-target="crown"] .icon, .lc-section-tab[data-target="supercup"] .icon { color: #edcb7b; }
.lc-section-tab[data-target="challengers"] .icon { color: #add5ed; }
.lc-section-tabs .lc-section-tab[aria-pressed="true"] {
  color: #ffe6a5;
  background: linear-gradient(#3a4847, #293a40);
  border-color: #d9b86a;
  box-shadow: inset 0 -2px #e2bc62;
}
.lc-section-tab:focus-visible { outline: 2px solid #ffe3a2; outline-offset: 2px; }
@media (hover: hover) {
  .lc-section-tab:hover { border-color: #94adba; color: #fff4cf; }
}
@container (max-width: 630px) {
  .lc-section-tabs { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lc-section-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.modal[data-dialog="lc-participants"] > .modal-close { position: absolute; top: 10px; right: 10px; float: none; margin: 0; }
.modal[data-dialog="lc-participants"] > .lc-ranking { margin: 0; padding: 0; border: 0; background: transparent; }
.lc-participant-heading { padding: 0 42px 10px 0; }
.lc-participant-heading h2 { margin: 0; font: 700 24px/1.15 Oswald, 'Arial Narrow', sans-serif; color: #f1f6f8; }
.lc-ranking .lc-participant-heading p { margin: 3px 0 0; font-size: 14px; line-height: 1.3; color: #b6cbd7; }

/* The office and championship share the full-width bar and cover above the pane. */
.lc-screen { padding-inline: max(0px,calc(10px - var(--pane-inset,0px))); }
.lc-screen > .lc-ranking { margin-inline: calc(-1 * max(10px,var(--pane-inset,0px))); }
.lc-board-loading { padding:16px; color:#acbdc9; }
.lc-board-loading > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
.lc-board-loading i { height:76px; border-radius:8px; background:#253c4e; }
@media (prefers-reduced-motion:no-preference) { .lc-board-loading i { animation:lc-skeleton-pulse 1.5s ease-in-out infinite alternate; } }
.lc-page-invites { display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;text-align:left;margin:6px 0; padding:12px; border:1px solid #729384;border-radius:8px;background:#233f42;color:#e6efdf; }
.lc-page-invites .icon { width:20px;height:20px; }
.lc-board-loading { min-height:min(65vh,520px); }
.lc-board-loading .lc-board-toolbar { grid-column:1/-1;height:40px; }
.map-marker > .map-championship {display:grid;justify-items:center;grid-template-columns:minmax(0,1fr);gap:2px}
.map-championship > .icon,.map-championship > svg {position:static;display:block;justify-self:center;margin:0}
.map-championship > span {width:100%;justify-items:center;text-align:center}
@media (prefers-reduced-motion:no-preference) {
  .map-championship small[data-render-key],.map-championship [data-lc-results-from]>span:not([hidden]) {animation:lc-marker-reveal .25s ease-out both}
  @keyframes lc-marker-reveal {from {opacity:0} to {opacity:1}}
}
