#table-container {
  width: 100%;
}

#table-container table {
  border-collapse: collapse;
  background-color: #16181c;
  border: 1px solid #252932;
}

#table-container th {
  background-color: #242832;
  color: #f0f0f5;
  border-bottom: 2px solid #3b4760;
  vertical-align: middle;
}

#table-container tr {
  border: none;
  background-color: #16181c;
}

#table-container td {
  border-top: none;
  border-bottom: none;
  border-left: 1px solid #252932;
  border-right: 1px solid #252932;
  background-color: #16181c;
  color: #e0e0ea;
  vertical-align: middle;
  padding: 4px 16px;
  height: 50px;
  line-height: 1.2;
}

th.col-date,
td.col-date {
  width: 100px;
  text-align: center;
  font-weight: 700;
}

#table-container td.col-date {
  font-size: 1.1rem;
  color: #badefc;
  border-right: 2px solid #3b4760;
}

th.col-title,
td.col-title {
  width: 35%;
  font-weight: normal;
}

.title-bold {
  font-weight: 700;
}

th.col-meta {
  text-align: center;
  width: 220px;
  position: relative;
  overflow: visible;
}

th.col-meta:hover .comment-popover {
  display: block;
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

td.col-meta {
  white-space: pre-wrap;
}

#table-container td.col-meta {
  width: 250px;
  text-align: left;
  font-size: inherit;
  padding-left: 4px;
}

#table-container td.col-extra {
  padding-left: 4px;
}

th.col-extra,
td.col-extra {
  width: auto;
}

.kw-green {
  color: #2ecc71;
}

.kw-blue {
  color: #3498db;
}

.kw-red {
  color: #ea4335;
}

#table-container tr.day-start td {
  border-top: 1px solid #252932;
}

#table-container tr.day-entry td {
  border-top: 1px dotted #4a5162;
}

td.col-title {
  cursor: default;
}

.title-clickable {
  cursor: pointer;
  display: inline;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}

.title-clickable:hover {
  text-decoration-color: inherit;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#search-input {
  min-width: 250px;
  width: 100%;
  box-sizing: border-box;
  transition: none;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

.search-wrapper.title-active #search-input {
  width: auto;
  flex: 0 0 auto;
  transition: none;
}

#clear-filter-btn {
  display: none;
  padding: 8px 14px;
  background-color: #242832;
  color: #f0f0f5;
  border: 1px solid #3b4760;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  white-space: nowrap;
  flex: 0 0 auto;
}

#clear-filter-btn:hover {
  background-color: #3b4760;
}

.search-wrapper.title-active #clear-filter-btn {
  display: inline-block;
}

body[data-year="2026"] {
  background-image:
    linear-gradient(rgba(234, 55, 122, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 55, 122, 0.12) 1px, transparent 1px);
}

body[data-year="2026"] #search-input:focus,
body[data-year="2026"] #type-filter:focus {
  border-color: #ea377a;
  box-shadow: 4px 4px 0px #ea377a;
}

body[data-year="2026"] .section-title {
  color: #ea377a;
  border-bottom: 2px solid #ea377a;
}

body[data-year="2026"] .marquee-2026 {
  background: #ea377a;
}

body[data-year="2026"] .header-text h1 {
  background-color: #ea377a;
}

body[data-year="2026"] .header-text p {
  border-left: 4px solid #ea377a;
}

body[data-year="2026"] .header-img {
  box-shadow: 6px 6px 0px #ea377a;
}

body[data-year="2026"] .header-img:hover {
  box-shadow: 8px 8px 0px #ea377a;
}

body[data-year="2026"] a {
  border-left: 3px solid #ea377a;
}

body[data-year="2026"] a:hover {
  background-color: #ea377a;
}

body[data-year="2026"] .tab-btn.active {
  background: #ea377a;
}

body[data-year="2026"] th {
  background-color: #ea377a;
}

body[data-year="2026"] .comment-corner-mark {
  border-color: transparent #ea377a transparent transparent;
}

body[data-year="2026"] .comment-popover {
  box-shadow: 4px 4px 0px #ea377a;
}

body[data-year="2026"] .comment-popover-header,
body[data-year="2026"] .comment-expand-btn {
  color: #ea377a;
}

body[data-year="2026"] .last-updated-badge {
  box-shadow: 4px 4px 0px #ea377a;
}

@media (min-width: 1400px) {
  th.col-extra,
  td.col-extra {
    display: table-cell;
  }
  th.col-meta,
  td.col-meta {
    min-width: 150px;
    width: 12%;
  }

  th.col-date,
  td.col-date {
    min-width: 100px;
  }
}

@media (max-width: 1399px) {
  th.col-extra,
  td.col-extra {
    display: none;
  }
  th.col-meta,
  td.col-meta {
    width: 12%;
  }

  th.col-date,
  td.col-date {
    width: 5%;
  }
}

@media (min-width: 1400px) {
  .disclaimer_mobile {
    display: none;
  }
}

body[data-year="2026"] .comment-modal-box {
  box-shadow: 6px 6px 0px #ea377a;
}
body[data-year="2026"] .comment-modal-header {
  color: #ea377a;
}
