/* clubs.css — 🏡 Садовые клубы (2026-09-29). Все классы с префиксом cl- */
#clubs-root{max-width:860px;margin:0 auto}
.cl-wrap{display:flex;flex-direction:column;gap:12px;padding:4px 2px 24px;color:#1f3a24}
.cl-wait,.cl-empty{text-align:center;padding:26px 12px;color:#5f6b57;font-size:14px}
.cl-btn{border:0;border-radius:12px;padding:9px 14px;font:inherit;font-weight:700;font-size:14px;cursor:pointer;color:#fff;
  background:linear-gradient(135deg,#4fb35e,#2f8a3e 60%,#23703a);box-shadow:0 4px 12px -6px rgba(47,138,62,.9);transition:transform .12s,filter .2s;white-space:nowrap}
.cl-btn:active{transform:scale(.96)}.cl-btn:hover{filter:brightness(1.05)}
.cl-btn:disabled{filter:grayscale(.7);opacity:.6;cursor:default}
.cl-btn.cl-ghost{background:linear-gradient(135deg,#f1f9ec,#e1f2d8);color:#1f5130;border:1px solid #cfe6c1;box-shadow:none}
.cl-btn.cl-gold{background:linear-gradient(135deg,#fde68a,#fbbf24 55%,#f59e0b);color:#422006;box-shadow:0 4px 12px -6px rgba(245,158,11,.9)}
.cl-btn.cl-red{background:linear-gradient(135deg,#f87171,#dc2626)}
.cl-btn.cl-white{background:rgba(255,255,255,.9);color:#1f5130;box-shadow:none;padding:8px 12px}
.cl-btn.cl-big{display:block;width:100%;padding:13px;font-size:15px;margin-top:10px}
.cl-link{background:none;border:0;color:#8a948a;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline}
.cl-sec-t{font-weight:800;font-size:15px;color:#1f5130;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;margin-top:4px}
.cl-sec-t small{font-weight:600;color:#6b7b67;font-size:12px}
.cl-hint{font-size:12.5px;color:#5f6b57;line-height:1.45}
.cl-p{text-align:center;color:#4b5f47;margin:4px 0 12px}

/* лобби */
.cl-hero{text-align:center;padding:22px 18px 18px;border-radius:22px;
  background:radial-gradient(120% 90% at 100% 0%,#fef9c3 0%,transparent 55%),radial-gradient(100% 90% at 0% 100%,#dcfce7 0%,transparent 60%),linear-gradient(160deg,#f7fdf2,#eef8e6);
  border:1px solid #dcebd0;box-shadow:0 12px 26px -20px rgba(31,81,48,.6)}
.cl-hero-ic{font-size:44px;width:76px;height:76px;margin:0 auto 6px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.6),0 8px 18px -10px rgba(31,81,48,.6)}
.cl-hero-t{font-size:22px;font-weight:900;color:#1f5130}
.cl-hero-s{font-size:14px;line-height:1.5;color:#40523c;max-width:560px;margin:6px auto 10px}
.cl-hero-pts{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-bottom:6px}
.cl-hero-pts span{background:#fff;border:1px solid #dcebd0;border-radius:100px;padding:4px 10px;font-size:12.5px;font-weight:700;color:#2f5a33}
.cl-hero .cl-big{max-width:340px;margin:12px auto 0}
.cl-hero-free{font-size:12px;color:#6b7b67;margin-top:6px}
.cl-search input,.cl-inp{width:100%;box-sizing:border-box;border:1px solid #d5e5c9;border-radius:12px;padding:10px 12px;font:inherit;font-size:14px;background:#fff;color:#1f3a24}
.cl-search input:focus,.cl-inp:focus{outline:2px solid #86efac;outline-offset:-2px;border-color:#86efac}
.cl-list{display:flex;flex-direction:column;gap:8px}
.cl-card{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:linear-gradient(160deg,#fff,#f7fbf2);border:1px solid #e2ecd6;box-shadow:0 6px 16px -14px rgba(31,81,48,.55)}
.cl-emb{flex-shrink:0;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:27px;cursor:pointer;
  background:radial-gradient(circle at 35% 30%,#fff,#ecfccb);box-shadow:0 0 0 3px #f1f8ea}
.cl-mid{flex:1;min-width:0;cursor:pointer}
.cl-name{font-weight:800;font-size:15px}
.cl-motto{font-size:12.5px;color:#5f6b57;font-style:italic;margin-top:1px;overflow:hidden;text-overflow:ellipsis}
.cl-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.cl-meta span{font-size:11.5px;background:#f1f8ea;border-radius:100px;padding:2px 8px;color:#3d5a3b;font-weight:600}
.cl-act{flex-shrink:0}
.cl-full{font-size:12px;color:#9ca3af}
.cl-badge{font-size:15px;vertical-align:-1px}

/* плашки-уведомления */
.cl-note{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f0f9eb;border:1px solid #d7ebc9;font-size:13.5px;flex-wrap:wrap}
.cl-note>div{flex:1;min-width:160px}
.cl-note-ic{font-size:26px}
.cl-note-gold{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#fde68a}

/* шапка клуба */
.cl-head{display:flex;align-items:center;gap:14px;padding:16px;border-radius:22px;color:#fff;
  background:radial-gradient(90% 120% at 100% 0%,rgba(254,240,138,.35),transparent 55%),linear-gradient(135deg,#4a9d57,#2f7d3f 55%,#1f5130);box-shadow:0 14px 28px -18px rgba(31,81,48,.9)}
.cl-head-emb{flex-shrink:0;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#f0fdf4);display:flex;align-items:center;justify-content:center;font-size:36px;box-shadow:0 0 0 4px rgba(255,255,255,.3)}
.cl-head-mid{flex:1;min-width:0}
.cl-head-name{font-size:19px;font-weight:900;line-height:1.2}
.cl-head-motto{font-size:13px;opacity:.9;font-style:italic;margin-top:2px}
.cl-head-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.cl-head-meta span{background:rgba(255,255,255,.18);border-radius:100px;padding:2px 9px;font-size:12px;font-weight:700}
.cl-head-acts{display:flex;flex-direction:column;gap:6px}
.cl-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px;scrollbar-width:none}
.cl-tabs button{flex:1 0 auto;border:1px solid #d7ebc9;background:#fff;border-radius:12px;padding:9px 12px;font:inherit;font-weight:700;font-size:13.5px;color:#2f5a33;cursor:pointer;position:relative}
.cl-tabs button.on{background:linear-gradient(135deg,#4fb35e,#2f8a3e);color:#fff;border-color:transparent;box-shadow:0 6px 14px -8px rgba(47,138,62,.95)}
.cl-dot{font-style:normal;background:#ef4444;color:#fff;border-radius:100px;font-size:10.5px;padding:1px 6px;margin-left:3px}

/* панели */
.cl-panel{padding:14px;border-radius:18px;background:linear-gradient(160deg,#fff,#f7fbf2);border:1px solid #e2ecd6;box-shadow:0 8px 20px -16px rgba(31,81,48,.55)}
.cl-panel-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:14px}
.cl-panel-h span{font-size:12px;color:#6b7b67}
.cl-big-num{font-size:26px;font-weight:900;color:#1f5130;margin:4px 0 2px}
.cl-big-num small{font-size:14px;font-weight:700;color:#6b7b67}
.cl-track{position:relative;height:14px;border-radius:100px;background:#e7f1df;margin:12px 14px 40px}
.cl-track-fill{position:absolute;left:0;top:0;bottom:0;border-radius:100px;background:linear-gradient(90deg,#86efac,#22c55e,#16a34a);transition:width .6s}
.cl-chest{position:absolute;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;cursor:pointer}
.cl-chest span{width:34px;height:34px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 0 0 3px #e7f1df,0 4px 10px -4px rgba(0,0,0,.25)}
.cl-chest small{position:absolute;top:38px;font-size:10.5px;color:#6b7b67;font-weight:700;white-space:nowrap}
.cl-chest.cl-ready span{background:linear-gradient(135deg,#fef3c7,#fde68a);box-shadow:0 0 0 3px #fbbf24,0 0 16px rgba(251,191,36,.8);animation:clPulse 1.4s ease-in-out infinite}
.cl-chest.cl-open span{box-shadow:0 0 0 3px #86efac}
.cl-chest.cl-shut span{filter:grayscale(.3);opacity:.85}
@keyframes clPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
.cl-mine{font-size:13.5px;margin-bottom:6px}
.cl-bar{position:relative;height:20px;border-radius:100px;background:#e7f1df;overflow:hidden;margin-top:5px}
.cl-bar i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#a7f3d0,#34d399);border-radius:100px;transition:width .5s}
.cl-bar span{position:relative;display:block;text-align:center;font-size:11.5px;font-weight:800;line-height:20px;color:#1f3a24}
.cl-bar-gold i{background:linear-gradient(90deg,#fde68a,#f59e0b)}
.cl-lbl2{font-size:12.5px;color:#4b5f47;margin-top:10px;font-weight:600}
.cl-tasks{display:flex;flex-direction:column;gap:8px}
.cl-task{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:linear-gradient(160deg,#fff,#f7fbf2);border:1px solid #e2ecd6}
.cl-task-ic{flex-shrink:0;width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#e0f2fe);display:flex;align-items:center;justify-content:center;font-size:23px}
.cl-task-mid{flex:1;min-width:0;font-size:14px}
.cl-task-act{flex-shrink:0;max-width:150px;text-align:right}
.cl-rw{font-size:11.5px;color:#6b7b67;font-weight:600}
.cl-ok{font-size:12.5px;color:#15803d;font-weight:700}
.cl-log{display:flex;flex-direction:column;gap:2px;padding:6px 12px;border-radius:16px;background:#fbfdf8;border:1px solid #e8f0df}
.cl-log-row{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:13px;border-bottom:1px dashed #e5eedc}
.cl-log-row:last-child{border-bottom:0}
.cl-log-row small{color:#8a948a;white-space:nowrap}
.cl-foot{text-align:center;margin-top:6px}

/* участники */
.cl-mems,.cl-rank{display:flex;flex-direction:column;gap:6px}
.cl-mem,.cl-rank-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #e2ecd6}
.cl-mem.cl-me,.cl-rank-row.cl-me{background:linear-gradient(135deg,#f0fdf4,#ecfccb);border-color:#bbf7d0}
.cl-mem-n,.cl-rank-p{width:26px;text-align:center;font-weight:900;color:#6b7b67;font-size:15px}
.cl-mem-mid{flex:1;min-width:0;display:flex;flex-direction:column;font-size:14px}
.cl-mem-mid small{font-size:11.5px;color:#6b7b67;margin-top:1px}
.cl-mem-pts{text-align:right;font-weight:900;color:#1f5130;display:flex;flex-direction:column;font-size:15px}
.cl-mem-pts small{font-size:10.5px;color:#8a948a;font-weight:600}
.cl-mini{border:1px solid #d7ebc9;background:#f7fbf2;border-radius:10px;width:34px;height:34px;font-size:18px;cursor:pointer;color:#2f5a33}
.cl-invite{display:flex;gap:8px;margin-top:6px}
.cl-rank-e{font-size:24px}
.cl-mem-mini{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}
.cl-mem-mini span{background:#f1f8ea;border-radius:100px;padding:3px 9px;font-size:12.5px}

/* казна */
.cl-treas{display:flex;align-items:center;gap:14px}
.cl-treas-ic{font-size:40px;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#fef3c7);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cl-donate{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.cl-donate .cl-inp{grid-column:span 2;width:100%}
.cl-lvs{display:flex;flex-direction:column;gap:4px}
.cl-lv{display:grid;grid-template-columns:50px 1fr 1fr;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid #eef3e8;font-size:13.5px}
.cl-lv.on{background:linear-gradient(135deg,#dcfce7,#ecfccb);border-color:#86efac;font-weight:800}
.cl-lv.past{opacity:.6}
.cl-lv-h{background:none;border:0;color:#6b7b67;font-size:12px;font-weight:700}
.cl-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-items:end}
.cl-pod{text-align:center;padding:12px 6px;border-radius:16px;background:#fff;border:1px solid #e2ecd6;display:flex;flex-direction:column;gap:2px;font-size:13px}
.cl-pod1{order:2;background:linear-gradient(160deg,#fffbeb,#fef3c7);border-color:#fde68a;padding-top:18px}
.cl-pod2{order:1}.cl-pod3{order:3}
.cl-pod>div:first-child{font-size:22px}
.cl-pod-e{font-size:28px}
.cl-pod small{color:#6b7b67}

/* попап */
.cl-ov{position:fixed;inset:0;z-index:10050;background:rgba(20,35,22,.45);display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;transition:opacity .2s}
.cl-ov.show{opacity:1}
.cl-pop{position:relative;width:100%;max-width:420px;max-height:88vh;overflow:auto;background:linear-gradient(180deg,#fff,#f6fbf1);border-radius:22px;padding:22px 18px 18px;box-shadow:0 24px 50px -20px rgba(0,0,0,.5);transform:translateY(10px);transition:transform .25s}
.cl-ov.show .cl-pop{transform:none}
.cl-pop h3{text-align:center;margin:6px 0 8px;font-size:18px;color:#1f5130}
.cl-pop-ic{width:64px;height:64px;margin:0 auto;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#ecfccb);display:flex;align-items:center;justify-content:center;font-size:34px;box-shadow:0 0 0 4px #f1f8ea}
.cl-x{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;border:0;background:#f1f5ee;font-size:14px;cursor:pointer;color:#4b5f47}
.cl-lbl{display:block;font-size:12.5px;font-weight:700;color:#4b5f47;margin:10px 0 5px}
.cl-embs{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
.cl-embs button{aspect-ratio:1;border:1px solid #e2ecd6;background:#fff;border-radius:10px;font-size:20px;cursor:pointer;padding:0}
.cl-embs button.on{background:#dcfce7;outline:2px solid #22c55e;outline-offset:-2px}
.cl-seg{display:flex;gap:6px}
.cl-seg button{flex:1;border:1px solid #d7ebc9;background:#fff;border-radius:12px;padding:9px 6px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;color:#2f5a33}
.cl-seg button.on{background:#dcfce7;border-color:#22c55e}
.cl-col{display:flex;flex-direction:column;gap:8px}
.cl-gots{display:flex;flex-direction:column;gap:8px;margin:10px 0 14px}
.cl-got{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f7fbf2;border:1px solid #e2ecd6;font-size:14px}
.cl-got img{width:36px;height:36px;object-fit:contain}
.cl-got-ic{font-size:26px;width:36px;text-align:center}
.cl-pop>.cl-btn:not(.cl-x){display:block;width:100%}

@media (max-width:520px){
  .cl-head{padding:14px 12px;gap:10px}.cl-head-emb{width:52px;height:52px;font-size:29px}.cl-head-name{font-size:17px}
  .cl-card{flex-wrap:wrap}.cl-act{width:100%}.cl-act .cl-btn{width:100%}
  .cl-task{flex-wrap:wrap}.cl-task-act{max-width:none;width:100%;text-align:left;padding-left:56px}
  .cl-embs button{font-size:18px}
  .cl-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px}
  .cl-tabs button{font-size:11px;padding:8px 1px;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
}
@media (prefers-reduced-motion:reduce){.cl-chest.cl-ready span{animation:none}}

/* 2026-09-29: на ПК вся вкладка «Клубы» широкая, как поле Долины */
@media (min-width:1200px){#tab-clubs{max-width:min(1640px,calc(100vw - 48px))}#clubs-root{max-width:none}}
/* ── 2026-09-29 · Казна: две колонки на ПК, требования к уровню, лестница уровней ── */
.cl-trgrid{display:grid;grid-template-columns:1fr;gap:12px;align-items:stretch}
@media (min-width:900px){.cl-trgrid{grid-template-columns:1fr 1fr}}
.cl-treas2{justify-content:center;display:flex;flex-direction:column;gap:10px;background:linear-gradient(160deg,#FFFBEA 0%,#FFFFFF 60%);box-shadow:inset 0 0 0 1.5px #FDE68A}
.cl-treas-top{display:flex;align-items:center;gap:14px}
.cl-treas-top small{font-size:12px;color:#8a7a40;font-weight:700}
.cl-tchest{width:84px;height:84px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 8px 10px rgba(180,120,0,.25))}
.cl-tchest.emo{font-size:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#fef3c7)}
.cl-don-t{font-size:12.5px;font-weight:800;color:#6b5a2a;margin-top:2px}
.cl-mine{text-align:right;margin-top:-2px}
.cl-up{display:flex;flex-direction:column;gap:12px}
.cl-up.max{align-items:center;justify-content:center;text-align:center;font-size:16px}
.cl-up-h{display:flex;align-items:center;gap:12px}
.cl-up-h div{display:flex;flex-direction:column}.cl-up-h small{font-size:11.5px;color:#6b7b67;font-weight:700}.cl-up-h b{font-size:18px;color:#166534}.cl-up-h span{font-size:12.5px;color:#4b5a47}
.cl-up-art{width:64px;height:64px;object-fit:contain;flex-shrink:0}
.cl-up-art.emo{font-size:34px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:linear-gradient(135deg,#dcfce7,#ecfccb)}
.cl-req{display:flex;flex-direction:column;gap:5px}
.cl-req-t{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;font-weight:700}.cl-req-t b{font-size:13.5px}
.cl-req small{font-size:11.5px;color:#6b7b67}
.cl-req:not(.ok) small{color:#b45309}
.cl-req .cl-bar span{display:none}
.cl-up .cl-big{margin-top:auto}
.cl-ladder{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.cl-step{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;background:#fff;border:1.5px solid #eef3e8;border-radius:16px;padding:12px 6px 10px}
.cl-step-art{width:56px;height:56px;object-fit:contain;margin-bottom:4px}
.cl-step-art.emo{font-size:30px;display:flex;align-items:center;justify-content:center}
.cl-step b{font-size:13.5px}.cl-step span{font-size:12px;color:#4b5a47}.cl-step em{font-style:normal;font-size:11.5px;font-weight:800;color:#15803d}
.cl-step i{position:absolute;top:-8px;left:50%;transform:translateX(-50%);font-style:normal;font-size:10.5px;font-weight:900;background:#16a34a;color:#fff;border-radius:99px;padding:2px 8px;white-space:nowrap}
.cl-step i.ok{background:#86efac;color:#14532d;left:auto;right:8px;transform:none;top:8px;padding:1px 6px}
.cl-step.on{background:linear-gradient(160deg,#dcfce7,#f7fee7);border-color:#4ade80;box-shadow:0 10px 20px -14px rgba(22,101,52,.7)}
.cl-step.past{opacity:.65}
.cl-step.next{filter:saturate(.75)}
@media (max-width:700px){.cl-ladder{display:flex;overflow-x:auto;padding:8px 2px 4px}.cl-step{flex:0 0 118px}}
.cl-req .cl-bar{height:12px;margin-top:0}
/* 2026-09-29 · своя картинка в шапке клуба */
.cl-head.has-cover{background:linear-gradient(90deg,rgba(15,40,22,.78) 0%,rgba(15,40,22,.45) 45%,rgba(15,40,22,.15) 100%),var(--cl-cover) center/cover no-repeat,#1f5130;min-height:112px}
.cl-head.has-cover .cl-head-name,.cl-head.has-cover .cl-head-motto{text-shadow:0 2px 6px rgba(0,0,0,.45)}
.cl-lbl small{display:block;font-weight:600;font-size:11.5px;color:#6b7b67;margin-top:2px}
.cl-cover-ed{display:flex;flex-direction:column;gap:8px}
.cl-cover-ed.busy{opacity:.55;pointer-events:none}
.cl-cover-pv{height:84px;border-radius:14px;background:#1f5130 center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.cl-cover-pv.none{background:linear-gradient(135deg,#4a9d57,#2f7d3f 55%,#1f5130);display:flex;align-items:center;justify-content:center}
.cl-cover-pv.none span{color:#fff;font-size:12.5px;font-weight:700;opacity:.85}
.cl-cover-acts{display:flex;gap:6px}.cl-cover-acts .cl-btn{flex:1;cursor:pointer;text-align:center}
/* 2026-09-29 · вкладка «Клуб» на ПК — две колонки: очки и задания слева, жизнь клуба справа */
.cl-main2{display:flex;flex-direction:column;gap:12px}
.cl-main-l,.cl-main-r{display:flex;flex-direction:column;gap:12px;min-width:0}
@media (min-width:1000px){
  .cl-main2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:18px;align-items:start}
  .cl-main-r{position:sticky;top:12px}
  .cl-main-r .cl-sec-t:first-child,.cl-main-l .cl-sec-t{margin-top:0}
}
/* 2026-09-29 · вкладка «Состав»: карточки участников, на ПК 3 колонки */
.cl-mstat{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.cl-mstat div{background:#fff;border:1px solid #e2ecd6;border-radius:14px;padding:8px 12px;display:flex;flex-direction:column;min-width:0}
.cl-mstat small{font-size:11.5px;color:#6b7b67;font-weight:700}.cl-mstat b{font-size:19px;color:#1f5130;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-mstat b i{font-style:normal;font-size:13px;color:#8a948a}
.cl-mgrid{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:700px){.cl-mgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.cl-mgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cl-mc{position:relative;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e2ecd6;border-radius:18px;padding:12px 14px;box-shadow:0 8px 18px -16px rgba(31,81,48,.6)}
.cl-mc.cl-me{background:linear-gradient(135deg,#f0fdf4,#f7fee7);border-color:#86efac}
.cl-mc.owner{box-shadow:inset 0 3px 0 #f59e0b,0 8px 18px -16px rgba(31,81,48,.6)}
.cl-mc.officer{box-shadow:inset 0 3px 0 #60a5fa,0 8px 18px -16px rgba(31,81,48,.6)}
.cl-mc-top{display:flex;align-items:center;gap:10px}
.cl-ava{position:relative;flex-shrink:0;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:19px;color:#fff;
  background:linear-gradient(135deg,hsl(var(--h),62%,58%),hsl(calc(var(--h) + 40),58%,42%))}
.cl-ava i.on{position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2.5px #fff}
.cl-mc-n{flex:1;min-width:0;display:flex;flex-direction:column}
.cl-mc-n b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-mc-n b em{font-style:normal;font-size:11px;background:#dcfce7;color:#166534;border-radius:99px;padding:1px 7px;vertical-align:2px}
.cl-mc-n small{font-size:12px;color:#6b7b67}
.cl-role{font-weight:800;color:#b45309}.cl-role.officer{color:#2563eb}.cl-on{color:#16a34a;font-weight:800}
.cl-medal{font-size:24px;line-height:1}
.cl-mc .cl-mini{flex-shrink:0}
.cl-mc-pts{display:flex;align-items:baseline;gap:6px}
.cl-mc-pts b{font-size:22px;font-weight:900;color:#1f5130}.cl-mc-pts small{font-size:12px;color:#6b7b67;flex:1}.cl-mc-pts span{font-size:12px;font-weight:800;color:#15803d}
.cl-mc-bar{height:6px;border-radius:99px;background:#eef5e7;overflow:hidden}.cl-mc-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#86efac,#16a34a)}
.cl-mc-don{font-size:12px;color:#92400e;background:#fffbeb;border-radius:10px;padding:4px 8px;align-self:flex-start}
.cl-mc-empty{align-items:center;justify-content:center;text-align:center;border-style:dashed;background:transparent;box-shadow:none;color:#6b7b67;min-height:120px;gap:2px}
.cl-mc-empty span{font-size:26px;opacity:.7}.cl-mc-empty b{font-size:14px}.cl-mc-empty small{font-size:12px}
.cl-mc-req{border-color:#fcd34d;background:#fffdf5}
.cl-mc-acts{display:flex;gap:6px}.cl-mc-acts .cl-btn{flex:1}
.cl-inv2{display:flex;flex-direction:column;gap:8px}
@media (max-width:600px){.cl-mstat{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 2026-09-29 · вкладка «Рейтинг»: пьедестал + колонка наград */
.cl-top2{display:flex;flex-direction:column;gap:14px}
.cl-top-l,.cl-top-r{display:flex;flex-direction:column;gap:12px;min-width:0}
@media (min-width:1000px){.cl-top2{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:18px;align-items:start}}
.cl-podium2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;padding-top:14px}
.cl-pd{display:flex;flex-direction:column;align-items:stretch;min-width:0}
.cl-pd-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:26px 10px 12px;border-radius:20px 20px 0 0;color:#1f3a24;
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.97)),var(--cv,none) center/cover;border:1px solid #e2ecd6;border-bottom:0}
.cl-pd-med{position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-size:34px;line-height:1;filter:drop-shadow(0 4px 6px rgba(0,0,0,.2))}
.cl-pd-emb{width:62px;height:62px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#f0fdf4);display:flex;align-items:center;justify-content:center;font-size:34px;box-shadow:0 0 0 3px #e7f1df;margin-bottom:6px}
.cl-pd b{font-size:15px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-pd small{font-size:12px;color:#6b7b67}
.cl-pd-pts{margin-top:6px;font-size:22px;font-weight:900;color:#1f5130}.cl-pd-pts i{font-style:normal;font-size:12px;font-weight:700;color:#6b7b67}
.cl-pd-step{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:0 0 16px 16px;color:#fff;font-weight:900;gap:2px}
.cl-pd-step span{font-size:28px;line-height:1;opacity:.9}.cl-pd-step em{font-style:normal;font-size:12px;font-weight:800;background:rgba(255,255,255,.25);border-radius:99px;padding:2px 8px}
.cl-pd1 .cl-pd-step{height:96px;background:linear-gradient(180deg,#fbbf24,#d97706)}
.cl-pd2 .cl-pd-step{height:66px;background:linear-gradient(180deg,#cbd5e1,#94a3b8)}
.cl-pd3 .cl-pd-step{height:48px;background:linear-gradient(180deg,#f0a36b,#c2703a)}
.cl-pd1 .cl-pd-card{box-shadow:0 -10px 30px -18px rgba(217,119,6,.8)}
.cl-pd.me .cl-pd-card{border-color:#4ade80;box-shadow:0 0 0 2px #86efac}
.cl-pd.free .cl-pd-card{background:rgba(255,255,255,.55);border-style:dashed;color:#8a948a}.cl-pd.free .cl-pd-emb{opacity:.5}.cl-pd.free .cl-pd-step{opacity:.45}
.cl-rank-e{font-size:26px}
.cl-tprize{display:flex;flex-direction:column;gap:10px}
.cl-tcount{display:flex;align-items:baseline;gap:8px}.cl-tcount small{font-size:12px;color:#6b7b67;font-weight:700}.cl-tcount b{font-size:22px;color:#1f5130}
.cl-tpz{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.cl-tpz div{display:flex;flex-direction:column;align-items:center;background:#fffbeb;border-radius:14px;padding:8px 4px}.cl-tpz span{font-size:24px}.cl-tpz b{font-size:14px}
.cl-tme{display:flex;flex-direction:column;gap:6px;background:linear-gradient(135deg,#f0fdf4,#f7fee7);border-color:#bbf7d0}
.cl-tme>small{font-size:12px;color:#166534;font-weight:800}
.cl-tme-row{display:flex;align-items:center;gap:12px}.cl-tme-pl{font-size:32px;font-weight:900;color:#1f5130;min-width:48px;text-align:center}
.cl-tme-row div{display:flex;flex-direction:column}.cl-tme-row b{font-size:18px}.cl-tme-row span{font-size:12.5px;color:#4b5a47}
.cl-prev-row{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px dashed #e5eedc;font-size:14px}.cl-prev-row:first-of-type{border-top:0}
.cl-prev-row b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-prev-row small{color:#6b7b67;font-weight:700}.cl-prev-e{font-size:20px}
@media (max-width:600px){.cl-podium2{gap:6px}.cl-pd-card{padding:22px 4px 10px}.cl-pd-emb{width:46px;height:46px;font-size:26px}.cl-pd b{font-size:12.5px}.cl-pd-pts{font-size:17px}.cl-pd-med{font-size:28px;top:-15px}.cl-pd-step em{font-size:10.5px;padding:1px 5px}}

/* 🌙 6.10 · Ночная тема для Клубов — тёмные карточки в тон саду, светлые читаемые тексты */
body.dark .cl-wrap{color:#f0eefb}
body.dark .cl-wait,body.dark .cl-empty,body.dark .cl-hint,body.dark .cl-p{color:#b6b0d8}
body.dark .cl-sec-t{color:#86efac}
body.dark .cl-sec-t small,body.dark .cl-panel-h span,body.dark .cl-big-num small,body.dark .cl-rw,body.dark .cl-lbl2,body.dark .cl-mem-mid small,body.dark .cl-mem-pts small,body.dark .cl-mc-n small,body.dark .cl-mc-pts small,body.dark .cl-mstat small,body.dark .cl-up-h small,body.dark .cl-up-h span,body.dark .cl-req small,body.dark .cl-step span,body.dark .cl-pd small,body.dark .cl-pd-pts i,body.dark .cl-tcount small,body.dark .cl-tme-row span,body.dark .cl-prev-row small,body.dark .cl-pod small,body.dark .cl-lbl small,body.dark .cl-hero-free,body.dark .cl-log-row small,body.dark .cl-chest small,body.dark .cl-full,body.dark .cl-link,body.dark .cl-motto,body.dark .cl-lv-h,body.dark .cl-mem-n,body.dark .cl-rank-p,body.dark .cl-mstat b i{color:#b6b0d8}
body.dark .cl-req:not(.ok) small{color:#fbbf24}
body.dark .cl-ok,body.dark .cl-on,body.dark .cl-mc-pts span,body.dark .cl-step em{color:#4ade80}
body.dark .cl-role{color:#fbbf24}body.dark .cl-role.officer{color:#93c5fd}
/* карточки и панели */
body.dark .cl-card,body.dark .cl-panel,body.dark .cl-task,body.dark .cl-mem,body.dark .cl-rank-row,body.dark .cl-mc,body.dark .cl-mstat div,body.dark .cl-step,body.dark .cl-pod,body.dark .cl-lv,body.dark .cl-gots .cl-got,body.dark .cl-log{
  background:linear-gradient(160deg,rgba(33,29,72,.94),rgba(22,38,40,.92));border-color:rgba(134,239,172,.18);color:#f0eefb;box-shadow:0 10px 24px -18px rgba(0,0,0,.8)}
body.dark .cl-mem.cl-me,body.dark .cl-rank-row.cl-me,body.dark .cl-mc.cl-me,body.dark .cl-tme,body.dark .cl-lv.on,body.dark .cl-step.on{
  background:linear-gradient(135deg,rgba(34,197,94,.22),rgba(132,204,22,.12));border-color:#4ade80}
body.dark .cl-mc-empty{background:transparent;border-color:rgba(167,139,250,.35);color:#b6b0d8}
body.dark .cl-mc-req{background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.5)}
body.dark .cl-mc.owner{box-shadow:inset 0 3px 0 #f59e0b,0 10px 24px -18px rgba(0,0,0,.8)}
body.dark .cl-mc.officer{box-shadow:inset 0 3px 0 #60a5fa,0 10px 24px -18px rgba(0,0,0,.8)}
body.dark .cl-ava i.on{box-shadow:0 0 0 2.5px #1f1c44}
body.dark .cl-mc-n b em{background:rgba(74,222,128,.18);color:#86efac}
body.dark .cl-mc-don{background:rgba(251,191,36,.14);color:#fde68a}
body.dark .cl-big-num,body.dark .cl-mem-pts,body.dark .cl-mc-pts b,body.dark .cl-mstat b,body.dark .cl-tcount b,body.dark .cl-tme-pl,body.dark .cl-pd-pts,body.dark .cl-up-h b{color:#bbf7d0}
body.dark .cl-tme>small{color:#86efac}
body.dark .cl-log-row,body.dark .cl-prev-row{border-color:rgba(167,139,250,.2)}
/* лобби */
body.dark .cl-hero{background:radial-gradient(120% 90% at 100% 0%,rgba(250,204,21,.16) 0%,transparent 55%),radial-gradient(100% 90% at 0% 100%,rgba(74,222,128,.16) 0%,transparent 60%),linear-gradient(160deg,#1e1b42,#162a2c);border-color:rgba(134,239,172,.2)}
body.dark .cl-hero-t{color:#bbf7d0}body.dark .cl-hero-s{color:#d6d2ee}
body.dark .cl-hero-ic,body.dark .cl-emb,body.dark .cl-pop-ic,body.dark .cl-pd-emb,body.dark .cl-task-ic,body.dark .cl-treas-ic,body.dark .cl-tchest.emo{background:radial-gradient(circle at 35% 30%,#3b3570,#1f1c44);box-shadow:0 0 0 3px rgba(134,239,172,.25)}
body.dark .cl-hero-pts span,body.dark .cl-meta span,body.dark .cl-mem-mini span{background:rgba(255,255,255,.08);border-color:rgba(167,139,250,.25);color:#e9e6fb}
body.dark .cl-search input,body.dark .cl-inp{background:#141130;border-color:rgba(167,139,250,.35);color:#f0eefb}
body.dark .cl-search input::placeholder,body.dark .cl-inp::placeholder{color:#8f89b5}
/* плашки */
body.dark .cl-note{background:rgba(74,222,128,.1);border-color:rgba(74,222,128,.3);color:#e9e6fb}
body.dark .cl-note-gold{background:linear-gradient(135deg,#3a2f14,#4a3a17);border-color:#7a5f22;color:#fde68a}
/* кнопки */
body.dark .cl-btn.cl-ghost,body.dark .cl-mini{background:rgba(134,239,172,.1);color:#bbf7d0;border:1px solid rgba(134,239,172,.3)}
body.dark .cl-btn.cl-white{background:rgba(255,255,255,.14);color:#fff}
body.dark .cl-tabs button{background:rgba(33,29,72,.9);border-color:rgba(167,139,250,.28);color:#d6d2ee}
body.dark .cl-tabs button.on{background:linear-gradient(135deg,#22c55e,#15803d);color:#fff;border-color:transparent}
body.dark .cl-seg button,body.dark .cl-embs button{background:#1f1c44;border-color:rgba(167,139,250,.3);color:#e9e6fb}
body.dark .cl-seg button.on,body.dark .cl-embs button.on{background:rgba(74,222,128,.2);border-color:#22c55e}
/* шкалы */
body.dark .cl-track,body.dark .cl-bar,body.dark .cl-mc-bar{background:rgba(255,255,255,.1)}
body.dark .cl-bar span{color:#f0eefb;text-shadow:0 1px 2px rgba(0,0,0,.6)}
body.dark .cl-chest span{background:#2a2558;box-shadow:0 0 0 3px rgba(255,255,255,.1),0 4px 10px -4px rgba(0,0,0,.5)}
body.dark .cl-chest.cl-ready span{background:linear-gradient(135deg,#78350f,#b45309)}
/* казна, уровни */
body.dark .cl-treas2{background:linear-gradient(160deg,#3a2f14,#231d3f 70%);box-shadow:inset 0 0 0 1.5px #7a5f22}
body.dark .cl-treas-top small,body.dark .cl-don-t{color:#f3d58a}
body.dark .cl-up-art.emo{background:rgba(74,222,128,.15)}
body.dark .cl-step i.ok{background:#166534;color:#bbf7d0}
/* рейтинг */
body.dark .cl-pd-card{background:linear-gradient(180deg,rgba(30,27,66,.88),rgba(30,27,66,.96)),var(--cv,none) center/cover;border-color:rgba(167,139,250,.28);color:#f0eefb}
body.dark .cl-pd.free .cl-pd-card{background:rgba(30,27,66,.5);color:#8f89b5}
body.dark .cl-pod1,body.dark .cl-tpz div{background:linear-gradient(135deg,#3a2f14,#4a3a17);border-color:#7a5f22;color:#fde68a}
/* попап */
body.dark .cl-ov{background:rgba(5,8,20,.6)}
body.dark .cl-pop{background:linear-gradient(180deg,#221e4a,#17142f);color:#f0eefb}
body.dark .cl-pop h3{color:#bbf7d0}
body.dark .cl-lbl{color:#d6d2ee}
body.dark .cl-x{background:rgba(255,255,255,.1);color:#e9e6fb}
/* сундук «получено» — не путать с плашкой .cl-got из попапа */
.cl-chest.cl-got,body.dark .cl-chest.cl-got{flex-direction:column;gap:0;padding:0;background:none;border:0;box-shadow:none;font-size:inherit}
