/* Community-making experience; the original identity remains in styles.css. */
.prompt-section { padding-top: 82px; padding-bottom: 58px; scroll-margin-top: 24px; }
.studio-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 54px; margin-bottom: 42px; }
.studio-heading h2 { font-size: 68px; line-height: 1.05; margin: 20px 0 0; }
.studio-brief { max-width: 360px; padding-bottom: 4px; }
.studio-brief > p:not(.prompt-date):not(.prompt-note) { font-size: 15px; line-height: 1.9; color: #655f68; margin: 16px 0; }
.prompt-date { display: inline-block; font-size: 10px; color: #615269; margin: 0; padding: 7px 11px; border: 1px solid #d8cbd7; border-radius: 30px; }
.prompt-note { font-size: 11px; color: #655f68; line-height: 1.8; }
.decree-studio { display: grid; grid-template-columns: .95fr 1fr; gap: 70px; align-items: start; }
.decree-controls { min-width: 0; padding-top: 9px; }
.studio-label { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: #615269; }
.decree-field-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 23px 0 12px; }
.decree-field-heading label { font-family: var(--serif); font-size: 26px; }
#decree-count { font-size: 10px; color: #706b74; flex-shrink: 0; font-variant-numeric: tabular-nums; }
#royal-decree { display: block; width: 100%; min-height: 119px; padding: 17px 18px; border: 1px solid #c9b6d1; border-radius: 7px; background: #fffaf5; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; resize: vertical; cursor: text; }
#royal-decree:focus-visible { outline: 2px solid #765589; outline-offset: 3px; }
.field-hint { font-size: 11px; line-height: 1.8; color: #655f68; margin: 10px 0 0; }
.field-label { display: block; flex-basis: 100%; font-size: 9px; font-weight: 600; letter-spacing: 1.3px; color: #655f68; margin-bottom: 2px; }
.decree-examples, .decree-theme-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.decree-examples button { border: 1px solid #d8cbd7; border-radius: 5px; background: transparent; color: #65506e; padding: 9px 12px; font-size: 11px; min-height: 40px; cursor: pointer; }
.decree-examples button:hover { background: var(--lavender); border-color: #9e83af; }
.theme-option { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fffaf5; min-height: 44px; padding: 9px 12px; font-size: 11px; cursor: pointer; }
.theme-option[aria-pressed="true"] { border-color: #765589; box-shadow: 0 0 0 1px #765589; }
.theme-swatch { width: 17px; height: 17px; border-radius: 50%; border: 1px solid #b7a6bd; flex-shrink: 0; }
.swatch-cream { background: #f8f4ed; }.swatch-lilac { background: #ede5f0; }.swatch-night { background: #302936; }
.decree-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 29px; }
.decree-actions .button { border: 0; min-height: 49px; font-size: 12px; padding: 14px 20px; gap: 18px; cursor: pointer; }
.decree-actions .button:disabled { opacity: .55; cursor: wait; }
.decree-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 11px; }
.decree-status { font-size: 11px; color: #655f68; line-height: 1.8; margin: 11px 0 0; min-height: 40px; }
.decree-steps { margin: 21px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.decree-steps li { display: flex; gap: 16px; align-items: flex-start; }
.decree-steps li > span { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid #d8cbd7; border-radius: 50%; color: #765589; font-size: 9px; flex-shrink: 0; }
.decree-steps strong { display: block; font-size: 12px; font-weight: 600; }
.decree-steps small { display: block; font-size: 11px; line-height: 1.8; color: #655f68; margin-top: 3px; }
.studio-footnote { font-size: 10px; color: #655f68; line-height: 1.8; margin: 20px 0 0; }
.studio-footnote a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.decree-preview-frame { background: #eee5ed; border: 1px solid #d8cbd7; border-radius: 10px; padding: 22px; margin: 0; min-width: 0; box-shadow: 0 10px 30px #26242a0a; transform: rotate(.7deg); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 17px; }
.preview-heading .studio-label { font-size: 8px; letter-spacing: 1.2px; }
.preview-size { font-size: 8px; color: #655f68; }
#decree-preview { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #f8f4ed; border-radius: 3px; box-shadow: 0 5px 15px #26242a16; }
.decree-preview-frame figcaption { font-family: var(--serif); font-style: italic; font-size: 18px; color: #765589; text-align: center; margin-top: 17px; }
.studio-permission { font-size: 10px; line-height: 1.8; color: #655f68; margin: 30px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.market-activity { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 8px; margin: 14px 0 0; overflow: hidden; }
.market-activity > div { padding: 18px 23px; border-right: 1px solid var(--line); min-width: 0; }
.market-activity > div:last-child { border-right: 0; }
.market-activity dt { color: #655f68; font-size: 11px; }
.market-activity dd { font-family: var(--serif); font-size: 27px; margin: 7px 0 0; overflow-wrap: anywhere; }
.market-activity .market-flow dd { font-size: 24px; }
.activity-breakdown { border-bottom: 1px solid var(--line); padding: 15px 0; }
.activity-breakdown summary { font-size: 12px; min-height: 44px; }
.activity-breakdown .activity-grid { margin: 10px 0 12px; border: 0; padding-top: 12px; padding-bottom: 12px; }
.activity-breakdown .activity-grid dd { font-size: 30px; min-height: 39px; }
.community-source > a:not(.updates-jump) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.guide-details { border-block: 1px solid #d8cdc0; margin-top: 26px; padding: 14px 0; }
.guide-details summary { min-height: 44px; font-size: 13px; }
.guide-details .guide-steps { margin-top: 24px; margin-bottom: 15px; }
html:not(.has-js) .market-activity, html:not(.has-js) .decree-field-heading, html:not(.has-js) .field-hint, html:not(.has-js) #decree-preview { display: none; }
.decree-preview-frame noscript img { width: 100%; height: auto; }
@media (max-width: 1000px) {
  .decree-studio { gap: 35px; }
  .studio-heading h2 { font-size: 58px; }
  .decree-preview-frame { padding: 17px; }
  .preview-heading { gap: 7px; }
}
@media (max-width: 800px) {
  .studio-heading { align-items: flex-start; gap: 30px; }
  .studio-brief { max-width: 280px; }
  .studio-brief > p:not(.prompt-date):not(.prompt-note) { font-size: 13px; }
  .decree-studio { display: flex; flex-direction: column; gap: 16px; }
  .decree-controls { display: contents; }
  .decree-controls > .studio-label { order: 0; }
  .decree-field-heading { order: 1; width: 100%; margin: 0; }
  #royal-decree { order: 2; }
  .field-hint { order: 3; margin: -4px 0 0; }
  .decree-examples { order: 4; margin-top: 7px; }
  .decree-theme-group { order: 5; margin-top: 8px; }
  .decree-preview-frame { order: 6; width: 100%; max-width: 450px; align-self: center; margin-top: 14px; transform: none; }
  .decree-actions { order: 7; width: 100%; justify-content: center; margin-top: 9px; }
  .decree-status { order: 8; width: 100%; text-align: center; margin-top: -8px; min-height: 22px; }
  .decree-steps { order: 9; width: 100%; margin-top: 8px; }
  .studio-footnote { order: 10; margin-top: 0; }
  .market-activity > div { padding: 17px 16px; }
}
@media (max-width: 580px) {
  .hero { display: grid; grid-template-columns: minmax(0,1fr) 140px; gap: 18px; padding-top: 18px; padding-bottom: 38px; text-align: left; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow, .hero h1, .hero-actions, .hero-contract, .hero-footnote { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(46px,13vw,66px); letter-spacing: -1.8px; margin: 0; }
  .hero-description { grid-column: 1; grid-row: 3; margin: 0; font-size: 12px; line-height: 1.9; }
  .hero-art { grid-column: 2; grid-row: 3; width: 140px; max-width: 140px; padding: 0; margin: 0; align-self: center; }
  .hero-art .portrait-frame { padding: 6px; }
  .hero-art .portrait-caption, .hero-art .art-note, .hero-art .royal-seal, .hero-art .art-sparkle { display: none; }
  .hero-actions { flex-wrap: wrap; gap: 16px; margin: 6px 0 0; }
  .hero-actions .button { min-height: 46px; font-size: 11px; padding: 12px 16px; }
  .hero-actions .text-link { font-size: 10px; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; }
  .hero-contract { margin-top: 0; }
  .hero-footnote { justify-content: flex-start; margin: 0; }
  .prompt-section { padding-top: 52px; padding-bottom: 25px; }
  .studio-heading { flex-direction: column; margin-bottom: 30px; gap: 22px; }
  .studio-heading h2 { font-size: 49px; margin-top: 14px; }
  .studio-brief { max-width: 100%; }
  .studio-brief > p:not(.prompt-date):not(.prompt-note) { margin: 12px 0; }
  .decree-field-heading label { font-size: 24px; }
  .decree-preview-frame { padding: 14px; max-width: 380px; }
  .preview-heading { margin-bottom: 12px; }
  .preview-heading .studio-label { font-size: 7px; }
  .decree-preview-frame figcaption { font-size: 16px; margin-top: 13px; }
  .decree-actions { flex-direction: column; gap: 3px; }
  .decree-actions .button { width: 100%; justify-content: space-between; }
  .decree-actions .text-link { padding: 4px 0; }
  .market-activity { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-activity > div { padding: 16px 14px; }
  .market-activity > div:nth-child(2) { border-right: 0; }
  .market-activity .market-flow { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .market-activity dt { font-size: 10px; }
}
@media (max-width: 380px) {
  .hero { grid-template-columns: minmax(0,1fr) 112px; gap: 15px; }
  .hero-art { width: 112px; max-width: 112px; }
  .theme-option { padding: 9px 10px; gap: 6px; }
}
