@import url('https://fonts.googleapis.com/css2?family=Long+Cang&family=Ma+Shan+Zheng&family=Noto+Serif+TC:wght@700;900&family=Rubik+Glitch&family=Yusei+Magic&family=ZCOOL+KuaiLe&family=Zhi+Mang+Xing&display=swap');

:root {
    --relaxed-bg: #fff9f2;
    --relaxed-surface: #ffffff;
    --relaxed-surface-soft: #fff4e8;
    --relaxed-text: #3f2f22;
    --relaxed-muted: #7d6958;
    --relaxed-primary: #ef8a3d;
    --relaxed-primary-dark: #d67324;
    --relaxed-accent: #58b9a7;
    --relaxed-border: #f1dcc6;
    --relaxed-shadow: 0 18px 34px rgba(142, 99, 52, 0.12);
}

body.site-app {
    min-height: 100vh;
    color: var(--relaxed-text);
    font-family: "M PLUS Rounded 1c", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 10%, #fff2df 0, transparent 36%),
        radial-gradient(circle at 90% 0%, #ffe6dc 0, transparent 30%),
        radial-gradient(circle at 100% 90%, #fff0db 0, transparent 38%),
        var(--relaxed-bg);
}

.main-shell {
    position: relative;
    z-index: 2;
}

.site-footer {
    position: relative;
    z-index: 2;
}

#frontStarfield {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.front-star {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--star-size, 2px);
    height: var(--star-size, 2px);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 calc(var(--star-size, 2px) * 4) rgba(255, 244, 207, 0.85);
    opacity: 0.4;
    transform: translate3d(var(--star-x, 0), var(--star-y, 0), 0) scale(0.95);
    animation: starTwinkle var(--star-duration, 7s) ease-in-out infinite;
    animation-delay: var(--star-delay, 0s);
}

.front-star.is-soft {
    background: rgba(181, 222, 255, 0.86);
    box-shadow: 0 0 calc(var(--star-size, 2px) * 3.6) rgba(181, 222, 255, 0.75);
}

@keyframes starTwinkle {
    0%,
    100% {
        opacity: 0.22;
    }

    50% {
        opacity: 0.82;
    }
}

.fx-reveal {
    opacity: 0;
    transform: translateY(16px) scale(0.992);
    transition: opacity 0.56s ease, transform 0.56s ease;
    transition-delay: var(--fx-delay, 0s);
    will-change: auto;
}

.fx-reveal.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.relaxed-navbar {
    background: rgba(255, 250, 244, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--relaxed-border);
}

.brand-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(44, 25, 9, 0.12));
}

.brand-title {
    color: var(--relaxed-text);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.relaxed-navbar .navbar-toggler {
    border-color: #e4c7aa;
}

.relaxed-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(239, 138, 61, 0.24);
}

.relaxed-navbar .nav-link {
    color: #5f4a36;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.5rem 0.9rem !important;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.relaxed-navbar .nav-link:hover,
.relaxed-navbar .nav-link:focus {
    color: var(--relaxed-primary-dark);
    background-color: #ffe9d4;
}

.front-app-download-float {
    position: fixed;
    left: clamp(16px, 3vw, 34px);
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    width: auto;
    color: #fff;
}

.front-app-download-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 74px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(55, 71, 96, 0.96), rgba(29, 126, 121, 0.96)),
        #1d7e79;
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow:
        0 18px 34px rgba(32, 65, 73, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    font-weight: 900;
    line-height: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.front-app-download-toggle:hover,
.front-app-download-toggle:focus-visible,
.front-app-download-float.is-open .front-app-download-toggle {
    color: #fff;
    transform: translateY(-3px);
    filter: saturate(1.06);
    box-shadow:
        0 22px 42px rgba(32, 65, 73, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.front-app-download-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    width: min(390px, calc(100vw - 32px));
    padding: 15px;
    border-radius: 22px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(55, 71, 96, 0.98), rgba(29, 126, 121, 0.98)),
        #1d7e79;
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow:
        0 18px 34px rgba(32, 65, 73, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transform-origin: bottom left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.front-app-download-float.is-open .front-app-download-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.front-app-download-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.front-app-download-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.35rem;
}

.front-app-download-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.front-app-download-close:hover,
.front-app-download-close:focus-visible {
    background: rgba(255, 255, 255, 0.26);
}

.front-app-download-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.front-app-download-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.front-app-download-title {
    margin-top: 4px;
    font-size: 1.12rem;
    font-weight: 900;
    color: #fff;
}

.front-app-download-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 8px;
    margin-top: 12px;
}

.front-app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 160ms ease, transform 160ms ease;
}

.front-app-download-link span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: center;
}

.front-app-download-link:hover,
.front-app-download-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.front-app-download-note {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    line-height: 1.45;
}

.front-app-ios-guide {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.front-app-ios-guide-title {
    font-size: 0.86rem;
    font-weight: 900;
    color: #fff;
}

.front-app-ios-guide ol {
    margin: 7px 0 8px 1rem;
    padding: 0;
    font-size: 0.78rem;
    line-height: 1.45;
}

.front-app-ios-guide li + li {
    margin-top: 3px;
}

.front-app-ios-guide a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 12px;
    color: #2f3b4f;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 900;
    background: #fff8c7;
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.front-app-ios-guide a:hover,
.front-app-ios-guide a:focus {
    color: #1d2a3d;
    background: #fff3a0;
}

.front-app-download-note a {
    color: #fff8c7;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.navbar-auth-group .btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.45rem 0.95rem;
    border-width: 1px;
}

.btn-relaxed-line {
    background-color: #07c755;
    border-color: #07c755;
    color: #fff;
}

.btn-relaxed-line:hover {
    background-color: #06ad4a;
    border-color: #06ad4a;
    color: #fff;
}

.btn-relaxed-discord {
    background-color: #5865f2;
    border-color: #5865f2;
    color: #fff;
}

.btn-relaxed-discord:hover {
    background-color: #4854d8;
    border-color: #4854d8;
    color: #fff;
}

.hero-section {
    padding: 2.2rem 0 1.6rem;
}

.hero-panel {
    background: linear-gradient(120deg, #fff8ee 0%, #fffaf6 100%);
    border: 1px solid var(--relaxed-border);
    border-radius: 1.4rem;
    box-shadow: var(--relaxed-shadow);
    padding: clamp(1.3rem, 3vw, 2.5rem);
}

body.site-app.site-day-monday {
    background:
        radial-gradient(circle at 8% 10%, rgba(148, 162, 185, 0.42) 0, transparent 35%),
        radial-gradient(circle at 90% 8%, rgba(122, 141, 171, 0.34) 0, transparent 34%),
        radial-gradient(circle at 52% 94%, rgba(110, 124, 150, 0.3) 0, transparent 40%),
        linear-gradient(158deg, #e3e8f0 0%, #d5dde8 56%, #cdd6e2 100%);
}

body.site-app.site-day-tuesday {
    background:
        radial-gradient(circle at 10% 8%, rgba(132, 148, 175, 0.42) 0, transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(110, 128, 158, 0.36) 0, transparent 34%),
        radial-gradient(circle at 50% 92%, rgba(100, 116, 142, 0.28) 0, transparent 39%),
        linear-gradient(158deg, #d8e0eb 0%, #c9d3e0 55%, #bec9d7 100%);
}

body.site-app.site-day-wednesday {
    background:
        radial-gradient(circle at 10% 9%, rgba(116, 134, 164, 0.44) 0, transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(97, 115, 146, 0.38) 0, transparent 34%),
        radial-gradient(circle at 52% 92%, rgba(87, 104, 132, 0.32) 0, transparent 40%),
        linear-gradient(158deg, #ced7e4 0%, #bcc8d7 54%, #aebccc 100%);
}

body.site-app.site-day-thursday {
    background:
        radial-gradient(circle at 10% 10%, rgba(137, 128, 120, 0.34) 0, transparent 34%),
        radial-gradient(circle at 90% 8%, rgba(211, 176, 124, 0.33) 0, transparent 32%),
        radial-gradient(circle at 55% 92%, rgba(154, 145, 132, 0.28) 0, transparent 39%),
        linear-gradient(158deg, #ddd8ce 0%, #d1cbc0 54%, #c7beb0 100%);
}

body.site-app.site-day-friday {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 232, 186, 0.64) 0, transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(255, 205, 156, 0.44) 0, transparent 32%),
        radial-gradient(circle at 50% 95%, rgba(255, 236, 198, 0.36) 0, transparent 40%),
        linear-gradient(158deg, #f9f1e2 0%, #f3e8d5 58%, #eddcc5 100%);
}

body.site-app.site-day-saturday {
    background:
        radial-gradient(circle at 8% 8%, rgba(228, 211, 255, 0.42) 0, transparent 35%),
        radial-gradient(circle at 90% 10%, rgba(188, 228, 255, 0.44) 0, transparent 35%),
        radial-gradient(circle at 52% 90%, rgba(198, 246, 232, 0.34) 0, transparent 42%),
        linear-gradient(158deg, #f9f8ff 0%, #ecf6ff 56%, #e8f9f1 100%);
}

body.site-app.site-day-sunday {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 224, 183, 0.34) 0, transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(189, 214, 251, 0.38) 0, transparent 34%),
        radial-gradient(circle at 52% 92%, rgba(182, 212, 225, 0.28) 0, transparent 40%),
        linear-gradient(158deg, #f6f3ee 0%, #e8eef7 56%, #dce7f0 100%);
}

body.site-app.site-day-holiday {
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 248, 224, 0.58) 0, transparent 36%),
        radial-gradient(circle at 90% 6%, rgba(255, 234, 210, 0.42) 0, transparent 33%),
        radial-gradient(circle at 52% 92%, rgba(255, 250, 232, 0.45) 0, transparent 42%),
        linear-gradient(162deg, #fffdf8 0%, #f9f6ee 54%, #f5efe2 100%);
}

body.site-app[class*="site-day-"] .hero-panel,
body.site-app[class*="site-day-"] .quote-card {
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.site-app.site-day-monday .hero-panel {
    background: linear-gradient(132deg, #dfe6f0 0%, #ced8e5 56%, #c3cfdd 100%);
    border-color: #9eaec6;
    box-shadow: 0 22px 36px rgba(61, 76, 103, 0.22);
}

body.site-app.site-day-monday .quote-card {
    background: linear-gradient(145deg, #d9e1ed 0%, #e8eef7 100%);
    border-color: #9eaec6;
}

body.site-app.site-day-tuesday .hero-panel {
    background: linear-gradient(132deg, #d1dbe8 0%, #c0ccd9 56%, #b6c4d3 100%);
    border-color: #8ea0bb;
    box-shadow: 0 23px 38px rgba(56, 71, 96, 0.25);
}

body.site-app.site-day-tuesday .quote-card {
    background: linear-gradient(145deg, #cad5e3 0%, #dee7f1 100%);
    border-color: #8ea0bb;
}

body.site-app.site-day-wednesday .hero-panel {
    background: linear-gradient(132deg, #c6d1e0 0%, #b5c2d3 56%, #a8b8ca 100%);
    border-color: #7f93b0;
    box-shadow: 0 24px 40px rgba(45, 60, 85, 0.29);
}

body.site-app.site-day-wednesday .quote-card {
    background: linear-gradient(145deg, #becadb 0%, #d2dde9 100%);
    border-color: #7f93b0;
}

body.site-app.site-day-thursday .hero-panel {
    background: linear-gradient(132deg, #d7d1c6 0%, #cac2b5 56%, #beb4a3 100%);
    border-color: #9d8e78;
    box-shadow: 0 24px 40px rgba(77, 63, 43, 0.27);
}

body.site-app.site-day-thursday .quote-card {
    background: linear-gradient(145deg, #ccc5b8 0%, #dfd8cb 100%);
    border-color: #9d8e78;
}

body.site-app.site-day-friday .hero-panel {
    background: linear-gradient(132deg, #faefda 0%, #f4e3c4 56%, #ecd6af 100%);
    border-color: #d5b184;
    box-shadow: 0 23px 39px rgba(130, 92, 45, 0.2);
}

body.site-app.site-day-friday .quote-card {
    background: linear-gradient(145deg, #f1e0c0 0%, #f9efd9 100%);
    border-color: #d5b184;
}

body.site-app.site-day-saturday .hero-panel {
    background: linear-gradient(132deg, #f7f4ff 0%, #e7f2ff 56%, #dcf7ec 100%);
    border-color: #b7c9e5;
    box-shadow: 0 24px 42px rgba(77, 102, 148, 0.2);
}

body.site-app.site-day-saturday .quote-card {
    background: linear-gradient(145deg, #e2ecff 0%, #f1f8ff 100%);
    border-color: #b7c9e5;
}

body.site-app.site-day-sunday .hero-panel {
    background: linear-gradient(132deg, #f4eee2 0%, #e6edf7 56%, #dbe7f1 100%);
    border-color: #b7c3d4;
    box-shadow: 0 24px 42px rgba(84, 97, 119, 0.22);
}

body.site-app.site-day-sunday .quote-card {
    background: linear-gradient(145deg, #e5ddcc 0%, #e8eef6 100%);
    border-color: #b7c3d4;
}

body.site-app.site-day-holiday .hero-panel {
    background: linear-gradient(132deg, #fffbf3 0%, #f8f0e2 54%, #f2e7d6 100%);
    border-color: #e5cfaa;
    box-shadow: 0 24px 40px rgba(138, 111, 68, 0.2);
}

body.site-app.site-day-holiday .quote-card {
    background: linear-gradient(145deg, #fff5e8 0%, #fffaf2 100%);
    border-color: #e5cfaa;
}

body.site-app.site-holiday-valentine .hero-panel {
    background: linear-gradient(134deg, #fff5f9 0%, #fdeaf2 54%, #f9e2eb 100%);
    border-color: #ebbfd3;
    box-shadow: 0 24px 40px rgba(162, 94, 126, 0.2);
}

body.site-app.site-holiday-valentine .quote-card {
    background: linear-gradient(145deg, #ffeff6 0%, #fff7fb 100%);
    border-color: #ebbfd3;
}

body.site-app.site-day-monday .hero-pill {
    background: #d9e2ef;
    border-color: #a9b9cf;
    color: #405470;
}

body.site-app.site-day-tuesday .hero-pill {
    background: #cfd9e7;
    border-color: #97abc4;
    color: #374c69;
}

body.site-app.site-day-wednesday .hero-pill {
    background: #c2cedf;
    border-color: #859ab6;
    color: #2f435f;
}

body.site-app.site-day-thursday .hero-pill {
    background: #dad0be;
    border-color: #ab9a83;
    color: #62513a;
}

body.site-app.site-day-friday .hero-pill {
    background: #f5e5c9;
    border-color: #d3ad7d;
    color: #8f5826;
}

body.site-app.site-day-saturday .hero-pill {
    background: #e3ecff;
    border-color: #b4c5e1;
    color: #49618d;
}

body.site-app.site-day-sunday .hero-pill {
    background: #e6e2d8;
    border-color: #b8b7b0;
    color: #5b6172;
}

body.site-app.site-day-monday .section-kicker {
    color: #4d6281;
}

body.site-app.site-day-tuesday .section-kicker {
    color: #445b7d;
}

body.site-app.site-day-wednesday .section-kicker {
    color: #3d5578;
}

body.site-app.site-day-thursday .section-kicker {
    color: #7e6447;
}

body.site-app.site-day-friday .section-kicker {
    color: #a6672f;
}

body.site-app.site-day-saturday .section-kicker {
    color: #5a6ca6;
}

body.site-app.site-day-sunday .section-kicker {
    color: #6d6678;
}

.holiday-vibe-section {
    padding: 0 0 1.35rem;
}

.holiday-vibe-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.28rem;
    border: 1px solid rgba(212, 186, 154, 0.55);
    padding: clamp(1rem, 2.3vw, 1.35rem) clamp(1.02rem, 2.7vw, 1.68rem);
    box-shadow:
        0 18px 36px rgba(90, 67, 45, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    backdrop-filter: none;
}

.holiday-vibe-card.has-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(130px, 24vw, 230px);
    gap: clamp(0.75rem, 2vw, 1.2rem);
    align-items: center;
}

.holiday-vibe-content {
    position: relative;
    z-index: 1;
}

.holiday-vibe-media {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 26px rgba(56, 39, 22, 0.2);
    background: rgba(255, 255, 255, 0.42);
}

.holiday-vibe-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.holiday-vibe-card::before {
    content: "";
    position: absolute;
    inset: -24% -12%;
    pointer-events: none;
}

.holiday-vibe-card-friday {
    background: linear-gradient(130deg, rgba(249, 237, 211, 0.95) 0%, rgba(243, 221, 183, 0.92) 55%, rgba(236, 208, 161, 0.9) 100%);
    border-color: rgba(208, 167, 110, 0.64);
}

.holiday-vibe-card-friday::before {
    background:
        radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.72) 0, transparent 22%),
        radial-gradient(circle at 84% 22%, rgba(255, 204, 120, 0.38) 0, transparent 24%),
        radial-gradient(circle at 60% 78%, rgba(214, 155, 83, 0.24) 0, transparent 28%);
    animation: holidaySheen 5.5s ease-in-out infinite;
}

.holiday-vibe-card-monday {
    background: linear-gradient(130deg, rgba(219, 228, 241, 0.95) 0%, rgba(201, 214, 232, 0.93) 58%, rgba(187, 201, 224, 0.9) 100%);
    border-color: rgba(131, 153, 186, 0.66);
}

.holiday-vibe-card-monday::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.66) 0, transparent 22%),
        radial-gradient(circle at 82% 24%, rgba(106, 127, 162, 0.32) 0, transparent 24%),
        radial-gradient(circle at 60% 80%, rgba(83, 103, 139, 0.24) 0, transparent 28%);
    animation: holidaySheen 6.2s ease-in-out infinite;
}

.holiday-vibe-card-tuesday {
    background: linear-gradient(130deg, rgba(207, 218, 234, 0.95) 0%, rgba(188, 202, 223, 0.93) 58%, rgba(174, 190, 214, 0.9) 100%);
    border-color: rgba(113, 136, 169, 0.68);
}

.holiday-vibe-card-tuesday::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.62) 0, transparent 22%),
        radial-gradient(circle at 84% 22%, rgba(94, 120, 158, 0.34) 0, transparent 24%),
        radial-gradient(circle at 62% 79%, rgba(72, 97, 134, 0.26) 0, transparent 28%);
    animation: holidaySheen 6s ease-in-out infinite;
}

.holiday-vibe-card-wednesday {
    background: linear-gradient(130deg, rgba(194, 207, 226, 0.95) 0%, rgba(173, 189, 214, 0.93) 58%, rgba(157, 176, 203, 0.9) 100%);
    border-color: rgba(98, 121, 157, 0.7);
}

.holiday-vibe-card-wednesday::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.58) 0, transparent 22%),
        radial-gradient(circle at 84% 22%, rgba(80, 106, 146, 0.36) 0, transparent 24%),
        radial-gradient(circle at 60% 80%, rgba(64, 89, 129, 0.3) 0, transparent 28%);
    animation: holidayFloat 6.6s ease-in-out infinite;
}

.holiday-vibe-card-thursday {
    background: linear-gradient(130deg, rgba(216, 210, 197, 0.95) 0%, rgba(200, 193, 179, 0.93) 58%, rgba(186, 176, 160, 0.9) 100%);
    border-color: rgba(138, 124, 103, 0.68);
}

.holiday-vibe-card-thursday::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.62) 0, transparent 22%),
        radial-gradient(circle at 82% 22%, rgba(208, 163, 95, 0.34) 0, transparent 24%),
        radial-gradient(circle at 61% 79%, rgba(133, 118, 86, 0.26) 0, transparent 28%);
    animation: holidaySheen 5.9s ease-in-out infinite;
}

.holiday-vibe-card-saturday {
    background: linear-gradient(130deg, rgba(246, 243, 255, 0.95) 0%, rgba(226, 243, 255, 0.92) 56%, rgba(219, 251, 238, 0.9) 100%);
    border-color: rgba(161, 183, 221, 0.64);
}

.holiday-vibe-card-saturday::before {
    background:
        radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.74) 0, transparent 24%),
        radial-gradient(circle at 82% 24%, rgba(167, 186, 239, 0.28) 0, transparent 24%),
        radial-gradient(circle at 56% 80%, rgba(163, 229, 235, 0.2) 0, transparent 28%);
    animation: holidayFloat 6.2s ease-in-out infinite;
}

.holiday-vibe-card-sunday {
    background: linear-gradient(130deg, rgba(244, 238, 228, 0.95) 0%, rgba(226, 236, 250, 0.92) 56%, rgba(214, 227, 243, 0.9) 100%);
    border-color: rgba(157, 172, 196, 0.64);
}

.holiday-vibe-card-sunday::before {
    background:
        radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.72) 0, transparent 24%),
        radial-gradient(circle at 82% 24%, rgba(164, 190, 238, 0.28) 0, transparent 24%),
        radial-gradient(circle at 56% 80%, rgba(141, 160, 192, 0.24) 0, transparent 28%);
    animation: holidayFloat 7s ease-in-out infinite;
}

.holiday-vibe-card::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: -44%;
    height: 74%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.holiday-vibe-card.is-holiday {
    border-color: rgba(229, 193, 134, 0.78);
    box-shadow:
        0 20px 42px rgba(120, 83, 41, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.holiday-vibe-card.is-holiday::before {
    background:
        radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.78) 0, transparent 22%),
        radial-gradient(circle at 84% 22%, rgba(255, 211, 143, 0.4) 0, transparent 24%),
        radial-gradient(circle at 60% 78%, rgba(246, 184, 120, 0.28) 0, transparent 28%);
    animation: holidaySparkle 6.8s ease-in-out infinite;
}

.holiday-vibe-special {
    position: absolute;
    top: 0.82rem;
    right: 0.92rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #8f5620;
    background: rgba(255, 248, 227, 0.9);
    border: 1px solid rgba(235, 205, 156, 0.92);
    box-shadow: 0 8px 16px rgba(155, 116, 63, 0.24);
}

.holiday-vibe-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border-radius: 999px;
    padding: 0.34rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.62);
}

.holiday-vibe-card-friday .holiday-vibe-kicker {
    color: #8d561e;
}

.holiday-vibe-card-saturday .holiday-vibe-kicker {
    color: #4e5f95;
}

.holiday-vibe-card-sunday .holiday-vibe-kicker {
    color: #5e607d;
}

.holiday-vibe-card-monday .holiday-vibe-kicker {
    color: #415a81;
}

.holiday-vibe-card-tuesday .holiday-vibe-kicker {
    color: #385175;
}

.holiday-vibe-card-wednesday .holiday-vibe-kicker {
    color: #30486c;
}

.holiday-vibe-card-thursday .holiday-vibe-kicker {
    color: #70573c;
}

.holiday-vibe-title {
    position: relative;
    z-index: 1;
    margin: 0.72rem 0 0.5rem;
    font-size: clamp(1.24rem, 2.85vw, 1.68rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.holiday-vibe-card-friday .holiday-vibe-title {
    color: #5f3817;
}

.holiday-vibe-card-saturday .holiday-vibe-title {
    color: #344768;
}

.holiday-vibe-card-sunday .holiday-vibe-title {
    color: #4d5068;
}

.holiday-vibe-card-monday .holiday-vibe-title {
    color: #2f476b;
}

.holiday-vibe-card-tuesday .holiday-vibe-title {
    color: #274165;
}

.holiday-vibe-card-wednesday .holiday-vibe-title {
    color: #213a5e;
}

.holiday-vibe-card-thursday .holiday-vibe-title {
    color: #4f3f2b;
}

.holiday-vibe-text {
    position: relative;
    z-index: 1;
    max-width: 880px;
    font-size: 0.94rem;
    line-height: 1.72;
}

.holiday-vibe-card-friday .holiday-vibe-text {
    color: #6f4b2d;
}

.holiday-vibe-card-saturday .holiday-vibe-text {
    color: #4f617d;
}

.holiday-vibe-card-sunday .holiday-vibe-text {
    color: #5c6376;
}

.holiday-vibe-card-monday .holiday-vibe-text {
    color: #4b6081;
}

.holiday-vibe-card-tuesday .holiday-vibe-text {
    color: #445978;
}

.holiday-vibe-card-wednesday .holiday-vibe-text {
    color: #3c5070;
}

.holiday-vibe-card-thursday .holiday-vibe-text {
    color: #665540;
}

@keyframes holidaySheen {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.86;
    }

    50% {
        transform: translateY(-4px) scale(1.015);
        opacity: 1;
    }
}

@keyframes holidayFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.9;
    }

    40% {
        transform: translateY(-5px) translateX(-3px);
        opacity: 0.98;
    }

    75% {
        transform: translateY(3px) translateX(2px);
        opacity: 0.9;
    }
}

@keyframes holidaySparkle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.88;
    }

    50% {
        transform: translateY(-6px) scale(1.03);
        opacity: 1;
    }
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.95rem;
    border: 1px solid #f0cfaa;
    border-radius: 999px;
    color: #b56628;
    background: #fff2e3;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-title {
    margin: 0.95rem 0 1rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: #2f2319;
}

.hero-subtitle {
    margin-bottom: 1.45rem;
    color: var(--relaxed-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-actions .btn {
    border-radius: 999px;
    padding: 0.72rem 1.35rem;
    font-weight: 700;
}

.btn-relaxed-primary {
    background-color: var(--relaxed-primary);
    border-color: var(--relaxed-primary);
    color: #fff;
}

.btn-relaxed-primary:hover {
    background-color: var(--relaxed-primary-dark);
    border-color: var(--relaxed-primary-dark);
    color: #fff;
}

.btn-relaxed-primary:focus-visible,
.btn-relaxed-ghost:focus-visible,
.btn-relaxed-line:focus-visible,
.btn-relaxed-discord:focus-visible,
.btn-relaxed-support:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.24rem rgba(239, 138, 61, 0.24);
}

.btn-relaxed-ghost {
    border: 1px solid var(--relaxed-border);
    background-color: #fff;
    color: #654b37;
}

.btn-relaxed-ghost:hover {
    border-color: #e4c7aa;
    background-color: #fff3e5;
    color: #654b37;
}

.btn-relaxed-support {
    border: 1px solid #efccab;
    background: linear-gradient(135deg, #fff7ef 0%, #ffe8d1 100%);
    color: #8c4d1f;
    box-shadow: 0 10px 18px rgba(156, 99, 42, 0.14);
}

.btn-relaxed-support:hover {
    border-color: #e2b17f;
    background: linear-gradient(135deg, #ffefd9 0%, #ffdcb6 100%);
    color: #7c431b;
}

.hero-support-note {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #7d6958;
}

.sponsor-modal {
    border-radius: 1rem;
    border: 1px solid var(--relaxed-border);
    overflow: hidden;
}

.sponsor-modal-header {
    border-bottom: 1px solid rgba(239, 204, 171, 0.7);
    background: linear-gradient(145deg, #fff7ef 0%, #ffeedb 100%);
}

.sponsor-modal-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    text-transform: uppercase;
    color: #b06a30;
}

.sponsor-modal-body {
    padding-top: 1rem;
}

.sponsor-modal-desc {
    margin-bottom: 0.65rem;
    color: #7a6351;
    font-size: 0.92rem;
}

.sponsor-unit-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: 1px solid #efccab;
    background: #fff5e8;
    color: #8c4d1f;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.34rem 0.78rem;
}

.sponsor-form-grid {
    margin-top: 0.92rem;
}

.sponsor-benefit-note {
    margin-top: 0.72rem;
    padding: 0.58rem 0.7rem;
    border-radius: 0.72rem;
    border: 1px dashed #e8c6a2;
    background: rgba(255, 244, 230, 0.72);
    color: #6b533f;
    font-size: 0.84rem;
    line-height: 1.55;
}

.sponsor-benefit-note strong {
    color: #8c4d1f;
}

.sponsor-benefit-note span {
    display: block;
    margin-top: 0.18rem;
}

.sponsor-form-grid .form-label {
    color: #6e5543;
    font-weight: 700;
}

.sponsor-qty-input {
    border-radius: 0.72rem;
    border-color: #e8c6a2;
    font-weight: 700;
    color: #624733;
}

.sponsor-qty-input:focus {
    border-color: #e0a56f;
    box-shadow: 0 0 0 0.22rem rgba(239, 138, 61, 0.18);
}

.sponsor-total-wrap {
    margin-top: 0.92rem;
    border: 1px solid #efd0ae;
    border-radius: 0.8rem;
    background: linear-gradient(145deg, #fff9f2 0%, #ffefd9 100%);
    padding: 0.62rem 0.82rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    color: #5f4632;
    font-weight: 700;
}

.sponsor-total-wrap strong {
    color: #9a501f;
    font-size: 1.08rem;
}

.sponsor-submit-demo {
    margin-top: 0.9rem;
}

.sponsor-modal-hint {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    color: #8f7562;
    text-align: center;
}

.member-showcase-trigger {
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-decoration: underline dotted rgba(90, 110, 150, 0.6);
    text-underline-offset: 0.16rem;
    cursor: pointer;
}

.member-showcase-trigger:hover,
.member-showcase-trigger:focus-visible {
    color: #3f5f94;
    text-decoration-color: rgba(63, 95, 148, 0.9);
    outline: none;
}

.photo-entry-name .member-showcase-trigger {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.member-showcase-popover {
    position: fixed;
    left: 0;
    top: 0;
    width: min(340px, calc(100vw - 16px));
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 250, 255, 0.95) 100%);
    box-shadow:
        0 18px 34px rgba(62, 84, 127, 0.24),
        0 1px 0 rgba(255, 255, 255, 0.56) inset;
    backdrop-filter: blur(4px);
    z-index: 2390;
    opacity: 0;
    transform: translateY(6px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

/* Keep all front modals above page effects/overlays and below swal alerts. */
body.site-app .modal-backdrop {
    z-index: 3490 !important;
}

body.site-app .modal {
    z-index: 3500 !important;
}

.member-showcase-popover.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.member-showcase-popover.is-measuring {
    opacity: 0;
    pointer-events: none;
}

.member-showcase-popover-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.56rem;
    padding: 0.62rem;
}

.member-showcase-mini-stage {
    position: relative;
    min-height: clamp(132px, 22vw, 156px);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(223, 232, 247, 0.96);
}

.member-showcase-mini-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.member-showcase-mini-bg.is-fallback {
    background-image:
        radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.22) 33%),
        linear-gradient(138deg, #f2cfad 0%, #8ec7de 54%, #7bb8a6 100%);
}

.member-showcase-mini-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.member-showcase-mini-stage.scene-classic::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.04) 34%, rgba(10, 10, 10, 0.56) 100%);
}

.member-showcase-mini-stage.scene-neon-city::after {
    background: linear-gradient(126deg, rgba(0, 236, 255, 0.2), rgba(0, 0, 0, 0) 45%),
        linear-gradient(180deg, rgba(113, 0, 186, 0.12), rgba(6, 11, 28, 0.62) 100%);
}

.member-showcase-mini-stage.scene-sunset-dream::after {
    background: linear-gradient(140deg, rgba(255, 169, 120, 0.24), rgba(255, 233, 192, 0.03) 45%),
        linear-gradient(180deg, rgba(55, 23, 6, 0.08), rgba(34, 21, 17, 0.54) 100%);
}

.member-showcase-mini-stage.scene-ink-fantasy::after {
    background: radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(26, 34, 43, 0.14), rgba(5, 8, 18, 0.58) 100%);
}

.member-showcase-mini-stage.scene-aether-grid::after {
    background-image:
        linear-gradient(transparent 90%, rgba(255, 255, 255, 0.1) 90%),
        linear-gradient(90deg, transparent 90%, rgba(255, 255, 255, 0.1) 90%),
        linear-gradient(180deg, rgba(3, 11, 22, 0.1), rgba(3, 11, 22, 0.64));
    background-size: 28px 28px, 28px 28px, 100% 100%;
}

.member-showcase-mini-effect {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0.75;
    mix-blend-mode: screen;
}

.member-showcase-mini-art {
    position: absolute;
    left: 0.6rem;
    top: 0.5rem;
    max-width: 75%;
    z-index: 4;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.28), 0 10px 22px rgba(0, 0, 0, 0.5);
}

.member-showcase-mini-meta {
    position: absolute;
    left: 0.6rem;
    bottom: 0.48rem;
    z-index: 4;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.72rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.member-showcase-popover-body {
    padding: 0 0.1rem 0.08rem;
}

.member-showcase-popover-name {
    color: #2c3e62;
    font-weight: 800;
    font-size: 0.96rem;
    line-height: 1.35;
}

.member-showcase-popover-role {
    color: #587095;
    font-size: 0.8rem;
    margin-top: 0.16rem;
}

.member-showcase-popover-status {
    color: #4d5c74;
    font-size: 0.82rem;
    line-height: 1.48;
    margin-top: 0.38rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.member-showcase-popover-link {
    margin-top: 0.5rem;
    width: 100%;
}

.hero-carousel-card {
    border: 1px solid var(--relaxed-border);
    border-radius: 1.25rem;
    padding: 0.75rem;
    background-color: var(--relaxed-surface);
    box-shadow: var(--relaxed-shadow);
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: clamp(220px, 34vw, 400px);
    overflow: hidden;
    border-radius: 0.95rem;
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rule-section {
    padding-top: 1.8rem;
    padding-bottom: 2.2rem;
}

.section-kicker {
    color: #b56628;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    margin: 0.5rem 0 0.7rem;
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #2f2319;
}

.section-subtitle {
    color: var(--relaxed-muted);
    margin-bottom: 0;
}

.home-front-section {
    position: relative;
}

.home-front-section .section-head {
    padding-bottom: 0.72rem;
    border-bottom: 1px solid rgba(241, 220, 198, 0.9);
}

.section-head-action {
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(142, 99, 52, 0.08);
}

.home-filter-bar {
    padding: 0.24rem;
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.95);
    border: 1px solid rgba(241, 220, 198, 0.9);
}

.relaxed-badge {
    background: linear-gradient(135deg, #7e6b58, #6a5846);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.34rem 0.58rem;
}

.rule-title-link {
    color: #2f2319;
    transition: color 0.18s ease;
}

.rule-title-link:hover {
    color: #6e4b2f;
}

.rule-card {
    height: 100%;
    background: var(--relaxed-surface);
    border: 1px solid var(--relaxed-border);
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 12px 24px rgba(142, 99, 52, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.official-news-card:hover,
.mainland-news-card:hover,
.home-announcement-card:hover,
.guild-feature-card:hover {
    transform: translateY(-3px);
    border-color: #e6c7a5;
    box-shadow: 0 16px 30px rgba(142, 99, 52, 0.13);
}

.tournament-card.is-cancelled {
    border-color: #e6b8b8;
    background: linear-gradient(145deg, #fff6f6 0%, #fff1f1 100%);
    box-shadow: 0 12px 24px rgba(140, 58, 58, 0.12);
}

.tournament-status-badge {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.tournament-cancel-banner {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e6b8b8;
    border-radius: 999px;
    background: #ffe9e9;
    color: #8b2020;
    padding: 0.22rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.tournament-cancel-alert {
    border: 1px solid #e6b8b8;
    border-radius: 0.8rem;
    background: linear-gradient(130deg, #fff1f1 0%, #ffe6e6 100%);
    color: #7d1e1e;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.72rem 0.9rem;
}

.rule-icon {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.85rem;
    background-color: #fff1e3;
    color: var(--relaxed-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.rule-title {
    margin: 0.85rem 0 0.45rem;
    font-size: 1.08rem;
    font-weight: 800;
}

.rule-text {
    margin: 0;
    color: var(--relaxed-muted);
    line-height: 1.65;
}

.quote-section {
    padding-top: 1.2rem;
}

.quote-card {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--relaxed-border);
    border-radius: 1.45rem;
    box-shadow: var(--relaxed-shadow);
    background: linear-gradient(145deg, #fff2de 0%, #fffefa 100%);
    padding: clamp(1.35rem, 3vw, 2.2rem);
    text-align: center;
}

.quote-text {
    margin-bottom: 1.1rem;
    color: #4a3828;
    font-size: clamp(1.02rem, 2vw, 1.28rem);
    font-style: italic;
    line-height: 1.75;
}

.quote-sign {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--relaxed-border);
    background: #fff;
    padding: 0.48rem 1.1rem;
    font-weight: 700;
    color: #5f4a36;
}

.quote-sign img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.page-lead {
    color: var(--relaxed-muted);
}

.video-category-wrapper {
    background-color: var(--relaxed-surface);
    border: 1px solid var(--relaxed-border);
    border-radius: 1rem;
}

.video-category-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.video-category-bar .category-tag {
    padding: 0.48rem 1.05rem;
    border-radius: 999px;
    background-color: #fff;
    color: #6b543f;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #efd8c1;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.video-category-bar .category-tag:hover {
    background-color: #fff1e3;
    border-color: #e7bc91;
    color: #9b5a21;
}

.video-category-bar .category-tag.active {
    background-color: var(--relaxed-primary);
    color: #fff;
    border-color: var(--relaxed-primary);
    box-shadow: 0 10px 20px rgba(239, 138, 61, 0.24);
}

.relaxed-video-card {
    cursor: pointer;
    border: 1px solid var(--relaxed-border) !important;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(142, 99, 52, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.relaxed-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(142, 99, 52, 0.16);
}

.relaxed-video-thumb {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background-color: #fff1e2;
    color: #9d5a20;
    border: 1px solid #f0d5b8;
    padding: 0.22rem 0.64rem;
    font-size: 0.76rem;
    font-weight: 700;
}

.relaxed-video-card .card-title {
    color: #3d2d20;
    font-size: 1.05rem;
}

.relaxed-video-card .card-text {
    color: var(--relaxed-muted);
    font-size: 0.95rem;
}

.relaxed-modal {
    border-radius: 1rem;
    border: 1px solid var(--relaxed-border);
}

.relaxed-modal .modal-header {
    border-bottom: 1px solid #f1e2d3;
}

.relaxed-modal .modal-footer {
    border-top: 1px solid #f1e2d3;
}

.profile-edit-modal {
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(73, 49, 28, 0.22);
}

.profile-edit-header {
    background: #fffaf3;
}

.profile-edit-kicker,
.profile-section-kicker {
    color: #b86c2c;
    font-size: 0.76rem;
    font-weight: 800;
}

.profile-edit-modal .modal-title {
    color: #34261b;
    font-size: 1.2rem;
    font-weight: 900;
}

.profile-form-section {
    border: 1px solid #efd9c5;
    border-radius: 0.85rem;
    background: #fffdf9;
    padding: 1rem;
    margin-bottom: 1rem;
}

.profile-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.profile-section-heading h6 {
    margin: 0.1rem 0 0;
    color: #3d2d20;
    font-size: 1rem;
    font-weight: 900;
}

.profile-section-note {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    border-radius: 999px;
    background: #f8eadb;
    color: #8c5526;
    padding: 0.2rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.profile-add-character-btn {
    min-width: 4.3rem;
}

.profile-identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.6rem;
}

.profile-identity-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.7rem;
    border: 1px solid #ead3bd;
    border-radius: 0.75rem;
    background: #fff8f0;
    color: #5b3c24;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.profile-identity-chip:hover {
    border-color: #dc9c60;
    background: #fff2e3;
}

.profile-identity-chip:has(.profile-identity-input:checked) {
    border-color: #d17b36;
    background: #ffe8d0;
    box-shadow: inset 0 0 0 1px rgba(209, 123, 54, 0.22);
}

.profile-identity-input {
    margin-top: 0;
}

.profile-toggle-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #4b3524;
    font-weight: 800;
}

.profile-modal-preview {
    background: linear-gradient(145deg, #fff6eb 0%, #fffdf8 100%);
    border: 1px solid var(--relaxed-border);
    border-radius: 1rem;
    padding: 1.15rem;
    text-align: center;
    position: sticky;
    top: 1rem;
}

.profile-avatar-preview {
    width: 116px;
    height: 116px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 26px rgba(142, 99, 52, 0.24);
    cursor: pointer;
}

.profile-preview-title {
    margin-top: 0.85rem;
    color: #3d2d20;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
}

.profile-preview-subtitle {
    margin-top: 0.35rem;
    color: #8c6b4f;
    font-size: 0.9rem;
    word-break: break-word;
}

.profile-modal-preview .form-label {
    color: #6f4b31;
    font-size: 0.82rem;
    font-weight: 800;
}

.profile-preview-status {
    margin: 0.75rem 0 0;
    color: #6f5947;
    font-size: 0.93rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 767.98px) {
    .profile-form-section {
        padding: 0.85rem;
    }

    .profile-modal-preview {
        position: static;
    }
}

.home-announcement-card {
    padding: 0.75rem;
}

.official-news-card {
    padding: 0.75rem;
}

.official-news-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.official-news-title {
    font-size: 1.02rem;
}

.home-announcement-cover-link {
    display: block;
    margin-bottom: 0.7rem;
    border-radius: 0.8rem;
    overflow: hidden;
    border: 1px solid #ead8c6;
    background: linear-gradient(130deg, #fff5e8 0%, #fffdf9 100%);
}

.home-announcement-cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-announcement-card:hover .home-announcement-cover {
    transform: scale(1.04);
}

.home-announcement-title {
    margin-top: 0;
    line-height: 1.5;
    font-size: 1rem;
}

.home-announcement-title-link {
    color: #2f2319;
    text-decoration: none;
}

.home-announcement-title-link:hover {
    color: #5f452f;
    text-decoration: underline;
}

.guild-feature-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-announcement-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em;
}

.home-announcement-pagination .pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0;
}

.home-announcement-pagination .page-link {
    border-radius: 999px;
    border-color: var(--relaxed-border);
    color: #6b543f;
    padding: 0.4rem 0.72rem;
    min-width: 2.2rem;
    text-align: center;
    line-height: 1.2;
}

.home-announcement-pagination .page-link:hover {
    background-color: #fff3e5;
    border-color: #e4c7aa;
    color: #654b37;
}

.home-announcement-pagination .page-item.active .page-link {
    background-color: var(--relaxed-primary);
    border-color: var(--relaxed-primary);
    color: #fff;
}

.ig-feed-shell {
    border: 1px solid #eed8bf;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff7ee 0%, #fffdf8 100%);
    padding: 0.7rem 0.7rem 0.6rem;
    box-shadow: 0 10px 22px rgba(142, 99, 52, 0.09);
}

.ig-feed-shell-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    padding: 0 0.2rem;
}

.ig-feed-shell-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    color: #a16938;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.ig-feed-shell-kicker i {
    font-size: 0.86rem;
}

.ig-feed-wrap {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.ig-feed-nav {
    width: 2rem;
    min-width: 2rem;
    border-radius: 999px;
    border: 1px solid #ecd4b9;
    background-color: #fff;
    color: #7a5a3f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 5px 10px rgba(139, 97, 52, 0.12);
}

.ig-feed-nav:hover:not(:disabled) {
    background-color: #fff3e6;
    border-color: #dfbe9b;
    color: #62462f;
}

.ig-feed-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.ig-feed-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 182px);
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    padding: 0.08rem 0.1rem 0.5rem;
    flex: 1;
}

.ig-feed-track::-webkit-scrollbar {
    height: 6px;
}

.ig-feed-track::-webkit-scrollbar-thumb {
    background-color: #e6c5a2;
    border-radius: 999px;
}

.ig-feed-card {
    display: block;
    text-decoration: none;
    border: 1px solid #edd9c1;
    border-radius: 0.9rem;
    background: #fff;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 9px 18px rgba(142, 99, 52, 0.11);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ig-feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(142, 99, 52, 0.15);
}

.ig-feed-frame {
    padding: 2px;
    background: linear-gradient(140deg, #feda75 2%, #fa7e1e 24%, #d62976 48%, #962fbf 72%, #4f5bd5 100%);
}

.ig-feed-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f9f5ef;
}

.ig-feed-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-feed-badge {
    position: absolute;
    top: 0.42rem;
    right: 0.42rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border-radius: 999px;
    padding: 0.14rem 0.46rem;
    font-size: 0.64rem;
    font-weight: 800;
    color: #fff;
    background: rgba(45, 31, 19, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(3px);
}

.ig-feed-body {
    padding: 0.52rem 0.56rem 0.58rem;
}

.ig-feed-caption {
    margin: 0;
    color: #4b3a2b;
    font-size: 0.79rem;
    line-height: 1.4;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.ig-feed-time {
    margin-top: 0.25rem;
    color: #8f745f;
    font-size: 0.7rem;
    font-weight: 700;
}

.mainland-news-section .mainland-news-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mainland-news-section .mainland-news-title {
    margin-top: 0;
    line-height: 1.55;
    font-size: 1.02rem;
}

.mainland-news-section .mainland-news-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.mainland-news-section .relaxed-pagination .pagination,
#home-official-news .relaxed-pagination .pagination,
.js-official-pagination .pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0;
}

.mainland-news-section .mainland-pagination-list,
#home-official-news .mainland-pagination-list,
.js-official-pagination .mainland-pagination-list {
    row-gap: 0.4rem;
}

.mainland-news-section .relaxed-pagination .page-link,
#home-official-news .relaxed-pagination .page-link,
.js-official-pagination .page-link {
    border-radius: 999px;
    border-color: var(--relaxed-border);
    color: #6b543f;
    padding: 0.4rem 0.72rem;
    min-width: 2.2rem;
    text-align: center;
    line-height: 1.2;
}

.mainland-news-section .relaxed-pagination .page-link:hover,
#home-official-news .relaxed-pagination .page-link:hover,
.js-official-pagination .page-link:hover {
    background-color: #fff3e5;
    border-color: #e4c7aa;
    color: #654b37;
}

.mainland-news-section .relaxed-pagination .page-item.active .page-link,
#home-official-news .relaxed-pagination .page-item.active .page-link,
.js-official-pagination .page-item.active .page-link {
    background-color: var(--relaxed-primary);
    border-color: var(--relaxed-primary);
    color: #fff;
}

.guild-feature-card .guild-feature-excerpt {
    min-height: 3.2em;
}

.guild-sponsor-rank-card {
    padding: 0.9rem;
}

.guild-sponsor-rank-list {
    display: grid;
    gap: 0.45rem;
}

.guild-sponsor-rank-item {
    display: grid;
    grid-template-columns: auto minmax(145px, 195px) minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.55rem;
    border: 1px solid #f0dfcc;
    border-radius: 0.82rem;
    background: linear-gradient(130deg, #fffaf3 0%, #fff 100%);
    padding: 0.45rem 0.55rem;
}

.guild-sponsor-rank-item.is-top {
    border-color: #f3cd92;
    background: linear-gradient(130deg, #fff8eb 0%, #fffdf7 100%);
}

.guild-sponsor-rank-no {
    min-width: 2.2rem;
    text-align: center;
    font-weight: 800;
    color: #9b6e3a;
    font-size: 0.82rem;
    align-self: center;
}

.guild-sponsor-rank-showcase {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 0.68rem;
    overflow: hidden;
}

.guild-sponsor-rank-showcase .member-showcase-mini-stage {
    min-height: 114px;
}

.guild-sponsor-rank-showcase.is-disabled {
    pointer-events: none;
}

.guild-sponsor-rank-main {
    min-width: 0;
    align-self: center;
}

.guild-sponsor-rank-name {
    font-weight: 800;
    color: #4a3522;
    line-height: 1.2;
    word-break: break-word;
}

.guild-sponsor-rank-meta {
    font-size: 0.75rem;
    color: #7e654b;
    line-height: 1.35;
}

.guild-sponsor-rank-total {
    text-align: right;
    min-width: 70px;
    align-self: center;
}

.guild-sponsor-rank-total-label {
    font-size: 0.68rem;
    color: #8f6d4a;
    line-height: 1.2;
}

.guild-sponsor-rank-total-value {
    font-size: 1rem;
    font-weight: 900;
    color: #ce7a22;
    line-height: 1.1;
}

.guild-calendar-toolbar {
    border: 1px dashed #edd2b4;
    border-radius: 0.9rem;
    background: linear-gradient(120deg, #fff7ec 0%, #fffdf9 100%);
    padding: 0.6rem 0.8rem;
}

.guild-month-label {
    color: #8a6746;
}

.guild-calendar-card {
    padding: 0.8rem;
}

.guild-calendar-wrap {
    border: 1px solid #f0dfcd;
    border-radius: 0.9rem;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.guild-calendar-table thead th {
    background-color: #fff3e4;
    color: #8e5d31;
    font-size: 0.82rem;
    font-weight: 800;
    border-bottom: 1px solid #efd8bf;
    letter-spacing: 0.02em;
}

.guild-calendar-table td,
.guild-calendar-table th {
    border-color: #f1e3d2;
}

.guild-day-cell {
    min-width: 118px;
    min-height: 116px;
    height: auto;
    vertical-align: top;
    padding: 0.45rem !important;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.guild-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.28rem;
}

.guild-day-cell:hover {
    background-color: #fff8ee;
}

.guild-day-cell.is-other {
    background-color: #fffaf4;
    opacity: 0.72;
}

.guild-day-cell.is-today {
    background: linear-gradient(168deg, #fff4df 0%, #fff8ef 100%);
    border-color: #efc78d;
    box-shadow: inset 0 0 0 1px rgba(239, 166, 76, 0.18);
}

.guild-day-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    color: #7a4f2a;
    background-color: #fff1e2;
    border: 1px solid #efd4b9;
}

.guild-day-cell.is-other .guild-day-num {
    background-color: #f7f3ee;
    color: #98806b;
    border-color: #eee2d6;
}

.guild-day-cell.is-today .guild-day-num {
    color: #8a4f16;
    border-color: #efc78d;
    background: #ffe9c9;
}

.guild-day-today-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #efc78d;
    background: #fff2db;
    color: #925621;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    white-space: nowrap;
}

.guild-day-event {
    display: block;
    width: 100%;
    margin-top: 0.34rem;
    padding: 0.28rem 0.42rem;
    border: 1px solid #f1ddc5;
    border-radius: 0.62rem;
    background-color: #fff9f1;
    text-align: left;
    text-decoration: none;
    transition: all 0.2s ease;
}

.guild-day-event:hover {
    border-color: #e8bf92;
    background-color: #fff1df;
}

.guild-day-event.is-lottery {
    border-color: #f0cd95;
    background: linear-gradient(140deg, #fff7e9 0%, #fff2db 100%);
}

.guild-day-event.is-lottery:hover {
    border-color: #e2b374;
    background: linear-gradient(140deg, #ffefd4 0%, #ffe8c2 100%);
}

.guild-day-event.is-tournament {
    border-color: #9fd8ff;
    background: linear-gradient(140deg, #f1f9ff 0%, #e8f4ff 100%);
}

.guild-day-event.is-tournament:hover {
    border-color: #6bbce9;
    background: linear-gradient(140deg, #e5f3ff 0%, #d9edff 100%);
}

.guild-day-event.is-vote-start {
    border-color: #9fd8b4;
    background: linear-gradient(140deg, #eefbf3 0%, #e5f7ed 100%);
}

.guild-day-event.is-vote-start:hover {
    border-color: #5fb287;
    background: linear-gradient(140deg, #e3f7ea 0%, #d8f1e2 100%);
}

.guild-day-event.is-vote-end {
    border-color: #f2b4b4;
    background: linear-gradient(140deg, #fff2f2 0%, #ffeaea 100%);
}

.guild-day-event.is-vote-end:hover {
    border-color: #da7d7d;
    background: linear-gradient(140deg, #ffe9e9 0%, #ffdfdf 100%);
}

.guild-day-tag {
    display: inline-block;
    border-radius: 999px;
    padding: 0.08rem 0.45rem;
    margin-bottom: 0.16rem;
    background-color: #ffe1ba;
    color: #8f5920;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.2;
}

.guild-day-tag.is-lottery {
    background-color: #ffd59f;
    color: #84511d;
}

.guild-day-tag.is-tournament {
    background-color: #c8e8ff;
    color: #1d5f8f;
}

.guild-day-tag.is-vote-start {
    background-color: #ccefd8;
    color: #2e6f4b;
}

.guild-day-tag.is-vote-end {
    background-color: #ffd6d6;
    color: #8d3a3a;
}

.guild-day-title {
    display: block;
    color: #4f3d2d;
    font-size: 0.75rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guild-day-more {
    margin-top: 0.32rem;
    display: inline-flex;
    align-items: center;
}

.guild-day-more-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    border: 1px solid #efc7ee;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff4fb 0%, #fff9ff 52%, #f7fbff 100%);
    padding: 0.14rem 0.58rem;
    color: #8d4f8d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(165, 98, 166, 0.2);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.guild-day-more-trigger::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -18%;
    width: 52%;
    height: 320%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08));
    transform: rotate(20deg);
    animation: guild-more-sparkle 3.1s ease-in-out infinite;
    pointer-events: none;
}

@keyframes guild-more-sparkle {
    0% {
        transform: translateX(-140%) rotate(20deg);
    }
    70%,
    100% {
        transform: translateX(320%) rotate(20deg);
    }
}

.guild-day-more-trigger:hover {
    color: #6f3f77;
    border-color: #dfabdf;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(165, 98, 166, 0.28);
}

#guildEventModal .modal-dialog {
    max-width: 820px;
}

#guildDayEventsModal .modal-dialog {
    max-width: 680px;
}

#guildDayEventsModal .modal-content {
    position: relative;
    border: 1px solid #f0d3ee;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 5%, rgba(255, 226, 251, 0.82) 0, rgba(255, 226, 251, 0) 42%),
        radial-gradient(circle at 92% 100%, rgba(214, 245, 255, 0.58) 0, rgba(214, 245, 255, 0) 46%),
        linear-gradient(152deg, #fff9ff 0%, #fff3fb 46%, #f6fbff 100%);
    box-shadow: 0 28px 60px rgba(73, 55, 102, 0.24);
}

#guildDayEventsModal .modal-content::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 21px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    pointer-events: none;
}

#guildDayEventsModal .modal-header {
    border-bottom: 1px solid #efd9eb;
    padding: 0.95rem 1rem;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 247, 253, 0.96) 48%, rgba(245, 252, 255, 0.95) 100%);
    backdrop-filter: blur(6px);
}

#guildDayEventsModal .modal-title {
    color: #5a3c67;
    font-weight: 900;
    letter-spacing: 0.02em;
}

#guildDayEventsModal .modal-body {
    padding: 1rem 1rem 1.05rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.58) 100%);
}

.guild-day-events-list {
    display: grid;
    gap: 0.64rem;
}

.guild-day-events-item {
    width: 100%;
    border: 1px solid #ecd4ea;
    border-radius: 14px;
    background: linear-gradient(136deg, #fff7fc 0%, #fff 45%, #fbfdff 100%);
    padding: 0.6rem 0.72rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.72rem;
    text-align: left;
    color: #50355d;
    box-shadow: 0 10px 18px rgba(155, 114, 173, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.guild-day-events-item:hover {
    border-color: #d8b1df;
    background: linear-gradient(136deg, #fff1fb 0%, #fff9ff 48%, #f2fbff 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(155, 114, 173, 0.2);
}

.guild-day-events-item i {
    color: #9b6fb2;
    font-size: 0.86rem;
}

.guild-day-events-item.is-lottery {
    border-color: #efca97;
    background: linear-gradient(136deg, #fff8ec 0%, #fff8ef 45%, #fffcf7 100%);
}

.guild-day-events-item.is-lottery:hover {
    border-color: #dfa96b;
    background: linear-gradient(136deg, #ffefda 0%, #fff6ea 48%, #fffbf5 100%);
}

.guild-day-events-item.is-tournament {
    border-color: #bfdcf7;
    background: linear-gradient(136deg, #f4faff 0%, #f6fbff 42%, #fdfcff 100%);
}

.guild-day-events-item.is-tournament:hover {
    border-color: #8fc0ea;
    background: linear-gradient(136deg, #ebf6ff 0%, #f2f9ff 46%, #fcfdff 100%);
}

.guild-day-events-item.is-vote-start {
    border-color: #abd8bb;
    background: linear-gradient(136deg, #f1fbf5 0%, #f3fcf7 45%, #fbfffd 100%);
}

.guild-day-events-item.is-vote-start:hover {
    border-color: #6fb38b;
    background: linear-gradient(136deg, #e8f8ef 0%, #eefaf4 45%, #f8fefb 100%);
}

.guild-day-events-item.is-vote-end {
    border-color: #efbcbc;
    background: linear-gradient(136deg, #fff4f4 0%, #fff6f6 45%, #fffdfd 100%);
}

.guild-day-events-item.is-vote-end:hover {
    border-color: #d98787;
    background: linear-gradient(136deg, #ffebeb 0%, #fff1f1 45%, #fffbfb 100%);
}

.guild-day-events-main {
    min-width: 0;
}

.guild-day-events-title {
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guild-day-events-meta {
    margin-top: 0.24rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.guild-day-events-time {
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    background: #ffe4f5;
    color: #7c3f87;
    font-size: 0.67rem;
    font-weight: 800;
}

.guild-day-events-type {
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    background: #efe3ff;
    color: #5e4694;
    font-size: 0.67rem;
    font-weight: 800;
}

.guild-day-events-type.is-lottery {
    background: #ffe7be;
    color: #8f5d22;
}

.guild-day-events-type.is-tournament {
    background: #dbefff;
    color: #2e648d;
}

.guild-day-events-type.is-vote-start {
    background: #d4efde;
    color: #2f6a47;
}

.guild-day-events-type.is-vote-end {
    background: #ffd7d7;
    color: #8e3d3d;
}

#guildEventModal .modal-dialog {
    max-width: min(760px, calc(100vw - 1rem));
}

#guildEventModal .modal-content {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(238, 224, 255, 0.85);
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(130% 130% at 0% 0%, rgba(255, 233, 252, 0.78) 0%, rgba(255, 233, 252, 0) 60%),
        radial-gradient(130% 130% at 100% 100%, rgba(220, 235, 255, 0.8) 0%, rgba(220, 235, 255, 0) 62%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 247, 255, 0.96) 52%, rgba(244, 250, 255, 0.98) 100%);
    box-shadow:
        0 26px 58px rgba(64, 49, 99, 0.3),
        0 6px 16px rgba(147, 126, 191, 0.18);
    backdrop-filter: blur(3px);
}

#guildEventModal .modal-content::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 0;
}

#guildEventModal .modal-header,
#guildEventModal .guild-event-modal-body {
    position: relative;
    z-index: 1;
}

#guildEventModal .modal-header {
    border-bottom: 1px solid #eadffc;
    padding: 1.05rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 238, 255, 0.92) 100%);
}

#guildEventModal .modal-title {
    color: #473763;
    font-weight: 900;
    letter-spacing: 0.01em;
}

#guildEventModal .btn-close {
    background-size: 0.8rem;
    filter: saturate(0.7) hue-rotate(286deg) brightness(0.9);
}

.guild-event-modal-kicker {
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #8a65b8;
    text-transform: uppercase;
}

.guild-event-modal-body {
    padding: 1.02rem 1.25rem 1.2rem;
}

.guild-event-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.68rem;
    margin-bottom: 0.95rem;
}

.guild-event-meta-item {
    border: 1px solid rgba(231, 219, 249, 0.92);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 6px 14px rgba(144, 128, 186, 0.12);
    padding: 0.62rem 0.72rem;
    display: grid;
    gap: 0.2rem;
}

.guild-event-meta-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #8a74a5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guild-event-meta-value {
    color: #3c2f53;
    font-size: 0.93rem;
    font-weight: 800;
    word-break: break-word;
}

.guild-event-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    padding: 0.2rem 0.7rem;
    background: linear-gradient(135deg, #f86fc6 0%, #ab73ff 56%, #6ab8ff 100%);
    color: #fff;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 14px rgba(166, 102, 217, 0.3);
}

.guild-event-modal-media {
    position: relative;
    border: 1px solid rgba(232, 221, 249, 0.95);
    border-radius: 15px;
    overflow: hidden;
    background: #f6f2ff;
    box-shadow: 0 10px 18px rgba(129, 112, 167, 0.16);
    margin-bottom: 0.92rem;
}

#guildEventModalImage {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.guild-event-modal-section {
    border: 1px solid rgba(231, 219, 249, 0.95);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 16px rgba(136, 118, 176, 0.1);
    padding: 0.82rem 0.9rem;
}

.guild-event-modal-section-title {
    font-size: 0.8rem;
    font-weight: 900;
    color: #7855a1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.58rem;
}

#guildEventModalContent {
    color: #3d3154;
    line-height: 1.74;
    word-break: break-word;
}

#guildEventModalContent img {
    max-width: 100%;
    height: auto;
    border-radius: 11px;
}

#guildEventModalContent table {
    width: 100%;
    border-collapse: collapse;
}

#guildEventModalContent th,
#guildEventModalContent td {
    border: 1px solid #eadff9;
    padding: 0.42rem 0.55rem;
}

.home-guild-member-card {
    border: 1px solid #e2d4c6;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 24px rgba(138, 101, 70, 0.1);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-guild-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(128, 92, 61, 0.15);
}

.home-guild-member-stage {
    position: relative;
    min-height: clamp(212px, 24vw, 280px);
    overflow: hidden;
}

.home-guild-member-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.home-guild-member-bg.is-fallback {
    background-image: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.2) 35%),
        linear-gradient(140deg, #f4d8b8 0%, #8ec8df 52%, #75ba9f 100%);
}

.home-guild-member-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-guild-member-stage.scene-classic::after {
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.02) 36%, rgba(14, 14, 14, 0.42) 100%);
}

.home-guild-member-stage.scene-neon-city::after {
    background: linear-gradient(128deg, rgba(0, 236, 255, 0.18), rgba(0, 0, 0, 0) 45%),
        linear-gradient(180deg, rgba(113, 0, 186, 0.14), rgba(7, 11, 28, 0.58) 100%);
}

.home-guild-member-stage.scene-sunset-dream::after {
    background: linear-gradient(140deg, rgba(255, 169, 120, 0.24), rgba(255, 233, 192, 0.03) 45%),
        linear-gradient(180deg, rgba(55, 23, 6, 0.08), rgba(34, 21, 17, 0.5) 100%);
}

.home-guild-member-stage.scene-ink-fantasy::after {
    background: radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(26, 34, 43, 0.14), rgba(5, 8, 18, 0.56) 100%);
}

.home-guild-member-stage.scene-aether-grid::after {
    background-image:
        linear-gradient(transparent 90%, rgba(255, 255, 255, 0.1) 90%),
        linear-gradient(90deg, transparent 90%, rgba(255, 255, 255, 0.1) 90%),
        linear-gradient(180deg, rgba(3, 11, 22, 0.1), rgba(3, 11, 22, 0.6));
    background-size: 30px 30px, 30px 30px, 100% 100%;
}

.home-guild-member-effect {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.76;
    mix-blend-mode: screen;
    pointer-events: none;
}

.home-guild-member-character {
    position: absolute;
    z-index: 3;
    left: 50%;
    right: auto;
    bottom: 0;
    width: min(84%, 328px);
    max-height: 102%;
    object-fit: contain;
    object-position: bottom center;
    transform: translateX(-8%);
    filter: drop-shadow(0 14px 18px rgba(8, 10, 20, 0.4));
}

.home-guild-member-avatar-fallback {
    position: absolute;
    z-index: 3;
    right: 1rem;
    bottom: 0.8rem;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.home-guild-member-art {
    position: absolute;
    z-index: 4;
    left: 0.85rem;
    top: 0.75rem;
    max-width: 75%;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.28), 0 10px 20px rgba(0, 0, 0, 0.45);
}

.showcase-art-style-classic,
.showcase-art-style-wuxia-brush,
.showcase-art-style-immortal-script,
.showcase-art-style-dragon-bold,
.showcase-art-style-shadow-blood,
.showcase-art-style-neon-glitch {
    display: inline-block;
    line-height: 1.08;
    word-break: break-word;
}

.showcase-art-style-classic {
    font-family: "Noto Sans TC", "M PLUS Rounded 1c", "Microsoft JhengHei", sans-serif;
    letter-spacing: 0.06em;
}

.showcase-art-style-wuxia-brush {
    font-family: "Ma Shan Zheng", "Noto Serif TC", "Microsoft JhengHei", serif;
    font-weight: 400 !important;
    letter-spacing: 0.1em;
    transform: rotate(-1.2deg);
    text-shadow:
        0 1px 0 rgba(18, 8, 4, 0.4),
        0 5px 14px rgba(10, 10, 10, 0.52),
        0 0 12px rgba(255, 213, 146, 0.36);
}

.showcase-art-style-immortal-script {
    font-family: "Zhi Mang Xing", "Long Cang", "Noto Serif TC", cursive;
    font-weight: 400 !important;
    font-size: 1.18em;
    letter-spacing: 0.08em;
    color: #f9f2ff !important;
    text-shadow:
        0 2px 0 rgba(20, 15, 41, 0.42),
        0 8px 18px rgba(30, 16, 58, 0.58),
        0 0 16px rgba(206, 165, 255, 0.78);
}

.showcase-art-style-dragon-bold {
    font-family: "ZCOOL KuaiLe", "Noto Serif TC", "Microsoft JhengHei", serif;
    font-weight: 400 !important;
    font-size: 1.05em;
    letter-spacing: 0.08em;
    color: #ffe8ab !important;
    text-shadow:
        0 2px 0 rgba(66, 35, 6, 0.6),
        0 0 10px rgba(255, 190, 96, 0.66),
        0 9px 18px rgba(34, 14, 5, 0.58);
}

.showcase-art-style-shadow-blood {
    font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
    font-weight: 900 !important;
    letter-spacing: 0.09em;
    color: #ffd2d2 !important;
    transform: skewX(-4deg);
    text-shadow:
        1px 1px 0 rgba(66, 0, 0, 0.92),
        2px 2px 0 rgba(92, 0, 0, 0.82),
        0 8px 18px rgba(34, 4, 4, 0.62),
        0 0 14px rgba(255, 88, 88, 0.46);
}

.showcase-art-style-neon-glitch {
    font-family: "Rubik Glitch", "Yusei Magic", "Noto Sans TC", sans-serif;
    font-weight: 400 !important;
    letter-spacing: 0.09em;
    color: #e9f9ff !important;
    text-shadow:
        -1px 0 rgba(255, 0, 184, 0.64),
        1px 0 rgba(0, 255, 255, 0.7),
        0 0 14px rgba(88, 245, 255, 0.72),
        0 8px 16px rgba(5, 27, 34, 0.6);
}

.member-preview-art,
.member-showcase-art,
.member-show-art,
.home-guild-member-art,
.member-showcase-mini-art,
.mbti-member-preview-art {
    font-size: calc(var(--showcase-art-base-size, 1rem) * var(--showcase-art-size-scale, 1));
}

.member-preview-art {
    --showcase-art-base-size: 1.2rem;
}

.member-showcase-art,
.home-guild-member-art {
    --showcase-art-base-size: 1.08rem;
}

.member-show-art {
    --showcase-art-base-size: 1.35rem;
}

.member-showcase-mini-art,
.mbti-member-preview-art {
    --showcase-art-base-size: 0.98rem;
}

.member-preview-art[class*="showcase-art-position-"],
.member-showcase-art[class*="showcase-art-position-"],
.member-show-art[class*="showcase-art-position-"],
.home-guild-member-art[class*="showcase-art-position-"],
.member-showcase-mini-art[class*="showcase-art-position-"],
.mbti-member-preview-art[class*="showcase-art-position-"] {
    max-width: 82%;
}

.showcase-art-position-top-left {
    top: 0.9rem !important;
    left: 0.9rem !important;
    right: auto !important;
    bottom: auto !important;
    text-align: left !important;
    translate: 0 0;
}

.showcase-art-position-top-center {
    top: 0.9rem !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    text-align: center !important;
    translate: -50% 0;
}

.showcase-art-position-top-right {
    top: 0.9rem !important;
    left: auto !important;
    right: 0.9rem !important;
    bottom: auto !important;
    text-align: right !important;
    translate: 0 0;
}

.showcase-art-position-middle-left {
    top: 50% !important;
    left: 0.9rem !important;
    right: auto !important;
    bottom: auto !important;
    text-align: left !important;
    translate: 0 -50%;
}

.showcase-art-position-middle-center {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    text-align: center !important;
    translate: -50% -50%;
}

.showcase-art-position-middle-right {
    top: 50% !important;
    left: auto !important;
    right: 0.9rem !important;
    bottom: auto !important;
    text-align: right !important;
    translate: 0 -50%;
}

.showcase-art-position-bottom-left {
    top: auto !important;
    left: 0.9rem !important;
    right: auto !important;
    bottom: 0.9rem !important;
    text-align: left !important;
    translate: 0 0;
}

.showcase-art-position-bottom-center {
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0.9rem !important;
    text-align: center !important;
    translate: -50% 0;
}

.showcase-art-position-bottom-right {
    top: auto !important;
    left: auto !important;
    right: 0.9rem !important;
    bottom: 0.9rem !important;
    text-align: right !important;
    translate: 0 0;
}

.member-preview[class*="showcase-frame-style-"],
.member-showcase[class*="showcase-frame-style-"],
.member-show-stage[class*="showcase-frame-style-"],
.home-guild-member-stage[class*="showcase-frame-style-"],
.mbti-member-preview-stage[class*="showcase-frame-style-"],
.member-showcase-mini-stage[class*="showcase-frame-style-"] {
    border-width: var(--showcase-frame-width, 1px) !important;
    border-style: solid !important;
    border-color: var(--showcase-frame-color, rgba(226, 210, 192, 0.96)) !important;
    box-shadow: var(--showcase-frame-shadow, 0 10px 20px rgba(107, 84, 57, 0.16)) !important;
    outline: var(--showcase-frame-outline, 0 solid transparent);
    outline-offset: var(--showcase-frame-outline-offset, 0);
}

.showcase-frame-style-classic {
    --showcase-frame-width: 1px;
    --showcase-frame-color: rgba(226, 210, 192, 0.96);
    --showcase-frame-shadow:
        0 10px 20px rgba(107, 84, 57, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.32) inset;
    --showcase-frame-outline: 0 solid transparent;
    --showcase-frame-outline-offset: 0;
}

.showcase-frame-style-dragon-gold {
    --showcase-frame-width: 2px;
    --showcase-frame-color: #f4cd7a;
    --showcase-frame-shadow:
        0 0 0 1px rgba(121, 73, 18, 0.62) inset,
        0 0 0 4px rgba(255, 226, 146, 0.34),
        0 14px 28px rgba(116, 73, 19, 0.24),
        0 0 20px rgba(255, 205, 98, 0.45);
    --showcase-frame-outline: 1px solid rgba(255, 246, 214, 0.78);
    --showcase-frame-outline-offset: 2px;
}

.showcase-frame-style-arcane-rune {
    --showcase-frame-width: 2px;
    --showcase-frame-color: #c9b0ff;
    --showcase-frame-shadow:
        0 0 0 1px rgba(68, 43, 124, 0.72) inset,
        0 0 0 3px rgba(163, 131, 245, 0.28),
        0 14px 28px rgba(46, 34, 79, 0.24),
        0 0 22px rgba(177, 148, 255, 0.52);
    --showcase-frame-outline: 1px solid rgba(233, 220, 255, 0.78);
    --showcase-frame-outline-offset: 1px;
}

.showcase-frame-style-petal-dream {
    --showcase-frame-width: 2px;
    --showcase-frame-color: #ffb5d6;
    --showcase-frame-shadow:
        0 0 0 1px rgba(153, 56, 103, 0.54) inset,
        0 0 0 3px rgba(255, 182, 218, 0.3),
        0 14px 28px rgba(121, 58, 87, 0.22),
        0 0 20px rgba(255, 173, 212, 0.5);
    --showcase-frame-outline: 1px solid rgba(255, 233, 246, 0.8);
    --showcase-frame-outline-offset: 1px;
}

.showcase-frame-style-neon-prism {
    --showcase-frame-width: 2px;
    --showcase-frame-color: #8ff2ff;
    --showcase-frame-shadow:
        0 0 0 1px rgba(29, 98, 124, 0.66) inset,
        0 0 0 3px rgba(143, 242, 255, 0.28),
        0 0 0 6px rgba(255, 124, 223, 0.22),
        0 14px 28px rgba(17, 42, 62, 0.3),
        0 0 24px rgba(135, 255, 247, 0.56);
    --showcase-frame-outline: 1px solid rgba(225, 249, 255, 0.82);
    --showcase-frame-outline-offset: 1px;
}

.showcase-frame-style-blood-ember {
    --showcase-frame-width: 2px;
    --showcase-frame-color: #f17a87;
    --showcase-frame-shadow:
        0 0 0 1px rgba(91, 16, 22, 0.7) inset,
        0 0 0 3px rgba(250, 102, 121, 0.26),
        0 0 0 6px rgba(255, 161, 87, 0.2),
        0 14px 28px rgba(73, 22, 24, 0.28),
        0 0 22px rgba(255, 120, 84, 0.52);
    --showcase-frame-outline: 1px solid rgba(255, 223, 214, 0.82);
    --showcase-frame-outline-offset: 1px;
}

.home-guild-member-meta {
    position: absolute;
    z-index: 4;
    left: 0.9rem;
    bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.82rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
}

.home-guild-member-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #2f241c;
}

.home-guild-member-role {
    margin-top: 0.15rem;
    color: #68584a;
    font-size: 0.84rem;
    font-weight: 600;
}

.home-guild-member-note {
    margin: 0.6rem 0 0;
    color: #4f5f6f;
    line-height: 1.55;
    min-height: 2.8rem;
    font-size: 0.88rem;
}

.photo-highlight {
    border: 1px solid var(--relaxed-border);
    background-color: var(--relaxed-surface);
}

.photo-category-list {
    border: 1px solid var(--relaxed-border);
    background-color: var(--relaxed-surface-soft);
}

.photo-item-card {
    border: 1px solid var(--relaxed-border) !important;
    border-radius: 0.95rem;
    overflow: hidden;
}

.photo-cover {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hover-zoom img {
    transition: transform 0.35s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

.photo-action {
    border-radius: 999px;
    padding: 0.42rem 0.95rem;
    border-color: #d8b8f1;
    color: #73489a;
    font-weight: 700;
}

.photo-action:hover {
    border-color: #c596e8;
    background-color: #f8eeff;
    color: #64348f;
}

.photo-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.photo-tab-nav .nav-link {
    border-radius: 999px;
    border: 1px solid #dac1ef;
    color: #764e97;
    font-weight: 700;
    padding: 0.42rem 1rem;
    background-color: #fff8ff;
}

.photo-tab-nav .nav-link:hover {
    background-color: #f7edff;
    border-color: #cfaeea;
}

.photo-tab-nav .nav-link.active {
    background: linear-gradient(135deg, #c38bff 0%, #7cb9ff 100%);
    color: #fff;
    border-color: #ab85e8;
    box-shadow: 0 8px 20px rgba(122, 131, 234, 0.28);
}

.photo-album-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.photo-album-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border: 1px solid #e6d2f7;
    background-color: #fff;
    color: #744f94;
    border-radius: 999px;
    padding: 0.34rem 0.82rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.photo-album-chip:hover {
    border-color: #c9a7e8;
    background-color: #f8eeff;
    color: #643f85;
}

.photo-album-chip.is-active {
    border-color: #b084db;
    background: #f3e6ff;
    color: #653f87;
}

.photo-meta {
    color: #7a6754;
    font-size: 0.76rem;
}

.photo-page {
    position: relative;
}

.photo-page-dream::before,
.photo-page-dream::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.photo-page-dream::before {
    top: 8%;
    left: -120px;
    background: rgba(255, 206, 244, 0.34);
}

.photo-page-dream::after {
    right: -120px;
    bottom: 12%;
    background: rgba(181, 230, 255, 0.32);
}

.photo-page-dream .container {
    position: relative;
    z-index: 1;
}

.photo-dream-hero {
    border: 1px solid #ead4ff;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(255, 250, 255, 0.95) 0%, rgba(255, 242, 252, 0.92) 52%, rgba(240, 250, 255, 0.92) 100%);
    box-shadow: 0 16px 34px rgba(130, 91, 159, 0.14);
    padding: 1rem 1.05rem;
}

.photo-page-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    color: #53386a;
    letter-spacing: 0.01em;
}

.photo-page-subtitle {
    color: #86629e;
    font-weight: 600;
    font-size: 0.9rem;
}

.photo-section-head {
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #ead8f3;
}

.photo-muted-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #ebd7f8;
    background: #fff8ff;
    color: #74548d;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.26rem 0.58rem;
}

.photo-empty {
    border: 1px dashed #ead8ef;
    border-radius: 0.85rem;
    background: #fff9fd;
    color: #7d628f;
    padding: 1rem 0.9rem;
    font-size: 0.9rem;
}

.photo-category-card {
    background: linear-gradient(150deg, #fff9ff 0%, #fff 58%, #f6fbff 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.photo-category-card:hover {
    transform: translateY(-3px);
    border-color: #e7c6ff !important;
    box-shadow: 0 14px 28px rgba(142, 99, 182, 0.16);
}

.contest-tab-layout {
    display: flex;
    flex-direction: column;
}

.contest-tab-layout.has-selection .photo-highlight {
    order: 1;
}

.contest-tab-layout.has-selection .photo-category-list {
    order: 2;
}

.photo-tournament-card.is-active {
    border-color: #c89cf0 !important;
    box-shadow: 0 16px 30px rgba(133, 86, 179, 0.22);
}

.photo-tournament-cover-wrap {
    margin-bottom: 0.78rem;
}

.photo-tournament-cover {
    aspect-ratio: 16 / 10;
}

.photo-tournament-meta {
    margin-bottom: 0.25rem;
    color: #6c4f88;
    font-size: 0.82rem;
    font-weight: 700;
}

.photo-entry-card .card-body {
    border-top: 1px solid #eddaf9;
    background: linear-gradient(180deg, #fffefe 0%, #fbf4ff 100%);
}

.photo-entry-name {
    color: #593d74;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.photo-entry-caption {
    margin-top: 0.25rem;
    color: #735f86;
    font-size: 0.78rem;
    line-height: 1.5;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.photo-highlight {
    background: linear-gradient(145deg, rgba(255, 252, 255, 0.95) 0%, rgba(251, 247, 255, 0.94) 56%, rgba(247, 252, 255, 0.94) 100%);
}

.photo-category-list {
    background: linear-gradient(145deg, rgba(255, 253, 255, 0.95) 0%, rgba(252, 250, 255, 0.94) 100%);
}

.site-footer {
    margin-top: 2rem;
    background-color: #302317;
    color: #f8e8d7;
}

.front-mobile-nav-backdrop {
    display: none;
}

.site-footer .small {
    color: #f8e8d7;
}

/* Global dream baseline for all front pages */
body.site-app {
    position: relative;
    isolation: isolate;
}

body.site-app:not([class*="site-day-"]) {
    background:
        radial-gradient(1200px 680px at -12% -14%, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0) 58%),
        radial-gradient(980px 620px at 110% 2%, rgba(183, 223, 255, 0.5) 0%, rgba(183, 223, 255, 0) 62%),
        radial-gradient(900px 620px at 52% 108%, rgba(250, 214, 255, 0.42) 0%, rgba(250, 214, 255, 0) 65%),
        linear-gradient(155deg, #f8f5ff 0%, #eef6ff 48%, #effcf6 100%);
    background-attachment: scroll;
}

body.site-app::before,
body.site-app::after {
    content: "";
    position: fixed;
    inset: -18%;
    pointer-events: none;
    z-index: 0;
}

body.site-app::before {
    background:
        radial-gradient(42% 36% at 16% 24%, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0) 75%),
        radial-gradient(40% 35% at 84% 18%, rgba(201, 236, 255, 0.46) 0%, rgba(201, 236, 255, 0) 74%),
        radial-gradient(36% 34% at 50% 86%, rgba(245, 214, 255, 0.36) 0%, rgba(245, 214, 255, 0) 73%);
    opacity: 0.48;
}

body.site-app::after {
    background:
        radial-gradient(3px 3px at 11% 20%, rgba(255, 255, 255, 0.84) 0, rgba(255, 255, 255, 0) 68%),
        radial-gradient(2px 2px at 28% 72%, rgba(210, 236, 255, 0.72) 0, rgba(210, 236, 255, 0) 70%),
        radial-gradient(2.6px 2.6px at 62% 32%, rgba(255, 224, 255, 0.8) 0, rgba(255, 224, 255, 0) 70%),
        radial-gradient(2px 2px at 82% 64%, rgba(236, 252, 255, 0.76) 0, rgba(236, 252, 255, 0) 70%);
    opacity: 0.32;
}

@keyframes dreamyAuroraFlow {
    0% {
        transform: translate3d(-2.5%, -1.2%, 0) scale(1.02) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translate3d(2.2%, 1.5%, 0) scale(1.08) rotate(1.2deg);
        opacity: 0.75;
    }

    100% {
        transform: translate3d(-1.4%, 2.4%, 0) scale(1.04) rotate(-1deg);
        opacity: 0.64;
    }
}

@keyframes dreamySparkDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate3d(1.8%, -2.4%, 0) scale(1.06);
        opacity: 0.58;
    }

    100% {
        transform: translate3d(-1.5%, -5.2%, 0) scale(1.02);
        opacity: 0.38;
    }
}

body.site-app .hero-panel,
body.site-app .quote-card,
body.site-app .rule-card,
body.site-app .photo-highlight,
body.site-app .photo-category-list,
body.site-app .guild-calendar-card,
body.site-app .guild-feature-card,
body.site-app .ig-feed-card,
body.site-app .home-announcement-card,
body.site-app .mainland-news-card,
body.site-app .official-news-card,
body.site-app .relaxed-video-card,
body.site-app .modal-content,
body.site-app[class*="site-day-"] .hero-panel,
body.site-app[class*="site-day-"] .quote-card,
body.site-app[class*="site-day-"] .rule-card,
body.site-app[class*="site-day-"] .modal-content {
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 14px 28px rgba(90, 110, 156, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.52) inset;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.site-app .hero-panel,
body.site-app .quote-card,
body.site-app .rule-card,
body.site-app .photo-item-card,
body.site-app .photo-highlight,
body.site-app .photo-category-list {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    body.site-app .hero-panel:hover,
    body.site-app .quote-card:hover,
    body.site-app .rule-card:hover,
    body.site-app .photo-item-card:hover {
        transform: translateY(-1px);
        box-shadow:
            0 16px 30px rgba(96, 123, 173, 0.16),
            0 2px 0 rgba(255, 255, 255, 0.6) inset;
    }
}

body.site-app .fx-reveal.in-view {
    animation: none;
}

/* Improve long-page scroll on desktop by skipping offscreen rendering. */
.home-front-section,
.rule-section,
.photo-page,
.contest-tab-layout,
.mbti-compat-shell {
    content-visibility: auto;
    contain-intrinsic-size: 1px 920px;
}

@keyframes dreamyRevealPop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.985);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767.98px) {
    body.site-app::before {
        opacity: 0.5;
    }

    body.site-app::after {
        opacity: 0.36;
    }

    body.site-app .hero-panel:hover,
    body.site-app .quote-card:hover,
    body.site-app .rule-card:hover,
    body.site-app .photo-item-card:hover {
        transform: none;
    }
}

.swal2-bg-popup {
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    font-family: "Noto Sans TC", "M PLUS Rounded 1c", "Microsoft JhengHei", sans-serif;
    padding: 1.5em 1em;
}

.swal2-bg-title {
    font-size: 1.45rem;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.swal2-confirm {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
}

body.site-app.is-performance-mode #frontStarfield {
    display: none !important;
}

body.site-app.is-performance-mode::before,
body.site-app.is-performance-mode::after {
    animation: none !important;
    transform: none !important;
}

body.site-app.is-performance-mode .hero-panel,
body.site-app.is-performance-mode .quote-card,
body.site-app.is-performance-mode .rule-card,
body.site-app.is-performance-mode .photo-highlight,
body.site-app.is-performance-mode .photo-category-list,
body.site-app.is-performance-mode .guild-calendar-card,
body.site-app.is-performance-mode .guild-feature-card,
body.site-app.is-performance-mode .ig-feed-card,
body.site-app.is-performance-mode .home-announcement-card,
body.site-app.is-performance-mode .mainland-news-card,
body.site-app.is-performance-mode .official-news-card,
body.site-app.is-performance-mode .relaxed-video-card,
body.site-app.is-performance-mode .member-showcase-popover,
body.site-app.is-performance-mode .modal-content {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.site-app.is-performance-mode .fx-reveal,
body.site-app.is-performance-mode .card,
body.site-app.is-performance-mode .hero-panel,
body.site-app.is-performance-mode .quote-card,
body.site-app.is-performance-mode .rule-card,
body.site-app.is-performance-mode .photo-item-card,
body.site-app.is-performance-mode .photo-highlight,
body.site-app.is-performance-mode .photo-category-list {
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #frontStarfield {
        display: none;
    }

    .fx-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 991.98px) {
    body.site-app.mobile-nav-open {
        overflow: hidden;
    }

    body.site-app.mobile-nav-open .front-mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(17, 24, 39, 0.24);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

    body.site-app,
    body.site-app[class*="site-day-"] {
        background-attachment: scroll;
    }

    body.site-app::before,
    body.site-app::after {
        animation: none !important;
        transform: none !important;
    }

    #frontStarfield {
        display: none !important;
    }

    body.site-app .hero-panel,
    body.site-app .quote-card,
    body.site-app .rule-card,
    body.site-app .photo-highlight,
    body.site-app .photo-category-list,
    body.site-app .guild-calendar-card,
    body.site-app .guild-feature-card,
    body.site-app .ig-feed-card,
    body.site-app .home-announcement-card,
    body.site-app .mainland-news-card,
    body.site-app .official-news-card,
    body.site-app .relaxed-video-card,
    body.site-app .card,
    body.site-app .modal-content {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.site-app .card,
    body.site-app .hero-panel,
    body.site-app .quote-card,
    body.site-app .rule-card,
    body.site-app .photo-item-card,
    body.site-app .photo-highlight,
    body.site-app .photo-category-list,
    body.site-app .fx-reveal {
        transition: none !important;
    }

    body.site-app .fx-reveal.in-view {
        animation: none !important;
    }

    .relaxed-navbar .navbar-collapse {
        margin-top: 0.8rem;
        padding: 0.85rem;
        border-radius: 1rem;
        border: 1px solid var(--relaxed-border);
        background-color: rgba(255, 250, 244, 0.98);
        max-height: calc(100vh - var(--discord-inapp-banner-height, 0px) - 86px);
        max-height: calc(100dvh - var(--discord-inapp-banner-height, 0px) - 86px);
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .relaxed-navbar .navbar-nav .dropdown-menu {
        max-height: none;
        overflow: visible;
    }

    .relaxed-navbar .container {
        position: relative;
    }

    .relaxed-navbar .navbar-collapse.show,
    .relaxed-navbar .navbar-collapse.collapsing {
        position: absolute;
        left: 0.75rem;
        right: 0.75rem;
        top: calc(100% + 0.5rem);
        bottom: auto;
        margin-top: 0;
        max-height: calc(100dvh - 140px);
        z-index: 1200;
        box-shadow: 0 14px 26px rgba(18, 28, 56, 0.22);
        touch-action: pan-y;
        pointer-events: auto;
        overflow-y: auto !important;
    }

    .relaxed-navbar .navbar-collapse.collapsing {
        height: auto !important;
        transition: none;
    }

    .navbar-auth-group {
        margin-top: 0.35rem;
    }

    .navbar-auth-group .nav-item {
        width: 100%;
    }

    .navbar-auth-group .btn {
        width: 100%;
        justify-content: center;
    }

    .front-app-download-float {
        left: 14px;
        right: auto;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        width: auto;
    }

    .front-app-download-toggle {
        min-width: 66px;
        min-height: 44px;
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .front-app-download-panel {
        width: min(360px, calc(100vw - 28px));
        max-height: min(72vh, 520px);
        overflow-y: auto;
        padding: 12px;
        border-radius: 18px;
    }

    .front-app-download-icon {
        width: 38px;
        height: 38px;
        border-radius: 14px;
        font-size: 1.2rem;
    }

    .front-app-download-actions {
        grid-template-columns: 1fr;
    }

    .front-app-download-link {
        min-height: 38px;
    }

    .front-app-download-note {
        font-size: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .member-showcase-popover {
        width: min(360px, calc(100vw - 14px));
    }

    .member-showcase-mini-stage {
        min-height: 128px;
    }

    .member-showcase-mini-art {
        --showcase-art-base-size: 0.9rem;
    }

    .modal-dialog {
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }

    .modal-dialog.modal-lg,
    .modal-dialog.modal-xl {
        max-width: calc(100vw - 1rem);
    }

    .modal-content {
        border-radius: 0.9rem;
    }

    .brand-logo {
        height: 46px;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-support-note {
        margin-top: 0.45rem;
        font-size: 0.84rem;
    }

    .holiday-vibe-section {
        padding-bottom: 1rem;
    }

    .holiday-vibe-card {
        border-radius: 1rem;
        padding: 0.9rem 0.95rem;
    }

    .holiday-vibe-card.has-media {
        grid-template-columns: 1fr;
    }

    .holiday-vibe-media {
        max-width: 180px;
    }

    .holiday-vibe-special {
        top: 0.64rem;
        right: 0.68rem;
        font-size: 0.66rem;
        padding: 0.22rem 0.5rem;
    }

    .holiday-vibe-kicker {
        font-size: 0.72rem;
    }

    .holiday-vibe-title {
        font-size: 1.08rem;
        margin-top: 0.62rem;
    }

    .holiday-vibe-text {
        font-size: 0.88rem;
        line-height: 1.62;
    }

    .video-category-bar {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.2rem;
    }

    .video-category-bar::-webkit-scrollbar {
        height: 6px;
    }

    .video-category-bar::-webkit-scrollbar-thumb {
        background-color: #e6c5a2;
        border-radius: 999px;
    }

    .mainland-news-section .mainland-news-title a {
        -webkit-line-clamp: 3;
    }

    .home-announcement-excerpt {
        min-height: 0;
    }

    .home-announcement-pagination .page-link {
        padding: 0.36rem 0.62rem;
        font-size: 0.82rem;
        min-width: 2rem;
    }

    .home-front-section .section-head {
        gap: 0.6rem !important;
        align-items: flex-start !important;
    }

    .section-head-action {
        box-shadow: none;
    }

    .ig-feed-wrap {
        gap: 0.3rem;
    }

    .ig-feed-nav {
        width: 1.84rem;
        min-width: 1.84rem;
    }

    .ig-feed-track {
        grid-auto-columns: minmax(144px, 60vw);
        gap: 0.55rem;
    }

    .ig-feed-shell {
        padding: 0.55rem 0.5rem 0.46rem;
    }

    .ig-feed-shell-kicker {
        font-size: 0.72rem;
    }

    .mainland-news-section .relaxed-pagination .page-link,
    #home-official-news .relaxed-pagination .page-link,
    .js-official-pagination .page-link {
        padding: 0.36rem 0.62rem;
        font-size: 0.82rem;
        min-width: 2rem;
    }

    .guild-calendar-card {
        padding: 0.55rem;
    }

    .guild-sponsor-rank-card {
        padding: 0.65rem;
    }

    .guild-sponsor-rank-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.45rem;
        padding: 0.4rem 0.45rem;
    }

    .guild-sponsor-rank-no {
        grid-column: 1;
        grid-row: 1;
    }

    .guild-sponsor-rank-main {
        grid-column: 2;
        grid-row: 1;
    }

    .guild-sponsor-rank-showcase {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .guild-sponsor-rank-showcase .member-showcase-mini-stage {
        min-height: 108px;
    }

    .guild-sponsor-rank-total {
        grid-column: 2;
        grid-row: 3;
        display: flex;
        justify-content: flex-start;
        align-items: baseline;
        gap: 0.36rem;
        min-width: 0;
        margin-top: 0;
    }

    .guild-sponsor-rank-total-label {
        font-size: 0.66rem;
    }

    .guild-sponsor-rank-total-value {
        font-size: 0.92rem;
    }

    .guild-day-cell {
        min-width: 96px;
        min-height: 104px;
        height: auto;
        padding: 0.35rem !important;
    }

    .guild-day-title {
        font-size: 0.72rem;
    }

    .guild-day-today-pill {
        font-size: 0.58rem;
        padding: 0.06rem 0.36rem;
    }

    #guildEventModal .modal-content {
        border-radius: 14px;
    }

    #guildEventModal .modal-header,
    .guild-event-modal-body {
        padding-left: 0.82rem;
        padding-right: 0.82rem;
    }

    .guild-event-modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .home-guild-member-stage {
        min-height: 204px;
    }

    .home-guild-member-character {
        width: min(90%, 284px);
        transform: translateX(-6%);
    }

    .home-guild-member-art {
        --showcase-art-base-size: 0.98rem;
    }

    .photo-entry-caption {
        -webkit-line-clamp: 3;
    }
}
/* Global quiet-luxury system: shared front-end surfaces without changing page structure. */
:root {
    --relaxed-bg: #071326;
    --relaxed-surface: rgba(14, 29, 51, 0.82);
    --relaxed-surface-soft: rgba(19, 38, 62, 0.72);
    --relaxed-text: #edf1f7;
    --relaxed-muted: #aebacc;
    --relaxed-primary: #d8b66d;
    --relaxed-primary-dark: #b9934e;
    --relaxed-accent: #9fb8cf;
    --relaxed-border: rgba(231, 214, 171, 0.16);
    --relaxed-shadow: 0 18px 46px rgba(0, 5, 17, 0.22);
}

body.site-app {
    color: var(--relaxed-text);
    background:
        radial-gradient(900px 520px at 8% -8%, rgba(65, 88, 127, 0.28), transparent 68%),
        radial-gradient(760px 460px at 100% 12%, rgba(129, 103, 67, 0.16), transparent 70%),
        linear-gradient(145deg, #08162b 0%, #0b1c34 48%, #071326 100%);
}

body.site-app .relaxed-navbar {
    background: rgba(7, 18, 35, 0.84);
    border-bottom-color: rgba(235, 220, 181, 0.13);
    box-shadow: 0 10px 30px rgba(0, 5, 17, 0.16);
    backdrop-filter: blur(18px);
}

body.site-app .brand-title,
body.site-app .section-title,
body.site-app .rule-title,
body.site-app .rule-title-link,
body.site-app .page-lead,
body.site-app .quote-text {
    color: var(--relaxed-text);
}

body.site-app .relaxed-navbar .nav-link {
    color: rgba(235, 240, 248, 0.82);
}

body.site-app .relaxed-navbar .nav-link:hover,
body.site-app .relaxed-navbar .nav-link:focus {
    color: #fff6df;
    background: rgba(214, 181, 108, 0.12);
}

body.site-app .section-kicker {
    color: #d6b66f;
    letter-spacing: 0.12em;
}

body.site-app .section-subtitle,
body.site-app .rule-text,
body.site-app .page-lead,
body.site-app .text-muted {
    color: var(--relaxed-muted) !important;
}

body.site-app .home-front-section .section-head {
    border-bottom-color: rgba(231, 214, 171, 0.14);
}

body.site-app .rule-card,
body.site-app .video-category-wrapper,
body.site-app .quote-card,
body.site-app .card,
body.site-app .home-filter-bar {
    border-color: rgba(231, 214, 171, 0.14);
    background: linear-gradient(145deg, rgba(20, 39, 64, 0.84), rgba(9, 22, 41, 0.82));
    box-shadow: 0 16px 38px rgba(0, 5, 17, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body.site-app .rule-card:hover,
body.site-app .official-news-card:hover,
body.site-app .mainland-news-card:hover,
body.site-app .home-announcement-card:hover,
body.site-app .guild-feature-card:hover {
    border-color: rgba(220, 190, 124, 0.3);
    box-shadow: 0 20px 44px rgba(0, 5, 17, 0.26), inset 0 1px 0 rgba(255, 249, 232, 0.065);
}

body.site-app .relaxed-badge {
    color: #fff8e9;
    background: linear-gradient(135deg, #806b4c, #4f6175);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.site-app .btn-relaxed-primary,
body.site-app .btn-relaxed-discord,
body.site-app .btn-relaxed-support {
    color: #fff9eb;
    border-color: rgba(255, 238, 194, 0.24);
    background: linear-gradient(135deg, #c69d55, #8b6a37);
    box-shadow: 0 10px 22px rgba(77, 53, 18, 0.22), inset 0 1px 0 rgba(255, 248, 222, 0.22);
}

body.site-app .btn-relaxed-ghost,
body.site-app .btn-relaxed-line,
body.site-app .quote-sign {
    color: #e9edf3;
    border-color: rgba(231, 214, 171, 0.2);
    background: rgba(19, 38, 62, 0.72);
}

body.site-app .btn-relaxed-ghost:hover,
body.site-app .btn-relaxed-line:hover,
body.site-app .quote-sign:hover {
    color: #fff7e1;
    background: rgba(214, 181, 108, 0.12);
    border-color: rgba(220, 190, 124, 0.36);
}

body.site-app .form-control,
body.site-app .form-select,
body.site-app textarea,
body.site-app select {
    color: #edf1f7;
    border-color: rgba(231, 214, 171, 0.18);
    background-color: rgba(8, 21, 39, 0.72);
}

body.site-app .form-control::placeholder {
    color: #8e9db2;
}

body.site-app .form-control:focus,
body.site-app .form-select:focus,
body.site-app textarea:focus,
body.site-app select:focus {
    color: #fff;
    border-color: rgba(220, 190, 124, 0.55);
    background-color: rgba(9, 23, 42, 0.94);
    box-shadow: 0 0 0 0.2rem rgba(202, 167, 91, 0.12);
}

body.site-app .table {
    --bs-table-color: #e8edf4;
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(231, 214, 171, 0.13);
    --bs-table-striped-color: #eef2f8;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.035);
    --bs-table-hover-color: #fff8e7;
    --bs-table-hover-bg: rgba(214, 181, 108, 0.08);
}

body.site-app .page-link {
    color: #dee7f1;
    border-color: rgba(231, 214, 171, 0.17);
    background: rgba(12, 28, 49, 0.76);
}

body.site-app .page-link:hover,
body.site-app .page-link.active,
body.site-app .active > .page-link {
    color: #fff8e7;
    border-color: rgba(220, 190, 124, 0.42);
    background: rgba(171, 134, 68, 0.66);
}

body.site-app .site-footer {
    color: rgba(220, 229, 240, 0.72);
    border-top-color: rgba(231, 214, 171, 0.12);
    background: rgba(5, 14, 29, 0.56);
}
/* AI-created site texture: held behind front-end content for depth without visual noise. */
body.site-app:not(.home-premium-page) {
    background:
        linear-gradient(145deg, rgba(5, 15, 29, 0.76), rgba(7, 20, 39, 0.83)),
        url("/images/site-textures/quiet-luxury-site-backdrop-v1.png") center / cover fixed;
}
