@import url("./base.css");

:root {
  --ink: #20201d;
  --muted: #696860;
  --line: #1e1e1b;
  --paper: #fffdf5;
  --soft: #ece7d7;
  --accent: #0c6d63;
  --accent-2: #b8472d;
  --accent-3: #24558c;
  --shadow: 8px 8px 0 rgba(30, 30, 27, 0.16);
}

body {
  background:
    linear-gradient(90deg, rgba(30, 30, 27, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(30, 30, 27, 0.05) 1px, transparent 1px),
    #ece7d7;
  background-size: 32px 32px;
}

.portfolio-shell {
  width: min(1320px, calc(100% - 32px));
  padding-bottom: 64px;
}

.profile-hero {
  min-height: auto;
  padding: 30px;
  margin-top: 22px;
  border: 2px solid var(--line);
  background: #fffdf5;
  box-shadow: var(--shadow);
}

.profile-copy {
  border-left: 10px solid var(--accent-2);
  padding-left: 22px;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 6.5rem);
}

.profile-panel,
.info-band article,
.viewer-card,
.editor-card,
.viewer-wrap,
button,
.button-like {
  border: 2px solid var(--line);
  border-radius: 0;
}

.info-band,
.viewer-grid {
  align-items: stretch;
}

.section-heading {
  border: 2px solid var(--line);
  background: #fffdf5;
  padding: 16px;
  box-shadow: var(--shadow);
}

.section-note {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.viewer-card {
  background: #fffdf5;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.viewer-header {
  align-items: flex-start;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
}

.viewer-title {
  position: relative;
  padding-left: 28px;
}

.viewer-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 16px;
  height: 16px;
  background: var(--accent-2);
  border: 2px solid var(--line);
}

.viewer-wrap {
  min-height: 390px;
  background:
    linear-gradient(rgba(255, 253, 245, 0.03), rgba(22, 23, 22, 0.26)),
    #1b211f;
}

.model-canvas {
  min-height: 390px;
}

.viewer-actions {
  gap: 7px;
}

.viewer-actions button,
.viewer-actions .button-like,
.spin-switch {
  background: #fffdf5;
}

.viewer-status {
  border: 2px solid var(--line);
  border-radius: 0;
  background: rgba(255, 253, 245, 0.94);
}

.viewer-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viewer-note span,
.texture-callout {
  border: 2px solid var(--line);
  background: #f2ead5;
  color: var(--ink);
  padding: 6px 9px;
  font-size: 0.8rem;
  font-weight: 800;
}

.texture-callout {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #b8472d;
  color: #fffdf5;
  cursor: pointer;
}

.texture-callout svg {
  width: 17px;
  height: 17px;
}

.skill-list span {
  border-radius: 0;
  background: #e2f0ea;
}

.edit-hint {
  border: 2px dashed rgba(30, 30, 27, 0.35);
  background: rgba(255, 253, 245, 0.72);
  padding: 10px;
}
