|
|
@@ -1,484 +1,278 @@
|
|
|
-/* 《世界树 · 逃离空洞》—— 白 + 深墨蓝 + 建筑蓝灰 + 生命绿/金;线条图解风,无 3D 发光花哨
|
|
|
- 署名:FmodeCode */
|
|
|
+/* 世界树 · 太阳系 —— 样式:单屏游戏感(深空底 + 玻璃卡 + 生命绿),移动端优先。署名:FmodeCode */
|
|
|
:root {
|
|
|
- --ink: #121a2b; /* 深墨蓝 */
|
|
|
- --ink-2: #1c2740;
|
|
|
- --ink-3: #2a3855;
|
|
|
- --paper: #f4f5f2; /* 白(带一点暖灰) */
|
|
|
- --paper-2: #ffffff;
|
|
|
- --line: #d9dee6; /* 线条 */
|
|
|
- --line-strong: #b7c0cd;
|
|
|
- --muted: #6f7b8e; /* 蓝灰 */
|
|
|
- --muted-2: #98a3b3;
|
|
|
- --life: #2fae6b; /* 生命绿 */
|
|
|
- --life-soft: #e6f5ec;
|
|
|
- --gold: #b08427; /* 金 */
|
|
|
- --gold-soft: #f7efdc;
|
|
|
- --brand: #4a6cf7; /* fmode 蓝 */
|
|
|
- --brand-2: #6c5ce7;
|
|
|
- --danger: #c0492e;
|
|
|
- --crisis: #b0741f;
|
|
|
- --sky: #5fa8d3;
|
|
|
- --radius: 10px;
|
|
|
- --shadow: 0 1px 0 rgba(18, 26, 43, .04), 0 6px 18px rgba(18, 26, 43, .06);
|
|
|
- --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
|
- --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
|
|
|
+ --bg0: #070c18; --bg1: #0d1424; --bg2: #121c33;
|
|
|
+ --ink: #e9f1ff; --muted: #8fa2c4; --line: rgba(150, 190, 255, .14);
|
|
|
+ --green: #5fd68a; --green2: #9cffc0; --gold: #f4c95d; --red: #ff7a6b; --blue: #7fb2ff;
|
|
|
+ --glass: rgba(18, 28, 51, .72);
|
|
|
+ --radius: 16px;
|
|
|
+ --safe-b: env(safe-area-inset-bottom, 0px);
|
|
|
+ --tap: 44px;
|
|
|
+ font-synthesis: none;
|
|
|
}
|
|
|
-
|
|
|
-* { box-sizing: border-box; }
|
|
|
-html, body { height: 100%; }
|
|
|
+* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
|
|
|
+html, body { margin: 0; height: 100%; }
|
|
|
body {
|
|
|
- margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
|
|
|
- -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
|
|
|
- overflow: hidden;
|
|
|
-}
|
|
|
-button { font-family: inherit; cursor: pointer; }
|
|
|
-button:disabled { cursor: not-allowed; opacity: .45; }
|
|
|
-
|
|
|
-/* ── 布局:PC 三栏 / 手机单栏 + 底部页签 ── */
|
|
|
-#app { display: grid; grid-template-rows: 52px 1fr; height: 100vh; height: 100dvh; }
|
|
|
-.topbar {
|
|
|
- display: flex; align-items: center; gap: 14px; padding: 0 16px;
|
|
|
- background: var(--ink); color: #eef1f6; border-bottom: 1px solid #000;
|
|
|
-}
|
|
|
-.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .06em; font-size: 15px; white-space: nowrap; }
|
|
|
-.brand svg { width: 22px; height: 22px; }
|
|
|
-.brand small { font-weight: 500; opacity: .55; letter-spacing: .12em; font-size: 11px; margin-left: 2px; }
|
|
|
-.viewport-toggle { display: flex; gap: 4px; align-items: center; margin-left: 6px; }
|
|
|
-.topstats { margin-left: auto; }
|
|
|
-.top-save { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #dfe5ee; border-radius: 7px; padding: 5px 10px; font-size: 12px; white-space: nowrap; }
|
|
|
-.top-save:hover { background: rgba(255,255,255,.1); }
|
|
|
-.vp-btn {
|
|
|
- border: 1px solid rgba(255,255,255,.18); background: transparent; color: #cfd6e2;
|
|
|
- font-size: 11px; padding: 4px 8px; border-radius: 6px; cursor: pointer;
|
|
|
-}
|
|
|
-.vp-btn.on { background: rgba(255,255,255,.12); color: #fff; }
|
|
|
-.topstats { display: flex; gap: 18px; align-items: center; overflow: hidden; }
|
|
|
-.tstat { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
|
|
|
-.tstat .k { font-size: 10px; color: #8e9bb0; letter-spacing: .1em; }
|
|
|
-.tstat .v { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
|
-.topbar .icon-btn { border: 1px solid rgba(255,255,255,.16); background: transparent; color: #dfe5ee; border-radius: 7px; width: 30px; height: 30px; display: grid; place-items: center; }
|
|
|
-
|
|
|
-.main { display: grid; grid-template-columns: 304px minmax(0, 1fr) 330px; gap: 14px; padding: 14px; min-height: 0; overflow: hidden; }
|
|
|
-.col { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding-bottom: 8px; }
|
|
|
-.col > * { flex-shrink: 0; }
|
|
|
-.col.center { overflow: hidden; }
|
|
|
-.panel {
|
|
|
- background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
|
|
|
- box-shadow: var(--shadow); padding: 13px 14px; position: relative;
|
|
|
-}
|
|
|
-.panel.flat { box-shadow: none; background: transparent; border-style: dashed; }
|
|
|
-.panel-title { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin: 0 0 10px; text-transform: uppercase; }
|
|
|
-.panel-title .tag { margin-left: auto; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted-2); font-size: 11px; }
|
|
|
-.panel-title::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--ink); }
|
|
|
-.panel.life .panel-title::before { background: var(--life); }
|
|
|
-.panel.gold .panel-title::before { background: var(--gold); }
|
|
|
-.panel.brand .panel-title::before { background: var(--brand); }
|
|
|
-
|
|
|
-/* ── 数字 ── */
|
|
|
-.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
|
|
|
-.big-num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
|
|
|
-.big-num small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
|
|
|
-.sub-line { font-size: 12px; color: var(--muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
|
|
|
-.sub-line b { color: var(--ink-3); font-weight: 600; }
|
|
|
-.flash-up { animation: flashUp .6s ease-out; }
|
|
|
-@keyframes flashUp { 0% { color: var(--life); } 100% { color: inherit; } }
|
|
|
-
|
|
|
-/* ── 顶部资源条 ── */
|
|
|
-.res-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
|
|
-.res { border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; background: linear-gradient(180deg, #fff, #fbfbf9); }
|
|
|
-.res .k { font-size: 11px; color: var(--muted); letter-spacing: .08em; display: flex; align-items: center; gap: 5px; }
|
|
|
-.res .k .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--life); }
|
|
|
-.res .k .dot.gold { background: var(--gold); }
|
|
|
-.res .v { font-size: 20px; font-weight: 700; margin-top: 3px; }
|
|
|
-.res .d { font-size: 11px; color: var(--muted-2); margin-top: 1px; }
|
|
|
-
|
|
|
-/* ── 主线章节 ── */
|
|
|
-.chapter { margin-bottom: 10px; }
|
|
|
-.chapter .ch-title { font-size: 16px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
|
|
|
-.chapter .ch-title .idx { font-size: 11px; color: var(--muted); letter-spacing: .1em; font-weight: 600; }
|
|
|
-.chapter .ch-desc { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
|
|
|
-.esc-track { margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; font-size: 11px; color: var(--muted); }
|
|
|
-.esc-bar { grid-column: 1 / -1; height: 22px; border-radius: 5px; background: #eceff3; border: 1px solid var(--line); position: relative; overflow: hidden; }
|
|
|
-.esc-bar .fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #c9e9d5, var(--life)); transition: width .4s ease; }
|
|
|
-.esc-bar .fill::after { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 2px; background: #1c7a48; }
|
|
|
-.esc-bar .mark { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
|
|
|
-.esc-bar .mark span { position: absolute; top: 3px; left: 3px; font-size: 9px; color: var(--ink-3); white-space: nowrap; opacity: .8; }
|
|
|
-.esc-bar .mark.done { background: #1c7a48; }
|
|
|
-
|
|
|
-/* ── Marches(连续行军)画布 ── */
|
|
|
-.canvas-wrap {
|
|
|
- position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
|
|
|
- background: var(--paper-2); box-shadow: var(--shadow); flex: 1 1 auto; min-height: 220px;
|
|
|
+ background: radial-gradient(1200px 700px at 50% -10%, #1b2b4d 0%, var(--bg1) 45%, var(--bg0) 100%);
|
|
|
+ color: var(--ink);
|
|
|
+ font-family: -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
|
|
|
+ overflow: hidden; overscroll-behavior: none; user-select: none; -webkit-user-select: none;
|
|
|
}
|
|
|
-#march { width: 100%; height: 100%; display: block; }
|
|
|
-.hud { position: absolute; left: 12px; top: 11px; display: flex; gap: 14px; align-items: flex-start; pointer-events: none; }
|
|
|
-.hud .layer { font-size: 24px; font-weight: 750; letter-spacing: -.02em; line-height: 1; }
|
|
|
-.hud .layer small { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 3px; letter-spacing: .04em; }
|
|
|
-.hud .meta { font-size: 11px; color: var(--muted); line-height: 1.5; padding-top: 6px; }
|
|
|
-.hud .meta b { color: var(--ink-3); }
|
|
|
-.hud-r { position: absolute; right: 12px; top: 11px; font-size: 11px; color: var(--muted); text-align: right; line-height: 1.5; pointer-events: none; }
|
|
|
-.hud-r b { color: var(--ink); font-size: 13px; }
|
|
|
-.badge-magic { position: absolute; right: 12px; bottom: 12px; background: #f4ecff; border: 1px solid #e1d3f7; color: #6b3fa0; font-size: 11px; padding: 4px 8px; border-radius: 7px; }
|
|
|
-.frozen-veil { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(18,26,43,.025) 0 10px, rgba(18,26,43,.05) 10px 11px); display: none; }
|
|
|
-.frozen .frozen-veil { display: block; }
|
|
|
-.skip-float { position: absolute; font-size: 12px; font-weight: 700; color: var(--gold); pointer-events: none; text-shadow: 0 1px 0 #fff; animation: floatUp 1.1s ease-out forwards; }
|
|
|
-@keyframes floatUp { 0% { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
|
|
|
+button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
|
|
|
+svg { display: block; }
|
|
|
+[hidden] { display: none !important; }
|
|
|
|
|
|
-/* ── 操作条 ── */
|
|
|
-.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
|
|
|
-.act {
|
|
|
- border: 1px solid var(--line); background: var(--paper-2); border-radius: 9px; padding: 9px 10px;
|
|
|
- text-align: left; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, transform .1s, background .15s;
|
|
|
-}
|
|
|
-.act:hover:not(:disabled) { border-color: var(--ink-3); }
|
|
|
-.act:active:not(:disabled) { transform: translateY(1px); }
|
|
|
-.act .t { font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 6px; }
|
|
|
-.act .s { font-size: 11px; color: var(--muted); }
|
|
|
-.act.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
|
|
|
-.act.primary .s { color: #a9b6c9; }
|
|
|
-.act.primary:hover:not(:disabled) { background: var(--ink-2); }
|
|
|
-.act.can { border-color: var(--life); box-shadow: 0 0 0 2px var(--life-soft); }
|
|
|
-.act .kbd { margin-left: auto; font-size: 10px; color: var(--muted-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
|
|
|
-.act.primary .kbd { color: #8e9bb0; border-color: #3a475f; }
|
|
|
+.app { display: flex; flex-direction: column; height: 100dvh; max-width: 560px; margin: 0 auto; position: relative; overflow: hidden; }
|
|
|
|
|
|
-/* ── 升级列表 ── */
|
|
|
-.upg { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); }
|
|
|
-.upg:first-of-type { border-top: 0; padding-top: 0; }
|
|
|
-.upg .ic { width: 34px; height: 34px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #f1f4f7; border: 1px solid var(--line); }
|
|
|
-.upg .ic svg { width: 22px; height: 22px; }
|
|
|
-.upg .info { flex: 1; min-width: 0; }
|
|
|
-.upg .info .n { font-size: 13px; font-weight: 650; display: flex; gap: 6px; align-items: baseline; }
|
|
|
-.upg .info .n .lv { font-size: 11px; color: var(--muted); font-weight: 500; }
|
|
|
-.upg .info .d { font-size: 11px; color: var(--muted); margin-top: 1px; }
|
|
|
-.upg .info .d b { color: var(--ink-3); }
|
|
|
-.upg .buy {
|
|
|
- border: 1px solid var(--line-strong); background: #fff; border-radius: 7px; padding: 6px 9px; min-width: 92px;
|
|
|
- font-size: 11px; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; transition: all .15s;
|
|
|
-}
|
|
|
-.upg .buy .c { font-weight: 700; font-size: 12px; color: var(--ink); }
|
|
|
-.upg .buy .c small { font-weight: 500; color: var(--muted); font-size: 10px; margin-right: 2px; }
|
|
|
-.upg .buy.ok { border-color: var(--life); background: var(--life-soft); color: #1c7a48; }
|
|
|
-.upg .buy.ok .c { color: #1c7a48; }
|
|
|
-.upg .buy:hover:not(:disabled).ok { background: #d7f0e2; }
|
|
|
-.upg .buy .n2 { font-size: 10px; color: var(--muted); }
|
|
|
-.upg.locked { opacity: .55; }
|
|
|
-.upg .lock { font-size: 11px; color: var(--muted); }
|
|
|
+/* ── 顶栏 ── */
|
|
|
+.topbar { display: flex; align-items: center; justify-content: space-between; padding: calc(4px + env(safe-area-inset-top, 0px)) 14px 4px; gap: 8px; }
|
|
|
+.res { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
|
+.res .ico-res { width: 22px; height: 22px; color: var(--green); filter: drop-shadow(0 0 6px rgba(95,214,138,.6)); }
|
|
|
+.res b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
|
|
|
+.res span { font-size: 12px; color: var(--green2); opacity: .85; white-space: nowrap; }
|
|
|
+.top-right { display: flex; align-items: center; gap: 8px; }
|
|
|
+/* 触控目标 ≥44px:文字保持 32px 视觉高度,用透明内边距补足可点击区域 */
|
|
|
+.chip { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; min-width: var(--tap); justify-content: center; }
|
|
|
+.chip svg { width: 16px; height: 16px; color: var(--green); }
|
|
|
+.chip.gold svg { color: var(--gold); }
|
|
|
+.chip::before { content: ""; position: absolute; inset: -6px -2px; }
|
|
|
+.top-right { padding-block: 12px; margin-block: -12px; }
|
|
|
+#res-box { position: relative; }
|
|
|
+#res-box::before { content: ""; position: absolute; inset: -8px -4px; }
|
|
|
+.chip b { font-variant-numeric: tabular-nums; }
|
|
|
+.icon-btn { width: var(--tap); height: var(--tap); display: grid; place-items: center; font-size: 20px; border-radius: 50%; color: var(--muted); }
|
|
|
+.icon-btn:active { background: rgba(255,255,255,.06); }
|
|
|
|
|
|
-/* ── 兵种 ── */
|
|
|
-.races { display: flex; flex-direction: column; gap: 8px; }
|
|
|
-.race-head { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .06em; margin-top: 2px; }
|
|
|
-.race-head .chip { color: #fff; border-radius: 4px; padding: 1px 6px; font-size: 10px; letter-spacing: .04em; }
|
|
|
-.race-head .bond { font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: auto; font-size: 10.5px; }
|
|
|
-.race-head .bond.on { color: #1c7a48; }
|
|
|
-.life { display: flex; gap: 9px; align-items: center; padding: 6px 0; }
|
|
|
-.life .ic { width: 36px; height: 36px; flex: none; border-radius: 9px; border: 1px solid var(--line); background: #fafbfc; display: grid; place-items: center; }
|
|
|
-.life .ic svg { width: 26px; height: 26px; }
|
|
|
-.life .info { flex: 1; min-width: 0; }
|
|
|
-.life .info .n { font-size: 12.5px; font-weight: 650; display: flex; gap: 6px; align-items: baseline; }
|
|
|
-.life .info .n .lv { font-size: 11px; color: var(--muted); font-weight: 500; }
|
|
|
-.life .info .s { font-size: 10.5px; color: var(--muted-2); }
|
|
|
-.life .buy { font-size: 11px; border: 1px solid var(--line-strong); background: #fff; border-radius: 7px; padding: 5px 8px; min-width: 76px; text-align: right; }
|
|
|
-.life .buy.ok { border-color: var(--life); background: var(--life-soft); color: #1c7a48; }
|
|
|
-.life .buy .c { font-weight: 700; }
|
|
|
-.life.locked { opacity: .5; }
|
|
|
+/* ── 目标 ── */
|
|
|
+.goal { margin: 6px 12px 0; display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 12px; min-height: 52px;
|
|
|
+ border-radius: 14px; background: linear-gradient(90deg, rgba(95,214,138,.16), rgba(95,214,138,.04) 70%, rgba(18,28,51,.4));
|
|
|
+ border: 1px solid rgba(95,214,138,.32); box-shadow: 0 0 0 1px rgba(95,214,138,.06) inset; }
|
|
|
+.goal .goal-pin { color: var(--green2); font-size: 18px; animation: pulse 2.2s infinite; }
|
|
|
+.goal .goal-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
|
+.goal b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
|
+.goal small { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
|
+.goal .goal-go { color: var(--green); font-size: 22px; }
|
|
|
+.goal.flash { animation: goalflash .9s; }
|
|
|
|
|
|
-/* ── 永久 / 转生 ── */
|
|
|
-.reb-card { border: 1px solid #e7dcc0; background: linear-gradient(180deg, #fffdf8, var(--gold-soft)); border-radius: 10px; padding: 11px 12px; }
|
|
|
-.reb-card .k { font-size: 11px; color: #8a6d2c; letter-spacing: .08em; }
|
|
|
-.reb-card .v { font-size: 26px; font-weight: 750; color: #7a5a12; margin-top: 2px; }
|
|
|
-.reb-card .v small { font-size: 12px; color: #a5893f; font-weight: 600; margin-left: 4px; }
|
|
|
-.reb-card .line { font-size: 11px; color: #8a6d2c; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
|
|
|
-.reb-card .line b { color: #5f470f; }
|
|
|
-.perm { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px dashed #e7dcc0; }
|
|
|
-.perm:first-of-type { border-top: 0; }
|
|
|
-.perm .info { flex: 1; }
|
|
|
-.perm .n { font-size: 12.5px; font-weight: 650; }
|
|
|
-.perm .d { font-size: 10.5px; color: var(--muted); }
|
|
|
-.perm .buy { font-size: 11px; border: 1px solid #e0cf9f; background: #fff; border-radius: 7px; padding: 5px 9px; min-width: 78px; text-align: right; }
|
|
|
-.perm .buy.ok { background: #fff8e6; border-color: var(--gold); color: #7a5a12; }
|
|
|
-.perm .buy.ok .c { font-weight: 700; }
|
|
|
-.relics { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
|
|
|
-.relic { width: 26px; height: 26px; border-radius: 6px; border: 1px solid #e0cf9f; background: #fffdf6; display: grid; place-items: center; }
|
|
|
-.relic.off { opacity: .3; filter: grayscale(1); }
|
|
|
-.relic svg { width: 16px; height: 16px; }
|
|
|
+/* ── 星图 ── */
|
|
|
+.stage { position: relative; flex: 1; min-height: 0; margin: 4px 0 0; }
|
|
|
+#system { position: absolute; inset: 0; width: 100%; height: 100%; }
|
|
|
+.stage::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 50%; border: 1px dashed rgba(150,190,255,.07); }
|
|
|
+.stage::after { content: ""; position: absolute; left: 50%; bottom: 4%; width: 70%; height: 22%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(95,214,138,.10), transparent 70%); pointer-events: none; }
|
|
|
+.system-planet { cursor: pointer; }
|
|
|
+.system-planet .halo { transition: opacity .6s, transform .6s; transform-origin: center; }
|
|
|
+.system-planet.pulse .halo { animation: ringpulse 2.4s infinite; }
|
|
|
+.system-planet.pulse .body { animation: bob 3s ease-in-out infinite; }
|
|
|
+.system-planet.locked { opacity: .42; filter: grayscale(.6); }
|
|
|
+.system-planet .label { fill: var(--muted); font-size: 9.5px; text-anchor: middle; pointer-events: none; }
|
|
|
+.system-planet.current .label { fill: var(--ink); font-weight: 600; }
|
|
|
+.sun-body { animation: sunspin 60s linear infinite; transform-origin: center; }
|
|
|
+.planet-chip { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); background: rgba(7,12,24,.72); border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; font-size: 12px; color: var(--muted); white-space: nowrap; backdrop-filter: blur(8px); }
|
|
|
+.planet-chip b { color: var(--ink); }
|
|
|
|
|
|
-/* ── 位面 ── */
|
|
|
-.plane-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
|
|
|
-.plane-card .art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; margin: -8px -9px 7px; box-sizing: content-box; width: calc(100% + 18px); background: #eceff3; }
|
|
|
-.plane-card.locked .art { filter: saturate(.55); }
|
|
|
-/* 世界树主视觉:位面面板底部圆角卡图(不干扰行军 canvas) */
|
|
|
-.tree-art { margin: 10px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; background: #0c111c; }
|
|
|
-.tree-art img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }
|
|
|
-.tree-art figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 10px 6px; font-size: 10.5px; color: #dfe8f5; background: linear-gradient(transparent, rgba(8,12,20,.72)); }
|
|
|
-.tree-art figcaption b { color: #7BE3A6; }
|
|
|
-.plane-card { border: 1px solid var(--line); border-radius: 9px; padding: 8px 9px; background: #fff; text-align: left; position: relative; overflow: hidden; }
|
|
|
-.plane-card .tier { position: absolute; right: 0; top: 0; font-size: 9px; color: #fff; padding: 1px 6px; border-bottom-left-radius: 6px; }
|
|
|
-.plane-card.cur { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
|
|
|
-.plane-card.locked { opacity: .5; }
|
|
|
-.plane-card .nm { font-size: 12.5px; font-weight: 650; margin-top: 2px; }
|
|
|
-.plane-card .met { font-size: 10px; color: var(--muted); margin-top: 1px; }
|
|
|
-.plane-card .bar { height: 4px; border-radius: 2px; background: #eceff3; margin-top: 6px; overflow: hidden; }
|
|
|
-.plane-card .bar i { display: block; height: 100%; border-radius: 2px; }
|
|
|
-.plane-card .ex { font-size: 10px; color: var(--muted); margin-top: 3px; display: flex; justify-content: space-between; }
|
|
|
-.plane-card .ex .an { color: var(--life); font-weight: 700; }
|
|
|
-.plane-note { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
|
|
|
-.plane-note b { color: var(--ink-3); }
|
|
|
+/* ── 底部:树 / 进度 / 生命 ── */
|
|
|
+.dock { padding: 0 12px 6px; display: grid; grid-template-columns: 78px 1fr; grid-template-rows: auto auto; gap: 8px 10px; }
|
|
|
+.tree-wrap { grid-row: 1 / span 2; display: grid; place-items: end center; }
|
|
|
+.tree { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(95,214,138,.22), rgba(95,214,138,0) 70%); }
|
|
|
+.tree svg { width: 68px; height: 68px; transition: transform .12s; filter: drop-shadow(0 0 10px rgba(95,214,138,.55)); }
|
|
|
+.tree:active svg { transform: scale(.9); }
|
|
|
+.tree.hint { animation: hint 1.6s infinite; }
|
|
|
+.tree-crown { transform-origin: 60px 55px; transition: transform .3s; }
|
|
|
+.tree-fruit { animation: twinkle 3s infinite; }
|
|
|
+.tree-float { position: absolute; top: -4px; left: 50%; font-size: 14px; font-weight: 700; color: var(--green2); opacity: 0; pointer-events: none; white-space: nowrap; }
|
|
|
+.tree-float.go { animation: floatup .9s ease-out; }
|
|
|
+.progress-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px 9px; min-width: 0; }
|
|
|
+.pc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
|
|
|
+.pc-name { font-weight: 700; font-size: 15px; }
|
|
|
+.pc-env { font-size: 11px; color: var(--muted); }
|
|
|
+.pc-env.bad { color: var(--red); } .pc-env.good { color: var(--green2); }
|
|
|
+.bar { position: relative; height: 14px; border-radius: 7px; background: rgba(140,170,220,.14); margin: 7px 0 6px; overflow: hidden; }
|
|
|
+.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: 7px; background: linear-gradient(90deg, #2f9e62, var(--green), var(--green2)); box-shadow: 0 0 12px rgba(95,214,138,.6); transition: width .4s linear; }
|
|
|
+.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-100%); animation: shine 2.6s infinite; }
|
|
|
+.bar span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
|
|
|
+.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); }
|
|
|
+.pc-foot > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
+.pc-foot { position: relative; }
|
|
|
+.mini-hit { display: none; }
|
|
|
+.mini { position: relative; height: 30px; min-width: var(--tap); padding: 0 12px; border-radius: 15px; font-size: 12.5px; font-weight: 600; background: rgba(95,214,138,.14); color: var(--green2); border: 1px solid rgba(95,214,138,.35); flex: none; }
|
|
|
+.mini { margin-block: 7px; }
|
|
|
+.pc-foot { padding-block: 4px; }
|
|
|
+.mini:disabled { opacity: .38; }
|
|
|
+.mini.gold { background: rgba(244,201,93,.14); color: var(--gold); border-color: rgba(244,201,93,.35); }
|
|
|
+.mini.red { background: rgba(255,122,107,.16); color: var(--red); border-color: rgba(255,122,107,.4); animation: hint 1.2s infinite; }
|
|
|
+.lives { grid-column: 2; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
|
|
|
+.lives::-webkit-scrollbar { display: none; }
|
|
|
+.life-btn { flex: none; min-width: 68px; height: 62px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px 6px; position: relative; }
|
|
|
+.life-btn svg { width: 22px; height: 22px; color: var(--green2); }
|
|
|
+.life-btn .nm { font-size: 11px; }
|
|
|
+.life-btn .lv { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
|
+.life-btn.buyable { border-color: rgba(95,214,138,.7); box-shadow: 0 0 14px rgba(95,214,138,.28); }
|
|
|
+.life-btn.buyable::after { content: "↑"; position: absolute; top: 2px; right: 6px; color: var(--green2); font-weight: 700; }
|
|
|
+.life-btn.locked { opacity: .5; }
|
|
|
+.life-btn.locked svg { color: var(--muted); }
|
|
|
+.life-btn.locked .lv { color: var(--green); }
|
|
|
+.life-btn.flash { animation: lifebuy .5s; }
|
|
|
+.life-btn .next-tag { position: absolute; bottom: -1px; font-size: 9px; color: var(--gold); }
|
|
|
|
|
|
-/* 位面主题色带:顶部细线 */
|
|
|
-[data-plane="0"] { --plane-c: #5fa8d3; }
|
|
|
-[data-plane="1"] { --plane-c: #6c5ce7; }
|
|
|
-[data-plane="2"] { --plane-c: #c77dff; }
|
|
|
-[data-plane="3"] { --plane-c: #2dd4bf; }
|
|
|
-.topbar { border-top: 3px solid var(--plane-c, var(--life)); }
|
|
|
+/* ── 底栏 ── */
|
|
|
+.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(7,12,24,.85); backdrop-filter: blur(10px); padding-bottom: var(--safe-b); }
|
|
|
+.tabbar button { height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted); position: relative; }
|
|
|
+.tabbar svg { width: 22px; height: 22px; }
|
|
|
+.tabbar button.on { color: var(--green2); }
|
|
|
+.tabbar button .dot { position: absolute; top: 8px; right: calc(50% - 16px); width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
|
|
|
+.era-badge { position: absolute; right: 14px; top: calc(58px + env(safe-area-inset-top, 0px)); font-size: 11px; color: var(--gold); background: rgba(244,201,93,.12); border: 1px solid rgba(244,201,93,.3); padding: 3px 8px; border-radius: 10px; }
|
|
|
|
|
|
-/* ── 里世界 ── */
|
|
|
-.rift-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
|
|
|
-.rift-top .env { flex: 1; }
|
|
|
-.rift-top .env .nm { font-size: 15px; font-weight: 700; }
|
|
|
-.rift-top .env .ds { font-size: 11px; color: var(--muted); }
|
|
|
-.hpbar { height: 14px; border-radius: 4px; background: #eceff3; border: 1px solid var(--line); overflow: hidden; position: relative; }
|
|
|
-.hpbar i { display: block; height: 100%; background: linear-gradient(90deg, #7ad39f, var(--life)); transition: width .25s; }
|
|
|
-.hpbar.enemy i { background: linear-gradient(90deg, #e2a09b, #c0492e); }
|
|
|
-.hpbar .txt { position: absolute; inset: 0; font-size: 10px; display: grid; place-items: center; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
|
|
|
-.elite-tag { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: #fff; letter-spacing: .06em; }
|
|
|
-.elite-tag.boss { background: var(--gold); }
|
|
|
-.taunt { font-size: 12px; color: var(--muted); font-style: italic; margin: 8px 0 4px; line-height: 1.6; border-left: 2px solid var(--line-strong); padding-left: 8px; }
|
|
|
-.steps { display: flex; gap: 4px; align-items: center; margin: 8px 0 10px; }
|
|
|
-.steps i { flex: 1; height: 5px; border-radius: 3px; background: #eceff3; }
|
|
|
-.steps i.past { background: var(--life); }
|
|
|
-.steps i.now { background: var(--gold); }
|
|
|
-.card-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
|
|
|
-.opt { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 10px 12px; text-align: left; transition: all .15s; }
|
|
|
-.opt:hover { border-color: var(--ink); transform: translateY(-1px); }
|
|
|
-.opt .l { font-size: 13.5px; font-weight: 650; }
|
|
|
-.opt .h { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
|
|
|
-.opt .rule-chip { display: inline-block; font-size: 10px; color: #fff; padding: 1px 6px; border-radius: 4px; margin-right: 4px; }
|
|
|
-.dice-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
|
|
|
-.dice { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
|
|
|
-.dice.rolling { animation: shake .3s linear infinite; }
|
|
|
-@keyframes shake { 0%,100% { transform: rotate(-3deg) } 50% { transform: rotate(3deg) } }
|
|
|
-.cmp { flex: 1; font-size: 12px; line-height: 1.6; }
|
|
|
-.cmp .need { color: var(--danger); font-weight: 650; }
|
|
|
-.cmp .val { font-weight: 750; }
|
|
|
-.cmp .win { color: var(--life); }
|
|
|
-.cmp .lose { color: var(--danger); }
|
|
|
-.roll-label { font-size: 13px; font-weight: 750; padding: 2px 8px; border-radius: 6px; display: inline-block; margin-top: 6px; }
|
|
|
-.roll-label.win { background: var(--life-soft); color: #1c7a48; }
|
|
|
-.roll-label.lose { background: #fbe8e3; color: var(--danger); }
|
|
|
-.roll-label.neutral { background: #f1f3f6; color: var(--ink-3); }
|
|
|
-.fight-btns { display: grid; grid-template-columns: 1fr 92px; gap: 8px; margin-top: 10px; }
|
|
|
-.btn { border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 9px; padding: 11px 12px; font-size: 14px; font-weight: 700; }
|
|
|
-.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); font-weight: 600; font-size: 12.5px; }
|
|
|
-.btn.danger { background: #fff; color: var(--danger); border-color: #e8bfb5; font-size: 12.5px; }
|
|
|
-.attrs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
|
|
|
-.attr { border: 1px solid var(--line); border-radius: 8px; padding: 6px 7px; background: #fafbfc; }
|
|
|
-.attr .k { font-size: 10px; font-weight: 700; letter-spacing: .06em; display: flex; justify-content: space-between; }
|
|
|
-.attr .k .ad { font-weight: 500; color: var(--muted); }
|
|
|
-.attr .v { font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
|
|
|
-.attr .slot { font-size: 9.5px; color: var(--muted-2); }
|
|
|
-.stepper { display: flex; gap: 4px; margin-top: 3px; }
|
|
|
-.stepper button { flex: 1; border: 1px solid var(--line-strong); background: #fff; border-radius: 5px; font-size: 13px; line-height: 1.4; padding: 0; font-weight: 700; }
|
|
|
-.stepper button:disabled { opacity: .3; }
|
|
|
+/* ── 开场故事 ── */
|
|
|
+.screen.prologue { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #05080f; }
|
|
|
+.pro-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.55) saturate(1.05); transition: opacity .8s; animation: kenburns 18s ease-in-out infinite alternate; }
|
|
|
+.pro-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,15,.35), rgba(5,8,15,.2) 40%, rgba(5,8,15,.95) 85%); }
|
|
|
+.pro-body { position: relative; padding: 0 26px 12px; animation: fadeup .9s both; }
|
|
|
+.pro-kicker { color: var(--green2); font-size: 12px; letter-spacing: 3px; margin-bottom: 10px; }
|
|
|
+.pro-text { font-size: 24px; line-height: 1.5; font-weight: 700; white-space: pre-line; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
|
|
|
+.pro-lines { margin-top: 14px; color: #c7d4ec; font-size: 14.5px; line-height: 1.85; }
|
|
|
+.pro-lines p { margin: 0; }
|
|
|
+.pro-foot { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 26px calc(22px + var(--safe-b)); }
|
|
|
+.pro-dots { display: flex; gap: 6px; flex: 1; }
|
|
|
+.pro-dots i { width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.2); }
|
|
|
+.pro-dots i.on { background: var(--green2); }
|
|
|
+.btn { min-height: var(--tap); padding: 0 22px; border-radius: 22px; font-weight: 700; font-size: 15px; }
|
|
|
+.btn.primary { background: linear-gradient(135deg, #38b46f, #7ff0a6); color: #06130b; box-shadow: 0 6px 24px rgba(95,214,138,.35); }
|
|
|
+.btn.primary:active { transform: scale(.97); }
|
|
|
+.btn.ghost { border: 1px solid var(--line); color: var(--muted); }
|
|
|
+.link { color: var(--muted); font-size: 13px; padding: 0 6px; min-height: var(--tap); }
|
|
|
|
|
|
-/* ── 日志 / 事件 ── */
|
|
|
-.feed { display: flex; flex-direction: column; gap: 8px; max-height: 100%; overflow-y: auto; }
|
|
|
-.feed .row { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; line-height: 1.45; }
|
|
|
-.feed .row time { color: var(--muted-2); font-size: 10.5px; font-variant-numeric: tabular-nums; min-width: 34px; }
|
|
|
-.feed .row.crisis { color: var(--crisis); }
|
|
|
-.feed .row.mile { color: #7a5a12; font-weight: 600; }
|
|
|
-.empty { color: var(--muted-2); font-size: 12px; padding: 8px 0; }
|
|
|
+/* ── 底部抽屉(生命 / 星图 / 纪元 / 成就)── */
|
|
|
+.sheet-mask { position: fixed; inset: 0; background: rgba(3,6,12,.55); z-index: 40; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
|
|
|
+.sheet { width: 100%; max-width: 560px; max-height: 82dvh; display: flex; flex-direction: column; background: linear-gradient(180deg, #14203a, #0c1323); border-radius: 22px 22px 0 0; border: 1px solid var(--line); border-bottom: 0; animation: sheetup .28s cubic-bezier(.2,.8,.2,1); padding-bottom: var(--safe-b); }
|
|
|
+.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 6px 18px; }
|
|
|
+.sheet-head h2 { margin: 0; font-size: 18px; }
|
|
|
+.sheet-body { overflow-y: auto; padding: 6px 16px 14px; -webkit-overflow-scrolling: touch; }
|
|
|
+.sheet-foot { padding: 0 16px 14px; }
|
|
|
+.sec-title { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin: 14px 0 8px; }
|
|
|
+.card { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
|
|
|
+.row { display: flex; align-items: center; gap: 10px; }
|
|
|
+.row .grow { flex: 1; min-width: 0; }
|
|
|
+.kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
|
|
|
+.kv + .kv { border-top: 1px dashed rgba(150,190,255,.1); }
|
|
|
+.kv .k { color: var(--muted); }
|
|
|
+.kv .v { font-variant-numeric: tabular-nums; font-weight: 600; }
|
|
|
+.muted { color: var(--muted); }
|
|
|
+.small { font-size: 12px; }
|
|
|
+.lore { font-size: 13px; line-height: 1.75; color: #c8d5ea; white-space: pre-line; }
|
|
|
+.life-card { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
|
|
|
+.life-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(95,214,138,.1); }
|
|
|
+.life-card .ic svg { width: 26px; height: 26px; color: var(--green2); }
|
|
|
+.life-card.locked .ic svg { color: var(--muted); }
|
|
|
+.life-card h4 { margin: 0 0 2px; font-size: 14.5px; }
|
|
|
+.life-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
|
|
|
+.buy { min-width: 76px; min-height: 40px; padding: 0 12px; border-radius: 12px; background: rgba(95,214,138,.16); border: 1px solid rgba(95,214,138,.4); color: var(--green2); font-weight: 700; font-size: 13px; }
|
|
|
+.buy:disabled { opacity: .4; }
|
|
|
+.buy .c { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); }
|
|
|
+.planet-list { display: grid; gap: 8px; }
|
|
|
+.pcard { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
|
|
|
+.pcard.cleared { border-color: rgba(95,214,138,.4); background: linear-gradient(90deg, rgba(95,214,138,.12), rgba(255,255,255,.02)); }
|
|
|
+.pcard.locked { opacity: .55; }
|
|
|
+.pcard.cur { border-color: rgba(95,214,138,.7); box-shadow: 0 0 18px rgba(95,214,138,.18); }
|
|
|
+.pcard .orb { width: 40px; height: 40px; border-radius: 50%; }
|
|
|
+.pcard h4 { margin: 0; font-size: 14px; } .pcard p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); }
|
|
|
+.pcard .go { font-size: 12px; color: var(--green2); font-weight: 700; }
|
|
|
+.pcard .go.lock { color: var(--muted); }
|
|
|
+.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
|
|
|
+.ach { text-align: center; padding: 10px 6px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); opacity: .5; }
|
|
|
+.ach.on { opacity: 1; border-color: rgba(244,201,93,.4); background: linear-gradient(180deg, rgba(244,201,93,.12), rgba(255,255,255,.02)); }
|
|
|
+.ach .ic { width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,201,93,.12); }
|
|
|
+.ach .ic svg { width: 22px; height: 22px; color: var(--gold); }
|
|
|
+.ach b { font-size: 11.5px; display: block; } .ach small { font-size: 10px; color: var(--muted); display: block; margin-top: 2px; line-height: 1.35; }
|
|
|
+.era-hero { text-align: center; padding: 6px 0 4px; }
|
|
|
+.era-hero .big { font-size: 40px; font-weight: 800; color: var(--gold); text-shadow: 0 0 24px rgba(244,201,93,.5); font-variant-numeric: tabular-nums; }
|
|
|
+.era-hero .lbl { color: var(--muted); font-size: 12px; letter-spacing: 2px; }
|
|
|
+.lock-note { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255,122,107,.08); border: 1px solid rgba(255,122,107,.25); font-size: 13px; line-height: 1.6; color: #ffd4cf; }
|
|
|
+.lock-note svg { width: 22px; height: 22px; color: var(--red); flex: none; }
|
|
|
+.curio-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
|
|
|
+.curio { padding: 12px 8px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); text-align: center; }
|
|
|
+.curio svg { width: 26px; height: 26px; margin: 0 auto 6px; color: var(--gold); }
|
|
|
+.curio b { display: block; font-size: 13px; } .curio small { font-size: 10.5px; color: var(--muted); display: block; margin-top: 3px; line-height: 1.4; }
|
|
|
+.curio .own { font-size: 10px; color: var(--gold); margin-top: 4px; }
|
|
|
|
|
|
-/* ── 底部导航(仅手机) ── */
|
|
|
-.tabbar { display: none; }
|
|
|
-.drawer-mask { display: none; }
|
|
|
+/* ── 事件 / 里程碑弹窗 ── */
|
|
|
+.modal-mask { position: fixed; inset: 0; z-index: 60; background: rgba(3,6,12,.62); display: grid; place-items: center; padding: 18px; animation: fade .25s; backdrop-filter: blur(3px); }
|
|
|
+.modal { width: 100%; max-width: 420px; max-height: 88dvh; overflow-y: auto; border-radius: 22px; background: linear-gradient(180deg, #17243f, #0c1323); border: 1px solid rgba(150,190,255,.18); box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: pop .32s cubic-bezier(.2,.9,.3,1.2); }
|
|
|
+.modal-art { height: 86px; background: radial-gradient(120% 140% at 50% 0%, rgba(95,214,138,.35), transparent 70%); position: relative; overflow: hidden; }
|
|
|
+.modal-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1px); background-size: 34px 34px; opacity: .35; }
|
|
|
+.modal-art .sigil { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -30%); border-radius: 50%; display: grid; place-items: center; background: rgba(7,12,24,.7); border: 1px solid rgba(95,214,138,.45); }
|
|
|
+.modal-art .sigil svg { width: 34px; height: 34px; color: var(--green2); }
|
|
|
+.modal-body { padding: 4px 20px 18px; }
|
|
|
+.modal-kicker { font-size: 11px; letter-spacing: 2px; color: var(--green2); }
|
|
|
+.modal h2 { margin: 6px 0 10px; font-size: 22px; }
|
|
|
+.modal-text { font-size: 14.5px; line-height: 1.85; color: #d4e0f3; white-space: pre-line; }
|
|
|
+.modal-choices { display: grid; gap: 8px; margin-top: 16px; }
|
|
|
+.choice { text-align: left; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); min-height: var(--tap); }
|
|
|
+.choice b { display: block; font-size: 14px; font-weight: 600; }
|
|
|
+.choice small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--green2); }
|
|
|
+.choice:active { background: rgba(95,214,138,.12); }
|
|
|
+.modal-choices .btn { width: 100%; }
|
|
|
+.story-line { border-left: 2px solid rgba(95,214,138,.5); padding-left: 12px; margin: 10px 0; color: #c8d5ea; font-size: 13.5px; line-height: 1.75; }
|
|
|
|
|
|
-/* ── 弹窗 / Toast ── */
|
|
|
-.modal-mask { position: fixed; inset: 0; background: rgba(18,26,43,.38); display: grid; place-items: center; z-index: 50; padding: 16px; backdrop-filter: blur(1px); }
|
|
|
-.modal-mask[hidden] { display: none; }
|
|
|
-.modal { width: min(520px, 100%); background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(18,26,43,.22); overflow: hidden; max-height: 88vh; display: flex; flex-direction: column; animation: pop .18s ease-out; }
|
|
|
-@keyframes pop { from { transform: translateY(8px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
|
|
|
-.modal header { padding: 16px 18px 10px; display: flex; align-items: flex-start; gap: 10px; }
|
|
|
-.modal header .mt { flex: 1; }
|
|
|
-.modal header .mtag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 2px 7px; border-radius: 4px; background: #f1f3f6; color: var(--muted); margin-bottom: 6px; }
|
|
|
-.modal header .mtag.crisis { background: #fdf1e3; color: #a5620d; }
|
|
|
-.modal header .mtag.mile { background: var(--gold-soft); color: #7a5a12; }
|
|
|
-.modal header .mtag.civ { background: #e9f1fb; color: #2a5f99; }
|
|
|
-.modal header .mtag.rift { background: #f0ecfb; color: #533aa8; }
|
|
|
-.modal h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
|
|
|
-.modal .body { padding: 4px 18px 16px; overflow-y: auto; }
|
|
|
-.modal .body p { font-size: 13.5px; line-height: 1.75; color: var(--ink-3); margin: 6px 0 12px; }
|
|
|
-.modal .opts { display: flex; flex-direction: column; gap: 8px; }
|
|
|
-.modal .foot { padding: 0 18px 16px; display: flex; gap: 8px; justify-content: flex-end; }
|
|
|
-.modal textarea { width: 100%; height: 160px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px; font-family: var(--mono); font-size: 11px; resize: vertical; }
|
|
|
-.cd { font-size: 12px; color: var(--crisis); font-weight: 650; }
|
|
|
-#toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 60; pointer-events: none; align-items: center; }
|
|
|
-.toast { background: var(--ink); color: #eef1f6; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(18,26,43,.25); animation: toastIn .2s ease-out; max-width: 90vw; }
|
|
|
-.toast.warn { background: #8a4d12; }
|
|
|
-.toast.good { background: #1c6b43; }
|
|
|
-@keyframes toastIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
|
|
|
+/* ── 提示 / 成就 toast ── */
|
|
|
+#toasts { position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; gap: 8px; width: min(94vw, 420px); pointer-events: none; }
|
|
|
+.toast { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(18,28,51,.94); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.4); font-size: 13px; animation: toastin .35s cubic-bezier(.2,.9,.3,1.2); }
|
|
|
+.toast.ach { border-color: rgba(244,201,93,.55); background: linear-gradient(90deg, rgba(244,201,93,.2), rgba(18,28,51,.96) 60%); }
|
|
|
+.toast .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,201,93,.16); flex: none; }
|
|
|
+.toast .ic svg { width: 18px; height: 18px; color: var(--gold); }
|
|
|
+.toast b { display: block; font-size: 13px; } .toast small { color: var(--muted); font-size: 11.5px; }
|
|
|
+.toast.out { animation: toastout .3s forwards; }
|
|
|
+.toast.green { border-color: rgba(95,214,138,.5); }
|
|
|
|
|
|
-/* ── 新手引导 ── */
|
|
|
-.guide { border: 1px solid #cfe6d9; background: var(--life-soft); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; }
|
|
|
-.guide .g { flex: 1; font-size: 12.5px; line-height: 1.6; color: #1c5c3a; }
|
|
|
-.guide .g b { color: #123f28; }
|
|
|
-.guide .x { border: 0; background: transparent; color: #1c5c3a; font-size: 16px; padding: 2px 6px; }
|
|
|
-.panel .guide { display: flex; flex-direction: row; align-items: center; }
|
|
|
-.pulse { animation: pulse 1.8s ease-in-out infinite; }
|
|
|
-@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,174,107,.0); } 50% { box-shadow: 0 0 0 4px rgba(47,174,107,.18); } }
|
|
|
+/* ── 特效层 ── */
|
|
|
+#fx { position: fixed; inset: 0; pointer-events: none; z-index: 65; overflow: hidden; }
|
|
|
+.fly { position: absolute; font-size: 13px; font-weight: 800; color: var(--green2); text-shadow: 0 0 8px rgba(95,214,138,.8); animation: flyup .85s ease-out forwards; }
|
|
|
+.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--green2); box-shadow: 0 0 10px var(--green2); animation: sparkfade .6s ease-out forwards; }
|
|
|
+.confetti { position: absolute; width: 8px; height: 12px; border-radius: 2px; animation: confetti 2.2s ease-in forwards; }
|
|
|
+.ripple { position: absolute; border-radius: 50%; border: 2px solid var(--green2); animation: ripple .7s ease-out forwards; }
|
|
|
+.global-flash { animation: gf 1.2s; }
|
|
|
|
|
|
-/* 性能:低端设备关动画 */
|
|
|
-@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
|
|
|
+/* ── 动画 ── */
|
|
|
+@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
|
|
|
+@keyframes ringpulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
|
|
|
+@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
|
|
|
+@keyframes sunspin { to { transform: rotate(360deg); } }
|
|
|
+@keyframes twinkle { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
|
|
|
+@keyframes hint { 0%,100% { filter: drop-shadow(0 0 6px rgba(95,214,138,.5)); } 50% { filter: drop-shadow(0 0 16px rgba(156,255,192,.95)); } }
|
|
|
+@keyframes floatup { 0% { opacity: 1; transform: translate(-50%, 0) scale(.9); } 100% { opacity: 0; transform: translate(-50%, -42px) scale(1.15); } }
|
|
|
+@keyframes shine { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }
|
|
|
+@keyframes lifebuy { 0% { transform: scale(1); } 40% { transform: scale(1.12); border-color: var(--green2); } 100% { transform: scale(1); } }
|
|
|
+@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
|
|
|
+@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
|
|
|
+@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
|
|
|
+@keyframes sheetup { from { transform: translateY(100%); } to { transform: none; } }
|
|
|
+@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
|
|
|
+@keyframes toastin { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
|
|
|
+@keyframes toastout { to { opacity: 0; transform: translateY(-10px); } }
|
|
|
+@keyframes flyup { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -56px) scale(1.2); } }
|
|
|
+@keyframes sparkfade { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); } }
|
|
|
+@keyframes confetti { 0% { opacity: 1; transform: translate(var(--x0), 0) rotate(0); } 100% { opacity: 0; transform: translate(calc(var(--x0) + var(--dx)), 110vh) rotate(720deg); } }
|
|
|
+@keyframes ripple { to { opacity: 0; transform: scale(2.2); } }
|
|
|
+@keyframes goalflash { 0%,100% { box-shadow: none; } 40% { box-shadow: 0 0 30px rgba(95,214,138,.6); } }
|
|
|
+@keyframes gf { 0% { box-shadow: inset 0 0 0 rgba(95,214,138,0); } 30% { box-shadow: inset 0 0 120px rgba(95,214,138,.55); } 100% { box-shadow: inset 0 0 0 rgba(95,214,138,0); } }
|
|
|
|
|
|
-/* ══════════ 响应式 ══════════ */
|
|
|
-/* 中等宽度:两栏 */
|
|
|
-@media (max-width: 1180px) {
|
|
|
- .main { grid-template-columns: 280px minmax(0, 1fr); }
|
|
|
- .col.right { display: none; }
|
|
|
- .main.show-right .col.right { display: flex; position: fixed; right: 10px; top: 60px; bottom: 10px; width: 320px; z-index: 20; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: 0 20px 60px rgba(18,26,43,.2); }
|
|
|
+/* ── 桌面:居中单屏,加大留白 ── */
|
|
|
+@media (min-width: 720px) {
|
|
|
+ body { background: radial-gradient(1400px 900px at 50% -20%, #1d3057 0%, #0a1120 55%, #05080f 100%); }
|
|
|
+ .app { max-width: 520px; height: 100dvh; border-left: 1px solid rgba(150,190,255,.07); border-right: 1px solid rgba(150,190,255,.07); background: radial-gradient(800px 600px at 50% 30%, rgba(30,50,90,.35), transparent 70%); }
|
|
|
}
|
|
|
-/* 手机竖屏(≤760px):单栏 */
|
|
|
-@media (max-width: 760px) {
|
|
|
- #app { grid-template-rows: auto 1fr auto; }
|
|
|
- .topbar { padding: 0 10px; height: 46px; gap: 8px; }
|
|
|
- .brand { font-size: 13.5px; }
|
|
|
- .brand small { display: none; }
|
|
|
- .topstats { gap: 10px; margin-left: auto; }
|
|
|
- .topstats .tstat.optional { display: none; }
|
|
|
- .topstats .tstat .v { font-size: 12.5px; }
|
|
|
- .viewport-toggle { display: none; }
|
|
|
- .main { display: block; padding: 8px; overflow-y: auto; padding-bottom: 70px; }
|
|
|
- .main > .col { display: none; overflow: visible; padding-bottom: 0; }
|
|
|
- .main > .col.active { display: flex; }
|
|
|
- .main.show-right .col.right { position: static; width: auto; border: 0; padding: 0; box-shadow: none; background: transparent; display: none; }
|
|
|
- .main.show-right > .col.center { display: none; }
|
|
|
- .main.show-right .col.right { display: flex; }
|
|
|
- .canvas-wrap { min-height: 240px; height: 38vh; flex: none; }
|
|
|
- .big-num { font-size: 25px; }
|
|
|
- .res .v { font-size: 17px; }
|
|
|
- .actions { grid-template-columns: repeat(2, 1fr); }
|
|
|
- .tabbar {
|
|
|
- display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line);
|
|
|
- padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); gap: 2px; z-index: 30;
|
|
|
- }
|
|
|
- .tabbar button { border: 0; background: transparent; color: var(--muted); font-size: 11px; padding: 6px 2px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; border-radius: 8px; }
|
|
|
- .tabbar button svg { width: 20px; height: 20px; }
|
|
|
- .tabbar button.on { color: var(--ink); background: #f1f3f6; font-weight: 700; }
|
|
|
- .modal { width: 100%; border-radius: 14px 14px 10px 10px; }
|
|
|
- .modal-mask { align-items: end; padding: 0; }
|
|
|
- .modal { max-height: 86vh; animation: sheetUp .2s ease-out; }
|
|
|
- @keyframes sheetUp { from { transform: translateY(30px); opacity: .6 } to { transform: none; opacity: 1 } }
|
|
|
- .fight-btns { grid-template-columns: 1fr 80px; }
|
|
|
- .attrs { grid-template-columns: repeat(2, 1fr); }
|
|
|
- .upg .buy { min-width: 84px; }
|
|
|
- #toasts { bottom: 76px; }
|
|
|
+@media (max-width: 360px) {
|
|
|
+ .res b { font-size: 19px; } .goal b { font-size: 13px; } .life-btn { min-width: 62px; }
|
|
|
}
|
|
|
+@media (prefers-reduced-motion: reduce) {
|
|
|
+ *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
|
|
|
+}
|
|
|
+body.in-prologue #app { visibility: hidden; }
|
|
|
+.kv .k svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
|
|
|
+.kv .k { white-space: nowrap; }
|
|
|
+.progress-card.cleared { border-color: rgba(95,214,138,.45); background: linear-gradient(90deg, rgba(95,214,138,.16), var(--glass) 70%); }
|
|
|
+#toasts { pointer-events: none; }
|
|
|
+.chip { margin-block: 6px; }
|
|
|
|
|
|
-/* ── 里世界面板(中栏覆盖) ── */
|
|
|
-.rift-panel { border-color: #d9d0f2; background: linear-gradient(180deg, #fbfaff, #fff); }
|
|
|
-.rift-panel[hidden] { display: none; }
|
|
|
-.rift-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
|
|
|
-.rift-head .nm { font-size: 14px; font-weight: 700; }
|
|
|
-.rift-head .kb { margin-left: auto; font-size: 11px; color: var(--muted); }
|
|
|
-.kv { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 11px; margin-top: 8px; }
|
|
|
-.kv div { border: 1px solid var(--line); border-radius: 7px; padding: 4px 6px; background: #fff; text-align: center; }
|
|
|
-.kv b { display: block; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
|
|
|
-.slot-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
|
|
|
-.slot { border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
|
|
|
-.slot .h { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; }
|
|
|
-.slot .v { font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
|
|
|
-.slot .stepper { margin-top: 4px; }
|
|
|
-.energy { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 8px; }
|
|
|
-.energy .pips { display: flex; gap: 2px; flex: 1; }
|
|
|
-.energy .pips i { flex: 1; height: 6px; border-radius: 2px; background: #eceff3; }
|
|
|
-.energy .pips i.on { background: #7fb2ff; }
|
|
|
-.fight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
|
|
|
-.fight-grid .box { border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fff; }
|
|
|
-.fight-grid .box .k { font-size: 10.5px; color: var(--muted); }
|
|
|
-.fight-grid .box .v { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
|
|
|
-.fight-grid .box.enemy .v { color: var(--danger); }
|
|
|
-.roll-bar { display: flex; gap: 6px; margin-top: 8px; }
|
|
|
-.roll-btn { flex: 1; border: 1px solid var(--line-strong); background: #fff; border-radius: 8px; padding: 8px 0; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; transition: transform .12s; }
|
|
|
-.roll-btn:hover { border-color: var(--ink); }
|
|
|
-.roll-btn:active { transform: scale(.97); }
|
|
|
-.roll-btn.hint { border-color: var(--life); background: var(--life-soft); }
|
|
|
-.roll-btn.crit-hint { border-color: var(--gold); background: var(--gold-soft); }
|
|
|
-.log3 { margin-top: 8px; font-size: 11px; color: var(--muted); line-height: 1.6; min-height: 34px; }
|
|
|
-.log3 b { color: var(--ink-3); }
|
|
|
-.pick-oath { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
|
|
|
-.pick-oath .opt { text-align: center; padding: 10px 8px; }
|
|
|
-.pick-oath .opt .nm { font-size: 13.5px; font-weight: 700; }
|
|
|
-.pick-oath .opt .ds { font-size: 11px; color: var(--muted); margin-top: 4px; }
|
|
|
-.build-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
|
|
|
-.build-hint b { color: var(--life); }
|
|
|
-.step-dots { display: flex; gap: 4px; margin: 8px 0 2px; }
|
|
|
-.step-dots i { flex: 1; height: 4px; border-radius: 2px; background: #eceff3; }
|
|
|
-.step-dots i.past { background: var(--life); }
|
|
|
-.step-dots i.now { background: var(--gold); }
|
|
|
-.rift-result .big { font-size: 26px; font-weight: 750; color: var(--gold); }
|
|
|
-
|
|
|
-/* ── 布局修正:flex 子项允许收缩,避免被窄列挤压成竖排字 ── */
|
|
|
-.panel-title { flex-wrap: wrap; }
|
|
|
-.panel-title .tag { white-space: normal; text-align: right; }
|
|
|
-.upg .info, .life .info, .perm .info { min-width: 0; }
|
|
|
-.upg .info .n, .life .info .n, .perm .n { flex-wrap: wrap; }
|
|
|
-.upg .info .d, .life .info .s, .perm .d { line-height: 1.5; }
|
|
|
-.life .info .s { line-height: 1.45; }
|
|
|
-.race-head { flex-wrap: wrap; }
|
|
|
-.race-head .bond { margin-left: 0; }
|
|
|
-.main { grid-template-columns: 300px minmax(0, 1fr) 340px; }
|
|
|
-.col.left, .col.right { padding-right: 2px; }
|
|
|
-@media (max-width: 1360px) { .main { grid-template-columns: 286px minmax(0, 1fr) 320px; } }
|
|
|
-.esc-bar .mark span { top: 5px; }
|
|
|
-.canvas-wrap { min-height: 260px; }
|
|
|
-.hud .layer small { font-size: 11px; }
|
|
|
-.upg .buy, .perm .buy { flex: none; }
|
|
|
-
|
|
|
-/* ── 面板/区块显式纵向排列(覆盖 .main > .col 的横向 flex 继承) ── */
|
|
|
-#upgrades, #lives, #rebirth, #perm, #planes, #resources, #mainline, #feed-panel, #rift-live { display: flex; flex-direction: column; }
|
|
|
-#upgrades .panel-title, #lives .panel-title, #perm .panel-title, #planes .panel-title, #rebirth .panel-title, #mainline .panel-title, #resources .panel-title, #feed-panel .panel-title, #rift-live .panel-title { flex-direction: row; align-items: center; }
|
|
|
-#mainline .guide { flex-direction: row; }
|
|
|
-#mainline .esc-track { flex-direction: row; }
|
|
|
-.actions { flex-direction: row; }
|
|
|
-.reb-card .line, .sub-line { flex-direction: row; }
|
|
|
-.plane-list { flex-direction: row; }
|
|
|
-.relics { flex-direction: row; }
|
|
|
-.panel-title { min-width: 0; }
|
|
|
-.panel-title::before { flex: none; }
|
|
|
-#lives { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; align-items: start; }
|
|
|
-#lives .panel-title, #lives .race-block, #lives .race-head { grid-column: 1 / -1; }
|
|
|
-#lives .race-head { margin-top: 4px; }
|
|
|
-#lives .life { min-width: 0; }
|
|
|
-#lives .life .info .s { white-space: normal; }
|
|
|
-.actions .act .t, .actions .act .s { white-space: nowrap; }
|
|
|
-@media (max-width: 1360px) { #lives { grid-template-columns: 1fr; } }
|
|
|
-
|
|
|
-/* ── 中栏:画布固定高度,内容溢出时滚动 ── */
|
|
|
-.col.center { overflow-y: auto; }
|
|
|
-.canvas-wrap { flex: 0 0 auto; height: clamp(210px, calc(100vh - 330px), 340px); min-height: 180px; }
|
|
|
-.rift-slot { display: flex; flex-direction: column; }
|
|
|
-.rift-slot[hidden] { display: none; }
|
|
|
-#rift-live { display: flex; flex-direction: column; }
|
|
|
-@media (max-width: 760px) { .canvas-wrap { height: 36vh; min-height: 220px; } }
|
|
|
-
|
|
|
-.foot-row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
|
|
|
-
|
|
|
-.ct-inline { padding: 0 18px 16px; }
|
|
|
-.ct-inline .foot-row { margin-top: 10px; }
|
|
|
-.modal .foot:empty { display: none; }
|
|
|
-
|
|
|
-/* 地质环境条 */
|
|
|
-.env-strip { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px; background: rgba(18,26,43,.62); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 6px 10px; color: #e6ecf5; font-size: 11px; backdrop-filter: blur(2px); }
|
|
|
-.env-strip b { font-size: 12px; white-space: nowrap; }
|
|
|
-.env-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
|
|
|
-.env-eff { white-space: nowrap; color: #b9c6d8; }
|
|
|
-.env-prog { flex: 0 0 64px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
|
|
|
-.env-prog i { display: block; height: 100%; }
|
|
|
-.env-left { color: #93a2b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
-@media (max-width: 760px) { .env-strip { bottom: 8px; left: 8px; right: 8px; font-size: 10.5px; } .env-left { display: none; } }
|
|
|
-
|
|
|
-.hud { flex-wrap: wrap; right: 130px; }
|
|
|
-.hud .hud-meta { max-width: 46%; }
|
|
|
-@media (max-width: 600px) { .hud { right: 10px; } .hud .hud-meta { max-width: 60%; } }
|
|
|
-
|
|
|
-.feed .row.ambient { color: #6b4ea8; }
|
|
|
+/* 无障碍:键盘焦点可见(按钮、抽屉、卡片) */
|
|
|
+button:focus-visible, .pcard:focus-visible, .curio:focus-visible { outline: 2px solid var(--green2); outline-offset: 2px; }
|
|
|
+.skip-link { position: absolute; left: -999px; }
|
|
|
+.skip-link:focus { left: 8px; top: 8px; z-index: 100; background: var(--bg1); padding: 8px 12px; border-radius: 8px; }
|