/* The BISI Code — community pages (Agent C): explore, proposition, play, constellation, experiment-001
   All selectors prefixed .cm- ; relies on site.css variables with fallbacks. */

.cm-page {
  max-width: var(--wrap, 1180px); margin: 0 auto;
  padding: calc(var(--nav-h, 64px) + 28px) 24px 96px;
  animation: cm-fade .45s cubic-bezier(.2,.7,.2,1) both;
  color: var(--text, #1A1A1A);
  --text: #1A1A1A; --text-dim: #5E5850; --text-faint: rgba(26,26,26,.52);
  --line: rgba(26,26,26,.14); --line-strong: rgba(26,26,26,.3);
  --ground: #F1ECE2; --ground-2: #F7F3EB; --ground-3: #ECE6DA;
  --paper: #F7F3EB; --paper-2: #F4EEE3; --paper-3: #1A1A1A; --ink: #1A1A1A; --ink-2: #5E5850;
  --a-culture: #F5C518; --a-structure: #F07A1F;
}
@keyframes cm-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .cm-page { padding-left: 16px; padding-right: 16px; } }

.cm-head { margin-bottom: 28px; max-width: 760px; }
.cm-kicker {
  font-family: var(--f-mono, monospace); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim, rgba(26,26,26,.66)); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.cm-title { font-family: var(--f-display, serif); font-weight: 400; font-size: clamp(40px, 6.4vw, 88px); line-height: 1; margin: 0 0 16px; }
.cm-title em { font-style: italic; color: var(--paper-3, #F3EBDD); }
.cm-lede { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; color: var(--text-dim, rgba(26,26,26,.66)); max-width: 62ch; }
.cm-h2 { font-family: var(--f-display, serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; margin: 0 0 16px; }
.cm-h3 { font-family: var(--f-ui, sans-serif); font-size: 13px; font-weight: 600; letter-spacing: .04em; margin: 24px 0 10px; }
.cm-muted { color: var(--text-faint, rgba(26,26,26,.42)); }
.cm-small { font-size: 12px; color: var(--text-faint, rgba(26,26,26,.5)); }
.cm-loading { font-family: var(--f-mono, monospace); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint, rgba(26,26,26,.5)); padding: 24px 0; }
.cm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cm-block { margin-top: 56px; }
.cm-chip { display: inline-block; padding: 3px 10px; background: var(--c); color: #1B1712; font-family: var(--f-mono, monospace); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border-radius: 6px 6px 0 0; }
.cm-empty { padding: 48px 0; text-align: center; color: var(--text-dim, #bbb); grid-column: 1 / -1; }
.cm-empty .btn { margin: 6px; }

/* ---------------- EXPLORE ---------------- */
.cm-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 8px 0 18px; }
.cm-seg { display: inline-flex; border: 1px solid var(--line-strong, rgba(26,26,26,.28)); border-radius: 999px; padding: 3px; }
.cm-seg-btn { border: 0; background: transparent; color: var(--text-dim, #ccc); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; min-height: 38px; }
.cm-seg-btn.is-on { background: var(--ink, #1A1A1A); color: var(--card, #F7F3EB); }
.cm-search { flex: 1 1 240px; max-width: 360px; }
.cm-search input {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong, rgba(26,26,26,.28)); background: rgba(26,26,26,.05); color: var(--text, #EADBC8);
  font: inherit; font-size: 15px;
}
.cm-search input:focus { outline: none; border-color: var(--ink, #1A1A1A); }
.cm-tabs { display: flex; gap: 2px; overflow-x: auto; padding-top: 8px; border-bottom: 3px solid var(--paper, #EADBC8); scrollbar-width: none; }
.cm-tabs::-webkit-scrollbar { display: none; }
.cm-tab { border: 0; cursor: pointer; flex: 0 0 auto; opacity: .62; transform: translateY(4px); transition: transform .2s, opacity .2s; min-height: 32px !important; }
.cm-tab:hover { opacity: .9; transform: translateY(1px); }
.cm-tab.is-on { opacity: 1; transform: translateY(0); }
.cm-count { margin: 14px 0 18px; }

.cm-grid { display: grid; gap: 28px 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cm-grid { grid-template-columns: repeat(3, 1fr); } }

/* index card */
.cm-card {
  --c: #EADBC8;
  position: relative; display: flex; flex-direction: column; min-height: 230px;
  padding: 30px 22px 16px; margin-top: 14px;
  background-color: var(--paper-2, #E9DFCF);
  background-image: var(--paper-grain, none), repeating-linear-gradient(transparent 0 27px, rgba(43,75,224,.13) 27px 28px);
  background-position: 0 0, 0 58px;
  color: var(--ink, #1B1712); text-decoration: none; border-radius: 3px;
  border-top: 5px solid var(--c);
  box-shadow: 0 14px 28px -12px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.4) inset;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
  animation: cm-fade .45s both; animation-delay: calc(min(var(--i, 0), 12) * 35ms);
}
.cm-card::after { /* red margin line */
  content: ""; position: absolute; top: 0; bottom: 0; left: 16px; width: 1px; background: rgba(229,67,45,.28);
}
.cm-card:hover, .cm-card:focus-visible { transform: rotate(0deg) translateY(-4px); box-shadow: 0 22px 36px -14px rgba(0,0,0,.7); color: var(--ink, #1B1712); }
.cm-card-tab {
  position: absolute; top: -21px; left: 18px; max-width: calc(100% - 36px);
  padding: 4px 14px 3px; background: var(--c); color: #1B1712;
  font-family: var(--f-mono, monospace); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 100%, 0 100%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cm-card-holes { position: absolute; bottom: 10px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ground, #141210); opacity: .85; }
.cm-card-title { font-family: var(--f-display, serif); font-weight: 400; font-size: 27px; line-height: 1.08; margin: 0 0 10px 6px; }
.cm-card-ex { font-family: var(--f-body, Georgia, serif); font-size: 15px; line-height: 1.5; color: var(--ink-2, #4a4239); margin: 0 0 18px 6px; flex: 1; }
.cm-card-foot { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-left: 6px; padding-bottom: 12px; font-family: var(--f-mono, monospace); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(27,23,18,.62); }
.cm-card-name { color: var(--ink, #1B1712); font-weight: 600; }
.cm-card-likes { margin-left: auto; color: #C2362A; font-weight: 600; }

/* ---------------- PROPOSITION ---------------- */
.cm-prop { max-width: 920px; }
.cm-back { display: inline-block; margin-bottom: 26px; text-decoration: none; }
.cm-prop-sheet {
  --c: #EADBC8;
  position: relative; margin-top: 24px; padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 44px);
  background-color: #F5EEE2; background-image: var(--paper-grain, none);
  color: var(--ink, #1B1712); border-radius: 2px; border-top: 6px solid var(--c);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.75);
}
.cm-prop-tab {
  position: absolute; top: -32px; left: clamp(20px, 5vw, 64px);
  padding: 6px 20px 5px; background: var(--c); color: #1B1712;
  font-family: var(--f-mono, monospace); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}
.cm-prop-sheet .cm-kicker { color: rgba(27,23,18,.55); }
.cm-prop-title { font-family: var(--f-display, serif); font-weight: 400; font-size: clamp(38px, 6vw, 72px); line-height: 1; margin: 0 0 14px; color: var(--ink, #1B1712); }
.cm-prop-by { color: rgba(27,23,18,.6) !important; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 28px; }
.cm-prop-by strong { color: var(--ink, #1B1712) !important; }
.cm-prop-text { font-family: var(--f-body, Georgia, serif); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.6; color: var(--ink, #1B1712); }
.cm-prop-text .p-archive { background: linear-gradient(transparent 10%, #E8D5B5 10%, #E3CDA8 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cm-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; color: rgba(27,23,18,.55) !important; }
.cm-legend-archive::before, .cm-legend-own::before { content: ""; display: inline-block; width: 18px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.cm-legend-archive::before { background: #E3CDA8; }
.cm-legend-own::before { border-bottom: 2px dotted rgba(27,23,18,.5); height: 6px; }
.cm-prop-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed rgba(27,23,18,.25); }
.cm-prop-sheet .btn { color: var(--ink, #1B1712); border-color: rgba(27,23,18,.35); }
.cm-prop-sheet .btn:hover { color: var(--ink, #1B1712); border-color: var(--ink, #1B1712); }
.cm-prop-sheet .btn-ghost { border-color: transparent; }
.cm-votes { display: inline-flex; gap: 8px; margin-right: auto; }
.cm-vote.is-on { background: var(--ink, #1B1712) !important; color: var(--paper, #EADBC8) !important; border-color: var(--ink, #1B1712) !important; }
.cm-vote[data-vote="1"].is-on { background: #C2362A !important; border-color: #C2362A !important; color: #fff !important; }
.cm-n { font-family: var(--f-mono, monospace); font-size: 12px; opacity: .8; }

.cm-used { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; }
.cm-used-item { display: block; text-decoration: none; color: inherit; }
.cm-used-item .strip { margin: 0; }

.cm-sources {
  background: var(--grey-paper, #ECE8E1); background-image: var(--paper-grain, none); color: var(--ink, #1B1712);
  padding: 28px clamp(18px, 4vw, 40px); border-radius: 2px;
}
.cm-src-list { margin: 0; padding-left: 26px; font-family: var(--f-body, Georgia, serif); font-size: 16px; line-height: 1.5; }
.cm-src-list li { padding: 8px 0; border-bottom: 1px solid rgba(27,23,18,.12); }
.cm-src-list a { color: var(--ink, #1B1712); text-decoration: none; }
.cm-src-list a:hover { text-decoration: underline; color: var(--ink, #1B1712); }
.cm-src-list .meta { color: rgba(27,23,18,.55); margin-right: 6px; }

.cm-fb-list { display: grid; gap: 12px; margin-bottom: 24px; }
.cm-fb { border-left: 3px solid var(--c, var(--paper, #EADBC8)); padding: 10px 0 4px 16px; }
.cm-fb-text { font-family: var(--f-body, Georgia, serif); font-size: 17px; line-height: 1.5; margin: 0 0 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-fb-form { display: grid; gap: 12px; max-width: 640px; }
.cm-fb-form label { display: grid; gap: 6px; }
.cm-fb-form input, .cm-fb-form textarea, .cm-connect textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 6px;
  border: 1px solid var(--line-strong, rgba(26,26,26,.28)); background: rgba(26,26,26,.05);
  color: var(--text, #EADBC8); font: inherit; font-size: 16px; resize: vertical;
}
.cm-fb-form input:focus, .cm-fb-form textarea:focus, .cm-connect textarea:focus { outline: none; border-color: var(--ink, #1A1A1A); }
.cm-fb-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cm-notfound { text-align: left; }

/* ---------------- PLAY ---------------- */
.cm-games { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 36px; }
@media (min-width: 760px) { .cm-games { grid-template-columns: repeat(3, 1fr); } }
.cm-game-card {
  --c: #2B4BE0;
  display: grid; gap: 6px; text-align: left; cursor: pointer;
  padding: 22px 22px 24px; min-height: 140px; border: 0; border-radius: 4px;
  background: var(--c); color: #fff;
  box-shadow: 0 14px 28px -16px rgba(0,0,0,.7);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .25s;
  opacity: .55;
}
.cm-game-card[style*="F2C230"] { color: #1B1712; }
.cm-game-card:hover { opacity: .85; transform: translateY(-3px); }
.cm-game-card.is-on { opacity: 1; transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 22px 36px -14px rgba(0,0,0,.8), 0 0 0 2px var(--paper, #EADBC8); }
.cm-game-n { font-family: var(--f-mono, monospace); font-size: 11px; letter-spacing: .16em; opacity: .8; }
.cm-game-t { font-family: var(--f-display, serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.02; }
.cm-game-b { font-size: 14px; opacity: .9; }

.cm-stage {
  --c: #2B4BE0;
  position: relative; padding: clamp(22px, 4vw, 44px); border-radius: 4px;
  border: 1px solid var(--line, rgba(26,26,26,.14)); border-top: 4px solid var(--c);
  background: var(--ground-2, #1c1916);
}
.cm-prompt { font-family: var(--f-display, serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; color: var(--text-dim, #ccc); max-width: 46ch; margin-bottom: 26px; }
.cm-prompt em { color: var(--paper-3, #F3EBDD); }
.cm-pair { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; margin-bottom: 26px; }
@media (min-width: 760px) { .cm-pair { grid-template-columns: 1fr auto 1fr; gap: 22px; } }
.cm-plus { justify-self: center; font-family: var(--f-display, serif); font-size: 46px; color: var(--c); line-height: 1; }
.cm-play-strip { animation: cm-drop .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
.cm-play-strip:nth-child(odd) .strip { --rot: -1deg; }
.cm-play-strip:nth-child(even) .strip, .cm-trio-slot:nth-child(even) .strip { --rot: 1.1deg; }
@keyframes cm-drop { from { opacity: 0; transform: translateY(-16px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.cm-connect { display: block; margin-bottom: 20px; }
.cm-trio { display: grid; gap: 22px; grid-template-columns: 1fr; margin-bottom: 26px; align-items: start; }
@media (min-width: 900px) { .cm-trio { grid-template-columns: repeat(3, 1fr); } }
.cm-trio-slot { display: grid; gap: 10px; justify-items: start; }
.cm-trio-slot .cm-play-strip { width: 100%; }
.cm-swap { min-height: 36px; font-size: 13px; }
.cm-play-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cm-play-actions .btn:not(.btn-ghost) { background: var(--ink, #1A1A1A); color: var(--card, #F7F3EB); border-color: var(--ink, #1A1A1A); }
.cm-verdict { flex-basis: 100%; font-family: var(--f-display, serif); font-style: italic; font-size: 22px; color: var(--paper-3, #F3EBDD); margin: 0 0 6px; }

.cm-versus { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 26px; align-items: stretch; }
@media (min-width: 820px) { .cm-versus { grid-template-columns: 1fr auto 1fr; gap: 20px; } }
.cm-vs { align-self: center; justify-self: center; font-family: var(--f-display, serif); font-style: italic; font-size: 34px; color: var(--c); }
.cm-stmt {
  position: relative; padding: 32px 24px 20px; color: var(--ink, #1B1712);
  background-color: var(--paper, #EADBC8); background-image: var(--paper-grain, none);
  clip-path: var(--torn, none);
  transition: transform .3s, opacity .3s, filter .3s;
}
.cm-stmt blockquote { margin: 0 0 14px; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.cm-stmt-l { position: absolute; top: 10px; right: 16px; font-family: var(--f-display, serif); font-size: 34px; line-height: 1; opacity: .35; }
.cm-stmt-src { color: rgba(27,23,18,.6) !important; margin: 0 0 6px; }
.cm-stmt-src a { color: var(--ink, #1B1712); }
.cm-stmt-ctx { font-size: 14px; line-height: 1.45; color: var(--ink-2, #4a4239); margin: 6px 0 0; }
.cm-stmt.is-picked { background-color: #F4E3B5; transform: translateY(-4px) rotate(-.5deg); }
.cm-stmt.is-picked .cm-stmt-l { opacity: 1; color: #C2362A; }
.cm-stmt.is-other { opacity: .72; filter: saturate(.6); }

/* ---------------- CONSTELLATION ---------------- */
.cm-con-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cm-key {
  --c: #EADBC8;
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px;
  border: 1px solid var(--line-strong, rgba(26,26,26,.28)); border-radius: 999px; background: transparent;
  color: var(--text, #EADBC8); cursor: pointer; font-size: 14px;
}
.cm-key::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.cm-key:hover, .cm-key.is-on { border-color: var(--c); background: rgba(26,26,26,.06); }
.cm-con-layout { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .cm-con-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.cm-con-map {
  border: 1px solid var(--line, rgba(26,26,26,.14)); border-radius: 6px;
  background: radial-gradient(ellipse at center, #1f1b17 0%, #141210 70%);
}
.cm-svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.cm-e { stroke: #EADBC8; stroke-width: .7; opacity: .18; transition: opacity .2s; }
.cm-e-s { stroke-dasharray: 2 4; opacity: .12; }
.cm-e-q { stroke: #F3EBDD; stroke-dasharray: 5 3; opacity: .3; }
.cm-n { cursor: pointer; outline: none; transition: opacity .3s, transform .9s cubic-bezier(.65,0,.35,1); }
.cm-hit { fill: transparent; }
.cm-n-f circle:not(.cm-hit) { stroke: #141210; stroke-width: 1.5; transition: r .2s; }
.cm-n-f:hover circle:not(.cm-hit), .cm-n-f:focus circle:not(.cm-hit) { r: 8; }
.cm-n-h circle { stroke: rgba(26,26,26,.85); stroke-width: 2; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.cm-n-h:hover circle, .cm-n-h:focus circle { stroke-width: 4; }
.cm-hub-label { fill: #EADBC8; font-family: var(--f-display, serif); font-size: 30px; font-style: italic; pointer-events: none; }
.cm-hub-count { fill: #fff; font-family: var(--f-mono, monospace); font-size: 15px; pointer-events: none; mix-blend-mode: difference; }
.cm-n-p polygon { transition: transform .2s; }
.cm-svg.is-focus .cm-n:not(.is-hi) { opacity: .25; }
.cm-svg.is-focus .cm-e { opacity: .04; }
.cm-svg.is-focus .cm-e.is-hi { opacity: .9; stroke-width: 1.4; }

.cm-panel {
  position: relative; border: 1px solid var(--line, rgba(26,26,26,.14)); border-radius: 6px;
  background: var(--ground-2, #1c1916); padding: 22px 20px; max-height: 78vh; overflow-y: auto;
}
.cm-panel-x { display: none; position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--text, #EADBC8); font-size: 26px; cursor: pointer; }
.cm-panel-head { border-left: 4px solid var(--c); padding-left: 14px; }
.cm-panel-title { font-family: var(--f-display, serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 0 0 10px; }
.cm-panel-q { font-family: var(--f-display, serif); font-style: italic; font-size: 19px; color: var(--text-dim, #ccc); }
.cm-panel-ex { font-family: var(--f-body, Georgia, serif); color: var(--text-dim, #ccc); line-height: 1.5; }
.cm-panel-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 8px; }
.cm-panel-strips { display: grid; gap: 18px; padding: 8px 4px 4px; }
.cm-panel .strip { margin: 0; }
.cm-plist { list-style: none; margin: 0; padding: 0; }
.cm-plist li { border-bottom: 1px solid var(--line, rgba(26,26,26,.14)); }
.cm-plist a { display: grid; gap: 2px; padding: 10px 0; text-decoration: none; }
.cm-plist strong { font-family: var(--f-display, serif); font-weight: 400; font-size: 20px; }
.cm-legend-dots { display: flex; gap: 18px; }
.cm-ld-dot, .cm-ld-dia { display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: #F2C230; border-radius: 50%; }
.cm-ld-dia { border-radius: 0; background: #EADBC8; transform: rotate(45deg); }
@media (max-width: 979px) {
  .cm-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; max-height: 72vh;
    border-radius: 16px 16px 0 0; padding-top: 40px; box-shadow: 0 -20px 40px rgba(0,0,0,.6);
    transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .cm-panel::before { content: ""; position: absolute; top: 12px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 2px; background: var(--line-strong, rgba(26,26,26,.3)); }
  .cm-panel.is-open { transform: none; }
  .cm-panel-x { display: block; }
}

/* ---------------- EXPERIMENT 001 ---------------- */
.cm-exp-hero { max-width: 900px; margin-bottom: 36px; }
.cm-video {
  position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 4px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(26,26,26,.04) 0 2px, transparent 2px 6px),
    radial-gradient(ellipse at 30% 30%, #2a241e 0%, #141210 75%);
  border: 1px solid var(--line, rgba(26,26,26,.14));
  display: grid; place-items: center; text-align: center;
}
.cm-video::before, .cm-video::after { /* film sprockets */
  content: ""; position: absolute; left: 0; right: 0; height: 18px;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(26,26,26,.16) 14px 26px);
}
.cm-video::before { top: 8px; } .cm-video::after { bottom: 8px; }
.cm-video-inner { display: grid; justify-items: center; gap: 4px; padding: 20px; }
.cm-video-play { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; padding-left: 4px; box-sizing: border-box; border: 1px solid var(--paper, #EADBC8); color: var(--paper, #EADBC8); margin-bottom: 10px; }
.cm-video-t { font-family: var(--f-display, serif); font-style: italic; font-size: clamp(28px, 4vw, 48px); margin: 0; }
.cm-video-link { text-decoration: none; opacity: .7; margin-top: 6px; }
.cm-exp-grid { display: grid; gap: 0 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cm-exp-grid { grid-template-columns: 1.3fr 1fr; } }
.cm-agenda { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong, rgba(26,26,26,.28)); }
.cm-agenda li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0 14px 22px; }
.cm-agenda li::before { content: ""; position: absolute; left: -5px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper, #EADBC8); }
.cm-agenda li:nth-child(5)::before { background: var(--a-culture, #F2C230); box-shadow: 0 0 0 4px rgba(242,194,48,.2); }
.cm-ag-time { padding-top: 4px; color: var(--text-dim, #ccc) !important; }
.cm-ag-what { display: grid; gap: 2px; }
.cm-ag-what strong { font-family: var(--f-display, serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.cm-ag-what span { color: var(--text-dim, #ccc); font-size: 15px; }
@media (max-width: 480px) { .cm-agenda li { grid-template-columns: 1fr; gap: 2px; } }
.cm-steps { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-family: var(--f-display, serif); font-size: 24px; font-style: italic; }
.cm-steps i { font-style: normal; font-size: 14px; color: var(--text-faint, #888); }
.cm-blueprint { display: grid; gap: 34px 16px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 640px) { .cm-blueprint { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cm-blueprint { grid-template-columns: repeat(3, 1fr); } }
.cm-bp {
  --c: #EADBC8;
  position: relative; padding: 24px 20px 18px; min-height: 190px; display: flex; flex-direction: column;
  border: 1px dashed rgba(26,26,26,.32); border-top: 4px solid var(--c);
  background: repeating-linear-gradient(0deg, rgba(26,26,26,.035) 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, rgba(26,26,26,.035) 0 1px, transparent 1px 24px);
}
.cm-bp-tab {
  position: absolute; top: -26px; left: 14px; padding: 5px 14px 4px; background: var(--c); color: #1B1712;
  font-family: var(--f-mono, monospace); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}
.cm-bp-q { font-family: var(--f-display, serif); font-style: italic; font-size: 21px; line-height: 1.25; margin-bottom: 14px; }
.cm-bp-ph { font-family: var(--f-mono, monospace); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint, rgba(26,26,26,.45)); margin-top: auto; }
.cm-bp-link { margin-top: 10px; text-decoration: none; }
.cm-ph-box { border: 1px dashed rgba(26,26,26,.3); padding: 36px 20px; text-align: center; }
.cm-cta { margin-top: 80px; padding: 56px clamp(20px, 5vw, 64px); background: var(--paper, #EADBC8); background-image: var(--paper-grain, none); color: var(--ink, #1B1712); border-radius: 2px; }
.cm-cta .cm-kicker { color: rgba(27,23,18,.6); }
.cm-cta .cm-title { font-size: clamp(32px, 4.6vw, 60px); color: var(--ink, #1B1712); }
.cm-cta .cm-title em { color: var(--ink, #1B1712); }
.cm-cta .btn { color: var(--ink, #1B1712); border-color: rgba(27,23,18,.4); margin: 4px 6px 4px 0; }
.cm-cta .cm-btn-big { background: var(--ink, #1B1712); color: var(--paper, #EADBC8); min-height: 56px; padding: 14px 30px; font-size: 17px; }
.cm-cta .cm-btn-big:hover { color: var(--ink, #1A1A1A); }

@media (prefers-reduced-motion: reduce) {
  .cm-page, .cm-card, .cm-play-strip, .cm-flow-item, .cm-panel, .cm-drift, .cm-pol, .cm-stamp, .cm-hcard { animation: none !important; transition: none !important; }
}
@media (max-width: 759px) {
  .cm-game-card { min-height: 0; padding: 14px 16px; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
  .cm-game-b { grid-column: 2; font-size: 13px; }
  .cm-game-t { font-size: 24px; }
}

/* ===== BEHAVIOURS addendum (HULKBUSTER) ===== */
.cm-page { --ease-out-back: cubic-bezier(.34,1.56,.64,1); --ease-inout: cubic-bezier(.65,0,.35,1); }

/* Explore: Journal-style coverflow */
.cm-flow-wrap:not([hidden]) { display: block; margin: 10px 0 40px; overflow: hidden; padding: 30px 0 6px; }
.cm-flow { position: relative; height: 330px; perspective: 1200px; transform-style: preserve-3d; outline: none; touch-action: pan-y; }
.cm-flow:focus-visible { outline: 2px solid var(--a-culture, #F2C230); outline-offset: 4px; }
.cm-flow-item {
  position: absolute; left: 50%; top: 0; width: min(380px, 80vw);
  transform-style: preserve-3d; cursor: pointer;
  transition: transform 550ms var(--ease-inout), opacity 550ms var(--ease-inout);
}
.cm-flow-item .cm-card { min-height: 270px; margin-top: 0; animation: none; transform: none; user-select: none; }
.cm-flow-item:not(.is-active) .cm-card { filter: brightness(.78); }
.cm-flow-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.cm-fbtn { position: relative; min-width: 64px; }
.cm-fbtn.is-on { background: var(--ink, #1A1A1A); color: var(--card, #F7F3EB); border-color: var(--ink, #1A1A1A); }
.cm-flow-pos { flex-basis: 100%; text-align: center; margin-top: 4px; }
.cm-float { position: absolute; left: 50%; top: -6px; font-family: var(--f-mono, monospace); font-size: 13px; color: var(--a-culture, #F2C230); pointer-events: none; animation: cm-floatup .6s var(--ease, ease) forwards; }
@keyframes cm-floatup { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -28px); } }
@media (max-width: 600px) { .cm-flow-item { width: 72vw; } .cm-flow { height: 340px; } }

/* Constellation: idle drift, hover card, gather */
.cm-drift { transform-box: fill-box; animation: cm-drift var(--dur, 8s) ease-in-out var(--del, 0s) infinite; }
@keyframes cm-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--dx, 0), var(--dy, 0)); } }
.cm-svg:hover .cm-drift, .cm-svg:focus-within .cm-drift, .cm-svg.is-paused .cm-drift, .cm-svg.is-hidden .cm-drift, .cm-svg.is-gathered .cm-drift { animation-play-state: paused; }
.cm-dot { transform-box: fill-box; transform-origin: center; transition: transform 200ms var(--ease-out-back); }
.cm-n:hover .cm-dot, .cm-n:focus-visible .cm-dot { transform: scale(1.15); }
.cm-n-f:hover circle.cm-dot, .cm-n-f:focus circle.cm-dot { r: 5; }
.cm-ring-guide { fill: none; stroke: #EADBC8; stroke-width: 1; stroke-dasharray: 3 6; opacity: 0; transition: opacity .6s; pointer-events: none; }
.cm-svg.is-gathered .cm-ring-guide { opacity: .45; }
.cm-svg.is-gathered .cm-e { opacity: 0; }
.cm-svg.is-gathered .cm-n:not(.is-g) { opacity: .15; }
.cm-con-map { position: relative; }
.cm-hcard {
  position: absolute; z-index: 5; width: 280px; box-sizing: border-box; padding: 14px 16px 12px;
  background: var(--paper, #EADBC8); background-image: var(--paper-grain, none); color: var(--ink, #1B1712);
  border-left: 4px solid var(--a-culture, #F2C230); border-radius: 2px; box-shadow: 0 18px 30px -10px rgba(0,0,0,.7);
  opacity: 0; transform: translateX(-8px); transition: opacity 220ms var(--ease, ease), transform 220ms var(--ease, ease);
}
.cm-hcard.is-left { transform: translateX(8px); }
.cm-hcard.is-in { opacity: 1; transform: none; }
.cm-hcard .cm-kicker { color: rgba(27,23,18,.6); margin-bottom: 6px; }
.cm-hc-text { font-size: 16px; line-height: 1.4; margin: 0 0 8px; }
.cm-hc-title { font-family: var(--f-display, serif); font-size: 21px; line-height: 1.15; margin: 0 0 6px; }
.cm-hc-cite { color: rgba(27,23,18,.6) !important; margin: 0 0 8px; }
.cm-hc-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.cm-hc-act { display: flex; gap: 6px; margin: 0; }
.cm-hc-act .strip-btn { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 11px; border: 1px solid rgba(27,23,18,.35); border-radius: 999px; background: transparent; font-family: var(--f-mono, monospace); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink, #1B1712); text-decoration: none; cursor: pointer; }
.cm-hc-act .strip-btn:hover { background: var(--ink, #1B1712); color: var(--paper, #EADBC8); }
@media (hover: none), (pointer: coarse) { .cm-hcard { display: none; } }

/* Experiment 001: polaroids tucked behind the video panel */
.cm-peek { position: relative; height: 210px; overflow: hidden; margin-bottom: -2px; z-index: 0; }
.cm-peek + .cm-video { position: relative; z-index: 1; }
.cm-pol {
  --r: 0deg; position: absolute; left: var(--x, 0); bottom: -120px; width: clamp(108px, 15vw, 168px); height: 200px;
  padding: 9px 9px 0; border: 0; background: #F3EBDD; color: var(--ink, #1B1712); cursor: pointer; text-align: left;
  display: flex; flex-direction: column; box-shadow: 0 10px 20px -6px rgba(0,0,0,.6);
  transform: rotate(var(--r)) translateY(0);
  transition: transform 450ms var(--ease, cubic-bezier(.2,.7,.2,1));
}
.cm-pol-img { display: block; height: 118px; background: radial-gradient(circle at 35% 30%, #6b5a48, #2b241d 70%), #2b241d; filter: sepia(.3); }
.cm-pol:nth-child(2) .cm-pol-img { background: radial-gradient(circle at 60% 40%, #7b5c3a, #2a1f16 70%); }
.cm-pol:nth-child(3) .cm-pol-img { background: radial-gradient(circle at 40% 60%, #4e5a6b, #1d2129 70%); }
.cm-pol:nth-child(4) .cm-pol-img { background: radial-gradient(circle at 50% 35%, #7a6a3a, #241f12 70%); }
.cm-pol-cap { display: block; padding: 8px 2px; font-family: var(--f-display, serif); font-size: 16px; line-height: 1.1; }
.cm-pol-cap em { display: block; font-style: normal; font-family: var(--f-mono, monospace); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-top: 4px; }
.cm-ticket { background: #1B1712; color: #EADBC8; border: 1px solid rgba(26,26,26,.3); padding: 14px 14px; gap: 6px; }
.cm-ticket-k { color: rgba(26,26,26,.6) !important; }
.cm-ticket-t { font-family: var(--f-display, serif); font-style: italic; font-size: 26px; line-height: 1; }
.cm-ticket-d { color: rgba(26,26,26,.75) !important; line-height: 1.6; }
.cm-stamp {
  position: absolute; top: -12px; right: -6px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--a-structure, #E5432D); color: #fff;
  font-family: var(--f-mono, monospace); font-weight: 600; font-size: 15px; letter-spacing: .06em;
  border: 2px dashed rgba(255,255,255,.7); box-sizing: border-box;
  transform: scale(0) rotate(-12deg); transition: transform 300ms var(--ease-out-back) 80ms;
}
.cm-ticket { overflow: visible; }
.cm-pol.up { transform: rotate(calc(var(--r) * .3)) translateY(-55%) scale(1.06); z-index: 3; transition: transform 360ms var(--ease-out-back); }
.cm-pol.up .cm-stamp { transform: scale(1) rotate(-12deg); }
@media (hover: hover) and (pointer: fine) {
  .cm-pol:hover, .cm-pol:focus-visible { transform: rotate(calc(var(--r) * .3)) translateY(-55%) scale(1.06); z-index: 3; transition: transform 360ms var(--ease-out-back); }
  .cm-pol:hover .cm-stamp, .cm-pol:focus-visible .cm-stamp { transform: scale(1) rotate(-12deg); }
}
@media (hover: none), (pointer: coarse) { .cm-pol:not(.up) { transform: rotate(var(--r)) translateY(-25%); } }
@media (max-width: 600px) { .cm-peek { height: 190px; } .cm-pol-cap { font-size: 13px; } .cm-ticket-t { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .cm-drift { animation: none !important; }
  .cm-n { transition: opacity 120ms !important; }
  .cm-pol, .cm-pol:hover, .cm-pol.up { transition-duration: 150ms !important; transition-timing-function: ease !important; }
}
.cm-cf-btn { min-width: 52px; }

/* =====================================================================
   MOODBOARD re-skin (17 Nov) — light cream archival theme
   ===================================================================== */
.view.route-explore, .view.route-proposition, .view.route-play, .view.route-constellation, .view.route-experiment-001 {
  background-color: var(--cream, #F1ECE2); color: var(--ink, #1A1A1A);
  background-image: var(--paper-grain, none);
}
.cm-page .strip::before { background-color: #EFE4D2; }
.cm-page .strip:nth-child(3n+2)::before { background-color: #F2E9DA; }
.cm-page .strip { filter: drop-shadow(0 6px 10px rgba(26,26,26,.16)) drop-shadow(0 1px 1px rgba(26,26,26,.12)); }
.cm-page .strip:hover { filter: drop-shadow(0 12px 18px rgba(26,26,26,.2)); }
.cm-page .btn { color: var(--ink, #1A1A1A); border-color: rgba(26,26,26,.3); }
.cm-page .btn:hover { border-color: var(--ink, #1A1A1A); color: var(--ink, #1A1A1A); }
.cm-page .meta { color: rgba(26,26,26,.55); }
.cm-kicker { color: var(--muted, #5E5850); }
.cm-title { color: var(--ink, #1A1A1A); }
.cm-title em, .cm-prompt em { color: var(--ink, #1A1A1A); }
.cm-grotesk { font-family: var(--f-ui, sans-serif); font-weight: 800; letter-spacing: -.035em; font-size: clamp(44px, 6vw, 84px); }
.cm-serif { font-family: var(--f-display, serif); font-weight: 400; }
.cm-btn-ink {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 6px;
  background: var(--ink, #1A1A1A); color: var(--card, #F7F3EB); font: 600 15px/1 var(--f-ui, sans-serif); cursor: pointer;
  transition: transform .2s var(--ease, ease), background .2s;
}
.cm-btn-ink:hover { transform: translateY(-2px); background: #000; }
.cm-h2 { color: var(--ink, #1A1A1A); }

/* ---- Explore = Institution Proposals ---- */
.cm-explore .cm-title { font-size: clamp(44px, 6vw, 80px); line-height: .95; }
.cm-explore .cm-title em { font-style: normal; }
.cm-search { position: relative; }
.cm-search-ico { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--ink, #1A1A1A); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.cm-search input { padding-left: 42px; background: var(--card, #F7F3EB); color: var(--ink, #1A1A1A); border-color: var(--line-strong); }
.cm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.cm-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 15px; border-radius: 999px;
  border: 1px solid rgba(26,26,26,.25); background: transparent; color: var(--ink, #1A1A1A); font: 500 14px/1 var(--f-ui, sans-serif); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cm-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, #1A1A1A); border: 1px solid rgba(26,26,26,.2); }
.cm-pill:hover { border-color: var(--ink, #1A1A1A); }
.cm-pill.is-on { background: var(--ink, #1A1A1A); color: var(--card, #F7F3EB); border-color: var(--ink, #1A1A1A); }
.cm-seg { border-color: rgba(26,26,26,.25); }
.cm-seg-btn { color: var(--muted, #5E5850); }

.cm-card {
  display: flex; flex-direction: column; min-height: 0; padding: 0; margin-top: 0; overflow: hidden;
  background: var(--card, #F7F3EB); background-image: none; border: 1px solid var(--line); border-top: 0; border-radius: 6px;
  color: var(--ink, #1A1A1A); box-shadow: 0 1px 0 rgba(26,26,26,.04), 0 10px 24px -18px rgba(26,26,26,.5); transform: none;
}
.cm-card::after { display: none; }
.cm-card:hover, .cm-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 34px -20px rgba(26,26,26,.55); color: var(--ink, #1A1A1A); }
.cm-card-img { position: relative; display: block; height: 190px; max-width: 100%; overflow: hidden; background: color-mix(in srgb, var(--c, #F5C518) 35%, #F1ECE2); }
.cm-card-photo { position: absolute; left: 7%; top: 9%; width: 78%; max-width: 320px; height: 80%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transform: rotate(var(--tilt, 0deg)); box-shadow: 0 6px 14px -6px rgba(26,26,26,.5); border: 5px solid #fff; }
.cm-patch { position: absolute; display: block; background: var(--c, #F5C518); background-image: var(--paper-grain, none); }
.cm-patch-a { right: -6%; top: -8%; width: 38%; height: 56%; transform: rotate(8deg); opacity: .95; }
.cm-patch-b { left: -4%; bottom: -10%; width: 30%; height: 34%; transform: rotate(-6deg); background-color: #F1ECE2; background-image: linear-gradient(rgba(26,26,26,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,26,.1) 1px, transparent 1px); background-size: 10px 10px; }
.cm-dots { position: absolute; right: 6%; bottom: 8%; width: 70px; height: 42px; background-image: radial-gradient(rgba(26,26,26,.45) 1.2px, transparent 1.4px); background-size: 7px 7px; }
.cm-card-thumb { position: absolute; right: 5%; bottom: 7%; width: 46%; max-width: 180px; height: auto; transform: rotate(-3deg); filter: drop-shadow(0 4px 6px rgba(26,26,26,.35)); }
.cm-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 14px 16px 12px; }
.cm-card-tab { position: static; align-self: flex-start; clip-path: none; border-radius: 3px; padding: 3px 8px; margin-bottom: 8px; background: var(--c); color: var(--on, #1A1A1A); font-size: 9.5px; }
.cm-card-title { font-family: var(--f-ui, sans-serif); font-weight: 700; letter-spacing: -.02em; font-size: 19px; line-height: 1.2; margin: 0 0 4px; }
.cm-card-ex { font-family: var(--f-ui, sans-serif); font-size: 14px; line-height: 1.4; color: var(--muted, #5E5850); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm-card-foot { margin: auto 0 0; padding: 0; color: rgba(26,26,26,.55); align-items: center; }
.cm-card-likes { margin-left: auto; color: #C2362A; }
.cm-card-arrow { font-family: var(--f-ui, sans-serif); font-size: 18px; color: var(--ink, #1A1A1A); transition: transform .2s; letter-spacing: 0; }
.cm-card:hover .cm-card-arrow { transform: translateX(4px); }
.cm-flow-item .cm-card { min-height: 0; }
.cm-flow { height: 360px; }
.cm-flow-item:not(.is-active) .cm-card { filter: brightness(.94) saturate(.8); }
.cm-flow-wrap:not([hidden]) { padding-top: 12px; }

/* ---- Proposition (light) ---- */
.cm-prop-sheet { background-color: var(--card, #F7F3EB); border: 1px solid var(--line); border-top: 6px solid var(--c); box-shadow: 0 24px 50px -30px rgba(26,26,26,.5); }
.cm-prop-tab { color: var(--on, #1A1A1A); }
.cm-sources { background: #ECE6DA; }
.cm-fb-form input, .cm-fb-form textarea, .cm-connect textarea { background: var(--card, #F7F3EB); color: var(--ink, #1A1A1A); border-color: rgba(26,26,26,.25); }
.cm-fb-text { color: var(--ink, #1A1A1A); }

/* ---- Play: Experiment panel ---- */
.cm-exp-panel {
  display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; margin-bottom: 36px;
  padding: clamp(22px, 4vw, 44px); background: var(--card, #F7F3EB); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 18px 40px -30px rgba(26,26,26,.5);
}
@media (min-width: 900px) { .cm-exp-panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.cm-exp-copy .cm-lede { margin-bottom: 22px; }
.cm-words { position: relative; height: 340px; }
.cm-conn { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cm-conn-d { fill: none; stroke: rgba(26,26,26,.45); stroke-width: 1.3; stroke-dasharray: 5 5; }
.cm-conn-u { fill: none; stroke: var(--orange, #F07A1F); stroke-width: 2.4; stroke-dasharray: 7 6; stroke-linecap: round; animation: cm-dash .65s ease-out both; }
@keyframes cm-dash { from { stroke-dashoffset: 120; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.cm-word {
  position: absolute; padding: 0; border: 0; background: none; cursor: pointer; z-index: 1;
  animation: cm-drift var(--dur, 8s) ease-in-out var(--del, 0s) infinite;
}
.cm-word span {
  display: block; padding: 6px 14px 7px; background: var(--bg); color: var(--fg, #1A1A1A);
  background-image: var(--paper-grain, none); font-family: var(--f-display, serif); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.1; white-space: nowrap;
  transform: rotate(var(--r, 0deg)); box-shadow: 0 4px 8px -4px rgba(26,26,26,.35);
  transition: transform 220ms var(--ease-out-back), box-shadow .2s;
}
.cm-word:hover span, .cm-word:focus-visible span { transform: rotate(0deg) translateY(-5px) scale(1.04); box-shadow: 0 12px 18px -8px rgba(26,26,26,.45); }
.cm-word.is-picked span { outline: 2px dashed var(--ink, #1A1A1A); outline-offset: 4px; transform: rotate(0deg) translateY(-4px); }
.cm-words:hover .cm-word { animation-play-state: paused; }
.cm-plusbox { position: absolute; right: 4%; bottom: 6%; width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px dashed rgba(26,26,26,.5); font: 400 22px/1 var(--f-ui, sans-serif); color: var(--ink, #1A1A1A); }
.cm-play .cm-games { margin-bottom: 28px; }
.cm-game-card { color: #1A1A1A; opacity: .7; box-shadow: 0 10px 22px -16px rgba(26,26,26,.6); background-image: var(--paper-grain, none); }
.cm-game-card.is-on { box-shadow: 0 18px 30px -14px rgba(26,26,26,.5), 0 0 0 2px var(--ink, #1A1A1A); }
.cm-stage { background: var(--card, #F7F3EB); border-color: var(--line); }
.cm-prompt { color: var(--muted, #5E5850); }
.cm-prompt strong { color: var(--ink, #1A1A1A); font-weight: 400; background: linear-gradient(transparent 60%, var(--yellow, #F5C518) 60%); }
.cm-verdict { color: var(--ink, #1A1A1A); }
.cm-stmt { background-color: #EFE4D2; }
.cm-stmt.is-picked { background-color: var(--yellow, #F5C518); }
@media (max-width: 600px) { .cm-words { height: 300px; } .cm-word span { font-size: 16px; padding: 5px 10px 6px; } }

/* ---- Constellation: black ellipse panel ---- */
.cm-con-map { background: var(--black, #161616); border: 0; border-radius: 8px; }
.cm-key { color: var(--ink, #1A1A1A); border-color: rgba(26,26,26,.25); }
.cm-key:hover, .cm-key.is-on { background: var(--ink, #1A1A1A); color: var(--card, #F7F3EB); border-color: var(--ink, #1A1A1A); }
.cm-orbit { fill: none; stroke: rgba(247,243,235,.55); stroke-width: 1.4; }
.cm-centre { fill: #F7F3EB; font-family: var(--f-ui, sans-serif); font-weight: 800; font-size: 46px; letter-spacing: -.03em; pointer-events: none; opacity: .92; }
.cm-e { stroke: #F7F3EB; }
.cm-e-q { stroke: #F5C518; }
.cm-n-f circle:not(.cm-hit) { stroke: #161616; }
.cm-n-h rect.cm-dot { fill: #161616; stroke: #F7F3EB; stroke-width: 1.6; filter: none; transition: fill .2s; transform-box: fill-box; transform-origin: center; }
.cm-n-h circle { filter: none; stroke: none; }
.cm-n-h:hover rect.cm-dot, .cm-n-h:focus-visible rect.cm-dot, .cm-n-h.is-g rect.cm-dot { fill: #F7F3EB; }
.cm-hub-label { fill: #F7F3EB; font-family: var(--f-ui, sans-serif); font-style: normal; font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.cm-n-h:hover .cm-hub-label, .cm-n-h:focus-visible .cm-hub-label, .cm-n-h.is-g .cm-hub-label { fill: #161616; }
.cm-hub-count { fill: rgba(247,243,235,.6); font-size: 12px; mix-blend-mode: normal; letter-spacing: .08em; }
.cm-svg.is-gathered .cm-centre, .cm-svg.is-gathered .cm-orbit { opacity: .12; }
.cm-panel { background: var(--card, #F7F3EB); border-color: var(--line); color: var(--ink, #1A1A1A); }
.cm-panel-x { color: var(--ink, #1A1A1A); }
.cm-panel-q, .cm-panel-ex { color: var(--muted, #5E5850); }
.cm-ld-dot { background: var(--orange, #F07A1F); }
.cm-ld-dia { background: #1A1A1A; }
@media (max-width: 979px) { .cm-panel { box-shadow: 0 -16px 40px rgba(26,26,26,.25); } }

/* ---- Experiment 001 ---- */
.cm-video { background: radial-gradient(ellipse at 30% 30%, #2a2a2a 0%, #161616 75%); border: 0; color: #F7F3EB; }
.cm-video::before, .cm-video::after { background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(247,243,235,.18) 14px 26px); }
.cm-video .meta, .cm-video-link { color: rgba(247,243,235,.6) !important; }
.cm-video-play { border-color: #F7F3EB; color: #F7F3EB; }
.cm-pol-img { position: relative; overflow: hidden; background: #2b2b2b; }
.cm-pol-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); }
.cm-pol { background: #FFFDF8; }
.cm-ticket { background: #161616; color: #F7F3EB; border-color: rgba(247,243,235,.25); }
.cm-ticket .meta { color: rgba(247,243,235,.65) !important; }
.cm-stamp { background: var(--orange, #F07A1F); }
.cm-agenda { border-left-color: rgba(26,26,26,.3); }
.cm-agenda li::before { background: var(--ink, #1A1A1A); }
.cm-agenda li:nth-child(5)::before { background: var(--orange, #F07A1F); box-shadow: 0 0 0 4px rgba(240,122,31,.2); }
.cm-ag-time, .cm-ag-what span { color: var(--muted, #5E5850) !important; }
.cm-bp { background-color: var(--card, #F7F3EB); border-color: rgba(26,26,26,.25); }
.cm-bp-tab { color: var(--on, #1A1A1A); }
.cm-cta { background: var(--green, #0F3D2E); color: #F7F3EB; border-radius: 8px; }
.cm-cta .cm-kicker { color: rgba(247,243,235,.7); }
.cm-cta .cm-title, .cm-cta .cm-title em { color: #F7F3EB; }
.cm-cta .btn { color: #F7F3EB; border-color: rgba(247,243,235,.45); }
.cm-cta .btn:hover { color: #fff; border-color: #fff; }
.cm-cta .cm-btn-big { background: #F7F3EB; color: #1A1A1A; border-color: #F7F3EB; }
.cm-cta .cm-btn-big:hover { color: #1A1A1A; background: #fff; }
.cm-steps i { color: rgba(26,26,26,.4); }
@media (prefers-reduced-motion: reduce) { .cm-word { animation: none !important; } .cm-conn-u { animation: none; } }

.cm-n-f circle.cm-dot { stroke: rgba(247,243,235,.4); stroke-width: 1; }
.cm-centre { opacity: .55; }

/* =====================================================================
   FIDELITY pass (Segun, 11:54) — panels 3, 6, 7 copied from moodboard-1
   ===================================================================== */
/* ---- Panel 6: Institution Proposals ---- */
.cm-props-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 28px; align-items: end; margin: 8px 0 26px; }
.cm-props-title { grid-row: 1; font-family: var(--f-display, serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 76px); line-height: .98; letter-spacing: -.015em; margin: 0; color: var(--ink, #1A1A1A); }
.cm-props-pills { display: flex; flex-wrap: wrap; gap: 10px; align-self: end; padding-bottom: 6px; }
.cm-props-pills .cm-pill { min-height: 40px; padding: 8px 18px; background: var(--card, #F7F3EB); border-color: rgba(26,26,26,.12); box-shadow: 0 1px 2px rgba(26,26,26,.08); font-size: 14.5px; }
.cm-props-pills .cm-pill.is-on { background: var(--ink, #1A1A1A); color: #fff; }
.cm-props-search { align-self: start; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.cm-props-search svg { width: 24px; height: 24px; fill: none; stroke: var(--ink, #1A1A1A); stroke-width: 2; stroke-linecap: round; }
.cm-props-search:hover { background: rgba(26,26,26,.06); }
@media (max-width: 760px) { .cm-props-head { grid-template-columns: 1fr auto; } .cm-props-pills { grid-column: 1 / -1; grid-row: 2; } }
.cm-search-pop { display: block; max-width: 520px; margin: -8px 0 20px; }
.cm-search-pop[hidden] { display: none; }
.cm-toolbar-sub { justify-content: flex-start; gap: 10px 14px; margin: 0 0 8px; }
.cm-toolbar-sub .cm-seg-btn { padding: 6px 12px; min-height: 32px; font-size: 13px; }
.cm-pills-sub { margin: 0; gap: 6px; }
.cm-pill-s { min-height: 32px; padding: 4px 11px; font-size: 12.5px; }
.cm-count { margin: 8px 0 14px; }

.cm-explore .cm-grid { gap: 22px; }
.cm-explore .cm-card { border-radius: 10px; border: 0; background: #FFFDF9; box-shadow: 0 1px 3px rgba(26,26,26,.1), 0 10px 24px -20px rgba(26,26,26,.5); }
.cm-explore .cm-card:hover, .cm-explore .cm-card:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 36px -22px rgba(26,26,26,.55); }
.cm-card-img { position: relative; height: auto; aspect-ratio: 1.55; background: #ddd; border-radius: 10px 10px 0 0; overflow: hidden; }
.cm-card-photo { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; max-width: none; border: 0; box-shadow: none; transform: none; object-fit: cover; filter: none;
  animation: cm-kb var(--kb, 12s) ease-in-out infinite alternate; transform-origin: 40% 50%; }
@keyframes cm-kb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1%, -1%); } }
.cm-explore .cm-card:hover .cm-card-photo { animation-play-state: paused; }
.cm-card-img .cm-card-likes { position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(255,253,249,.92); color: #C2362A; font: 600 11px/1 var(--f-mono, monospace); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.cm-card:hover .cm-card-likes, .cm-card:focus-visible .cm-card-likes { opacity: 1; transform: none; }
.cm-card-body { padding: 14px 16px 16px; }
.cm-card-title { font-family: var(--f-ui, sans-serif); font-weight: 700; font-size: 19px; letter-spacing: -.025em; margin: 0 0 6px; }
.cm-card-row { display: flex; align-items: flex-start; gap: 12px; }
.cm-card-row .cm-card-ex { flex: 1; margin: 0; font-size: 15px; line-height: 1.4; color: #2b2b2b; -webkit-line-clamp: 2; }
.cm-card-row .cm-card-arrow { font-size: 19px; line-height: 1.1; }
.cm-flow-item .cm-card-img { aspect-ratio: 1.7; }

/* ---- Panel 3: Experiment ---- */
.cm-play .cm-exp-panel { background: #F4EFE6; border: 0; box-shadow: none; border-radius: 4px; padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 48px); }
@media (min-width: 900px) { .cm-play .cm-exp-panel { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.cm-play .cm-grotesk { font-size: clamp(48px, 6.4vw, 92px); letter-spacing: -.04em; margin-bottom: 18px; }
.cm-exp-body { font-family: var(--f-ui, sans-serif); font-size: clamp(18px, 1.9vw, 24px); line-height: 1.35; color: var(--ink, #1A1A1A); max-width: 26ch; margin: 0 0 28px; }
.cm-btn-ink { border-radius: 6px; min-height: 52px; padding: 14px 24px; font-size: 16px; }
.cm-btn-ink .cm-arr, .cm-play-actions .btn .cm-arr { display: inline-block; transition: transform .2s var(--ease, ease); }
.cm-btn-ink:hover .cm-arr { transform: translateX(4px); }
.cm-exp-hint { margin: 14px 0 0; }
.cm-words { position: relative; height: auto; aspect-ratio: 860 / 480; container-type: inline-size; }
.cm-conn path { fill: none; vector-effect: non-scaling-stroke; transition: stroke .2s; }
.cm-conn-d { stroke: #1A1A1A; stroke-width: 1.5; stroke-dasharray: 6 6; animation: cm-march 1.2s linear infinite; }
.cm-conn-f { stroke: rgba(196,168,88,.55); stroke-width: 1.2; }
.cm-conn path.is-hot { stroke: var(--orange, #F07A1F); stroke-width: 2; }
@keyframes cm-march { to { stroke-dashoffset: -12; } }
.cm-conn-u { stroke: var(--orange, #F07A1F); stroke-width: 2.4; stroke-dasharray: 6 6; animation: cm-march 1.2s linear infinite, cm-fadein .4s ease-out both; }
@keyframes cm-fadein { from { opacity: 0; } to { opacity: 1; } }
.cm-words.is-paused .cm-conn path, .cm-words.is-paused .cm-word { animation-play-state: paused; }
.cm-word { position: absolute; display: block; padding: 0; animation: cm-float var(--dur, 8s) ease-in-out var(--del, 0s) infinite alternate; }
@keyframes cm-float { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 4px), calc(var(--dy, 4px) * 1.2)); } }
.cm-word span {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0;
  background: var(--bg); color: #1A1A1A; font-family: var(--f-display, serif); font-weight: 400;
  font-size: 5.4cqw; line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  transform: rotate(var(--r, 0deg)); box-shadow: 0 2px 4px rgba(26,26,26,.12);
  background-image: var(--paper-grain, none);
}
.cm-word:hover span, .cm-word:focus-visible span { transform: rotate(0deg) translateY(-6px); box-shadow: 0 14px 20px -10px rgba(26,26,26,.45); }
.cm-word:hover, .cm-word:focus-visible { z-index: 3; }
.cm-plusbox { position: absolute; right: auto; bottom: auto; width: 10.2%; aspect-ratio: 1; height: auto; border: 1.5px dashed rgba(26,26,26,.55); border-radius: 3px; display: grid; place-items: center; font: 300 5cqw/1 var(--f-ui, sans-serif); background: transparent; }
@media (max-width: 600px) { .cm-words { height: auto; } .cm-word span { font-size: 5.4cqw; padding: 0; } }

/* ---- Panel 7: ellipse ---- */
.cm-ellipse { background: var(--black, #161616); border-radius: 6px; padding: clamp(18px, 4vw, 44px); margin-bottom: 40px; overflow: hidden; }
.cm-ell-stage { position: relative; aspect-ratio: 100 / 64; max-width: 920px; margin: 0 auto; container-type: inline-size; }
.cm-ell-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cm-ell-svg ellipse { fill: none; stroke: rgba(247,243,235,.85); stroke-width: 1.6; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.cm-ell-stage:hover .cm-ell-svg ellipse { stroke: #fff; }
.cm-ell-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; text-align: left; color: #F7F3EB; font-family: var(--f-ui, sans-serif); font-weight: 600; font-size: 7cqw; line-height: 1.02; letter-spacing: -.035em; white-space: nowrap; }
.cm-ell-pill {
  position: absolute; transform: translate(-50%, -50%); padding: 1.6cqw 3.2cqw; min-width: 17cqw; text-align: center;
  border: 1.5px solid #F7F3EB; border-radius: 50%; background: var(--black, #161616); color: #F7F3EB;
  font: 400 3cqw/1.1 var(--f-ui, sans-serif); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s;
}
.cm-ell-pill:hover, .cm-ell-pill:focus-visible { background: #F7F3EB; color: #161616; }
.cm-ell-dot { position: absolute; width: 1.2cqw; height: 1.2cqw; min-width: 7px; min-height: 7px; margin: -.6cqw 0 0 -.6cqw; border-radius: 50%; background: var(--orange, #F07A1F); box-shadow: 0 0 10px rgba(240,122,31,.7); }
.cm-con-title { font-size: clamp(34px, 4.4vw, 56px); }
@media (max-width: 600px) { .cm-ell-pill { font-size: 3.6cqw; border-width: 1px; } }
@media (prefers-reduced-motion: reduce) { .cm-card-photo, .cm-conn-d, .cm-conn-u, .cm-word { animation: none !important; } }
@media (max-width: 760px) {
  .cm-pills-sub { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .cm-pills-sub::-webkit-scrollbar { display: none; }
  .cm-pill-s { flex: 0 0 auto; }
}

/* MARK 7 textures: torn label paper + fonts */
.cm-word span.tex-tag { background-color: transparent; background-size: 100% 100%; background-repeat: no-repeat; background-position: center; box-shadow: none; padding: 0 4%; font-family: var(--f-display, serif); }
.cm-word span.tex-tag.yellow { background-image: url("../assets/tex/tag-yellow.webp"); }
.cm-word:hover span.tex-tag, .cm-word:focus-visible span.tex-tag { box-shadow: none; filter: drop-shadow(0 10px 10px rgba(26,26,26,.3)); }
.cm-conn-d { stroke-width: 1.4; stroke-dasharray: 5 6; stroke-linecap: round; }
@keyframes cm-march { to { stroke-dashoffset: -11; } }
.cm-ell-pill { font-family: var(--f-ui, sans-serif); font-weight: 500; }
.cm-ell-title, .cm-grotesk, .cm-card-title { font-family: var(--f-head, var(--f-ui, sans-serif)); }
.cm-props-title { font-family: var(--f-display, serif); }
.cm-exp-body { max-width: 23.5ch; }

/* QA round 2 */
.cm-play .cm-exp-hint { margin: -22px 0 26px; }
.cm-filters { margin: -10px 0 18px; }
.cm-filters > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; list-style: none; padding: 4px 0; }
.cm-filters > summary::-webkit-details-marker { display: none; }
.cm-filters > summary::after { content: "+"; font-size: 13px; }
.cm-filters[open] > summary::after { content: "−"; }
.cm-filters .cm-toolbar-sub { margin-top: 10px; }
.cm-explore .cm-count { margin: 18px 0 0; }
/* MARK 35: debate form email (Angel 23 Nov) — invalid state, same field style */
.cm-fb-form input[aria-invalid="true"] { border-color: var(--orange, #F07A1F); }
.cm-fb-form label .cm-small { font-family: var(--f-ui, system-ui, sans-serif); text-transform: none; letter-spacing: 0; margin-top: -1px; }
