/* Shared by the PHP site and the independent homepage preview. */
.realm-site-end{display:block;width:100%;margin:0;padding:0;font-family:"Microsoft JhengHei","PingFang TC",sans-serif;font-size:16px;line-height:1.7;color:#6d6d62;text-align:left;letter-spacing:normal}
.realm-site-end *{box-sizing:border-box}.realm-site-end a{color:inherit;text-decoration:none;transition:color .2s,background .2s}.realm-site-end a:focus-visible{outline:3px solid #34627b;outline-offset:5px}.realm-site-end svg{fill:none;stroke:currentColor;stroke-width:1.6}.realm-site-end p,.realm-site-end h2{margin:0}
.realm-site-end .community{display:block;position:relative;width:auto;margin:0;background:#faf9f5;border:0;padding:44px 24px 37px;text-align:center;font-size:16px;line-height:1.7;color:#6d6d62}
.realm-site-end .community h2{font:700 26px/1.5 "Microsoft JhengHei","PingFang TC",sans-serif;letter-spacing:1px;color:#665232}
.realm-site-end .community-links{display:flex;align-items:stretch;max-width:860px;justify-content:center;gap:24px;margin:25px auto 0;padding:0}
.realm-site-end .community-links>a{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:11px;border:0;padding:0;flex:0 1 140px;text-align:center}
.realm-site-end .community-links .social-mark{display:flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:48px;margin:0;border:1px solid #b6a07b;border-radius:50%;background:linear-gradient(145deg,#fffcf5,#ede6d8);color:#806332;box-shadow:inset 0 1px white;transition:background .2s,transform .2s}
.realm-site-end .line-mark{font:700 10px/1 Arial,sans-serif;position:relative}.realm-site-end .line-mark:after{display:none}.realm-site-end .facebook-mark{font:bold 32px/1 Arial,sans-serif}.realm-site-end .social-mark svg{width:27px;height:27px}
.realm-site-end .community-links strong{display:block;font-size:13px;line-height:1.5;font-weight:600;color:#605943;white-space:nowrap}.realm-site-end .community-links small{display:block;font-size:11px;line-height:1.7;color:#777365;margin-top:3px;white-space:nowrap}
.realm-site-end .community-links>a:hover .social-mark{background:#e7dcc7;transform:translateY(-2px)}
.realm-site-end .realm-signoff{display:block;margin:0;padding:0;background:linear-gradient(180deg,#faf9f5,#f0ede5);color:#6d6d62;position:relative;border:0;border-bottom:4px solid #b39a6b;text-align:left;font-size:16px;line-height:1.7}
.realm-site-end .footer-inner{display:block;max-width:1320px;margin:0 auto;padding:0 40px 52px}
.realm-site-end .footer-directory{display:flex;align-items:center;justify-content:space-between;gap:30px;border:0;border-bottom:1px solid #d9d0be;margin:0;padding:21px 0}
.realm-site-end .footer-directory nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:700;letter-spacing:.2px;width:auto;margin:0;padding:0;justify-content:flex-start;text-align:left}
.realm-site-end .footer-directory nav a{padding:7px 0;color:#575647}.realm-site-end .footer-directory nav a:hover{color:#a17735}
.realm-site-end .back-top{display:flex;align-items:center;gap:10px;color:#8b7856;font-size:12px;font-weight:400;white-space:nowrap;margin:0;padding:9px 0}.realm-site-end .back-top svg{width:15px;height:15px;stroke-width:1.5}
.realm-site-end .footer-brandrow{display:grid;grid-template-columns:210px minmax(0,1fr) auto;gap:42px;align-items:center;margin:0;padding:37px 0 0}
.realm-site-end .realm-wordmark{display:inline-block;width:210px;text-align:center;color:#90723f;padding:0 3px}
.realm-site-end .realm-wordmark-en{display:block;font:900 33px/.94 Georgia,"Times New Roman",serif;letter-spacing:-1.7px;transform:scaleY(1.12);text-shadow:0 1px #fff,0 2px #92734928;color:#90723f}
.realm-site-end .realm-wordmark-en>span{display:block;font-size:48px;letter-spacing:3px;line-height:1.02;color:inherit}
.realm-site-end .realm-wordmark-zh{display:block;margin-top:12px;color:#76603a;font-size:13px;font-weight:700;letter-spacing:5px;white-space:nowrap}
.realm-site-end .realm-wordmark-zh i{font:9px/1 Georgia,serif;letter-spacing:1px;font-style:normal;margin-left:3px}
.realm-site-end .footer-credits{display:block;margin:0;padding:0}.realm-site-end .footer-credits p{font-size:14px;letter-spacing:1px;color:#69695c;margin:0 0 10px;line-height:1.7}.realm-site-end .footer-credits small{font-size:12px;color:#79796e;line-height:1.8}
.realm-site-end .footer-language{display:flex;align-items:center;gap:9px;align-self:start;margin:10px 0 0;padding:0;font-size:12px;color:#81765f}.realm-site-end .footer-language svg{width:18px;height:18px}
@media(max-width:760px){
 .realm-site-end .community{padding:32px 20px 28px}.realm-site-end .community h2{font-size:23px;letter-spacing:.5px}
 .realm-site-end .community-links{flex-wrap:wrap;gap:23px 12px;max-width:340px;margin:23px auto 0}.realm-site-end .community-links>a{padding:0;gap:10px;flex:0 0 calc((100% - 24px)/3);min-width:0;border:0}.realm-site-end .community-links strong{font-size:11px}.realm-site-end .community-links small{font-size:10px}.realm-site-end .community-links .social-mark{width:44px;min-width:44px;height:44px}
 .realm-site-end .footer-inner{padding:0 24px 34px}.realm-site-end .footer-directory{flex-wrap:wrap;justify-content:center;gap:0;padding:12px 0 16px}.realm-site-end .footer-directory nav{gap:22px;justify-content:center;width:100%;font-size:13px;letter-spacing:0}.realm-site-end .footer-directory nav a{padding:9px 0}.realm-site-end .back-top{position:absolute;right:20px;bottom:18px;font-size:0;gap:0;padding:6px}.realm-site-end .back-top svg{width:18px;height:18px}
 .realm-site-end .footer-brandrow{display:flex;flex-direction:column;align-items:center;gap:23px;padding-top:30px}.realm-site-end .realm-wordmark{width:200px}.realm-site-end .realm-wordmark-en{font-size:31px}.realm-site-end .realm-wordmark-en>span{font-size:45px}.realm-site-end .realm-wordmark-zh{font-size:12px;margin-top:11px;letter-spacing:4px}
 .realm-site-end .footer-credits{text-align:center}.realm-site-end .footer-credits p{font-size:12px;margin:0 0 7px;letter-spacing:1px}.realm-site-end .footer-credits small{font-size:11px}.realm-site-end .footer-language{align-self:center;margin:0;gap:7px;font-size:11px}.realm-site-end .footer-language svg{width:15px;height:15px}
}
@media(prefers-reduced-motion:reduce){.realm-site-end .community-links>a:hover .social-mark{transform:none}}
/* --- 白金羊皮紙風格：緊湊型四欄頁尾 --- */
.realm-site-end {
    background: linear-gradient(180deg, #e2d3b5 0%, #d0be98 100%) !important;
    color: #4a3e2a !important;
    border-top: 2px solid #b89753 !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    font-family: "Microsoft JhengHei", "PingFang TC", sans-serif !important;
    margin-top: 25px !important;
    width: 100% !important;
}

#realm-footer {
    padding: 24px 24px 18px !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    background: transparent !important;
}

.footer-columns {
    display: grid !important;
    grid-template-columns: 2.2fr 1fr 1fr 1fr !important;
    gap: 24px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid rgba(139, 107, 50, 0.25) !important;
}

.footer-col-title {
    color: #6b4e1d !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
    letter-spacing: 1px !important;
}

.footer-col-brand .footer-col-title {
    font-size: 18px !important;
    color: #5c4114 !important;
}

.footer-col-brand .footer-col-title span {
    font-size: 11px !important;
    color: #8c7142 !important;
    margin-left: 8px !important;
    font-family: Georgia, serif !important;
    letter-spacing: 2px !important;
}

.footer-desc {
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    color: #5e523c !important;
    margin: 0 0 10px !important;
    max-width: 380px !important;
}

.footer-contact p {
    font-size: 12.5px !important;
    color: #5e523c !important;
    margin: 4px 0 !important;
}

.footer-contact a {
    color: #8c5d14 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-contact a:hover {
    color: #b8860b !important;
    text-decoration: underline !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 6px !important;
}

.footer-links a {
    color: #5e523c !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-links a:hover {
    color: #9c7328 !important;
    font-weight: 600 !important;
}

.footer-bottom-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 14px !important;
    font-size: 11.5px !important;
    color: #7a6c54 !important;
}

.footer-legal-notice {
    max-width: 620px !important;
    text-align: right !important;
    line-height: 1.5 !important;
}

/* RWD 自適應手機/平板版 */
@media (max-width: 860px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    .footer-bottom-bar {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
    .footer-legal-notice {
        text-align: center !important;
    }
}

@media (max-width: 500px) {
    .footer-columns {
        grid-template-columns: 1fr !important;
    }
}