/*
 * MIKU PUBLIC UI 2.3 | Unified dark frontend for customer-facing pages only.
 * Legacy application styles still power the existing reader and comment widgets.
 * This file is deliberately loaded only by resources/views/users/main.blade.php.
 * Variables below are the sole owner of the new public visual design.
 */
:root {
  color-scheme: dark;
  /* Primary brand hues sampled from the existing Miku Doujin logo. */
  --ui-brand-pink: #ff1881;
  --ui-brand-navy: #002c5b;
  --ui-bg: #0a1220;
  --ui-surface: #101d30;
  --ui-raised: #192940;
  --ui-hover: #243b56;
  --ui-input: #0d1a2a;
  --ui-border: #30425c;
  --ui-strong: #f5f8ff;
  --ui-text: #dce7f7;
  --ui-muted: #adbed7;
  --ui-accent: var(--ui-brand-pink);
  --ui-accent-hover: #ff77b6;
  --ui-accent-ink: #081526;
  --ui-info: #96c4f5;
  --ui-success: #74d7ad;
  --ui-danger: #ff879b;
  --ui-radius: 6px;
  --ui-control-radius: 5px;
  --ui-small-radius: 3px;
  --ui-width: 1200px;
  --ui-shadow: 0 12px 34px rgb(0 0 0 / 18%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ui-bg); color: var(--ui-text); font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 15px; line-height: 1.6; min-width: 0; }
body, input, button, select, textarea { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
body a, body a:link, body a:visited { color: var(--ui-text); text-decoration: none; }
body a:hover { color: var(--ui-accent-hover); }
body :focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
body button, body a, body input, body select { -webkit-tap-highlight-color: transparent; }
body button { cursor: pointer; }
body input, body select, body textarea { color: var(--ui-strong); }
body input::placeholder, body textarea::placeholder { color: var(--ui-muted); opacity: 1; }
body .clear { clear: both; }
body .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body .div_middle { width: min(calc(100% - 40px), var(--ui-width)); max-width: var(--ui-width); height: auto; margin-inline: auto; padding: 0; }
body .content { background: var(--ui-bg); min-height: 45vh; padding: 24px 0 56px; }
body .content > .div_middle { min-width: 0; }
body .content .main_content { min-width: 0; width: 100%; float: none; padding: 0; }
body .content .main_content > .clear, body .list_grid_out + .clear { display: none; }
body .box { background: var(--ui-surface); color: var(--ui-text); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); box-shadow: none; }
body .text-center, body .has-text-centered { text-align: center; }

/* Masthead. A real search field stays visible on mobile; no hidden second search UI. */
body .site-header { position: relative; z-index: 100; border-bottom: 1px solid var(--ui-border); }
body .site-header .top { height: auto; min-height: 76px; padding: 0; background: var(--ui-surface); }
body .site-header .site-header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
body .site-header .site-brand { float: none; flex: 0 0 auto; line-height: 1; letter-spacing: 0; }
body .site-header .site-brand a { display: flex; align-items: center; min-height: 44px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body .site-header .site-brand img { display: block; float: none; margin: 0; width: min(205px, 100%); max-height: 37px; height: auto; object-fit: contain; object-position: left center; }
body header.site-header .top .top_search.site-search { display: block; position: relative; flex: 1 1 480px; max-width: 500px; min-width: 190px; margin: 0; float: none; height: 44px; }
body header.site-header .top .top_search.site-search input { background: var(--ui-input); border: 1px solid var(--ui-border); color: var(--ui-strong); border-radius: var(--ui-control-radius); height: 44px; padding: 0 52px 0 16px; font-size: 14px; }
body header.site-header .top .top_search.site-search input:focus { outline: none; border-color: var(--ui-accent); box-shadow: 0 0 0 3px rgb(255 24 129 / 14%); }
body header.site-header .top .top_search.site-search .site-search-submit { border: 0; color: var(--ui-muted); background: transparent; position: absolute; top: 0; right: 0; transform: none; width: 45px; height: 44px; font-size: 17px; display: grid; place-items: center; }
body header.site-header .top .top_search.site-search .site-search-submit:hover { color: var(--ui-accent); }
body .site-header .site-search .search_result { width: 100%; max-height: min(420px, 65vh); overflow-y: auto; top: calc(100% + 6px); left: 0; background: var(--ui-raised); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); margin: 0; z-index: 200; }
body .site-header .site-search .search_result.open { display: block; }
body .site-header .site-search .search_result ul li { border-color: var(--ui-border); }
body .site-header .site-search .search_result ul li:hover, body .site-header .site-search .search_result ul li:focus-within { background: var(--ui-hover); }
body .site-header .site-search .search_result .search_info .name { color: var(--ui-strong); }
body .site-header .site-search .search_result .search_info .name_other { color: var(--ui-muted); }
body .site-header .site-account { float: none; margin-left: auto; flex: 0 0 auto; }
body .site-header .site-account > ul { display: flex; align-items: center; gap: 8px; }
body .site-header .site-account > ul > li { margin: 0; float: none; }
body .site-header .site-account ul li button.account-register,
body .site-header .site-account ul li button.account-login { width: auto; min-width: 92px; height: 42px; border-radius: var(--ui-control-radius); margin: 0; line-height: 1.25; padding: 0 14px; font-size: 14px; box-shadow: none; }
body header.site-header .top .right.site-account ul li button.account-register { background: transparent; border: 1px solid var(--ui-border); color: var(--ui-text); }
body header.site-header .top .right.site-account ul li button.account-login { background: var(--ui-accent); border: 1px solid var(--ui-accent); color: var(--ui-accent-ink); }
body .site-header .site-account ul li button:hover { filter: brightness(1.06); }
body .site-header .site-account .profile-trigger { display: flex; align-items: center; background: transparent; border: 1px solid var(--ui-border); border-radius: 50%; padding: 1px; }
body .site-header .site-account .profile-trigger img { float: none; height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
body .site-header .site-account li .hidden_div { z-index: 210; top: 51px; }
body .site-header .site-account li .hidden_div ul { background: var(--ui-raised); border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow); border-radius: var(--ui-radius); }
body .site-header .site-account li .hidden_div ul li { padding: 2px 4px; }
body .site-header .site-account li .hidden_div ul li a { display: block; padding: 6px 8px; border-radius: var(--ui-small-radius); }
body .site-header .site-account li .hidden_div ul li a:hover { background: var(--ui-hover); }
/* Prevent old style-v4.css from restoring a white member menu with pale text. */
body header.site-header .top .right.site-account > ul > li.profile #member_control {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: min(260px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  z-index: 250;
  color: var(--ui-text);
}
body header.site-header .top .right.site-account > ul > li.profile #member_control > ul {
  display: grid;
  gap: 3px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px;
  background: var(--ui-raised);
  background-color: var(--ui-raised);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius);
  box-shadow: 0 14px 36px rgb(0 0 0 / 28%);
}
body header.site-header .top .right.site-account > ul > li.profile #member_control > ul > li {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  float: none;
  background: transparent;
}
body header.site-header .top .right.site-account > ul > li.profile #member_control > ul > li > a,
body header.site-header .top .right.site-account > ul > li.profile #member_control > ul > li > a:visited {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--ui-control-radius);
  background: transparent;
  color: var(--ui-strong);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  opacity: 1;
  text-decoration: none;
}
body header.site-header .top .right.site-account > ul > li.profile #member_control > ul > li > a:hover,
body header.site-header .top .right.site-account > ul > li.profile #member_control > ul > li > a:focus-visible {
  color: var(--ui-accent-hover);
  background: var(--ui-hover);
}

body .site-header .top button.dark_mode { float: none; flex: 0 0 auto; width: 42px; height: 42px; margin: 0; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); color: var(--ui-muted); background: var(--ui-raised); display: grid; place-items: center; font-size: 17px; }
body .site-header .top button.dark_mode.active { background: var(--ui-raised); color: var(--ui-accent); }
body .site-header .bottom { position: relative; height: auto; min-height: 48px; background: var(--ui-surface); border-top: 1px solid var(--ui-border); }
body .site-header .site-nav-shell { position: relative; }
body .site-header nav { min-width: 0; }
body .site-header .site-nav-list { display: flex; align-items: center; gap: 2px; float: none; width: 100%; }
body .site-header .bottom .site-nav-list > li { width: auto; flex: 0 0 auto; display: block; float: none; line-height: normal; position: relative; font-size: 14px; color: var(--ui-text); }
body .site-header .bottom .site-nav-list > li .tags_name { display: inline-flex; align-items: center; gap: 8px; padding: 13px 15px; height: 48px; font: inherit; line-height: 1.3; color: var(--ui-text); background: none; border: 0; border-radius: var(--ui-small-radius); }
body .site-header .bottom .site-nav-list > li .tags_name:hover,
body .site-header .bottom .site-nav-list > li .tags_name.open,
body .site-header .bottom .site-nav-list > li .tags_name:focus-visible { background: var(--ui-raised); color: var(--ui-accent); }
body .site-header .bottom .site-nav-list > li > .hidden_menu { display: none; position: absolute; top: 100%; left: 0; width: max-content; min-width: 0; max-width: min(720px, calc(100vw - 40px)); background: var(--ui-raised); border: 1px solid var(--ui-border); border-radius: 0 0 var(--ui-radius) var(--ui-radius); padding: 12px; box-shadow: var(--ui-shadow); z-index: 200; }
body .site-header .bottom .site-nav-list > li .hidden_menu .div_middle { width: 100%; }
body .site-header .bottom .site-nav-list > li .hidden_menu .book_tags_content { margin: 0; max-height: 55vh; overflow-y: auto; display: grid; grid-template-columns: repeat(var(--nav-cols, 3), minmax(144px, 1fr)); gap: 2px 8px; }
body .site-header .bottom .site-nav-list > li .hidden_menu .book_tags_content p { float: none; width: auto; line-height: 1.4; }
body .site-header .bottom .site-nav-list > li .hidden_menu .book_tags_content a { color: var(--ui-text); display: block; padding: 9px 10px; border-radius: var(--ui-small-radius); font-size: 14px; }
body .site-header .bottom .site-nav-list > li .hidden_menu .book_tags_content a:hover { background: var(--ui-hover); color: var(--ui-accent); }
/* Open only on activation. Legacy hover rules would otherwise expose empty menus. */
body .site-header .bottom .site-nav-list > li > .hidden_menu.expanded { display: block; }
body .site-header .nav_menu.mobile_display { display: none; }
body .site-header .bottom .site-nav-list > li.mobile-register-item { display: none; }

/* Type and section hierarchy. */
body .content h1, body .content h2, body .content h3 { color: var(--ui-strong); }
body .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0; margin: 0 0 16px; }
body .section-kicker { color: var(--ui-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
body .content .main_content .section-heading h2 { float: none; display: block; color: var(--ui-strong); padding: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; font-weight: 700; margin: 3px 0 0; }
body .section-heading h2 i { color: var(--ui-accent); margin-right: 6px; }
body .homepage_suggest { background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); padding: 22px 22px 18px; margin: 4px 0 28px; }
body .spotlight-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
body .spotlight-actions button { width: 36px; height: 36px; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); background: var(--ui-raised); color: var(--ui-text); font-size: 18px; }
body .spotlight-actions button:hover { border-color: var(--ui-accent); color: var(--ui-accent); }
body #div_suggest { width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ui-border) transparent; }
body #list_suggest { width: max-content; max-width: none; display: flex; flex-wrap: nowrap; margin: 0; gap: 16px; transition: none; padding: 0 1px 8px; }
body #list_suggest > li { flex: 0 0 192px; width: 192px; margin: 0; float: none; scroll-snap-align: start; }
body #list_suggest > li .book_avatar { height: auto; }
body #list_suggest .view_days { right: 8px; bottom: 8px; background: rgb(10 12 17 / 85%); color: #fff; padding: 4px 8px; font-size: 11px; border-radius: var(--ui-small-radius); }
body #main_homepage { min-width: 0; }
body .content .main_content .homepage_tags { width: 100%; min-height: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; line-height: 1.4; }
body .content .main_content .homepage_tags h1 { color: var(--ui-strong); font-size: clamp(21px, 2.3vw, 26px); float: none; line-height: 1.35; font-weight: 700; margin: 0; }
body .content .main_content .homepage_tags h1 i { color: var(--ui-accent); margin-right: 7px; }
body .content .main_content .homepage_tags .sort { float: none; padding: 0; flex: 0 0 auto; margin-left: auto; }
body .content .main_content .homepage_tags > .clear { display: none; }
body .content .main_content .homepage_tags .sort button,
body .content .main_content .homepage_tags .filter-link { height: 40px; min-width: 40px; background: var(--ui-raised); border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); color: var(--ui-text); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; }
body .content .main_content .homepage_tags .sort a:hover { border-color: var(--ui-accent); color: var(--ui-accent); }
body .list_grid_out { margin: 0; }
body ul.list_grid.grid:not(#list_suggest) { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 20px 16px; margin: 0; }
body ul.list_grid.grid:not(#list_suggest) > li,
body #list_suggest > li { float: none; min-width: 0; margin: 0; background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); overflow: hidden; width: 100%; display: flex; flex-direction: column; transition: border-color .18s, transform .18s; }
body ul.list_grid.grid:not(#list_suggest) > li:hover,
body #list_suggest > li:hover { border-color: #6d5a40; transform: none; }
body ul.list_grid.grid:not(#list_suggest) > li .book_avatar,
body #list_suggest > li .book_avatar { flex: none; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 0; position: relative; overflow: hidden; background: var(--ui-raised); }
body ul.list_grid.grid:not(#list_suggest) > li .book_avatar > a,
body #list_suggest > li .book_avatar > a { display: block; width: 100%; height: 100%; }
body ul.list_grid.grid:not(#list_suggest) > li .book_avatar img,
body #list_suggest > li .book_avatar img { position: static; transform: none; display: block; width: 100%; height: 100%; min-width: 0; max-width: 100%; object-fit: cover; object-position: center top; border: 0; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info,
body #list_suggest > li .book_info { min-width: 0; flex: 1; padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 7px; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .clear,
body #list_suggest > li .book_info .clear { display: none; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .book_name,
body #list_suggest > li .book_info .book_name { font-size: 14px; line-height: 1.46; margin: 0; height: auto; max-height: none; text-align: left; text-transform: none; font-weight: 600; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .book_name h3,
body #list_suggest > li .book_info .book_name h3 { white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.92em; font-size: inherit; line-height: inherit; font-weight: 650; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .book_name a,
body #list_suggest > li .book_info .book_name a { color: var(--ui-strong); }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .book_name a:hover,
body #list_suggest > li .book_info .book_name a:hover { color: var(--ui-accent); }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .last_chapter,
body #list_suggest > li .book_info .last_chapter { margin-top: auto; text-align: left; font-size: 12px; font-weight: 400; line-height: 1.35; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .last_chapter a,
body #list_suggest > li .book_info .last_chapter a { color: var(--ui-muted); font-weight: 500; font-size: 12px; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .last_chapter a:hover,
body #list_suggest > li .book_info .last_chapter a:hover { color: var(--ui-accent); }
body ul.list_grid .top-notice { top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; align-items: flex-start; gap: 4px; pointer-events: none; }
body ul.list_grid .top-notice .time-ago,
body ul.list_grid .top-notice .type-label { position: static; float: none; display: inline-flex; align-items: center; background: rgb(9 14 22 / 83%); color: #fff; border: 1px solid rgb(255 255 255 / 14%); padding: 4px 7px; border-radius: var(--ui-small-radius); font-size: 10px; line-height: 1.3; font-weight: 700; white-space: nowrap; animation: none; -webkit-animation: none; flex-shrink: 0; }
body ul.list_grid .top-notice .type-label.hot { background: #8a335b; }
body ul.list_grid .top-notice .type-label.new { background: #1e735b; }
body ul.list_grid .text_detail { display: none; }
body .has-text-centered { margin: 24px 0 0; }
body .homepage-browse-more .view-more-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); background: var(--ui-raised); color: var(--ui-strong); font-weight: 650; }
body .homepage-browse-more .view-more-btn:hover { border-color: var(--ui-accent); color: var(--ui-accent-hover); }

/* Browse, category, search and advanced filters. */
body .story-list-bl01, body .advsearch-form { background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); padding: 18px 20px; margin: 0 0 22px; color: var(--ui-text); }
body .story-list-bl01 table { width: 100%; }
body .story-list-bl01 table th { color: var(--ui-muted); padding: 10px 16px 10px 0; font-weight: 600; width: 115px; white-space: nowrap; }
body .story-list-bl01 table td { padding: 8px 0; }
body .story-list-bl01 table td ul { display: flex; flex-wrap: wrap; gap: 8px; }
body .story-list-bl01 table td ul li { float: none; padding: 0; }
body .story-list-bl01 table td ul li a { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 86px; padding: 9px 13px; min-height: 40px; color: var(--ui-text); background: var(--ui-raised); border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); margin: 0; font-size: 13px; }
body .story-list-bl01 table td ul li a.active { background: var(--ui-accent); color: var(--ui-accent-ink); border-color: var(--ui-accent); }
body .story-list-bl01 table td ul li a:hover:not(.active) { border-color: var(--ui-accent); color: var(--ui-accent); }
body .story-list-bl01 input, body .story-list-bl01 select,
body .advsearch-form input, body .advsearch-form select, body .select select { background: var(--ui-input); border: 1px solid var(--ui-border); color: var(--ui-strong); border-radius: var(--ui-control-radius); height: 42px; max-width: 100%; padding-inline: 10px; }
body .advsearch-form { padding: 20px; }
body .advsearch-form .genre-item { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 10px 4px 4px; margin: 0 6px 8px 0; background: var(--ui-raised); border: 1px solid var(--ui-border); border-radius: var(--ui-small-radius); font-size: 13px; cursor: pointer; }
body .advsearch-form .genre-item:hover { border-color: var(--ui-accent); }
body .advsearch-form .label-search { color: var(--ui-strong); font-weight: 650; font-size: 14px; margin: 8px 0; }
body .advsearch-form .btn, body .advsearch-form button.btn-search { min-height: 42px; padding: 9px 16px; border-radius: var(--ui-control-radius); }
body .advsearch-form .btn-search { color: var(--ui-accent-ink); background: var(--ui-accent); border-color: var(--ui-accent); }
body .advsearch-form .btn-reset { color: var(--ui-text); background: var(--ui-raised); border-color: var(--ui-border); }
body .warning-list { margin: 20px 0; padding: 24px; color: var(--ui-muted); }

/* Title, metadata, reading actions and chapter lists. */
body .breadcrumb { display: flex; flex-wrap: wrap; gap: 3px 6px; align-items: center; padding: 0 0 20px; margin: 0; background: none; border: 0; font-size: 13px; color: var(--ui-muted); }
body .breadcrumb li { float: none; max-width: 100%; overflow-wrap: anywhere; }
body .breadcrumb li a, body .breadcrumb li a span { color: var(--ui-muted); font-size: 13px; }
body .breadcrumb li a:hover { color: var(--ui-accent); }
body .breadcrumb li + li::before { color: var(--ui-muted); }
body.detail .content .main_content { padding: 0; }
body.detail .content .main_content .book_detail { background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); padding: 24px; }
body.detail .content .main_content .book_detail > .book_info { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 26px; padding: 0; align-items: start; }
body.detail .content .main_content .book_detail > .book_info > .clear { display: none; }
body.detail .content .main_content .book_detail .book_info .book_avatar { float: none; width: 220px; height: auto; aspect-ratio: 3 / 4; margin: 0; border-radius: var(--ui-control-radius); box-shadow: none; border: 1px solid var(--ui-border); background: var(--ui-raised); }
body.detail .content .main_content .book_detail .book_info .book_avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
body.detail .content .main_content .book_detail .book_info .book_other { float: none; width: 100%; min-width: 0; margin: 0; }
body .book_other h1 { color: var(--ui-strong); font-size: clamp(24px, 2.7vw, 30px); line-height: 1.4; font-weight: 750; text-align: left; margin: 0 0 18px; }
body .book_other .list-info { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 16px; margin: 0 0 18px; }
body .book_other .list-info li { float: none; width: auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline; margin: 0; padding: 0; }
body .book_other .list-info li p, body.detail .content .main_content .book_detail .book_info .book_other p { float: none; width: auto; padding: 0; margin: 0; font-size: 14px; line-height: 1.5; color: var(--ui-text); }
body .book_other .list-info li p.name { font-size: 13px; font-weight: 550; color: var(--ui-muted); flex: 0 0 auto; }
body .book_other .list-info li p a.org { color: var(--ui-accent); }
body .book_other .list01 { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 8px 0 20px; }
body .book_other .list01 > li { float: none; }
body .book_other .list01 li a { float: none; font-size: 14px; line-height: 1.4; padding: 7px 11px; border: 1px solid var(--ui-border); border-radius: var(--ui-small-radius); background: var(--ui-raised); color: var(--ui-text); margin: 0; }
body .book_other .list01 li a:hover { border-color: var(--ui-accent); color: var(--ui-accent); }
body .story-detail-menu { display: flex; align-items: stretch; flex-wrap: wrap; gap: 9px; text-align: left; }
body .story-detail-menu li { display: block; width: auto; float: none; }
body .story-detail-menu li a { background: var(--ui-raised); float: none; margin-right: 0; min-width: 0; width: auto; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; margin: 0; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); background: var(--ui-raised); font-size: 13px; line-height: 1.35; font-weight: 600; box-shadow: none; }
body .story-detail-menu li.li01 a { background: var(--ui-accent); border-color: var(--ui-accent); }
body .story-detail-menu li.li03 a { background: var(--ui-raised); border-color: var(--ui-border); }
body .story-detail-menu li.li04 a { background: var(--ui-raised); border-color: #704260; }
body .story-detail-menu li a:hover { filter: brightness(1.12); }
body.detail .content .main_content .book_detail > h3 { display: block; color: var(--ui-strong); border-top: 1px solid var(--ui-border); font-size: 18px; line-height: 1.4; font-weight: 700; padding-top: 22px; margin: 22px 0 14px; }
body.detail .content .main_content .book_detail > h3 i { color: var(--ui-accent); margin-right: 7px; }
body .story-detail-info { color: var(--ui-text); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
body .story-detail-info p { margin-bottom: 12px; }
body.detail .content .main_content .book_detail .list_chapter { min-height: 0; max-height: none; overflow: visible; width: 100%; padding: 0; background: var(--ui-input); border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); box-shadow: none; color: var(--ui-text); font-size: 14px; }
body .list_chapter .works-chapter-item { display: grid; grid-template-columns: minmax(0,1fr) 96px; gap: 14px; align-items: center; border-bottom: 1px solid var(--ui-border); padding: 0 14px; min-height: 48px; }
body .list_chapter .works-chapter-item:last-child { border-bottom: 0; }
body .list_chapter .works-chapter-item:hover { background: var(--ui-raised); }
body .list_chapter .works-chapter-item > div { width: auto; min-width: 0; float: none; display: block; }
body .list_chapter .works-chapter-item a, body .list_chapter .works-chapter-item a:visited { color: var(--ui-text); display: block; padding: 12px 0; }
body .list_chapter .works-chapter-item a:hover { color: var(--ui-accent); }
body .list_chapter .works-chapter-item .time-chap { color: var(--ui-muted); text-align: right; font-size: 12px; }

/* Reader: keep comic images and translation overlays on top of one another. */
body.detail .content.background-black, body .background-black { background: var(--ui-bg); }
body.detail .content .main_content #chapter_content .box { margin-bottom: 18px; padding: 22px; }
body.detail .content .main_content #chapter_content .detail-title { color: var(--ui-strong); font-size: clamp(18px,2.1vw,24px); line-height: 1.5; font-weight: 700; margin-bottom: 8px; }
body.detail .content .main_content #chapter_content time { color: var(--ui-muted); display: block; font-size: 13px; }
body.detail .content .main_content #chapter_content .chapter-control { margin-top: 18px; }
body.detail .content .main_content #chapter_content .chapter-control .note-server { color: var(--ui-muted); font-size: 13px; }
body .btn, body .button { border-radius: var(--ui-control-radius); }
body.detail .content .main_content #chapter_content .chapter-control .btn { background: var(--ui-raised); border: 1px solid var(--ui-border); color: var(--ui-text); min-height: 38px; padding: 8px 14px; font-weight: 600; }
body.detail .content .main_content #chapter_content .chapter-control .btn.btn-success { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-accent-ink); }
body.detail .content .main_content #chapter_content .chapter-control .btn:hover { border-color: var(--ui-accent); }
body .alert-info { background: #1c2c38; border-color: #385369; color: #c3dff1; }
body .alert-info svg path { fill: currentColor; }
body.detail .content .main_content .chapter_content { padding: 0 0 100px; margin: 14px 0 0; }
body.detail .content .main_content .chapter_content #images_container { margin: 0 auto; max-width: 100%; overflow: hidden; }
body.detail .content .main_content .chapter_content .page-chapter { max-width: 100%; margin: 0 auto; line-height: 0; }
body.detail .content .main_content .chapter_content .dt-layer-wrap { position: relative; display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
body.detail .content .main_content .chapter_content .dt-layer-wrap > img { max-width: 100%; height: auto; object-fit: contain; }
body.detail .content .main_content .chapter_content .dt-layer-wrap > img.dt-layer { position: absolute !important; inset: 0 auto auto 0 !important; width: 100% !important; height: 100% !important; z-index: 2 !important; pointer-events: none; }
body.detail .content .main_content .chapter_content .chapter_control { display: flex; align-items: center; justify-content: center; gap: 8px; height: auto; min-height: 60px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--ui-surface); border-top: 1px solid var(--ui-border); box-shadow: 0 -10px 30px rgb(0 0 0 / 16%); }
body.detail .content .main_content .chapter_content .chapter_control a.home { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; margin: 0; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); font-size: 20px; line-height: 1; flex: 0 0 auto; }
body.detail .content .main_content .chapter_content .chapter_control .control-button,
body.detail .content .main_content .chapter_content .chapter_control .prev,
body.detail .content .main_content .chapter_content .chapter_control .next { width: 42px; height: 42px; line-height: 42px; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); margin: 0; background: var(--ui-raised); color: var(--ui-strong); flex: 0 0 auto; }
body.detail .content .main_content .chapter_content .chapter_control .disable { opacity: .35; pointer-events: none; }
body.detail .content .main_content .chapter_content .chapter_control select { flex: 0 1 260px; min-width: 0; max-width: 260px; width: auto; height: 42px; margin: 0; background: var(--ui-input); border: 1px solid var(--ui-border); color: var(--ui-strong); border-radius: var(--ui-control-radius); padding: 0 10px; font-size: 13px; }
body.detail .content .main_content .chapter_content .chapter_control .btn-follow { display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; gap: 5px; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); padding: 0 12px; margin: 0; background: var(--ui-raised); color: var(--ui-text); font-size: 12px; }
body.detail .content .main_content #chapter_content .bottom-chap { margin-top: 22px; }

/* Discussion, auth dialog, member sections. */
body .comment-container { background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); color: var(--ui-text); margin-top: 24px; padding: 20px; }
body .comment-container .story-detail-title, body .comment-container .group01 .list-comment .content-comment { color: var(--ui-strong); }
body .comment-container .group01 .list-comment .outline-content-comment,
body .comment-container .group01 .list-comment .reply_comment .message-content { color: var(--ui-text); background: var(--ui-raised); border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); }
body .comment-container .group01 .form-comment .mess-input,
body .comment-container .group01 .form-comment .input-comment { background: var(--ui-input); color: var(--ui-strong); border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); }
body .comment-container input, body .comment-container textarea { color: var(--ui-strong); background: var(--ui-input); }
body .comment-container .group01 .list-comment .item-comment { border-color: var(--ui-border); }
body .messages { background: var(--ui-surface); border: 1px solid var(--ui-border); color: var(--ui-text); border-radius: var(--ui-radius); padding: 20px; }
body .messages .nav-user li a, body .messages .title .level-left, body .messages .form-change-pass .txt { color: var(--ui-text); }
body .messages .nav-user li a.is-active { color: var(--ui-accent); background: var(--ui-raised); }
body .messages input { background: var(--ui-input); border: 1px solid var(--ui-border); color: var(--ui-strong); }
body .popup { inset: 0; width: 100%; height: 100%; padding: 16px; position: fixed; z-index: 10000; }
body .popup .popup_layer { position: fixed; inset: 0; background: rgb(0 0 0 / 78%); }
body .popup #popup_content { position: relative; z-index: 1; }
body .popup .popup_content { color: var(--ui-text); background: var(--ui-surface); border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow); border-radius: var(--ui-radius); max-width: min(420px, calc(100vw - 32px)); }
body .popup .popup_content h2 { color: var(--ui-strong); }
body .popup .popup_content input { border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); color: var(--ui-strong); background: var(--ui-input); }
body .popup .popup_content a { color: var(--ui-accent); }
body .popup .yes_no button { min-height: 42px; border-radius: var(--ui-control-radius); }
body .popup .yes_no .no { background: var(--ui-raised); color: var(--ui-text); }

/* Site footer: four editorial sections, with stable compact variants. */
body .site-footer { margin-top: 0; padding: 40px 0 0; background: var(--ui-surface); color: var(--ui-muted); border-top: 1px solid var(--ui-border); }
body .site-footer .site-footer-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr) minmax(0,1.08fr) minmax(0,1fr); gap:28px; align-items:start; }
body .site-footer .site-footer-grid--3 { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1.2fr); }
body .site-footer .site-footer-grid--2 { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); }
body .site-footer .footer-about, body .site-footer .footer-links, body .site-footer .footer-disclaimer { width:auto; float:none; min-width:0; margin:0; }
body .site-footer .footer-brand { display:inline-block; margin:0 0 12px; color:var(--ui-strong); font-size:22px; font-weight:750; line-height:1.35; overflow-wrap:anywhere; }
body .site-footer .footer-summary { max-width:38ch; margin:0; color:var(--ui-text); font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
body .site-footer h2 { margin:2px 0 14px; color:var(--ui-strong); font-size:15px; font-weight:700; line-height:1.4; }
body .site-footer p { margin:0 0 11px; color:var(--ui-muted); font-size:14px; line-height:1.75; }
body .site-footer .footer-links ul { display:grid; grid-template-columns:minmax(0,1fr); gap:5px; margin:0; padding:0; list-style:none; }
body .site-footer .footer-links li { display:block; width:auto; margin:0; padding:0; float:none; background:transparent; line-height:1.4; min-width:0; }
body .site-footer .footer-links a { display:inline-flex; align-items:center; min-height:32px; max-width:100%; padding:3px 0; font-size:14px; line-height:1.4; color:var(--ui-text); text-decoration:none; overflow-wrap:anywhere; }
body .site-footer .footer-links a:hover, body .site-footer .footer-brand:hover { color:var(--ui-accent); }
body .site-footer .footer-links a:focus-visible, body .site-footer .footer-brand:focus-visible, body .site-footer .footer-bottom a:focus-visible, body .site-footer .footer-contact a:focus-visible { outline:2px solid var(--ui-accent); outline-offset:3px; border-radius:2px; }
body .site-footer .footer-disclaimer .footer-contact a { color:var(--ui-accent); overflow-wrap:anywhere; }
body .site-footer .footer-bottom { border-top:1px solid var(--ui-border); padding:16px 0 20px; margin-top:32px; display:flex; align-items:center; justify-content:space-between; gap:12px 22px; color:var(--ui-muted); font-size:13px; }
body .site-footer .footer-bottom small { font-size:inherit; }
body .site-footer .footer-bottom a { color:var(--ui-muted); text-decoration:none; }
body .site-footer .footer-bottom a:hover { color:var(--ui-accent); }
@media (max-width: 1080px) {
  body .site-footer .site-footer-grid, body .site-footer .site-footer-grid--2, body .site-footer .site-footer-grid--3 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; }
}
@media (max-width: 600px) {
  body .site-footer .site-footer-grid, body .site-footer .site-footer-grid--2, body .site-footer .site-footer-grid--3 { grid-template-columns:minmax(0,1fr); gap:24px; }
  body .site-footer { padding-top:28px; }
  body .site-footer .footer-bottom { flex-wrap:wrap; margin-top:26px; }
}

@media (max-width: 1199px) {
  body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(4, minmax(0,1fr)); }
  body .site-header .site-nav-list > li .tags_name { padding-inline: 11px; }
}
@media (max-width: 1099px) {
  body .site-header .site-header-inner { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  body .site-header .site-header-inner > .nav_menu.mobile_display { display: inline-flex; order: 3; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-width: 44px; height: 44px; padding: 0 12px; background: var(--ui-raised); color: var(--ui-text); border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); font-size: 13px; font-weight: 600; }
  body .site-header .site-header-inner > .nav_menu.mobile_display i { color: var(--ui-accent); font-size: 16px; }
  body .site-header .site-header-inner > .nav_menu.mobile_display[aria-expanded="true"] { border-color: var(--ui-accent); }
  body .site-header .site-account { order: 2; }
  body .site-header .site-brand { order: 0; }
  body .site-header .bottom { display: none; min-height: 0; }
  body .site-header.nav-open .bottom { display: block; }
  body header.site-header .top .top_search.site-search { order: 4; flex: 0 0 100%; max-width: none; min-width: 0; margin: 0; display: block; }
  body .site-header .site-account { margin-left: auto; }
  body .site-header .site-brand img { max-width: 190px; }
  body .site-header .bottom { min-height: 46px; }
  body .site-header .site-nav-list { display: none; }
  body .site-header .site-nav-list.menu_mobile { display: block; width: 100%; float: none; border-top: 1px solid var(--ui-border); padding: 7px 0 13px; }
  body .site-header .bottom .site-nav-list > li, body .site-header .bottom .site-nav-list > li.menu_hidden { display: block; float: none; width: 100%; }
  body .site-header .bottom .site-nav-list > li.mobile-register-item { display: block; }
  body .site-header .bottom .site-nav-list > li .tags_name { display: flex; width: 100%; min-height: 44px; height: auto; padding: 11px 12px; border-radius: var(--ui-control-radius); justify-content: space-between; }
  body .site-header .bottom .site-nav-list > li > .hidden_menu { display: none; position: static; width: 100%; max-width: 100%; padding: 8px; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); box-shadow: none; background: var(--ui-raised); }
  body .site-header .bottom .site-nav-list > li > .hidden_menu.expanded { display: block; }
  body .site-header .bottom .site-nav-list > li .hidden_menu .book_tags_content { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px 6px; max-height: 45vh; }
  body .site-header .bottom .site-nav-list > li .hidden_menu .book_tags_content a { padding: 9px 8px; }
  body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  body .book_other .list-info { grid-template-columns: 1fr; }
  body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  body .div_middle { width: calc(100% - 28px); }
  body .content { padding-top: 18px; padding-bottom: 40px; }
  body .site-header .site-header-inner { gap: 8px; }
  body .site-header .site-brand img { width: 146px; max-height: 30px; }
  body .site-header .site-header-inner > .nav_menu.mobile_display { padding: 0 9px; }
  body .site-header .site-account > ul { gap: 5px; }
  body header.site-header .top .right.site-account ul li button.account-register { display: none; }
  body .site-header .site-account ul li button.account-register,
  body .site-header .site-account ul li button.account-login { min-width: 0; min-height: 39px; height: 39px; padding-inline: 9px; font-size: 12px; }
  body .site-header .top button.dark_mode { height: 39px; width: 39px; }
  body header.site-header .top .top_search.site-search { height: 42px; }
  body header.site-header .top .top_search.site-search input { height: 42px; }
  body header.site-header .top .top_search.site-search .site-search-submit { height: 42px; }
  body .homepage_suggest { padding: 16px; margin-bottom: 22px; }
  body .section-heading { gap: 10px; }
  body .homepage_suggest .section-heading { flex-direction: row; align-items: center; gap: 10px; }
  body .homepage_suggest .section-heading > div:first-child { min-width: 0; }
  body .homepage_suggest .section-heading h2 { font-size: 17px; line-height: 1.35; }
  body .homepage_suggest .section-kicker { font-size: 10px; }
  body .spotlight-actions { margin-left: auto; }
  body .spotlight-actions button, body .section-heading .spotlight-actions button { width: 40px; height: 40px; min-width: 40px; min-height: 40px; padding: 0; }
  body #list_suggest > li { flex-basis: 142px; width: 142px; }
  body #list_suggest { gap: 12px; }
  body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 11px; }
  body ul.list_grid.grid:not(#list_suggest) > li .book_info,
  body #list_suggest > li .book_info { padding: 10px 10px 12px; }
  body ul.list_grid.grid:not(#list_suggest) > li .book_info .book_name h3,
  body #list_suggest > li .book_info .book_name h3 { font-size: 13px; }
  body .content .main_content .homepage_tags { align-items: flex-start; }
  body .content .main_content .homepage_tags h1 { font-size: 19px; }
  body .homepage_tags { flex-wrap: nowrap; }
  body .homepage_tags h1 { min-width: 0; }
  body .homepage_tags .sort { margin-left: auto; }
  body .homepage_tags .sort .filter-link { min-height: 44px; }
  body .content .main_content .homepage_tags .sort .filter-link { padding-inline: 11px; font-size: 12px; }
  body .story-list-bl01 { padding: 13px; }
  body .story-list-bl01 table, body .story-list-bl01 tbody, body .story-list-bl01 tr, body .story-list-bl01 td, body .story-list-bl01 th { display: block; width: 100%; }
  body .story-list-bl01 table th { padding: 9px 0 3px; }
  body .story-list-bl01 table td { padding: 3px 0 9px; }
  body .story-list-bl01 table td ul li a { min-width: 0; padding: 8px 10px; }
  body .advsearch-form { padding: 14px; }
  body .advsearch-form .genre-item { max-width: 100%; }
  body.detail .content .main_content .book_detail { padding: 16px; }
  body.detail .content .main_content .book_detail > .book_info { grid-template-columns: 105px minmax(0,1fr); gap: 14px; }
  body.detail .content .main_content .book_detail .book_info .book_avatar { width: 105px; }
  body .book_other h1 { font-size: 19px; line-height: 1.45; margin: 0 0 12px; }
  body .book_other .list-info { gap: 6px; margin: 0 0 10px; }
  body .book_other .list-info li p.name, body .book_other .list-info li p { font-size: 12px; }
  body .book_other .list01 { margin: 8px 0 12px; }
  body .story-detail-menu { grid-column: 1 / -1; }
  body .story-detail-menu li { flex: 1 1 calc(50% - 5px); }
  body .story-detail-menu li a { width: 100%; font-size: 12px; padding: 8px; min-height: 42px; }
  body.detail .content .main_content .book_detail > h3 { font-size: 17px; margin-top: 17px; }
  body .list_chapter .works-chapter-item { grid-template-columns: minmax(0,1fr) 75px; gap: 7px; padding: 0 10px; }
  body .list_chapter .works-chapter-item .time-chap { font-size: 11px; }
  body.detail .content .main_content #chapter_content .box { padding: 14px; }
  body.detail .content .main_content .chapter_content .chapter_control { gap: 6px; padding-inline: 7px; }
  body.detail .content .main_content .chapter_content .chapter_control a.home,
  body.detail .content .main_content .chapter_content .chapter_control .control-button { width: 38px; height: 40px; line-height: 40px; }
  body.detail .content .main_content .chapter_content .chapter_control .btn-follow { width: 40px; min-height: 40px; padding: 0; justify-content: center; }
  body.detail .content .main_content .chapter_content .chapter_control .btn-follow span { display: none; }
  body.detail .content .main_content .chapter_content .chapter_control select { flex: 1 1 105px; width: 100px; max-width: 220px; height: 40px; }
  body .comment-container { padding: 12px; }
}
@media (max-width: 370px) {
  body .div_middle { width: calc(100% - 24px); }
  body .site-header .site-brand img { width: 125px; }
  body .site-header .site-header-inner > .nav_menu.mobile_display { padding: 0 8px; font-size: 12px; }
  body .site-header .site-header-inner > .nav_menu.mobile_display span { display: none; }
  body header.site-header .top .right.site-account > ul > li.profile #member_control { width: min(220px, calc(100vw - 28px)); }
  body .site-header .site-account ul li button.account-register,
  body .site-header .site-account ul li button.account-login { padding-inline: 7px; font-size: 11px; }
  body .site-header .top button.dark_mode { width: 35px; height: 39px; }
  body .site-header .bottom .site-nav-list > li .hidden_menu .book_tags_content { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body #list_suggest > li { flex-basis: 135px; width: 135px; }
  body ul.list_grid.grid:not(#list_suggest) { gap: 12px 9px; }
  body ul.list_grid.grid:not(#list_suggest) > li .book_info { padding: 9px; }

  body .book_other .list-info { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .story-detail-menu li { flex: 1 1 calc(50% - 5px); }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body * { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; }
}


/* Header, typography and card corrections inherited from the original frontend. */
html { background: var(--ui-bg); }
body, body.dark, body.light { background-color: var(--ui-bg) !important; color: var(--ui-text); }
body header.site-header, body .site-header .top, body .site-header .bottom { background-color: var(--ui-surface) !important; }
body .content, body .content.background-black, body .background-black { background-color: var(--ui-bg) !important; }
body footer.site-footer, body footer.site-footer.dark, body footer.site-footer.light { background-color: var(--ui-surface) !important; }
body .site-header .site-account ul > li.profile,
body header.site-header .top .right.site-account ul > li.profile {
    position: relative; display: flex; align-items: center;
    flex: 0 0 44px; width: 44px; height: 44px;
    float: none; padding: 0; margin: 0;
    background: transparent !important; border: 0 !important;
    box-shadow: none !important; border-radius: 50%;
}
body header.site-header .top .right.site-account ul li.profile .member_profile.profile-trigger {
    display: grid; place-items: center;
    width: 44px !important; height: 44px !important;
    min-width: 44px; min-height: 44px; padding: 2px; margin: 0;
    line-height: 1; overflow: hidden;
    background: var(--ui-raised) !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: 50% !important; box-shadow: none !important;
}
body header.site-header .top .right.site-account ul li.profile .member_profile.profile-trigger img {
    display: block; width: 38px; height: 38px;
    margin: 0; float: none; border-radius: 50%;
    object-fit: cover;
}
body .site-header .site-account li .hidden_div {
    left: auto; right: 0; min-width: 200px; max-width: calc(100vw - 24px);
}
body .site-header .site-account li .hidden_div ul {
    margin: 0; padding: 7px; min-width: 200px;
}
body .site-header .site-account li .hidden_div ul li {
    float: none; width: 100%; height: auto; background: none;
    border: 0; border-radius: 0; margin: 0;
}
body .site-header .site-account li .hidden_div ul li a { min-height: 42px; display: flex; align-items: center; font-size: 14px; }
/* Stop the old float grid from affecting card heights and align typography. */
body ul.list_grid.grid:not(#list_suggest) { gap: 20px 16px; }
body ul.list_grid.grid:not(#list_suggest) > li .book_info .book_name h3,
body #list_suggest > li .book_info .book_name h3 {
    font-size: 14px; line-height: 1.5; font-weight: 650;
    overflow-wrap: anywhere; -webkit-line-clamp: 2;
}
body ul.list_grid.grid:not(#list_suggest) > li .book_info .last_chapter a,
body #list_suggest > li .book_info .last_chapter a { font-size: 12px; }
body ul.list_grid .top-notice .time-ago, body ul.list_grid .top-notice .type-label {
    max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 11px; font-weight: 650; line-height: 1.3;
}
body .site-header .site-nav-list > li > a[aria-current="page"] { color: var(--ui-accent); background: var(--ui-raised); }
/* Clearer detailed story layout, keeping first read action visually primary. */
body.detail .content .main_content .book_detail { padding: clamp(16px, 2.5vw, 28px); }
body.detail .book_detail .breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 18px; color: var(--ui-muted); }
body.detail .book_detail .breadcrumb li { max-width: 100%; }
body.detail .book_detail .breadcrumb a { color: var(--ui-muted); overflow-wrap: anywhere; }
body.detail .book_detail .breadcrumb a:hover { color: var(--ui-accent); }
body.detail .content .main_content .book_detail > .book_info { grid-template-columns: 214px minmax(0,1fr); gap: clamp(18px,3vw,30px); }
body.detail .content .main_content .book_detail .book_info .book_avatar { width: 214px; }
body .book_other .list-info li { background: var(--ui-raised); padding: 9px 11px; border: 1px solid var(--ui-border); border-radius: var(--ui-control-radius); }
body .book_other .list-info li p.name { white-space: nowrap; }
body .story-detail-menu { margin-top: 4px; }
body .story-detail-menu li a { font-size: 14px; min-height: 44px; }
body .story-detail-menu li.li01 a { box-shadow: none; }
body .story-detail-info { line-height: 1.8; font-size: 15px; }
body .comment-container .group01 textarea,
body .comment-container .group01 .form-comment textarea { min-height: 96px; width: 100%; padding: 12px; }
body .comment-container button, body .comment-container input[type="submit"] {
    min-height: 42px; border-radius: var(--ui-control-radius);
}
body .comment-container .group01 .form-comment button,
body .comment-container .group01 .form-comment input[type="submit"] {
    background: var(--ui-accent); color: var(--ui-accent-ink); border-color: var(--ui-accent);
}
body .site-footer-grid { gap: 24px 40px; }
body .site-footer p, body .site-footer .footer-links a { font-size: 14px; line-height: 1.75; }
body .site-footer h2 { font-size: 16px; }
@media (min-width: 1200px) {
    body .div_middle { width: min(calc(100% - 48px), var(--ui-width)); }
    body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 801px) and (max-width:1199px) {
    body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width: 601px) and (max-width:800px) {
    body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:600px) {
    body ul.list_grid.grid:not(#list_suggest) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 11px; }
    body #list_suggest > li { flex: 0 0 148px; width: 148px; }
    body .site-header .site-account ul > li.profile,
    body header.site-header .top .right.site-account ul > li.profile { width: 40px; height: 40px; flex-basis: 40px; }
    body header.site-header .top .right.site-account ul li.profile .member_profile.profile-trigger { width: 40px !important; height: 40px !important; min-width: 40px; min-height: 40px; }
    body header.site-header .top .right.site-account ul li.profile .member_profile.profile-trigger img { width: 34px; height: 34px; }
    body.detail .content .main_content .book_detail > .book_info {
        display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: start; gap: 12px 14px;
    }
    body.detail .content .main_content .book_detail .book_info .book_other { display: contents; }
    body.detail .content .main_content .book_detail .book_info .book_avatar { width: 104px; grid-column: 1; grid-row: 1; margin: 0; }
    body.detail .book_info .book_other h1 { grid-column: 2; grid-row: 1; align-self: center; min-width: 0; overflow-wrap: anywhere; margin: 0; font-size: clamp(18px, 5vw, 21px); line-height: 1.45; text-align: left; }
    body.detail .book_info .book_other > .txt,
    body.detail .book_info .book_other > .list01,
    body.detail .book_info .book_other > .story-detail-menu,
    body.detail .book_info .book_other > .story-action-feedback { grid-column: 1 / -1; margin: 0; }
    body.detail .book_info .book_other > .clear { display: none; }
    body .book_other .list-info li { background: none; padding: 0; border: 0; }
    body .book_other .list-info { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 12px; margin: 0; }
    body .book_other .list01 { margin-block: 0; }
    body .story-detail-menu li { flex: 1 1 calc(50% - 5px); }
    body .story-detail-menu li a { min-height: 44px; }
    body .site-footer p, body .site-footer .footer-links a { font-size: 13px; }
}
@media (max-width:370px) {
    body.detail .content .main_content .book_detail > .book_info { grid-template-columns: 88px minmax(0, 1fr); }
    body.detail .content .main_content .book_detail .book_info .book_avatar { width: 88px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body ul.list_grid.grid:not(#list_suggest) > li, body #list_suggest > li { transform: none !important; transition: none; }
}

/* Shared controls: headings, actions, comments and pagination. */
:root {
  --ui-control-height: 44px;
  --ui-control-radius: 5px;
}

/* Section headings and right-side utility buttons */
body .homepage_tags,
body .homepage_suggest .section-heading,
body .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0;
}
body .homepage_tags h1,
body .homepage_suggest .section-heading h2,
body .section-heading h2,
body .content .main_content .text_list_update,
body .content .main_content .text_list_hot {
  margin: 0;
  float: none;
  min-width: 0;
  color: var(--ui-strong);
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.35;
  font-weight: 750;
}
body .homepage_tags h1 i,
body .homepage_suggest .section-heading h2 i,
body .section-heading h2 i {
  margin-right: 8px;
  color: var(--ui-accent);
}
body .homepage_tags .sort,
body .section-heading .spotlight-actions,
body .section-heading .section-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
body .homepage_tags .sort .filter-link,
body .section-heading .spotlight-actions button,
body .section-heading .section-actions a,
body .section-heading .section-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--ui-control-height);
  padding: 0 16px;
  border-radius: var(--ui-control-radius);
  border: 1px solid var(--ui-border);
  background: var(--ui-raised);
  color: var(--ui-strong);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
body .homepage_tags .sort .filter-link:hover,
body .section-heading .spotlight-actions button:hover,
body .section-heading .section-actions a:hover,
body .section-heading .section-actions button:hover {
  background: var(--ui-hover);
  border-color: #4b6383;
  color: var(--ui-accent-hover);
  transform: none;
}
body .section-heading .spotlight-actions button {
  width: var(--ui-control-height);
  padding: 0;
}
body .spotlight-actions button:disabled { opacity: .35; cursor: default; border-color: var(--ui-border); }

/* Detail action buttons */
body .story-detail-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 6px;
}
body .story-detail-menu li {
  float: none;
  flex: 0 0 auto;
  min-width: 0;
}
body .story-detail-menu li a {
  min-height: var(--ui-control-height);
  min-width: 112px;
  padding: 0 16px;
  border-radius: var(--ui-control-radius);
  border: 1px solid var(--ui-border);
  background: var(--ui-raised);
  color: var(--ui-strong) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
body .story-detail-menu li a:hover {
  transform: none;
  filter: none;
}
body .story-detail-menu li.li01 a {
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: var(--ui-accent-ink) !important;
}
body .story-detail-menu li.li01 a:hover { background: var(--ui-accent-hover); border-color: var(--ui-accent-hover); }
body .story-detail-menu li.li02 a {
  background: var(--ui-raised);
  border-color: var(--ui-border);
  color: var(--ui-strong) !important;
}
body .story-detail-menu li.li02 a .fa { color: var(--ui-danger); }
body .story-detail-menu li.li02 a:hover { background: var(--ui-hover); border-color: #4d6585; }
body .story-detail-menu li.li03 a {
  background: var(--ui-raised);
  border-color: #425c80;
  color: #dbe8ff !important;
}
body .story-detail-menu li.li03 a:hover { background: var(--ui-hover); border-color: #5677a3; color: #fff !important; }
body .story-detail-menu li.li04 a {
  background: transparent;
  border-color: #884366;
  color: var(--ui-accent) !important;
}
body .story-detail-menu li.li04 a:hover { background: rgb(255 24 129 / 9%); border-color: var(--ui-accent); }

/* Comment area */
body .comment-container {
  margin-top: 26px;
  padding: 22px;
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
}
body .comment-container .story-detail-title,
body .comment-container .box_comment_title,
body .comment-container .comment-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--ui-strong);
  font-size: 16px;
  font-weight: 700;
}
body .comment-container .group01,
body .comment-container .form-comment,
body .comment-container form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body .comment-container textarea,
body .comment-container .group01 textarea,
body .comment-container .group01 .form-comment textarea,
body .comment-container .group01 .form-comment .mess-input,
body .comment-container .group01 .form-comment .input-comment {
  width: 100%;
  min-height: 112px;
  padding: 14px 16px;
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-border);
  background: var(--ui-input) !important;
  color: var(--ui-strong) !important;
  resize: vertical;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
}
body .comment-container textarea::placeholder,
body .comment-container .group01 textarea::placeholder {
  color: var(--ui-muted);
}
body .comment-container textarea:focus,
body .comment-container .group01 textarea:focus,
body .comment-container .group01 .form-comment textarea:focus {
  outline: none;
  border-color: var(--ui-accent);
  box-shadow: 0 0 0 3px rgb(255 24 129 / 14%);
}
body .comment-container .group01 .form-comment .comment-placeholder {
  display: block;
  height: auto;
  min-height: 110px;
  padding: 14px 16px;
  background: var(--ui-input);
  color: var(--ui-muted);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-control-radius);
  box-shadow: none;
  font-size: 14px;
  line-height: 1.55;
}
body .comment-container .group01 .form-comment .comment-placeholder:hover {
  border-color: #56657a;
}
body .comment-container .group01 .form-comment .comment-action {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
body .comment-container .comment-actions,
body .comment-container .form-comment .actions,
body .comment-container .group01 .form-comment .action,
body .comment-container .group01 .form-comment .submit-row {
  display: flex;
  justify-content: flex-end;
}
body .comment-container button,
body .comment-container input[type="submit"],
body .comment-container .group01 .form-comment button,
body .comment-container .group01 .form-comment input[type="submit"] {
  min-height: var(--ui-control-height);
  min-width: 96px;
  padding: 0 18px;
  border-radius: var(--ui-control-radius);
  border: 1px solid var(--ui-accent);
  background: var(--ui-accent) !important;
  color: var(--ui-accent-ink) !important;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}
body .comment-container button:hover,
body .comment-container input[type="submit"]:hover {
  background: var(--ui-accent-hover) !important;
  border-color: var(--ui-accent-hover);
}

/* Text contrast on legacy controls whose active state used light text on orange. */
body .content .main_content button.active,
body .content .main_content .chapter_unlock button,
body .content .main_content .menu_search_select ul li button {
  color: var(--ui-accent-ink) !important;
}

/* Pagination: semantic links with a distinct current page. */
body .content .page_redirect {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 30px 0 8px;
}
body .content .page_redirect .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  background: var(--ui-raised);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-control-radius);
  color: var(--ui-text);
  line-height: 1;
  font-size: 14px;
  font-weight: 650;
}
body .content .page_redirect .page-link:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}
body .content .page_redirect .page-link.is-current {
  border-color: var(--ui-accent);
  background: var(--ui-accent);
  color: var(--ui-accent-ink);
}
body .content .page_redirect .page-arrow { font-size: 18px; }

/* Detail chapters show the newest 24 first, with the rest behind an explicit disclosure. */
body .chapter-more { border-top: 1px solid var(--ui-border); }
body .chapter-more summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px;
  cursor: pointer;
  color: var(--ui-accent);
  font-weight: 650;
  list-style: none;
  font-size: 14px;
}
body .chapter-more summary::-webkit-details-marker { display: none; }
body .chapter-more[open] summary { border-bottom: 1px solid var(--ui-border); }
body .chapter-more[open] summary i { transform: rotate(180deg); }

/* Comments, including the guest state, never expose a light legacy field. */
body .comment-container .comment-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid var(--ui-border);
  padding: 16px;
  background: var(--ui-input);
  border-radius: var(--ui-control-radius);
}
body .comment-container .comment-guest p { margin: 0; color: var(--ui-muted); }
body .comment-container .comment-guest button {
  width: auto;
  min-width: 155px;
  margin: 0;
  flex: 0 0 auto;
}
body .comment-container .group01 .form-comment .comment-placeholder {
  background: var(--ui-input);
  color: var(--ui-muted);
  border: 1px solid var(--ui-border);
}
body .comment-container iframe { background: var(--ui-input); }
body .comment-container .comment-info { color: var(--ui-success); margin: 8px 0; font-size: 13px; }
body .comment-container .comment-info.is-error { color: var(--ui-danger); }
body .comment-container [type="submit"]:disabled { opacity: .6; cursor: wait; }
body .story-action-feedback {
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 9px 12px;
  background: #193528;
  border: 1px solid #365a49;
  border-radius: var(--ui-control-radius);
  color: #b4e6cb;
  font-size: 13px;
}
body .story-action-feedback.is-error {
  background: #342228;
  border-color: #6d3d46;
  color: #ffb7c0;
}
body .story-action-feedback[hidden] { display: none; }
body .story-detail-menu li a[aria-disabled="true"] { opacity: .65; cursor: wait; }

/* Reading: reserve room for fixed controls, protect translated image overlays. */
body.reader-page .content { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
body.reader-page .content .main_content .chapter_content .chapter_control {
  z-index: 60;
  min-height: 64px;
  box-shadow: 0 -4px 18px rgb(0 0 0 / 30%);
}
body.reader-page .chapter_content .chapter_control select { font-size: 14px; }
body.reader-page .reader-action-feedback {
  position: fixed;
  z-index: 61;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 28px);
  padding: 10px 16px;
  background: #193528;
  border: 1px solid #365a49;
  border-radius: var(--ui-control-radius);
  color: #b4e6cb;
  text-align: center;
}
body.reader-page .reader-action-feedback.is-error { color: #ffb7c0; background: #342228; border-color: #6d3d46; }
body.reader-page .reader-action-feedback[hidden] { display: none; }
body.reader-page .chapter_content .chapter_control a[aria-disabled="true"] { pointer-events: none; opacity: .45; }

@media (max-width: 640px) {
  body .homepage_tags, body .homepage_suggest .section-heading, body .section-heading {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  body .homepage_tags h1,
  body .homepage_suggest .section-heading h2 { flex: 1 1 auto; min-width: 0; }
  body .homepage_tags .sort,
  body .section-heading .spotlight-actions,
  body .section-heading .section-actions {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    gap: 6px;
  }
  body .homepage_tags .sort .filter-link { width: auto; min-width: 44px; min-height: 44px; }
  body .homepage_suggest .section-heading h2 { font-size: 17px; }
  body .section-heading .spotlight-actions button { width: 40px; min-width: 40px; height: 40px; }
  body .story-detail-menu { gap: 8px; }
  body .story-detail-menu li { flex: 1 1 calc(50% - 4px); }
  body .story-detail-menu li a { width: 100%; min-width: 0; padding-inline: 8px; white-space: normal; font-size: 13px; }
  body .story-detail-menu li.li01, body .story-detail-menu li.li04 { flex: 1 1 100%; }
  body .story-detail-menu li.li02, body .story-detail-menu li.li03 { flex: 1 1 calc(50% - 4px); }
  body .comment-container { padding: 16px; }
  body .comment-container .comment-guest button { flex: 1 1 100%; width: 100%; }
  body .content .page_redirect { gap: 6px; }
  body .content .page_redirect .page-link { min-width: 40px; height: 40px; }
}
@media (max-width: 500px) {
  body.reader-page .chapter_content .chapter_control { justify-content: center; gap: 8px; }
  body.reader-page .content .main_content .chapter_content .chapter_control a.home,
  body.reader-page .content .main_content .chapter_content .chapter_control .btn-follow { display: none; }
  body.reader-page .content .main_content .chapter_content .chapter_control .prev,
  body.reader-page .content .main_content .chapter_content .chapter_control .next { width: 44px; height: 44px; line-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  body.reader-page .content .main_content .chapter_content .chapter_control select { flex: 1 1 140px; min-width: 0; max-width: 220px; height: 44px; }
}

/* Comment like feedback */
body .action-comment .btn-like { border: 0; padding: 4px 8px; background: transparent; color: inherit; border-radius: 4px; font: inherit; cursor: pointer; }
body .action-comment .btn-like:hover { color: var(--ui-accent); }
body .action-comment .btn-like[aria-pressed="true"] { color: var(--ui-accent); cursor: default; }
body .action-comment .btn-like:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 2px; }
body .action-comment .like-feedback { color: var(--ui-muted); font-size: 12px; margin-inline: 8px; }


/* v2.4.0 — compact, readable SEO content and crawlable category links. */
body .content .seo-home-intro {
    margin: 0 0 22px;
    padding: 0;
    max-width: 900px;
}
body .content .main_content .seo-home-intro h1 {
    margin: 0 0 6px;
    font-size: clamp(22px, 2.7vw, 28px);
    line-height: 1.35;
    font-weight: 750;
    color: var(--ui-strong, #f1f5fa);
}
body .content .seo-home-intro p,
body .content .seo-archive-summary,
body .content .seo-discover p {
    color: var(--ui-muted, #acbad0);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
body .content .seo-archive-summary { margin: -4px 0 18px; }
body .content .seo-archive-summary a { color: var(--ui-accent, #ff1881); text-decoration: underline; text-underline-offset: 3px; }
body .content .seo-discover { margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ui-border, #26374a); }
body .content .main_content .seo-discover h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--ui-strong, #f1f5fa); }
body .content .seo-category-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
body .content .seo-category-links a {
    display: inline-flex; align-items: center; min-height: 40px;
    padding: 7px 13px; background: var(--ui-raised, #1c2c41);
    border: 1px solid var(--ui-border, #2a3951); border-radius: 5px;
    color: var(--ui-text, #dce7f7); font-size: 13px; line-height: 1.4;
}
body .content .seo-category-links a:hover,
body .content .seo-category-links a:focus-visible { color: var(--ui-accent, #ff1881); border-color: var(--ui-accent, #ff1881); }
@media (max-width: 600px) {
    body .content .seo-home-intro { margin-bottom: 18px; }
    body .content .seo-archive-summary { margin-bottom: 14px; }
    body .content .seo-discover { margin-top: 24px; }
    body .content .seo-category-links { gap: 7px; }
    body .content .seo-category-links a { font-size: 12px; padding: 7px 10px; }
}

body .content .main_content .homepage_tags h2.text_list_update {
    margin: 0; color: var(--ui-strong, #f1f5fa); font-size: clamp(21px,2.3vw,26px);
    float: none; line-height: 1.35; font-weight: 700;
}
body .content .main_content .homepage_tags h2.text_list_update i { color: var(--ui-accent, #ff1881); margin-right: 7px; }
@media (max-width:600px) { body .content .main_content .homepage_tags h2.text_list_update { font-size: 19px; } }

/* v2.4.9: Language links are visible only for genuinely published equivalents. */
body .site-header .site-language { position:relative; }
body .site-header .site-language details { position:relative; }
body .site-header .site-language summary { cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;min-height:46px; }
body .site-header .site-language summary::-webkit-details-marker { display:none; }
body .site-header .site-language-links { position:absolute;right:0;top:100%;min-width:148px;z-index:250;background:#17263b;border:1px solid #344a66;border-radius:5px;padding:6px;box-shadow:0 8px 20px rgba(0,0,0,.2); }
body .site-header .site-language-links a { display:block;color:#dce7f7;font-size:13px;padding:8px 11px;border-radius:4px; }
body .site-header .site-language-links a:hover { color:#ff70b3;background:#213551; }
@media(max-width:768px){body .site-header .site-language-links{position:static;box-shadow:none;min-width:0;}}
