body.theme-white.theme-sunset #foot-menu {
    background: #F8F1E4;
}
.foot-menu {
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
}

#foot-menu * {
    -webkit-font-smoothing: auto;
}

.foot-menu a {
    display: flex;
    flex-direction: column;
    color: rgba(0,0,0,0.9);
    align-items: center;
}
#foot-menu h3.footer-link {
    font-weight: normal;
}
.foot-menu i {
    font-size: 1.6rem;
}
.foot-menu img {
    max-width: 1.7rem;
}
body.theme-dark .foot-menu img.mode-dark {
    display: block;
}
body.theme-dark .foot-menu img.mode-white {
    display: none;
}
body.theme-white .foot-menu img.mode-dark,body.theme-sunset .foot-menu img.mode-dark {
    display: none;
}
body.theme-white .foot-menu img.mode-white,body.theme-sunset .foot-menu img.mode-white {
    display: block;
}

body.theme-dark .contact-link img.mode-dark {
    display: block;
}
body.theme-dark .contact-link img.mode-white {
    display: none;
}
body.theme-white .contact-link img.mode-dark,body.theme-sunset .contact-link img.mode-dark {
    display: none;
}
body.theme-white .contact-link img.mode-white,body.theme-sunset .contact-link img.mode-white {
    display: block;
}

.foot-menu span {
    margin-top: .3rem;
    font-size: .9rem;
}
.footer-desc {
    margin-top: 1.5rem;
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: .5rem 0;
}
.footer-desc b {
    color: rgba(0,0,0,0.9);
    font-size: 1rem;
}
.footer-desc p {
    color: rgba(0,0,0,.7);
    font-size: .9rem;
    padding: 1rem 0;
    line-height: normal;
}
.footer-link {
    display: flex;
    flex-direction: column;
}
.footer-link a {
    font-size: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgb(204, 204, 204);
}
.footer-link span {
    color: rgba(0,0,0,.5);
}
.contact-link {
    padding: 1rem 0 2.5rem;
    border-bottom: 1px solid rgb(204, 204, 204);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-link img {
    max-width: 2rem;
    margin: 0 1rem;
}

.contact-link i {
    font-size: 1.6rem;
    margin: 0 1rem;
}

.line-container {
    width: 100%;
    height: 1px;
    background-color: #aca4a4;
    margin: 2rem 0;
}

body.theme-dark .line-container {
    background-color: #444444;
}

body.theme-dark .foot-menu a {
    color: #fff;
}
body.theme-dark .footer-desc b {
    color: #fff;
}
body.theme-dark .footer-desc p {
    color: rgba(255,255,255,.7);
}
body.theme-dark .footer-link span {
    color: rgba(255,255,255,.5);
}
body.theme-dark .footer-link a {
    border-bottom: 1px solid rgb(68, 68, 68);
}
body.theme-dark .footer-desc {
    border-bottom: 1px solid rgb(68, 68, 68);
}
body.theme-dark .contact-link {
    border-bottom: 1px solid rgb(68, 68, 68);
}

/* Local recommendation styles from index (2).html. Dialog styles are separate. */
#foot-menu .footer-friends {
    display: block;
    width: 100%;
    min-width: 0;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    background: #2b2929;
    color: #e8e8e8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-align: left;
}
#foot-menu .footer-friends * {
    box-sizing: border-box;
}
#foot-menu .footer-friends .friend-wrap {
    padding-top: 44px;
    padding-bottom: 64px;
}
#foot-menu .footer-friends .friend-section {
    border-top: 1px solid #484545;
    padding-top: 24px;
}
#foot-menu .footer-friends .friend-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
#foot-menu .footer-friends .friend-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
#foot-menu .footer-friends .icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
}
#foot-menu .footer-friends #footer-friends-title {
    margin: 0;
    padding: 0;
    border: 0;
    color: #e8e8e8;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: .02em;
}
#foot-menu .footer-friends .friend-sub {
    color: #8a8686;
    font-size: 13px;
    margin-top: 4px;
}
#foot-menu .footer-friends .apply-top {
  border:1px solid #595555;
  background:#343131;
  color:#d9d7d7;
  border-radius:4px;
  padding:9px 14px;
}
#foot-menu .footer-friends .apply-top:hover {background:#3b3838}
#foot-menu .footer-friends .friend-apply {
  margin-top:18px;
  border-top:1px solid #484545;
  border-bottom:1px solid #484545;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 0;
}
#foot-menu .footer-friends .friend-apply .plus {
  width:36px;
  height:36px;
  border-radius:50%;
  background:#373434;
  border:1px solid #4c4949;
  display:grid;
  place-items:center;
  color:#e5e3e3;
  font-size:22px;
}
#foot-menu .footer-friends .friend-apply-main {
  font-size:15px;
  color:#dfdddd;
}
#foot-menu .footer-friends .friend-apply-sub {
  color:#8a8686;
  font-size:12px;
  margin-top:4px;
}
#foot-menu .footer-friends .friend-apply button {
  margin-left:auto;
  border:1px solid #595555;
  background:#363333;
  color:#e4e1e1;
  border-radius:4px;
  padding:10px 16px;
}
#foot-menu .footer-friends .friend-apply button:hover {background:#403c3c}
#foot-menu .footer-friends button {
    font: inherit;
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none;
    opacity: 1;
    cursor: pointer;
}
#foot-menu .footer-friends .friend-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
#foot-menu .footer-friends .friend-item {
    min-width: 0;
    min-height: 64px;
    border: 1px solid #444141;
    background: #302e2e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
    transition: .15s ease;
}
#foot-menu .footer-friends .friend-item:hover,
#foot-menu .footer-friends .friend-item:focus-visible {
    background: #353232;
    border-color: #5a5656;
}
#foot-menu .footer-friends .friend-name {
    min-width: 0;
    font-size: 14px;
    color: #dedcdc;
    white-space: normal;
    overflow-wrap: anywhere;
}
#foot-menu .footer-friends .friend-out {
    flex-shrink: 0;
    margin-left: auto;
    color: #777373;
    font-size: 15px;
}
@media(max-width: 900px) {
    #foot-menu .footer-friends .friend-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media(max-width: 680px) {
    #foot-menu .footer-friends .friend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #foot-menu .footer-friends .friend-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media(max-width: 440px) {
    #foot-menu .footer-friends .friend-apply {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    #foot-menu .footer-friends .friend-apply button {
        margin-left: 52px;
    }
    #foot-menu .footer-friends .friend-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media(max-width: 767px) {
    .footer-desc b {
        font-size: 1.2rem
    }
    .foot-menu img {
        max-width: 1.5rem;
    }
    .footer-desc p {
        padding: .5rem 0;
    }
    .contact-link img {
        max-width: 2.25rem;
    }
    .contact-link i {
        margin: 0 .8rem;
    }
}
