/* Community profiles and points store: paper, ink, and vermilion. */
.community-dialog{width:min(1130px,calc(100% - 40px));max-height:92vh;max-height:92dvh;overflow:auto;padding:30px 32px}
.community-dialog .dialog-top{align-items:flex-start;margin-bottom:22px}.community-dialog .close-dialog{flex:none}
.community-eyebrow{font:12px/1.5 system-ui,"Microsoft YaHei",sans-serif;letter-spacing:.15em;color:#776d5f;margin:0 0 3px}
.community-dialog h2{font-size:34px}.community-dialog h3{font-size:24px;line-height:1.4;margin:0 0 12px}
.community-copy,.community-state,.community-price-note,.community-item-description,.community-ownership,.community-caption{font:14px/1.7 system-ui,"Microsoft YaHei",sans-serif;color:#62594f;overflow-wrap:anywhere}
.community-state{margin:0;padding:20px 0}.community-state:empty{display:none}.community-copy{margin:0}.community-price-note{margin:0;padding:11px 14px;border-left:3px solid var(--red);background:#b21c2207}
.community-error{color:var(--red-dark)}.community-small-button{border:1px solid var(--line);background:#fcf9f2;padding:8px 14px;min-height:40px;font:14px/1.5 system-ui,"Microsoft YaHei",sans-serif}
.community-small-button:hover{background:#eae2d5}.community-small-button:disabled{opacity:.6;cursor:default}.community-primary{border-color:var(--red-dark);background:var(--red-dark);color:#fffaf0}.community-primary:hover{background:var(--red)}
.community-actions{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}.community-actions a{text-decoration:underline;text-underline-offset:4px;font:14px/1.7 system-ui,"Microsoft YaHei",sans-serif}
.community-wallet{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 20px;border:1px solid var(--line);margin-bottom:14px;background:#fffaf3}
.community-wallet-label{font:13px/1.5 system-ui,"Microsoft YaHei",sans-serif;color:#70675b}.community-wallet-value{font:600 32px/1.25 system-ui,sans-serif;font-variant-numeric:tabular-nums;display:block;margin-top:3px}.community-wallet .community-caption{margin:4px 0 0;font-size:12px}
.community-shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px;align-items:start;margin-top:22px}.community-shop-main{min-width:0}
.community-filters{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid var(--line);margin-bottom:20px}.community-filters button{background:transparent;min-width:0;padding:9px 12px;font-size:20px;border-bottom:3px solid transparent;white-space:nowrap}.community-filters button[aria-pressed=true]{border-bottom-color:var(--ink);background:#eae5da66}
.community-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
.community-product{min-width:0;border:1px solid var(--line);background:#fcf9f2;position:relative}.community-product[data-selected=true]{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}
.community-product-art{height:142px;display:grid;place-items:center;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at center,#eae2d2aa,transparent 72%);overflow:hidden;padding:15px}
.community-product-art>.community-emblem{width:83px;height:83px}.community-product-content{padding:15px 16px}.community-product h3{font-size:21px;margin-bottom:5px}.community-item-description{min-height:24px;font-size:13px;margin:0 0 12px}
.community-product-footer{display:flex;gap:8px;align-items:center;justify-content:space-between}.community-price{font:600 19px/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}.community-price small{font-size:12px;font-weight:400;margin-left:4px;color:#776d5f}
.community-ownership{font-size:12px;border:1px solid #a49a8b;display:inline-block;padding:1px 6px;margin-bottom:7px;color:#504a40;background:#ede7da}
.community-preview{position:sticky;top:0;border:1px solid var(--line);border-top:3px solid var(--red);padding:18px;background:#eee8dc55;min-width:0}.community-preview h3{font-size:22px}.community-preview-label{font:12px/1.6 system-ui,sans-serif;color:var(--red-dark);margin:0 0 8px}.community-preview .community-product-art{border:1px solid var(--line);margin-bottom:15px;min-height:150px}.community-preview .community-actions{margin-top:15px}.community-preview .community-small-button{width:100%;justify-content:center}.community-preview .community-caption{margin:10px 0 0;font-size:12px}
.community-broadcast-sample{width:100%;font:14px/1.65 system-ui,"Microsoft YaHei",sans-serif;padding:12px 13px;color:#f5f1e6;background:#282725;border-left:3px solid #bda16c;box-shadow:4px 4px 0 #17161514;overflow-wrap:anywhere}.community-broadcast-sample small{display:block;font-size:11px;color:#c8b891;margin-bottom:5px;letter-spacing:.06em}
.community-product-art[data-broadcast=true]{height:auto;min-height:152px}.community-broadcast-sample>span{white-space:pre-wrap}.community-broadcast-modes{display:flex;gap:4px;margin:0 0 12px}.community-preview .community-broadcast-modes .community-small-button{width:auto;min-width:0;flex:1;padding:7px 3px;font-size:12px;white-space:nowrap}.community-broadcast-modes [aria-pressed=true]{border-color:var(--red-dark);color:var(--red-dark);box-shadow:inset 0 0 0 1px var(--red-dark)}.community-preview-audience{font:12px/1.7 system-ui,"Microsoft YaHei",sans-serif;color:var(--red-dark);margin:0 0 12px}
.community-broadcast-slot{width:100%;border-top:1px solid var(--line);padding-top:13px;font:13px/1.6 system-ui,"Microsoft YaHei",sans-serif}.community-broadcast-slot>strong{display:block;font-weight:600}.community-slot-state{display:block;margin:3px 0 9px;color:#756a5c;overflow-wrap:anywhere}
.community-emblem{display:block;flex:none;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;color:var(--red-dark)}
.community-avatar{width:104px;height:104px;display:grid;place-items:center;background:#f7f1e5;border:2px solid var(--ink);border-radius:50%;box-shadow:0 0 0 6px #f6f2e9;flex:none;overflow:hidden}.community-avatar .community-emblem{width:80%;height:80%;color:#36372f}
.community-avatar>img{display:block;width:100%;height:100%;object-fit:cover}.community-avatar-demo{text-align:center}.community-avatar-demo .community-avatar{width:76px;height:76px;box-shadow:none;margin:auto}.community-avatar-demo-label{font:12px/1.6 system-ui,sans-serif;display:block;margin-top:8px;color:#70675b}.community-bio{font:14px/1.65 system-ui,"Microsoft YaHei",sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;color:#514b42;max-width:670px}
.community-custom-avatar{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.community-custom-avatar>.community-choice{margin-bottom:14px}.community-custom-avatar .community-avatar{width:40px;height:40px;box-shadow:none}.community-custom-avatar>.community-small-button{margin-top:8px}.community-upload-label{font:14px/1.6 system-ui,sans-serif;display:block;margin-bottom:7px}.community-custom-avatar input[type=file]{font:13px/1.6 system-ui,sans-serif;width:100%;min-width:0;max-width:420px}.community-upload-preview:empty{display:none}.community-upload-preview img{width:128px;height:128px;object-fit:cover;display:block;border:1px solid var(--line);border-radius:50%}#community-profile-bio{font:14px/1.7 system-ui,"Microsoft YaHei",sans-serif;resize:vertical;min-height:88px;width:100%;border:1px solid var(--line);background:var(--paper);padding:10px}#community-profile-bio[aria-invalid=true]{border-color:var(--red)}
.community-identity{display:flex;gap:24px;align-items:center;position:relative;padding:25px 28px;background:#eee7da;border:1px solid var(--line);min-height:176px;isolation:isolate;overflow:hidden}
.community-identity::before,.community-mini-profile::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(125deg,transparent 50%,#605f5117 50.2%,transparent 76%)}
.community-identity[data-decoration=decor-bamboo]::before,.community-mini-profile[data-decoration=decor-bamboo]::before{background:repeating-linear-gradient(99deg,transparent 0 27px,#53634e25 28px 32px,transparent 33px 85px),linear-gradient(140deg,#eae8d6,#d6dccbaa)}
.community-identity[data-decoration=decor-ember]::before,.community-mini-profile[data-decoration=decor-ember]::before{background:linear-gradient(135deg,#eee1d5 50%,#8d332b24 50.2%,#aa3c2930 65%,transparent 65.2%),radial-gradient(ellipse at right bottom,#ba453d40,transparent 65%)}
.community-identity[data-decoration=decor-mountain]::before,.community-mini-profile[data-decoration=decor-mountain]::before{background:linear-gradient(140deg,transparent 55%,#54625c2e 55.2%,transparent 78%),linear-gradient(36deg,#aab2a222 37%,transparent 37.2%),linear-gradient(151deg,#edebe0 55%,#82908432 55.3%,transparent 90%)}
.community-identity-copy{min-width:0;flex:1}.community-player-name{font-size:34px!important;overflow-wrap:anywhere;line-height:1.25!important;margin:0 0 10px!important}.community-steam-id{font:13px/1.6 ui-monospace,Consolas,monospace;color:#6d6559;overflow-wrap:anywhere;margin:0}
.community-stamp{font:17px/1.2 var(--brush);color:var(--red-dark);border:1.5px solid currentColor;padding:6px 4px;writing-mode:vertical-rl;letter-spacing:.12em;align-self:flex-start;flex:none}
.community-profile-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0 22px}
.community-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);margin:0 0 25px;background:#fffaf3}
.community-stat-grid>div{padding:17px 9px;min-width:0;text-align:center}.community-stat-grid>div+div{border-left:1px solid var(--line)}.community-stat-grid dt{font:13px/1.5 system-ui,"Microsoft YaHei",sans-serif;color:#70675b}.community-stat-grid dd{font:600 26px/1.4 system-ui,sans-serif;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:6px 0 0}
.community-badge-section{padding-top:4px}.community-badges{display:flex;flex-wrap:wrap;gap:13px;list-style:none;margin:0;padding:0}.community-badge{width:136px;padding:18px 10px;border:1px solid var(--line);background:#fcf9f2;text-align:center;font-size:17px}.community-badge .community-emblem{height:66px;width:66px;margin:0 auto 10px}.community-badge-empty{border:1px dashed var(--line);padding:20px;font:14px/1.7 system-ui,"Microsoft YaHei",sans-serif;color:#7e7568}
.community-editor{margin-top:24px;padding:20px;border:1px solid var(--line);background:#fcf9f2}.community-editor fieldset{min-width:0;border:0;margin:0 0 20px;padding:0}.community-editor legend{font-size:21px;margin-bottom:10px}.community-editor .community-caption{margin:5px 0 13px;font-size:12px}.community-choice-row{display:flex;flex-wrap:wrap;gap:9px}
.community-choice{padding:10px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:transparent;min-height:44px;font:14px/1.5 system-ui,"Microsoft YaHei",sans-serif}.community-choice[aria-pressed=true]{border-color:var(--red-dark);box-shadow:inset 0 0 0 1px var(--red-dark);background:#b21c2207}.community-choice .community-emblem{height:31px;width:31px}.community-choice-row[data-avatars] .community-choice{flex-direction:column;min-width:82px;padding:13px 8px}.community-choice-row[data-avatars] .community-emblem{height:44px;width:44px}.community-save-status{font:14px/1.6 system-ui,sans-serif;margin:10px 0;overflow-wrap:anywhere}.community-save-status:empty{display:none}
.community-mini-profile{width:100%;height:110px;padding:14px;position:relative;isolation:isolate;display:flex;align-items:center;gap:13px;background:#eee7da;border:1px solid #b4ac9d;overflow:hidden}.community-mini-profile .community-avatar{height:47px;width:47px;box-shadow:none}.community-mini-lines{flex:1;display:grid;gap:9px}.community-mini-lines span{height:6px;background:#5f5c4d4a;display:block;max-width:72px}.community-mini-lines span+span{height:4px;max-width:100px;background:#5f5c4d24}
.community-profile-link{display:inline-block;margin-top:10px;color:var(--red-dark);font:14px/1.7 system-ui,"Microsoft YaHei",sans-serif;text-decoration:underline;text-underline-offset:4px}
.community-archived{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.community-archived .community-actions{margin-top:12px}
.community-lookup-row{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line)}.community-lookup-row>.search-result{flex:1;min-width:0;text-decoration:none}.community-lookup-row>.community-small-button{flex:none}.community-lookup-row small{overflow-wrap:anywhere}#lookup-personal-profile{margin:0 0 18px}
@media(min-width:1101px){.header{align-items:center}.nav{column-gap:23px;row-gap:0}}
@media(max-width:800px){.community-shop-layout{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.community-products{grid-template-columns:1fr}.community-profile-toolbar{align-items:flex-start}.community-player-name{font-size:29px!important}.community-stat-grid dd{font-size:22px}}
@media(max-width:600px){.community-dialog{width:calc(100% - 18px);max-height:95vh;max-height:95dvh;padding:22px 16px}.community-dialog h2{font-size:29px}.community-shop-layout{grid-template-columns:1fr;gap:20px;margin-top:18px}.community-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.community-product-content{padding:12px 10px}.community-product h3{font-size:20px}.community-product-footer{align-items:flex-start;flex-direction:column;gap:8px}.community-product-art{height:120px;padding:10px}.community-product-art>.community-emblem{width:69px;height:69px}.community-preview{position:static}.community-filters button{flex:1;padding:9px 4px;font-size:20px}.community-wallet{padding:14px;align-items:flex-start}.community-wallet-value{font-size:28px}.community-wallet .community-actions{justify-content:flex-end;max-width:48%}.community-price-note{font-size:12px}.community-identity{padding:24px 16px;gap:16px;min-height:148px}.community-avatar{height:76px;width:76px;box-shadow:0 0 0 4px #f6f2e9}.community-player-name{font-size:25px!important}.community-steam-id{font-size:11px}.community-stamp{display:none}.community-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.community-stat-grid>div:nth-child(4){border-left:0}.community-stat-grid>div:nth-child(n+4){border-top:1px solid var(--line)}.community-stat-grid>div{padding:14px 6px}.community-stat-grid dd{font-size:23px}.community-stat-grid dt{font-size:12px}.community-badge{width:calc((100% - 26px)/3);font-size:15px;padding:15px 5px}.community-badge .community-emblem{width:51px;height:51px}.community-editor{padding:15px}.community-choice-row[data-avatars] .community-choice{width:calc((100% - 18px)/3);min-width:0}.community-broadcast-sample{font-size:12px;padding:10px}.community-item-description{font-size:12px}.community-product .community-small-button{padding:6px 10px;min-height:36px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.community-dialog *{scroll-behavior:auto!important}}
@media(max-width:380px){.community-filters button{font-size:17px;padding-inline:2px}.community-products{grid-template-columns:1fr}.community-product-art{height:138px}.community-product-footer{flex-direction:row;align-items:center}.community-product-content{padding:13px 14px}.community-broadcast-sample{font-size:14px}.community-item-description{font-size:13px}}
@media(max-width:800px){.community-filters button{flex:0 1 auto;font-size:17px;padding:8px 9px}}@media(max-width:380px){.community-filters button{padding:8px 7px;font-size:16px}.community-identity:has(.community-bio){align-items:flex-start}.community-bio{font-size:13px}}

/* My account hosts the same personal profile used by public links. */
#mine-dialog.community-dialog{width:min(1130px,calc(100% - 40px))}#mine-profile{padding-top:8px}#mine-profile .community-editor{margin-bottom:0}#mine-dialog .mine-tabs{flex-wrap:wrap}#mine-dialog .account-card{margin-bottom:14px}
@media(max-width:600px){#mine-dialog.community-dialog{width:calc(100% - 18px)}#mine-dialog .mine-tabs button{min-width:0;padding:9px 10px;font-size:18px}#mine-profile .community-identity{padding:20px 12px;gap:12px}#mine-dialog .account-card{gap:10px}#mine-dialog .account-card>div{min-width:0}#mine-dialog .account-card h3,#mine-dialog .account-card p{overflow-wrap:anywhere}}

/* Free preset artwork and the four draft background products. */
.community-avatar.community-preset-avatar-frame{background:#f0e8d8}.community-avatar>img.community-preset-avatar{transform:scale(.84);object-fit:contain}
.community-choice-row[data-avatars] .community-avatar{width:52px;height:52px;box-shadow:none;border-width:1px}.community-choice-row[data-avatars] .community-choice{justify-content:center;min-height:99px;text-align:center;line-height:1.4}
[data-decoration=decor-neon]{--community-background:url("/assets/cosmetics/backgrounds/neon-v1.webp");--community-accent:#c5f3ff}
[data-decoration=decor-cosmos]{--community-background:url("/assets/cosmetics/backgrounds/cosmos-v1.webp");--community-accent:#e6d9ff}
[data-decoration=decor-aurora]{--community-background:url("/assets/cosmetics/backgrounds/aurora-v1.webp");--community-accent:#bcefdc}
[data-decoration=decor-gold]{--community-background:url("/assets/cosmetics/backgrounds/gold-v1.webp");--community-accent:#f5dfab}
.community-identity[data-image-decoration=true],.community-mini-profile[data-image-decoration=true]{background:#101923;border-color:#52606b;color:#fbfaf6}
.community-identity[data-image-decoration=true]::before,.community-mini-profile[data-image-decoration=true]::before{background-image:linear-gradient(90deg,rgba(5,12,20,.87),rgba(5,12,20,.76) 65%,rgba(5,12,20,.32)),var(--community-background);background-size:cover;background-position:center,center;}
.community-identity[data-image-decoration=true] .community-player-name{color:#fffdf6;text-shadow:0 1px 5px #0009}
.community-identity[data-image-decoration=true] .community-steam-id{color:#e2e9ef;text-shadow:0 1px 3px #000b}
.community-identity[data-image-decoration=true] .community-bio{color:#f0f2f4;text-shadow:0 1px 3px #000b}
.community-identity[data-image-decoration=true] .community-stamp{color:var(--community-accent);background:#1019239e}
[data-image-decoration=true] .community-avatar{border-color:var(--community-accent);box-shadow:0 0 0 5px #101923aa;background:#26333d}[data-image-decoration=true] .community-avatar.community-preset-avatar-frame{background:#f0e8d8}
[data-image-decoration=true] .community-avatar .community-emblem{color:#edf2f4}.community-mini-profile[data-image-decoration=true] .community-avatar{box-shadow:none}
.community-mini-profile[data-image-decoration=true] .community-mini-lines span{background:#f5f5efda}.community-mini-profile[data-image-decoration=true] .community-mini-lines span+span{background:#f5f5ef9e}
@media(max-width:600px){.community-identity[data-image-decoration=true]::before,.community-mini-profile[data-image-decoration=true]::before{background-position:center,72% center}.community-identity[data-image-decoration=true]{align-items:flex-start}.community-identity[data-image-decoration=true] .community-identity-copy{min-width:0}.community-identity[data-image-decoration=true] .community-bio{max-width:none}}

@media(max-width:600px){.community-identity[data-image-decoration=true]{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px 16px}.community-identity[data-image-decoration=true] .community-identity-copy{display:contents}.community-identity[data-image-decoration=true]>.community-avatar{grid-column:1;grid-row:1}.community-identity[data-image-decoration=true] .community-player-name{grid-column:2;grid-row:1;align-self:center;margin:0!important}.community-identity[data-image-decoration=true] .community-steam-id,.community-identity[data-image-decoration=true] .community-bio{grid-column:1/-1;margin:0;max-width:none}}
