.header .topMain > .box_center .logo {
    display: inline-flex;
    width: auto;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    color: #245742;
    text-decoration: none;
}

.header .topMain .brand-mark {
    display: block;
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.header .topMain .brand-name {
    color: inherit;
    font: 700 20px/1 Georgia, Charter, "Times New Roman", serif;
    letter-spacing: -.02em;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .header .topMain .brand-mark { width: 28px; height: 28px; }
    .header .topMain .brand-name { font-size: 17px; }
}
.topMain #headerUserInfo { display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.topMain #headerUserInfo .locale-switch { display:block; margin:0; padding:0; }
.topMain #headerUserInfo .locale-switch select { min-width:132px; min-height:34px; padding:4px 30px 4px 10px; border:1px solid #d8d9e6; border-radius:7px; background:#fff; color:#302d4b; font:inherit; cursor:pointer; }
.topMain #headerUserInfo .locale-switch select:focus-visible { outline:3px solid #b9783d; outline-offset:2px; }

/* Shared site chrome: keep the legacy header in the same forest-green-and-copper palette. */
.header .topMain .searchBar .s_int {
    border-color: #d8d6c9;
    border-right: 0;
    background: #fffdf8;
}
.header .topMain .searchBar .search_btn {
    border: 1px solid #b9783d;
    background-color: #b9783d;
}
.header .topMain .searchBar .search_btn:hover { background-color: #a96832; }
.header .topMain .bookShelf .sj_link {
    padding-left: 0;
    background-image: none;
    color: #245742;
}
.header .topMain .bookShelf .user_link,
.header .topMain .bookShelf .user_link a { color: #245742; }
.header .mainNav { background: #245742; }
.header .mainNav .nav li a { border-bottom-color: #245742; }
.header .mainNav .nav li.on a,
.header .mainNav .nav li a:hover { border-bottom-color: #b9783d; }

/* Shared responsive site shell: the legacy fixed-height header overlapped the
   catalog controls. Keep header rows in normal flow and reserve room for them. */
.header .topMain {
    height: auto;
    min-height: 116px;
    padding: 16px 0;
    overflow: visible;
    box-sizing: border-box;
}
.header .topMain > .box_center {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    width: min(1200px, calc(100% - 48px));
    min-width: 0;
    min-height: 84px;
    margin: 0 auto;
    box-sizing: border-box;
}
.header .topMain .logo { float: none; flex: 0 0 auto; }
.header .topMain .searchBar {
    float: none;
    flex: 1 1 320px;
    width: auto;
    min-width: 180px;
    max-width: 430px;
    margin: 0;
}
.header .topMain .bookShelf {
    float: none;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: auto;
    margin: 0 0 0 auto;
    overflow: visible;
    white-space: nowrap;
}
.header .mainNav {
    position: relative;
    z-index: 5;
    height: auto;
    min-height: 50px;
    overflow: visible;
}
.header .mainNav > .box_center { min-width: 0; }
.header .mainNav .nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 44px);
    min-height: 50px;
    height: auto;
    margin: 0;
    overflow: visible;
}
.header .mainNav .nav li,
.header .mainNav .nav li a {
    height: auto;
    line-height: 1.35;
}
.header .mainNav .nav li a { padding: 14px 0; }

@media (max-width: 760px) {
    .header .topMain { min-height: 0; padding: 14px 0; }
    .header .topMain > .box_center {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand user" "search search";
        gap: 12px 16px;
        width: calc(100% - 32px);
        min-height: 0;
    }
    .header .topMain .logo { grid-area: brand; min-width: 0; }
    .header .topMain .searchBar {
        grid-area: search;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .header .topMain .bookShelf {
        grid-area: user;
        align-items: flex-end;
        gap: 4px;
        max-width: 48vw;
        white-space: normal;
        text-align: right;
    }
    .header .topMain #headerUserInfo { gap: 4px; }
    .header .topMain #headerUserInfo .locale-switch select {
        min-width: 108px;
        min-height: 36px;
        max-width: 46vw;
    }
    .header .mainNav > .box_center { width: 100%; }
    .header .mainNav .nav {
        gap: 22px;
        min-height: 48px;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        white-space: nowrap;
    }
    .header .mainNav .nav li { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .header *, .header *::before, .header *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}



/* NovelFerry catalogue: clear hierarchy, spacious filters, responsive reading list. */
.experience-catalog { background:#f4f2ed; color:#25372f; }
.experience-catalog .channelWrap { box-sizing:border-box; width:min(1200px,calc(100% - 40px)); margin:24px auto; padding:clamp(18px,3vw,30px); border:1px solid #e4dfd3; border-radius:12px; background:#fffefa; box-shadow:0 10px 30px rgba(28,49,39,.06); }
.experience-catalog .so_tag { padding:0 0 20px; border-bottom:1px solid #e9e3d8; }
.experience-catalog .so_tag li { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 6px; padding:10px 0; }
.experience-catalog .so_tag li .tit { flex:0 0 92px; color:#778178; font-size:13px; }
.experience-catalog .so_tag li .tit,.experience-catalog .so_tag li a { margin-right:0; padding:7px 10px; line-height:1.35; }
.experience-catalog .so_tag li a { border-radius:999px; color:#354a3e; text-decoration:none; }
.experience-catalog .so_tag li a.on,.experience-catalog .so_tag li a:hover { background:#e7efe8; color:#1e5a42; }
.experience-catalog .channelClassContent { overflow:hidden; border:1px solid #e7e4dc; border-radius:10px; background:#fff; }
.experience-catalog .rankTable { width:100%; overflow-x:auto; }
.experience-catalog .rankTable table { width:100%; border-collapse:collapse; }
.experience-catalog .rankTable thead { background:#f6f5f1; }
.experience-catalog .rankTable th { padding:14px 12px; color:#69776e; font-size:12px; font-weight:650; letter-spacing:.04em; text-align:left; }
.experience-catalog .rankTable td { padding:15px 12px; border-top:1px solid #eeece6; color:#637068; vertical-align:middle; }
.experience-catalog .rankTable td.name a { color:#234d39; font:600 16px/1.45 Georgia,Charter,"Times New Roman",serif; text-decoration:none; }
.experience-catalog .rankTable td.name a:hover,.experience-catalog .rankTable td.chapter a:hover { color:#ad6d38; }
.experience-catalog .rankTable td.chapter a { color:#64776a; text-decoration:none; }
.experience-catalog .rankTable #noResults td { padding:32px 18px; color:#738077; line-height:1.8; text-align:center; }
@media(max-width:700px) { .experience-catalog .channelWrap { width:calc(100% - 24px); margin:14px auto; padding:14px; border-radius:10px; } .experience-catalog .so_tag li { gap:6px 4px; padding:8px 0; } .experience-catalog .so_tag li .tit { flex-basis:100%; padding:4px 2px; } .experience-catalog .so_tag li a { min-height:36px; display:inline-flex; align-items:center; } .experience-catalog .rankTable thead { display:none; } .experience-catalog .rankTable #bookList tr { display:block; padding:10px 12px; border-top:1px solid #eeece6; } .experience-catalog .rankTable #bookList td { display:block; width:auto; padding:4px 0; border:0; text-align:left; } .experience-catalog .rankTable #bookList td.rank,.experience-catalog .rankTable #bookList td.style,.experience-catalog .rankTable #bookList td.author,.experience-catalog .rankTable #bookList td.word { display:none; } .experience-catalog .rankTable td.name a { font-size:17px; } .experience-catalog .rankTable td.chapter a { font-size:13px; } }
