:root {
  --bg: #f3efe7;
  --paper: #fffdf8;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5dccd;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #b45309;
  --chip: #eef9f7;
  --rank: #fff5e6;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  line-height: 1.7;
  background:
    radial-gradient(1000px 420px at 0 -10%, #e0f2fe 0%, transparent 60%),
    radial-gradient(900px 520px at 100% 0, #ffedd5 0%, transparent 50%),
    var(--bg);
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 18px 14px 36px; }

.top {
  background: rgba(255,253,248,.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 16px;
}
.top-1 { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { margin: 0; font-size: 30px; letter-spacing: 1px; }
.logo small { font-size: 13px; color: var(--muted); margin-left: 8px; }
.top-links { display: flex; gap: 12px; font-size: 14px; flex-wrap: wrap; align-items: center; }

.search {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 10px;
}
.search input {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 13px;
  font-size: 15px;
}
.search button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg,var(--brand),var(--brand-dark));
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.nav-main, .nav-sub { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.nav-main a, .nav-sub a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
}
.nav-main a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.notice {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed #d1c7b5;
  border-radius: 12px;
  background: #fff7ea;
  font-size: 14px;
}

.hero {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(15,118,110,.12), rgba(180,83,9,.12));
  padding: 18px;
}
.hero h2 { margin: 0 0 8px; font-size: 28px; }
.hero p { margin: 0; color: #374151; }

.kpi {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.kpi .item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.kpi .num { font-size: 22px; color: var(--brand-dark); font-weight: bold; line-height: 1.2; }
.kpi .txt { font-size: 12px; color: var(--muted); }

.layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.panel h3 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 214, 224, 0.28);
  font-size: 18px;
}
.body { padding: 12px 14px; }

.grid2 {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.book {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  overflow: hidden;
}
.book img {
  width: 88px;
  height: 122px;
  object-fit: cover;
  border-radius: 8px;
  float: left;
  margin-right: 10px;
}
.book h4 { margin: 0; font-size: 15px; line-height: 1.4; }

.book .desc {
  margin-top: 6px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.55;
}
.meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.meta small { font-size: inherit; }
.meta a { color: #AE8F00; font-size: inherit; text-decoration: none; }
.meta a:hover { color: #EAC100; text-decoration: none; }
.badge {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 5px;
  padding: 1px 6px;
  margin-right: 6px;
}

.lines { list-style: none; margin: 0; padding: 0; }
.lines li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed var(--line);
  padding: 7px 0;
}
.lines li:last-child { border-bottom: 0; }
.date { color: var(--muted); font-size: 12px; white-space: nowrap; }

.lines-books li {
  align-items: center;
  padding: 9px 0;
}
.lines-books .line-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.lines-books .cat {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
  color: #0f766e;
  background: #e8f7f4;
  border: 1px solid #b9e3dc;
  border-radius: 999px;
  padding: 4px 8px;
}
.lines-books .line-main > a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lines-books .author {
  flex: 0 0 auto;
  font-size: 12px;
  color: #64748b;
}
.lines-books .date {
  flex: 0 0 auto;
  min-width: 42px;
  text-align: right;
}

.rank { background: var(--rank); }
.rank .no {
  display: inline-block;
  min-width: 18px;
  text-align: center;
  font-weight: bold;
  color: #9a3412;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
  border: 1px solid #cae8e3;
  background: var(--chip);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.filters { margin: 8px 0 2px; }
.filters .row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.filters a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  background: #fff;
}
.filters a.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.desc {
  margin-top: 8px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ece2d2;
  background: #fff;
  color: #374151;
  font-size: 14px;
}

.desc > .topic-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.desc > .topic-link strong {
  color: var(--brand-dark);
}
.desc:hover {
  border-color: #d8c9b0;
  background: #fffaf1;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
}
.desc:hover > .topic-link strong {
  color: var(--brand);
  text-decoration: underline;
}

.page-info .panel .body .tips{
  position:relative;
  margin-top:12px;
  padding:12px 14px 12px 44px;
  border:2px dashed #efd3bb;
  border-radius:10px;
  background:linear-gradient(180deg,#fffdf9 0%,#fff8f1 100%);
  color:#8b4a22;
  line-height:1.8;
  font-size:13px;
}
.page-info .panel .body .tips::before{
  content:"TIP";
  position:absolute;
  left:12px;
  top:24px;
  transform:translateY(-50%);
  display:inline-block;
  padding:1px 6px;
  border-radius:999px;
  background:#d86a2f;
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.3px;
  line-height:16px;
}
.page-info .intro-panel .desc{
  font-size:15px;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  position:relative;
  padding-bottom:30px;
}
.page-info .intro-panel .desc:hover{
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
.page-info .intro-panel .desc.collapsed{
  max-height:420px;
}
.page-info .intro-panel .desc.collapsed::after{
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.92));
}
.page-info .intro-panel .intro-more-tail{
  display:inline-flex;
  align-items:baseline;
  gap:4px;
  color:#8b4a22;
  font-size:13px;
  line-height:1.7;
  vertical-align:baseline;
  position:absolute;
  right:10px;
  bottom:9px;
  z-index:3;
  padding-left:8px;
  background:linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.92) 26%, rgba(255,255,255,.98) 100%);
}
.page-info .intro-panel .intro-more-btn{
  border:0;
  background:transparent;
  color:#e78e8f;
  padding:0;
  line-height:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.page-info .intro-panel .intro-more-btn:hover,
.page-info .intro-panel .intro-more-btn:visited{
  color:#e78e8f;
  text-decoration:none;
}
.page-info .intro-panel .desc.collapsed .intro-more-tail{bottom:5px;}
.page-info .detail .kv{
  position:relative;
  padding-right:255px;
  min-height:170px;
}
.page-info .detail .author-side{
  position:absolute;
  top:2px;
  right:0;
  width:235px;
  padding:10px 12px;
  border:1px dashed #d6b89d;
  border-radius:10px;
  background:#fff8f2;
}
.page-info .detail .author-side h4{
  margin:0 0 6px;
  font-size:13px;
  color:#965a31;
}
.page-info .detail .author-side a{
  display:block;
  line-height:1.7;
  font-size:13px;
  color:#915127;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.page-info .detail .author-side a:hover{
  color:#c4551f;
  text-decoration:underline;
}

.detail {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 14px;
}
.detail img {
  width: 102px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.kv p { margin: 6px 0; }

.download-box {
  border: 1px solid #bfe2dc;
  border-radius: 12px;
  background: #f2fbf9;
  padding: 12px;
}

.download-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:184px;
      margin:0 10px 10px 0;
      border-radius:12px;
      padding:11px 16px;
      color:#fff !important;
      text-decoration:none;
      font-weight:700;
      background:linear-gradient(135deg,#da5627,#b13e18);
      box-shadow:0 10px 18px rgba(184,70,29,.24);
    }

.download-btn:hover{filter:brightness(1.04)}

.qa { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; }
.qa p { margin: 6px 0; }

.pager { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 9px;
  line-height: 1;
  height: 30px;
  text-decoration: none;
}
.pager a:hover {
  background: #f3ede1;
  text-decoration: none;
}
.pager > b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  padding: 5px 9px;
  line-height: 1;
  height: 30px;
  font-weight: 700;
  vertical-align: middle;
}
.pager span { background: var(--brand); border-color: var(--brand); color: #fff; }

.foot {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .kpi { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px){
  .page-info .detail .kv{ padding-right:0; }
  .page-info .detail .author-side{
    position:static;
    width:auto;
    margin:10px 0 6px;
  }
}
@media (max-width: 680px) {
  .logo { font-size: 24px; }
  .search { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
}

.search-history { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.search-history a {
  font-size: 12px;
  color: #0f766e;
  background: #edf9f6;
  border: 1px solid #c8e8e2;
  border-radius: 999px;
  padding: 3px 10px;
}

.functional-bar { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.functional-bar button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}

.float-tools {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-tools button {
  border: 0;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: 0 8px 20px rgba(15,118,110,.28);
  cursor: pointer;
}

.copy-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.copy-btn {
  border: 1px solid #b8ddd6;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  background: #fff;
  color: #0f766e;
  cursor: pointer;
}

.desc.collapsed {
  max-height: 120px;
  overflow: hidden;
  position: relative;
}
.desc.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

body.night {
  background: #1f2937;
  color: #e5e7eb;
}
body.night .top,
body.night .panel,
body.night .book,
body.night .item,
body.night .desc,
body.night .download-box,
body.night .notice,
body.night .search input,
body.night .search-history a,
body.night .functional-bar button,
body.night .copy-btn,
body.night .nav-main a,
body.night .nav-sub a,
body.night .pager a,
body.night .pager span {
  background: #111827;
  color: #e5e7eb;
  border-color: #374151;
}
body.night a { color: #86efac; }
body.night .meta,
body.night .date,
body.night .foot { color: #9ca3af; }

.checkin { background: #f7fbff; }
.checkin-list { list-style: none; margin: 0; padding: 0; }
.checkin-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--line);
  padding: 8px 0;
}
.checkin-list li:last-child { border-bottom: 0; }
.checkin-list .user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.checkin-list img { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #dbe7f3; object-fit: cover; }
.checkin-list .name { font-size: 13px; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkin-list .times { font-size: 12px; color: #64748b; white-space: nowrap; }

body { padding-top: 58px; }

.top-float {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: rgba(110, 28, 43, 0.68);
  border-bottom: 1px solid rgba(255, 214, 224, 0.28);
  backdrop-filter: blur(12px) saturate(145%);
  box-shadow: 0 8px 24px rgba(60, 10, 20, 0.28);
}
.top-float-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-float .site {
  font-size: 18px;
  font-weight: 700;
  color: #dbe7f3;
  white-space: nowrap;
}
.top-float-nav {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.top-float-nav a {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  line-height: 1.3;
}
.top-float-auth {
  display: flex;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
}
.top-float-auth a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #b7d8d3;
  background: #eef9f7;
  font-size: 13px;
}
.top-float-auth a:hover {
  background: #000;
  text-decoration: none;
  border: 1px solid #b7d8d3;
}

@media (max-width: 680px) {
  body { padding-top: 54px; }
  .top-float-inner { gap: 8px; padding: 7px 10px; }
  .top-float .site { font-size: 15px; }
  .top-float-nav a { font-size: 12px; padding: 7px 8px; }
  .top-float-auth a { font-size: 12px; padding: 7px 8px; }
}

/* top-float link square */
.top-float-nav a,
.top-float-auth a {
  border-radius: 0;
}

/* top-float hover-only background */
.top-float-nav a,
.top-float-auth a {
  background: transparent;
  box-shadow: none;
}

/* top-float no-border light-hover */
.top-float-nav a,
.top-float-auth a {
  border: 0;
  border-color: transparent;
  background: transparent;
}
.top-float-nav a:hover,
.top-float-auth a:hover {
  background: rgba(255, 214, 226, 0.28);
  border: 0;
  border-color: transparent;
}

/* top-float white-link button-auth */
.top-float-nav a,
.top-float-nav a:hover,
.top-float-nav a:focus {
  color: #ffffff;
  text-decoration: none;
}

.top-float-auth a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 232, 239, 0.35);
}
.top-float-auth a:hover,
.top-float-auth a:focus {
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 239, 244, 0.58);
}

/* top-float deeper-bg auth-round-no-shift */
.top-float {
  background: rgba(52, 6, 16, 0.86);
}
.top-float-auth a {
  border-radius: 8px;
}
.top-float-auth a:hover,
.top-float-auth a:focus,
.top-float-auth a:active {
  transform: none;
}

/* auth button fixed-border on click */
.top-float-auth a:hover,
.top-float-auth a:focus,
.top-float-auth a:active {
  border-color: rgba(255, 232, 239, 0.35);
}
.top-float-auth a:active {
  background: rgba(255, 255, 255, 0.30);
}

/* home selected state */
.top-float-nav a.active,
.top-float-nav a.active:hover,
.top-float-nav a.active:focus {
  background: rgba(255, 255, 255, 0.26);
  border: 0;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

/* heading polish: h1/h2/h3/h4 */
.top .logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.2;
  color: #7c2d12;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}
.top .logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: min(210px, 58%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b45309, rgba(180, 83, 9, 0));
}
.top .logo small {
  font-size: 13px;
  color: #6b7280;
  letter-spacing: 0;
}

.hero h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 10px;
  padding-right: 14px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  color: #0f4f4a;
  letter-spacing: 1px;
}
.hero h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15,118,110,.72), rgba(180,83,9,.18));
}

.panel h3 {
  position: relative;
  padding: 12px 14px 12px 18px;
  font-size: 18px;
  font-weight: 700;
  color: #1f3f3a;
  letter-spacing: .4px;
}
.panel h3::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, #0f766e, #b45309);
}

@media (max-width: 680px) {
  .top .logo {
    font-size: 24px;
    letter-spacing: .6px;
  }
  .top .logo::after {
    bottom: -6px;
    height: 3px;
    width: 52%;
  }
  .hero h2 {
    font-size: 22px;
  }
  .panel h3 {
    font-size: 17px;
  }
  .lines-books .line-main {
    gap: 6px;
  }
  .lines-books .cat {
    padding: 3px 6px;
    font-size: 10px;
  }
  .lines-books .author {
    display: none;
  }
}

/* latest-upload section title row beautify */
.panel.latest-upload .body.grid2 > div > h4 {
  margin: 0 0 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #d8ece7;
  border-radius: 10px;
  background: linear-gradient(90deg, #f4fbf9 0%, #ffffff 100%);
  color: #134e4a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.panel.latest-upload .body.grid2 > div > h4 > a {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: #0f766e;
  background: #e9f8f4;
  border: 1px solid #bfe5dc;
  border-radius: 999px;
  padding: 2px 9px;
  text-decoration: none;
}
.panel.latest-upload .body.grid2 > div > h4 > a:hover {
  color: #ffffff;
  background: #0f766e;
  border-color: #0f766e;
  text-decoration: none;
}
@media (max-width: 680px) {
  .panel.latest-upload .body.grid2 > div > h4 {
    font-size: 14px;
    padding: 7px 9px;
  }
  .panel.latest-upload .body.grid2 > div > h4 > a {
    font-size: 11px;
    padding: 2px 8px;
  }
}

.layout > aside {
  position: sticky;
  top: 70px;
  align-self: start;
  height: fit-content;
}

@media (max-width: 980px) {
  .layout > aside {
    position: static;
    top: auto;
    height: auto;
  }
}

.mobile-nav-tools,
.mobile-nav-panel {
  display: none;
}

@media (max-width: 680px) {
  .top-float-inner {
    justify-content: space-between;
  }
  .top-float-nav,
  .top-float-auth {
    display: none;
  }
  .mobile-nav-tools {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .mobile-nav-back,
  .mobile-nav-menu {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 232, 239, 0.4);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 34px;
    cursor: pointer;
  }
  .mobile-nav-menu::before {
    content: "≡ ";
    font-weight: 700;
  }
  .mobile-nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1201;
    padding: 10px;
    background: rgba(52, 6, 16, 0.97);
    border-top: 1px solid rgba(255, 214, 224, 0.3);
    box-shadow: 0 10px 24px rgba(20, 2, 6, 0.35);
  }
  .top-float.mobile-open .mobile-nav-panel {
    display: block;
  }
  .mobile-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 62vh;
    overflow-y: auto;
  }
  .mobile-nav-list a {
    display: block;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 232, 239, 0.3);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.3;
  }
  .mobile-nav-list a.mobile-auth-link {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
  }
}
