/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.name {
  padding-top: 32px;
  margin: 0 0 12px 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  line-height: 1.15;
}

.name-alt {
  font-weight: 400;
  color: #888;
  font-size: 0.72em;
  letter-spacing: 0.5px;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #fcfc67;
}

body {
  font-family: 'Lato';
  margin: 0 auto;
  padding: 20px;
  background-color: #F8F8F8;
}

details {
  margin-bottom: 10px;
  /* border-bottom: 1px solid #ccc; */
}

summary {
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

summary:hover {
  background-color: #e0e0e0;
}

summary::before {
  content: '▶';
  display: inline-block;
  margin-right: 5px;
  transition: transform 0.3s;
}

details[open] summary::before {
  transform: rotate(90deg);
}

/* General label styling */
.ccf-label {
  display: inline-block;
  width: 40px;
  padding: 3px 6px;
  border-radius: 5px;
  color: Black;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
}

/* Specific label colors */
.ccf-a {
  background-color: #dc3445; /* Red for CCF A */
}

.ccf-b {
  background-color: #ffc106; /* Orange for CCF B */
}

.ccf-none {
  background-color: #28a746; /* Gray for CCF none */
}

.core-label {
  display: inline-block;
  width: 50px;
  padding: 3px 6px;
  border-radius: 5px;
  color: Black;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 3px;
  text-align: center;
}

/* Specific label colors */
.core-a {
  background-color: #dc3445; /* Red for CCF A */
}

.core-b {
  background-color: #ffc106; /* Orange for CCF B */
}

.core-none {
  background-color: #28a746; /* Gray for CCF none */
}

.highlight-label {
  display: inline-block;
  padding: 3px 6px;  /* 两边各留6px的宽度 */
  border-radius: 5px;
  color: #FFD700; /* 金色字体 */
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 3px;
  text-align: center;
  white-space: nowrap; /* 防止文本换行，确保宽度根据文本长度调整 */
}

.highlight-x {
  background-color: #1A1A1A;
}

/* General label styling */
.community-label {
  display: inline-block;
  padding: 1px 2px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
}

/* Specific label colors (removed background) */
.community-sigmobile {
  color: #0000FF;
}

.community-sigchi {
  color: #E4A44B;
}

.community-sigbed {
  color: #800080;
}

.community-siggraph {
  color: #9A2233;
}

.community-sigaccess {
  color: #008c4f;
}

.community-ieee {
  color: #1A1A1A;
}

/* Social icons */
.social-icons {
  text-align: center;
  font-size: 14px;
  padding-left: 2.5%;
  padding-right: 28.5%;
  margin: 0 0 20px 0;
  box-sizing: border-box;
}

.social-icons a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-icons img.social-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 2px;
}

/* Series cards */
.series-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 25px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.series-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  min-height: 90px;
}

.series-card:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  color: #fff;
}

.series-chi {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.series-psi {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.series-omega {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.series-greek {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'Times New Roman', serif;
}

.series-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Mobile avatar (hidden on desktop) */
.mobile-avatar {
  display: none;
}

/* Mobile responsive */
@media screen and (max-width: 600px) {
  body {
    padding: 10px;
  }
  .name {
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
  }
  .social-icons {
    padding-left: 10px;
    padding-right: 10px;
  }
  .series-container {
    gap: 10px;
    padding: 15px 10px;
  }
  .series-card {
    padding: 16px 10px;
    min-height: 70px;
  }
  .series-greek {
    font-size: 24px;
  }
  .series-name {
    font-size: 11px;
  }
  table {
    width: 100% !important;
  }
  td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
  }
  td[style*="width:25%"] img {
    max-width: 200px;
  }
  /* Hide desktop avatar on mobile */
  .desktop-avatar {
    display: none !important;
  }
  /* Show mobile avatar floating right */
  .mobile-avatar {
    display: block;
    float: right;
    width: 110px;
    margin: 0 0 10px 15px;
  }
  .mobile-avatar img {
    width: 100%;
    border-radius: 50%;
  }
}