:root {
  --ink: #40383f;
  --muted: #887e86;
  --paper: #fffdfa;
  --cream: #fff8f1;
  --peach: #ff8f7b;
  --peach-soft: #ffe1d8;
  --pink: #f7a8b8;
  --yellow: #ffd86f;
  --mint: #68bfa0;
  --mint-soft: #dff4eb;
  --lav: #a99ad8;
  --line: #eee2dd;
  --shadow: 0 18px 55px rgba(111, 76, 69, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--cream);
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, #ffe9e1 0, transparent 25%),
    radial-gradient(circle at 92% 28%, #e5f7ef 0, transparent 23%), var(--cream);
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
header {
  height: 76px;
  padding: 0 max(22px, 5vw);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 253, 250, 0.82);
  border-bottom: 1px solid rgba(235, 217, 211, 0.75);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
  color: var(--ink);
}
.brand > i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--peach-soft);
  color: var(--peach);
  border-radius: 10px;
  font-style: normal;
}
.brand b {
  font-size: 8px;
  letter-spacing: 1px;
  background: var(--yellow);
  color: #66552f;
  padding: 4px 6px;
  border-radius: 999px;
}
nav {
  display: flex;
  gap: 5px;
  margin: auto;
  padding: 4px;
  background: #f7f0ed;
  border-radius: 999px;
}
nav button {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  color: #81777e;
  transition: 0.2s;
}
nav button:hover {
  color: var(--ink);
}
nav button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(95, 72, 69, 0.1);
  font-weight: 700;
}
.privacy {
  font-size: 11px;
  color: #5d8f7d;
}
.privacy i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--mint-soft);
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 58px 28px 84px;
}
.panel {
  display: none;
}
.panel.active {
  display: block;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  margin-bottom: 34px;
  padding: 0 8px;
}
.hero p {
  font-size: 10px;
  letter-spacing: 2.6px;
  font-weight: 800;
  color: var(--peach);
  margin: 0 0 10px;
}
.hero h1 {
  font-size: clamp(39px, 5vw, 61px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -2.5px;
  font-weight: 850;
}
.hero h1 em {
  display: block;
  color: var(--peach);
  font-style: normal;
}
.hero > span {
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 7px;
  font-size: 14px;
}
.beads {
  position: absolute;
  right: 13px;
  top: -22px;
  display: grid;
  grid-template-columns: repeat(3, 13px);
  gap: 6px;
  transform: rotate(8deg);
}
.beads i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--pink);
  box-shadow: inset 0 0 0 3px #fff7;
}
.beads i:nth-child(2) {
  background: var(--yellow);
}
.beads i:nth-child(3) {
  background: var(--mint);
}
.beads i:nth-child(4) {
  background: var(--lav);
}
.beads i:nth-child(5) {
  background: var(--peach);
}
.tool {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid white;
  border-radius: 26px;
  box-shadow: var(--shadow);
  min-height: 580px;
  overflow: hidden;
}
.tool aside {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.drop {
  height: 172px;
  border: 2px dashed #efb9ad;
  background: linear-gradient(145deg, #fff9f6, #fff3ee);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
  transition: 0.2s;
}
.drop:hover {
  border-color: var(--peach);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #df8c7517;
}
.drop input {
  display: none;
}
.dropIcon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: white;
  color: var(--peach);
  font-size: 24px;
  border-radius: 14px;
  box-shadow: 0 6px 18px #b7736118;
}
.drop small {
  margin-top: 7px;
  color: #aa9ba0;
  font-size: 10px;
  letter-spacing: 0.6px;
}
.tool aside > label:not(.drop) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 23px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.tool aside input[type="range"] {
  width: 100%;
  margin-top: 17px;
  accent-color: var(--peach);
}
output {
  background: var(--yellow);
  color: #6a5629;
  padding: 4px 9px;
  border-radius: 8px;
  font-weight: 800;
}
.tool aside .check {
  align-items: center;
}
.tool article {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.canvas {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 28px;
  background-color: #fbf8f6;
  background-image: radial-gradient(#e7ddd8 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
.canvas canvas {
  position: relative;
  z-index: 2;
  max-width: 100%;
  image-rendering: pixelated;
  border-radius: 4px;
  box-shadow: 0 16px 45px #725c4325;
}
.canvasEmpty {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 7px;
  color: #a89da2;
  text-align: center;
}
.canvasEmpty span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: white;
  color: var(--yellow);
  font-size: 28px;
  box-shadow: 0 10px 28px #725c4312;
}
.canvasEmpty small {
  font-size: 11px;
  font-weight: 400;
}
.canvas:has(canvas[width]) .canvasEmpty {
  display: none;
}
.bar {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid var(--line);
  background: white;
}
.bar button,
#loginBtn,
#generate,
.result a {
  border: 0;
  background: linear-gradient(135deg, var(--peach), #f27d87);
  color: white;
  padding: 13px 19px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 8px 18px #e97f762e;
  transition: 0.2s;
}
.bar button:hover,
#loginBtn:hover,
#generate:hover,
.result a:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 24px #e97f7642;
}
.card {
  background: rgba(255, 253, 250, 0.96);
  border: 1px solid white;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.login {
  max-width: 430px;
  margin: 34px auto;
  padding: 34px;
  display: grid;
  gap: 13px;
}
.login:before {
  content: "♡";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--peach-soft);
  color: var(--peach);
  border-radius: 15px;
  font-size: 22px;
}
.login p {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--peach);
  margin: 0;
}
.login h2 {
  font-size: 27px;
  margin: 0 0 8px;
}
.login input {
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: #fffaf7;
  border-radius: 12px;
  outline: 0;
}
.login input:focus,
.prompt textarea:focus {
  border-color: var(--peach);
  box-shadow: 0 0 0 4px var(--peach-soft);
}
.login small {
  color: #c94f5b;
  min-height: 16px;
}
.hidden {
  display: none !important;
}
.consent {
  padding: 17px 20px;
  margin-bottom: 18px;
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  box-shadow: none;
  border: 1px solid #cdebdc;
  background: var(--mint-soft);
}
.consent b {
  color: #40826b;
  white-space: nowrap;
}
.aiGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.aiGrid > .card {
  padding: 23px;
}
.thumbs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 13px 0;
}
.thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid white;
  box-shadow: 0 5px 14px #58424a1c;
}
.prompt {
  font-size: 12px;
  font-weight: 700;
}
.prompt textarea {
  display: block;
  width: 100%;
  height: 122px;
  margin: 8px 0 14px;
  border: 1px solid var(--line);
  background: #fffaf7;
  padding: 13px;
  resize: vertical;
  border-radius: 13px;
  outline: 0;
}
.result {
  min-height: 440px;
  display: grid;
  place-items: center !important;
  text-align: center;
  background: linear-gradient(145deg, #fffdfa, #fff7f4);
}
.result #resultEmpty {
  display: grid;
  place-items: center;
  gap: 12px;
  color: #a89ca2;
}
.result #resultEmpty span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--peach-soft);
  font-size: 34px;
  color: var(--peach);
}
.result img {
  max-width: 100%;
  max-height: 390px;
  border-radius: 15px;
}
.result a {
  margin-top: 12px;
}
.quota {
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px;
  margin-top: 20px;
  padding: 0 5px;
  font-size: 11px;
}
.quota b {
  text-align: right;
}
.quota i {
  grid-column: 1/-1;
  height: 8px;
  background: #e9e2e0;
  border-radius: 999px;
  overflow: hidden;
}
.quota u {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--mint), #83cfb5);
  width: 0;
  border-radius: 999px;
}
.quota small {
  grid-column: 1/-1;
  color: var(--muted);
}
#generate:disabled {
  opacity: 0.4;
  transform: none;
  box-shadow: none;
}
#aiStatus {
  font-size: 11px;
  color: var(--muted);
  min-height: 18px;
}
footer {
  max-width: 1120px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 28px;
  font-size: 10px;
  color: #948890;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 760px) {
  header {
    height: 68px;
    padding: 0 14px;
    gap: 8px;
  }
  .brand > span,
  .privacy {
    display: none;
  }
  .brand {
    gap: 3px;
  }
  nav {
    margin-left: auto;
  }
  nav button {
    padding: 8px 13px;
  }
  .hero {
    display: block;
    padding: 0;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -2px;
  }
  .hero > span {
    display: block;
    margin-top: 17px;
  }
  .beads {
    display: none;
  }
  .tool {
    grid-template-columns: 1fr;
    border-radius: 21px;
  }
  .tool aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .drop {
    height: 145px;
  }
  .canvas {
    min-height: 350px;
  }
  .bar {
    padding: 16px;
    gap: 10px;
  }
  .bar button {
    padding: 12px;
  }
  .aiGrid {
    grid-template-columns: 1fr;
  }
  .consent {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  main {
    padding: 38px 14px 60px;
  }
  .result {
    min-height: 340px;
  }
  footer {
    gap: 15px;
    padding: 24px 16px;
    flex-direction: column;
  }
}

/* Neutral tool UI: content and controls first, without decorative branding. */
:root {
  --ink: #18181b;
  --muted: #71717a;
  --paper: #fff;
  --cream: #f7f7f8;
  --peach: #2563eb;
  --peach-soft: #eff6ff;
  --yellow: #e4e4e7;
  --mint: #16a34a;
  --mint-soft: #f0fdf4;
  --line: #e4e4e7;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
html,
body {
  background: #f7f7f8;
}
body {
  background: #f7f7f8;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
header {
  height: 64px;
  padding: 0 max(20px, 4vw);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  font-size: 18px;
  letter-spacing: -0.5px;
}
.brand > i,
.brand b {
  display: none;
}
nav {
  background: #f4f4f5;
  border-radius: 9px;
  padding: 3px;
}
nav button {
  padding: 8px 15px;
  border-radius: 7px;
  font-size: 13px;
}
nav button.active {
  box-shadow: 0 1px 2px #0000000d;
}
.privacy {
  color: #52525b;
}
.privacy i {
  background: #22c55e;
  box-shadow: none;
  width: 6px;
  height: 6px;
}
.beads {
  display: none;
}
main {
  max-width: 1180px;
  padding: 44px 28px 72px;
}
.hero {
  display: block;
  margin-bottom: 22px;
  padding: 0;
}
.hero h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  font-weight: 700;
  margin: 0;
}
.hero p {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  margin: 7px 0 0;
}
.hero h1 em,
.hero > span {
  display: none;
}
.tool {
  grid-template-columns: 290px 1fr;
  min-height: 570px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #fff;
}
.tool aside {
  padding: 20px;
  border-color: var(--line);
}
.drop {
  height: 158px;
  border: 1px dashed #a1a1aa;
  background: #fafafa;
  border-radius: 9px;
}
.drop:hover {
  border-color: #52525b;
  transform: none;
  box-shadow: none;
}
.dropIcon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  background: #f4f4f5;
  color: #52525b;
  font-size: 20px;
  border-radius: 8px;
  box-shadow: none;
}
.drop small {
  color: #a1a1aa;
  letter-spacing: 0;
}
.tool aside > label:not(.drop) {
  padding: 21px 2px;
  border-color: var(--line);
}
.tool aside input[type="range"] {
  accent-color: #18181b;
}
output {
  background: #f4f4f5;
  color: #3f3f46;
  border-radius: 6px;
  padding: 3px 8px;
}
.canvas {
  background: #fafafa;
  background-image: radial-gradient(#d4d4d8 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 24px;
}
.canvas canvas {
  box-shadow: 0 4px 16px #00000014;
}
.canvasEmpty {
  color: #71717a;
}
.canvasEmpty span {
  display: none;
}
.bar {
  border-color: var(--line);
  padding: 18px 20px;
}
.bar button,
#loginBtn,
#generate,
.result a {
  background: #18181b;
  color: #fff;
  border-radius: 8px;
  padding: 11px 16px;
  box-shadow: none;
  font-weight: 600;
}
.bar button:hover,
#loginBtn:hover,
#generate:hover,
.result a:hover {
  background: #27272a;
  transform: none;
  box-shadow: none;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.login {
  max-width: 400px;
  margin: 28px auto;
  padding: 28px;
  gap: 12px;
}
.login:before {
  display: none;
}
.login h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.login input,
.prompt textarea {
  background: #fff;
  border-color: #d4d4d8;
  border-radius: 8px;
}
.login input:focus,
.prompt textarea:focus {
  border-color: #52525b;
  box-shadow: 0 0 0 3px #e4e4e7;
}
.consent {
  background: #fff;
  border: 1px solid var(--line);
  padding: 15px 18px;
}
.consent b {
  color: #18181b;
}
.aiGrid {
  gap: 16px;
}
.aiGrid > .card {
  padding: 20px;
}
.thumbs img {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: none;
}
.result {
  background: #fafafa;
  min-height: 430px;
}
.result #resultEmpty {
  color: #71717a;
}
.result #resultEmpty span {
  display: none;
}
.result img {
  border-radius: 8px;
}
.quota u {
  background: #18181b;
}
.quota i {
  background: #e4e4e7;
}
footer {
  max-width: 1180px;
  border-color: var(--line);
  color: #71717a;
}
@media (max-width: 760px) {
  header {
    height: 60px;
  }
  .brand > span {
    display: block;
  }
  .privacy {
    display: none;
  }
  nav button {
    padding: 8px 11px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .tool {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }
  .tool aside {
    padding: 16px;
  }
  .canvas {
    min-height: 340px;
  }
  .bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .bar button {
    width: 100%;
  }
  main {
    padding: 30px 14px 50px;
  }
  .consent {
    gap: 8px;
  }
  .result {
    min-height: 320px;
  }
}

.studio-panel {
  margin: -28px calc(50% - 50vw) -60px;
}
.studio-panel iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 64px);
  min-height: 720px;
  border: 0;
  background: #f7f7f8;
}
.inventorySummary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.inventorySummary > div {
  display: grid;
  gap: 7px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.inventorySummary span {
  font-size: 12px;
  color: var(--muted);
}
.inventorySummary strong {
  font-size: 24px;
}
.inventoryToolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.inventoryToolbar input,
.inventoryToolbar button,
.importButton {
  height: 38px;
  padding: 0 11px;
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  background: #fff;
  color: #27272a;
  font-size: 12px;
}
.inventoryToolbar > input {
  min-width: 190px;
}
.inventoryToolbar label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.inventoryToolbar label input {
  width: 72px;
}
.inventoryToolbar button,
.importButton {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.importButton input {
  display: none !important;
}
#deductUsage {
  background: #18181b;
  color: #fff;
  border-color: #18181b;
}
.inventoryNotice {
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}
.inventoryNotice.warning {
  color: #991b1b;
  border-color: #fecaca;
  background: #fef2f2;
}
.inventoryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 10px;
}
.inventoryItem {
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.inventoryItem.shortage {
  border-color: #fca5a5;
}
.inventoryItem header {
  position: static;
  height: auto;
  padding: 0 0 11px;
  background: none;
  border: 0;
  display: flex;
  gap: 8px;
}
.inventoryItem header i {
  width: 20px;
  height: 20px;
  border: 1px solid #d4d4d8;
  border-radius: 5px;
}
.inventoryItem header span {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.inventoryItem label {
  display: grid;
  grid-template-columns: 1fr 76px;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}
.inventoryItem input {
  width: 76px;
  padding: 6px 7px;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
}
.inventoryItem footer {
  max-width: none;
  margin: 10px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
  color: #b91c1c;
  font-size: 11px;
  display: block;
}
@media (max-width: 760px) {
  .studio-panel {
    margin: -18px -14px -40px;
  }
  .studio-panel iframe {
    height: calc(100vh - 60px);
  }
  .inventorySummary {
    grid-template-columns: 1fr;
  }
  .inventoryGrid {
    grid-template-columns: 1fr 1fr;
  }
  nav {
    overflow-x: auto;
    white-space: nowrap;
  }
  .brand {
    display: none;
  }
}
@media (max-width: 480px) {
  .inventoryGrid {
    grid-template-columns: 1fr;
  }
}

/* Warm paper system shared with Xiaoke Mini App. */
:root {
  --ink: #29241e;
  --muted: #847b70;
  --paper: #f8f4ed;
  --cream: #f8f4ed;
  --peach: #bc704b;
  --peach-soft: #f2e3d7;
  --yellow: #eadfce;
  --mint: #8b7566;
  --mint-soft: #eee5da;
  --line: #e8dfd3;
  --shadow: 0 12px 36px rgba(85, 62, 39, 0.08);
}
html,
body {
  background: var(--paper);
}
body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  background-image: radial-gradient(rgba(139, 118, 94, 0.17) 0.45px, transparent 0.45px);
  background-size: 7px 7px;
}
header {
  background: rgba(248, 244, 237, 0.9);
  border-color: var(--line);
}
.brand,
.hero h1,
.login h2 {
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-weight: 500;
}
nav {
  background: #eee5da;
  border-radius: 999px;
}
nav button {
  border-radius: 999px;
  color: #756a60;
}
nav button.active {
  background: #fffaf4;
  color: #563b2d;
  box-shadow: 0 4px 13px rgba(85, 62, 39, 0.1);
}
.privacy {
  color: #8a7464;
}
.privacy i {
  background: #bc704b;
}
.hero h1 {
  font-size: 32px;
  letter-spacing: -0.4px;
}
.hero p {
  color: var(--muted);
}
.card,
.inventorySummary > div,
.inventoryItem,
.inventoryNotice {
  background: rgba(255, 253, 249, 0.96);
  border-color: var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(85, 62, 39, 0.055);
}
.login {
  border-radius: 26px;
}
.login input,
.prompt textarea,
.inventoryToolbar input,
.inventoryToolbar button,
.importButton {
  background: #fffdf9;
  border-color: #ded2c5;
  border-radius: 12px;
}
.login input:focus,
.prompt textarea:focus {
  border-color: #bc704b;
  box-shadow: 0 0 0 3px #f0dfd4;
}
.bar button,
#loginBtn,
#generate,
.result a,
#deductUsage {
  background: #bc704b;
  border-color: #bc704b;
  color: #fffaf4;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(188, 112, 75, 0.2);
}
.bar button:hover,
#loginBtn:hover,
#generate:hover,
.result a:hover {
  background: #a75f3c;
}
.consent {
  background: #f3ebe2;
  border-color: #e2d4c6;
}
.consent b {
  color: #78523d;
}
.result {
  background: rgba(255, 253, 249, 0.72);
}
.quota u {
  background: #bc704b;
}
.studio-panel iframe {
  background: #f8f4ed;
}
footer {
  border-color: var(--line);
  color: var(--muted);
}
@media (max-width: 760px) {
  header {
    background: rgba(248, 244, 237, 0.94);
  }
  nav {
    width: 100%;
    justify-content: center;
  }
  .hero h1 {
    font-size: 28px;
  }
  .card,
  .inventorySummary > div,
  .inventoryItem,
  .inventoryNotice {
    border-radius: 18px;
  }
}
