/* 框架层（皮肤）。换皮肤 = 换这个文件 + 变量，不动内容和业务。 */

.frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(34, 211, 238, .08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(255, 210, 77, .05), transparent 60%),
    var(--bg);
}

/* 顶栏 */
.frame-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(13, 18, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.ft-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ft-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: radial-gradient(circle at 35% 30%, rgba(76, 154, 255, .45), rgba(20, 30, 48, .9));
  border: 1px solid rgba(76, 154, 255, .5);
  flex: 0 0 auto;
}
.ft-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ft-lv { font-size: 12px; color: var(--accent2); }
.ft-points { font-size: 12px; color: var(--gold); }

/* 内容区 */
.frame-main {
  flex: 1;
  padding: 68px 12px 76px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

/* 底部导航 */
.frame-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 58px;
  display: flex;
  background: rgba(13, 18, 32, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  z-index: 50;
}
.fn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 11px;
  transition: color .15s;
}
.fn-item.on { color: var(--accent2); }
.fn-item.on .fn-ico { background: var(--accent2); box-shadow: 0 0 10px rgba(34, 211, 238, .7); }
.fn-ico {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .7;
}
.fn-txt { line-height: 1; }
