.world-section{margin:16px 0;padding:17px;border:1px solid #e5d7d9;border-radius:20px;background:linear-gradient(140deg,#fff5dc,#f3eaf8 70%,#edf4ed);min-width:0;text-align:left}.world-heading{display:flex;gap:12px;align-items:start}.world-heading h2,.world-section>h2{font:25px/1.25 Georgia;margin:0 0 6px}.world-heading p{margin:0 0 12px;line-height:1.6}.world-section>.personal-tools{margin:12px 0 4px}.world-status{margin:9px 0 0;font-size:11px;line-height:1.5}.world-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.world-card{position:relative;border-radius:16px;background:#fffaf4;overflow:hidden;min-width:0;break-inside:avoid;box-shadow:0 2px 8px #7353390b;border:1px solid #eadfce}.world-card .personal-photo{display:block;width:100%;height:155px;object-fit:cover;margin:0;border-radius:0}.world-card.tall .personal-photo{height:220px}.world-card.wide .personal-photo{height:135px}.world-card-copy{padding:12px}.world-card h3{font:600 14px/1.4 system-ui;margin:0 0 6px;overflow-wrap:anywhere}.world-card p{font-size:12px;line-height:1.6;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.world-text{background:linear-gradient(135deg,#fff0cc,#eee5f6)}.world-text .world-card-copy{min-height:145px;padding:18px;display:flex;flex-direction:column;justify-content:center}.world-text.tall .world-card-copy{min-height:220px}.world-text h3{font:23px/1.25 Georgia}.world-text p{font-size:13px}.world-audience{display:block;font:10px/1.5 system-ui;color:var(--muted);margin-top:10px}.world-preview .world-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.world-preview .world-card:nth-child(n+3){margin-top:0}.world-empty{grid-column:1/-1;padding:5px 0}.world-empty>p{font:18px/1.5 Georgia;margin:0 0 12px}.world-prompts{display:flex;flex-wrap:wrap;gap:7px}.world-prompt{padding:9px 11px;border:1px dashed #cab5a0;border-radius:13px;font-size:12px;min-height:44px;text-align:left;background:#fffaf2b3}.world-preview>.tiny{grid-column:1/-1}
#profile-world-board{width:min(780px,calc(100vw - 24px));max-height:88dvh;overflow:auto}#profile-world-editor{width:min(540px,calc(100vw - 24px));max-height:88dvh;overflow:auto}.world-masonry{columns:2;column-gap:13px}.world-masonry .world-card{display:inline-block;width:100%;margin-bottom:13px}.world-masonry .world-card.wide{column-span:all;display:block}.world-card-tools{display:flex;flex-wrap:wrap;gap:2px 12px;padding:0 12px 8px}.world-card-tools button{font-size:11px;min-height:44px}.world-card-tools button:disabled{opacity:.35;cursor:default}.world-delete{color:#884b4b;min-height:44px}.world-section .personal-tools button{min-height:44px}.world-status:empty{display:none}.member-world{margin-top:20px}.member-world>p{margin-bottom:12px}#profile-world-editor .personal-form{gap:9px}#profile-world-editor textarea{min-height:90px}#profile-world-editor input,#profile-world-editor select,#profile-world-editor textarea{font-size:16px}#profile-world-editor .photo-preview .personal-photo{max-height:210px;object-fit:contain}#profile-world-editor [hidden]{display:none!important}
@media(max-width:480px){.world-section{padding:14px;border-radius:17px}.world-heading h2,.world-section>h2{font-size:23px}.world-preview{gap:8px}.world-card .personal-photo{height:125px}.world-card.tall .personal-photo{height:175px}.world-card-copy{padding:10px}.world-text .world-card-copy{padding:13px;min-height:130px}.world-text h3{font-size:21px}.world-text p{font-size:12px}.world-masonry{column-gap:9px}.world-card-tools{gap:0 8px;padding:0 9px 7px}.world-card-tools button{font-size:10px}}

.world-preview>.world-card.wide{grid-column:1/-1}

/* Desktop collage cards follow each photo's natural proportions. */
@media(min-width:769px){
  .world-card{box-sizing:border-box}
  .world-card .personal-photo,
  .world-card.tall .personal-photo,
  .world-card.wide .personal-photo{
    width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;background:transparent
  }
}
