/* Filter chips */
.tr-filter {
  display: flex;
  gap: 7px;
  padding: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tr-filter::-webkit-scrollbar {
  display: none;
}
.fchip {
  flex: 0 0 auto;
  padding: 6px 13px;
  border-radius: 20px;
  border: 2px solid var(--g3);
  background: var(--w);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  color: var(--t2);
  transition: all 0.15s;
  touch-action: manipulation;
}
.fchip.active {
  background: var(--t);
  border-color: var(--t);
  color: #fff;
}
.fchip:active {
  transform: scale(0.92);
}

/* Transport card */
.trcard {
  background: var(--w);
  border-radius: var(--r2);
  border: 1px solid var(--g3);
  padding: 13px 14px;
  margin-bottom: 10px;
  box-shadow: var(--sh);
  transition: opacity 0.2s;
  position: relative;
  border-left-width: 4px;
}
/* Status border */
.trcard.tr-bought {
  border-left-color: #2db88a;
}
.trcard.tr-need {
  border-left-color: #f59e0b;
}
.trcard.tr-done {
  border-left-color: var(--g4);
  opacity: 0.6;
}
/* Vehicle type overrides left border when not done/need */
.trcard.tr-shinkansen.tr-bought {
  border-left-color: #4338ca;
}
.trcard.tr-express.tr-bought {
  border-left-color: #b45309;
}
.trcard.tr-plane.tr-bought {
  border-left-color: #0369a1;
}

.tr-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.tr-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.tr-info {
  flex: 1;
  min-width: 0;
}
.tr-route-main {
  font-size: 15px;
  font-weight: 900;
  color: var(--t);
  margin-bottom: 3px;
  line-height: 1.3;
}
.tr-sub {
  font-size: 11px;
  color: var(--t2);
  font-weight: 700;
  margin-bottom: 2px;
}

/* Vehicle type pill */
.vtype {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  margin-top: 3px;
}
.vtype-shinkansen {
  background: #eef0ff;
  color: #4338ca;
}
.vtype-express {
  background: #fef3c7;
  color: #b45309;
}
.vtype-plane {
  background: #e0f2fe;
  color: #0369a1;
}

/* Status badge button */
.tr-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.st-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
  touch-action: manipulation;
  border: none;
  font-family: "Nunito", sans-serif;
  white-space: nowrap;
}
.st-badge:active {
  transform: scale(0.9);
}
.st-bought {
  background: #dcfce7;
  color: #16a34a;
}
.st-need {
  background: #fef3c7;
  color: #d97706;
}
.st-done {
  background: var(--g2);
  color: var(--g6);
}

/* Meta row */
.tr-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.tr-price {
  font-size: 12px;
  font-weight: 800;
  color: #7c5ce6;
}
.tr-date {
  font-size: 11px;
  color: var(--t3);
  font-weight: 600;
}
.tr-note {
  font-size: 11px;
  color: var(--t2);
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.4;
  padding-top: 8px;
  border-top: 1px solid var(--g2);
}

/* Reminder box */
.reminder-box {
  background: linear-gradient(135deg, #fff7ed, #fff);
  border: 1.5px solid #fed7aa;
  border-radius: var(--r2);
  padding: 11px 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reminder-box.urgent {
  background: linear-gradient(135deg, #fee2e2, #fff);
  border-color: #fca5a5;
}
.rb-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.rb-info {
  flex: 1;
}
.rb-title {
  font-size: 12px;
  font-weight: 900;
  color: #92400e;
  margin-bottom: 2px;
}
.rb-title.urgent {
  color: #991b1b;
}
.rb-time {
  font-size: 13px;
  font-weight: 900;
  color: #d97706;
}
.rb-time.urgent {
  color: #dc2626;
}

/* ════════════════════════════════════════════ */

/* Demo layout */
.demo-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 14px 13px;
}
.empty {
  text-align: center;
  padding: 36px 20px;
  color: var(--t3);
}
.empty .ei {
  font-size: 42px;
  margin-bottom: 9px;
}
.empty p {
  font-size: 13px;
  font-weight: 700;
}
