/* 保留门户原布局与数据渲染，仅统一展示配色。 */
:root {
  --blue: #EAC164; --ink: #D1C0A8; --muted: #A9957B;
  --line: rgba(212, 175, 55, .2); --gold: #FFD700; --green: #9BD5AE; --red: #F4A665;
  color-scheme: dark;
}
body {background: radial-gradient(ellipse at top, #281B12, transparent 60%), #0D0A08;}
button, a.download {
  background: linear-gradient(180deg, #FFA500, #C26300); color: #FFF0D5;
  border: 1px solid #E9AE50; box-shadow: inset 0 1px 0 #FFE7A566, 0 3px 0 #663000;
  transition: transform .12s, filter .12s;
}
button:hover:not(:disabled), a.download:hover {filter: brightness(1.12);}
button:active:not(:disabled), a.download:active {transform: scale(.98);}
button:focus-visible, a:focus-visible, summary:focus-visible {outline-color: #FFD700;}
.brand-mark {
  color: #2B1D0D; background: linear-gradient(145deg, #FFE6A0, #EAC164 50%, #966321);
  box-shadow: inset 0 1px 0 #FFF0B988, 0 5px 18px #C8953233;
}
.portal-header .actions button,
.table-pagination button,
#fundsPrevious, #fundsNext,
[data-close] {
  background: #241A10; color: #EAC164; border: 1px solid #6A5030; box-shadow: none;
}
section, .stat-card, .growth-card, .rules-card, dialog, .tier-card.unlocked {
  background: #140F0B; border-color: var(--line);
  box-shadow: 0 10px 28px #0004;
}
.portal-dashboard {background: transparent; box-shadow: none;}
.dashboard-label, .asset-caption, .asset-unit, .asset-period, .asset-live,
.growth-title, .growth-message, .progress-labels, .rules-notes,
.tier-requirement, .tier-level, .tier-status, .tier-number,
label, .estimate-sheet p {color: #A9957B;}
.asset-card {
  background: linear-gradient(125deg, #382715, #17110C);
  border: 1px solid #8C6631; color: #EAC164;
  box-shadow: inset 0 1px 0 #EAC16433, 0 14px 30px #0006;
}
.asset-card:after {border-color: #EAC16422; box-shadow: 0 0 0 35px #EAC16409, 0 0 0 70px #EAC16405;}
.asset-caption {color: #D1C0A8;}
.asset-live:before {background: #EAC164;}
.asset-bottom {border-color: var(--line);}
.asset-tier {background: #513A18; color: #FFE6A0; border: 1px solid #8C6631;}
.help-button {background: #EAC16418; color: #EAC164; border-color: #8C6631; box-shadow: none;}
.growth-title {color: #D1C0A8;}
.growth-message strong {color: #FFD700;}
.progress-track {background: #342719;}
.progress-fill {background: linear-gradient(90deg, #8C6631, #FFD700);}
.progress-dot {border-color: #140F0B; background: #FFD700; box-shadow: 0 0 0 3px #FFD70030;}
.tier-card {background: #0D0A08; border-color: var(--line);}
.tier-card.current {
  border-color: #FFD700; background: linear-gradient(130deg, #392812, #17110C);
  box-shadow: inset 0 0 18px #FFD70010, 0 4px 16px #0005;
}
.tier-card.current .tier-number, .tier-card.current .tier-level,
.tier-card.current .tier-requirement, .tier-card.current .tier-status {color: #EAC164;}
.tier-card.unlocked .tier-number {color: #C8B390;}
.tier-card.unlocked .tier-status {color: #9BD5AE;}
.tier-badge {background: linear-gradient(#EAC164, #B28030); color: #2B1D0D;}
.rules-notes summary {color: #EAC164;}
.settlement-note {background: #16261C; color: #9BD5AE; border-color: #355E42;}
.ui-warning {background: #35260F; color: #EAC164; border-color: #6A5030;}
th {background: #241A10; color: #EAC164;}
input, .preview-controls select {background: #0A0806; color: #FFEEDB; border-color: #6A5030;}
input:focus {outline: 2px solid #FFD700; outline-offset: 2px;}
#message, .warning {color: #F4A665;}
dialog {border: 1px solid var(--line); color: #D1C0A8;}
dialog::backdrop {background: #000b;}
.estimate-sheet .sheet-icon {background: #35260F; color: #EAC164;}
.estimate-sheet:before {background: #6A5030;}
.preview-controls {background: #241A10; border-color: #8C6631; color: #A9957B;}
.material {background: #0D0A08;}
@media (prefers-reduced-motion: reduce) {
  button, a.download {transition: none;}
}
