/* Mobile presentation only. Shared by the public CMS and member centre.
   All rules stay below the desktop breakpoint; no business logic is changed. */
@media screen and (max-width:767px) {
  /* One mobile entry point, activated only after the replacement is built. */
  .mobile-menu-ready .member-page #header-navbar,
  .mobile-menu-ready .group-page #navbar-collapse,
  .mobile-menu-ready .member-page #sidebar-nav,
  .mobile-menu-ready .member-page .sidebar-toggle,
  .mobile-menu-ready .member-page #ai-member-menu,
  .mobile-menu-ready .member-page .creation-ai-sidebar,
  .mobile-menu-ready .navbar-collapse-bg {display:none!important;}
  .mobile-menu-ready .navbar-header .navbar-toggle {display:flex!important;align-items:center;justify-content:center;gap:7px;width:76px!important;height:44px;padding:8px!important;position:static!important;box-shadow:none;}
  .mobile-menu-ready .navbar-header .navbar-toggle .icon-bar {display:none;}
  .mobile-menu-ready .navbar-header .navbar-toggle::before {content:'\f0c9';font-family:FontAwesome;font-size:17px;color:#36463d;}
  .mobile-menu-ready .mobile-menu-trigger-label {display:inline!important;font-size:14px;font-weight:600;color:#36463d;}
  .mobile-site-menu[hidden] {display:none!important;}
  .mobile-site-menu {position:fixed;inset:0;z-index:2147483000;background:rgba(22,34,28,.48);padding:12px;display:flex;justify-content:flex-end;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;}
  .mobile-menu-panel {display:flex;flex-direction:column;width:360px;max-width:100%;height:100%;max-height:100%;background:#f7f8fa;border-radius:18px;box-shadow:0 16px 48px #10251e33;overflow:hidden;color:#25332e;}
  .mobile-menu-head {display:flex;align-items:center;justify-content:space-between;flex:none;padding:18px 18px 14px;background:#fff;border-bottom:1px solid #e8ece9;}
  .mobile-menu-head small {display:block;color:#c52236;font-size:12px;font-weight:600;letter-spacing:1px;}
  .mobile-menu-head h2 {font-size:21px;line-height:1.5;font-weight:700;margin:3px 0 0;}
  .mobile-menu-close {width:44px;height:44px;border:1px solid #e3e8e5;border-radius:12px;background:#fff;color:#34483d;font-size:20px;flex-shrink:0;}
  .mobile-menu-body {padding:6px 16px calc(20px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;min-height:0;}
  .mobile-menu-body h3 {margin:16px 0 10px;font-size:13px;line-height:1.5;font-weight:600;color:#65766d;}
  .mobile-menu-body a {text-decoration:none!important;color:#263c31!important;font-size:14px;line-height:1.5;min-width:0;overflow-wrap:anywhere;}
  .mobile-menu-work {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .mobile-menu-work a {display:flex;align-items:center;gap:8px;min-height:64px;padding:12px 10px;background:#fff;border:1px solid #e5eae7;border-radius:12px;}
  .mobile-menu-work a > i {color:#bf2538;font-size:19px;width:24px;flex-shrink:0;}
  .mobile-menu-work a > span {flex:1;}
  .mobile-menu-work small,.mobile-menu-links small {margin-left:auto;min-width:20px;padding:2px 6px;border-radius:20px;background:#fff0f2;color:#bf2538;font-size:11px;text-align:center;}
  .mobile-menu-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff;border:1px solid #e5eae7;border-radius:12px;overflow:hidden;}
  .mobile-menu-links a {display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;border-bottom:1px solid #f0f2f1;}
  .mobile-menu-links a:last-child {border-bottom:0;}
  .mobile-menu-links a > i {color:#718277;width:22px;text-align:center;}
  .mobile-menu-work a.is-current,.mobile-menu-links a.is-current {background:#fff0f2;border-color:#edbac2;color:#ac2032!important;font-weight:600;}
  .mobile-menu-channels {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  .mobile-menu-channels a {display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:8px 4px;background:#fff;border:1px solid #e5eae7;border-radius:8px;font-size:13px;}
  .mobile-menu-search {display:flex;gap:8px;margin-top:18px;}
  .mobile-menu-search .form-search {display:block!important;flex:1;min-width:0;width:auto!important;}
  .mobile-menu-search input[type=search] {width:100%;min-height:44px;padding:10px;border:1px solid #dce3df;border-radius:8px;font-size:16px;}
  .mobile-menu-search .search-icon {display:none;}
  .mobile-menu-search button {border:0;border-radius:8px;background:#bc2638;color:#fff;padding:10px 14px;}
  /* Keep the original artwork: three columns, two rows on mobile. */
  body.cms-homepage .ldgc_nav {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
  body.cms-homepage .ldgc_nav > li {height:clamp(52px,15vw,66px)!important;min-height:52px!important;background-size:contain!important;}
  body.cms-homepage .ldgc_nav > li > a {height:100%!important;min-height:52px!important;background-size:contain!important;}
  /* Original mobile section: picture tabs, one focus cover, then dated rows. */
  body.cms-homepage .ldgc_box {padding:6px!important;background:#fffaf1!important;}
  body.cms-homepage .ldgc_box .tab-pane > main {margin-top:10px!important;}
  body.cms-homepage .ldgc_box .focus-side-preview {display:none!important;}
  body.cms-homepage .ldgc_box .index-list-focus .carousel-inner {border-radius:5px;}
  body.cms-homepage .ldgc_box .index-list-focus .carousel-img {display:block;width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;background:#283944;}
  body.cms-homepage .ldgc_box .index-list-focus .carousel-caption {left:0;right:0;bottom:0;padding:36px 12px 12px;text-align:left;background:linear-gradient(transparent,rgba(0,0,0,.8));text-shadow:none;}
  body.cms-homepage .ldgc_box .carousel-caption h3 {margin:0 0 7px;font-size:16px;line-height:1.4;color:#fff;font-weight:600;}
  body.cms-homepage .ldgc_box .focus-story-category,
  body.cms-homepage .ldgc_box .focus-story-index {display:none;}
  body.cms-homepage .ldgc_box .focus-story-date {font-size:11px;line-height:1.5;color:#fff;}
  body.cms-homepage .ldgc_box .focus-story-date i {margin-right:5px;}
  body.cms-homepage .ldgc_box .carousel-indicators {display:none;}
  body.cms-homepage .ldgc_box .focus-newsText {background:transparent;}
  body.cms-homepage .ldgc_box .focus-newsText .list ul {padding:0 6px;margin:0;min-height:0;}
  body.cms-homepage .ldgc_box .focus-newsText .list ul li {display:flex;flex-wrap:nowrap;gap:8px;min-height:54px;height:auto;padding:10px 0;border-bottom:1px solid #eee5d5;}
  body.cms-homepage .ldgc_box .focus-newsText .list ul li > span:first-child {display:flex;align-items:center;gap:4px;flex:0 0 64px;width:64px;padding:0;text-align:left;}
  body.cms-homepage .ldgc_box .focus-newsText .days {margin:0;font-size:16px!important;line-height:1.4;color:#bf8238!important;}
  body.cms-homepage .ldgc_box .focus-newsText .dataym {margin:0;font-size:9px!important;line-height:1.4;color:#8a8378!important;}
  body.cms-homepage .ldgc_box .focus-newsText .list ul li > span:last-child {flex:1;min-width:0;width:auto;}
  body.cms-homepage .ldgc_box .focus-newsText .list ul li a {font-size:13px;line-height:1.6;color:#493c31;}
  body.member-page, body.group-page {
    --mobile-accent:#d92336;
    --mobile-ink:#25332e;
    --mobile-muted:#68766f;
    --mobile-border:#e5e9e7;
    font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
    font-size:15px;
    line-height:1.65;
    -webkit-text-size-adjust:100%;
    background-color:#f5f7f8;
  }
  .member-page *, .group-page * {box-sizing:border-box;}
  .member-page .container, .group-page .container {max-width:100%;}
  .member-page img, .group-page img {max-width:100%;}
  .member-page a, .member-page button, .group-page a, .group-page button {touch-action:manipulation;}
  .member-page :focus-visible, .group-page :focus-visible {outline:2px solid #b82234;outline-offset:3px;}
  .member-page input, .member-page textarea, .member-page select,
  .group-page input, .group-page textarea, .group-page select {font-size:16px;}
  .member-page .form-control, .group-page .form-control {min-height:44px;border-radius:8px;border-color:#dce3df;box-shadow:none;}
  .member-page textarea.form-control, .group-page textarea.form-control {height:auto;line-height:1.75;}
  .member-page .btn, .group-page .btn {min-height:42px;border-radius:8px;white-space:normal;line-height:1.5;}
  .member-page .btn-sm, .group-page .btn-sm {padding:9px 12px;}
  .member-page .help-block, .member-page .text-muted {overflow-wrap:anywhere;}
  .member-page .form-control[readonly], .member-page .form-control[disabled] {background:#f1f4f3;color:#58675f;}
  .member-page .control-label {margin-bottom:6px;line-height:1.5;}
  .member-page .form-group {margin-bottom:18px;}
  .member-page .input-group {width:100%;}
  .member-page .input-group .form-control {min-width:0;}
  .member-page .input-group-addon .btn {white-space:nowrap;}
  .member-page .bootstrap-select > .dropdown-toggle {padding:10px 30px 10px 12px;}
  .member-page .bootstrap-select .dropdown-menu {max-width:100%;}
  .member-page .dropdown-menu > li > a {min-height:42px;white-space:normal;overflow-wrap:anywhere;}
  .member-page .checkbox label, .member-page .radio label {min-height:36px;padding-top:6px;}

  /* Shared top navigation and the existing member drawer. */
  .member-page > .navbar, .group-page .header > .navbar {min-height:60px;background:#fff;border-bottom:2px solid var(--mobile-accent);}
  .member-page > .navbar .navbar-brand, .group-page .navbar .navbar-brand {height:58px!important;max-width:210px;padding:8px 14px!important;}
  .member-page > .navbar .navbar-brand img, .group-page .navbar .navbar-brand img {height:100%;object-fit:contain;}
  .member-page > .navbar .navbar-toggle, .group-page .navbar .navbar-toggle {width:44px;min-height:44px;margin:7px 12px 7px 0;border-radius:8px;border:1px solid #e6eae8;background:#fff;}
  .member-page #header-navbar {max-height:calc(100vh - 62px);max-height:calc(100dvh - 62px);overflow-y:auto;background:#fff;}
  .member-page #header-navbar .navbar-nav {margin-top:4px;margin-bottom:4px;}
  .member-page #header-navbar .navbar-nav > li > a {min-height:44px;padding:11px 16px;}
  .group-page #navbar-collapse.active {max-width:calc(100vw - 54px);overflow-y:auto;overscroll-behavior:contain;}
  .group-page #navbar-collapse.active .navbar-nav a {min-height:44px;line-height:1.5;white-space:normal;}
  .group-page #navbar-collapse.active .form-search {max-width:100%;}
  .member-page .sidenav {top:62px;height:calc(100vh - 62px);height:calc(100dvh - 62px);padding-bottom:calc(80px + env(safe-area-inset-bottom));background:#fff;overscroll-behavior:contain;}
  .member-page .sidenav .list-group-item > a {display:block;min-height:44px;line-height:1.5;padding-top:10px;padding-bottom:10px;}
  .member-page .sidebar-toggle {right:14px;bottom:calc(18px + env(safe-area-inset-bottom));border:1px solid #e3e9e5;box-shadow:0 4px 16px #213b3020;}

  /* Member pages: use the available width without nesting narrow cards. */
  .member-page #content-container, .member-page .container.mt-20 {width:100%;padding-left:12px;padding-right:12px;}
  .member-page #content-container > .row {margin-left:0;margin-right:0;}
  .member-page #content-container > .row > [class*="col-"] {padding-left:0;padding-right:0;}
  .member-page .container.mt-20 > #content-container {padding:0;}
  .member-page .panel {border:1px solid var(--mobile-border);border-radius:12px;box-shadow:0 3px 14px #263f3205;}
  .member-page .panel-body {padding:18px 14px;}
  .member-page h2.page-header {margin:0 0 18px;padding:0 0 14px;font-size:21px;font-weight:650;line-height:1.5;color:var(--mobile-ink);flex-wrap:wrap;}
  .member-page .page-header .pull-right {float:none!important;}
  .member-page .breadcrumb {padding:10px 12px;border-radius:8px;font-size:13px;line-height:1.8;overflow-wrap:anywhere;}
  .member-page .channel-list {display:flex;gap:7px;flex-wrap:wrap;background:#f5f7f6;}
  .member-page .channel-list > li + li:before {content:none;}
  .member-page .channel-list > li > a {display:block;min-height:36px;padding:6px 10px;border-radius:6px;color:#56665d;}
  .member-page .channel-list > li.active > a {background:#fff0f2;color:#b51f30;}
  .member-page .member-archives-tools {position:static!important;margin:0 0 16px;}
  .member-page .member-archives-tools .form-inline {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;}
  .member-page .member-archives-tools .form-control {width:100%;margin:0;}
  .member-page .member-archive-card {display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;margin:0;padding:14px 0;}
  .member-page .member-archive-card:before, .member-page .member-archive-card:after {display:none;content:none;}
  .member-page .member-archive-card > [class*="col-"] {width:auto;min-width:0;padding:0;float:none;}
  .member-page .member-archive-card .embed-responsive {border-radius:8px;background:#f1f4f2;}
  .member-page .member-archive-card h4 {margin:0 0 8px;font-size:16px;font-weight:500;line-height:1.65;overflow-wrap:anywhere;}
  .member-page .member-archive-card p {margin-bottom:7px;font-size:12px;}
  .member-page .member-archive-card + hr {margin:2px 0;border-color:#edf0ee;}

  /* Existing message links, order, timestamps and read states are retained. */
  .member-page .member-message-list {padding:0!important;}
  .member-page .member-message-heading {display:none!important;}
  .member-page .member-message-row {float:none!important;padding:14px 0!important;border-bottom:1px solid #e8eeea!important;}
  .member-page .member-message-row > ul {display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:6px 8px;margin:0;padding:0;}
  .member-page .member-message-row > ul > li {float:none!important;width:auto!important;min-width:0;margin:0!important;text-align:left!important;overflow:visible!important;}
  .member-page .member-message-row > ul > li:nth-child(1) {grid-column:1;grid-row:1;color:#88958e;font-size:12px;}
  .member-page .member-message-row > ul > li:nth-child(2) {grid-column:2/-1;grid-row:1;font-size:15px;line-height:1.7;overflow-wrap:anywhere;}
  .member-page .member-message-row > ul > li:nth-child(3) {grid-column:2;grid-row:2;font-size:12px;color:#7b8981;}
  .member-page .member-message-row > ul > li:nth-child(4) {grid-column:3;grid-row:2;font-size:12px;}

  /* Upload forms and all rich-text tools remain available. */
  .member-page #post-form .input-group:has(.plupload) {display:flex;flex-wrap:wrap;gap:8px;}
  .member-page #post-form .input-group:has(.plupload) > .form-control {width:100%;float:none;border-radius:8px;}
  .member-page #post-form .input-group:has(.plupload) > .input-group-addon {width:auto;display:flex;gap:8px;background:transparent;}
  .member-page .ke-container {max-width:100%!important;min-width:0!important;height:auto!important;border:1px solid #dce4df;border-radius:8px;overflow:hidden;}
  .member-page .ke-container::before {content:"编辑工具可左右滑动";display:block;padding:7px 10px;background:#f7f9f8;color:#75847a;font-size:11px;}
  .member-page .ke-toolbar {display:flex!important;flex-wrap:nowrap;align-items:center;overflow-x:auto;overflow-y:hidden;white-space:nowrap;max-width:100%;padding:5px!important;background:#f7f9f8;border-bottom:1px solid #e3e9e5;-webkit-overflow-scrolling:touch;}
  .member-page .ke-toolbar .ke-outline {display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;float:none;width:40px;height:40px;margin:0 2px;padding:0;border-radius:5px;}
  .member-page .ke-toolbar .ke-separator {flex:0 0 1px;height:24px;}
  .member-page .ke-toolbar .ke-hr {display:none;}
  .member-page .ke-edit, .member-page .ke-edit-iframe {min-height:260px;}
  .member-page .ke-edit-textarea {max-width:100%;font-size:16px;}
  .member-page .ke-dialog {max-width:calc(100vw - 24px)!important;}
  .member-page .ke-dialog-content {max-height:75vh;overflow:auto;}
  .member-page .collect-form {padding:14px;border:1px solid #e7ece9;border-radius:10px;box-shadow:none;}
  .member-page .collect-form .alert {padding:12px 14px;border-radius:8px;line-height:1.8;font-size:13px;}
  .member-page .platform-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .member-page .platform-option {display:flex;justify-content:center;align-items:center;gap:6px;margin:0!important;min-width:0;min-height:48px;padding:10px 5px;font-size:14px;border-radius:8px;}
  .member-page .channel-options, .member-page .type-options {display:flex;flex-wrap:wrap;gap:8px;}
  .member-page .channel-option, .member-page .type-option {margin:0;min-height:42px;padding:9px 12px;}
  .member-page .btn-collect, .member-page .btn-submit, .member-page .btn-cancel {min-height:46px;max-width:100%;border-radius:8px;}
  .member-page .btn-collect {width:100%;}
  .member-page .preview-header h2 {font-size:19px;line-height:1.6;}
  .member-page .preview-section, .member-page .preview-item {max-width:100%;overflow-wrap:anywhere;}
  .member-page .proofread-hero {padding:18px 16px;border-radius:12px;}
  .member-page .proofread-hero h2 {font-size:21px;line-height:1.5;}
  .member-page .proofread-hero p {font-size:14px;line-height:1.7;}
  .member-page .proofread-metric {padding:10px;min-width:0;}
  .member-page .proofread-metric strong {font-size:18px;overflow-wrap:anywhere;}
  .member-page .proofread-section-title {display:flex;flex-wrap:wrap;gap:6px;font-size:17px;}
  .member-page .proofread-section-title > span {float:none;margin:0;font-size:12px;}
  .member-page .proofread-workspace .panel-body {padding:16px 12px;}
  .member-page .proofread-result-toolbar {flex-wrap:wrap;gap:8px;}
  .member-page .proofread-result-tabs {max-width:100%;display:flex;flex-wrap:wrap;}
  .member-page .proofread-result-tab {min-height:42px;}
  .member-page .proofread-loading-box {max-width:calc(100vw - 32px);}

  /* AI workspace: one reading surface, readable controls and bounded dialogs. */
  .member-page .creation-ai-main {padding:14px 12px 18px;border-radius:12px;}
  .member-page .creation-ai-title {gap:12px;}
  .member-page .creation-ai-title p {font-size:13px;line-height:1.7;}
  .member-page .creation-ai-main #main-nav {display:flex;gap:4px;overflow-x:auto;flex-wrap:nowrap;}
  .member-page .creation-ai-main #main-nav > * {flex:0 0 auto;min-height:44px;padding:10px 9px;font-size:13px;white-space:nowrap;}
  .member-page .creation-stage-switch button {min-height:58px;padding:10px 8px;}
  .member-page .creation-stage-switch button small {font-size:11px;line-height:1.5;}
  .member-page .creation-ai-main .draft-item {min-width:160px;line-height:1.6;}
  .member-page .creation-ai-main #tab-create .drafts {max-height:none!important;overflow:hidden;padding:12px!important;}
  .member-page .creation-ai-main #tab-create .drafts .section-head {min-height:44px;padding:0 0 8px;}
  .member-page .creation-ai-main #tab-create #draft-list {max-height:180px;overflow-y:auto;padding-bottom:4px;}
  .member-page .creation-ai-main #messages {max-height:none!important;overflow:visible;min-height:80px;}
  .member-page .creation-ai-main .message {font-size:15px;line-height:1.85;padding:14px 0;}
  .member-page .creation-ai-main #chat-input {font-size:16px;min-height:112px;max-height:280px;}
  .member-page .creation-ai-main .composer-actions {grid-template-columns:100px minmax(0,1fr);gap:8px;}
  .member-page .creation-ai-main .composer-actions #send, .member-page .creation-ai-main .upload-button {min-height:46px;font-size:14px;}
  .member-page .creation-ai-main #job-state {font-size:12px;line-height:1.6;}
  .member-page .creation-ai-main .hot-toolbar {padding:8px;gap:8px;flex-wrap:wrap;}
  .member-page .creation-ai-main .segmented {flex:1;min-width:0;display:flex;}
  .member-page .creation-ai-main .segmented button {min-width:0;flex:1;padding:10px 8px;font-size:13px;min-height:42px;}
  .member-page .creation-ai-main .hot-row h3 {font-size:17px;line-height:1.6;}
  .member-page .creation-ai-main .hot-list-title {gap:8px;flex-wrap:wrap;}
  .member-page .creation-ai-main #hot-status {font-size:12px;overflow-wrap:anywhere;}
  .member-page dialog {width:calc(100% - 24px);max-width:560px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0 14px;border-radius:12px;}
  .member-page dialog footer {flex-wrap:wrap;gap:10px;padding-bottom:calc(14px + env(safe-area-inset-bottom));}
  .member-page dialog footer button {min-height:44px;}
  .member-page #confirm-dialog footer > button {width:100%;}
  .member-page #notice {max-width:calc(100vw - 24px);width:max-content;font-size:14px;line-height:1.6;}

  /* Public content: keep the existing brand artwork and reading order. */
  .group-page .main-content {padding-top:12px;}
  .group-page #content-container {padding-left:12px;padding-right:12px;}
  .group-page .article-item {padding:16px 0;}
  .group-page .article-item > .media {display:flex;gap:12px;align-items:flex-start;}
  .group-page .article-item > .media > .media-left {display:block;flex:0 0 92px;width:92px!important;min-width:0;padding:0!important;}
  .group-page .article-item > .media > .media-body {display:block;flex:1;min-width:0;width:auto;}
  .group-page .article-item .media-left {width:104px;min-width:104px;padding-right:12px;}
  .group-page .article-item .media-left .embed-responsive {width:92px;border-radius:7px;background:#f0f3f1;}
  .group-page .article-item .article-title {font-size:16px!important;line-height:1.65!important;margin-top:0;margin-bottom:6px;overflow-wrap:anywhere;}
  .group-page .article-item .article-intro {font-size:13px;line-height:1.7;color:#718078;}
  .group-page .article-tag {font-size:12px;line-height:1.8;white-space:normal;}
  .group-page .article-content {border:0;border-radius:10px;box-shadow:none;}
  .group-page .article-content .panel-body {padding:18px 14px;}
  .group-page .article-content h1 {font-size:24px;line-height:1.5;overflow-wrap:anywhere;}
  .group-page .article-text {font-size:16px;line-height:1.9;overflow-wrap:anywhere;}
  .group-page .article-text section, .group-page .article-text div, .group-page .article-text p {max-width:100%!important;box-sizing:border-box;}
  .group-page .article-text video, .group-page .article-text iframe {max-width:100%!important;}
  .group-page .article-text table {display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .group-page .article-text pre {max-width:100%;overflow-x:auto;}
  .group-page .breadcrumb {font-size:13px;line-height:1.8;white-space:normal;overflow-wrap:anywhere;}
  .cms-homepage .zdxm {gap:8px!important;margin:12px 0 18px!important;}
  .cms-homepage .zdxm a {border-radius:10px;box-shadow:none;}
  .cms-homepage .widjet__head h3.uk-text-lead {font-size:20px!important;}
  .cms-homepage .widjet__head a {font-size:13px;}
  .cms-homepage .ldgc_nav {gap:6px!important;}
  .cms-homepage .ldgc_nav > li, .cms-homepage .ldgc_nav > li > a {height:72px!important;min-height:72px;}
  .cms-homepage .focus-newsText .list ul li a {font-size:15px;line-height:1.7;}
  .cms-homepage .hotnews-tabs {display:flex;flex-wrap:wrap;gap:4px;}
  .cms-homepage .hotnews-tabs a {min-height:40px;padding:9px 10px;font-size:13px;}
  .cms-homepage .fragment .icon a {display:block;min-height:44px;}
  .cms-homepage .cbjz_list_item {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;}
  .cms-homepage .cbjz_list_item:before, .cms-homepage .cbjz_list_item:after {display:none;}
  .cms-homepage .cbjz_list_item > div {float:none;width:auto;padding:0;}
  .cms-homepage .cbjz_list_item img {width:100%;height:auto;}

  /* Login, pagination, long tables and the existing popup system. */
  .member-page .login-section, .member-page .register-section, .member-page .user-section {width:100%;max-width:440px;margin:16px auto 28px;border-radius:12px;background:#fff;}
  .member-page .login-main, .member-page .register-main {padding:20px 16px;}
  .member-page .logon-tab > a {min-height:48px;font-size:17px;}
  .member-page .table-responsive, .member-page .fixed-table-body {max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .member-page .fixed-table-body > table {min-width:540px;}
  .member-page .pagination, .group-page .pagination {display:flex;flex-wrap:wrap;justify-content:center;gap:5px;}
  .member-page .pagination > li > a, .member-page .pagination > li > span,
  .group-page .pagination > li > a, .group-page .pagination > li > span {min-width:40px;min-height:40px;padding:9px 12px;border-radius:6px!important;}
  .member-page .layui-layer:not(.layui-layer-tips):not(.layui-layer-loading),
  .group-page .layui-layer:not(.layui-layer-tips):not(.layui-layer-loading) {max-width:calc(100vw - 24px)!important;left:12px!important;right:12px;margin-left:auto;margin-right:auto;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);}
  .member-page .layui-layer-page .layui-layer-content, .group-page .layui-layer-page .layui-layer-content {max-height:calc(100vh - 150px);overflow:auto;}
  .member-page .layui-layer-btn a, .group-page .layui-layer-btn a {height:auto;min-height:40px;line-height:24px;padding:8px 16px;}
  .member-page .footer, .group-page #footer {padding-bottom:calc(24px + env(safe-area-inset-bottom));overflow-wrap:anywhere;font-size:12px;}
  .group-page #footer .footer-inner {padding:20px 0;}
  .group-page #footer .pull-left {float:none!important;text-align:center;}
  .group-page #footer .list-inline a {display:inline-block;padding:8px 5px;min-height:40px;}
}
@media screen and (max-width:359px) {
  .member-page .member-archive-card {grid-template-columns:72px minmax(0,1fr);gap:10px;}
  .member-page .member-archives-tools .form-inline {grid-template-columns:1fr;}
  .member-page .creation-ai-main #main-nav > * {padding:10px 7px;font-size:12px;}
  .member-page .creation-ai-main .composer-actions {grid-template-columns:88px minmax(0,1fr);}
}
@media screen and (max-width:767px) and (prefers-reduced-motion:reduce) {
  .member-page .sidenav, .group-page .navbar-collapse, .group-page .carousel-inner > .item {transition:none!important;}
}
