.lt-list { display: grid; gap: 20px; margin-bottom: 56px; }

.lt-card {
  --cut: #15121d;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 200px;
  background: #1d1826;
  border: 1px solid #3a3148;
  border-radius: 6px;
}
.lt-card.is-won { border-color: #8a6a2a; }

.lt-main { position: relative; padding: 18px 20px 16px; min-width: 0; }
.lt-no {
  font-family: var(--mono); font-size: .74rem; color: var(--muted);
  padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid #2c2538;
}
.lt-main h3 { font-size: 1.28rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.lt-detail { margin-top: 4px; font-size: .84rem; color: #c9c2d6; line-height: 1.7; white-space: pre-line; }

.lt-rows { margin: 12px 0 0; display: grid; gap: 7px; }
.lt-rows div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.lt-rows dt { font-size: .76rem; color: var(--muted); }
.lt-rows dd { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }

.lt-stamp {
  position: absolute; right: 16px; top: 10px;
  padding: 3px 10px; border: 2px solid rgba(255, 48, 72, .75); border-radius: 4px;
  font-size: .9rem; font-weight: 800; letter-spacing: .2em; color: rgba(255, 48, 72, .8);
  transform: rotate(-12deg); pointer-events: none;
}

.lt-stub {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 18px 18px 18px 20px;
  border-left: 2px dashed #3a3148;
}
.lt-stub::before, .lt-stub::after {
  content: ''; position: absolute; left: -9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--cut); border: 1px solid #3a3148;
}
.lt-stub::before { top: -9px; clip-path: inset(50% 0 0 0); }
.lt-stub::after { bottom: -9px; clip-path: inset(0 0 50% 0); }

.lt-k { font-size: .74rem; color: var(--muted); min-height: 1em; }
.lt-cd, .lt-at {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  color: var(--text); line-height: 1.2; white-space: nowrap;
}
.lt-cd b { font-size: 1.3rem; font-weight: 600; }
.lt-cd i { font-style: normal; font-family: var(--body); font-size: .8rem; color: var(--muted); margin: 0 6px 0 2px; }
.lt-at { font-size: 1.15rem; font-weight: 600; }
.lt-card.is-won .lt-stub .lt-k:last-child { color: #e6b04a; font-weight: 700; }

.lt-act { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.lt-act .btn { width: 100%; text-align: center; padding-left: 10px; padding-right: 10px; }
.lt-act .btn[disabled] { opacity: .6; cursor: default; box-shadow: none; }
.lt-joined { opacity: 1 !important; color: #8fdcad !important; border-color: #2f5a41 !important; }
.lt-block { font-size: .76rem; color: #b9b2c8; line-height: 1.6; }
.lt-block a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.lt-win { grid-column: 1 / -1; padding: 14px 20px 18px; border-top: 1px solid #2c2538; }
.lt-win-h { font-size: .8rem; font-weight: 700; margin-bottom: 10px; }
.lt-names {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 4px 18px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.lt-names li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; border-bottom: 1px dotted #3a3148; }
.lt-names b { font-family: var(--mono); font-size: .72rem; color: var(--muted); font-weight: 400; }
.lt-names span { font-size: .92rem; font-weight: 700; }
.lt-card.is-reveal .lt-names li { opacity: .5; }
.lt-card.is-reveal .lt-names li.is-in { opacity: 1; transition: opacity .2s; }
.lt-you { margin-top: 12px; padding-left: 10px; border-left: 3px solid #e6b04a; font-size: .86rem; color: #f1dca8; line-height: 1.6; }
.lt-miss { font-size: .8rem; color: var(--muted); }

.lt-link {
  margin: -10px 0 -10px 4px; padding: 10px 6px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .8rem; color: var(--gold);
  text-decoration: underline; text-underline-offset: 3px;
}

.lt-people { grid-column: 1 / -1; padding: 14px 20px 18px; border-top: 1px solid #2c2538; }
.lt-people[hidden] { display: none; }
.lt-q { width: 100%; }
.lt-pcount { margin: 10px 0 6px; font-size: .76rem; color: var(--muted); }
.lt-plist {
  list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto;
  display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.lt-plist li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dotted #3a3148; font-size: .86rem; }
.lt-plist b { font-family: var(--mono); font-size: .72rem; font-weight: 400; color: var(--muted); }
.lt-plist em { margin-left: auto; font-style: normal; font-size: .7rem; color: #e6b04a; }
.lt-plist li.is-me span { color: #f1dca8; font-weight: 700; }
.lt-more { margin-top: 10px; }

@media (max-width: 640px) {
  .lt-people { padding: 12px 16px 16px; }
  .lt-card { grid-template-columns: minmax(0, 1fr); }
  .lt-main { padding: 16px 16px 14px; }
  .lt-stamp { top: 8px; right: 12px; }
  .lt-stub {
    flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    padding: 14px 16px 16px; border-left: 0; border-top: 2px dashed #3a3148;
  }
  .lt-stub::before, .lt-stub::after { top: -9px; bottom: auto; }
  .lt-stub::before { left: -9px; clip-path: inset(0 0 0 50%); }
  .lt-stub::after { left: auto; right: -9px; clip-path: inset(0 50% 0 0); }
  .lt-act { flex-basis: 100%; margin-top: 4px; }
  .lt-win { padding: 12px 16px 16px; }
}
