/* Player statistics and activity */
.community-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:39px 0 25px}
.community-heading h1{margin:0;color:#f1faf7;font:760 clamp(27px,3.8vw,48px)/1.16 var(--title);letter-spacing:-.055em}
.community-heading p{margin:10px 0 0;color:#95afb4;font-size:16px}
.rank-deck{position:relative;min-height:625px;margin:56px auto 0;max-width:1120px;isolation:isolate}
.rank-deck-card{--accent:#9ee1cb;--angle:0deg;position:absolute;top:24px;width:38%;padding:0 16px 14px;border:1px solid #36534f;border-radius:20px;background:#10292e;box-shadow:0 20px 45px #020e1655;transform:rotate(var(--angle));transform-origin:50% 80%;transition:transform .65s cubic-bezier(.2,.8,.2,1),box-shadow .45s,border-color .45s;z-index:1;overflow:hidden}
.deck-kills{--accent:#f0bb9d;--angle:-6deg;left:2%;top:32px;background:linear-gradient(155deg,#3b2e32,#13292f 47%);border-color:#71524d}
.deck-playtime{--accent:#a9e3ca;left:31%;z-index:2;background:linear-gradient(155deg,#24463f,#112a2e 47%)}
.deck-elo{--accent:#b7c8fa;--angle:6deg;left:60%;top:32px;background:linear-gradient(155deg,#2c395a,#122a31 47%);border-color:#495d7b}
.rank-deck-card:hover,.rank-deck-card:focus-within,.rank-deck-card.deck-open{z-index:4;transform:translateY(-15px) rotate(0) scale(1.035);border-color:var(--accent);box-shadow:0 24px 70px #0008,0 0 0 1px color-mix(in srgb,var(--accent) 15%,transparent)}
.deck-toggle{display:flex;align-items:center;width:100%;gap:12px;padding:24px 2px 21px;text-align:left;color:#eff8f5}
.deck-toggle h2{margin:0;font:740 clamp(17px,1.55vw,24px)/1.25 var(--title);letter-spacing:-.045em}
.deck-toggle p{margin:6px 0 0;color:#a6babb;font-size:13px;font-weight:450}
.deck-symbol{display:grid;place-items:center;flex:none;width:38px;height:40px;border-radius:11px;background:#ffffff09;color:var(--accent);border:1px solid #ffffff0f}
.deck-symbol svg{width:21px;height:21px}
.deck-expand{margin-left:auto;color:var(--accent);font-size:23px;font-weight:400;transition:rotate .4s}
.rank-deck-card:is(:hover,:focus-within,.deck-open) .deck-expand{rotate:45deg}
.deck-rows{list-style:none;padding:0;margin:0;display:grid;gap:5px;max-height:286px;overflow:hidden;opacity:.76;mask-image:linear-gradient(#000 75%,transparent);transition:max-height .7s cubic-bezier(.2,.8,.2,1),opacity .4s}
.rank-deck-card:is(:hover,:focus-within,.deck-open) .deck-rows{max-height:510px;opacity:1;mask-image:none}
.deck-rows li{display:grid;grid-template-columns:25px 27px minmax(0,1fr) max-content;gap:8px;align-items:center;min-height:43px;padding:6px 8px;background:#07171d55;border-radius:8px;color:#dfeeed}
.deck-place{font:650 12px var(--title);width:23px;height:26px;display:grid;place-items:center;border-radius:6px;color:#9eb3b7;background:#ffffff07}
.deck-rows li:nth-child(-n+3) .deck-place{background:var(--accent);color:#15252c}
.deck-rows strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:680}
.deck-rows output{font:650 11px/1.3 var(--title);letter-spacing:-.035em;color:var(--accent);max-width:100px;text-align:right}
.player-mark{width:27px;height:27px;display:grid;place-items:center;border-radius:5px;background:linear-gradient(135deg,#4d7775,#243e50);border:1px solid #d5efdc22;font:750 11px ui-monospace,monospace;text-transform:uppercase;color:#e3f7ef;box-shadow:inset 0 -7px #081c2529}
.deck-view{display:block;width:100%;margin-top:11px;padding:10px 6px;border-radius:8px;color:var(--accent);font-size:13px;font-weight:650;background:#ffffff06;transition:background .2s}
.deck-view:hover{background:#ffffff10}
.deck-empty{display:block!important}
.ratings-panel{scroll-margin-top:120px;background:#10252d;border-color:#2a424c;border-radius:13px;padding:18px}
.ratings-panel .rating-tabs{gap:4px;padding-bottom:15px;margin-bottom:0;border-bottom:1px solid #2a424c}
.ratings-panel .rating-tabs button{border:0;background:transparent;color:#9ab0b5;font-family:inherit;font-size:14px}
.ratings-panel .rating-tabs button[aria-pressed=true]{background:#223e43;color:#c4efdf}
.rank-heading{padding:14px 12px;color:#79969d}
.rank-entry{min-height:49px;border:0;border-radius:4px;border-bottom:1px solid #294049;background:transparent!important}
.rank-entry:nth-child(-n+3){border-color:#355050}
.rank-entry:nth-child(odd){background:#ffffff02!important}
.rank-entry strong{font-size:14px}
.rank-place,.rank-entry output{color:#c6e2d7;font-size:14px}
.ban-total{font-size:13px;color:#97acb2;white-space:nowrap;padding-bottom:4px}
.ban-panel.community-panel{background:#10232b;border:1px solid #2a424b;border-radius:12px;padding:18px 22px}
.ban-tools{padding-bottom:14px;margin-bottom:0;border-bottom:1px solid #2a424b}
.ban-filters{display:flex;gap:4px;flex-wrap:wrap}
.ban-filters button{padding:8px 13px;border-radius:6px;font-size:14px;font-weight:600;color:#90a7ad}
.ban-filters button[aria-pressed=true]{background:#263b42;color:#e3efec}
.ban-filters button:hover{color:#e3efec}
#banPrivacy{margin:11px 0 0;color:#78939b;font-size:12px}
.ban-table{border-collapse:collapse;border-spacing:0;font-size:14px}
.ban-table th{font-weight:550;letter-spacing:0;text-transform:none;color:#829ba4;padding:15px 10px 12px}
.ban-table td{background:transparent!important;padding:16px 10px;border-bottom:1px solid #263d46;line-height:1.45;vertical-align:middle}
.ban-table tr:last-child td{border-bottom:0}
.ban-table tbody tr:hover{background:#ffffff03}
.ban-table td:first-child{color:#aac9cb;font-size:12px}
.ban-table td:nth-child(3){font-weight:650}
.ban-table td:nth-child(5){color:#a7bac0;font-size:13px}
.ban-table td:nth-child(6){color:#8da6ae;font-size:12px}
.ban-type{color:#d8e6e5;font-size:13px;font-weight:550}
.ban-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#a2cbb8}
.ban-state::before{content:"";width:5px;height:5px;border-radius:50%;background:#76b99c;flex:none}
.ban-state.is-ended{color:#80969d}
.ban-state.is-ended::before{background:#6c7d83}
.ban-table .nick-veil{color:#bccdd0;filter:none;animation:none;letter-spacing:0}
.community-overview .recent{padding:18px;border-radius:14px;background:#10262d;border-color:#2a454d}
.community-overview .recent-head{margin-bottom:5px}
.community-overview .recent-head h2{font-size:clamp(14px,1.3vw,19px);font-weight:690}
.community-overview .recent-head h2 svg{background:none;border:0;padding:1px;color:#9cc8b6}
#purchaseCount{color:#6e9299;font-size:12px}
.community-overview .purchase-strip{gap:9px;align-content:stretch;margin-top:12px}
.community-overview .purchase-card,.community-overview .purchase-card:nth-child(even){position:relative;grid-template-rows:16px 45px 19px auto;gap:7px;min-height:155px;padding:12px 8px 14px;background:#163039;border:1px solid #ffffff05;border-radius:10px;overflow:hidden;transition:background .25s,border-color .25s,transform .25s}
.community-overview .purchase-card::before{content:"";position:absolute;left:22%;right:22%;top:0;height:1px;background:linear-gradient(90deg,transparent,#9bd9c660,transparent)}
.community-overview .purchase-card:hover{background:#1b3a43;border-color:#6baca84d;transform:translateY(-3px)}
.community-overview .purchase-card small{color:#8da7af;font-size:10px}
.community-overview .purchase-art{width:44px;height:44px;grid-row:2;border-radius:10px;background:#0b202930;border:1px solid #ffffff06;padding:5px;box-shadow:0 6px 18px #01101a25}
.community-overview .purchase-art img{object-fit:contain;filter:drop-shadow(0 3px 4px #0004)}
.community-overview .purchase-card .purchase-nick{font:650 13px ui-monospace,monospace;line-height:1.4;overflow:hidden;letter-spacing:.045em}
.purchase-nick .nick-scramble{display:inline-block;width:8ch;color:#b5d7d0;background:linear-gradient(100deg,#70939e 10%,#d1fae8 40%,#91b9d1 65%,#70939e 90%);background-size:230% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:nick-color 5s linear infinite}
@keyframes nick-color{to{background-position:-230% 0}}
.community-overview .purchase-card .purchase-title{white-space:normal;overflow-wrap:anywhere;line-height:1.35;font-size:11px;font-weight:550;color:#d6e5e3;max-width:16ch}
@media(min-width:861px){.community-overview .purchase-strip{min-height:155px}}
@media(max-width:1100px){
  .rank-deck-card{width:40%;padding-inline:11px}
  .deck-kills{left:0}.deck-playtime{left:30%}.deck-elo{left:60%}
  .deck-rows li{grid-template-columns:23px minmax(0,1fr) max-content;gap:6px;padding-inline:6px}
  .deck-rows .player-mark{display:none}
  .deck-toggle{gap:7px}.deck-symbol{width:29px;height:34px}
  .deck-toggle h2{font-size:16px}.deck-toggle p{font-size:11px}
}
@media(max-width:900px){
  .community-heading{margin-top:25px;margin-bottom:18px;align-items:start}
  .community-heading p{font-size:14px}
  .rank-deck{display:grid;gap:13px;min-height:0;margin:0 0 22px}
  .rank-deck-card{position:relative!important;left:auto;top:auto;width:100%;transform:none;border-radius:14px;padding-inline:15px}
  .rank-deck-card:is(:hover,:focus-within,.deck-open){transform:none}
  .deck-toggle{padding:17px 0}
  .deck-toggle h2{font-size:20px}.deck-toggle p{font-size:13px}
  .deck-rows{max-height:140px}
  .deck-rows li{grid-template-columns:25px 27px minmax(0,1fr) max-content}
  .deck-rows .player-mark{display:grid}
  .rank-deck-card:is(:focus-within,.deck-open) .deck-rows{max-height:510px}
  .deck-view{margin-top:7px}
  .ban-panel.community-panel{padding:12px}
  .ban-tools{gap:8px}.ban-filters{width:100%}.ban-filters button{padding-inline:10px}
  .ratings-panel{padding:12px}
  .community-overview .purchase-strip{display:grid;grid-template-columns:repeat(5,minmax(126px,1fr));overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
  .community-overview .purchase-card{scroll-snap-align:start}
}
@media(max-width:640px){
  .ban-table tbody{display:block}
  .ban-table tr{display:grid;grid-template-columns:1fr 1fr;border:0;border-bottom:1px solid #2a424b;border-radius:0;padding:10px 0;background:transparent!important;gap:7px 12px}
  .ban-table tr:last-child{border-bottom:0}
  .ban-table td{display:grid;padding:2px!important;border:0;min-width:0;font-size:13px}
  .ban-table td::before{font-size:10px;color:#728b95;margin-bottom:3px}
  .ban-table td:first-child{order:6}
  .ban-table td:nth-child(5){grid-column:auto}
  .community-overview .recent{padding:14px 12px}
  .rank-heading,.rank-entry{grid-template-columns:34px minmax(0,1fr) max-content;gap:7px;padding-inline:6px}
  .rank-entry strong,.rank-entry output{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.rank-deck-card,.deck-rows{transition:none}.purchase-nick .nick-scramble{animation:none}}
.community-overview .recent{min-width:0}
.community-overview .purchase-strip{max-width:100%;min-width:0}

.rule-section{overflow:hidden}
.rule-section summary{display:flex;align-items:center;gap:12px;list-style:none;user-select:none}
.rule-section summary::-webkit-details-marker{display:none}
.rule-section summary::before{content:"";width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform 440ms cubic-bezier(.22,.75,.22,1);opacity:.7}
.rule-section[data-rule-expanded=true] summary::before{transform:rotate(45deg)}
@media(prefers-reduced-motion:reduce){.rule-section summary::before{transition:none}}
