/* ERB Academy · Evolo Studio + Classroom + directory widgets (3 Nov 2026). Builds on site.css and evolo.css. */

/* ===== Studio (teacher builder) ===== */
.st-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.st-wrap { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 18px; align-items: start; }
.st-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; max-height: calc(100vh - 120px); overflow: auto; position: sticky; top: 84px; }
.st-sec { padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-sec:last-child { border-bottom: 0; }
.st-sec h3 { margin: 0 0 10px; font-size: 1.05rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.st-sec h3 small { font: 600 .78rem var(--sans); }
.st-lbl { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
.st-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.st-row label { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: .9rem; }
.st-row input[type=color] { width: 42px; height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; }
.st-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-theme { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 9px; cursor: pointer; display: grid; gap: 2px; font: inherit; color: var(--ink); transition: border-color .15s, transform .15s; }
.st-theme:hover { transform: translateY(-1px); }
.st-theme.on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--goldpale); }
.st-theme .sw { display: flex; height: 22px; border-radius: 7px; overflow: hidden; margin-bottom: 4px; }
.st-theme .sw i { flex: 1; }
.st-theme b { font-size: .9rem; }
.st-theme small { font-size: .72rem; color: var(--slate); line-height: 1.25; }
.st-blocks { display: grid; gap: 6px; }
.st-blk { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 6px; background: var(--paper); }
.st-blk.off { opacity: .55; }
.st-blk.drag { opacity: .4; }
.st-blk.over { outline: 2px dashed var(--teal); }
.st-blk .h { cursor: grab; color: var(--slate); width: 18px; text-align: center; }
.st-blk .nm { flex: 1; min-width: 0; display: grid; grid-template-columns: 26px 1fr; text-align: left; background: none; border: 0; cursor: pointer; padding: 6px 2px; font: inherit; color: var(--ink); }
.st-blk .nm span { grid-row: span 2; font-size: 1.1rem; }
.st-blk .nm b, .st-blk .nm small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-blk .nm small { color: var(--slate); font-size: .75rem; }
.st-blk .ic { background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 8px; font-size: .95rem; }
.st-blk .ic:hover { background: #fff; }
.st-tabsn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-tabsn label { font-size: .78rem; font-weight: 800; color: var(--slate); display: grid; gap: 3px; }
.st-tabsn input, .st-panel select, .st-panel input[type=text], .st-panel input[type=url], .st-panel input:not([type]), .st-panel textarea { font: 600 .95rem var(--sans); padding: .55rem .7rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.st-panel label { display: grid; gap: 4px; font-weight: 800; font-size: .88rem; margin-top: 10px; }
.st-panel label.st-atom { margin: 0; }
.st-gpt { background: linear-gradient(135deg, var(--tealpale), var(--goldpale)); border-radius: 14px; padding: 12px !important; border: 0 !important; margin-top: 10px; }
.st-f { position: relative; }
.st-ai { position: absolute; right: 0; top: -2px; font: 800 .72rem var(--sans); background: linear-gradient(135deg, #7b5cff, #e94e9b); color: #fff; border: 0; border-radius: 999px; padding: .25rem .6rem; cursor: pointer; }
.st-ai:disabled { opacity: .6; }
.st-aimenu { position: absolute; right: 0; top: 22px; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(27,36,64,.18); padding: 6px; display: grid; min-width: 190px; }
.st-aimenu button { text-align: left; background: none; border: 0; padding: .5rem .6rem; border-radius: 8px; font: 700 .88rem var(--sans); cursor: pointer; color: var(--ink); }
.st-aimenu button:hover { background: var(--paper); }
.st-aimenu small { font-size: .7rem; color: var(--slate); padding: 4px 6px 2px; font-weight: 600; }
.st-img { display: flex; gap: 8px; align-items: center; }
.st-img img, .st-img > i { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--paper); display: grid; place-items: center; font-style: normal; }
.st-img input[type=url] { flex: 1; min-width: 0; }
.st-img .ev-btn-xs { cursor: pointer; flex: none; }
.st-atoms { display: grid; gap: 6px; }
.st-atom { display: flex !important; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem !important; font-weight: 700 !important; }
.st-atom span { flex: 1; }
.st-atom.locked { background: var(--paper); }
.st-atom em { font-size: .72rem; color: #7a5300; font-style: normal; font-weight: 800; }
.st-item { border: 1px dashed var(--line); border-radius: 12px; padding: 8px 10px 10px; margin-bottom: 8px; background: #fcfbf8; }
.st-item-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.st-item-h span { display: flex; gap: 4px; }
.st-preview { position: sticky; top: 84px; min-width: 0; }
.st-dev { display: flex; gap: 6px; margin-bottom: 8px; justify-content: center; }
.st-dev button { font: 800 .85rem var(--sans); border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .9rem; cursor: pointer; color: var(--ink); }
.st-dev button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.st-frame-wrap { height: calc(100vh - 150px); min-height: 520px; overflow: hidden; border-radius: 22px; background: repeating-conic-gradient(#efece5 0 25%, #f6f4ef 0 50%) 0 0/22px 22px; border: 1px solid var(--line); position: relative; }
.st-frame { position: absolute; top: 0; left: 0; transform-origin: top left; overflow: auto; background: #fff; flex: none; box-shadow: 0 20px 50px rgba(27,36,64,.18); }
.st-frame.phone { border-radius: 30px; }
.st-addgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.st-addgrid button { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 12px; cursor: pointer; display: grid; gap: 3px; font: inherit; color: var(--ink); transition: transform .15s, border-color .15s; }
.st-addgrid button:hover { border-color: var(--teal); transform: translateY(-2px); }
.st-addgrid span { font-size: 1.5rem; }
.st-addgrid small { color: var(--slate); font-size: .78rem; line-height: 1.3; }
.st-plist { display: grid; gap: 8px; }
.st-pi { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; flex-wrap: wrap; }
.st-pi.off { opacity: .55; }
.st-pi img, .st-pi .ph { width: 78px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--paper); display: grid; place-items: center; font-size: 1.4rem; flex: none; }
.st-thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.st-thumbs span { position: relative; }
.st-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.st-thumbs button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: .7rem; cursor: pointer; }
.st-sub { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-top: 10px; }
.st-sub .st-f { display: grid; gap: 4px; font-weight: 800; font-size: .88rem; }
.st-ans { white-space: pre-wrap; background: var(--paper); border-radius: 10px; padding: 10px; margin-top: 6px; font-size: .95rem; max-height: 240px; overflow: auto; }
.ev-modal .st-f .st-ai { top: -2px; }
@media (max-width: 900px) {
  .st-wrap { grid-template-columns: 1fr; }
  .st-panel { position: static; max-height: none; }
  .st-wrap.view-edit .st-preview { display: none; }
  .st-wrap.view-preview .st-panel { display: none; }
  .st-frame-wrap { height: 78vh; }
}
@media (min-width: 901px) { #st-mob { display: none; } }

/* ===== Directory widgets ===== */
.ev-lb { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin-top: 14px; }
.ev-lb-row { display: flex; gap: 12px; align-items: center; background: var(--paper); border-radius: 16px; padding: 10px 12px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.ev-lb-row:hover { transform: translateY(-2px); }
.ev-lb-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ev-lb-rank { width: 28px; text-align: center; font-weight: 900; font-size: 1.15rem; }
.ev-lb-pts { font: 600 1.25rem var(--display); white-space: nowrap; }
.ev-lb-pts small { font: 700 .75rem var(--sans); color: var(--slate); }
.ev-calc { margin-top: 32px; background: var(--ink); color: #fff; border-radius: 30px; padding: clamp(20px, 4vw, 40px); position: relative; overflow: hidden; }
.ev-calc::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(233,169,42,.35), transparent 65%); pointer-events: none; }
.ev-calc h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 4px 0 6px; }
.ev-calc-head p { color: rgba(255,255,255,.78); max-width: 40em; }
.ev-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; position: relative; }
.ev-calc-in { display: grid; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 18px; }
.ev-calc-in label { display: grid; gap: 6px; font-weight: 800; color: #fff; }
.ev-calc-in label small { color: rgba(255,255,255,.6); font-weight: 600; }
.ev-calc-in output { float: right; font: 600 1.15rem var(--display); color: var(--sun); }
.ev-calc-in input[type=range] { width: 100%; accent-color: var(--gold); height: 26px; }
.ev-calc-in .ev-check { color: #fff !important; }
.ev-calc-out { display: grid; gap: 12px; }
.ev-calc-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 18px 20px; }
.ev-calc-card.coach { background: linear-gradient(135deg, #fff7e3, #fff); }
.ev-calc-card.ind { background: linear-gradient(135deg, #e6f4f0, #fff); }
.ev-calc-card .k { font-weight: 900; font-size: .9rem; color: var(--slate); }
.ev-calc-card .v { font: 600 clamp(2rem, 5vw, 2.8rem) var(--display); line-height: 1.1; margin: 4px 0; transition: color .2s; }
.ev-calc-card .s { font-size: .85rem; color: var(--slate); }
.ev-calc-card .bar { height: 10px; background: var(--paper); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.ev-calc-card .bar i { display: block; height: 100%; border-radius: 99px; background: var(--gold); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.ev-calc-card.ind .bar i { background: var(--teal); }
.ev-calc-pros { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; position: relative; }
.ev-calc-pros > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 18px; }
.ev-calc-pros h3 { color: #fff; margin: 0 0 8px; font-size: 1.15rem; }
.ev-calc-pros h4 { color: rgba(255,255,255,.65); margin: 14px 0 6px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.ev-calc-pros ul { margin: 0; padding-left: 1.1em; color: rgba(255,255,255,.88); display: grid; gap: 5px; font-size: .95rem; }
.ev-calc-pros ul.minus { list-style: "– "; color: rgba(255,255,255,.7); }
.ev-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; counter-reset: s; }
.ev-steps li { background: var(--paper); border-radius: 18px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.ev-steps li > span { width: 34px; height: 34px; border-radius: 50%; background: #ff0033; color: #fff; display: grid; place-items: center; font-weight: 900; }
.ev-steps p { margin: 4px 0 0; font-size: .9rem; color: var(--slate); }
@media (max-width: 760px) { .ev-calc-grid, .ev-calc-pros { grid-template-columns: 1fr; } }

/* ===== Classroom (Atoms style) ===== */
body.ev-cr-page { background: #FBF8F2; }
body.ev-cr-page > header.top, body.ev-cr-page > footer.site, body.ev-cr-page .eole-fab { display: none !important; }
body.ev-cr-page #ev .wrap { padding: 0; max-width: none; }
.cr { --cr-ink: #16213A; --cr-gold: #C08A2D; --cr-teal: #2F7F70; --cr-paper: #FBF8F2; --cr-line: #E8E1D3; --cr-mut: #6B7186; font-family: "DM Sans", system-ui, sans-serif; color: var(--cr-ink); min-height: 100vh; background: var(--cr-paper); }
.cr h1, .cr h2, .cr h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.01em; color: var(--cr-ink); }
.cr-load { padding: 80px 20px; text-align: center; color: var(--cr-mut); }
.cr-head { position: sticky; top: 0; z-index: 20; background: var(--cr-ink); color: #fff; display: flex; align-items: center; gap: 12px; padding: 12px clamp(14px, 4vw, 32px); }
.cr-back { color: #fff; text-decoration: none; font-size: 1.3rem; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.cr-ttl { flex: 1; min-width: 0; display: grid; }
.cr-ttl small { font-family: "DM Mono", monospace; font-size: .72rem; color: #E9C77F; text-transform: uppercase; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-ttl b { font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-bell { position: relative; background: rgba(255,255,255,.08); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.05rem; cursor: pointer; }
.cr-bell i { position: absolute; top: -2px; right: -2px; background: var(--cr-gold); color: #fff; font: 700 .7rem "DM Sans"; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; font-style: normal; padding: 0 4px; }
.cr-tabs { position: sticky; top: 64px; z-index: 19; display: flex; gap: 4px; overflow-x: auto; padding: 8px clamp(14px, 4vw, 32px); background: var(--cr-paper); border-bottom: 1px solid var(--cr-line); scrollbar-width: none; }
.cr-tabs::-webkit-scrollbar { display: none; }
.cr-tabs a { display: flex; gap: 6px; align-items: center; white-space: nowrap; text-decoration: none; color: var(--cr-mut); font-weight: 700; padding: .5rem .85rem; border-radius: 999px; font-size: .92rem; }
.cr-tabs a span { color: var(--cr-gold); }
.cr-tabs a[aria-selected] { background: var(--cr-ink); color: #fff; }
.cr-main { max-width: 1100px; margin: 0 auto; padding: 20px clamp(14px, 4vw, 32px) 80px; display: grid; gap: 16px; }
.cr-card { background: #fff; border: 1px solid var(--cr-line); border-radius: 20px; padding: 18px; }
.cr-card h2 { font-size: 1.3rem; margin: 0 0 12px; }
.cr-mut { color: var(--cr-mut); font-size: .92rem; }
.cr-empty { text-align: center; padding: 34px 18px; }
.cr-kick { font-family: "DM Mono", monospace; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cr-gold); }
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 .95rem "DM Sans"; padding: .7rem 1.2rem; border-radius: 999px; border: 0; background: var(--cr-ink); color: #fff; text-decoration: none; cursor: pointer; }
.cr-btn.gold { background: var(--cr-gold); color: #fff; }
.cr-btn.sm { padding: .45rem .9rem; font-size: .85rem; }
.cr-btn.ghost { background: var(--cr-paper); color: var(--cr-ink); border: 1px solid var(--cr-line); }
.cr-btn:disabled { opacity: .6; }
.cr-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; background: var(--cr-ink); color: #fff; border-radius: 24px; padding: clamp(18px, 4vw, 30px); position: relative; overflow: hidden; }
.cr-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(192,138,45,.18); pointer-events: none; }
.cr-hero h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 6px 0; }
.cr-hero p { color: rgba(255,255,255,.75); margin: 0; }
.cr-next { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px; display: grid; gap: 4px; align-content: start; position: relative; z-index: 1; }
.cr-next small { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: #E9C77F; }
.cr-next.live small { color: #ff8a8a; }
.cr-next b { font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 600; }
.cr-next span { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 8px; }
.cr-next .cr-btn { justify-self: start; }
.cr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cr-stats a { background: #fff; border: 1px solid var(--cr-line); border-radius: 18px; padding: 14px; text-decoration: none; color: var(--cr-ink); display: grid; transition: transform .15s; }
.cr-stats a:hover { transform: translateY(-2px); }
.cr-stats b { font-family: "Fraunces", serif; font-size: 1.8rem; font-weight: 600; }
.cr-stats span { color: var(--cr-mut); font-size: .82rem; }
.cr-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.cr-av { width: 38px; height: 38px; border-radius: 50%; background: #EFE6D3; color: var(--cr-ink); display: grid; place-items: center; font: 700 .8rem "DM Sans"; flex: none; }
.cr-av.t { background: var(--cr-ink); color: #E9C77F; }
.cr-av.sm { width: 30px; height: 30px; font-size: .7rem; }
.cr-av.lg { width: 58px; height: 58px; font-size: 1.1rem; }
.cr-mini { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--cr-line); text-decoration: none; color: inherit; }
.cr-mini:first-of-type { border-top: 0; }
.cr-mini > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.cr-mini small { color: var(--cr-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-mini time { color: var(--cr-mut); font-size: .78rem; }
.cr em { font-style: normal; font: 700 .66rem "DM Mono", monospace; background: var(--cr-ink); color: #E9C77F; border-radius: 6px; padding: .1rem .35rem; vertical-align: middle; text-transform: uppercase; }
.cr-link { display: flex; gap: 10px; align-items: center; padding: .7rem .8rem; border-radius: 12px; background: var(--cr-paper); text-decoration: none; color: var(--cr-ink); font-weight: 700; margin-bottom: 6px; }
.cr-link span { width: 26px; text-align: center; color: var(--cr-gold); }
.cr-atoms { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: center; background: linear-gradient(135deg, #16213A, #26345a); color: #fff; border-radius: 24px; padding: clamp(18px, 4vw, 32px); }
.cr-atoms h1 { color: #fff; margin: 6px 0; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cr-atoms p { color: rgba(255,255,255,.75); }
.cr-atoms-art { position: relative; height: 150px; }
.cr-atoms-art i { position: absolute; inset: 0; margin: auto; border: 2px solid rgba(233,199,127,.6); border-radius: 50%; width: 150px; height: 60px; animation: cr-spin 9s linear infinite; }
.cr-atoms-art i:nth-child(2) { transform: rotate(60deg); animation-duration: 12s; }
.cr-atoms-art i:nth-child(3) { transform: rotate(-60deg); animation-duration: 15s; }
.cr-atoms-art::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--cr-gold); box-shadow: 0 0 30px var(--cr-gold); }
@keyframes cr-spin { to { rotate: 360deg; } }
.cr-mat { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--cr-line); text-decoration: none; color: inherit; }
.cr-mat:first-of-type { border-top: 0; }
.cr-mat > div { flex: 1; min-width: 0; }
.cr-mat p { margin: 2px 0 0; color: var(--cr-mut); font-size: .88rem; }
.cr-mat img, .cr-mat .ic { width: 84px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--cr-paper); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.cr-reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cr-reels button { aspect-ratio: 9/14; border: 0; border-radius: 16px; background: #222 center/cover; position: relative; cursor: pointer; overflow: hidden; color: #fff; text-align: left; }
.cr-reels button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.75)); }
.cr-reels span { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--cr-ink); display: grid; place-items: center; z-index: 1; }
.cr-reels b { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; font-size: .85rem; }
.cr-calh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cr-calh h2 { margin: 0; }
.cr-calh button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--cr-line); background: #fff; cursor: pointer; font-size: 1.1rem; }
.cr-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cr-cal .w { font: 600 .7rem "DM Mono", monospace; text-align: center; color: var(--cr-mut); padding: 4px 0; text-transform: uppercase; }
.cr-cal button { aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--cr-paper); position: relative; font: 700 .9rem "DM Sans"; color: var(--cr-mut); cursor: default; }
.cr-cal button.h { background: #F3E7CD; color: var(--cr-ink); cursor: pointer; }
.cr-cal button.t { outline: 2px solid var(--cr-ink); }
.cr-cal button i { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--cr-gold); font-size: 0; }
.cr-sess { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--cr-line); }
.cr-sess .d { width: 50px; text-align: center; background: var(--cr-paper); border-radius: 12px; padding: 6px 0; font: 600 1.3rem "Fraunces", serif; line-height: 1; }
.cr-sess .d small { display: block; font: 600 .66rem "DM Mono", monospace; text-transform: uppercase; color: var(--cr-gold); margin-bottom: 3px; }
.cr-sess span { display: block; color: var(--cr-mut); font-size: .85rem; }
.cr-sess.live .d { background: var(--cr-gold); color: #fff; }
.cr-feed { max-width: 680px; width: 100%; margin: 0 auto; display: grid; gap: 14px; }
.cr-comp textarea, .cr-sub textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--cr-line); border-radius: 14px; padding: 12px; font: 500 1rem "DM Sans"; resize: vertical; background: var(--cr-paper); color: var(--cr-ink); }
.cr-comp-f { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.cr-comp-f .cr-btn.ghost { margin-right: auto; }
.cr-chk { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: .85rem; }
.cr-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.cr-thumbs span { position: relative; margin-top: 8px; }
.cr-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
.cr-thumbs button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--cr-ink); color: #fff; font-size: .7rem; cursor: pointer; }
.cr-post { background: #fff; border: 1px solid var(--cr-line); border-radius: 20px; padding: 16px; }
.cr-post.pin { border-color: var(--cr-gold); }
.cr-post.ann { background: linear-gradient(135deg, #FFF8E8, #fff); }
.cr-post header { display: flex; gap: 10px; align-items: center; }
.cr-post header div { display: grid; }
.cr-post header small { color: var(--cr-mut); font-size: .78rem; }
.cr-post h3 { margin: 12px 0 4px; font-size: 1.15rem; }
.cr-post p { margin: 8px 0; line-height: 1.55; overflow-wrap: anywhere; }
.cr-post a { color: var(--cr-teal); }
.cr-yt, .cr-ytf { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; background: #111 center/cover; position: relative; cursor: pointer; margin-top: 8px; overflow: hidden; }
.cr-yt span { position: absolute; inset: 0; margin: auto; width: 62px; height: 44px; border-radius: 12px; background: #ff0033; color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.cr-ytf iframe { width: 100%; height: 100%; border: 0; }
.cr-imgs { display: grid; gap: 4px; margin-top: 8px; border-radius: 14px; overflow: hidden; }
.cr-imgs.n2, .cr-imgs.n4 { grid-template-columns: 1fr 1fr; }
.cr-imgs.n3 { grid-template-columns: 2fr 1fr; }
.cr-imgs.n3 a:first-child { grid-row: span 2; }
.cr-imgs img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.cr-post footer { display: flex; gap: 6px; margin-top: 10px; border-top: 1px solid var(--cr-line); padding-top: 8px; }
.cr-post footer button { border: 0; background: none; padding: .4rem .7rem; border-radius: 999px; cursor: pointer; font: 700 .88rem "DM Sans"; color: var(--cr-mut); }
.cr-post footer button:hover { background: var(--cr-paper); }
.cr-post footer button.on { color: #d6336c; }
.cr-cms { border-top: 1px solid var(--cr-line); margin-top: 8px; padding-top: 8px; }
.cr-cm { display: flex; gap: 8px; margin: 8px 0; }
.cr-cm > div { background: var(--cr-paper); border-radius: 14px; padding: 8px 12px; flex: 1; min-width: 0; }
.cr-cm b { font-size: .85rem; }
.cr-cm small { color: var(--cr-mut); font-weight: 500; }
.cr-cm p { margin: 2px 0 0; font-size: .93rem; }
.cr-cmf { display: flex; gap: 6px; margin-top: 6px; }
.cr-cmf input { flex: 1; min-width: 0; border: 1px solid var(--cr-line); border-radius: 999px; padding: .55rem .9rem; font: 500 .95rem "DM Sans"; }
.cr-hwh { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cr-hwh h2 { margin: 0 0 2px; }
.cr-pill { font: 700 .75rem "DM Mono", monospace; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; }
.cr-pill.todo { background: #F3E7CD; color: #7a5300; }
.cr-pill.late { background: #fde2e2; color: #a12; }
.cr-pill.handed { background: #e0eefc; color: #1b4f8a; }
.cr-pill.marked { background: #dff3ec; color: #1d6b55; }
.cr-hwc > p { line-height: 1.55; }
.cr-sub { margin-top: 10px; }
.cr-mark { display: flex; gap: 14px; align-items: flex-start; background: #F1F8F5; border-radius: 16px; padding: 14px; margin-top: 10px; }
.cr-mark .sc { font-family: "Fraunces", serif; font-size: 1.1rem; color: var(--cr-teal); white-space: nowrap; }
.cr-mark .sc b { font-size: 2.2rem; font-weight: 600; }
.cr-mark small { font: 600 .72rem "DM Mono", monospace; text-transform: uppercase; color: var(--cr-mut); }
.cr-mark p { margin: 4px 0 0; }
.cr-hw { padding: 10px 0; border-top: 1px solid var(--cr-line); }
.cr-hw span { display: block; color: var(--cr-mut); font-size: .85rem; }
.cr-podium { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; margin: 16px 0 18px; text-align: center; }
.cr-podium > div { display: grid; justify-items: center; gap: 4px; }
.cr-podium b { font-size: .9rem; }
.cr-podium small { color: var(--cr-mut); font-size: .8rem; }
.cr-podium .st { width: 100%; border-radius: 14px 14px 0 0; background: #EFE6D3; font: 600 1.6rem "Fraunces", serif; display: grid; place-items: center; color: var(--cr-ink); }
.cr-podium .p1 .st { height: 110px; background: linear-gradient(#E9C77F, #C08A2D); color: #fff; }
.cr-podium .p2 .st { height: 80px; background: #DCDFE6; }
.cr-podium .p3 .st { height: 60px; background: #EBD2B6; }
.cr-podium .me .cr-av { outline: 3px solid var(--cr-gold); }
.cr-rank { list-style: none; padding: 0; margin: 0; }
.cr-rank li { display: flex; gap: 10px; align-items: center; padding: 9px 6px; border-top: 1px solid var(--cr-line); }
.cr-rank li.me { background: #FFF8E8; border-radius: 12px; }
.cr-rank .n { width: 24px; text-align: center; font: 600 .85rem "DM Mono", monospace; color: var(--cr-mut); }
.cr-rank b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-rank small { color: var(--cr-mut); }
.cr-rank .pts { font: 600 1.1rem "Fraunces", serif; min-width: 40px; text-align: right; }
.cr-nl { display: grid; gap: 4px; max-height: 60vh; overflow: auto; }
.cr-nl a { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.cr-nl a.un { background: #FFF8E8; }
.cr-nl a > span { width: 32px; height: 32px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; }
.cr-nl small { display: block; color: var(--slate); font-size: .78rem; }
@media (max-width: 760px) {
  .cr-hero, .cr-grid, .cr-atoms { grid-template-columns: 1fr; }
  .cr-stats { grid-template-columns: repeat(2, 1fr); }
  .cr-atoms-art { display: none; }
  .cr-tabs { top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .cr-atoms-art i { animation: none; } .ev-calc-card .bar i { transition: none; } }
.st-pi > div:not(.ev-actions) { flex: 1 1 200px !important; }
.st-pi .ev-actions { flex-wrap: wrap; margin-left: auto; }
.ev-lb-row b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ev-dash > .ev-main { min-width: 0; }
