/* ==========================================================================
   超级跨境：Borderless Hustle - Rolling in Cash · 沉稳蓝绿全球战略沙盘主题样式
   沉稳大气 · 护眼深海蓝与祖母绿商务质感 · 移动端与小程序沉浸适配
   ========================================================================== */

:root {
  --bg-deep: #06131d;
  --bg-rail: #081a28;
  --panel-bg: rgba(11, 33, 47, 0.92);
  --panel-sub: rgba(13, 40, 56, 0.78);
  --felt-emerald: #135742;
  --felt-emerald-bright: #197558;
  --ocean-sapphire: #144666;
  --accent-mint: #5eead4;
  --accent-emerald: #34d399;
  --accent-sky: #60a5fa;
  --accent-cyan: #7dd3fc;
  --accent-gold: #d4b87a;
  --accent-amber: #e5b567;
  --warn-muted: #e07a68;
  --text-primary: #ecf7f5;
  --text-secondary: #9ec0cf;
  --text-muted: #6e93a6;
  --border-subtle: 1px solid rgba(110, 231, 183, 0.18);
  --border-card: 1px solid rgba(125, 211, 252, 0.18);
  --border-gold: 1px solid rgba(212, 184, 122, 0.42);
  --shadow-elevated: 0 12px 30px rgba(2, 10, 18, 0.5);
  --shadow-soft: 0 4px 14px rgba(2, 10, 18, 0.32);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  user-select: none;
}

/* 深海蓝与祖母绿环境光背景 */
.halftone-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-color: #06131d;
  background-image:
    radial-gradient(ellipse at 50% 15%, rgba(19, 92, 68, 0.42), transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(16, 66, 98, 0.38), transparent 58%),
    radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 16px 16px;
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 480px;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(8, 26, 38, 0.88) 0%, rgba(7, 30, 29, 0.9) 52%, rgba(6, 20, 30, 0.95) 100%);
  border-left: 1px solid rgba(110, 231, 183, 0.12);
  border-right: 1px solid rgba(110, 231, 183, 0.12);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.72);
}

.screen {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.screen.active {
  display: flex;
}

.hidden {
  display: none !important;
}

/* ==================== 商务蓝绿开局企划页 ==================== */
#screen-start {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--safe-top) + 14px) 14px calc(var(--safe-bottom) + 24px);
  gap: 14px;
}

#screen-start > * {
  flex-shrink: 0;
}

.comic-cover-header {
  flex-shrink: 0;
  background: radial-gradient(ellipse at 42% 24%, #0b5047 0%, #053437 56%, #032127 100%);
  border: 1px solid rgba(226, 198, 134, 0.62);
  box-shadow: var(--shadow-elevated), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 13px 16px 15px;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.comic-issue-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  background: transparent;
  color: #e6c884;
  border-bottom: 1px solid rgba(216, 188, 126, 0.24);
  padding: 0 0 10px;
  margin-bottom: 15px;
}

.issue-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.issue-globe-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.music-ctrl-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.start-sound-pill {
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  background: rgba(20, 92, 66, 0.8);
  color: #f0fdf8;
  border: 1px solid rgba(134, 226, 184, 0.46);
  border-radius: 99px;
  padding: 3.5px 10px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s, background 0.15s;
}

.start-music-pill {
  background: rgba(7, 37, 44, 0.68);
  color: #eaf5f6;
  border-color: rgba(206, 226, 228, 0.36);
}

.pill-svg-ico {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.start-sound-pill.muted {
  background: rgba(16, 36, 48, 0.82);
  color: #93b4c4;
  border-color: rgba(148, 197, 218, 0.28);
}

.brand-logo-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 2px 4px;
}

.brand-crest-wrap {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

.brand-crest-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-title-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  min-width: 0;
  flex: 1;
}

.hk-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hk-title-cn {
  display: block;
  font-size: clamp(21px, 5.8vw, 25px);
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.15;
  white-space: nowrap;
}

.hk-title-en {
  display: block;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.2;
  color: #ecc67c;
  background: linear-gradient(180deg, #fae5b4 0%, #dfa95b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.en-logo-sub {
  margin-top: 4px;
  color: #3fe5d8;
  font-size: clamp(11px, 3vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.25px;
  line-height: 1.3;
  white-space: nowrap;
}

.comic-slogan-box {
  margin-top: 15px;
  padding: 12px 0 0;
  background: transparent;
  color: rgba(224, 242, 240, 0.9);
  border-top: 1px solid rgba(216, 188, 126, 0.24);
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .comic-cover-header {
    padding: 12px 13px 14px;
  }
  .comic-issue-bar {
    gap: 5px;
    font-size: 9.5px;
    letter-spacing: 0.7px;
    padding-bottom: 9px;
    margin-bottom: 13px;
  }
  .start-sound-pill {
    padding: 3px 8px;
    font-size: 10px;
  }
  .brand-logo-hero {
    gap: 12px;
    padding: 1px 0;
  }
  .brand-crest-wrap {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 355px) {
  .en-logo-sub,
  .comic-slogan-box {
    white-space: normal;
  }
}

/* 通用深海蓝-祖母绿商务面板 */
.comic-panel {
  background: linear-gradient(165deg, rgba(13, 39, 55, 0.92) 0%, rgba(9, 28, 40, 0.95) 100%);
  border: var(--border-subtle);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  color: var(--text-primary);
}

.panel-corner-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(135deg, #144e3d, #0f394c);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 184, 122, 0.45);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #bfe0ec;
  margin-bottom: 6px;
}

.label-row-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.label-row-flex .form-label {
  margin-bottom: 0;
}

.mini-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-mini-picker {
  background: linear-gradient(135deg, #154a66, #0f3449);
  color: #b9e6f7;
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-mini-picker.accent {
  background: linear-gradient(135deg, #17694f, #104937);
  color: #e9fbf5;
  border-color: rgba(110, 231, 183, 0.52);
}

.selected-preview-card {
  background: linear-gradient(150deg, rgba(16, 66, 52, 0.78), rgba(10, 38, 48, 0.88));
  border: 1px solid rgba(110, 231, 183, 0.48);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.selected-preview-card:hover {
  border-color: rgba(212, 184, 122, 0.65);
}

.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #f2fbf8;
}

.preview-sub {
  margin-top: 4px;
  font-size: 11px;
  color: #b4d8e4;
  line-height: 1.4;
}

.quick-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.quick-pill {
  background: rgba(10, 30, 44, 0.85);
  color: var(--text-secondary);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 99px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.quick-pill.active {
  background: linear-gradient(135deg, #17664c, #104736);
  color: #f0faf7;
  border-color: rgba(110, 231, 183, 0.62);
}

.arch-badge-rookie {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(20, 88, 66, 0.9);
  color: #7ee8c0;
  border: 1px solid rgba(110, 231, 183, 0.42);
  margin-left: 3px;
}

.input-row {
  display: flex;
  gap: 8px;
}

.location-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

input[type="text"],
input[type="url"],
.comic-select {
  width: 100%;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(6, 19, 29, 0.85);
  color: var(--text-primary);
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="text"]::placeholder,
input[type="url"]::placeholder {
  color: #62879a;
}

input[type="text"]:focus,
input[type="url"]:focus,
.comic-select:focus {
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.15);
}

.comic-btn-icon {
  flex-shrink: 0;
  width: 42px;
  font-size: 17px;
  background: linear-gradient(145deg, #144a5e, #0e3345);
  color: var(--text-primary);
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 8px;
  cursor: pointer;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.chip-btn {
  padding: 8px 10px;
  text-align: left;
  background: rgba(11, 32, 46, 0.82);
  color: var(--text-secondary);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s;
}

.chip-btn .zone-name {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.chip-btn .zone-prov {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.3;
}

.chip-btn.selected {
  background: linear-gradient(145deg, #165c46, #0f4032);
  color: #f0faf7;
  border-color: rgba(110, 231, 183, 0.65);
  box-shadow: 0 3px 10px rgba(8, 36, 28, 0.45);
}

.chip-btn.selected .zone-prov {
  color: #c2efe2;
}

.archetype-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.arch-card {
  text-align: left;
  padding: 9px 10px;
  background: rgba(11, 32, 46, 0.8);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.arch-card.selected {
  background: linear-gradient(155deg, rgba(20, 78, 60, 0.9), rgba(12, 48, 42, 0.94));
  border-color: rgba(110, 231, 183, 0.65);
  box-shadow: 0 4px 14px rgba(6, 28, 22, 0.45);
}

.arch-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.arch-cash {
  font-size: 10.5px;
  background: rgba(7, 22, 32, 0.75);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 184, 122, 0.35);
  padding: 1px 6px;
  border-radius: 99px;
  white-space: nowrap;
}

.arch-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 5px;
  line-height: 1.4;
  font-weight: 500;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mode-btn {
  text-align: left;
  padding: 9px 11px;
  background: rgba(11, 32, 46, 0.8);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.mode-btn strong {
  display: block;
  font-size: 12px;
  color: var(--text-primary);
}

.mode-btn span {
  display: block;
  font-size: 10.5px;
  color: var(--text-secondary);
  margin-top: 3px;
  font-weight: 500;
}

.mode-btn.selected {
  background: linear-gradient(155deg, rgba(18, 66, 88, 0.92), rgba(12, 44, 64, 0.95));
  border-color: rgba(125, 211, 252, 0.62);
  box-shadow: 0 4px 12px rgba(4, 20, 34, 0.4);
}

/* 沉稳商务质感按钮体系 */
.comic-btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s, box-shadow 0.15s;
}

.comic-btn:active {
  transform: translateY(1px);
  filter: brightness(0.95);
}

/* 主行动按钮：祖母绿绒面高定色 */
.comic-btn-red {
  background: linear-gradient(135deg, #177959 0%, #10553f 100%);
  color: #f3fcf9;
  border: 1px solid rgba(110, 231, 183, 0.55);
  box-shadow: 0 6px 18px rgba(6, 30, 22, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* 次行动按钮：深海蓝配香槟金边 */
.comic-btn-yellow {
  background: linear-gradient(135deg, #154563 0%, #0e3047 100%);
  color: #eedcb3;
  border: 1px solid rgba(212, 184, 122, 0.45);
  box-shadow: 0 4px 12px rgba(3, 14, 24, 0.35);
}

/* 湖青蓝按钮 */
.comic-btn-cyan {
  background: linear-gradient(135deg, #135866 0%, #0d3e4a 100%);
  color: #a7f3d0;
  border: 1px solid rgba(94, 234, 212, 0.42);
  box-shadow: 0 4px 12px rgba(3, 14, 24, 0.35);
}

/* 沉稳岩蓝按钮 */
.comic-btn-white {
  background: rgba(16, 42, 58, 0.88);
  color: #d2e8f0;
  border: 1px solid rgba(148, 197, 218, 0.28);
}

.start-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sub-actions {
  display: flex;
  gap: 8px;
}

.sub-actions .comic-btn {
  padding: 9px 10px;
  font-size: 13px;
}

.start-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* ==================== 顶部 HUD 经营仪表盘 ==================== */
.hud-header {
  padding: calc(var(--safe-top) + 6px) 12px 9px;
  background: linear-gradient(180deg, #0a2232 0%, #081824 100%);
  border-bottom: 1px solid rgba(94, 234, 212, 0.2);
  color: var(--text-primary);
  flex-shrink: 0;
}

.hud-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(212, 184, 122, 0.2);
}

.hud-brand-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}

.hud-logo-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.38));
}

.hud-logo-emblem svg,
.hud-logo-emblem img {
  width: 100%;
  height: 100%;
  display: block;
}

.hud-brand-cn {
  font-size: 12.5px;
  font-weight: 900;
  color: #f3e6c3;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.hud-brand-en {
  font-size: 10.5px;
  font-weight: 800;
  color: #8ce9c6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-brand-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.hud-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

.time-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #d6ebf2;
  min-width: 0;
  flex-wrap: wrap;
}

.tag-faction {
  background: rgba(20, 78, 62, 0.85);
  color: #8ce9c6;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(110, 231, 183, 0.35);
  white-space: nowrap;
}

.tag-season {
  background: rgba(16, 52, 76, 0.85);
  color: var(--accent-cyan);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  white-space: nowrap;
}

.tag-season.hot {
  background: linear-gradient(135deg, #165e4b, #12495c);
  color: #f2e2b8;
  border-color: rgba(212, 184, 122, 0.55);
}

.hud-right-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mini-tool {
  background: rgba(15, 42, 60, 0.85);
  border: 1px solid rgba(125, 211, 252, 0.24);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 4px 7px;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
}

.mini-tool-guide {
  font-size: 11px;
  font-weight: 800;
  color: #f2e2b8;
  border-color: rgba(212, 184, 122, 0.42);
  background: rgba(20, 56, 52, 0.88);
}

.mini-tool-music {
  font-size: 11px;
  font-weight: 800;
  color: #d8f6ee;
  border-color: rgba(110, 231, 183, 0.45);
  background: rgba(16, 62, 66, 0.88);
}

/* 净值胶囊标签（单行不折行） */
.rank-pill {
  background: linear-gradient(135deg, #134b3c 0%, #0e364a 100%);
  color: #f0dfb4;
  border: 1px solid rgba(212, 184, 122, 0.5);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hud-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 7px;
}

.metric-box {
  position: relative;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(12, 35, 50, 0.85);
  transition: transform 0.15s, border-color 0.15s;
}

.cash-box {
  background: linear-gradient(145deg, rgba(16, 68, 52, 0.78) 0%, rgba(10, 42, 34, 0.88) 100%);
  border-color: rgba(82, 214, 162, 0.4);
}

.cash-box.danger {
  background: linear-gradient(145deg, rgba(92, 46, 44, 0.78) 0%, rgba(56, 28, 30, 0.88) 100%);
  border-color: rgba(224, 122, 104, 0.6);
}

.locked-box {
  background: linear-gradient(145deg, rgba(15, 52, 78, 0.78) 0%, rgba(10, 34, 54, 0.88) 100%);
  border-color: rgba(96, 179, 237, 0.38);
  cursor: pointer;
}

.metric-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #a8cad8;
}

.metric-val {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  line-height: 1.25;
}

.cash-box .metric-val {
  color: #6ee7b7;
}

.cash-box.danger .metric-val {
  color: #f4a293;
}

.locked-box .metric-val {
  color: #7dd3fc;
}

.metric-sub {
  font-size: 10px;
  color: #8cb2c4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 滑卡时受影响指标柔和光点提示 */
.impact-dot,
.impact-dot-inline {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  border: 1px solid rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.15s;
}

.impact-dot {
  position: absolute;
  top: 7px;
  right: 8px;
}

.impact-dot.active,
.impact-dot-inline.active {
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--accent-mint);
}

.hud-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  color: #b8d6e2;
  margin-bottom: 3px;
}

.progress-track {
  height: 6px;
  background: rgba(5, 16, 24, 0.85);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.3s ease;
}

.fill-ahr {
  background: linear-gradient(90deg, #0ea5e9, #2dd4bf);
}

.fill-sanity {
  background: linear-gradient(90deg, #10b981, #6ee7b7);
}

/* 沉稳深海蓝-祖母绿汇率简报栏（告别刺眼亮黄） */
.macro-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: linear-gradient(90deg, #0b2638 0%, #0d332c 100%);
  color: #bde0ec;
  border-bottom: 1px solid rgba(94, 234, 212, 0.16);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.fx-pill {
  background: rgba(19, 76, 62, 0.8);
  color: #7ee8c0;
  border: 1px solid rgba(110, 231, 183, 0.32);
  padding: 1px 7px;
  border-radius: 6px;
  flex-shrink: 0;
  font-weight: 700;
}

.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.marquee-text {
  display: inline-block;
  font-size: 11px;
  color: #c7e4ee;
}

/* ==================== 主内容滚动区 ==================== */
.game-viewport {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 9px 12px 18px;
}

.tab-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.tab-pane.active {
  display: flex;
}

/* ==================== 战略事件决策核心舞台 ==================== */
.swipe-guide-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #8cb4c6;
  padding: 0 4px;
}

.swipe-center-tag {
  color: var(--accent-gold);
  letter-spacing: 0.4px;
}

.event-stage {
  position: relative;
  min-height: 365px;
  perspective: 1000px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.comic-event-card {
  width: 100%;
  background: linear-gradient(180deg, #102f42 0%, #0c2534 55%, #0a202a 100%);
  border: 1.5px solid rgba(212, 184, 122, 0.42);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(2, 9, 16, 0.62), 0 2px 8px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  touch-action: pan-y;
  will-change: transform;
  transform-origin: 50% 85%;
}

/* 事件决策卡精细内框线 */
.comic-event-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 12px;
  border: 1px solid rgba(94, 234, 212, 0.12);
  pointer-events: none;
  z-index: 5;
}

.comic-event-card.settled-card {
  min-height: 225px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 22px;
  background: radial-gradient(circle at 50% 30%, #134a3b 0%, #0b2636 100%);
}

/* 滑卡时左右方案徽标 */
.swipe-stamp {
  position: absolute;
  top: 22px;
  z-index: 20;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 99px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.08s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.stamp-left {
  right: 14px;
  background: rgba(16, 62, 94, 0.95);
  color: #93c5fd;
  border: 1.5px solid #60a5fa;
}

.stamp-right {
  left: 14px;
  background: rgba(16, 78, 58, 0.95);
  color: #6ee7b7;
  border: 1.5px solid #34d399;
}

/* 卡片顶部几何插画区（自适应440:112等比呈现，四角文字徽标零裁切） */
.comic-art-header {
  position: relative;
  width: 100%;
  aspect-ratio: 440 / 112;
  min-height: 106px;
  max-height: 122px;
  height: auto;
  border-bottom: 1px solid rgba(212, 184, 122, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comic-art-header svg {
  width: 100%;
  height: 100%;
  display: block;
}

.event-cat-ribbon {
  position: absolute;
  top: 9px;
  left: 11px;
  background: rgba(6, 20, 30, 0.82);
  color: #8ce9c6;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 6px;
  border: 1px solid rgba(110, 231, 183, 0.34);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  z-index: 4;
}

.event-id-pill {
  position: absolute;
  top: 9px;
  right: 11px;
  background: rgba(6, 20, 30, 0.82);
  color: var(--accent-gold);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 7.5px;
  border: 1px solid rgba(212, 184, 122, 0.36);
  border-radius: 6px;
  white-space: nowrap;
  z-index: 4;
}

.event-sub-en-pill {
  position: absolute;
  bottom: 8px;
  left: 11px;
  background: rgba(6, 20, 30, 0.78);
  color: #f3dfb2;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  padding: 2px 8.5px;
  border: 1px solid rgba(212, 184, 122, 0.34);
  border-radius: 99px;
  white-space: nowrap;
  z-index: 4;
}

.comic-sfx-badge {
  position: absolute;
  bottom: 8px;
  right: 11px;
  background: rgba(14, 58, 50, 0.88);
  color: #b6f3dc;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 9px;
  border: 1px solid rgba(94, 234, 212, 0.34);
  border-radius: 99px;
  white-space: nowrap;
  z-index: 4;
}

@media (max-width: 400px) {
  .event-cat-ribbon,
  .event-id-pill {
    font-size: 9.5px;
    padding: 2px 6.5px;
  }
  .event-sub-en-pill {
    font-size: 8.8px;
    letter-spacing: 0.5px;
    padding: 2px 7px;
  }
  .comic-sfx-badge {
    font-size: 9.5px;
    padding: 2px 7.5px;
  }
}

.event-body {
  padding: 11px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.event-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #f2fbf9;
  line-height: 1.35;
}

/* 沉稳深色引述框 */
.event-story-bubble {
  background: rgba(6, 19, 29, 0.62);
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-left: 3px solid #38bdf8;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.52;
  font-weight: 500;
  color: #bfdcea;
}

.event-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
}

.choice-btn {
  text-align: left;
  padding: 10px 11px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  transition: transform 0.1s, border-color 0.15s, box-shadow 0.15s;
}

.choice-btn:active {
  transform: translateY(1px);
}

/* 左滑方案 A：深海蓝决策区 */
.choice-a {
  background: linear-gradient(155deg, rgba(17, 56, 84, 0.92), rgba(11, 37, 58, 0.96));
  border: 1px solid rgba(96, 179, 237, 0.42);
  box-shadow: 0 4px 12px rgba(3, 14, 24, 0.35);
}

/* 右滑方案 B：祖母绿决策区 */
.choice-b {
  background: linear-gradient(155deg, rgba(16, 68, 53, 0.92), rgba(10, 44, 35, 0.96));
  border: 1px solid rgba(82, 214, 162, 0.42);
  box-shadow: 0 4px 12px rgba(3, 18, 14, 0.35);
}

.choice-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  align-self: flex-start;
}

.choice-a .choice-tag {
  background: rgba(10, 32, 50, 0.8);
  color: #93c5fd;
  border: 1px solid rgba(125, 211, 252, 0.3);
}

.choice-b .choice-tag {
  background: rgba(8, 34, 26, 0.8);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.3);
}

.choice-txt {
  font-size: 12px;
  font-weight: 600;
  color: #ecf7f5;
  line-height: 1.4;
}

/* ==================== 盘面简报 & 净值曲线 ==================== */
.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  gap: 8px;
}

.card-title-row h3,
.comic-panel h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: #e8f6f3;
}

.card-title-row h3 {
  margin-bottom: 0;
}

.card-desc,
.hint-text {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0 0 8px;
  font-weight: 500;
  line-height: 1.45;
}

.card-title-row .hint-text {
  margin-bottom: 0;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 9px;
}

.kpi-cell {
  background: rgba(8, 25, 37, 0.78);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
}

.kpi-cell span {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 2px;
}

.kpi-cell b {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.spark-canvas {
  width: 100%;
  height: 84px;
  background: rgba(6, 18, 28, 0.9);
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 8px;
  display: block;
}

.recent-logs {
  margin-top: 8px;
  max-height: 96px;
  overflow-y: auto;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.log-item {
  padding: 5px 8px;
  background: rgba(8, 25, 37, 0.72);
  color: #cde4ee;
  border-left: 3px solid #38bdf8;
  border-radius: 5px;
  font-weight: 500;
  line-height: 1.4;
}

.log-item.good { border-left-color: #34d399; }
.log-item.bad { border-left-color: #e09f68; }

/* ==================== 选品备货与物流页 (26大渠道 + 500款选品中心) ==================== */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 9px;
}

.search-box-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.search-box-row input[type="text"] {
  padding: 7px 10px;
  font-size: 12px;
}

.filter-pill-bar {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.filter-pill-bar::-webkit-scrollbar {
  height: 4px;
}

.filter-pill-bar::-webkit-scrollbar-thumb {
  background: rgba(125, 211, 252, 0.28);
  border-radius: 99px;
}

.filter-pill {
  flex-shrink: 0;
  background: rgba(9, 28, 41, 0.88);
  color: var(--text-secondary);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.filter-pill.active {
  background: linear-gradient(135deg, #17694f, #104937);
  color: #f0faf7;
  border-color: rgba(110, 231, 183, 0.62);
}

.sort-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sort-pill {
  background: rgba(8, 24, 36, 0.78);
  color: #8cb6c8;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.sort-pill.active {
  background: rgba(18, 66, 90, 0.9);
  color: #d8f2fc;
  border-color: rgba(125, 211, 252, 0.55);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.plat-card {
  padding: 9px 10px;
  background: rgba(10, 30, 44, 0.84);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}

.plat-card.unlocked {
  background: linear-gradient(150deg, rgba(16, 68, 52, 0.82), rgba(10, 42, 35, 0.88));
  border-color: rgba(110, 231, 183, 0.48);
}

.plat-card.primary-plat {
  border: 1.5px solid rgba(212, 184, 122, 0.72);
  box-shadow: 0 4px 12px rgba(6, 26, 20, 0.45);
}

.plat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
}

.plat-region {
  font-size: 10px;
  color: #8cc9be;
  font-weight: 600;
}

.plat-meta {
  font-size: 10.5px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.35;
}

.plat-actions-row {
  display: flex;
  gap: 5px;
  margin-top: 3px;
}

.plat-actions-row button {
  flex: 1;
}

.sku-spotlight-box {
  background: linear-gradient(145deg, rgba(17, 68, 53, 0.82), rgba(10, 38, 48, 0.92));
  border: 1px solid rgba(212, 184, 122, 0.48);
  border-radius: 11px;
  padding: 10px 11px;
  margin-bottom: 10px;
}

.spotlight-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.spotlight-title {
  font-size: 13px;
  font-weight: 800;
  color: #f4fbf9;
}

.spotlight-metrics {
  font-size: 11px;
  color: #bfe3dc;
  line-height: 1.45;
}

.sku-grid,
.modal-catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-catalog-grid {
  max-height: 52dvh;
  overflow-y: auto;
  padding-right: 2px;
}

.catalog-modal-sheet {
  max-width: 460px;
}

.sku-card {
  text-align: left;
  padding: 8px 9px;
  background: rgba(10, 30, 44, 0.84);
  color: var(--text-primary);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sku-card.selected {
  background: linear-gradient(150deg, rgba(18, 74, 57, 0.92), rgba(11, 46, 38, 0.96));
  border-color: rgba(110, 231, 183, 0.7);
  box-shadow: 0 4px 12px rgba(4, 22, 18, 0.42);
}

.sku-id-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  color: #88b5c6;
  margin-bottom: 3px;
}

.sku-name {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.32;
}

.sku-stats {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.38;
}

.pager-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.pager-btn {
  background: rgba(13, 40, 58, 0.88);
  color: #cbe8f5;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 7px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.pager-btn:disabled {
  opacity: 0.38;
  cursor: default;
}

.order-config-box {
  background: rgba(8, 24, 36, 0.78);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #c6e4ef;
  margin-bottom: 5px;
}

input[type="range"] {
  width: 100%;
  accent-color: #34d399;
}

.ship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.ship-btn,
.term-btn {
  padding: 7px 5px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(13, 38, 54, 0.85);
  color: var(--text-secondary);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.ship-btn.selected,
.term-btn.selected {
  background: linear-gradient(145deg, #165e48, #0f4234);
  color: #f0faf7;
  border-color: rgba(110, 231, 183, 0.62);
}

.term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.cost-preview {
  background: rgba(5, 16, 25, 0.85);
  border: 1px solid rgba(94, 234, 212, 0.2);
  color: #d8eef4;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pipe-item {
  background: rgba(10, 30, 44, 0.8);
  color: var(--text-primary);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  gap: 8px;
}

.pipe-item.in-stock-row {
  background: linear-gradient(145deg, rgba(16, 66, 52, 0.72), rgba(10, 40, 34, 0.82));
  border-color: rgba(110, 231, 183, 0.35);
}

/* ==================== 运营策略与护城河 ==================== */
.strategy-list,
.shield-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strat-btn {
  text-align: left;
  padding: 9px 11px;
  background: rgba(10, 30, 44, 0.82);
  color: var(--text-primary);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.strat-btn.selected {
  background: linear-gradient(150deg, rgba(18, 72, 56, 0.9), rgba(11, 45, 38, 0.94));
  border-color: rgba(110, 231, 183, 0.62);
}

.strat-btn strong {
  font-size: 12.5px;
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.strat-btn span {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.ad-roas-hint {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #6ee7b7;
}

.shield-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(10, 30, 44, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  padding: 9px 11px;
}

.shield-info strong {
  display: block;
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.shield-info span {
  font-size: 10.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.shield-toggle-btn {
  flex-shrink: 0;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 8px;
  cursor: pointer;
  background: rgba(15, 42, 60, 0.85);
  color: var(--text-secondary);
}

.shield-toggle-btn.active {
  background: linear-gradient(135deg, #177858, #10553e);
  color: #f0faf7;
  border-color: rgba(110, 231, 183, 0.6);
}

/* ==================== 财务与排行榜 ==================== */
.finance-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.fin-row {
  background: rgba(10, 30, 44, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.fin-row b {
  display: block;
  font-size: 14px;
  margin-top: 3px;
  color: var(--text-primary);
}

.fin-row.highlight-worth {
  background: linear-gradient(145deg, rgba(18, 72, 56, 0.82), rgba(12, 46, 40, 0.88));
  border-color: rgba(212, 184, 122, 0.42);
}

.loan-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.loan-actions .comic-btn,
.sanity-care-row .comic-btn {
  padding: 9px 10px;
  font-size: 12px;
}

.badge-accent {
  background: rgba(17, 68, 56, 0.85);
  color: #8ce9c6;
  border: 1px solid rgba(110, 231, 183, 0.32);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.lb-head-btns {
  display: flex;
  gap: 6px;
}

.btn-danger-xs {
  background: linear-gradient(135deg, #154b66, #0f354a);
  color: #cbe8f5;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.batch-check-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(15, 52, 72, 0.85);
  color: #9dc5d6;
  border: 1px solid rgba(125, 211, 252, 0.25);
}

.sku-card.selected .batch-check-pill {
  background: linear-gradient(135deg, #1b7a58, #11553f);
  color: #f6e7bd;
  border-color: rgba(250, 204, 21, 0.65);
}

.my-prod-pill .pill-rm {
  display: inline-block;
  margin-left: 4px;
  padding: 0 3px;
  color: #fca5a5;
  font-weight: 900;
}

.lb-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 8px;
  padding: 3px;
  background: rgba(6, 22, 34, 0.88);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 10px;
}

.lb-mode-btn {
  padding: 8px 6px;
  font-size: 11.5px;
  font-weight: 800;
  background: transparent;
  color: #9abccc;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.lb-mode-btn.active {
  background: linear-gradient(135deg, #1b654e 0%, #114552 100%);
  color: #f6e7bd;
  border-color: rgba(212, 184, 122, 0.62);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.22);
}

.lb-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 9px;
}

.lb-tab {
  padding: 7px 4px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(10, 30, 44, 0.82);
  color: var(--text-secondary);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  cursor: pointer;
}

.lb-tab.active {
  background: linear-gradient(145deg, #165e48, #0f4234);
  color: #f0faf7;
  border-color: rgba(110, 231, 183, 0.58);
}

.leaderboard-box {
  max-height: 290px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(10, 30, 44, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 12px;
}

.lb-row.me {
  background: linear-gradient(145deg, rgba(18, 76, 58, 0.88), rgba(12, 48, 42, 0.92));
  border-color: rgba(212, 184, 122, 0.55);
}

.lb-rank {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 45, 64, 0.9);
  color: #b8d8e8;
  border: 1px solid rgba(125, 211, 252, 0.25);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  flex-shrink: 0;
}

.lb-rank.top1 { background: linear-gradient(135deg, #d4b87a, #9e7f43); color: #081822; border-color: #f3dfb3; }
.lb-rank.top2 { background: linear-gradient(135deg, #9ec5d6, #648ca1); color: #081822; border-color: #cde6f2; }
.lb-rank.top3 { background: linear-gradient(135deg, #52b788, #2d6a4f); color: #f0faf7; border-color: #8ce9c6; }

.lb-main {
  flex: 1;
  min-width: 0;
}

.lb-name {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-sub {
  font-size: 10.5px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 1px;
}

.lb-score {
  text-align: right;
  font-weight: 800;
  font-size: 13px;
  color: #5eead4;
  white-space: nowrap;
}

.lb-score.exit-tag {
  color: #93c5fd;
  font-size: 11.5px;
}

/* ==================== 底部战略运营导航栏 ==================== */
.bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.35fr;
  gap: 6px;
  padding: 8px 10px calc(var(--safe-bottom) + 9px);
  background: linear-gradient(180deg, #091d2c 0%, #06131d 100%);
  border-top: 1px solid rgba(94, 234, 212, 0.2);
  flex-shrink: 0;
}

.nav-item {
  position: relative;
  background: rgba(13, 38, 54, 0.78);
  color: var(--text-secondary);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.nav-item.active {
  background: linear-gradient(145deg, #165e47, #0f4032);
  color: #f2fbf8;
  border-color: rgba(110, 231, 183, 0.58);
  box-shadow: 0 4px 12px rgba(4, 22, 18, 0.45);
}

.nav-icon {
  font-size: 15px;
  line-height: 1.1;
}

.nav-txt {
  font-size: 10px;
  font-weight: 700;
  margin-top: 3px;
}

.nav-dot {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: var(--accent-mint);
  box-shadow: 0 0 6px var(--accent-mint);
  border-radius: 50%;
}

.btn-next-turn {
  background: linear-gradient(135deg, #177b5a 0%, #0f563f 100%);
  color: #f3fcf9;
  border: 1px solid rgba(110, 231, 183, 0.6);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(5, 28, 20, 0.45);
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 6px;
  transition: all 0.15s;
}

.btn-next-turn span {
  font-size: 13px;
}

.btn-next-turn small {
  font-size: 9.5px;
  opacity: 0.88;
  font-weight: 500;
}

/* 待决策时采用沉稳深海蓝，不刺眼 */
.btn-next-turn.locked {
  background: linear-gradient(135deg, #174c6e 0%, #10354f 100%);
  color: #d6eef8;
  border-color: rgba(125, 211, 252, 0.48);
}

/* ==================== 弹窗与海报 ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 12, 20, 0.82);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.comic-modal {
  width: 100%;
  max-width: 440px;
  max-height: 90dvh;
  overflow-y: auto;
  background: linear-gradient(165deg, #0d2a3c 0%, #091e2c 100%);
  color: var(--text-primary);
  border: 1.5px solid rgba(212, 184, 122, 0.42);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72);
  padding: 16px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: #f0faf7;
}

.btn-close-modal {
  width: 30px;
  height: 30px;
  font-weight: 700;
  background: rgba(16, 48, 68, 0.9);
  color: #cde6f0;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 8px;
  cursor: pointer;
}

.cloud-config-bar {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(125, 211, 252, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent-mint);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
}

.poster-wrap {
  margin: 10px 0 12px;
  border: 1px solid rgba(212, 184, 122, 0.38);
  border-radius: 12px;
  overflow: hidden;
  background: #06131d;
}

#poster-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.gameover-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 沉稳经营状态变动浮层 */
.fx-burst-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 150;
  overflow: hidden;
}

.comic-burst-pop {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%) scale(0.85);
  background: rgba(14, 68, 52, 0.96);
  color: #a7f3d0;
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  padding: 7px 18px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 99px;
  animation: burstPop 0.9s cubic-bezier(0.2, 0.85, 0.3, 1.1) forwards;
  white-space: nowrap;
}

.comic-burst-pop.bad {
  background: rgba(20, 52, 74, 0.96);
  color: #f3d4a0;
  border-color: rgba(212, 184, 122, 0.65);
}

@keyframes burstPop {
  0% { opacity: 0; transform: translate(-50%, -35%) scale(0.75); }
  25% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
  75% { opacity: 1; transform: translate(-50%, -58%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -72%) scale(0.96); }
}

.toast-container {
  position: fixed;
  top: calc(var(--safe-top) + 64px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: 90%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.toast-msg {
  background: rgba(8, 28, 42, 0.96);
  color: #dff5ef;
  border: 1px solid rgba(94, 234, 212, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

/* ==================== HUD 玩法按钮 & 开局副按钮适配 ==================== */
.mini-tool-guide {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  color: #b8f5df;
  background: linear-gradient(135deg, rgba(19, 88, 68, 0.92), rgba(12, 48, 64, 0.92));
  border-color: rgba(94, 234, 212, 0.45);
  white-space: nowrap;
}

.sub-actions .comic-btn {
  flex: 1;
  min-width: 0;
  padding: 9px 6px;
  font-size: 12px;
  white-space: nowrap;
}

/* ==================== 玩家状态阶梯与 2~6 动态多选提示栏 ==================== */
.state-tier-bar {
  background: linear-gradient(145deg, rgba(11, 36, 52, 0.94), rgba(8, 26, 38, 0.96));
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 11px;
  padding: 7px 10px;
  margin-bottom: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.state-tier-bar:hover {
  border-color: rgba(110, 231, 183, 0.52);
}

.state-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.tier-badge-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(14, 52, 76, 0.9);
  color: #bae6fd;
}

.tier-badge-pill.tier-lv2 {
  background: linear-gradient(135deg, #124d5e, #0d3847);
  color: #99f6e4;
  border-color: rgba(94, 234, 212, 0.48);
}

.tier-badge-pill.tier-lv3 {
  background: linear-gradient(135deg, #155e4a, #0e4235);
  color: #a7f3d0;
  border-color: rgba(110, 231, 183, 0.52);
}

.tier-badge-pill.tier-lv4 {
  background: linear-gradient(135deg, #1a5468, #14424e);
  color: #f3e3b8;
  border-color: rgba(212, 184, 122, 0.55);
}

.tier-badge-pill.tier-lv5 {
  background: linear-gradient(135deg, #196b52, #154563);
  color: #fef0c7;
  border-color: rgba(212, 184, 122, 0.72);
  box-shadow: 0 0 10px rgba(212, 184, 122, 0.22);
}

.state-driver-tags {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.state-driver-tags::-webkit-scrollbar {
  display: none;
}

.driver-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 5px;
  background: rgba(9, 28, 40, 0.85);
  color: #9ec5d6;
  border: 1px solid rgba(125, 211, 252, 0.18);
  white-space: nowrap;
}

.driver-chip.alert {
  color: #f3d89c;
  border-color: rgba(212, 184, 122, 0.42);
  background: rgba(42, 36, 22, 0.55);
}

.driver-chip.good {
  color: #8ce9c6;
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(12, 48, 38, 0.65);
}

.tier-help-btn {
  flex-shrink: 0;
  background: rgba(16, 56, 72, 0.85);
  color: #8ce9c6;
  border: 1px solid rgba(94, 234, 212, 0.32);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.state-tier-prog-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.state-tier-prog-track {
  width: 78px;
  height: 5px;
  background: rgba(5, 16, 25, 0.9);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.16);
  flex-shrink: 0;
}

.state-tier-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #34d399, #d4b87a);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.state-tier-prog-txt {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== 多方案决策矩阵 (支持 2 ~ 6 个选项) ==================== */
.comic-event-card.multi-mode-card {
  touch-action: pan-y;
}

.comic-event-card.multi-mode-card .comic-art-header {
  height: auto;
  aspect-ratio: 440 / 112;
}

.event-choices.opts-3,
.event-choices.opts-4,
.event-choices.opts-5,
.event-choices.opts-6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

/* 3选1与5选1时，最末方案横跨双列保持对称美感 */
.event-choices.opts-3 .choice-btn:last-child,
.event-choices.opts-5 .choice-btn:last-child {
  grid-column: 1 / -1;
}

.event-choices.opts-4 .choice-btn,
.event-choices.opts-5 .choice-btn,
.event-choices.opts-6 .choice-btn {
  padding: 8px 9px;
  gap: 4px;
}

.event-choices.opts-4 .choice-txt,
.event-choices.opts-5 .choice-txt,
.event-choices.opts-6 .choice-txt {
  font-size: 11.5px;
  line-height: 1.36;
}

/* 方案 C：湖青蓝跨站协同区 */
.choice-c {
  background: linear-gradient(155deg, rgba(14, 62, 74, 0.93), rgba(9, 40, 50, 0.96));
  border: 1px solid rgba(94, 234, 212, 0.42);
  box-shadow: 0 4px 12px rgba(3, 16, 22, 0.35);
}

.choice-c .choice-tag {
  background: rgba(7, 32, 40, 0.85);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.35);
}

/* 方案 D：香槟金岩蓝供应链共担区 */
.choice-d {
  background: linear-gradient(155deg, rgba(24, 52, 68, 0.93), rgba(14, 34, 48, 0.96));
  border: 1px solid rgba(212, 184, 122, 0.45);
  box-shadow: 0 4px 12px rgba(3, 14, 22, 0.35);
}

.choice-d .choice-tag {
  background: rgba(20, 32, 42, 0.88);
  color: #f3dfb3;
  border: 1px solid rgba(212, 184, 122, 0.38);
}

/* 方案 E：深海靛蓝护城河/专利壁垒区 */
.choice-e {
  background: linear-gradient(155deg, rgba(18, 48, 82, 0.93), rgba(11, 31, 56, 0.96));
  border: 1px solid rgba(125, 211, 252, 0.48);
  box-shadow: 0 4px 12px rgba(3, 12, 24, 0.35);
}

.choice-e .choice-tag {
  background: rgba(10, 26, 48, 0.88);
  color: #bae6fd;
  border: 1px solid rgba(125, 211, 252, 0.38);
}

/* 方案 F：翡翠青现金流底线回笼区 */
.choice-f {
  background: linear-gradient(155deg, rgba(17, 74, 58, 0.94), rgba(10, 46, 36, 0.97));
  border: 1px solid rgba(134, 239, 172, 0.46);
  box-shadow: 0 4px 12px rgba(3, 18, 14, 0.35);
}

.choice-f .choice-tag {
  background: rgba(8, 36, 26, 0.88);
  color: #a7f3d0;
  border: 1px solid rgba(134, 239, 172, 0.38);
}

.choice-btn:hover,
.choice-btn:focus-visible {
  border-color: rgba(212, 184, 122, 0.72);
  box-shadow: 0 0 0 1px rgba(212, 184, 122, 0.25), 0 6px 14px rgba(0, 0, 0, 0.4);
  outline: none;
}

.choice-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.choice-stamp-mini {
  font-size: 10px;
  font-weight: 700;
  color: #a5cbd9;
  opacity: 0.9;
  white-space: nowrap;
}

/* ==================== 玩法说明弹窗 ==================== */
.guide-modal-sheet {
  max-width: 470px;
  display: flex;
  flex-direction: column;
  max-height: 88dvh;
  padding: 14px 15px;
}

.guide-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.guide-tab {
  padding: 7px 3px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(9, 28, 42, 0.86);
  color: var(--text-secondary);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.guide-tab.active {
  background: linear-gradient(145deg, #16624a, #0f4334);
  color: #f2fbf8;
  border-color: rgba(110, 231, 183, 0.6);
}

.guide-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 2px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.guide-section {
  display: none;
  flex-direction: column;
  gap: 9px;
}

.guide-section.active {
  display: flex;
}

.guide-callout {
  background: linear-gradient(145deg, rgba(16, 64, 52, 0.72), rgba(10, 38, 52, 0.85));
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #e2f5f0;
}

.guide-callout b,
.guide-callout strong {
  color: #f5e4b8;
}

.guide-card {
  background: rgba(8, 25, 37, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 10px;
  padding: 10px 11px;
}

.guide-card h4 {
  margin: 0 0 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: #8ce9c6;
}

.guide-list {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #cde3ec;
}

.guide-list b {
  color: #f0faf7;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.g-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.48;
  color: #cde3ec;
}

.g-step > span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17694f, #0f445c);
  color: #f3e4b8;
  border: 1px solid rgba(212, 184, 122, 0.45);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-formula {
  background: rgba(5, 16, 25, 0.9);
  border: 1px solid rgba(212, 184, 122, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f3dfb3;
  line-height: 1.5;
}

.guide-note {
  margin: 6px 0 0;
  font-size: 10.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.guide-tier-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gt-row {
  background: rgba(11, 34, 48, 0.82);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 6px 8px;
}

.gt-row b {
  font-size: 11px;
  color: #f3dfb3;
  white-space: nowrap;
}

.gt-row p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  line-height: 1.42;
  color: #c5dfea;
}

.gt-lv {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

.gt-lv.lv1 { background: rgba(16, 56, 82, 0.9); color: #bae6fd; border: 1px solid rgba(125, 211, 252, 0.38); }
.gt-lv.lv2 { background: rgba(15, 68, 78, 0.9); color: #99f6e4; border: 1px solid rgba(94, 234, 212, 0.42); }
.gt-lv.lv3 { background: rgba(18, 78, 60, 0.9); color: #a7f3d0; border: 1px solid rgba(110, 231, 183, 0.45); }
.gt-lv.lv4 { background: rgba(24, 68, 82, 0.9); color: #f3e3b8; border: 1px solid rgba(212, 184, 122, 0.48); }
.gt-lv.lv5 { background: linear-gradient(135deg, #196b52, #154563); color: #fef0c7; border: 1px solid rgba(212, 184, 122, 0.65); }

.guide-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(125, 211, 252, 0.16);
  flex-shrink: 0;
}

/* ==================== 选品多维特性、差异化毛利色标与进阶经营系统 ==================== */
.trait-pill-bar .filter-pill {
  background: rgba(12, 36, 52, 0.86);
  border-color: rgba(212, 184, 122, 0.25);
  font-size: 10.5px;
  padding: 3px 9px;
}

.trait-pill-bar .filter-pill.active {
  background: linear-gradient(135deg, #1b5c74, #123e54);
  color: #f6e7c1;
  border-color: rgba(212, 184, 122, 0.68);
}

.margin-pill {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
}

.margin-pill.m-ultra {
  background: rgba(114, 82, 24, 0.52);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.55);
}

.margin-pill.m-high {
  background: rgba(16, 88, 62, 0.62);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.52);
}

.margin-pill.m-mid {
  background: rgba(16, 62, 86, 0.62);
  color: #bae6fd;
  border: 1px solid rgba(125, 211, 252, 0.42);
}

.margin-pill.m-thin {
  background: rgba(88, 52, 24, 0.52);
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.48);
}

.sku-trait-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px;
}

.trait-chip {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(7, 22, 33, 0.78);
  color: #9ed8cf;
  border: 1px solid rgba(110, 231, 183, 0.22);
  white-space: nowrap;
}

.trait-chip.warn {
  color: #fbd38d;
  border-color: rgba(246, 173, 85, 0.32);
}

.trait-chip.fit {
  color: #fef08a;
  background: rgba(22, 76, 58, 0.85);
  border-color: rgba(212, 184, 122, 0.55);
}

.sku-upgrade-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(125, 211, 252, 0.22);
}

.upg-btn {
  background: rgba(8, 26, 38, 0.86);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  padding: 5px 6px;
  color: #d9f2fa;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.32;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.upg-btn b {
  display: block;
  font-size: 10.5px;
  color: #f3dfb2;
  margin-bottom: 1px;
}

.upg-btn.done {
  background: linear-gradient(145deg, rgba(18, 78, 58, 0.88), rgba(11, 48, 38, 0.92));
  border-color: rgba(110, 231, 183, 0.62);
  color: #a7f3d0;
  cursor: default;
}

.upg-btn.done b {
  color: #6ee7b7;
}

.portfolio-synergy-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.syn-chip {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 34, 48, 0.86);
  color: #a9d6e5;
  border: 1px solid rgba(125, 211, 252, 0.22);
}

.syn-chip.active {
  background: rgba(16, 72, 56, 0.86);
  color: #bbf7d0;
  border-color: rgba(110, 231, 183, 0.48);
}

.tactics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tactic-card {
  text-align: left;
  padding: 9px 10px;
  background: rgba(10, 31, 46, 0.86);
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  transition: all 0.15s;
}

.tactic-card:hover:not(:disabled) {
  border-color: rgba(212, 184, 122, 0.65);
}

.tactic-card.active-picked {
  background: linear-gradient(150deg, rgba(18, 76, 58, 0.92), rgba(10, 44, 38, 0.95));
  border-color: rgba(110, 231, 183, 0.68);
}

.tactic-card:disabled {
  opacity: 0.56;
  cursor: default;
}

.tactic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #f2fbf8;
}

.tactic-cost {
  font-size: 10px;
  font-weight: 800;
  color: #f3dfb2;
  background: rgba(6, 20, 30, 0.78);
  padding: 1px 6px;
  border-radius: 99px;
  border: 1px solid rgba(212, 184, 122, 0.35);
  white-space: nowrap;
}

.tactic-desc {
  font-size: 10px;
  color: #9fc5d6;
  line-height: 1.36;
}

.sanity-care-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* ==================== 底部出品方版权与商务合作栏 ==================== */
.taimek-credit-box {
  margin-top: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(6, 20, 30, 0.72);
  border: 1px solid rgba(110, 231, 183, 0.16);
  color: #8fb8c9;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
}

.taimek-credit-box.in-game-credit {
  margin-top: 14px;
  margin-bottom: 4px;
}

.taimek-vx-tag {
  color: #f3dfb2;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px dashed rgba(243, 223, 178, 0.55);
  padding-bottom: 1px;
}

.taimek-vx-tag:hover {
  color: #6ee7b7;
  border-bottom-color: rgba(110, 231, 183, 0.7);
}

/* ==================== 个人实时排位置顶卡 & 结局保存手机相册专层 ==================== */
.my-rank-banner {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(20, 82, 62, 0.86) 0%, rgba(10, 40, 52, 0.92) 100%);
  border: 1px solid rgba(232, 198, 126, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.my-rank-empty {
  font-size: 11.5px;
  color: #cdebe4;
  text-align: center;
  line-height: 1.45;
}

.my-rank-empty strong {
  color: #f6dfaa;
}

.my-rank-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.my-rank-left {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.my-rank-tag {
  background: rgba(238, 204, 128, 0.22);
  color: #fae5b4;
  border: 1px solid rgba(238, 204, 128, 0.52);
  border-radius: 6px;
  padding: 1.5px 6px;
  font-size: 10px;
  font-weight: 800;
}

.my-rank-num {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}

.my-rank-num strong {
  font-size: 17px;
  font-weight: 900;
  color: #fde4a6;
}

.my-rank-total {
  font-size: 10.5px;
  color: #9dc5d4;
}

.my-rank-beat {
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.5);
  border-radius: 99px;
  padding: 2.5px 9px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.my-rank-bottom {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
  border-top: 1px dashed rgba(212, 184, 122, 0.25);
  font-size: 11px;
  color: #cfe8ef;
  line-height: 1.4;
}

.my-rank-bottom strong {
  color: #f8dfa4;
}

.me-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 0.5px 5px;
  font-size: 9.5px;
  font-weight: 800;
  color: #06281e;
  background: #6ee7b7;
  border-radius: 4px;
  vertical-align: middle;
}

.live-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 0.5px 5px;
  font-size: 9.5px;
  font-weight: 700;
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 4px;
  vertical-align: middle;
}

.ended-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 0.5px 5px;
  font-size: 9.5px;
  font-weight: 700;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 4px;
  vertical-align: middle;
}

.lb-outside-sep {
  text-align: center;
  font-size: 10.5px;
  color: #8cb6c8;
  padding: 4px 0;
  letter-spacing: 1px;
}

.gameover-rank-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 6px;
}

.go-rank-pill {
  padding: 3.5px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.go-rank-pill.gold {
  background: rgba(238, 204, 128, 0.2);
  color: #fce5b1;
  border: 1px solid rgba(238, 204, 128, 0.58);
}

.go-rank-pill.mint {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.5);
}

.go-rank-pill.cyan {
  background: rgba(14, 116, 144, 0.35);
  color: #bae6fd;
  border: 1px solid rgba(125, 211, 252, 0.42);
}

.poster-canvas-hidden {
  display: none !important;
}

#modal-gameover .poster-wrap,
#modal-poster-save,
.poster-save-full-wrap {
  -webkit-touch-callout: default !important;
  -webkit-user-select: text !important;
  user-select: text !important;
}

.poster-img-preview {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  -webkit-touch-callout: default !important;
  -webkit-user-select: text !important;
  user-select: text !important;
  pointer-events: auto !important;
}

.poster-save-hint {
  margin-top: 6px;
  font-size: 10.5px;
  color: #9ec8d8;
  text-align: center;
  line-height: 1.4;
}

.poster-save-hint strong {
  color: #f6dfaa;
}

.poster-save-sheet {
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poster-save-guide-pill {
  background: linear-gradient(135deg, rgba(22, 92, 68, 0.88), rgba(14, 52, 68, 0.92));
  border: 1px solid rgba(238, 204, 128, 0.55);
  color: #ecf8f5;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
}

.poster-save-guide-pill strong {
  color: #fde4a6;
}

.poster-save-full-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  text-align: center;
  background: rgba(4, 14, 22, 0.78);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(110, 231, 183, 0.22);
}

.poster-save-full-img {
  max-width: 100%;
  max-height: 62dvh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  -webkit-touch-callout: default !important;
  -webkit-user-select: text !important;
  user-select: text !important;
  pointer-events: auto !important;
}


/* ==================== 万品3月账期 · 10选10全满贯组合 · 上市公司资本运作专属样式 ==================== */
.bottom-nav.bottom-nav-5 {
  grid-template-columns: repeat(5, 1fr) 1.32fr;
  gap: 4.5px;
  padding: 7px 8px calc(var(--safe-bottom) + 8px);
}

.bottom-nav.bottom-nav-5 .nav-icon {
  font-size: 14px;
}

.bottom-nav.bottom-nav-5 .nav-txt {
  font-size: 9.5px;
}

.term-grid.term-grid-3 {
  grid-template-columns: 1fr 1fr;
}

.term-grid.term-grid-3 #btn-term-net90 {
  grid-column: 1 / -1;
}

.term-btn.disabled-term {
  opacity: 0.45;
  cursor: not-allowed;
}

/* 10方案多选与一键全选选满控制栏 */
.combo-select-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  background: rgba(7, 26, 36, 0.86);
  border: 1px solid rgba(212, 184, 122, 0.35);
  border-radius: 9px;
  padding: 6px 9px;
}

.combo-count-label {
  font-size: 11px;
  font-weight: 800;
  color: #f6dfaa;
}

.combo-btn-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-combo-pill {
  background: linear-gradient(135deg, #1b6b50, #114736);
  color: #f4fcf9;
  border: 1px solid rgba(110, 231, 183, 0.58);
  border-radius: 6px;
  padding: 3.5px 8px;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
}

.btn-combo-pill.gold {
  background: linear-gradient(135deg, #5c4618, #3d2e0e);
  color: #fde68a;
  border-color: rgba(245, 208, 118, 0.72);
}

.btn-combo-pill.active-auto {
  background: linear-gradient(135deg, #1d7a5a, #13543e);
  color: #a7f3d0;
  border-color: #6ee7b7;
}

.choice-g {
  background: linear-gradient(155deg, rgba(44, 48, 22, 0.92), rgba(28, 32, 14, 0.96));
  border: 1px solid rgba(234, 179, 8, 0.42);
}
.choice-h {
  background: linear-gradient(155deg, rgba(19, 54, 68, 0.92), rgba(11, 36, 48, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.42);
}
.choice-i {
  background: linear-gradient(155deg, rgba(22, 62, 48, 0.92), rgba(12, 38, 30, 0.96));
  border: 1px solid rgba(74, 222, 128, 0.42);
}
.choice-j {
  background: linear-gradient(155deg, rgba(62, 44, 16, 0.94), rgba(38, 26, 9, 0.98));
  border: 1px solid rgba(250, 204, 21, 0.58);
}

.choice-g .choice-tag,
.choice-j .choice-tag {
  background: rgba(42, 30, 8, 0.85);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.45);
}
.choice-h .choice-tag {
  background: rgba(9, 32, 48, 0.85);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.4);
}
.choice-i .choice-tag {
  background: rgba(8, 36, 26, 0.85);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.choice-btn.picked {
  border: 1.5px solid #f7d788 !important;
  box-shadow: 0 0 0 1px rgba(247, 215, 136, 0.42), 0 6px 16px rgba(16, 185, 129, 0.25) !important;
  background: linear-gradient(150deg, rgba(22, 82, 62, 0.96), rgba(13, 46, 52, 0.98)) !important;
}

.choice-check-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #9dc2d1;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(5, 18, 28, 0.65);
}

.choice-btn.picked .choice-check-badge {
  color: #06281e;
  background: #fde08d;
}

.event-choices.opts-7,
.event-choices.opts-8,
.event-choices.opts-9,
.event-choices.opts-10 {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

@media (max-width: 390px) {
  .event-choices.opts-7,
  .event-choices.opts-8,
  .event-choices.opts-9,
  .event-choices.opts-10 {
    grid-template-columns: 1fr;
  }
}

.combo-exec-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(125, 211, 252, 0.22);
}

.combo-impact-preview {
  font-size: 11px;
  font-weight: 700;
  color: #d8f3ee;
  background: rgba(6, 22, 32, 0.85);
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 8px;
  padding: 6px 9px;
  line-height: 1.45;
}

.btn-exec-combo {
  width: 100%;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 900;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid rgba(110, 231, 183, 0.65);
  background: linear-gradient(135deg, #167a59, #0e523c);
  color: #f4fcf9;
  box-shadow: 0 6px 16px rgba(4, 24, 18, 0.5);
}

.btn-exec-combo.full-slam {
  background: linear-gradient(135deg, #b78628, #7c5814);
  border-color: #fde68a;
  color: #fffbeb;
  box-shadow: 0 6px 18px rgba(183, 134, 40, 0.38);
}

.btn-exec-combo:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.tier-lv6, .tier-lv7, .tier-lv8, .tier-lv9 {
  background: linear-gradient(135deg, rgba(161, 116, 32, 0.35), rgba(20, 83, 65, 0.65));
  color: #fde68a;
  border: 1px solid rgba(250, 204, 21, 0.55);
}

/* 上市公司资本运作面板 */
.cap-overview-card {
  background: linear-gradient(155deg, rgba(12, 38, 52, 0.92), rgba(8, 24, 36, 0.95));
  border: 1px solid rgba(212, 184, 122, 0.42);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.cap-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 7px;
}

.cap-kpi-box {
  background: rgba(6, 18, 28, 0.8);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  padding: 7px 9px;
}

.cap-kpi-box span {
  display: block;
  font-size: 10.5px;
  color: #8fb8c9;
}

.cap-kpi-box b {
  font-size: 13.5px;
  font-weight: 800;
  color: #f4e4bd;
}

.exch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 8px;
}

.exch-card {
  text-align: left;
  background: linear-gradient(145deg, rgba(15, 48, 62, 0.88), rgba(9, 28, 40, 0.94));
  border: 1px solid rgba(212, 184, 122, 0.45);
  border-radius: 10px;
  padding: 9px 11px;
  color: var(--text-primary);
  cursor: pointer;
}

.exch-card:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.exch-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 3px;
}

.exch-card-desc {
  font-size: 11px;
  color: #b8dce8;
  line-height: 1.4;
}

/* ==================== 跨商授信自定义支用/归还金额面板 ==================== */
input,
textarea {
  user-select: text;
  -webkit-user-select: text;
}

.loan-custom-box {
  background: rgba(6, 20, 30, 0.78);
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.loan-status-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #a9d1e0;
}

.loan-status-summary b {
  color: #f6dfaa;
  font-weight: 800;
}

.loan-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.loan-yen-prefix {
  position: absolute;
  left: 11px;
  font-size: 15px;
  font-weight: 900;
  color: #6ee7b7;
  pointer-events: none;
}

.loan-input-wrap input[type="text"] {
  padding-left: 28px;
  padding-right: 78px;
  font-size: 14.5px;
  font-weight: 800;
  color: #f4fcf9;
  border-color: rgba(110, 231, 183, 0.42);
}

.loan-unit-hint {
  position: absolute;
  right: 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: #8cb8ca;
  pointer-events: none;
}

.loan-preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.loan-preset-chip {
  background: rgba(14, 46, 64, 0.88);
  color: #cbe9f5;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 6px;
  padding: 3.5px 8px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s;
}

.loan-preset-chip:hover,
.loan-preset-chip:active {
  background: linear-gradient(135deg, #17694f, #104937);
  color: #f4fcf9;
  border-color: rgba(110, 231, 183, 0.65);
}

/* ==================== 策略页 5大模块×10种玩法 全选满配与一键锁定样式 ==================== */
.ops-master-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 82, 62, 0.92), rgba(11, 40, 56, 0.95));
  border: 1.5px solid rgba(232, 198, 126, 0.62);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.ops-master-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ops-master-title {
  font-size: 12.5px;
  font-weight: 900;
  color: #fef0c7;
}

.ops-master-sub {
  font-size: 10.5px;
  font-weight: 700;
  color: #9be7cf;
}

.ops-module-bar {
  margin-bottom: 8px;
}

.btn-combo-pill.locked-on {
  background: linear-gradient(135deg, #8b6216, #573d0b);
  color: #fef3c7;
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.28);
}

.comic-panel.ops-panel-locked {
  border-color: rgba(245, 196, 94, 0.58);
  box-shadow: 0 6px 18px rgba(2, 10, 18, 0.4), inset 0 0 0 1px rgba(245, 196, 94, 0.16);
}

.tactic-card.picked-multi {
  background: linear-gradient(150deg, rgba(20, 82, 62, 0.94), rgba(11, 46, 42, 0.97));
  border: 1.5px solid rgba(110, 231, 183, 0.72);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}

.tactic-card.executed-week {
  border-color: rgba(250, 204, 21, 0.65);
}

.shield-item.shield-on {
  background: linear-gradient(150deg, rgba(18, 72, 56, 0.65), rgba(10, 38, 44, 0.8));
  border-color: rgba(110, 231, 183, 0.52);
}

@media (max-width: 385px) {
  #tab-ops .tactics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== 编辑我的所有产品（聚焦卡切换条 + 内联编辑 + 全量工作台弹窗） ==================== */
.my-prod-strip-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding-bottom: 7px;
  margin-bottom: 7px;
  border-bottom: 1px dashed rgba(110, 231, 183, 0.26);
}

.my-prod-strip-title {
  font-size: 11.5px;
  font-weight: 900;
  color: #fde68a;
}

.my-prod-pills-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 7px;
  scrollbar-width: thin;
}

.my-prod-pill {
  flex-shrink: 0;
  background: rgba(7, 26, 38, 0.88);
  color: #c5e4f0;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  padding: 4.5px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s;
}

.my-prod-pill.active {
  background: linear-gradient(135deg, #197556, #104e3a);
  color: #fffbeb;
  border-color: #fde68a;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}

.my-prod-pill.add-pill {
  background: rgba(58, 44, 16, 0.82);
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.48);
}

.inline-sku-editor {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(5, 18, 28, 0.88);
  border: 1px solid rgba(245, 208, 118, 0.45);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sku-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

.sku-edit-field {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
}

.sku-edit-field.full-span {
  grid-column: 1 / -1;
}

.sku-edit-field label {
  font-size: 10px;
  font-weight: 700;
  color: #9ac6d8;
}

.sku-edit-field input,
.sku-edit-field select {
  width: 100%;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(9, 28, 42, 0.92);
  color: #f4fcf9;
  border: 1px solid rgba(110, 231, 183, 0.34);
  border-radius: 7px;
  outline: none;
}

.sku-edit-field input:focus,
.sku-edit-field select:focus {
  border-color: #fde68a;
}

.sku-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.my-products-modal-sheet {
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
}

.my-prod-toolbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.my-prod-batch-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.my-products-editor-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-right: 2px;
}

.my-prod-edit-card {
  background: linear-gradient(160deg, rgba(12, 38, 52, 0.94), rgba(8, 24, 34, 0.96));
  border: 1px solid rgba(110, 231, 183, 0.34);
  border-radius: 11px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.my-prod-edit-card.is-main-sku {
  border-color: rgba(250, 204, 21, 0.65);
  box-shadow: 0 4px 14px rgba(180, 134, 36, 0.18);
}

.my-prod-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.my-prod-id-tag {
  font-size: 11px;
  font-weight: 800;
  color: #fde68a;
}

.my-prod-card-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding-top: 6px;
  border-top: 1px dashed rgba(125, 211, 252, 0.18);
}

.my-prod-modal-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(125, 211, 252, 0.2);
  flex-shrink: 0;
}
