:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #f6f2ea;
  color: #2b261f;
}

body {
  margin: 0;
}

.asset-center-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 18px 56px;
}

.asset-center-hero,
.asset-center-grid article,
.asset-center-import,
.asset-center-assets,
.asset-center-styles {
  background: #fffaf1;
  border: 1px solid #eadcc5;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(72, 51, 21, 0.08);
  padding: 22px;
}

.eyebrow {
  color: #9a6d2f;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 14px;
}

.notice,
.muted {
  color: #756855;
}

button {
  background: #2f2416;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  padding: 10px 18px;
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

button.secondary {
  background: #eadcc5;
  color: #2f2416;
}

button.compact {
  font-size: 13px;
  padding: 7px 12px;
  white-space: nowrap;
}

.message {
  min-height: 22px;
  color: #756855;
}

.message.ok {
  color: #24723f;
}

.message.error {
  color: #a32929;
}

.asset-center-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 18px 0;
}

.asset-center-import,
.asset-center-assets,
.asset-center-styles {
  margin-top: 18px;
}

.upload-row,
.section-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

input[type="file"] {
  background: #fff;
  border: 1px solid #eadcc5;
  border-radius: 12px;
  max-width: 100%;
  padding: 9px;
}

.single-upload-row label {
  color: #756855;
  display: grid;
  font-size: 13px;
  gap: 5px;
}

.single-upload-row input[type="text"] {
  border: 1px solid #eadcc5;
  border-radius: 10px;
  font: inherit;
  min-width: 220px;
  padding: 9px 10px;
}

.import-result,
.folder-summary,
.svg-validation-result {
  margin-top: 14px;
}

.svg-validation-preview {
  align-items: center;
  background: #fff;
  border: 1px dashed #d9c39f;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 0;
  min-height: 56px;
  padding: 12px;
}

.svg-validation-preview img {
  background: #fff;
  border: 1px solid #eee3d2;
  height: 120px;
  max-width: 100%;
  object-fit: contain;
  width: 240px;
}

.svg-validation-preview figcaption {
  color: #756855;
  font-size: 13px;
}

.result-grid {
  display: grid;
  gap: 8px 16px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.assets-list {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

th,
td {
  border-top: 1px solid #eadcc5;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #8a5f24;
  font-size: 13px;
  white-space: nowrap;
}

dt {
  color: #8a7a63;
  font-size: 13px;
  margin-top: 10px;
}

dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.style-row {
  border-top: 1px solid #eadcc5;
  display: grid;
  gap: 6px;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 0.6fr));
  padding: 12px 0;
}

@media (max-width: 720px) {
  .style-row {
    grid-template-columns: 1fr;
  }
}
