@charset "utf-8";
/* ===========================================================
   公共样式 — 基于 mad-show.com 风格改造
   配色、字体、按钮、圆角、阴影等视觉风格统一
   =========================================================== */

/* ─── Google Fonts：英文模式使用（参考旧版网站） ─── */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Roboto&display=swap");

/* ─── 英文导航字体 GothamBook ─── */
@font-face {
  font-family: 'GothamBook';
  src: url('/font/gotham-book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ─── Reset ─── */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main { display: block; }
ol, ul, dl { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
input, select { vertical-align: middle; }
input, textarea, select, button {
  font-size: 100%; font-family: inherit; margin: 0; padding: 0;
}
input:focus, button:focus { outline: none; }
:focus { outline: none; }
a img, iframe { border: none; }
button, html input[type="button"],
input[type="reset"], input[type="submit"] {
  -webkit-appearance: button; cursor: pointer;
}
button[disabled], html input[disabled] { cursor: default; }
button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; }
input { line-height: normal; }
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box; padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { height: auto; }
input[type="search"] {
  box-sizing: content-box; -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
* { box-sizing: border-box; }
*:before, *:after { box-sizing: border-box; }
h1,h2,h3,h4,h5,h6 { font-weight: normal; }
i { margin-top: 0; padding: 0; }

/* ─── CSS 变量（旧网站配色方案） ─── */
:root {
  --main-color: #0073c0;
  --main-hover: #00479d;
  --accent-green: #17a379;
  --accent-orange: #de7b24;

  --text: #333;
  --text-secondary: #666;
  --text-muted: #999;

  --bg: #f5f5f5;
  --bg-white: #fff;
  --bg-section: #eee;
  --bg-topbar: #f5f5f5;

  --border: #ddd;
  --border-light: #eee;
  --border-dark: #e5e5e5;

  --radius: 5px;
  --radius-sm: 3px;
  --radius-lg: 8px;

  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.10);

  --nav-height: 80px;
  --max-width: 1450px;

  /* 兼容别名 — 旧代码内联样式使用 */
  --primary: var(--main-color);
  --danger: #ff4d4f;
  --success: #52c41a;
  --warning: #faad14;
}

/* ─── 基础 ─── */
html { background: #fff; overflow-y: scroll; }
body {
  font-size: 14px;
  line-height: 1.5;
  overflow-x: auto;
  color: var(--text);
  -webkit-font-smoothing: subpixel-antialiased;
  font-family: "Microsoft YaHei", "黑体", "宋体", Arial, Helvetica, sans-serif;
  background: var(--bg);
  min-height: 100vh;
}

/* 英文模式字体：参考旧版网站 css.css，英文默认 Poppins（Google Fonts），回退 GothamBook */
html.lang-en body,
html.lang-en input,
html.lang-en textarea,
html.lang-en button {
  font-family: 'Poppins', 'GothamBook', 'Roboto', Arial, Helvetica, sans-serif, "宋体";
}
html.lang-en .nav .nLi,
html.lang-en .nav a {
  font-family: 'Poppins', 'GothamBook', 'Roboto', Arial, Helvetica, sans-serif, "宋体";
}
/* 英文 Poppins 字体与中文对齐，nav 位置与中文模式一致 */
html.lang-en .nav {
  margin-left: 125px;
}
html.lang-en .nav .nLi h3 a {
  letter-spacing: -0.5px;
}

a {
  color: var(--text);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
}
a:hover { color: var(--main-color); }
a:focus, a:active { outline: none; }

h1, .h1 { font-size: 36px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 16px; }
h6, .h6 { font-size: 14px; }

/* ─── 布局 ─── */
.section {
  width: 100%;
  min-width: 1450px;
  padding: 40px 0;
  height: auto;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}
.container {
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
}
.clearfix:before, .clearfix:after,
.container:before, .container:after,
.section:before, .section:after {
  display: table; content: " ";
}
.clearfix:after, .container:after, .section:after { clear: both; }
.fl { float: left; }
.fr { float: right; }
.txt-lt { text-align: left; }
.txt-cr { text-align: center; }
.txt-rt { text-align: right; }

.mgn-t5  { margin-top: 5px; }
.mgn-t10 { margin-top: 10px; }
.mgn-t15 { margin-top: 15px; }
.mgn-t20 { margin-top: 20px; }
.mgn-t25 { margin-top: 25px; }
.mgn-t30 { margin-top: 30px; }
.mgn-t35 { margin-top: 35px; }
.mgn-t40 { margin-top: 40px; }
.mgn-t45 { margin-top: 45px; }
.mgn-t50 { margin-top: 50px; }

.img-block { display: block; margin: 0 auto; width: 100%; height: auto; }
.transitions {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.pic { height: auto; overflow: hidden; }
.pic img {
  display: block; margin: 0 auto;
  width: 100%; height: auto; transition: 0.5s;
}

/* ─── 顶部栏 ─── */
.full-top {
  width: 100%;
  min-width: 1450px;
  background-color: var(--bg-topbar);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}
.top-welcome {
  line-height: 34px;
  font-size: 14px;
  color: #555;
}
.top-list-contact {
  display: flex;
  align-items: center;
  height: 34px;
}
.top-list-contact li {
  font-size: 14px;
  margin-right: 25px;
}
.top-list-contact li a { color: #555; }
.top-list-contact li i {
  display: inline-block;
  font-size: 20px;
  margin-right: 5px;
  vertical-align: middle;
}
.top-list-contact li a:hover { color: var(--main-color); }
.top-link { height: auto; overflow: hidden; }
.top-link a {
  display: inline-block;
  margin-left: 15px;
  float: left;
  line-height: 34px;
  color: #555;
}
.top-link a i {
  font-size: 18px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: top;
}
.top-link a:hover { color: var(--main-color); }

/* ─── 导航栏 ─── */
.full-head {
  width: 100%;
  height: auto;
  overflow: visible;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.full-head-spacer {
  height: 80px;
}

/* Logo — 绝对定位在导航栏左侧，参考 mad-show.com 风格 */
.logo {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  z-index: 21;
}
.logo a { display: block; height: 100%; }
.logo img {
  display: block;
  max-height: 60px;
  width: auto;
  height: 100%;
}
/* Logo 图片加载失败时显示文字 */
.logo .logo-text-fallback {
  display: none;
  align-items: center;
  height: 60px;
  font-size: 22px;
  font-weight: 700;
  color: var(--main-color);
  white-space: nowrap;
}
.logo a.text-logo img { display: none; }
.logo a.text-logo .logo-text-fallback { display: flex; }

.header-right {
  display: flex;
  position: relative;
  z-index: 20;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  /* 左右两侧动态留空：宽屏（>1350px）时靠 container 自然边距无需额外空间，
     缩窄时自动补充 padding，防止导航项与 Logo / 用户区域重叠
     左侧 logo 60px宽 + left:15px → 需75px；右侧账户区 ~150px + right:15px → 需165px */
  padding-left: clamp(0px, calc(75px - (100vw - 1450px) / 2), 100px);
  padding-right: clamp(0px, calc(200px - (100vw - 1450px) / 2), 200px);
}

/* 账号区域 — 绝对定位在页面最右侧（与 Logo 对称） */
.header-account {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  height: 80px;
  z-index: 21;
  display: flex;
  align-items: center;
}
/* 账号区域内的组件覆盖默认尺寸，匹配 80px 容器 */
.header-account .user-dropdown {
  height: 80px;
  margin-left: 0;
}
.header-account .user-dropdown-trigger {
  height: 80px;
}
.header-account .lan-menu a {
  height: 80px;
  line-height: 80px;
}

/* ─── 主导航链接 ─── */
.nav {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(20px, calc(6vw - 30px), 80px);  /* 宽屏80px，缩窄时自动收窄；≥1833px保持80px不变 */
  margin-left: 125px;  /* 导航栏整体右移，修改此数值即可调整位置 */
}
.nav .nLi {
  flex-shrink: 0;   /* 选项宽度固定不变 */
  white-space: nowrap;
  height: 80px;
  position: relative;
  z-index: 8888;
}
.nav .nLi h3 { display: block; }
.nav .nLi h3 a {
  display: block;
  font-size: 18px;
  font-weight: normal;
  line-height: 80px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.6s;
  color: #333;
}
.nav .on h3 a, .nav .nLi h3 a:hover { color: var(--main-color); }


/* ─── 旧网站右侧操作菜单（登录按钮/用户区） ─── */
.lan-menu {
  height: auto;
  line-height: 44px;
  overflow: hidden;
  color: #666;
  z-index: 101;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  margin-right: 125px;  /* 正值=左移(离右边缘更远)，负值=右移(更贴边) */
/* 弹性墙已移至 .header-right 的 padding-right 统一控制，避免与 padding-right 双重叠加 */
}
.lan-menu a {
  display: block;
  height: 44px;
  line-height: 44px;
  padding: 0 10px;
  color: #666;
  font-size: 16px;  
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}
.lan-menu a:hover {
  color: var(--main-color);
  text-decoration: none;
}

/* ─── 登录胶囊按钮 ─── */
.login-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  background: var(--main-color);
  color: #fff;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 1px;
}
.login-pill-btn:hover {
  background: var(--main-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,115,192,0.35);
  transform: translateY(-1px);
}

/* ─── 用户下拉菜单 ─── */
.user-dropdown {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: 20px;
}
.user-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 80px;
  padding: 0 12px;
  transition: all 0.5s ease-in-out;
}
.user-dropdown:hover .user-dropdown-trigger {
  color: var(--main-color);
}
/* .user-avatar 已删除 — 导航栏不再显示头像 */
.user-name-text {
  font-size: 15px;
  color: var(--text);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.5s ease-in-out;
}
.user-dropdown:hover .user-name-text {
  color: var(--main-color);
}
.user-dropdown-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: all 0.5s ease-in-out;
  flex-shrink: 0;
}
.user-dropdown:hover .user-dropdown-arrow {
  color: var(--main-color);
}

/* 下拉菜单 — 无三角箭头，面板紧贴触发器下方 */
.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  z-index: 8888;
  padding-top: 6px;
}
.user-dropdown:hover .user-dropdown-menu {
  display: block;
}
.user-dropdown-menu .dropdown-inner {
  padding: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 1px 6px rgba(0,0,0,0.04);
  min-width: 230px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

/* 弹窗顶部：问候语 + 完整账号 */
.user-dropdown-menu .dropdown-header {
  padding: 16px 20px 14px;
}
.user-dropdown-menu .dropdown-greeting {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.user-dropdown-menu .dropdown-full-account {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  word-break: break-all;
}

.user-dropdown-menu .dropdown-item {
  height: auto;
  line-height: normal;
  text-align: left;
  white-space: nowrap;
  position: relative;
}
.user-dropdown-menu .dropdown-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.user-dropdown-menu .dropdown-item a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.user-dropdown-menu .dropdown-item:hover {
  background: #f2f7fc;
}
.user-dropdown-menu .dropdown-item:hover a {
  color: var(--main-color);
}
.user-dropdown-menu .dropdown-item:hover a i {
  color: var(--main-color);
}
.user-dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0 0;
}

/* ─── 下拉菜单中的语言切换（窄屏时替代导航栏中的 .lan-menu） ─── */
.dropdown-lang-switch {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-light);
}
.dropdown-lang-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.dropdown-lang-link:hover {
  color: var(--main-color);
  background: #f2f7fc;
}
.dropdown-lang-link.active {
  color: var(--main-color);
  font-weight: 600;
}
.dropdown-lang-sep {
  color: #ccc;
  font-size: 12px;
  user-select: none;
}

/* 中等宽度（851px–1400px）：导航栏中的 .lan-menu 隐藏，下拉菜单中的 .dropdown-lang-switch 显示 */
@media (min-width: 851px) and (max-width: 1400px) {
  .lan-menu { display: none !important; }
  .dropdown-lang-switch { display: flex; }
}

/* ─── 页面容器 ─── */
/* 桌面端固定宽度，窗口缩小时不收缩，出现滚动条 */
@media (min-width: 851px) {
  body { overflow-x: auto; }
}
.page-container {
  width: 1450px;
  min-width: 1450px;
  margin: 0 auto;
  padding: 30px 0;
  min-height: 500px;
}
.page-header {
  margin-bottom: 25px;
}
.page-header h1 {
  margin: 0;
  color: var(--text);
  font-size: 46px;
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -1.7px;
}
.page-header h1::after {
  content: "";
  display: block;
  width: 184px;
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--main-color), rgba(0,115,192,0));
}
.page-header p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
}

/* ─── 卡片 ─── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.card-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}
.card-body { padding: 18px; }
.card-body:only-child { border-bottom: none; }
.card-compact .card-body { padding: 12px 18px; }

/* ─── Toast 通知 ─── */
.toast-container {
  position: fixed;
  top: 120px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  font-size: 14px;
  transition: all 0.3s ease;
  max-width: 380px;
  word-break: break-word;
}
.toast-info {
  background: #e6f4ff;
  color: var(--main-color);
  border: 1px solid #91caff;
}
.toast-success {
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}
.toast-error {
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
}
.toast-warning {
  background: #fffbe6;
  color: #d48806;
  border: 1px solid #ffe58f;
}

/* ─── 模态框 ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}
.modal-dialog {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 320px;
  max-width: 480px;
  box-shadow: var(--shadow-hover);
}
.modal-dialog h3 { margin-bottom: 12px; font-size: 16px; }
.modal-dialog p {
  color: var(--text-secondary);
  margin-bottom: 20px; line-height: 1.8;
}
.modal-actions {
  display: flex; gap: 12px; justify-content: flex-end;
}

/* ─── 栅格行 ─── */
.row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.row:last-child { margin-bottom: 0; }
.row label {
  font-size: 14px;
  color: var(--text-secondary);
  min-width: 70px;
  flex-shrink: 0;
}

/* ─── 表单 ─── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: #555;
  background: var(--bg-white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  font-family: inherit;
  line-height: 20px;
}
input:focus, select:focus, textarea:focus {
  border-color: #66afe9;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
input.full, select.full, textarea.full { width: 100%; }
input.short { width: 80px; }
input.medium { width: 200px; }
textarea { resize: vertical; min-height: 80px; }

input::-webkit-input-placeholder { color: var(--text-muted); }
input::-moz-placeholder { color: var(--text-muted); opacity: 1; }
input:-ms-input-placeholder { color: var(--text-muted); }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 2;
}
.form-group input, .form-group select, .form-group textarea { width: 100%; }
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── 按钮 ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  background: var(--bg-white);
  color: var(--text);
  white-space: nowrap;
  gap: 6px;
  font-family: inherit;
  line-height: 20px;
  border: 1px solid var(--border);
}
.btn:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary:hover {
  background: var(--main-hover);
  border-color: var(--main-hover);
  color: #fff;
}

.btn-success {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
}
.btn-success:hover {
  background: #0d8c5e;
  border-color: #0d8c5e;
  color: #fff;
}

.btn-danger {
  background: #ff4d4f;
  border-color: #ff4d4f;
  color: #fff;
}
.btn-danger:hover {
  background: #cf1322;
  border-color: #cf1322;
  color: #fff;
}

.btn-warning {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--main-color);
  padding: 4px 8px;
}
.btn-link:hover {
  color: var(--main-hover);
  background: #e6f4ff;
}

.btn-sm { padding: 4px 14px; font-size: 13px; }
.btn-lg { padding: 10px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.form-actions {
  display: flex; gap: 12px; margin-top: 20px;
}
.form-actions.center { justify-content: center; }
.form-actions.right { justify-content: flex-end; }

/* ─── 消息提示 ─── */
.msg {
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}
.msg.error {
  display: block;
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
}
.msg.success {
  display: block;
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}
.msg.info {
  display: block;
  background: #e6f4ff;
  color: var(--main-color);
  border: 1px solid #91caff;
}
.msg.warning {
  display: block;
  background: #fffbe6;
  color: #d48806;
  border: 1px solid #ffe58f;
}

/* ─── 表格 ─── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  background: #eee;
  padding: 10px 15px;
  text-align: center;
  font-weight: 600;
  border: 1px solid var(--border);
  white-space: nowrap;
  color: var(--text);
}
tbody td {
  padding: 10px 15px;
  border: 1px solid var(--border);
  vertical-align: middle;
  text-align: center;
}
tbody tr:hover { background: #fafafa; }

/* ─── 标签 ─── */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}
.tag-primary { background: #e6f4ff; color: var(--main-color); }
.tag-success { background: #f6ffed; color: #389e0d; }
.tag-warning { background: #fffbe6; color: #d48806; }
.tag-danger { background: #fff2f0; color: #cf1322; }

/* ─── 商品网格 ─── */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.product-grid .product-card {
  width: 33.333333%;
  padding: 10px;
  margin-bottom: 10px;
}
.product-card .wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  height: 100%;
}
.product-card .wrap:hover {
  box-shadow: var(--shadow-hover);
}
.product-card .pic {
  height: auto;
  overflow: hidden;
  background: #fafafa;
}
.product-card .pic img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  transition: 0.5s;
}
.product-card .wrap:hover .pic img { transform: scale(1.05); }
.product-body { padding: 16px; }
.product-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.6;
  min-height: 40px;
}
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
}
.product-price {
  font-size: 20px; font-weight: 700; color: #ff4d4f;
}
.product-price .unit {
  font-size: 13px; font-weight: 400; color: var(--text-secondary);
}
.product-actions-bar {
  display: flex; gap: 8px; align-items: center; margin-top: 12px;
}

/* ─── 订单卡片 ─── */
.order-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}
.order-card:hover { border-color: var(--main-color); }
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 8px;
}
.order-no { font-weight: 600; font-size: 14px; }
.order-time {
  font-size: 13px; color: var(--text-muted);
}
.order-body { padding: 16px; }
.order-items { margin-bottom: 12px; }
.order-item {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 14px;
  border-bottom: 1px dashed var(--border-light);
}
.order-item:last-child { border-bottom: none; }
.order-total {
  text-align: right; font-size: 16px; font-weight: 600;
  padding-top: 8px; border-top: 1px solid var(--border);
}
.order-actions {
  display: flex; gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  justify-content: flex-end;
}

/* ─── 授权额度卡片 ─── */
.entitlement-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
.entitlement-card {
  width: 50%;
  padding: 8px;
}
.entitlement-card .wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all 0.5s ease-in-out;
  height: 100%;
}
.entitlement-card .wrap:hover {
  border-color: var(--main-color);
}
.entitlement-name {
  font-size: 16px; font-weight: 600; margin-bottom: 12px;
}
.entitlement-stats {
  display: flex; gap: 16px;
}
.stat-item { text-align: center; flex: 1; }
.stat-value {
  font-size: 24px; font-weight: 700; color: var(--main-color);
}
.stat-label {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}
.stat-value.used { color: var(--accent-orange); }
.stat-value.remaining { color: var(--accent-green); }

/* ─── Tab 选项卡 ─── */
.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
}
.tab-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.5s ease-in-out;
  font-family: inherit;
  position: relative;
}
.tab-btn:hover { color: var(--main-color); }
.tab-btn.active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
  font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── 空状态 & 加载 ─── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.empty-state p { margin-bottom: 12px; }
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--main-color);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── 登录/注册容器 ─── */
.auth-container {
  max-width: 440px;
  margin: 30px auto;
}
.auth-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 24px;
}
.auth-footer {
  text-align: center; margin-top: 16px;
  font-size: 14px; color: var(--text-secondary);
}
.auth-tabs {
  display: flex; margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
}
.auth-tab {
  flex: 1; padding: 10px;
  text-align: center; background: transparent;
  border: none; border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  cursor: pointer; font-size: 14px;
  font-family: inherit; transition: all 0.5s ease-in-out;
  margin-bottom: -2px;
}
.auth-tab:hover { color: var(--main-color); }
.auth-tab.active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
  font-weight: 600;
}
.auth-form { display: none; }
.auth-form.active { display: block; }

/* ─── 支付 ─── */
.pay-container { max-width: 480px; margin: 20px auto; text-align: center; }
.qr-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin: 20px 0;
}
.qr-wrapper canvas, .qr-wrapper svg { display: block; margin: 0 auto; }

/* ─── 支付弹窗 ─── */
.pay-modal-dialog {
  min-width: 380px;
  max-width: 420px;
  text-align: center;
}
.pay-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.pay-modal-header h3 { font-size: 16px; margin: 0; }
.pay-countdown {
  font-size: 13px;
  color: var(--text-muted);
  font-family: monospace;
}
.pay-modal-body { padding: 0 0 16px; }
.pay-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.pay-modal-footer .btn { flex: 1; }
@media (max-width: 850px) {
  .pay-modal-dialog {
    min-width: auto;
    width: calc(100vw - 40px);
  }
}

/* ─── 设备卡片 ─── */
.device-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.device-header {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  background: #fafafa;
  border-bottom: 1px solid var(--border-light);
}
.device-header:hover { background: #f0f0f0; }
.device-header .device-name { font-weight: 600; }
.device-body { padding: 0 16px 16px; display: none; }
.device-body.open { display: block; padding-top: 16px; }
.device-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.device-info-item {
  width: 50%;
  font-size: 13px;
}
.device-info-item .label { color: var(--text-muted); }

/* ─── 购物车侧栏 ─── */
.cart-sidebar {
  position: fixed;
  top: 80px;
  right: 0;
  width: 324px;
  max-width: 100vw;
  height: calc(100vh - 80px);
  background: var(--bg-white);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 16px rgba(0,0,0,0.08);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 16px;
}
.cart-header .close-btn {
  background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--text-muted); padding: 2px 6px;
}
.cart-header .close-btn:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 18px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--text-muted); font-size: 15px; }
.cart-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cart-item-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-remove {
  flex-shrink: 0;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  padding: 2px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #ff4d4f; }
.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-item-price {
  font-size: 19px;
  font-weight: 700;
  color: #ff4d4f;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item-qty button {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-white);
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  color: #555;
}
.cart-item-qty button:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: #f0f7ff;
}
.cart-item-qty span {
  min-width: 34px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.cart-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--border-light);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; font-size: 17px;
}
.cart-total .amount {
  font-weight: 800; color: #ff4d4f; font-size: 22px;
}
.cart-actions { display: flex; gap: 10px; }
.cart-actions .btn { flex: 1; padding: 10px 16px; font-size: 15px; }

.cart-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,115,192,0.3);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.cart-fab:hover { transform: scale(1.1); }
.cart-fab .badge {
  position: absolute; top: -4px; right: -4px;
  background: #ff4d4f; color: #fff; font-size: 11px;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}

/* ─── 测试台样式 ─── */
.test-section { margin-bottom: 24px; }
.test-section h3 {
  font-size: 16px; font-weight: 600;
  padding: 10px 16px; background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  margin: 0;
}
.test-body {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 16px;
  background: var(--bg-white);
}
.test-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.resp-box {
  background: #1e1e2e; color: #cdd6f4;
  font-family: "Cascadia Code", "Fira Code", monospace;
  font-size: 13px; line-height: 1.6;
  padding: 14px; border-radius: var(--radius);
  margin-top: 12px; max-height: 400px; overflow: auto;
  white-space: pre-wrap; word-break: break-all;
}
.resp-box.success { border-left: 3px solid var(--accent-green); }
.resp-box.error { border-left: 3px solid #ff4d4f; }
.inline-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-group input, .inline-group select { flex: 1; min-width: 120px; }
label.test-label { font-size: 13px; color: var(--text-secondary); min-width: 80px; }
.badge-test {
  display: inline-block;
  background: #f50; color: #fff; font-size: 10px;
  padding: 2px 8px; border-radius: 8px; font-weight: 600;
  margin-left: 8px; vertical-align: middle;
}

/* ─── 底部（白色，二维码 + 社交图标） ─── */
.site-footer {
  width: 100%;
  min-width: 1450px;
  background: #fff;
  padding: 40px 0 0 0;
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
}
.footer-inner {
  width: 1450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
}
.footer-main-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 50px;
}
/* 左侧二维码区域 */
.footer-qr-section {
  display: flex;
  gap: 40px;
}
.footer-qr-item {
  text-align: center;
}
.footer-qr-item img {
  width: 120px;
  height: 120px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  display: block;
}
.footer-qr-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}
/* 右侧区域（分享+社交 + 客服，与二维码图片底部平齐） */
.footer-right {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  /* 二维码图片下方有标注文字(~28px)，上移右侧使其与图片底部对齐 */
  margin-bottom: 28px;
}
.footer-social-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--main-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,115,192,0.3);
}
.footer-contact-info {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.footer-contact-info a {
  color: var(--main-color);
  text-decoration: none;
}
.footer-contact-info a:hover {
  text-decoration: underline;
}
.footer-copyright {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
  width: 440px;           /* 三个二维码区域等宽：3×120px + 2×40px */
  text-align: center;
}
.footer-copyright-inner {
  white-space: nowrap;
}
.footer-privacy-link {
  color: var(--text-muted);
  margin-left: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-privacy-link:hover {
  color: var(--main-color);
  text-decoration: underline;
}

@media (max-width: 850px) {
  .site-footer { min-width: 100%; }
  .footer-inner {
    width: 100%;
    padding: 0 15px 24px;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .footer-main-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
  }
  .footer-qr-section {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }
  .footer-qr-item img { width: 90px; height: 90px; }
  .footer-right {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
    width: 100%;
  }
  .footer-contact-info {
    text-align: center;
    white-space: normal;
  }
  .footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 0;
  }
  .footer-copyright-inner {
    white-space: normal;
  }
}

/* ─── 旧底部样式（保留兼容，新代码不再使用） ─── */
.footer {
  width: 100%;
  overflow: hidden;
  min-width: 1450px;
  background-color: var(--bg-white);
  padding-top: 30px;
  padding-bottom: 0;
  border-top: 1px solid var(--border-light);
  margin-top: 40px;
}
.foot-top-flex {
  display: flex;
  justify-content: space-between;
}
.foot-lt { width: 70%; }
.foot-rt { width: 28%; }
.foot-flex { display: flex; flex-wrap: nowrap; justify-content: space-between; }
.foot-item { height: auto; overflow: hidden; }
.foot-sort-name {
  color: #000;
  font-size: 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
  line-height: 30px;
}
.foot-sort-name a { color: #000; }
.foot-sort-name a:hover { color: var(--main-color); }
.foot-sort-list { max-width: 220px; height: auto; overflow: hidden; }
.foot-sort-list li {
  height: auto; overflow: hidden;
  color: var(--text-muted); font-size: 14px; line-height: 2;
}
.foot-sort-list li a { color: var(--text-muted); display: inline-block; }
.foot-sort-list li i { font-size: 12px; margin-right: 6px; }
.foot-sort-list li a:hover { color: var(--main-color); }
.foot-contact-info {
  max-width: 360px; height: auto; overflow: hidden;
  color: var(--text-muted); font-size: 14px; line-height: 1.65;
}

.full-copyright {
  width: 100%;
  min-width: 1450px;
  height: auto;
  overflow: hidden;
  background-color: #333;
  padding: 15px 0;
  margin-top: 30px;
}
.copyright {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 2;
}
.copyright a { color: var(--text-muted); }
.copyright a:hover {
  color: var(--main-color);
  text-decoration: underline;
}

/* ─── 在线/离线模块选择 ─── */
.module-select-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 4px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.module-select-item:hover {
  border-color: var(--main-color);
}
.module-select-item input { width: auto; }
.module-select-item span { flex: 1; }
.module-select-item .remaining {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── 响应式 850px ─── */
.pc-hide { display: none; }

@media (max-width: 850px) {
  .pc-hide { display: block; }
  .mb-hide { display: none; }
  body {
    overflow-x: hidden;
    padding-top: 0;
  }

  .section {
    width: 100%;
    min-width: 100%;
    padding: 20px 0;
  }
  .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .full-top {
    min-width: 100%;
    display: none;
  }

  .full-head {
    min-width: 100%;
    top: 0 !important;
  }
  .full-head-spacer { height: 50px; }

  .header-right {
    height: 50px;
  }
  .header-account {
    height: 38px;
    right: 8px;
  }
  .logo {
    height: 38px;
    left: 8px;
  }
  .logo img { max-height: 38px; }
  .logo .logo-text-fallback { height: 38px; font-size: 17px; }
  .nav { gap: 16px; }
  .nav .nLi { height: 50px; flex-shrink: 0; white-space: nowrap; }
  .nav .nLi h3 a { font-size: 14px; line-height: 50px; }
  .lan-menu a { padding: 0 4px; font-size: 12px; }
  .user-dropdown { height: 50px; margin-left: 8px; }
  .user-dropdown-trigger {
    height: 50px;
    gap: 4px;
    padding: 0 8px;
  }
  .user-name-text { font-size: 14px; max-width: 90px; }
  .user-dropdown-arrow { font-size: 11px; }

  /* 移动端下拉菜单面板 */
  .user-dropdown-menu .dropdown-inner { min-width: 210px; }
  .user-dropdown-menu .dropdown-header {
    padding: 14px 16px 12px;
  }
  .user-dropdown-menu .dropdown-greeting {
    font-size: 15px;
  }
  .user-dropdown-menu .dropdown-item a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .page-container {
    width: 100%;
    padding: 15px;
    min-width: auto;
    min-height: auto;
  }

  .product-grid .product-card { width: 100%; }
  .entitlement-card { width: 100%; }

  .auth-container { margin: 15px; }

  .page-header h1 { font-size: 34px; letter-spacing: -1px; }
  .footer { min-width: 100%; padding-top: 20px; }
  .full-copyright { min-width: 100%; }
  .foot-top-flex { flex-direction: column; }
  .foot-lt { width: 100%; }
  .foot-rt { width: 100%; margin-top: 20px; }

  .cart-sidebar { top: 100px; height: calc(100vh - 100px); }

  .device-info-item { width: 100%; }

  .order-header { flex-direction: column; align-items: flex-start; }
  .row { flex-direction: column; align-items: stretch; }
  .row label { min-width: auto; }
  .tab-btn { padding: 8px 14px; font-size: 14px; }
  .modal-dialog { margin: 20px; min-width: auto; }

  .foot-flex { flex-wrap: wrap; }
  .foot-item { width: 50%; margin-bottom: 15px; }


}

/* ─── Cookie 使用协议通知 ─── */
.cookie-bar {
  position: fixed;
  left: auto;
  right: 36px;
  bottom: 36px;
  transform: none;
  z-index: 99999;
  width: 390px;
  max-width: calc(100% - 48px);
  padding: 28px 30px 36px;
  background: #fff;
  border: 1.5px solid var(--main-color);
  border-radius: 12px;
  box-shadow: 0 18px 55px rgba(0, 58, 120, 0.24), 0 4px 18px rgba(0, 0, 0, 0.08);
}
.cookie-bar-content {
  display: block;
}
.cookie-bar-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  padding-bottom: 10px;
}
/* 英文模式文本较长，缩小字号避免与按钮重叠 */
.lang-en .cookie-bar-text {
  font-size: 14px;
  line-height: 1.7;
}
.cookie-bar-link {
  color: var(--main-color);
  font-weight: 600;
  text-decoration: none;
}
.cookie-bar-link:hover {
  color: var(--main-hover);
  text-decoration: underline;
}
.cookie-bar-btn {
  position: absolute;
  bottom: 22px;
  right: 30px;
  min-width: 128px;
  height: 46px;
  padding: 0 28px;
  border: none;
  border-radius: 6px;
  background: var(--main-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.cookie-bar-btn:hover {
  background: var(--main-hover);
  box-shadow: 0 6px 16px rgba(0, 115, 192, 0.28);
}
@media (max-width: 850px) {
  .cookie-bar {
    left: 50%;
    right: auto;
    bottom: 16px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: none;
    padding: 22px 20px 30px;
    border-radius: 10px;
    border: 1.5px solid var(--main-color);
  }
  .cookie-bar-text {
    font-size: 15px;
    line-height: 1.75;
    padding-bottom: 8px;
  }
  .lang-en .cookie-bar-text {
    font-size: 13px;
    line-height: 1.65;
  }
  .cookie-bar-btn {
    position: absolute;
    bottom: 12px;
    right: 20px;
    min-width: 108px;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }
}
