/* Account, collection and mock economy share the original TodoVerse shell. */
:root { --ink: #18181b; }
textarea { font: inherit; color: inherit; resize: vertical; }
textarea:focus-visible { outline: 3px solid var(--deep-pink); outline-offset: 3px; }
.community-page { max-width: 1380px; }
.community-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 4px 0 30px; }
.community-heading .eyebrow { color: #795463; }
.community-heading h1 { font-size: clamp(38px,4vw,60px); line-height: 1; }
.community-heading > div > p:last-child { color: var(--muted); margin: 13px 0 0; }
.community-tag { display: inline-flex; align-self: start; padding: 6px 10px; border: 1px solid #ebd1dc; border-radius: 30px; background: #fff6fa; color: #9b124c; font-family: var(--meta); font-size: 10px; font-weight: var(--weight-label); white-space: nowrap; }
.currency { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; white-space: nowrap; }
.currency .icon { width: 20px; height: 20px; }
.currency--stars .icon { color: #926017; fill: #ffe39a; }
.currency--sprinkles .icon { color: #a82664; }
.currency > span { font-size: 13px; color: #61616c; }
.header-actions { gap: 14px; }
.header-wallet { display: flex; gap: 14px; align-items: center; padding: 7px 13px; border: 1px solid #ece9ef; border-radius: 9px; }
.header-wallet .currency > span { display: none; }
.header-wallet .currency { font-size: 15px; }
.header-signin { font-size: 15px; white-space: nowrap; padding: 10px 5px; }
.demo-profile { max-width: 180px; }
.demo-profile > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-mini { display: flex; flex-wrap: wrap; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.button--pink { background: var(--pink); color: white; }
.button--pink:hover { background: var(--deep-pink); }
.community-panel { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; margin-bottom: 24px; }
.community-panel h2 { font-size: 28px; }
.community-panel > p { color: var(--muted); }
.community-panel form, .auth-panel form { display: grid; gap: 9px; }
.community-panel form > label, .auth-panel form > label { font-size: 15px; font-weight: var(--weight-label); margin-top: 10px; }
.community-panel input, .community-panel textarea, .auth-panel input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #cfd2d9; border-radius: 8px; background: #fbfbfd; }
.community-panel form > small, .auth-panel form > small { color: var(--muted); font-size: 12px; }
.community-panel form > button, .auth-panel form > button { margin-top: 12px; }
.form-error { padding: 11px 13px; border: 1px solid #e9b6c6; border-radius: 8px; background: #fff0f4; color: #962342; font-size: 14px; }
.form-error[hidden] { display: none; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; }
.auth-story { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; background: radial-gradient(ellipse at 20% 30%,#ffe5ed,transparent 70%),#f1dce8; }
.auth-story > img { width: 135px; height: 135px; object-fit: contain; margin: 26px 0 20px; }
.auth-story h1 { font-size: clamp(46px,4.4vw,68px); }
.auth-story > p { font-size: 22px; margin: 18px 0 28px; }
.auth-story > small { max-width: 360px; color: #685765; font-size: 12px; margin-top: auto; padding-top: 26px; }
.auth-perks { display: grid; gap: 16px; font-size: 16px; }
.auth-perks span { display: flex; gap: 12px; align-items: center; }
.auth-perks .icon { width: 20px; color: #a82664; }
.auth-panel { padding: 46px 40px; align-self: center; }
.auth-panel h2 { font-size: 34px; margin: 22px 0 12px; }
.auth-panel > p { color: var(--muted); }
.auth-panel .button { min-height: 48px; }
.auth-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.auth-panel form > .terms-agreement { display: flex; align-items: flex-start; gap: 10px; }
.auth-panel .terms-agreement input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: #c90054; }
.password-field { display: flex; border: 1px solid #cfd2d9; border-radius: 8px; background: #fbfbfd; }
.password-field input { border: 0; background: transparent; }
.password-field button { border: 0; background: transparent; padding: 0 14px; font-size: 13px; font-weight: var(--weight-label); }
.auth-panel .auth-switch { margin-top: 22px; font-size: 14px; }
.auth-switch a { color: var(--deep-pink); font-weight: 550; text-decoration: underline; text-underline-offset: 3px; }
.auth-panel .auth-privacy, .auth-privacy { font-size: 12px; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }
.auth-signed { text-align: center; background: white; padding: 30px; border-radius: 18px; }
.auth-signed .sample-avatar { height: 250px; }
.shop-banner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 250px; padding: 30px 36px; overflow: hidden; border: 1px solid #eed8e1; border-radius: 18px; background: #f7e4ed; }
.shop-banner h2 { font-size: 37px; }
.shop-banner p { color: #765569; }
.shop-banner .eyebrow { color: #8c3760; }
.shop-banner-art { display: flex; width: 54%; align-items: center; justify-content: center; padding-left: 15px; }
.shop-banner-art .cosmetic-art { width: 39%; flex-shrink: 0; transform: rotate(-14deg); filter: drop-shadow(0 12px 12px #97617a1f); }
.shop-banner-art .cosmetic-art:nth-child(2) { transform: rotate(12deg) translateY(-12px); }
.shop-banner-art .cosmetic-art:nth-child(3) { transform: rotate(9deg) translateY(17px); margin-left: -20px; }
.shop-disclosure { color: var(--muted); font-size: 12px; margin: 13px 0 25px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; margin-bottom: 30px; }
.catalog-query { display: flex; min-height: 44px; flex: 1 1 190px; align-items: center; gap: 8px; border: 1px solid #d6d8df; border-radius: 7px; padding: 0 10px; background: #fafbfc; }
.catalog-query > .icon { width: 18px; color: #747580; }
.catalog-query input { width: 100%; min-width: 0; padding: 10px 0; border: 0; background: transparent; font-size: 15px; }
.catalog-toolbar > label { display: grid; gap: 5px; flex: 0 1 150px; }
.catalog-toolbar > label > span { font-size: 12px; color: var(--muted); }
.catalog-toolbar select { width: 100%; min-height: 44px; border: 1px solid #d6d8df; border-radius: 7px; padding: 8px; font-size: 14px; background: white; }
.shop-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.shop-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; transition: border-color .15s; }
.shop-card:hover { border-color: #ca9db3; }
.shop-art { position: relative; display: grid; min-height: 195px; place-items: center; }
.shop-art > svg { width: 78%; max-height: 200px; padding: 20px 5px 8px; }
.shop-type { position: absolute; bottom: 9px; left: 12px; color: #554c56; font-family: var(--meta); font-size: 9px; }
.owned-badge { position: absolute; display: flex; align-items: center; gap: 3px; top: 10px; right: 10px; padding: 4px 7px; background: #fffffff0; border-radius: 20px; color: #32634a; font-size: 11px; }
.owned-badge .icon { width: 13px; height: 13px; }
.shop-copy { display: flex; flex-direction: column; flex: 1; padding: 17px; }
.shop-copy h3 { font-size: 22px; margin-bottom: 8px; }
.shop-copy > p { font-size: 14px; color: var(--muted); min-height: 40px; margin-bottom: 13px; }
.shop-price { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; margin: auto 0 17px; }
.shop-price > small { font-size: 10px; color: #72727b; }
.shop-price .currency > span { font-size: 11px; }
.shop-actions { display: grid; gap: 7px; }
.shop-actions > .button { width: 100%; font-size: 14px; padding: 10px; }
.shop-try { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 36px; border: 0; background: transparent; font-size: 13px; }
.shop-try .icon { width: 17px; height: 17px; }
.collection-empty { display: grid; grid-column: 1/-1; justify-items: center; text-align: center; padding: 50px 24px; border: 1px dashed #c9c6d0; border-radius: 16px; background: white; }
.collection-empty h2 { margin-top: 20px; }
.collection-empty > p { color: var(--muted); max-width: 460px; }
.collection-empty .text-link { margin-top: 18px; }
.inventory-summary { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 24px; background: white; }
.inventory-summary > span { display: grid; font-size: 13px; color: var(--muted); }
.inventory-summary strong { font-size: 18px; color: var(--ink); }
.inventory-summary > a { margin-left: auto; }
.member-cover { display: grid; grid-template-columns: 180px minmax(0,1fr) 150px; align-items: center; gap: 28px; padding: 28px; background: linear-gradient(115deg,#efe1ec,#fcebdc); border: 1px solid #e9d4dd; border-radius: 18px; margin-bottom: 26px; }
.member-portrait { background: #ffffff70; border-radius: 14px; height: 245px; text-align: center; overflow: hidden; }
.member-portrait > svg { height: 245px; }
.member-cover h2 { margin: 15px 0 3px; font-size: 38px; overflow-wrap: anywhere; }
.member-cover p { color: #5e5260; overflow-wrap: anywhere; }
.member-cover .member-handle { font-family: var(--meta); font-size: 12px; }
.member-stats { display: grid; gap: 18px; }
.member-stats a { display: grid; font-size: 13px; color: #665568; }
.member-stats strong { font-size: 38px; color: var(--ink); line-height: 1.1; }
.member-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.profile-wallet { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.profile-wallet .currency { padding: 13px 0; font-size: 34px; }
.profile-wallet .currency > span { font-size: 17px; }
.profile-wallet .currency .icon { width: 30px; height: 30px; }
.profile-wallet > p:last-child { font-size: 13px; margin-top: auto; padding-top: 20px; }
.saved-worlds { display: grid; gap: 8px; }
.saved-worlds > a { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e8e7ed; border-radius: 9px; }
.saved-worlds > a > span { font-size: 13px; color: var(--muted); }
.saved-worlds > a > svg:last-child { margin-left: auto; }
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wallet-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 32px; border: 1px solid #e9d8af; border-radius: 18px; background: #fff1d5; }
.wallet-card--sprinkles { background: #f7e1ed; border-color: #e5c6da; }
.wallet-symbol { position: absolute; right: 22px; top: 30px; color: #ba812b; transform: rotate(12deg); opacity: .4; }
.wallet-symbol .icon { width: 90px; height: 90px; }
.wallet-card--sprinkles .wallet-symbol { color: #bc3b81; }
.wallet-card h2 { font-size: 32px; }
.wallet-balance { font-size: 64px; line-height: 1; letter-spacing: -.04em; margin: 5px 0 24px; }
.wallet-card > p:not(.eyebrow) { color: #62545c; max-width: 350px; font-size: 16px; }
.wallet-card > button { margin-top: auto; }
.wallet-card > small { display: block; margin-top: 12px; font-size: 12px; color: #6d5865; }
.wallet-note { display: flex; align-items: center; gap: 14px; padding: 21px 4px; }
.wallet-note > .icon { color: #8a5271; }
.wallet-note > p { flex: 1; margin: 0; font-size: 13px; color: var(--muted); }
.wallet-activity > div { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid #efedf1; }
.activity-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #f4edf4; flex-shrink: 0; }
.wallet-activity > div > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.wallet-activity strong { font-size: 16px; }
.wallet-activity small { font-size: 12px; color: var(--muted); }
.activity-amount { font-size: 14px; text-align: right; }
.activity-amount.is-positive { color: #317457; }
.wardrobe-layout { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); align-items: start; gap: 24px; }
.wardrobe-stage { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; border: 1px solid #e3d9e5; border-radius: 18px; padding: 24px; background: radial-gradient(ellipse at 50% 45%,#fdf5ff,#e7dde9); }
.wardrobe-stage > .community-tag { align-self: center; }
.wardrobe-stage > .sample-avatar { width: 270px; height: 390px; }
.wardrobe-stage > p { color: #725a71; font-size: 13px; }
.wardrobe-stage > h2 { overflow-wrap: anywhere; text-align: center; }
.wardrobe-options fieldset { border: 0; padding: 0; margin: 24px 0 30px; }
.wardrobe-options legend { font-size: 18px; font-weight: 550; margin-bottom: 15px; }
.wardrobe-swatches { display: flex; flex-wrap: wrap; gap: 15px; }
.wardrobe-swatches button { display: grid; justify-items: center; gap: 6px; border: 0; padding: 4px; background: transparent; font-size: 13px; }
.wardrobe-swatches button > span { display: grid; place-items: center; width: 43px; height: 43px; border: 3px solid white; border-radius: 50%; outline: 1px solid #c9c6ce; background: var(--swatch); }
.wardrobe-swatches button[aria-pressed="true"] > span { outline: 2px solid #952557; }
.wardrobe-items { display: grid; gap: 10px; }
.wardrobe-items > div { display: flex; align-items: center; gap: 13px; border: 1px solid #e2dfe7; border-radius: 9px; padding: 9px; }
.wardrobe-thumb { display: block; width: 65px; height: 65px; border-radius: 8px; flex-shrink: 0; }
.wardrobe-thumb > svg { width: 65px; height: 65px; }
.wardrobe-items > div > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.wardrobe-items small { color: var(--muted); font-size: 12px; }
.wardrobe-items .button { font-size: 13px; padding: 10px; }
.wardrobe-equipped { margin-top: 28px; }
.wardrobe-equipped > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #eee9ef; padding: 10px 0; font-size: 14px; }
.wardrobe-equipped button { font-size: 12px; min-height: 36px; padding: 8px 11px; background: #f5eff3; color: #743354; border: 0; }
.wardrobe-boundary { font-size: 12px; color: var(--muted); margin: 24px 0 0; }
.purchase-dialog { max-width: 470px; }
.purchase-art { border-radius: 12px; margin-bottom: 22px; }
.purchase-art > svg { display: block; width: 150px; height: 150px; margin: auto; }
.purchase-balance { display: block; margin: 12px 0 20px; font-size: 13px; color: var(--muted); }
.purchase-actions { display: grid; gap: 10px; margin-top: 20px; }
.hub-wallet { padding: 20px; border: 1px solid #e6d9e3; border-radius: 13px; background: #fff; }
.hub-wallet h3 { margin-bottom: 15px; font-size: 23px; }
.hub-wallet > .currency { display: flex; margin-bottom: 11px; }
.hub-wallet > p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.hub-wallet .hub-avatar-link { margin-top: 15px; }
.toast { max-width: min(520px,calc(100vw - 28px)); }
@media(min-width:1200px) { .desktop-search { max-width: 380px; flex: 1; } }
@media(max-width:1200px) { .shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .topbar { gap: 14px; } .header-actions { gap: 10px; } .desktop-search { width: min(280px,28%); } }
@media(max-width:1050px) { .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .auth-story,.auth-panel { padding: 28px; } .auth-story h1 { font-size: 48px; } .member-cover { grid-template-columns: 150px minmax(0,1fr); gap: 20px; } .member-stats { grid-column: 1/-1; display: flex; gap: 36px; } .member-stats a { display: flex; align-items: center; gap: 10px; } .member-stats strong { font-size: 25px; } .header-wallet { gap: 8px; padding: 7px 8px; } .demo-profile { max-width: 145px; } .shop-banner { padding: 26px; } .shop-banner h2 { font-size: 32px; } .wallet-card { padding: 25px; } .wardrobe-layout { grid-template-columns: minmax(200px,.8fr) minmax(0,1.2fr); gap: 16px; } .wardrobe-options { padding: 20px; } }
@media(max-width:740px) { .community-page { padding: 24px 17px 40px; } .community-heading { align-items: flex-start; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; } .community-heading h1 { font-size: 42px; } .community-heading > div > p:last-child { font-size: 16px; } .header-actions { gap: 8px; } .topbar { gap: 8px; } .header-signin { font-size: 13px; } .demo-profile { max-width: 130px; padding: 0 10px; font-size: 13px; } .header-wallet { border: 0; padding: 0; gap: 7px; } .header-wallet .currency { gap: 3px; font-size: 13px; } .header-wallet .icon { width: 16px; height: 16px; } .auth-layout { grid-template-columns: 1fr; min-height: auto; } .auth-story { padding: 25px; } .auth-story > img { width: 80px; height: 80px; margin: 14px 0; } .auth-story h1 { font-size: 45px; } .auth-story > p { margin: 12px 0 0; font-size: 18px; } .auth-perks,.auth-story > small { display: none; } .auth-panel { padding: 28px 24px; } .auth-panel h2 { font-size: 30px; } .shop-banner { min-height: 210px; padding: 24px; } .shop-banner h2 { font-size: 30px; } .shop-banner-art { width: 35%; position: absolute; right: -24px; bottom: 0; opacity: .7; } .shop-banner-art .cosmetic-art { width: 150px; } .shop-banner-art .cosmetic-art:nth-child(2),.shop-banner-art .cosmetic-art:nth-child(3) { display: none; } .shop-banner > div:first-child { position: relative; z-index: 1; max-width: 80%; } .catalog-toolbar { padding: 13px; gap: 10px; } .catalog-query { flex-basis: 100%; } .catalog-toolbar > label { flex: 1 1 100px; } .catalog-toolbar > button { width: 100%; } .shop-grid { gap: 12px; } .shop-art { min-height: 150px; } .shop-art > svg { max-height: 170px; } .shop-copy { padding: 13px; } .shop-copy h3 { font-size: 20px; } .shop-copy > p { font-size: 13px; min-height: 55px; } .shop-price { margin-bottom: 13px; } .shop-price > small { width: 100%; } .shop-price .currency { gap: 4px; font-size: 15px; } .owned-badge { font-size: 10px; } .wallet-mini { padding: 12px; width: 100%; } .member-cover { padding: 20px; grid-template-columns: 100px minmax(0,1fr); gap: 16px; } .member-portrait { height: 190px; } .member-portrait > svg { height: 190px; max-width: none; width: 130px; margin-left: -15px; } .member-cover h2 { font-size: 28px; } .member-cover p { font-size: 14px; } .member-cover .button { font-size: 13px; padding: 10px; } .member-columns { grid-template-columns: 1fr; gap: 0; } .community-panel { padding: 21px; } .profile-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .profile-wallet > :not(.currency) { grid-column: 1/-1; } .profile-wallet .currency { font-size: 25px; } .profile-wallet .currency > span { font-size: 13px; } .profile-wallet > p:last-child { padding-top: 10px; } .saved-worlds > a { flex-wrap: wrap; gap: 8px; } .saved-worlds > a > span { width: 100%; margin-left: 30px; } .wallet-grid { grid-template-columns: 1fr; gap: 18px; } .wallet-card { padding: 25px; } .wallet-card > p:not(.eyebrow) { max-width: 85%; } .wallet-balance { font-size: 58px; } .wallet-note { flex-wrap: wrap; } .wallet-note > p { flex-basis: 80%; } .wallet-note > a { margin-left: 35px; } .wallet-activity > div { gap: 9px; } .activity-icon { width: 32px; height: 32px; } .wallet-activity strong { font-size: 14px; } .wallet-activity small { font-size: 10px; } .activity-amount { font-size: 12px; max-width: 90px; } .wardrobe-layout { grid-template-columns: 1fr; } .wardrobe-stage { position: static; } .wardrobe-stage > .sample-avatar { height: 290px; } .inventory-summary { flex-wrap: wrap; } .inventory-summary > a { margin-left: 36px; } .hub-wallet { padding: 18px; } }
@media(max-width:390px) { .topbar .brand__name { font-size: 21px; } .topbar .brand { gap: 0; } .topbar .brand-mark,.topbar .brand-mark img { width: 34px; height: 34px; } .header-actions { gap: 5px; } .demo-profile { max-width: 110px; padding: 0 7px; font-size: 12px; } .demo-profile > .icon { display: block; } .header-wallet .currency { font-size: 11px; } .header-wallet .icon { width: 14px; } .header-wallet { gap: 4px; } .shop-grid { gap: 10px; } .shop-copy { padding: 11px; } .shop-copy h3 { font-size: 18px; } .shop-actions > .button { font-size: 12px; } .shop-art { min-height: 130px; } .shop-copy > p { min-height: 65px; } .shop-price .currency > span { font-size: 10px; } .shop-price .currency .icon { width: 16px; } .member-cover { grid-template-columns: 1fr; } .member-portrait { max-width: 150px; } .member-stats { grid-column: 1; gap: 20px; } }
@media(prefers-reduced-motion:reduce) { .shop-card { transition: none; } }

/* Studio browser sign-in hand-off (studio-sign-in.js) */
.studio-handoff { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(255, 244, 248, .96); }
.studio-handoff-card { max-width: 440px; width: 100%; text-align: center; background: white; border: 1px solid #eedbe2; border-radius: 20px; padding: clamp(24px, 6vw, 44px); box-shadow: 0 18px 50px rgba(17, 24, 39, .12); }
.studio-handoff-card h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin: .75rem 0 .5rem; }
.studio-handoff-card p { color: var(--muted); margin: 0 0 1rem; }
.studio-handoff-card .button { margin: .5rem 0 1rem; }
.studio-handoff-note { font-size: .9rem; }
