/* Community 2.0 — scoped to the community and the account settings block. */
.cm-community-page{background:#070e1b!important;color:#e7effb!important}.cm-community-page .panel{min-width:0;background:#080f1c}.cm-community-page .panel-header{border-bottom:1px solid #243047;background:#0b1423}.cmc{--cmc-line:#243349;--cmc-muted:#a5b6ce;--cmc-accent:#67e8f9;max-width:1580px;margin:auto;padding:28px clamp(18px,3vw,46px) 70px;font-family:Inter,system-ui,-apple-system,sans-serif;color:#eaf1fc}.cmc *,.cmc-settings *{box-sizing:border-box}.cmc h1,.cmc h2,.cmc h3,.cmc-settings h2{color:#f4f8ff!important;line-height:1.2}.cmc h2{font-size:21px;letter-spacing:-.6px;margin:6px 0 10px}.cmc p{color:var(--cmc-muted);line-height:1.65}.cmc a{color:inherit;text-decoration:none}.cmc button,.cmc input,.cmc select,.cmc textarea,.cmc-settings button,.cmc-settings textarea{font:inherit}.cmc :is(a,button,input,select,textarea):focus-visible,.cmc-settings :is(a,button,input,textarea):focus-visible{outline:2px solid #67e8f9;outline-offset:4px}.cmc-topline{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12px;color:#a3b8d1;margin-bottom:28px}.cmc-topline>div{display:flex;gap:20px}.cmc-topline a:hover,.cmc-back:hover{color:#67e8f9}.cmc-eyebrow{display:block;color:#81dfe9;font-size:10px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}.cmc-eyebrow i{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#5eead4;box-shadow:0 0 14px #5eead4}.cmc-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;overflow:hidden;isolation:isolate;border:1px solid #2b3b55;border-radius:24px;padding:38px 36px;background:radial-gradient(ellipse at 83% 44%,#183553 0,transparent 53%),linear-gradient(115deg,#122037,#101626 72%)}.cmc-hero:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(#53729155 .6px,transparent .6px);background-size:24px 24px;mask-image:linear-gradient(90deg,transparent,#000)}.cmc-hero h1{font-size:clamp(29px,3.05vw,46px);font-weight:780;letter-spacing:-1.8px;line-height:1.16;margin:20px 0 16px}.cmc-hero h1 em{font-style:normal;color:#84e5ef}.cmc-hero-copy>p{max-width:530px;font-size:14px;line-height:1.8;margin-bottom:25px}.cmc-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.cmc-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 16px;min-height:42px;border:1px solid #354961;border-radius:10px;background:#142239;color:#e9f5ff!important;text-decoration:none;font-size:12px!important;font-weight:750;cursor:pointer;transition:background .18s,border-color .18s}.cmc-btn:hover{background:#203550;border-color:#6499b8}.cmc-btn.cmc-primary{background:#7ce5ee;border-color:#7ce5ee;color:#082331!important;box-shadow:0 4px 18px #5ce3ff13}.cmc-btn.cmc-primary:hover{background:#a4f5f9}.cmc button:disabled,.cmc-settings button:disabled{cursor:default;opacity:.7}.cmc-orbit{position:relative;min-height:245px;align-self:center}.cmc-orbit-ring{width:220px;height:220px;border:1px solid #75dbed26;border-radius:50%;position:absolute;left:50%;top:44%;transform:translate(-50%,-50%) rotate(-23deg);box-shadow:0 0 45px #32b2cb0a}.cmc-orbit-ring.second{width:160px;height:160px;border-style:dashed;border-color:#77b4ec4a}.cmc-orbit-core{width:108px;height:108px;position:absolute;top:44%;left:50%;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:32px;background:radial-gradient(circle at 30% 15%,#3b5e81,#142745 70%);border:1px solid #6489a5;box-shadow:0 0 70px #5ce5fa22,inset 0 0 22px #87e3f31a;font-size:55px}.cmc-orbit-node{position:absolute;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;border:1px solid #548099;background:#18314b;box-shadow:0 10px 30px #0005;font-size:25px;color:#a5f3fc}.cmc-orbit-node.n1{left:8%;top:17%;transform:rotate(-12deg)}.cmc-orbit-node.n2{right:4%;top:32%;transform:rotate(12deg);background:#352f56;color:#d0baff;border-color:#736898}.cmc-orbit-node.n3{left:27%;bottom:4%;transform:rotate(-7deg);background:#123d41;color:#89edcc}.cmc-orbit-caption{position:absolute;bottom:-17px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:2px;color:#81a6bd;text-transform:uppercase}.cmc-tabs{display:flex;gap:26px;overflow:auto;border-bottom:1px solid var(--cmc-line);margin:26px 0 32px;scrollbar-width:thin}.cmc-tabs a{display:block;flex:0 0 auto;padding:13px 2px 15px;color:#9cb0c9;font-size:13px;font-weight:650;border-bottom:2px solid transparent}.cmc-tabs a:hover,.cmc-tabs a.is-active{color:#9cf0f6;border-color:#70dfe9}.cmc-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:26px;align-items:start}.cmc-main-column{min-width:0}.cmc-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.cmc-section-head p{font-size:13px;margin:5px 0 0}.cmc-total{font-size:11px;color:#aac0da;white-space:nowrap;border:1px solid #2d3d52;background:#101d2e;border-radius:8px;padding:6px 9px}.cmc-filter-form{margin-bottom:22px}.cmc-filter-form label{display:flex;flex-direction:column;gap:7px;color:#a7bad1;font-size:11px}.cmc input[type=search],.cmc select,.cmc textarea,.cmc-settings textarea{width:100%;color:#ebf5ff;background:#101d2d;border:1px solid #314258;border-radius:10px;padding:11px 12px;box-shadow:none;color-scheme:dark;min-width:0}.cmc input[type=search]{font-size:13px;height:48px}.cmc input::placeholder,.cmc textarea::placeholder,.cmc-settings textarea::placeholder{color:#889bb4;opacity:1}.cmc-selects{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;align-items:end;gap:10px;margin-top:13px}.cmc select{font-size:12px;height:42px;padding-right:24px}.cmc-filter-summary{display:flex;flex-wrap:wrap;gap:12px;font-size:12px}.cmc-filter-summary a{color:#8eecf2}.cmc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.cmc-resource{--tile:#4aa9dc;min-width:0;overflow:hidden;border:1px solid #28364a;border-radius:16px;background:#101a2a;transition:border-color .2s,transform .2s}.cmc-resource:hover{border-color:#52758d;transform:translateY(-3px)}.cmc-resource[data-type=flashcard]{--tile:#9977ed}.cmc-resource[data-type=examen]{--tile:#36bfa1}.cmc-resource[data-type=live_resumen]{--tile:#edac58}.cmc-resource[data-type=cuadro_resumen]{--tile:#599dee}.cmc-cover{position:relative;display:flex;align-items:center;justify-content:center;height:136px;overflow:hidden;background:linear-gradient(130deg,color-mix(in srgb,var(--tile) 24%,#111c2c),#121e2f)}.cmc-cover-pattern{position:absolute;width:180px;height:180px;border-radius:50%;border:1px solid color-mix(in srgb,var(--tile) 30%,transparent);right:-22px;top:-38px;box-shadow:0 0 0 28px color-mix(in srgb,var(--tile) 6%,transparent),0 0 0 57px color-mix(in srgb,var(--tile) 5%,transparent)}.cmc-cover:after{content:'';position:absolute;inset:0;background-image:radial-gradient(color-mix(in srgb,var(--tile) 38%,transparent) 1px,transparent 1px);background-size:16px 16px;mask-image:linear-gradient(125deg,transparent,#000)}.cmc-cover-icon{display:grid;place-items:center;z-index:1;width:66px;height:66px;font-size:38px;font-weight:500;border:1px solid color-mix(in srgb,var(--tile) 70%,transparent);border-radius:17px;background:color-mix(in srgb,var(--tile) 16%,#152237);color:color-mix(in srgb,var(--tile) 60%,white);transform:rotate(-9deg);box-shadow:0 9px 22px #0003}.cmc-cover-label{position:absolute;left:14px;bottom:10px;font-size:9px;color:#d1e2f7;letter-spacing:1px;text-transform:uppercase}.cmc-cover-arrow{position:absolute;right:14px;top:12px;color:#d1e2f7;font-size:18px}.cmc-resource-body{padding:16px}.cmc-resource-meta{display:flex;justify-content:space-between;gap:8px;color:#90a5be;font-size:9px}.cmc-resource-meta>span{color:color-mix(in srgb,var(--tile) 55%,white)}.cmc-resource h3{font-size:16px;line-height:1.45;margin:10px 0 15px;min-height:46px;overflow-wrap:anywhere;font-weight:700;letter-spacing:-.2px}.cmc-resource h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cmc-author{display:flex;align-items:center;gap:8px;font-size:11px;color:#b6c7dc!important;min-width:0}.cmc-author img{width:28px;height:28px;border-radius:50%;object-fit:cover;margin:0;border:1px solid #43546a}.cmc-author span,.cmc-author strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmc-author:hover{color:#8eeef2!important}.cmc-resource-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:15px;padding-top:13px;border-top:1px solid #263246}.cmc-brain{display:inline-flex;align-items:center;gap:6px;min-height:34px;background:#1a283c;border:1px solid #35465d;border-radius:9px;padding:6px 9px;color:#c8d7ea;font-size:11px;cursor:pointer}.cmc-brain:hover,.cmc-brain.is-liked{background:#2b2442;border-color:#a589cb;color:#f0e7ff}.cmc-brain-label{font-size:10px}.cmc-open{font-size:11px;font-weight:750;color:#9aebf0!important;white-space:nowrap}.cmc-open span{margin-left:6px}.cmc-side{display:flex;flex-direction:column;gap:20px}.cmc-side-card{padding:21px 18px;border:1px solid #2b3a50;border-radius:16px;background:linear-gradient(130deg,#142033,#101927)}.cmc-side-card h2{font-size:17px;line-height:1.35;margin:10px 0}.cmc-side-card h2 span{color:#e6c58c}.cmc-side-card p{font-size:11px;line-height:1.7}.cmc-mini-ranking{padding:0!important;margin:20px 0!important;list-style:none}.cmc-mini-ranking li+li{margin-top:18px}.cmc-mini-ranking a{display:grid;grid-template-columns:17px 36px minmax(0,1fr);gap:9px;align-items:center}.cmc-position{font-size:12px;font-weight:700;color:#91a3bc}.cmc-position[data-rank='1']{color:#f3cd78}.cmc-position[data-rank='2']{color:#cfddf4}.cmc-position[data-rank='3']{color:#e0a384}.cmc-mini-ranking img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid #4a5a70}.cmc-mini-ranking strong{display:block;font-size:11px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.cmc-mini-ranking small{display:block;font-size:9px;color:#97adc7;margin-top:4px}.cmc-side-link{display:block;padding-top:15px;border-top:1px solid #2b3a50;font-size:11px;color:#8ee8ee!important}.cmc-invitation{background:radial-gradient(ellipse at 0 0,#23435299,transparent 68%),#111e2d}.cmc-invitation h2{font-size:21px;font-weight:650;letter-spacing:-.5px}.cmc-invitation .cmc-btn{width:100%;margin-top:12px}.cmc-side-symbol{display:block;font-size:28px;color:#81e7e8}.cmc-community-values{padding:0 10px}.cmc-community-values strong{font-size:12px;color:#a9bbcf}.cmc-community-values p{font-size:10px;color:#7e94af}.cmc-pager{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:25px}.cmc-pager>span{margin-right:auto;font-size:12px;color:#91a7c2}.cmc-empty{padding:38px 20px;text-align:center;border:1px dashed #354962;border-radius:16px;background:#101d2a}.cmc-empty>span{font-size:32px;color:#8cdfe7}.cmc-empty h3{font-size:18px;margin:13px 0 7px}.cmc-empty p{font-size:13px}.cmc-empty-small{padding:24px 15px;margin-top:15px}.cmc-muted{font-size:13px;color:#a5b6ce}.cmc-back{display:inline-block;margin:0 0 20px;font-size:12px;color:#a2bed6!important}.cmc-profile{overflow:hidden;border:1px solid #33465e;border-radius:22px;background:#101b2c}.cmc-profile-banner{height:105px;position:relative;display:flex;align-items:center;justify-content:flex-end;padding:0 30px;background:radial-gradient(ellipse at 70% 70%,#42758244,transparent 65%),repeating-linear-gradient(125deg,transparent 0 45px,#55cde411 46px 47px),linear-gradient(125deg,#183955,#24304e)}.cmc-profile-banner span{color:#a7dce5;font-size:9px;letter-spacing:2px;text-align:right;max-width:210px;line-height:1.8}.cmc-profile-content{padding:0 30px 26px}.cmc-profile-identity{display:flex;align-items:center;gap:22px;margin-top:-28px;position:relative}.cmc-profile-identity img.cmc-profile-avatar{flex-shrink:0;width:108px;height:108px;object-fit:cover;border-radius:26px;border:5px solid #101b2c;background:#15263e}.cmc-profile-identity>div{padding-top:36px;min-width:0}.cmc-profile h1{font-size:30px;letter-spacing:-1px;margin:8px 0;overflow-wrap:anywhere}.cmc-member-since{font-size:11px;margin:8px 0}.cmc-seen{color:#9ae8d6}.cmc-bio{max-width:740px;font-size:14px;white-space:normal;overflow-wrap:anywhere;margin:22px 0}.cmc-bio a{color:#8ce9ee}.cmc-profile-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:24px;padding-top:22px;border-top:1px solid #2b3b50}.cmc-metrics{display:flex;gap:30px;flex-wrap:wrap}.cmc-metrics strong{display:block;font-size:23px;font-weight:700;color:#eef6ff}.cmc-metrics span{font-size:10px;color:#a0b7d0}.cmc-profile-appreciation{text-align:right}.cmc-profile-appreciation>small{display:block;font-size:10px;color:#a4b6cb;margin-bottom:9px}.cmc-profile-appreciation .cmc-brain{padding:10px 14px}.cmc-rank-form{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.cmc-rank-form label{min-width:200px}.cmc-ranking-list{border:1px solid #2e3f55;border-radius:18px;overflow:hidden}.cmc-rank-row{display:grid;grid-template-columns:24px 52px minmax(0,1fr) 110px 110px;align-items:center;gap:18px;padding:19px 24px;background:#101c2e}.cmc-rank-row:nth-child(-n+3){background:linear-gradient(115deg,#1d2b41,#122132)}.cmc-rank-row+.cmc-rank-row{border-top:1px solid #2b3a50}.cmc-rank-row:hover{background:#21344a}.cmc-rank-row img{width:52px;height:52px;border-radius:16px;object-fit:cover}.cmc-rank-name{min-width:0}.cmc-rank-name strong{font-size:15px;display:block;overflow-wrap:anywhere}.cmc-rank-name small,.cmc-rank-stat small{display:block;font-size:10px;color:#91acc7;margin-top:5px}.cmc-rank-stat{text-align:right}.cmc-rank-stat b{font-size:18px}.cmc-activity,.cmc-wall{margin-top:35px;padding-top:30px;border-top:1px solid #2d3c50;scroll-margin-top:85px}#cmc-discover{scroll-margin-top:85px}.cmc-compose{padding:20px;border:1px solid #34485e;border-radius:15px;background:#112034}.cmc-compose label{display:block;font-size:12px;color:#c1d5eb;margin-bottom:12px}.cmc textarea,.cmc-settings textarea{resize:vertical;min-height:100px;line-height:1.6;font-size:13px}.cmc-compose>div{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:13px}.cmc-compose small{color:#9aafc9;font-size:10px}.cmc-note{padding:19px 0;border-bottom:1px solid #28384c}.cmc-note-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.cmc-note-head time,.cmc-note>small{font-size:10px;color:#91a6bf}.cmc-note>small{display:block;margin-top:10px}.cmc-note p{color:#d0deef;font-size:13px;overflow-wrap:anywhere}.cmc-note>a{font-size:12px;color:#8deaf0}.cmc-note-actions{display:flex;gap:16px}.cmc-note-actions button{background:transparent;border:0;padding:4px 0;color:#9badc5;font-size:10px;cursor:pointer}.cmc-note-actions button:hover{color:#fca5a5}.cmc-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:9500;max-width:min(540px,90vw);border:1px solid #6bbdc4;border-radius:12px;box-shadow:0 12px 50px #0008;background:#152e3c;color:#e2ffff;padding:16px 22px;font-size:13px}.cmc-toast.is-error{background:#3b202d;border-color:#e87e9d}.cmc [hidden],.cmc-settings [hidden]{display:none!important}.cmc [data-cmc-form-status],.cmc-settings [data-cmc-form-status]{font-size:12px;color:#9ae6cd;margin:12px 0 0}.cmc [data-cmc-form-status].is-error,.cmc-settings [data-cmc-form-status].is-error{color:#ffb9ca}.cmc-settings{--cmc-muted:#a5b6ce;padding:26px;border-top:1px solid #35455e;background:#101c2e;color:#dfeeff;scroll-margin-top:80px}.cmc-settings>div>p{color:#afc2d9!important;font-size:13px;line-height:1.65}.cmc-settings h2{font-size:22px;margin:8px 0}.cmc-settings>form{margin-top:22px}.cmc-settings form>label{display:block;font-size:13px;margin:0 0 9px;color:#d7e9fc}.cmc-settings small{font-size:11px;color:#abc0d8!important}.cmc-settings .cmc-switches{margin:22px 0}.cmc-settings .cmc-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-top:1px solid #2c3e53;cursor:pointer}.cmc-switch strong{font-size:13px;font-weight:650;color:#edf5ff}.cmc-switch small{display:block;line-height:1.6;margin-top:5px}.cmc-switch input[type=checkbox]{appearance:auto;accent-color:#7ce5ee;width:20px;height:20px;flex:0 0 20px;cursor:pointer}.cmc-settings .cmc-privacy-note{font-size:11px;color:#a4b8d1!important;line-height:1.65;max-width:700px;margin-bottom:20px}
@media(min-width:1580px){.cmc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cmc-layout{grid-template-columns:minmax(0,1fr) 290px;gap:30px}}
@media(max-width:1180px){.cmc-layout{grid-template-columns:minmax(0,1fr)}.cmc-side{display:grid;grid-template-columns:1fr 1fr}.cmc-community-values{grid-column:1/-1}.cmc-hero{grid-template-columns:minmax(0,1fr) 220px;padding:30px}.cmc-hero h1{font-size:35px}.cmc-orbit-ring{width:190px;height:190px}.cmc-mini-ranking{display:grid;gap:15px}.cmc-mini-ranking li+li{margin:0}}
@media(max-width:650px){.cmc{padding:20px 16px 50px}.cmc-topline{font-size:11px;margin-bottom:20px}.cmc-topline>div{gap:14px}.cmc-hero{display:block;padding:26px 22px}.cmc-hero h1{font-size:32px;letter-spacing:-1.2px}.cmc-orbit{display:none}.cmc-hero-copy>p{font-size:13px}.cmc-hero-actions{flex-direction:column;align-items:stretch}.cmc-tabs{gap:22px;margin:18px 0 26px}.cmc-tabs a{font-size:12px}.cmc-side{grid-template-columns:1fr}.cmc-grid{grid-template-columns:1fr}.cmc-selects{grid-template-columns:1fr 1fr}.cmc-search>span{font-size:11px}.cmc-section-head{align-items:start}.cmc-section-head h2{font-size:20px}.cmc-total{font-size:10px}.cmc-cover{height:150px}.cmc-resource h3{min-height:0;font-size:17px}.cmc-resource-meta{font-size:10px}.cmc-profile-content{padding:0 18px 22px}.cmc-profile-identity{align-items:start;gap:12px}.cmc-profile-identity img.cmc-profile-avatar{width:80px;height:80px;border-radius:22px}.cmc-profile-identity>div{padding-top:35px}.cmc-profile h1{font-size:24px}.cmc-profile-identity .cmc-eyebrow{font-size:8px;letter-spacing:1px}.cmc-profile-banner{height:90px;padding:0 18px}.cmc-profile-banner span{font-size:8px;max-width:160px}.cmc-profile-bottom{align-items:start;flex-direction:column}.cmc-profile-appreciation{text-align:left}.cmc-metrics{gap:20px}.cmc-metrics strong{font-size:21px}.cmc-metrics span{font-size:9px}.cmc-member-since{line-height:1.7}.cmc-seen{display:block}.cmc-rank-row{grid-template-columns:16px 40px minmax(0,1fr) 60px;gap:10px;padding:16px 12px}.cmc-rank-row img{width:40px;height:40px;border-radius:12px}.cmc-rank-name strong{font-size:12px}.cmc-rank-stat:nth-last-child(2){display:none}.cmc-rank-stat b{font-size:14px}.cmc-rank-stat small{font-size:9px}.cmc-rank-form{gap:12px}.cmc-rank-form label{width:100%}.cmc-rank-form button{width:100%}.cmc-note-head{align-items:start;flex-direction:column}.cmc-compose{padding:15px}.cmc-compose .cmc-btn{width:100%}.cmc-settings{padding:22px 17px}.cmc-privacy-note{line-height:1.6}.cm-community-page .brand{font-size:1rem}.cm-community-page .badge-role{display:none}.cm-community-page .user-chip>span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.cmc *{transition:none!important;animation:none!important}.cmc-resource:hover{transform:none}}

/* The shared panel locks the viewport: the community owns the content scroll.
   min-height:0 is required for Safari to shrink the flex item to the viewport. */
html:has(>body.cm-community-page){height:100%;margin-top:0!important;overflow:hidden}
body.cm-community-page{--cmc-admin-height:0px;height:100dvh;min-height:0;padding-top:var(--cmc-admin-height);box-sizing:border-box}
body.cm-community-page.admin-bar{--cmc-admin-height:32px}
.cm-community-page .cm-wrapper{width:100%;height:100%;min-height:0}
.cm-community-page .panel{min-height:0}
.cm-community-page .panel-header{flex:0 0 auto}
.cm-community-page #cmc-main{flex:1 1 0%;min-height:0;width:100%;max-width:none;margin:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding-inline:clamp(18px,2vw,32px)}
/* Use the available width without changing the hero. */
.cm-community-page .cmc-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
@media(min-width:1900px){.cm-community-page .cmc-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:782px){body.cm-community-page.admin-bar{--cmc-admin-height:46px}}
@media(max-width:650px){.cm-community-page #cmc-main{padding-inline:16px}}

/* Readable cards and controls; preserve the existing hero typography. */
.cmc-resource h3{font-size:18px;line-height:1.45;min-height:52px}
.cmc-resource-meta{font-size:12px}
.cmc-author{font-size:14px}
.cmc-author img{width:32px;height:32px}
.cmc-open{font-size:14px}
.cmc-brain{font-size:14px;min-height:40px;padding:8px 11px}
.cmc-brain-label{font-size:12px}
.cmc-cover-label{font-size:11px}
.cmc-filter-form label{font-size:13px}
.cmc input[type=search],.cmc select{font-size:15px;height:46px}
.cmc-filter-form .cmc-btn{font-size:14px!important;min-height:46px}
.cmc-topline,.cmc-tabs a{font-size:14px}
.cmc-total,.cmc-filter-summary,.cmc-pager>span{font-size:13px}
.cmc-mini-ranking strong{font-size:14px}
.cmc-mini-ranking small{font-size:12px}
.cmc-side-card p,.cmc-side-link{font-size:13px}
.cmc-position{font-size:14px}
.cmc-rank-name strong{font-size:17px}
.cmc-rank-name small,.cmc-rank-stat small{font-size:12px}
.cmc-note p,.cmc textarea{font-size:15px}
@media(max-width:650px){
 .cmc-topline,.cmc-tabs a{font-size:13px}
 .cmc-resource h3{min-height:0;font-size:18px}
 .cmc-resource-meta{font-size:11px}
 .cmc-rank-name strong{font-size:14px}
 .cmc-rank-name small,.cmc-rank-stat small{font-size:11px}
 .cmc input[type=search],.cmc select,.cmc textarea{font-size:16px}
}

/* Streak rankings use the same public profiles and responsive ranking rows. */
.cmc-streak-list{padding:0!important;margin:20px 0;list-style:none}
.cmc-streak-list>li+li{border-top:1px solid #2b3a50}
.cmc-streak-list>li:nth-child(-n+3) .cmc-streak-row{background:linear-gradient(115deg,#302b31,#142132)}
.cmc-streak-list .cmc-streak-row{grid-template-columns:24px 52px minmax(0,1fr) 160px 130px;background:#101c2e}
.cmc-streak-list .cmc-streak-row:hover{background:#21344a}
.cmc-streak-list .cmc-streak-row.is-viewer{box-shadow:inset 3px 0 #7ce5ee;background:#152f3d}
.cmc-streak-days b{color:#f6c689;font-size:24px}
.cmc-streak-you{display:inline-block;vertical-align:middle;margin-left:6px;border:1px solid #497681;border-radius:6px;padding:2px 6px;color:#9cf0f6;font-size:11px;font-weight:600}
.cmc-streak-privacy{margin-top:20px;font-size:12px}
.cmc-streak-privacy a{color:#8ee8ee;text-decoration:underline;text-underline-offset:3px}
.cmc-streak-card{background:radial-gradient(ellipse at 100% 0,#60412b44,transparent 70%),#111e2d}
@media(max-width:800px){
 .cmc-streak-list .cmc-streak-row{grid-template-columns:20px 44px minmax(0,1fr) 140px;gap:12px;padding:17px 14px}
 .cmc-streak-row .cmc-streak-secondary{display:none}
 .cmc-streak-row img{width:44px;height:44px}
}
@media(max-width:650px){
 .cmc-streak-list .cmc-streak-row{grid-template-columns:18px 36px minmax(0,1fr) 82px;gap:8px;padding:15px 10px}
 .cmc-streak-row img{width:36px;height:36px}
 .cmc-streak-row .cmc-streak-days{display:block}
 .cmc-streak-days b{font-size:20px}
 .cmc-streak-days small{font-size:10px;line-height:1.4}
 .cmc-streak-row .cmc-rank-name strong{font-size:14px;line-height:1.4}
 .cmc-streak-row .cmc-rank-name small{font-size:11px}
}

/* The signed-in member can see their position beyond the public top 20. */
.cmc-my-streak{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:22px 0;padding:24px;border:1px solid #43727a;border-radius:16px;background:radial-gradient(ellipse at 0 0,#24505c66,transparent 70%),#102431;box-shadow:inset 3px 0 #7ce5ee}
.cmc-my-streak-copy{min-width:0;max-width:620px}
.cmc-my-streak h3{font-size:22px;margin:10px 0;line-height:1.35}
.cmc-my-streak h3 strong{color:#9cf0f6;white-space:nowrap}
.cmc-my-streak p{font-size:13px;margin:0}
.cmc-my-streak-metrics{display:flex;gap:26px;flex-shrink:0;margin:0}
.cmc-my-streak-metrics dt{font-size:12px;color:#acc4da}
.cmc-my-streak-metrics dd{font-size:27px;font-weight:750;color:#f6c689;margin:8px 0 0;white-space:nowrap}
.cmc-my-streak-metrics small{font-size:13px;font-weight:500;color:#c0d5e8}
@media(max-width:1050px){.cmc-my-streak{align-items:flex-start;flex-direction:column;gap:20px}.cmc-my-streak-metrics{gap:32px}}
@media(max-width:650px){.cmc-my-streak{padding:20px 17px}.cmc-my-streak h3{font-size:21px}.cmc-my-streak-metrics{width:100%;justify-content:space-between;gap:14px}.cmc-my-streak-metrics dd{font-size:25px}.cmc-my-streak .cmc-eyebrow{font-size:9px;letter-spacing:1.3px}}
