/* /c/<handle> : public creator page. Builds on /d/d.css (cream / green / gold, 8 px corners on controls like /d). Mobile first (375 px), no horizontal scroll. */
.cc-main { max-width: 560px; }
.cc-back { margin-left: auto; color: var(--green); font: 600 13.5px/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.cc-head { display: grid; justify-items: center; gap: 8px; text-align: center; padding-top: 6px; }
.cc-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font: 900 32px/1 var(--display); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.cc-head h1 { margin: 0; }
.cc-bio { color: var(--ink-2); font-size: 15.5px; max-width: 44ch; white-space: pre-line; }
.cc-stats { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; font: 700 15px/1.2 var(--body); background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; }
.cc-owner { display: grid; gap: 8px; background: #fff6dc; border: 1px solid var(--gold); border-radius: var(--r); padding: 12px; }
.cc-owner .gd-btn { min-height: 48px; border-radius: 8px; }
.cc-owner-t { font-weight: 700; font-size: 14.5px; }
.cc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.cc-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(20,22,26,.35); display: grid; }
.cc-img { display: block; background: #f3efe4; }
.cc-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.cc-body { padding: 8px 10px 10px; display: grid; gap: 6px; }
.cc-t { font: 800 15px/1.2 var(--display); overflow-wrap: anywhere; }
.cc-m { font-size: 13px; color: var(--ink-2); }
.cc-card .gd-btn { min-height: 44px; font-size: 15.5px; border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); }
.cc-empty { background: var(--card); border: 1px dashed var(--ink-2); border-radius: 12px; padding: 24px 16px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.cc-empty .cc-e { font-size: 34px; line-height: 1; }
.cc-empty .gd-btn { width: 100%; max-width: 320px; border-radius: 8px; }
/* visitor bar: fixed (position: sticky does not stick here because /d/d.css sets overflow-x: hidden on html AND body) */
.cc-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--paper) 78%, rgba(251,248,241,0)); }
.cc-cta[hidden] { display: none; }
.cc-cta .gd-btn { border-radius: 8px; max-width: 528px; margin: 0 auto; width: 100%; }
.cc-main.cc-has-cta { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }

/* share sheet (bottom sheet on phones, centered card on wide screens) */
.cc-bg { position: fixed; inset: 0; z-index: 50; background: rgba(20,22,26,.55); display: flex; align-items: flex-end; justify-content: center; }
.cc-sheet { background: var(--paper); width: 100%; max-width: 520px; max-height: 92svh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; border-top: 3px solid var(--ink); }
.cc-sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-x { min-width: 44px; min-height: 44px; border-radius: 8px; border: 2px solid var(--ink); background: var(--card); font: 700 18px/1 var(--body); cursor: pointer; color: var(--ink); }
.cc-cap { width: 100%; min-height: 112px; resize: vertical; border-radius: 8px; border: 2px solid var(--line); padding: 10px 12px; font: 16px/1.4 var(--body); background: #fff; color: var(--ink); }
.cc-cap:focus { border-color: var(--green); outline: none; }
.cc-sh2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cc-sh2 .gd-sh { border-radius: 8px; min-height: 48px; }
.cc-steps { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; color: var(--ink-2); display: grid; gap: 2px; }
.cc-steps b { color: var(--ink); }
.cc-qr { display: grid; justify-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.cc-qr img { width: 160px; height: 160px; image-rendering: pixelated; }
.cc-qr .gd-link { padding: 4px 8px; min-height: 36px; }
@media (min-width: 560px) { .cc-bg { align-items: center; } .cc-sheet { border-radius: 16px; border: 3px solid var(--ink); } }
@media (min-width: 520px) { .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
