:root {
  --ink: #18211d;
  --ink-soft: #52605a;
  --paper: #f7f5ee;
  --paper-deep: #ebe7dc;
  --surface: #ffffff;
  --line: #dedbd0;
  --jade: #176b58;
  --jade-dark: #0e4d40;
  --vermilion: #b8412c;
  --gold: #b58a3b;
  --success: #28755f;
  --danger: #b53d35;
  --radius: 6px;
  --shadow: 0 18px 40px rgba(25, 37, 31, 0.1);
  --container: min(1180px, calc(100% - 40px));
  --font-ui: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --font-display: STKaiti, KaiTi, "Noto Serif CJK SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
}
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  border-bottom: 1px solid rgba(222, 219, 208, 0.9);
  background: rgba(247, 245, 238, 0.94);
  backdrop-filter: blur(16px);
}
.header-inner { width: var(--container); height: 100%; margin: auto; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--vermilion);
  border-radius: 4px;
  font: 700 20px/1 var(--font-display);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
  transform: rotate(-2deg);
}
.brand-text strong { display: block; font: 700 19px/1.1 var(--font-display); }
.brand-text span { color: var(--ink-soft); font-size: 10px; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.main-nav a { position: relative; color: #39443f; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { color: var(--jade); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -23px; height: 2px; background: var(--jade); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .mobile-menu { display: none; }

.btn {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-size: 14px;
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--jade); }
.btn-primary:hover { background: var(--jade-dark); }
.btn-secondary { border-color: #c9c5b9; background: transparent; color: var(--ink); }
.btn-secondary:hover { border-color: var(--jade); color: var(--jade); }
.btn-danger { color: #fff; background: var(--danger); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.icon-btn { width: 40px; min-width: 40px; padding: 0; }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #dce2da;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 82% 34%, rgba(255,255,255,.8) 0 7%, transparent 8%),
    linear-gradient(165deg, rgba(255,255,255,.7), transparent 43%),
    #dce2da;
}
.mountain, .mountain::before, .mountain::after { position: absolute; content: ""; pointer-events: none; }
.mountain-back {
  right: -6%; bottom: 18%; width: 73%; height: 78%; z-index: -2;
  background: #829c8b;
  clip-path: polygon(0 100%, 8% 68%, 19% 75%, 28% 42%, 38% 54%, 49% 15%, 58% 52%, 70% 31%, 82% 61%, 92% 43%, 100% 100%);
  opacity: .45;
}
.mountain-front {
  right: -10%; bottom: -1px; width: 74%; height: 57%; z-index: -1;
  background: #3f6256;
  clip-path: polygon(0 100%, 9% 76%, 18% 84%, 29% 39%, 38% 65%, 49% 48%, 58% 76%, 70% 25%, 80% 62%, 90% 46%, 100% 100%);
  opacity: .78;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(transparent, var(--paper)); }
.hero-inner { width: var(--container); margin: auto; min-height: 570px; display: flex; align-items: center; padding: 72px 0 110px; }
.hero-content { max-width: 570px; }
.hero h1 { margin: 0 0 22px; font: 700 clamp(48px, 6vw, 80px)/1.05 var(--font-display); letter-spacing: 0; }
.hero h1 span { color: var(--vermilion); }
.hero p { max-width: 490px; margin: 0 0 30px; color: #415049; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; color: #5d6964; font-size: 12px; }

.quick-bar { position: relative; z-index: 3; width: var(--container); margin: -54px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quick-link { min-height: 106px; padding: 23px 24px; display: flex; align-items: center; gap: 15px; border-right: 1px solid var(--line); transition: background .2s; }
.quick-link:last-child { border: 0; }
.quick-link:hover { background: #f1f5f1; }
.quick-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: none; color: var(--jade); border: 1px solid #b9ccc4; border-radius: 50%; }
.quick-link strong { display: block; font-size: 15px; }
.quick-link span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 12px; }

.section { padding: 82px 0; }
.section-alt { background: #ebece5; }
.section-inner { width: var(--container); margin: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-head h2 { margin: 0; font: 700 34px/1.2 var(--font-display); }
.section-head p { max-width: 520px; margin: 8px 0 0; color: var(--ink-soft); }
.text-link { color: var(--jade); font-weight: 600; font-size: 14px; }
.tool-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.tool-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.tool-card.featured { color: #fff; border: 0; background: var(--jade-dark); }
.tool-card .tool-number { color: var(--gold); font: 700 14px/1 var(--font-display); }
.tool-card h3 { margin: auto 0 8px; font: 700 23px/1.3 var(--font-display); }
.tool-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.tool-card.featured p { color: rgba(255,255,255,.68); }
.tool-card .arrow { align-self: flex-end; margin-top: 22px; color: var(--jade); }
.tool-card.featured .arrow { color: #fff; }

.community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; }
.feed-list { border-top: 1px solid #bfc5be; }
.feed-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid #cdd1cb; }
.feed-tag { color: var(--vermilion); font-size: 12px; font-weight: 700; }
.feed-row h3 { margin: 0 0 4px; font-size: 16px; }
.feed-row p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.feed-date { color: #78817d; font-size: 12px; }
.member-panel { padding: 28px; color: #fff; background: #26352f; border-radius: var(--radius); }
.member-panel h3 { margin: 0 0 8px; font: 700 24px/1.3 var(--font-display); }
.member-panel p { margin: 0 0 24px; color: rgba(255,255,255,.65); font-size: 13px; }
.member-panel .btn { width: 100%; }
.member-benefits { margin: 24px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.member-benefits li { margin-top: 10px; color: rgba(255,255,255,.75); font-size: 13px; }

.site-footer { padding: 46px 0 26px; color: #cdd4d0; background: #17211d; }
.footer-inner { width: var(--container); margin: auto; display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { max-width: 420px; }
.footer-brand p { color: #89958f; font-size: 12px; }
.footer-links { display: flex; gap: 26px; font-size: 13px; }
.footer-bottom { width: var(--container); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #2d3934; color: #74817b; font-size: 11px; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 44%) 1fr; background: var(--paper); }
.auth-visual { position: relative; overflow: hidden; min-height: 100vh; color: #fff; background: var(--jade-dark); padding: 50px; display: flex; flex-direction: column; }
.auth-visual::before, .auth-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.08); clip-path: polygon(0 100%, 0 63%, 19% 46%, 34% 70%, 52% 34%, 67% 67%, 84% 20%, 100% 48%, 100% 100%); }
.auth-visual::before { height: 58%; opacity: .42; }
.auth-visual::after { height: 42%; background: rgba(0,0,0,.18); }
.auth-quote { position: relative; z-index: 1; margin-top: auto; max-width: 440px; }
.auth-quote h1 { margin: 0 0 14px; font: 700 44px/1.15 var(--font-display); }
.auth-quote p { color: rgba(255,255,255,.72); }
.auth-main { min-height: 100vh; padding: 56px 8vw; display: flex; align-items: center; justify-content: center; }
.auth-box { width: min(430px, 100%); }
.auth-head h2 { margin: 0; font: 700 32px/1.2 var(--font-display); }
.auth-head p { margin: 8px 0 28px; color: var(--ink-soft); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.auth-tab { padding: 12px; border: 0; border-bottom: 2px solid transparent; color: var(--ink-soft); background: none; cursor: pointer; }
.auth-tab.active { color: var(--jade); border-color: var(--jade); font-weight: 700; }
.form-grid { display: grid; gap: 17px; }
.form-group label { display: block; margin-bottom: 6px; color: #47534e; font-size: 13px; font-weight: 600; }
.input { width: 100%; height: 44px; padding: 0 13px; color: var(--ink); border: 1px solid #cbc8bd; border-radius: 4px; background: #fff; outline: none; }
textarea.input { height: 92px; padding-top: 11px; resize: vertical; }
.input:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(23,107,88,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-help { color: var(--ink-soft); font-size: 12px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-actions .btn { min-width: 130px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: #8a918d; font-size: 12px; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.wechat-btn { width: 100%; color: #fff; background: #1aad19; }
.wechat-btn:disabled { cursor: not-allowed; color: #7a817d; background: #e2e3df; }
.alert { padding: 11px 13px; border-radius: 4px; font-size: 13px; }
.alert-error { color: #8b2d28; border: 1px solid #e3b1ad; background: #fff1ef; }
.alert-success { color: #155d49; border: 1px solid #9fcbbb; background: #edf8f3; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; min-width: 260px; max-width: 420px; padding: 14px 18px; color: #fff; background: #1d2b25; border-radius: 4px; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 900px) {
  :root { --container: min(100% - 28px, 720px); }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 15px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a.active::after { display: none; }
  .header-actions .btn-secondary { display: none; }
  .header-actions .mobile-menu { display: inline-flex; }
  .quick-bar { grid-template-columns: 1fr 1fr; }
  .quick-link:nth-child(2) { border-right: 0; }
  .quick-link:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-card.featured { grid-column: span 2; }
  .community-layout { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

@media (max-width: 600px) {
  .site-header { height: 60px; }
  .header-inner { gap: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text span { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-primary { min-height: 36px; padding: 0 12px; }
  .main-nav { top: 60px; }
  .hero, .hero-inner { min-height: 540px; }
  .hero-inner { align-items: flex-start; padding-top: 82px; }
  .hero h1 { font-size: 50px; }
  .hero p { font-size: 15px; }
  .mountain-back { width: 130%; height: 55%; right: -30%; }
  .mountain-front { width: 130%; height: 42%; right: -25%; }
  .quick-bar { margin-top: -34px; }
  .quick-link { min-height: 96px; padding: 16px 13px; gap: 10px; }
  .quick-icon { width: 36px; height: 36px; }
  .quick-link > span:last-child > span { display: none; }
  .section { padding: 62px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-head h2 { font-size: 29px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card.featured { grid-column: auto; }
  .tool-card { min-height: 210px; }
  .feed-row { grid-template-columns: 65px 1fr; gap: 10px; }
  .feed-date { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .auth-main { padding: 36px 20px; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

/* Member and administration workspaces */
.workspace { min-height: 100vh; background: #f0f1ed; }
.workspace-header { height: 64px; border-bottom: 1px solid var(--line); background: #fff; }
.workspace-header .header-inner { width: calc(100% - 40px); max-width: none; }
.workspace-user { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; flex: none; color: #fff; background: var(--jade); border-radius: 50%; font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.workspace-body { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.workspace-sidebar { padding: 28px 18px; color: #cfd7d3; background: #1c2924; }
.workspace-sidebar .side-label { margin: 0 12px 10px; color: #718079; font-size: 11px; text-transform: uppercase; }
.side-nav { display: grid; gap: 5px; }
.side-nav button, .side-nav a { width: 100%; min-height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 11px; color: #aab6b0; border: 0; border-radius: 4px; background: none; cursor: pointer; text-align: left; font-size: 13px; }
.side-nav button:hover, .side-nav a:hover, .side-nav .active { color: #fff; background: #2b3b34; }
.side-nav .active { box-shadow: inset 2px 0 var(--gold); }
.side-nav .icon { width: 17px; }
.workspace-main { min-width: 0; padding: 34px clamp(24px, 4vw, 56px) 60px; }
.workspace-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.workspace-title h1 { margin: 0; font: 700 30px/1.2 var(--font-display); }
.workspace-title p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; }
.view { animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: .5; transform: translateY(4px); } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.stat { min-height: 126px; padding: 25px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat-label { display: block; margin-bottom: 12px; color: var(--ink-soft); font-size: 12px; }
.stat-value { font: 700 27px/1 var(--font-display); }
.stat-foot { margin-top: 10px; color: #7c8581; font-size: 11px; }
.content-grid { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 22px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel-head { min-height: 60px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 15px; }
.panel-body { padding: 22px; }
.points-list { margin: 0; padding: 0; list-style: none; }
.points-row { min-height: 64px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #eceae3; }
.points-row:last-child { border: 0; }
.points-symbol { width: 32px; height: 32px; display: grid; place-items: center; color: var(--jade); background: #edf5f1; border-radius: 50%; font-size: 18px; }
.points-row strong { display: block; font-size: 13px; }
.points-row time { color: #8a918e; font-size: 11px; }
.points-amount { font-weight: 700; }
.points-amount.positive { color: var(--jade); }
.points-amount.negative { color: var(--danger); }
.checkin-panel { min-height: 245px; color: #fff; background: var(--jade-dark); border: 0; }
.checkin-panel .panel-body { height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.checkin-panel .seal { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font: 700 20px var(--font-display); }
.checkin-panel h2 { margin: 0 0 8px; font: 700 22px var(--font-display); }
.checkin-panel p { margin: 0 0 22px; color: rgba(255,255,255,.68); font-size: 12px; }
.checkin-panel .btn { margin-top: auto; }
.profile-summary { display: flex; align-items: center; gap: 18px; }
.profile-summary .avatar { width: 62px; height: 62px; font-size: 22px; }
.profile-summary h2 { margin: 0; font: 700 20px var(--font-display); }
.profile-summary p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; }
.level-bar { height: 6px; margin-top: 20px; overflow: hidden; background: #e8e8e2; border-radius: 3px; }
.level-bar span { display: block; height: 100%; width: 35%; background: var(--gold); }
.settings-form { max-width: 680px; }
.settings-form .form-actions { margin-top: 8px; justify-content: flex-end; }
.session-list { display: grid; }
.session-row { min-height: 76px; padding: 12px 0; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid #e8e6df; }
.session-row:last-child { border: 0; }
.session-device { width: 38px; height: 38px; display: grid; place-items: center; color: var(--jade); background: #eef4f1; border-radius: 50%; }
.session-row strong { font-size: 13px; }
.session-row p { margin: 2px 0 0; color: var(--ink-soft); font-size: 11px; }
.status { display: inline-flex; min-height: 24px; padding: 0 8px; align-items: center; border-radius: 3px; font-size: 11px; font-weight: 600; }
.status-active { color: #21624f; background: #e5f2ed; }
.status-pending { color: #87661f; background: #f8f0d9; }
.status-suspended { color: #94372f; background: #f9e7e5; }
.status-admin { color: #744724; background: #f4e9dd; }
.status-member { color: #4c5c55; background: #ecf0ee; }
.empty { padding: 34px; color: var(--ink-soft); text-align: center; }

.admin-sidebar { background: #17211d; }
.admin-topmark { margin: 0 12px 26px; padding: 10px 11px; color: #d9c28f; border: 1px solid #4a4b3d; font-size: 11px; text-align: center; }
.toolbar { min-height: 64px; padding: 11px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-bottom: 0; background: #fff; }
.toolbar .input { max-width: 280px; height: 38px; }
.toolbar select.input { max-width: 150px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.data-table th { height: 44px; padding: 0 15px; color: #6f7974; background: #f6f6f2; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; font-weight: 700; }
.data-table td { height: 62px; padding: 9px 15px; border-bottom: 1px solid #ebe9e2; font-size: 12px; vertical-align: middle; }
.data-table tr:last-child td { border: 0; }
.data-table tbody tr:hover { background: #fafbf9; }
.user-cell strong { display: block; font-size: 13px; }
.user-cell span { color: var(--ink-soft); font-size: 11px; }
.table-actions { display: flex; gap: 7px; }
.pagination { margin-top: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--ink-soft); font-size: 12px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; padding: 20px; display: grid; place-items: center; background: rgba(18,28,23,.55); }
.modal { width: min(480px, 100%); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.modal-head { height: 60px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 16px; }
.modal-body { padding: 22px; }

@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .workspace-body { grid-template-columns: 1fr; }
  .workspace-sidebar { position: sticky; top: 0; z-index: 20; padding: 8px 12px; overflow-x: auto; }
  .workspace-sidebar .side-label, .admin-topmark { display: none; }
  .side-nav { display: flex; min-width: max-content; }
  .side-nav button, .side-nav a { width: auto; padding: 0 12px; }
  .workspace-main { padding: 24px 14px 50px; }
  .workspace-title { align-items: flex-start; }
  .workspace-user > div { display: none; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar .input, .toolbar select.input { max-width: none; }
}
@media (max-width: 500px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: 104px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .session-row { grid-template-columns: 38px 1fr; }
  .session-row .btn { grid-column: 2; justify-self: start; }
}

/* Dedicated administrator authentication */
.admin-login-page { min-height: 100vh; background: #eef0ec; }
.admin-login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, 42%) 1fr; }
.admin-login-brand {
  position: relative;
  min-height: 100vh;
  padding: 48px clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #eef3f0;
  background: #17231e;
}
.admin-login-brand::before {
  content: "";
  position: absolute;
  inset: auto -18% 0 12%;
  height: 46%;
  background: #263a31;
  clip-path: polygon(0 100%, 7% 67%, 20% 79%, 34% 30%, 48% 65%, 62% 18%, 73% 58%, 87% 34%, 100% 75%, 100% 100%);
}
.admin-login-brand .brand { position: relative; z-index: 1; color: #fff; }
.admin-login-brand .brand-text span { color: #8fa098; }
.admin-login-intro { position: relative; z-index: 1; margin: auto 0; }
.admin-console-label { display: block; margin-bottom: 22px; color: #c5a86b; font-size: 11px; font-weight: 700; }
.admin-login-intro h1 { margin: 0; font: 700 48px/1.18 var(--font-display); }
.admin-login-intro p { max-width: 390px; margin: 18px 0 0; color: #9caaa4; }
.admin-login-notice { position: relative; z-index: 1; max-width: 420px; margin: 0; color: #718079; font-size: 11px; }
.admin-login-main { min-height: 100vh; padding: 50px clamp(28px, 8vw, 120px); display: flex; align-items: center; justify-content: center; }
.admin-login-box { width: min(410px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px rgba(26, 38, 32, .08); }
.admin-login-submit { width: 100%; min-height: 46px; margin-top: 5px; }
.admin-login-links { margin-top: 22px; display: flex; justify-content: space-between; font-size: 12px; }

@media (max-width: 800px) {
  .admin-login-shell { grid-template-columns: 1fr; }
  .admin-login-brand { min-height: 190px; padding: 28px 24px; }
  .admin-login-intro { margin: auto 0 0; }
  .admin-login-intro h1 { font-size: 29px; }
  .admin-login-intro h1 br, .admin-login-intro p, .admin-login-notice, .admin-console-label { display: none; }
  .admin-login-main { min-height: calc(100vh - 190px); padding: 28px 18px 48px; align-items: flex-start; }
  .admin-login-box { padding: 28px 22px; }
}

/* Pet fusion data laboratory */
.fusion-page { min-height: 100vh; background: #f0f1ed; }
.fusion-shell { width: min(1380px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 72px; }
.fusion-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.fusion-heading h1 { margin: 0; font: 700 36px/1.15 var(--font-display); }
.fusion-heading p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; }
.fusion-heading-actions { display: flex; gap: 10px; }
.fusion-tabs { display: flex; gap: 30px; min-height: 48px; margin-bottom: 22px; overflow-y: hidden; border-bottom: 1px solid var(--line); }
.fusion-tabs button { position: relative; padding: 0 2px 15px; color: var(--ink-soft); border: 0; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; }
.fusion-tabs button.active { color: var(--jade); }
.fusion-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--jade); }
.fusion-view { animation: fadeIn .2s ease; }
.member-gate { min-height: 64px; margin-bottom: 18px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: #293a33; border-radius: var(--radius); }
.member-gate strong, .member-gate span { display: block; }
.member-gate span { color: #aeb9b4; font-size: 12px; }
.fusion-form { display: grid; gap: 18px; }
.fusion-form.is-guest { opacity: .82; }
.fusion-equation { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 58px minmax(0, 1.05fr); gap: 14px; align-items: stretch; }
.pet-input { min-width: 0; min-height: 390px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pet-input.result-input { border-color: #a9c0b7; box-shadow: inset 0 3px var(--jade); }
.pet-input-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pet-index { width: 38px; height: 38px; display: grid; place-items: center; flex: none; color: #fff; background: #3d4d46; border-radius: 4px; font: 700 16px var(--font-display); }
.result-input .pet-index { background: var(--jade); }
.pet-input-head h2 { margin: 0; font: 700 19px/1.25 var(--font-display); }
.pet-input-head p { margin: 1px 0 0; color: var(--ink-soft); font-size: 11px; }
.pet-input .form-row { grid-template-columns: minmax(0, 1fr) 76px; }
.level-field { min-width: 0; }
.skill-selection { min-height: 132px; margin: 18px 0; padding: 12px; display: flex; align-content: flex-start; flex-wrap: wrap; gap: 8px; border: 1px dashed #c7c8c0; background: #f8f8f5; }
.skill-empty { margin: auto; color: #8a918e; font-size: 12px; }
.skill-picker-button { width: 100%; margin-top: auto; }
.selected-skill { height: 40px; padding: 4px 8px 4px 5px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d6d8d2; border-radius: 3px; background: #fff; cursor: pointer; font-size: 12px; }
.selected-skill b { color: #89918d; font-size: 16px; font-weight: 400; }
.skill-emblem { width: 34px; height: 34px; display: grid; place-items: center; flex: none; color: #fff; border-radius: 3px; background: #66736d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font: 700 15px var(--font-display); }
.skill-emblem img { width: 100%; height: 100%; display: block; border-radius: 3px; object-fit: cover; }
.skill-basic { background: #65736c; }
.skill-advanced { background: #a4772e; }
.skill-special { background: #9d4938; }
.skill-weakness { background: #58788b; }
.fusion-operator { display: grid; place-items: center; color: #87918c; font: 700 28px var(--font-display); }
.fusion-operator .icon { width: 25px; height: 25px; }
.fusion-meta { min-height: 76px; padding: 14px 16px; display: grid; grid-template-columns: 210px minmax(260px, 1fr) auto; align-items: end; gap: 14px; border: 1px solid var(--line); background: #fff; }
.fusion-meta .form-group label { margin-bottom: 3px; }
.fusion-meta .input { height: 40px; }
.fusion-meta .btn { height: 40px; }
.fusion-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.fusion-section-head h2 { margin: 0; font: 700 25px var(--font-display); }
.fusion-section-head p { margin: 2px 0 0; color: var(--ink-soft); font-size: 12px; }
.fusion-record-list { display: grid; gap: 12px; }
.fusion-record { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.fusion-record > header { min-height: 48px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ecebe5; }
.fusion-record > header time { color: var(--ink-soft); font-size: 11px; }
.fusion-record-equation { padding: 18px; display: grid; grid-template-columns: 1fr 30px 1fr 36px 1fr; align-items: center; gap: 10px; }
.record-pet { min-width: 0; }
.record-pet > div:first-child { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; }
.record-pet strong { font-size: 14px; }
.record-pet small { color: var(--ink-soft); }
.record-pet.is-result { padding: 13px; border-left: 2px solid var(--jade); background: #f1f6f3; }
.record-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.skill-tag { min-height: 25px; padding: 2px 7px; display: inline-flex; align-items: center; color: #57625d; border: 1px solid #d9dcd7; background: #f8f9f7; border-radius: 3px; font-size: 10px; }
.skill-tag-advanced { color: #805d20; border-color: #d8c59c; background: #faf5e8; }
.skill-tag-special { color: #8d3e31; border-color: #dfb6ae; background: #fff1ee; }
.skill-tag-weakness { color: #3e687d; border-color: #b9d0dc; background: #eff7fa; }
.record-op { color: #9ba29f; text-align: center; font: 700 20px var(--font-display); }
.fusion-record-note { margin: 0; padding: 11px 18px; color: var(--ink-soft); border-top: 1px solid #ecebe5; font-size: 11px; }
.fusion-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.fusion-stat { min-height: 140px; padding: 25px; border-right: 1px solid var(--line); }
.fusion-stat:last-child { border: 0; }
.fusion-stat span, .fusion-stat small { display: block; color: var(--ink-soft); font-size: 11px; }
.fusion-stat strong { display: block; margin: 13px 0 7px; font: 700 30px var(--font-display); }
.fusion-analysis-grid { margin-top: 18px; display: grid; grid-template-columns: 1.6fr .7fr; gap: 18px; }
.analysis-note { min-height: 240px; padding: 26px; color: #fff; background: var(--jade-dark); border-radius: var(--radius); }
.analysis-note strong { display: block; font: 700 50px var(--font-display); }
.analysis-note span { display: block; color: #c4d4ce; }
.analysis-note p { margin: 45px 0 0; color: #8fa59c; font-size: 12px; }
.inheritance-bars { display: grid; gap: 15px; }
.inheritance-row { display: grid; grid-template-columns: 90px 1fr 30px; align-items: center; gap: 12px; font-size: 12px; }
.inheritance-row > span { height: 8px; overflow: hidden; background: #eceeea; }
.inheritance-row i { display: block; height: 100%; background: var(--jade); }
.inheritance-row b { color: var(--ink-soft); text-align: right; }
.skill-library-head { align-items: flex-end; }
.skill-search { width: min(360px, 100%); height: 40px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #c9ccc5; background: #fff; }
.skill-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.skill-search .icon { color: #7a8580; }
.skill-categories { display: flex; gap: 7px; margin-bottom: 14px; overflow-x: auto; }
.skill-categories button { min-height: 32px; padding: 0 13px; color: var(--ink-soft); border: 1px solid #cdd0c9; border-radius: 3px; background: #fff; cursor: pointer; font-size: 11px; white-space: nowrap; }
.skill-categories button.active { color: #fff; border-color: var(--jade); background: var(--jade); }
.skill-library { border: 1px solid var(--line); background: #fff; }
.skill-library-row { min-height: 78px; padding: 12px 18px; display: grid; grid-template-columns: 42px 180px minmax(0, 1fr); align-items: center; gap: 15px; border-bottom: 1px solid #e9e9e3; }
.skill-library-row:last-child { border: 0; }
.skill-library-row h3 { margin: 0; font-size: 13px; }
.skill-library-row div > span { color: var(--ink-soft); font-size: 10px; }
.skill-library-row p { margin: 0; color: #4f5a55; font-size: 12px; }
.skill-picker-modal { width: min(900px, 100%); max-height: min(720px, calc(100vh - 40px)); display: flex; flex-direction: column; }
.skill-picker-tools { padding: 14px 18px 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.skill-categories.compact { margin: 0; }
.skill-picker-grid { min-height: 260px; padding: 12px 18px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; overflow-y: auto; }
.skill-option { min-height: 58px; padding: 8px; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 9px; color: var(--ink); border: 1px solid #d9dcd6; border-radius: 3px; background: #fff; cursor: pointer; text-align: left; }
.skill-option:hover { border-color: #9eb8ad; }
.skill-option.selected { border-color: var(--jade); background: #edf5f1; }
.skill-option strong, .skill-option small { display: block; }
.skill-option strong { font-size: 12px; }
.skill-option small { color: var(--ink-soft); font-size: 10px; }
.skill-option > .icon { color: var(--jade); opacity: 0; }
.skill-option.selected > .icon { opacity: 1; }
.skill-tag .skill-emblem { width: 22px; height: 22px; margin-right: 5px; font-size: 10px; }
.skill-picker-footer { min-height: 66px; padding: 12px 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.admin-skill-modal { width: min(620px, 100%); }
.admin-skill-name { display: flex; align-items: center; gap: 9px; }
.admin-skill-name > span { min-width: 0; }
.admin-skill-name small { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-skill-icon { width: 36px; height: 36px; flex: none; border-radius: 3px; object-fit: cover; }
.cbg-auth-banner { min-height: 82px; margin-bottom: 18px; padding: 17px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); background: #fff; }
.cbg-auth-banner strong { display: block; font-size: 15px; }
.cbg-auth-banner p { margin: 2px 0 0; color: var(--ink-soft); font-size: 12px; }
.cbg-auth-indicator { width: 10px; height: 10px; border-radius: 50%; background: #959d99; box-shadow: 0 0 0 5px rgba(149, 157, 153, .12); }
.cbg-auth-banner[data-status="valid"] .cbg-auth-indicator { background: var(--success); box-shadow: 0 0 0 5px rgba(40, 117, 95, .12); }
.cbg-auth-banner[data-status="checking"] .cbg-auth-indicator { background: var(--gold); box-shadow: 0 0 0 5px rgba(181, 138, 59, .14); }
.cbg-auth-banner[data-status="warning"] .cbg-auth-indicator,
.cbg-auth-banner[data-status="error"] .cbg-auth-indicator { background: var(--danger); box-shadow: 0 0 0 5px rgba(181, 61, 53, .12); }
.cbg-status-valid { color: var(--success); background: rgba(40, 117, 95, .1); }
.cbg-status-checking { color: #7a5a1e; background: rgba(181, 138, 59, .14); }
.cbg-status-warning, .cbg-status-error { color: var(--danger); background: rgba(181, 61, 53, .1); }
.cbg-auth-stats { margin-bottom: 18px; }
#cbg-auth-refresh { min-width: 88px; white-space: nowrap; }
.stat-value-compact { font-size: 22px; letter-spacing: 0; }
.cbg-auth-panel { margin-top: 18px; }
.cbg-auth-panel .panel-head { align-items: center; }
.cbg-auth-panel .panel-head h2 { margin-bottom: 2px; }
.cbg-auth-panel .panel-head p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.cbg-auth-guidance { padding: 18px 20px; color: var(--ink-soft); font-size: 13px; }
.cbg-collection-summary { min-height: 60px; padding: 16px 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-soft); font-size: 12px; }
.cbg-collection-summary strong { color: var(--ink); }
.skill-description-cell { max-width: 420px; line-height: 1.5; }
.status-basic { color: #4f5e57; background: #e9eeeb; }
.status-advanced { color: #805d20; background: #f7efd9; }
.status-special { color: #8d3e31; background: #fae8e4; }
.status-weakness { color: #3e687d; background: #e8f2f7; }

@media (max-width: 1100px) {
  .fusion-equation { grid-template-columns: 1fr 34px 1fr; }
  .fusion-equation .result-arrow { grid-column: 1 / -1; height: 36px; transform: rotate(90deg); }
  .result-input { grid-column: 1 / -1; min-height: 330px; }
  .fusion-meta { grid-template-columns: 190px 1fr; }
  .fusion-meta .btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .fusion-shell { width: min(100% - 24px, 620px); padding-top: 25px; }
  .fusion-heading { align-items: flex-start; flex-direction: column; }
  .fusion-heading h1 { font-size: 30px; }
  .fusion-heading-actions { width: 100%; }
  .fusion-heading-actions .btn { flex: 1; }
  .fusion-tabs { gap: 20px; overflow-x: auto; }
  .fusion-tabs button { flex: none; }
  .fusion-equation { display: flex; flex-direction: column; }
  .fusion-operator { height: 30px; }
  .fusion-equation .result-arrow { transform: rotate(90deg); }
  .pet-input, .result-input { min-height: 330px; }
  .fusion-meta { grid-template-columns: 1fr; }
  .fusion-meta .btn { grid-column: auto; }
  .fusion-record-equation { grid-template-columns: 1fr; }
  .record-op { padding: 2px; }
  .fusion-stats-grid { grid-template-columns: 1fr 1fr; }
  .fusion-stat:nth-child(2) { border-right: 0; }
  .fusion-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fusion-analysis-grid { grid-template-columns: 1fr; }
  .skill-library-head { align-items: stretch; flex-direction: column; }
  .skill-search { width: 100%; }
  .skill-library-row { grid-template-columns: 42px 1fr; }
  .skill-library-row p { grid-column: 2; }
  .skill-picker-tools { align-items: stretch; flex-direction: column; }
  .skill-picker-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fusion-heading-actions { flex-direction: column; }
  .pet-input { padding: 16px; }
  .fusion-stats-grid { grid-template-columns: 1fr; }
  .fusion-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .skill-picker-grid { grid-template-columns: 1fr; }
  .skill-picker-modal { max-height: calc(100vh - 16px); }
}

/* Coin price ranking */
.price-page { min-height: 100vh; background: #f1f3f0; }
.price-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 76px; }
.price-heading { min-height: 118px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 28px; }
.price-kicker { display: block; margin-bottom: 8px; color: var(--vermilion); font-size: 11px; font-weight: 700; }
.price-heading h1 { margin: 0; font: 700 38px/1.12 var(--font-display); }
.price-heading p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; }
.price-heading-meta { min-height: 40px; display: flex; align-items: center; gap: 8px; color: #66716c; font-size: 12px; }
.price-heading-meta strong { color: var(--ink); font-size: 12px; }
.price-heading-meta .icon-btn { margin-left: 5px; }
.data-dot { width: 7px; height: 7px; border-radius: 50%; background: #2d8066; box-shadow: 0 0 0 4px #dcebe5; }
.is-loading .icon { animation: priceSpin .8s linear infinite; }
@keyframes priceSpin { to { transform: rotate(360deg); } }

.price-summary { min-height: 104px; display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.25fr; border: 1px solid #d5d9d3; background: #fff; }
.price-summary-primary { padding: 19px 24px; display: flex; align-items: center; gap: 16px; color: #fff; background: #23352d; }
.price-seal { width: 48px; height: 48px; display: grid; place-items: center; flex: none; color: #3c2d10; border: 1px solid #d6bd7c; border-radius: 50%; background: #d8b85f; font: 700 22px/1 var(--font-display); }
.price-summary-primary span:not(.price-seal), .price-summary-item span, .price-summary-note span { display: block; color: #6d7772; font-size: 11px; }
.price-summary-primary span:not(.price-seal) { color: #aebbb5; }
.price-summary-primary strong { display: block; margin-top: 4px; font: 700 25px/1.2 var(--font-display); }
.price-summary-item, .price-summary-note { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #e2e4df; }
.price-summary-item strong { margin-top: 6px; font: 700 22px/1.2 var(--font-display); }
.price-summary-item strong b { font-weight: inherit; }
.price-summary-item strong small { color: #7b8580; font: 400 11px var(--font-ui); }
.price-summary-note { border: 0; background: #fafaf7; }
.price-summary-note strong { margin-bottom: 5px; color: #805e23; font-size: 12px; }

.price-content { margin-top: 24px; }
.price-filter-row { min-height: 62px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-bottom: 0; background: #fff; }
.price-search { width: min(390px, 100%); height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #c8cdc7; background: #fff; }
.price-search:focus-within { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(23,107,88,.09); }
.price-search .icon { flex: none; color: #77817c; }
.price-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.price-sort { width: 176px; height: 40px; }
.price-age-tabs { min-height: 48px; padding: 0 14px; display: flex; align-items: flex-end; gap: 26px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; border: 1px solid var(--line); border-bottom: 0; background: #fff; }
.price-age-tabs::-webkit-scrollbar { display: none; }
.price-age-tabs button { position: relative; height: 47px; padding: 0 1px; flex: none; color: #66716c; border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; }
.price-age-tabs button span { margin-left: 3px; color: #989f9b; font-size: 10px; font-weight: 400; }
.price-age-tabs button.active { color: var(--jade); }
.price-age-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--jade); }

.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.price-table { width: 100%; min-width: 920px; border-collapse: collapse; table-layout: fixed; }
.price-table th { height: 48px; padding: 0 16px; color: #727c77; border-bottom: 1px solid var(--line); background: #f7f8f5; text-align: left; font-size: 11px; }
.price-table th small { display: block; color: #999f9c; font-size: 9px; font-weight: 400; }
.price-table td { height: 76px; padding: 11px 16px; border-bottom: 1px solid #e8e9e4; font-size: 12px; vertical-align: middle; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #fbfcfa; }
.price-table .numeric { text-align: right; }
.price-col-rank { width: 68px; text-align: center !important; }
.price-col-opened { width: 132px; }
.price-col-updated { width: 132px; color: #78817d; font-size: 11px !important; }
.price-rank { width: 28px; height: 28px; display: inline-grid; place-items: center; color: #76807b; border: 1px solid #d8dbd6; border-radius: 50%; font-size: 11px; }
.price-rank.top-1 { color: #5b4319; border-color: #cfb56f; background: #f4e8c9; font-weight: 700; }
.price-rank.top-2 { color: #47524d; border-color: #bac2be; background: #e9eeeb; font-weight: 700; }
.price-rank.top-3 { color: #744830; border-color: #d2af99; background: #f3e5dc; font-weight: 700; }
.price-server strong, .price-server span { display: block; }
.price-server strong { color: #202b26; font-size: 14px; }
.price-server span { margin-top: 3px; color: #7c8581; font-size: 10px; }
.price-opened { color: #5d6863; font-size: 11px; }
.price-unit { color: #38443e; font-size: 14px; }
.price-gold { color: #9a3d2d; font: 700 17px/1.2 var(--font-display); }
.price-change strong, .price-change span { display: block; }
.price-change strong { font-size: 13px; }
.price-change span { margin-top: 2px; color: #919995; font-size: 9px; }
.price-change.is-up strong { color: #b53d35; }
.price-change.is-down strong { color: #28755f; }
.price-change.is-flat strong { color: #626d68; }
.price-change.is-new strong { color: #8b6b2b; font-size: 11px; }
.price-change.is-pending strong { color: #919995; }
.price-row-pending { background: #fafbf9; }
.price-row-pending .price-rank { border-color: transparent; background: transparent; }
.price-row-pending .price-unit, .price-row-pending .price-gold { color: #9aa19d; font: 600 11px var(--font-ui); }
.price-loading { height: 190px !important; color: #7c8581; text-align: center; }
.price-error { color: var(--danger); }
.price-table-footer { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #737d78; font-size: 11px; }
.price-table-footer .pagination { margin: 0; }
.price-table-footer .btn:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.price-disclaimer { margin: 0; padding-top: 14px; border-top: 1px solid #d9ddd7; color: #7c8581; font-size: 10px; }
.price-footer { margin-top: 0; }

@media (max-width: 900px) {
  .price-summary { grid-template-columns: 1.25fr 1fr 1fr; }
  .price-summary-note { grid-column: 1 / -1; min-height: 64px; border-top: 1px solid #e2e4df; }
  .price-summary-item:nth-child(3) { border-right: 0; }
}
@media (max-width: 700px) {
  .cbg-auth-banner { grid-template-columns: auto minmax(0, 1fr); }
  .cbg-auth-banner > .status { grid-column: 2; justify-self: start; }
  .cbg-auth-panel .panel-head { align-items: flex-start; flex-direction: column; }
  .price-shell { width: min(100% - 24px, 620px); padding: 24px 0 54px; }
  .price-heading { min-height: 0; align-items: flex-start; flex-direction: column; gap: 18px; padding-bottom: 22px; }
  .price-heading h1 { font-size: 31px; }
  .price-heading-meta { width: 100%; }
  .price-heading-meta .icon-btn { margin-left: auto; }
  .price-summary { grid-template-columns: 1fr 1fr; }
  .price-summary-primary { grid-column: 1 / -1; }
  .price-summary-item:nth-child(2) { border-right: 1px solid #e2e4df; }
  .price-summary-note { grid-column: 1 / -1; }
  .price-filter-row { align-items: stretch; flex-direction: column; }
  .price-search, .price-sort { width: 100%; }
  .price-age-tabs { gap: 22px; }
  .price-table { min-width: 680px; }
  .price-col-opened, .price-col-updated { display: none; }
  .price-table-footer { align-items: flex-start; flex-direction: column; padding-top: 14px; }
  .price-table-footer .pagination { width: 100%; justify-content: space-between; }
}
@media (max-width: 430px) {
  .price-heading p { max-width: 320px; }
  .price-summary { grid-template-columns: 1fr; }
  .price-summary-primary { grid-column: auto; }
  .price-summary-item { min-height: 74px; border-right: 0 !important; border-bottom: 1px solid #e2e4df; }
  .price-summary-note { grid-column: auto; }
  .price-table { min-width: 610px; }
  .price-table th, .price-table td { padding-left: 11px; padding-right: 11px; }
}
