/* Comment wall */
.t-green { color: var(--green); font-weight: 700; }
.t-red { color: var(--red); font-weight: 700; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.stats { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.stats b { color: var(--ink); font-weight: 800; font-size: 17px; margin-right: 4px; }
.tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 15px; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + .track { background: var(--deep); }
.switch input:checked + .track .knob { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.mine-hint { font-size: 14.5px; color: var(--ink-2); background: var(--soft); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }

.board-status { min-height: 26px; margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--deep); display: flex; align-items: center; gap: 10px; }
.board-status:not(:empty)::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-ink); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.lanes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: start; }
.lane { border-radius: 24px; padding: 18px 14px 14px; min-height: 300px; }
.lane-red { background: linear-gradient(180deg, #FBEFED, rgba(251, 239, 237, .3) 70%); }
.lane-wait { background: linear-gradient(180deg, #ECF1F2, rgba(236, 241, 242, .35) 70%); }
.lane-green { background: linear-gradient(180deg, #E8F5EE, rgba(232, 245, 238, .3) 70%); }
.lane header { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.lane h2 { font-size: 18px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; }
.lane header b { font-size: 14px; background: #fff; border-radius: 999px; padding: 3px 11px; color: var(--ink-2); }
.lane-sub { font-size: 14px; color: var(--ink-2); margin: 6px 6px 14px; line-height: 1.45; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.red { background: var(--red); }
.dot.green { background: var(--green); }
.dot.wait { background: var(--ink-3); }
.cards { display: flex; flex-direction: column; gap: 12px; }

.card { background: #fff; border-radius: 18px; padding: 16px 18px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; will-change: transform; }
.card.c-red { border-color: var(--red-line); }
.card.c-green { border-color: var(--green-line); }
.card blockquote { margin: 0; font-size: 16.5px; line-height: 1.5; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.card blockquote::before { content: "“"; color: var(--ink-3); }
.card blockquote::after { content: "”"; color: var(--ink-3); }
.card .verdict { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 14.5px; line-height: 1.5; }
.card .v-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; }
.c-green .v-label { color: var(--green); }
.c-red .v-label { color: var(--red); }
.c-wait .v-label { color: var(--ink-3); }
.card .verdict p { margin: 0; color: var(--ink-2); }
.card .v-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.card .rule-link { font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--red); }
.card .rule-link:hover { text-decoration: underline; }
.c-wait .verdict { border-top: 0; padding-top: 0; margin-top: 10px; }
.c-wait .verdict.suggest { border-top: 1px dashed var(--line-2); padding-top: 12px; }
.c-wait .verdict.suggest .v-label { color: var(--brand); }
.card .verdict p.suggested { color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.c-wait .v-label { margin: 0; display: flex; align-items: center; gap: 7px; }

.mine-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--deep); margin-bottom: 9px; }
.card.mine { box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.new-badge { position: absolute; top: -8px; right: 14px; background: var(--deep); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }

/* the board deciding */
.card.deciding { border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(109, 65, 161, .35), var(--shadow-lift); }
.card.deciding .v-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); animation: pulse 1s infinite; }
.card.landed { animation: land .9s ease-out; }
@keyframes land { 0% { box-shadow: 0 0 0 6px rgba(109, 65, 161, .45), var(--shadow-lift); } 100% { box-shadow: var(--shadow); } }

.lanes.only-mine .card:not(.mine) { display: none; }
.card.over { display: none; }
.lane-more { display: block; width: 100%; margin-top: 12px; border: 1.5px dashed var(--line-2); background: rgba(255, 255, 255, .6); border-radius: 14px; padding: 11px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.lane-more:hover { background: #fff; color: var(--ink); border-color: var(--ink-3); }
.empty { font-size: 14.5px; color: var(--ink-3); text-align: center; padding: 22px 8px; border: 1.5px dashed var(--line-2); border-radius: 16px; }

.dropped { margin: 26px 0 0; font-size: 15px; color: var(--ink-2); text-align: center; }

.lane-tabs { display: none; }

@media (max-width: 900px) {
  .lane-tabs { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 5px; margin-bottom: 14px; position: sticky; top: 98px; z-index: 5; }
  .lane-tabs button { flex: 1; border: 0; background: none; border-radius: 12px; padding: 9px 4px; font-weight: 700; font-size: 13.5px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; color: var(--ink-2); line-height: 1.2; }
  .lane-tabs button .dot { width: 8px; height: 8px; }
  .lane-tabs button b { font-size: 12px; color: var(--ink-3); }
  .lane-tabs button[aria-selected="true"] { background: var(--bg); color: var(--ink); }
  .lane-tabs b.bump { animation: bump .6s; }
  @keyframes bump { 40% { transform: scale(1.5); color: var(--deep); } }
  .lanes { grid-template-columns: 1fr; }
  .lane { display: none; min-height: 0; }
  .lane.active { display: block; }
  .lane header { display: none; }
  .toolbar { padding-top: 14px; }
  .stats { gap: 4px 16px; font-size: 14px; }
}
.lane-more[hidden] { display: none; }
