/* 随便搜 - 样式表 */
*, :after, :before { box-sizing: border-box; }

html {
  height: 100%;
  line-height: 1.6;
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

input, button, textarea, select {
  outline: none;
  resize: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
}

body, input, textarea, select, button {
  -webkit-font-smoothing: antialiased;
  font-family: "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
}

body {
  color: #464646;
  padding: 0;
  margin: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #fff;
}

img { border: none; }
em { font-style: normal; }
button { cursor: pointer; background: none; }
ul, li { list-style: none; }
a { text-decoration: none; color: #464646; outline: none; }
a:hover { color: #283593; }
p { color: #464646; margin: 0; }

main { margin: 0 auto; flex: 1 0 auto; }

.home { width: 100%; max-width: 720px; }

/* ---------- 品牌区 ---------- */
.brand {
  display: grid;
  justify-items: center;
  align-items: end;
  position: relative;
  grid-template-rows: minmax(0, 1fr);
  height: 300px;
  margin-bottom: 40px;
  transition: height .4s ease, margin-bottom .4s ease;
  overflow: hidden;
}

.brand-logo { display: none; width: 180px; }

.brand-logo-text {
  display: inline-block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  background-image: linear-gradient(135deg, #cf54f7, #507dff, #19bc12);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-slogan {
  color: #222;
  font-size: 32px;
  font-weight: 900;
  margin: 18px 0 0;
  -webkit-font-smoothing: auto;
  text-align: center;
}

.brand-slogan-strong {
  position: relative;
  padding-bottom: 5px;
  background-image: linear-gradient(135deg, #cf54f7, #507dff, #19bc12);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-slogan-strong::after {
  content: '';
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 120%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(207,84,247,.85), rgba(80,125,255,.85), rgba(25,188,18,.85));
  opacity: .9;
}

.brand-subtitle { margin-top: 18px; }

.brand-subtitle-item {
  display: inline-block;
  padding: 0 10px;
  font-size: 15px;
}

.brand-subtitle-item i {
  margin-right: 8px;
  vertical-align: 2px;
  font-size: 12px;
  height: 18px;
  width: 18px;
  text-align: center;
  display: inline-block;
  border-radius: 50px;
  color: #19a319;
  line-height: 16px;
  border: 1px solid #b8d9b9;
  font-weight: 700;
  font-style: normal;
}

.brand.shrink { height: 120px; margin-bottom: 25px; }
.brand.shrink .brand-logo { display: inline-block; }
.brand.shrink .brand-slogan { display: none; }
.brand.shrink .brand-subtitle { display: none; }

/* ---------- 搜索框 ---------- */
.search { transition: padding .4s ease; }

.search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  transition: all .3s;
  border-radius: 14px;
  padding: 2px;
  position: relative;
  border: 2px solid #6d81e2;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 3px 12px;
  font-size: 16px;
  color: #1f2937;
  min-width: 0;
}

.search-form.big .search-input { padding: 10px 15px; font-size: 16px; }

.search-clear {
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 4px;
  font-size: 16px;
  transition: color .2s;
  display: none;
}

.search-clear:hover { color: #4b5563; }

.search-btn {
  border: none;
  font-weight: 600;
  width: 48px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn .icon-search { color: #5268ff; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.search-btn .icon-search svg { width: 22px; height: 22px; display: block; }

.search-form:hover { background: #f4faff; }
.search-form:hover .search-btn .icon-search {
  transition: all .3s;
  background-image: linear-gradient(bottom right, #d965ff, #658eff, #28c566);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loader {
  margin: 0 auto;
  width: 22px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(farthest-side, #28c566 100%, transparent) top no-repeat,
              conic-gradient(transparent 30%, #d965ff, #658eff);
  background-size: 8px 8px, 100% 100%;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0);
  animation: l13 .5s infinite linear;
}

@keyframes l13 { 100% { transform: rotate(1turn); } }

/* ---------- 搜索建议 ---------- */
.suggest-box {
  position: absolute;
  top: calc(100% + 8px);
  width: calc(100% + 4px);
  left: -2px;
  right: 0;
  background: rgba(255,255,255,.7);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15,23,42,.12);
  z-index: 100;
  overflow: hidden;
  max-height: 430px;
  overflow-y: auto;
  text-align: left;
}

.suggest-box[hidden] { display: none; }

.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background .12s;
  color: #1f2937;
  font-size: 14px;
  text-align: left;
  width: 100%;
}

.suggest-item .s-icon { font-size: 14px; color: #888; flex-shrink: 0; }
.suggest-item:hover, .suggest-item.active { background: rgba(0,0,0,.03); color: #5268ff; }
.suggest-item:hover .s-icon, .suggest-item.active .s-icon { color: #5268ff; }

.suggest-word {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggest-tip {
  font-size: 12px;
  color: #b9bfc7;
  background: #f4f6f8;
  border-radius: 4px;
  padding: 1px 6px;
  flex-shrink: 0;
}

/* ---------- 加载态（传送带） ---------- */
.search-loading {
  height: 240px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.search-loading[data-show="1"] { display: flex; }

.loading {
  height: 80px;
  width: 250px;
  margin: 0 auto 10px;
  overflow: hidden;
  padding: 15px;
  position: relative;
}

.loading::before, .loading::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 60px;
  z-index: 1;
}

.loading::before { background: linear-gradient(to left, transparent 0%, #fff 90%); left: 0; }
.loading::after { background: linear-gradient(to right, transparent 0%, #fff 90%); right: 0; }

.loading-box {
  display: flex;
  gap: 5px;
  width: max-content;
  animation: belt-move 8.8s infinite;
}

.loading-dot {
  height: 48px;
  width: 48px;
  padding: 13px;
  background: #fff;
  border-radius: 50px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15,23,42,.12);
}

.loading-dot img { height: 100%; width: 100%; object-fit: contain; }

@keyframes belt-move {
  0% { transform: translateX(0px); }
  3.40909% { transform: translateX(-45px); }
  9.09091% { transform: translateX(-45px); }
  12.5% { transform: translateX(-90px); }
  18.18182% { transform: translateX(-90px); }
  21.59091% { transform: translateX(-135px); }
  27.27273% { transform: translateX(-135px); }
  30.68182% { transform: translateX(-180px); }
  36.36364% { transform: translateX(-180px); }
  39.77273% { transform: translateX(-225px); }
  45.45455% { transform: translateX(-225px); }
  48.86364% { transform: translateX(-270px); }
  54.54545% { transform: translateX(-270px); }
  57.95455% { transform: translateX(-315px); }
  63.63636% { transform: translateX(-315px); }
  67.04545% { transform: translateX(-360px); }
  72.72727% { transform: translateX(-360px); }
  76.13636% { transform: translateX(-405px); }
  81.81818% { transform: translateX(-405px); }
  85.22727% { transform: translateX(-450px); }
  90.90909% { transform: translateX(-450px); }
  94.31818% { transform: translateX(-495px); }
  100% { transform: translateX(-495px); }
}

.loader-text {
  font-size: 15px;
  font-weight: 700;
  padding: 8px 30px;
  border-radius: 50px;
  border: 1px solid #e5e7ed;
}

/* ---------- 结果区 ---------- */
.result-main { padding-top: 25px; display: none; }
.result-main[data-show="1"] { display: block; }

.result-meta { min-height: 20px; }

.meta-loading { color: #6b7280; font-size: 14px; }
.meta-loading strong { color: #1f2937; }

.meta-done { font-size: 14px; color: #6b7280; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta-done strong { color: #1f2937; font-size: 15px; }
.meta-done .meta-kw { color: #5268ff; font-weight: 700; }
.meta-done .meta-time { color: #9ca3af; font-size: 12px; }

.tabbar { margin: 0; }

.tabbar-wrap { position: relative; }

.tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e7ed;
  background: #fff;
  color: #464646;
  z-index: 5;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .14);
  font-size: 16px;
  line-height: 1;
  padding: 0;
  font-family: inherit;
  transition: background .2s, opacity .2s;
}

.tab-arrow-left { left: 2px; }
.tab-arrow-right { right: 2px; }

.tab-arrow.is-on { display: flex; }

.tab-arrow:hover:not(:disabled) { background: #f4faff; border-color: #6d81e2; color: #5268ff; }

.tab-arrow:disabled { opacity: .45; cursor: default; }

.tab-box {
  display: flex;
  padding: 12px 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-box::-webkit-scrollbar { display: none; }

.tab-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 11px 9px;
  border: 1px solid #e5e7ed;
  border-radius: 8px;
  margin-right: 5px;
  background: #e5e7ed;
  transition: background .2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.tab-item.active { color: #000; background: #fff; border-color: #e8e8e8; }
.tab-item:not(.active) { cursor: pointer; }
.tab-item:not(.active):hover { background: #fff; }

.tab-name { font-size: 16px; color: #505050; }
.tab-item.active .tab-name { font-weight: 700; color: #202020; }

.tab-count {
  font-size: 0;
  line-height: 1;
  color: #999;
  height: 3px;
  width: 12px;
  background: #cacaca;
  border-radius: 10px;
  margin-top: 2px;
  margin-left: 2px;
  transition: background .2s;
}

.tab-item.active .tab-count, .tab-item:hover .tab-count { background: var(--c, #cacaca); }

.tabpanel { min-height: 200px; }

.link-list { padding: 0; margin: 0; }

.link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #e5e7ed;
  transition: opacity .25s;
  margin-top: 10px;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
}

.link-item:hover { background: #f7fcff; }

.link-type {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.link-type img { height: 65%; width: 65%; object-fit: contain; }
.link-type.is-text { color: #fff; font-weight: 700; font-size: 13px; }

.link-body { flex: 1; min-width: 0; }

.link-note {
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  transition: color .12s;
}

.link-item:hover .link-note { color: #2356dc; }

.link-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.link-tag {
  font-size: 12px;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 5px;
  background: #f1f3f5;
  color: #5b6370;
  font-weight: 500;
  white-space: nowrap;
}

.link-tag.tag-pwd { background: #fff4e6; color: #b45309; }
.link-tag.tag-src { background: #eef2f7; color: #4b5670; }
.link-tag.tag-new { background: #eaf1ff; color: #2356dc; }

.link-note + .link-tags { margin-top: 8px; }

.link-note + .link-meta { margin-top: 10px; }
.link-tags + .link-meta { margin-top: 12px; }

.link-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1;
  color: #6b7280;
  font-size: 13px;
  align-items: center;
}

.link-meta .link-name ~ div { padding-left: 10px; border-left: 2px solid #ddd; }

.link-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  align-items: stretch;
}

.btn-primary {
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  background: #edf3ff;
  color: #2356dc;
  transition: background .25s, color .25s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4577fc, #2356dc);
  color: #fff;
}

.btn-primary:disabled { background: #e5e7eb !important; color: #9ca3af !important; cursor: not-allowed; opacity: .7; }

/* 弹窗「打开资源」主按钮 */
.btn-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #4577fc, #2356dc);
  color: #fff !important;
  font-weight: 600;
}

.btn-open::after {
  content: '↗';
  margin-left: 4px;
  font-size: 12px;
  line-height: 1;
}

.btn-open:hover { background: linear-gradient(135deg, #6d81e2, #3f63e8); color: #fff; }

.link-state { flex-shrink: 0; }

.state {
  font-size: 11px;
  border-radius: 50px;
  padding: 3px 10px;
  white-space: nowrap;
}

.state-checking { color: green; }
.state-pending, .state-uncertain { color: #505050; background: #f7f8f9; }
.state-ok { color: green; background: linear-gradient(90deg, #e0fde0, transparent); }
.state-bad { color: #d53131; background: linear-gradient(90deg, #ffebeb, transparent); }

.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  flex-wrap: wrap;
  min-height: 16px;
}

.check-hint { color: #6b7280; font-size: 12px; }
.refresh-hint { color: #9ca3af; font-size: 11px; opacity: 0; transition: opacity .25s; }
.refresh-hint.active { opacity: 1; color: #6366f1; }

.load-more-sentinel {
  text-align: center;
  padding: 18px 20px;
  color: #9ca3af;
  font-size: 13px;
}

.empty, .error-box { text-align: center; padding: 70px 20px; color: #6b7280; }

.empty-icon { font-size: 44px; margin-bottom: 10px; }
.empty-title { color: #1f2937; font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.empty-tip { color: #9ca3af; font-size: 13px; }

.tab-empty { text-align: center; padding: 60px 20px; color: #9ca3af; font-size: 14px; }

/* ---------- 缺省热词 ---------- */
.hotwords { margin-top: 26px; text-align: center; }

.hotwords-title { font-size: 13px; color: #9ca3af; margin-bottom: 12px; }

.hotwords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hotword {
  font-size: 13px;
  color: #4b5563;
  background: #f5f7fa;
  border: 1px solid #eef1f5;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all .2s;
}

.hotword:hover { background: #fff; border-color: #6d81e2; color: #2356dc; }

/* ---------- 页脚 ---------- */
.footbar {
  font-size: 13px;
  text-align: center;
  flex-shrink: 0;
  color: #888;
  padding: 25px 0;
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(31,41,55,.92);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  z-index: 300;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 详情弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fade-in .2s ease-out;
}

.modal[hidden] { display: none !important; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15,23,42,.25);
  animation: pop-in .25s cubic-bezier(.2,.7,.3,1);
  display: flex;
  flex-direction: column;
}

@keyframes pop-in {
  from { transform: translateY(16px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 12px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}

.modal-close:hover { background: #f3f4f6; color: #1f2937; }

.modal-body { padding: 8px 22px 26px; }

.detail-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.5;
  word-break: break-all;
  margin-bottom: 14px;
}

.detail-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.detail-row .k { font-size: 12px; color: #6b7280; width: 52px; flex-shrink: 0; }

.link-box {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7ed;
  border-radius: 8px;
  padding: 8px 10px;
  overflow: hidden;
}

.result-link { color: #2563eb; font-size: 12px; word-break: break-all; line-height: 1.5; }

.pwd-code {
  background: #f9fafb;
  border: 1px solid #e5e7ed;
  color: #15803d;
  padding: 5px 12px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 1px;
}

.mini-btn { flex-shrink: 0; padding: 6px 12px; font-size: 12px; }

.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-actions .btn-primary { flex: 1; padding: 10px 0; font-size: 14px; border-radius: 10px; }
.modal-actions .btn-ghost {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7ed;
  background: #fff;
  color: #4b5563;
  font-weight: 500;
  transition: all .2s;
}
.modal-actions .btn-ghost:hover { border-color: #6d81e2; color: #2356dc; }

.detail-tips {
  margin-top: 16px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 10px;
  padding: 12px 14px;
}

.detail-tip-title { font-size: 12px; font-weight: 600; color: #92400e; margin-bottom: 6px; }
.detail-tips ul { margin: 0; padding-left: 18px; color: #92400e; font-size: 12px; line-height: 1.7; }
.detail-tips li { list-style: disc; }

/* ---------- 移动端 ---------- */
@media (max-width: 720px) {
  .home { max-width: 100%; padding: 0 15px; }
  .brand { height: 230px; margin-bottom: 35px; }
  .brand.shrink { height: 55px; margin-bottom: 20px; }
  .brand-logo { display: inline-block; transition: width .4s ease; width: auto; }
  .brand.shrink .brand-logo { width: auto; }
  .brand-logo-text { font-size: 24px; }
  .brand.shrink .brand-logo-text { font-size: 20px; }
  .brand-slogan { display: none; }
  .brand-subtitle { display: none; }
  .search { padding: 0; transition: padding .4s ease; }
  .link-item { position: relative; gap: 10px; padding: 13px; }
  .link-type { display: none; }
  .link-meta { font-size: 12px; }
  .link-note { margin-bottom: 8px; font-size: 14px; }
  .link-actions { display: none; }
  .tab-arrow { display: none !important; }
  .link-state { position: absolute; right: 0; bottom: 0; border-radius: 10px 0; }
  .state { border-radius: 10px 0; }
  .tab-box { padding-left: 0; padding-right: 0; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { max-width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; animation: sheet-up .25s cubic-bezier(.2,.7,.3,1); }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
}

/* ================= 轨道动画 ================= */

.orbit { position: relative; overflow: hidden; padding: 30px; }

body.page-searching .orbit { display: none; }

.orbit-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -208px;
  z-index: -1;
}

@property --orbit-glow {
  syntax: '<color>';
  initial-value: #d7ebf7;
  inherits: false;
}

.orbit-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(var(--orbit-glow) 0%, #fff 70%);
  animation: orbit-glow 10s ease-in-out infinite;
}

@keyframes orbit-glow {
  0%, 100% { --orbit-glow: #d7ebf7; }
  25% { --orbit-glow: #ecd4f4; }
  50% { --orbit-glow: #d4f0f2; }
  75% { --orbit-glow: #fffae0; }
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  border: 5px solid #fff;
  transform: scale(.6);
  opacity: 0;
  animation: orbit-pulse 4s ease-out infinite;
  pointer-events: none;
}

@keyframes orbit-pulse {
  0% { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.orbit-center .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cf54f7, #507dff, #19bc12);
  box-shadow: 0 4px 14px rgba(80,125,255,.35);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px dashed rgba(0,0,0,.08);
  pointer-events: none;
}

.orbit-ring-1 { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
.orbit-ring-2 { width: 340px; height: 340px; margin: -170px 0 0 -170px; border-color: rgba(0,0,0,.06); }

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-item .fb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.12);
  overflow: hidden;
  transform-origin: center;
  animation: orbit-breathe var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--wave, 0s);
}

.orbit-item .fb img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  animation: orbit-fade var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--wave, 0s);
}

@keyframes orbit-breathe {
  0%, 20% { transform: scale(1); }
  24%, 74% { transform: scale(.25); }
  78%, 100% { transform: scale(1); }
}

@keyframes orbit-fade {
  0%, 20% { opacity: 1; }
  24%, 74% { opacity: 0; }
  78%, 100% { opacity: 1; }
}

@keyframes orbit-upright {
  from { transform: rotate(0deg) translateY(var(--r)) rotate(0deg); }
  to { transform: rotate(360deg) translateY(var(--r)) rotate(-360deg); }
}

.orbit-ring-1 .orbit-item { --r: -110px; animation: orbit-upright 90s linear infinite; }
.orbit-ring-2 .orbit-item { --r: -170px; animation: orbit-upright 120s linear infinite reverse; }

.orbit-ring-1 .pos-0 { animation-delay: 0s; }
.orbit-ring-1 .pos-60 { animation-delay: -15s; }
.orbit-ring-1 .pos-120 { animation-delay: -30s; }
.orbit-ring-1 .pos-180 { animation-delay: -45s; }
.orbit-ring-1 .pos-240 { animation-delay: -60s; }
.orbit-ring-1 .pos-300 { animation-delay: -75s; }

.orbit-ring-2 .pos-0 { animation-delay: 0s; }
.orbit-ring-2 .pos-60 { animation-delay: -20s; }
.orbit-ring-2 .pos-120 { animation-delay: -40s; }
.orbit-ring-2 .pos-180 { animation-delay: -60s; }
.orbit-ring-2 .pos-240 { animation-delay: -80s; }
.orbit-ring-2 .pos-300 { animation-delay: -100s; }

.orbit-ring-1 .pos-0 .fb { --dur: 8s; --wave: -.5s; }
.orbit-ring-1 .pos-60 .fb { --dur: 11s; --wave: -6.2s; }
.orbit-ring-1 .pos-120 .fb { --dur: 9.5s; --wave: -2.7s; }
.orbit-ring-1 .pos-180 .fb { --dur: 12.5s; --wave: -9.1s; }
.orbit-ring-1 .pos-240 .fb { --dur: 7s; --wave: -4.3s; }
.orbit-ring-1 .pos-300 .fb { --dur: 10.5s; --wave: -1.6s; }

.orbit-ring-2 .pos-0 .fb { --dur: 13s; --wave: -7.8s; }
.orbit-ring-2 .pos-60 .fb { --dur: 8.5s; --wave: -3.4s; }
.orbit-ring-2 .pos-120 .fb { --dur: 11.5s; --wave: -.9s; }
.orbit-ring-2 .pos-180 .fb { --dur: 9s; --wave: -5.5s; }
.orbit-ring-2 .pos-240 .fb { --dur: 12s; --wave: -10.2s; }
.orbit-ring-2 .pos-300 .fb { --dur: 7.5s; --wave: -2.1s; }

.data-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: .7;
  animation: orbit-drift var(--dur, 4s) ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbit-drift {
  0%, 100% { transform: translate(0, 0); opacity: .25; }
  50% { transform: translate(var(--dx, 30px), var(--dy, -40px)); opacity: .8; }
}

@media (max-width: 767px) {
  .orbit-wrap { width: 280px; height: 280px; margin-top: 32px; }
  .orbit-ring-1 { width: 176px; height: 176px; margin: -88px 0 0 -88px; }
  .orbit-ring-2 { width: 264px; height: 264px; margin: -132px 0 0 -132px; }
  .orbit-item { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .orbit-center { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .orbit-ring-1 .orbit-item { --r: -88px; }
  .orbit-ring-2 .orbit-item { --r: -132px; }
}
