.modal-pdf {
  margin-bottom: 20px;
}

.modal-pdf a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  text-decoration: none;
  color: #0969da;
  font-weight: 500;
  transition: background 0.15s ease;
}

.modal-pdf a:hover {
  background: #eef4ff;
  text-decoration: none;
}

.schedule-table td a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.schedule-table td a:hover {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.session-card {
  scroll-margin-top: 100px;
}

.program-day {
  margin-top: 50px;
}

.program-day h3 {
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
}

.session-card {
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  margin-bottom: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.session-header {
  background: #f6f8fa;
  padding: 14px 18px;
  border-bottom: 1px solid #e1e4e8;
}

.session-title {
  font-weight: 600;
  font-size: 1.05em;
}

.session-time {
  color: #586069;
  font-size: 0.92em;
  margin-top: 3px;
}

.talk-list {
  display: flex;
  flex-direction: column;
}

.talk-card {
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.talk-card:last-child {
  border-bottom: none;
}

.talk-card:hover {
  background: #f6faff;
}

.talk-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: #24292f;
}

.talk-authors {
  color: #586069;
  font-size: 0.95em;
  line-height: 1.4;
}

.abstract-modal {
  border: none;
  border-radius: 12px;
  padding: 0;
  width: min(850px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.abstract-modal::backdrop {
  background: rgba(0,0,0,0.45);
}

.modal-content {
  padding: 28px;
}

.modal-close {
  float: right;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
}

.modal-close:hover {
  color: #000;
}

.modal-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  padding-right: 40px;
}

.modal-authors {
  color: #586069;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-abstract {
  line-height: 1.7;
  text-align: justify;
}

@media (max-width: 700px) {
  .talk-card {
    padding: 14px;
  }

  .modal-content {
    padding: 20px;
  }
}
