[hidden]{display:none!important}
.waiting{opacity:0}
@media(prefers-reduced-motion:reduce){.waiting{opacity:1}}

.top nav a[aria-current=page]{color:#ffe0a0}
.top nav a[aria-current=page]::after{
  content:"";display:block;height:2px;margin:5px 8px -7px;
  background:var(--gold);border-radius:8px;
}
.community-view{min-height:55vh;outline:none!important}
.community-banner{
  min-height:178px;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  border-radius:17px;border:1px solid #736038;padding:clamp(20px,4vw,48px);
  background:radial-gradient(at 95% 35%,#65502c,transparent 58%),linear-gradient(120deg,#302619,#181716 66%);
}
.community-banner h1{margin:0;color:#ffe0a0;font:790 clamp(28px,4.4vw,58px)/1.1 var(--title);letter-spacing:-.06em}
.community-banner p{margin:10px 0 0;color:#ded3bf;font-size:clamp(14px,1.4vw,18px)}
.community-banner>svg{width:clamp(48px,10vw,112px);height:auto;color:#ffca60;rotate:-11deg;stroke-width:1;filter:drop-shadow(0 6px 15px #16120d66)}
.ban-banner{background:radial-gradient(at 95% 35%,#583427,transparent 60%),linear-gradient(120deg,#33231c,#181716 66%);border-color:#745140}
.community-panel{background:#211f1b;border:1px solid #464034;border-radius:14px;padding:clamp(12px,2.1vw,25px)}
.community-view>.community-panel,.community-view #rulesContent{margin-top:16px}
.community-panel h2{margin:0;font:720 clamp(14px,1.6vw,22px)/1.3 var(--title);letter-spacing:-.04em}
.recent{margin:0 0 24px}
.recent-head,.ban-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}
.recent-head h2{display:flex;align-items:center;gap:9px}
.recent-head svg{color:#ffd380;width:18px;height:18px}
.recent-head a{color:#e6c182;font-size:13px;font-weight:650;text-align:right}
.recent-head a:hover{text-decoration:underline}
.purchase-strip{
  display:flex;gap:10px;overflow-x:auto;scrollbar-color:#786342 transparent;scroll-snap-type:x proximity;
  margin-top:12px;padding:1px 1px 6px;
}
.purchase-card{
  flex:0 0 min(238px,76%);display:flex;gap:10px;align-items:center;min-height:73px;padding:10px;
  border:1px solid #464034;border-radius:11px;background:#2c2821;scroll-snap-align:start;
}
.purchase-art{width:42px;height:42px;border-radius:7px;overflow:hidden;display:grid;place-items:center;flex:none;background:#493a22;color:#e6c182}
.purchase-art img{width:100%;height:100%;object-fit:cover}
.purchase-card>div:last-child{min-width:0}
.purchase-card b,.purchase-card span,.purchase-card small{display:block;overflow-wrap:anywhere}
.purchase-card b{font-size:14px}
.purchase-card span,.purchase-card small{color:#d2c5ad;font-size:12px}
.stream-status{margin:0;padding:17px 14px;border:1px dashed #504838;border-radius:9px;color:#d4cbba;background:#1a1916;font-size:14px}
.purchase-strip .stream-status{width:100%}
.rating-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}
.rating-tabs>button{
  padding:10px 14px;min-height:41px;border-radius:8px;border:1px solid #565043;
  background:#2d2922;color:#ded2be;font:640 clamp(10px,1vw,13px)/1.4 var(--title);
  transition:background .22s,color .22s,border-color .22s;
}
.rating-tabs>button:hover{border-color:#b8914c}
.rating-tabs>button[aria-pressed=true]{color:#281c0c;background:#ffc75a;border-color:#ffc75a}
.rank-heading,.rank-entry{display:grid;grid-template-columns:52px minmax(0,1fr) max-content;gap:12px;align-items:center;padding:9px 14px}
.rank-heading{font-size:12px;color:#bfb5a4}
.rank-list{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.rank-entry{min-height:50px;border-radius:9px;background:#29251f;border:1px solid #403a2e}
.rank-entry:nth-child(-n+3){border-color:#725827;background:linear-gradient(90deg,#4d3c22,#2b2620 55%)}
.rank-entry strong{overflow-wrap:anywhere}
.rank-place,.rank-entry output{color:#ffda8b;font-weight:750}
.ban-tools{margin-bottom:13px}
.ban-search{display:flex;align-items:center;gap:8px;border:1px solid #514a3d;border-radius:19px;background:#191815;padding:6px 10px;color:#ddc397}
.ban-search input{width:150px;min-width:0;border:0;background:transparent;color:inherit;outline:none}
.ban-search:focus-within{box-shadow:0 0 0 2px #ffc55a40}
.ban-search svg{width:15px}
.table-wrap{overflow:auto}
.ban-table{width:100%;border-spacing:0 6px;text-align:left;font-size:14px}
.ban-table th{padding:7px 9px;color:#bdb2a0;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.ban-table td{padding:12px 9px;background:#2b2721;overflow-wrap:anywhere}
.ban-table td:first-child{border-radius:8px 0 0 8px;color:#ffce70;font-weight:650}
.ban-table td:last-child{border-radius:0 8px 8px 0}
.ban-table td:nth-child(3){font-weight:700}
.rule-section{margin:10px 0}
.rule-section summary{padding:15px 20px;cursor:pointer;font:680 15px var(--title)}
.rule-section div{padding:0 20px 10px;color:#dad2c5}
.rule-source{display:inline-flex;width:fit-content;margin-top:12px}
@media(max-width:860px){.top nav a[data-view]{display:block}.ban-table{min-width:690px}}
@media(max-width:640px){
  html{scroll-padding-top:100px}
  .top{display:grid;grid-template-columns:auto 1fr;gap:1px 7px;padding:4px 10px 7px}
  .top .join{grid-column:2;grid-row:1}
  .top nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;gap:5px;padding:0 2px}
  .top nav a{padding:6px 0;font-size:clamp(9px,2.6vw,12px)}
  .top nav a[aria-current=page]::after{margin:3px 4px -5px}
  .community-banner{min-height:135px}
  .ban-tools{align-items:flex-start;flex-direction:column}
  .ban-search,.ban-search input{width:100%}
  .ban-table{min-width:0}
  .ban-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .ban-table tbody{display:grid;gap:9px}
  .ban-table tr{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #403a2e;border-radius:10px;background:#2b2721}
  .ban-table td{display:grid;align-content:start;gap:2px;padding:7px 10px;border-radius:0!important}
  .ban-table td:nth-child(5){grid-column:1/-1}
  .ban-table td::before{content:attr(data-label);font-size:11px;font-weight:500;color:#bdb2a0}
}
@media(max-width:640px){.top nav a[data-filter=all]{display:block}.top nav a[data-filter=privilege]{display:none}}
.rules-note{color:#d1c5af;font-size:14px;margin:0 0 12px}
.rule-section.community-panel{padding:0}
.rule-section summary:hover{color:#ffda8b}
.rule-list{list-style:none;padding:0 12px 12px;margin:0;display:grid;gap:6px}
.rule-list li{display:grid;grid-template-columns:66px minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:10px;padding:10px 12px;border-radius:8px;background:#2c2821;font-size:14px}
.rule-id{color:#ffca66;font-weight:750}
.rule-list .penalty{color:#dacfbb}
@media(max-width:640px){.rule-list li{grid-template-columns:44px minmax(0,1fr);gap:4px 8px;padding:8px;font-size:13px}.rule-list .penalty{grid-column:2}}

/* Store overview */
.community-overview{
  display:grid;grid-template-columns:clamp(190px,23%,320px) minmax(0,1fr);
  align-items:stretch;gap:14px;margin:20px 0 29px;
}
.community-overview .top-preview{
  position:static;display:flex;flex-direction:column;gap:0;padding:16px;
  background:linear-gradient(145deg,#28251f,#201f1d 68%);
}
.top-preview h2{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.top-preview h2 svg{width:17px;height:17px;color:#edc36a}
.preview-rows{display:grid;align-content:center;flex:1}
.preview-row{
  display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:8px;
  padding:10px 0;min-height:48px;color:#f6f1e7;font-size:13px;font-weight:650;
}
.preview-row+.preview-row{border-top:1px solid #474137}
.preview-row:hover{color:#ffda8b}
.preview-row>svg{width:29px;height:29px;padding:6px;border:1px solid #524838;border-radius:8px;background:#302a22;color:#e3ba69}
.preview-row span,.preview-row small{overflow-wrap:anywhere}
.preview-row small{display:block;color:#b9ae9c;font-size:11px;font-weight:500}
.preview-row small:empty{display:none}
.preview-row strong{color:#f3d28a;padding:3px 6px;border-radius:7px;background:#352d20;font-size:11px}
.all-ranks{
  display:block;margin-top:8px;padding:8px 9px;border:1px solid #534939;border-radius:7px;text-align:center;
  color:#efd3a1;background:#322d24;font:650 11px/1.5 var(--title);
}
.all-ranks:hover{background:#473922;color:#fff4d8}
.overview-main{display:grid;grid-template-rows:auto 1fr;gap:12px;min-width:0}
.community-overview .shortcuts{margin:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.community-overview .shortcuts>a,.community-overview .shortcuts>button{padding:10px 12px;gap:7px;min-height:53px;font-size:clamp(10px,.83vw,14px)}
.community-overview .shortcuts svg{width:17px;height:17px}
.community-overview .shortcuts em{margin-left:auto;font-size:clamp(8px,.66vw,11px);padding:4px 6px}
.community-overview .recent{display:flex;flex-direction:column;margin:0;padding:15px 16px}
.recent-head h2 svg{padding:3px;width:23px;height:23px;border:1px solid #695536;border-radius:7px;background:#3a3021;color:#ffcf77}
#purchaseCount{color:#d0c4ae;font-size:12px;white-space:nowrap}
.community-overview .purchase-strip{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:center;gap:8px;
  flex:1;margin-top:12px;padding:0;overflow:visible;
}
.community-overview .purchase-card{
  min-width:0;display:grid;grid-template-rows:16px 31px auto auto;gap:3px;justify-items:center;align-content:center;
  min-height:108px;padding:9px 5px;text-align:center;background:#2c2823;border-color:#39342b;
}
.community-overview .purchase-card:nth-child(even){background:#302b24}
.community-overview .purchase-card small{grid-row:1;color:#d2bc95;font-size:10px;line-height:1.2;white-space:nowrap}
.community-overview .purchase-art{grid-row:2;width:31px;height:31px;border-radius:7px}
.community-overview .purchase-card b{grid-row:3;max-width:100%;font-size:clamp(10px,.83vw,13px);line-height:1.25;color:#d2c8b7}
.community-overview .purchase-card span{grid-row:4;width:100%;font-size:clamp(10px,.83vw,13px);font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5eee2}
.community-overview .stream-status{grid-column:1/-1}
@media(max-width:1150px){
  .community-overview .tgTile em{display:none}
  .community-overview .shortcuts>a,.community-overview .shortcuts>button{padding-inline:8px}
}
@media(max-width:860px){
  .community-overview{grid-template-columns:minmax(153px,23%) minmax(0,1fr);gap:10px}
  .community-overview .top-preview,.community-overview .recent{padding:11px}
  .community-overview .shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .community-overview .shortcuts>a,.community-overview .shortcuts>button{min-height:42px}
  .community-overview .purchase-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .community-overview{grid-template-columns:minmax(0,1fr);margin:12px 0 18px}
  .community-overview .top-preview{grid-row:2}
  .overview-main{gap:9px}
  .community-overview .purchase-strip{grid-template-columns:repeat(auto-fit,minmax(91px,1fr));gap:6px}
  .community-overview .purchase-card{min-height:97px}
  #purchaseCount{font-size:10px}
}

.payment-status{
  display:flex;align-items:center;gap:7px;margin:0;padding:9px 11px;
  border:1px solid #665331;border-radius:8px;
  background:#332a1c;color:#f4d18e;font-size:13px;font-weight:650;
}
.payment-status svg{width:16px;height:16px}
dialog p.payment-status{margin:16px 0 0;color:#f4d18e}
@media(max-width:640px){.exchangeBottom .payment-status{width:100%}}

.nick-veil{
  display:inline-block;letter-spacing:.1em;color:#d6b87f;filter:blur(1.45px);
  animation:nick-shimmer 2.8s ease-in-out infinite;
}
@keyframes nick-shimmer{0%,100%{opacity:.68;filter:blur(1.45px)}50%{opacity:1;filter:blur(2.2px)}}
@media(prefers-reduced-motion:reduce){.nick-veil{animation:none}}
.brand-notice{max-width:23ch;line-height:1.45}
.legal-copy{max-width:760px;padding:clamp(18px,4vw,36px);margin-top:16px}
.legal-copy h2{margin:22px 0 7px}.legal-copy h2:first-child{margin-top:0}
.legal-copy p{color:#ded3bf;margin:0 0 11px}.legal-copy a,.legal-back{color:#ffdc91;text-decoration:underline;text-underline-offset:3px}
.legal-back{display:inline-block;margin-top:18px}
.community-overview .purchase-card b>.nick-veil{display:inline-block;width:auto;font-size:inherit;color:#d6b87f;vertical-align:baseline}
footer .footer-notice{
  grid-column:1/-1;margin:0;padding:14px 0 0;border-top:1px solid #474137;
  color:#d5c9b5;font-size:12px;line-height:1.55;
}
footer .footer-notice a{display:inline;margin:0 0 0 6px;font-size:inherit;color:#efd399;text-decoration:underline;text-underline-offset:2px}

.millida-order{display:grid;gap:12px;margin-top:18px}
.order-field{display:grid;gap:7px;min-width:0}
.order-field label{font-size:14px;font-weight:650;color:#d7e8e7}
#orderNickname{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #6c9298;border-radius:10px;background:#0d222b;color:#f5ffff;font:500 16px/1.35 "Segoe UI",sans-serif;cursor:text}
#orderNickname::placeholder{color:#9eafb4}
#orderNickname:focus{outline:2px solid #93f5dc;outline-offset:2px}
#orderNickname[aria-invalid="true"]{border-color:#ff9cab}
#orderNicknameHint,.millida-order .payment-status{margin:0;color:#b8cbd0;font-size:13px;line-height:1.45}
.millida-order .primary{width:100%;min-height:47px}
.millida-order button:disabled{opacity:.68;cursor:progress}
.millida-order .order-error{margin:0;color:#ff9cab;font-size:14px}

.sale-badge{display:inline-block;margin:0 .45em .2em 0;vertical-align:middle;padding:.2em .48em;border-radius:6px;background:#a63352;color:white;font-size:.74em;font-weight:800;white-space:nowrap;line-height:1.2}
.sale-old{margin-left:8px;color:#b1c6cc;font-size:.78em;font-weight:500;white-space:nowrap}

.millida-order select{width:100%;min-height:44px;background:#102b35;border:1px solid #456268;border-radius:9px;color:#edfffc;padding:9px 12px;font:inherit}
.millida-order .order-agreement{display:flex;align-items:flex-start;gap:8px;font-size:13px;font-weight:400;line-height:1.5}
.millida-order .order-agreement input{width:18px;height:18px;min-height:0;flex:none;margin-top:3px;accent-color:#9cddc7}
.order-agreement a{color:#a7e7d8;text-decoration:underline}
