/* The creator program (js/creator-*.js): the Creators page and Create tab, the editor, the Creator Workshop shelf, Inspect,
   Report and the creator-code line. The field journal's own vocabulary (docs/ui/theme.md): gunmetal plates with hard shadows,
   red inked titles, rubber-stamp state words set a little crooked, the red rule. No new colours, no new motion. Every class
   starts with cw- (the older .creator-* classes belong to the creator gifts and creator rooms). */

.cw-sheet { gap: 12px; }
.cw-kicker { display: inline-flex; align-items: center; gap: 6px; font: 400 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: #f27661; }
.cw-kicker .wi { width: 16px; height: 16px; }
.cw-h { margin: 4px 0 0; padding-bottom: 3px; font: 400 17px var(--display); letter-spacing: .065em; text-transform: uppercase; color: #f27661; border-bottom: 1px solid #f2766155; display: flex; align-items: baseline; gap: 8px; }
.cw-h small { margin-left: auto; font: 400 12px var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
h4.cw-h { font-size: 14px; }
.cw-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.cw-err { margin: 0; min-height: 0; color: #ff8a7a; font-size: 14px; font-weight: 600; font-style: normal; }
.cw-err:empty { display: none; }
.cw-reason { color: #f2c84b; font-size: 13px; }
/* plates: the raised gunmetal of css/normal.css's journal pages, hard shadows only */
.cw-next, .cw-block, .cw-card, .cw-item, .cw-lockcard, .cw-turn, .cw-markrow, .cw-worn, .cw-shelf-make, .cw-support-line, .cw-mix, .cw-entry {
  background: linear-gradient(170deg, #211f1b, #121113 72%); border: 1px solid #5a4d40; box-shadow: 0 2px 0 #070807, inset 0 1px 0 #f2d9a914;
}
/* a stamp (the .hc-stamp pattern of css/kit.css) */
.cw-stamp { display: inline-block; padding: 2px 6px 1px; font: 400 12px var(--display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; border: 2px solid currentColor; transform: rotate(-2deg); white-space: nowrap; color: #a9ad9f; }
.cw-stamp.live { color: #b9f07a; } .cw-stamp.wait { color: #d9a441; } .cw-stamp.bad { color: #ff6b5b; } .cw-stamp.warn { color: #f2c84b; } .cw-stamp.off { color: #7d858a; }

/* ---------- fields and chips ---------- */
.cw-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cw-field > span { font: 400 14px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #e9e4d6; }
.cw-field > small { color: var(--muted); font-size: 12px; }
.cw-field input { width: 100%; box-sizing: border-box; height: 44px; border: 0; background: #0b0b0b; color: var(--fg); padding: 0 12px; font: 400 16px var(--body); border-radius: 0; box-shadow: inset 0 0 0 2px #5a4d40; -webkit-user-select: text; user-select: text; }
.cw-field input:focus { outline: none; box-shadow: inset 0 0 0 2px #f27661; }
.cw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cw-chips button, .cw-count button, .cw-parts button, .cw-prices button, .cw-reasons button {
  min-height: 36px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 5px; background: #22241e; border: 1px solid #5b4e3a; color: #e9e4d6; font: 400 15px var(--display); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.cw-chips button .wi { width: 14px; height: 14px; }
.cw-chips button[aria-pressed="true"], .cw-chips button[aria-checked="true"], .cw-count button[aria-pressed="true"], .cw-parts button[aria-selected="true"], .cw-prices button[aria-checked="true"], .cw-reasons button[aria-checked="true"] { background: #89282c; border-color: #f3aa7c; color: #fff; }
.cw-chips button:disabled { opacity: .4; cursor: default; }
.cw-count { display: inline-flex; gap: 0; margin-left: auto; }
.cw-count button { min-height: 32px; padding: 4px 9px; font-size: 13px; }
.cw-tick { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border: 1px dashed #5a4d40; color: #f3eee3; font-size: 15px; cursor: pointer; }
.cw-tick input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: #c8202a; }
.cw-rules { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 3px; color: #e9e4d6; font-size: 14px; line-height: 1.3; }
.cw-rules li::marker { color: #f27661; font-family: var(--display); }

/* ---------- the editor ---------- */
.cw-editor { max-width: 560px; }
.cw-stage { display: grid; gap: 6px; }
.cw-stage-paint { grid-template-columns: repeat(4, minmax(0, 1fr)); position: sticky; top: -18px; z-index: 2; margin: -4px -6px 0; padding: 4px 6px 6px; background: linear-gradient(#1d1b17 80%, #1d1b1700); }
.cw-turn { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 3px; min-width: 0; }
.cw-turn canvas { width: 100%; aspect-ratio: 4 / 3; display: block; background: radial-gradient(ellipse at 50% 60%, #2c2a25, #121113 75%); }
.cw-turn small, .cw-lockcard small { text-align: center; font: 400 11px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.cw-tile canvas { image-rendering: pixelated; }
.cw-stage-flag { grid-template-columns: 1fr 1.25fr 1fr; align-items: stretch; position: sticky; top: -18px; z-index: 2; margin: -4px -6px 0; padding: 4px 6px 6px; background: linear-gradient(#1d1b17 80%, #1d1b1700); }
.cw-lockcard { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px 3px; min-width: 0; border-color: #6f8f3a; }
.cw-lockcard img, .cw-flagpic img, .cw-inspect-flag img, .cw-item-pic img { image-rendering: pixelated; image-rendering: crisp-edges; box-shadow: 0 0 0 2px #050505; }
.cw-lockcard img { width: 72px; height: 48px; }
.cw-lockcard b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 14px var(--display); text-transform: uppercase; color: #f3eee3; }
.cw-nameflag canvas, .cw-nation canvas { aspect-ratio: 16 / 10; }
.cw-nation canvas { image-rendering: pixelated; }
.cw-controls { display: flex; flex-direction: column; gap: 10px; }
.cw-controls section { display: flex; flex-direction: column; gap: 8px; }
.cw-parts { display: flex; gap: 6px; }
.cw-parts button { flex: 1; justify-content: center; }
.cw-parts i, .cw-slot { display: inline-block; width: 22px; height: 22px; background: var(--c); box-shadow: 0 0 0 2px #050505, 0 0 0 3px #5a4d40; }
.cw-swatches { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; }
.cw-sw { aspect-ratio: 1; min-height: 20px; padding: 0; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px #0006; cursor: pointer; }
.cw-sw.on { box-shadow: 0 0 0 2px #050505, 0 0 0 4px #f3eee3; position: relative; z-index: 1; }
.cw-mix { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 6px 8px; }
.cw-mix-now { grid-row: 1 / 4; grid-column: 1; width: 40px; height: 100%; min-height: 58px; background: var(--c); box-shadow: 0 0 0 2px #050505; }
.cw-mix code { grid-row: 4; grid-column: 1 / -1; font: 400 12px ui-monospace, Menlo, monospace; color: #d9d2bd; }
.cw-mix label { grid-column: 2; }
.cw-mix label, .cw-ranges label { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; font: 400 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cw-mix input[type=range], .cw-ranges input[type=range] { width: 100%; height: 28px; margin: 0; accent-color: #c8202a; }
.cw-fieldcols { display: flex; align-items: center; gap: 10px; }
.cw-slot { width: 34px; height: 30px; padding: 0; border: 0; cursor: pointer; }
.cw-slot.on { box-shadow: 0 0 0 2px #050505, 0 0 0 4px #f3eee3; }
.cw-markrow { padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.cw-markhead { display: flex; align-items: center; gap: 8px; }
.cw-markhead > b { font: 400 15px var(--display); letter-spacing: .06em; text-transform: uppercase; color: #f3eee3; min-width: 74px; }
.cw-x { margin-left: auto; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; background: none; border: 1px solid #5a4d40; cursor: pointer; }
.cw-count + .cw-x { margin-left: 6px; }
.cw-x .wi { width: 16px; height: 16px; }
.cw-ranges { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.cw-submit { display: flex; flex-direction: column; gap: 10px; }
.cw-prices { display: flex; gap: 6px; }
.cw-prices button { flex: 1; justify-content: center; font-size: 18px; }
.cw-prices .art { width: 20px; height: 20px; }

/* sliders: the game's range (css/style.css) at a slimmer size, so three fit in the mixer */
.cw-sheet input[type=range] { height: 32px; }
.cw-sheet input[type=range]::-webkit-slider-runnable-track { height: 10px; box-shadow: inset 0 0 0 2px #000; }
.cw-sheet input[type=range]::-moz-range-track { height: 10px; }
.cw-sheet input[type=range]::-webkit-slider-thumb { width: 16px; height: 26px; margin-top: -8px; box-shadow: inset 0 -4px 0 #9a948c, 0 0 0 2px #000; }
.cw-sheet input[type=range]::-moz-range-thumb { width: 16px; height: 26px; }

/* ---------- the Creators page and the Create tab ---------- */
.cw-page { max-width: 560px; }
.cw-lk { display: flex; flex-direction: column; gap: 10px; }
.cw-lk-head { display: flex; flex-direction: column; gap: 2px; }
.cw-lk-head b { display: flex; align-items: center; gap: 6px; font: 400 22px var(--display); text-transform: uppercase; color: #fff; }
.cw-lk-head small { color: var(--muted); font-size: 13px; }
.cw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.cw-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 400 13px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #7d858a; }
.cw-steps li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: #3c4247; z-index: 0; }
.cw-steps li:first-child::before { display: none; }
.cw-steps li.done::before, .cw-steps li.now::before { background: #c8202a; }
.cw-steps i { position: relative; z-index: 1; width: 26px; height: 26px; display: grid; place-items: center; font: 400 15px var(--display); font-style: normal; background: #121113; border: 2px solid #3c4247; color: #7d858a; }
.cw-steps i .wi { width: 14px; height: 14px; }
.cw-steps li.done { color: #d9d2bd; } .cw-steps li.done i { border-color: #6f8f3a; background: #2f3a24; }
.cw-steps li.now { color: #fff; } .cw-steps li.now i { border-color: #f3aa7c; background: #89282c; color: #fff; }
.cw-next { position: relative; padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 8px; border-color: #c8202a; box-shadow: 0 2px 0 #070807, inset 0 2px 0 #c8202a; }
.cw-next h3 { margin: 0; font: 400 26px/1 var(--display); text-transform: uppercase; color: #fff; }
.cw-next p { margin: 0; }
.cw-next-act { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-next-act .btn { flex: 1 1 140px; }
.cw-block { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.cw-block p { margin: 0; }
.cw-reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cw-reqs li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; padding: 4px 6px; background: #0b0b0b66; border-left: 3px solid #5a4d40; font-size: 14px; color: #e9e4d6; }
.cw-reqs li.ok { border-left-color: #6f8f3a; }
.cw-reqs i { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #5a4d40; }
.cw-reqs li.ok i { border-color: #6f8f3a; }
.cw-reqs i .wi { width: 14px; height: 14px; }
.cw-reqs b { font: 400 15px var(--display); letter-spacing: .04em; color: #f3eee3; }
.cw-reqs li:not(.ok) b { color: #f2c84b; }
.cw-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cw-item { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; }
.cw-item-pic { width: 72px; height: 48px; display: grid; place-items: center; background: #0b0b0b; }
.cw-item-pic canvas { width: 72px; height: 48px; display: block; }
.cw-item-pic img { width: 72px; height: 48px; }
.cw-item-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cw-item-txt b { font: 400 17px var(--display); text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-item-txt small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.cw-item-txt .art { width: 14px; height: 14px; }
.cw-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 6px; }
.cw-stats > div { padding: 6px 8px; background: #0b0b0b88; border: 1px solid #3c4247; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cw-stats small { font: 400 11px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cw-stats b { font: 400 24px/1.05 var(--display); color: #fff; }
.cw-stats em { font-style: normal; font-size: 11px; color: var(--muted); }
.cw-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #d9d2bd; }
.cw-line .wi { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.cw-hist, .cw-hidden { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cw-hist li, .cw-hidden li { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px dashed #3c4247; font-size: 14px; color: #e9e4d6; }
.cw-hist li b { margin-left: auto; font: 400 17px var(--display); }
.cw-hidden li span { flex: 1; }
.cw-codebig { align-self: flex-start; padding: 6px 14px 4px; font: 400 40px/1 var(--display); letter-spacing: .12em; color: #fff; background: #121113; border: 2px solid #c8202a; box-shadow: 3px 3px 0 #070807; transform: rotate(-1deg); }
.cw-verify { color: #f2c84b; border-color: #d9a441; }
.cw-share { display: flex; gap: 8px; align-items: center; min-width: 0; }
.cw-share code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px; background: #0b0b0b; font: 400 12px ui-monospace, Menlo, monospace; color: #d9d2bd; border: 1px solid #3c4247; }
.cw-apply { display: flex; flex-direction: column; gap: 8px; }
.cw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cw-rulesbox summary { cursor: pointer; font: 400 15px var(--display); letter-spacing: .06em; text-transform: uppercase; color: #f27661; }
.cw-rulesbox[open] summary { margin-bottom: 8px; }

/* the Nation area gains a sixth tab (Create) */
#tab-locker .lk-tabs:has(> [data-section="create"]) { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* the main menu's Creators entry */
.cw-entry { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 12px; text-align: left; }
.cw-entry > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cw-entry b { font: 400 18px var(--display); text-transform: uppercase; color: #fff; }
.cw-entry small { font: 400 12px var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.cw-entry .wi { width: 24px; height: 24px; flex: none; }

/* ---------- the shelf, Inspect, Report ---------- */
.cw-shelf-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 6px; margin: 0 -2px; }
.cw-card { position: relative; flex: 0 0 136px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 5px 5px 0; text-align: left; color: inherit; cursor: pointer; border-top: 3px solid var(--rc); }
.cw-kind { position: absolute; top: 7px; left: 7px; z-index: 1; padding: 1px 5px; font: 400 11px var(--display); letter-spacing: .1em; text-transform: uppercase; background: #050505cc; color: #d9d2bd; }
.cw-pic { display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 60%, #2c2a25, #121113 75%); }
.cw-pic canvas { width: 100%; height: 100%; display: block; }
.cw-flagpic img { width: 84px; height: 56px; }
.cw-card b { font: 400 16px/1.05 var(--display); text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-by { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
p.cw-by b { color: #f3eee3; }
.cw-foot { display: flex; align-items: stretch; margin: 3px -5px 0; border-top: 1px solid #5a4d40; }
.cw-foot em { flex: 1; display: flex; align-items: center; gap: 3px; padding: 4px 6px; font: 400 16px var(--display); font-style: normal; color: #fff; }
.cw-foot .art { width: 16px; height: 16px; }
.cw-owned { color: #b9f07a !important; }
.cw-owned .wi { width: 14px; height: 14px; }
.cw-inspect { display: flex; align-items: center; gap: 3px; padding: 4px 6px; font: 400 11px var(--display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #d9d2bd; border-left: 1px solid #5a4d40; }
.cw-inspect .wi { width: 12px; height: 12px; }
.cw-shelf-make { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 8px 12px; text-align: left; color: inherit; cursor: pointer; border-style: dashed; }
.cw-shelf-make > span { display: flex; flex-direction: column; }
.cw-shelf-make b { font: 400 16px var(--display); text-transform: uppercase; color: #fff; }
.cw-shelf-make small { color: var(--muted); font-size: 12px; }
.cw-empty { margin: 0; padding: 12px; border: 1px dashed #5a4d40; color: var(--muted); font-size: 14px; }
.cw-inspect-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cw-inspect-pics canvas { width: 100%; aspect-ratio: 4 / 3; display: block; background: radial-gradient(ellipse at 50% 60%, #2c2a25, #121113 75%); border: 1px solid #5a4d40; }
.cw-inspect-flag { grid-template-columns: 1fr; justify-items: center; padding: 10px; background: radial-gradient(ellipse at 50% 60%, #2c2a25, #121113 75%); border: 1px solid #5a4d40; }
.cw-inspect-flag img { width: 192px; height: 128px; }
.cw-specline { text-align: center; font: 400 13px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.cw-inspect-act { flex-wrap: wrap; }
.cw-safety { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding-top: 6px; border-top: 1px dashed #3c4247; }
.cw-safety .linkbtn { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; }
.cw-safety .wi { width: 16px; height: 16px; }
.cw-reasons { display: flex; flex-direction: column; gap: 6px; }
.cw-reasons button { justify-content: flex-start; min-height: 44px; text-align: left; }
.cw-worn { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.cw-worn-row { display: flex; align-items: center; gap: 6px; }
.cw-worn-row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cw-worn-row b { font: 400 15px var(--display); text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-worn-row small { font-size: 12px; color: var(--muted); }
.cw-worn-row .btn .wi { width: 14px; height: 14px; }

/* creator codes */
.cw-support-line { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 8px; padding: 8px 10px; text-align: left; color: #e9e4d6; font-size: 14px; cursor: pointer; }
.cw-support-line .wi { width: 16px; height: 16px; flex: none; }
.cw-support-line span { flex: 1; min-width: 0; }
.cw-support-line em { font: 400 13px var(--display); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #f27661; }
.cw-sup-now { display: flex; align-items: center; gap: 8px; color: #e9e4d6; }
.cw-sup-now .wi { width: 16px; height: 16px; }
.cw-code-sheet #cw-code { text-transform: uppercase; letter-spacing: .12em; font-size: 20px; }

/* phones */
@media (max-width: 400px) {
  .cw-stage-paint { gap: 4px; }
  .cw-stage-paint .cw-turn { padding: 2px; }
  .cw-stage-paint .cw-turn canvas { aspect-ratio: 1; }
  .cw-turn small { font-size: 10px; letter-spacing: .04em; }
  .cw-swatches { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .cw-ranges { grid-template-columns: 1fr; }
  .cw-mix label, .cw-ranges label { grid-template-columns: 64px 1fr; }
  .cw-next h3 { font-size: 22px; }
  .cw-item { grid-template-columns: 64px 1fr; row-gap: 4px; }
  .cw-item-pic { grid-row: 1 / 3; width: 64px; height: 43px; }
  .cw-item-pic canvas, .cw-item-pic img { width: 64px; height: 43px; }
  .cw-item-end { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
  .cw-codebig { font-size: 32px; }
  #tab-locker .lk-tabs:has(> [data-section="create"]) button span { font-size: 11px; }
}
@media (max-width: 340px) {
  .cw-two { grid-template-columns: 1fr; }
}
/* a short screen: the previews scroll with the page instead of staying pinned over the controls */
@media (max-height: 700px) { .cw-stage-paint, .cw-stage-flag { position: static; } }
@media (prefers-reduced-motion: reduce) { .cw-shelf-row { scroll-behavior: auto; } }

/* ---------- the Approved Creator stamp (js/creator-badge.js; Gage 11-25, restyled 11-26 in the game's own look) ----------
   A flat gunmetal plate with a brass inked edge and a hard black drop, like the Locker's plates; the seal is the pixel icon
   ICONS.creatorSeal. Sits inline after a name and never changes the name's line height. */
.cw-stamp { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 6px 1px 2px; vertical-align: middle;
  color: #f2b705; background: #1b1a18; border: 1px solid #c9a24a; box-shadow: inset 0 0 0 1px #0b0b0b, 0 2px 0 #0b0b0b;
  font: 400 10px/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.cw-stamp b { font-weight: 400; text-shadow: 0 1px 0 #0b0b0b; }
.cw-stamp .cw-seal { width: 14px; height: 14px; flex: none; }
.cw-stamp.md { font-size: 12px; padding: 2px 8px 2px 3px; gap: 5px; }
.cw-stamp.md .cw-seal { width: 18px; height: 18px; }
.cw-stamp.lg { font-size: 15px; padding: 4px 12px 4px 4px; gap: 7px; margin: 0; border-width: 2px; box-shadow: inset 0 0 0 2px #0b0b0b, 0 3px 0 #0b0b0b; }
.cw-stamp.lg .cw-seal { width: 30px; height: 30px; }
.td-rank-who .cw-stamp b { display: none; } /* the board's narrow rows keep the seal only; the label is in its title */
@media (min-width: 420px) { .td-rank-who .cw-stamp b { display: inline; } }
.td-public-head .cw-stamp { margin: 4px 0 0; }

/* The stamp card on the Creators page */
.cw-stamp-card { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
.cw-stamp-card p { margin: 0; color: var(--muted); font-size: 13px; }
.cw-stamp-card p b { display: block; color: #f3eee3; font: 400 15px var(--display); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }
.cw-stamp-card .btn { grid-column: 1 / -1; justify-self: start; }
.cw-stamp-card.off .cw-stamp-pic { filter: grayscale(1) brightness(.7); }

/* The Video Library's way in: a Locker-style panel with the Locker's struck brass medallion and the pixel seal on its face */
.cw-lib { display: flex; align-items: center; gap: 12px; width: 100%; margin: 6px 0 12px; padding: 8px 12px 8px 8px; text-align: left; cursor: pointer;
  color: #efe6d6; background: #1b1a18; border: 2px solid #6b5a3a; box-shadow: inset 0 0 0 1px #0b0b0b, 0 3px 0 #0b0b0b; }
.cw-lib:hover, .cw-lib:focus-visible { border-color: #c9a24a; outline: none; }
.cw-lib:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px #0b0b0b, 0 1px 0 #0b0b0b; }
.cw-lib-ring { position: relative; flex: none; display: block; width: 78px; height: 84px; background: center / 100% 100% no-repeat; image-rendering: pixelated; }
.cw-lib-ring:not([style]) { border-radius: 50%; border: 6px solid #c9a24a; box-shadow: 0 0 0 2px #0b0b0b; background: #3d372f; width: 72px; height: 72px; }
.cw-lib-ring .cw-lib-seal { position: absolute; left: 17px; top: 17px; width: 44px; height: 44px; }
.cw-lib-ring:not([style]) .cw-lib-seal { left: 8px; top: 8px; }
.cw-lib-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.cw-lib-text small { display: flex; align-items: center; gap: 5px; color: #f27661; font: 400 12px var(--display); letter-spacing: .1em; text-transform: uppercase; }
.cw-lib-text small .wi { width: 16px; height: 16px; flex: none; }
.cw-lib-text b { font: 400 22px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #f3eee3; text-shadow: 0 2px 0 #0b0b0b; }
.cw-lib-text em { font-style: normal; font-size: 13px; color: #c9c2b2; }
.cw-lib-go { flex: none; width: 20px; height: 20px; }
@media (max-width: 360px) { .cw-lib-ring { width: 60px; height: 65px; } .cw-lib-ring .cw-lib-seal { left: 13px; top: 13px; width: 34px; height: 34px; } .cw-lib-text b { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .cw-lib:active { transform: none; } }

/* ==== 2026-11-28: the creator board, pictures, the proof screenshot, a creator's public card (js/creator-hub.js).
   Flat gunmetal plates with an inked brass edge and a hard black drop, like the rest of the program. ==== */
.cw-ov { padding: 12px; background: linear-gradient(170deg, #26231e, #141311 75%); border: 1px solid #8a6a3a; box-shadow: 0 3px 0 #070807, inset 0 1px 0 #f2d9a91c; }
.cw-ov-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cw-ov-av { flex: none; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; background: #0b0b0b; border: 2px solid #d9a441; border-radius: 3px; box-shadow: 0 2px 0 #070807; }
.cw-ov-av .wi { width: 30px; height: 30px; }
.cw-ov-av img { width: 100%; height: 100%; object-fit: cover; }
.cw-ov-head > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.cw-ov-head small { font: 400 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #d9a441; }
.cw-ov-head b { font: 400 24px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #f3eee3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-ov-code { flex: none; padding: 5px 8px 3px; font: 400 16px/1 var(--display); font-style: normal; letter-spacing: .1em; color: #2a1d05; background: #d9a441; border: 1.5px solid #15120e; box-shadow: 0 2px 0 #070807; transform: rotate(-2deg); }
.cw-ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cw-ov-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 70px; padding: 8px 10px; text-align: left; background: #0f0e0c; border: 1px solid #5a4d40; border-top: 2px solid #c8202a; border-radius: 2px; box-shadow: 0 2px 0 #070807; }
.cw-ov-tile small { font: 400 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #a99f8e; }
.cw-ov-tile b { font: 400 26px/1 var(--display); color: #f3eee3; }
.cw-ov-tile em { font-style: normal; font-size: 12px; color: #a99f8e; }
.cw-ov-tile.gold { border-top-color: #d9a441; } .cw-ov-tile.gold b { color: #f0c870; }
.cw-ov-tile.live b { color: #b9f07a; }
.cw-ov-tile:active { transform: translateY(2px); box-shadow: none; }
.cw-pics-block .cw-chips { margin: 2px 0 8px; }
.cw-pic-add { position: relative; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 10px 0 2px; cursor: pointer; }
.cw-pics { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cw-pic { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 8px; background: #0f0e0c; border: 1px solid #5a4d40; box-shadow: 0 2px 0 #070807; }
.cw-pic-frame { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #070807; border: 4px solid #eadbc3; }
.cw-pic.avatar .cw-pic-frame { aspect-ratio: 1; }
.cw-pic.banner .cw-pic-frame { aspect-ratio: 3 / 1; }
.cw-pic-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-pic-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cw-pic-txt b { font-size: 14px; color: #f3eee3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-pic-txt small { font-size: 12px; color: #a99f8e; }
.cw-pic .cw-stamp { position: absolute; left: 10px; top: 10px; background: #0b0b0bcc; }
.cw-pic-del { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; background: #1b1a18; border: 1px solid #5a4d40; border-radius: 2px; }
.cw-pic-del i::before, .cw-pic-del i::after { content: ''; position: absolute; left: 8px; top: 14px; width: 14px; height: 3px; background: #f27661; transform: rotate(45deg); }
.cw-pic-del i::after { transform: rotate(-45deg); }
.cw-proof { margin: 10px 0 4px; }
.cw-proof-h { font: 400 14px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #e9e4d6; }
.cw-proof-h small { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--body); }
.cw-proof-drop { display: grid; place-items: center; min-height: 92px; padding: 8px; cursor: pointer; background: #0b0b0b; border: 2px dashed #84705799; }
.cw-proof-drop > span { display: flex; align-items: center; gap: 8px; }
.cw-proof-drop > span .wi { width: 30px; height: 30px; }
.cw-proof-drop b { font: 400 17px var(--display); letter-spacing: .06em; text-transform: uppercase; color: #f3eee3; }
.cw-proof-drop.has > span { display: none; }
.cw-proof-drop.has { border-style: solid; border-color: #5a4d40; }
.cw-proof-drop img { display: block; max-width: 100%; max-height: 260px; border: 4px solid #eadbc3; }
.cw-by-link { padding: 0; min-height: 0; font-weight: 700; color: var(--brass, #d9bd8b); text-decoration: underline; text-underline-offset: 3px; }
.cw-card-sheet { padding-top: 0; overflow: hidden; }
.cw-card-banner { height: 110px; margin: 0 -16px; background: repeating-linear-gradient(135deg, #2a2621 0 12px, #1d1b17 12px 24px) center / cover; border-bottom: 2px solid #c8202a; }
.cw-card-head { display: flex; align-items: flex-end; gap: 10px; margin-top: -30px; }
.cw-card-av { flex: none; display: grid; place-items: center; width: 70px; height: 70px; overflow: hidden; background: #0b0b0b; border: 3px solid #d9a441; box-shadow: 0 3px 0 #070807; }
.cw-card-av img { width: 100%; height: 100%; object-fit: cover; }
.cw-card-av .wi { width: 40px; height: 40px; }
.cw-card-head h2 { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; }
.cw-card-art { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cw-card-art img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid #eadbc3; background: #070807; }
.cw-card-art small { display: block; margin-top: 3px; font-size: 12px; color: #a99f8e; }
.cw-card-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cw-card-items li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; background: #0f0e0c; border: 1px solid #5a4d40; }
.cw-card-items small { color: #a99f8e; display: flex; align-items: center; gap: 3px; }
@media (prefers-reduced-motion: reduce) { .cw-ov-tile:active { transform: none; } }
