/* Short a coin: the squeeze board, one coin's page, and listing a coin. Built from the shop's own pieces (cards,
   fields, facts, the Bear Coins risk card); only what they lack is here. */

.cc-board { margin-top: 20px; }
.cc-top { align-items: start; margin-top: 20px; }
.cc-side { display: grid; gap: 20px; }
.cc-list { margin-top: 20px; }

/* The board: one tape-like row per coin. */
.cc-rows { display: grid; gap: 8px; margin-top: 10px; }
.cc-row {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 12px; align-items: center;
  width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--label); border: 2px solid var(--ink); border-radius: 10px; padding: 10px 14px;
}
.cc-row:hover, .cc-row.on { box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.cc-row:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.cc-sym b { display: block; font-weight: 900; font-stretch: 125%; font-size: 19px; }
.cc-sym small, .cc-num small, .cc-sq small { display: block; font-size: 12px; color: #55557a; }
.cc-num b { font-size: 16px; }
.cc-sq { display: flex; align-items: center; gap: 8px; }
.cc-sq small { font-weight: 800; color: var(--ink); font-size: 14px; }

/* The squeeze meter: a strip that fills and warms up. */
.cc-meter { flex: 1; display: block; height: 12px; min-width: 60px; background: #e6e1cf; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.cc-meter i { display: block; height: 100%; background: var(--mint); }
.cc-meter.warm i { background: var(--sticker); }
.cc-meter.hot i { background: var(--neon); }

/* One coin. */
.cc-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.cc-head h2 { margin: 0; font-size: 30px; }
.cc-ca { display: block; font-size: 12px; color: #55557a; word-break: break-all; margin-top: 4px; }
.cc-meterbox { display: flex; align-items: center; gap: 10px; min-width: 200px; flex: 0 1 260px; }
.cc-meterbox b { white-space: nowrap; font-size: 14px; }
.cc-facts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; margin: 16px 0; }
.cc-facts dt { color: #55557a; }
.cc-facts dd { margin: 0; text-align: right; font-weight: 700; }
.cc-modes { display: inline-flex; gap: 0; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; margin: 4px 0 14px; }
.cc-modes button { font: inherit; font-weight: 800; padding: 8px 18px; background: transparent; color: var(--ink); border: 0; cursor: pointer; }
.cc-modes button[aria-pressed="true"] { background: var(--ink); color: var(--label); }
.cc-modes button:focus-visible { outline: 3px solid var(--mint); outline-offset: -3px; }
.cc-in { display: flex; gap: 8px; align-items: center; }
.cc-in input { flex: 1; min-width: 0; }
.card .cc-in .btn { margin-top: 0; }
.cc-sum { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.cc-sum li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #b9b4a2; padding-bottom: 6px; }
.cc-sum li span { color: #55557a; }
.cc-sum li.bad b { color: #c2185b; }
.cc-apr { margin: 12px 0; }
.cc-mine h3 { margin: 22px 0 0; }
.cc-mine h3:first-child { margin-top: 4px; }
.cc-mine .btn { margin-top: 4px; }

/* Listing: every check, passing or not. */
.cc-checks { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 16px; }
.cc-checks li { display: flex; gap: 10px; align-items: center; }
.cc-checks i { font-style: normal; font-weight: 900; font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 2px solid var(--ink); }
.cc-checks li.ok i { background: var(--mint); }
.cc-checks li.no i { background: var(--neon); color: #fff; }
.cc-checks li small { margin-left: auto; color: #55557a; font-size: 12px; white-space: nowrap; }

@media (max-width: 720px) {
  .cc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cc-sym { grid-column: 1 / -1; }
  .cc-sq { grid-column: 1 / -1; }
  .cc-meterbox { flex: 1 1 100%; }
  .cc-card .bc-two { grid-template-columns: minmax(0, 1fr); }
  .cc-modes { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .cc-modes button { padding: 8px 10px; }
}
