.line {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sp-md);
}

.line-body {
  display: flex;
  flex-grow: 1;
  flex-basis: 0;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
}

.line-name {
  max-width: 8rem;
  font-size: 0.875rem;
  line-height: 1.25;
}

.option {
  line-height: 1.1;
}

.thumb {
  flex: none;
  width: 5.5rem;
  height: 5.5rem;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--blue-pale);
  object-fit: cover;
}

.field {
  display: block;
  width: 100%;
  height: 2.5rem;
  padding: 0 var(--sp-md);
  border: 0;
  border-radius: var(--radius);
  background: var(--field);
  color: var(--muted);
  font-size: var(--fz-sm);
}

.field::placeholder {
  color: var(--muted);
}

.notice {
  line-height: 2.5rem;
}

.radio {
  width: 1.625rem;
  height: 1.625rem;
  margin: 0;
  accent-color: var(--blue);
}

label[for] {
  cursor: pointer;
}

.backdrop {
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  background: #000000a6;
}

.sheet {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 201;
  overflow-y: auto;
  max-width: var(--column);
  min-height: 13rem;
  max-height: calc(100dvh - var(--sp-2xl));
  margin-inline: auto;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper);
}

.modal > input:checked ~ .backdrop,
.modal > input:checked ~ .sheet {
  display: block;
}

.toast {
  display: flex;
  gap: var(--sp-md);
  align-items: center;
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--radius);
  background: var(--toast);
  color: var(--blue);
  font-size: var(--fz-sm);
  line-height: var(--lh-lg);
}

.demo-toast {
  position: fixed;
  top: 5rem;
  left: 50%;
  z-index: 300;
  transform: translateX(-50%);
  max-width: 80vw;
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fz-sm);
}
