/* Symphony community skin. System type, compact spacing and ordinary controls. */
html{overflow-y:scroll}
/* Links in running text must be identifiable without relying on their colour. */
p a,li>a,.breadcrumb a,.account-switch a,.terms-accept a,.admin-content .muted a{ text-decoration:underline }
.admin-content .admin-field{display:flex;flex-direction:column;gap:3px;min-width:0;max-width:100%;font-weight:normal}
.admin-content>.admin-field,.admin-content section>.admin-field{width:100%}
.admin-content .row:has(>.admin-field){align-items:flex-end}
.admin-content .players button.sel small{color:inherit}
.profile-admin-actions{margin:0 0 14px}.profile-admin-actions .remove-user{color:#933}.profile-admin-actions p{margin:8px 0 0;color:#933}
.catalog-types{flex-wrap:wrap;row-gap:5px}
.my-avatar-layout>section{align-self:start}

.account-links{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.account-links form{display:inline;margin:0}.header-tools .header-logout{border:0;background:none;padding:0;box-shadow:none;text-shadow:none;color:white;font:inherit}.header-logout:hover{text-decoration:underline}.account-box{max-width:440px}.account-form{display:flex;flex-direction:column;align-items:stretch;gap:7px}.account-form label{font-weight:bold;margin-top:7px}.account-form input{min-height:34px}.account-form input[type=hidden]{display:none}.account-form button{align-self:flex-start;margin-top:12px;padding:7px 18px}.field-help{font-size:11px;color:#716971;margin:0 0 5px}.form-error{border:1px solid #bd8b8b;background:#fff1ef;padding:10px;color:#853a35}.account-switch{border-top:1px solid #e5dbdf;padding-top:12px;margin-top:20px;margin-bottom:0}
*{box-sizing:border-box}html{background:#d9d1c8}body{margin:0;color:#333;font:12px/1.5 Arial,Helvetica,sans-serif;background:repeating-linear-gradient(135deg,#e8e1d7 0,#e8e1d7 2px,#e0d7cd 2px,#e0d7cd 4px);min-height:100vh}a{color:#684361;text-decoration:none}a:hover{text-decoration:underline;color:#432c49}button,input,select,textarea{font:12px Arial,Helvetica,sans-serif}button,.button{display:inline-block;cursor:pointer;border:1px solid #b4a79e;border-radius:0;background:linear-gradient(#fff,#e8dfd1);box-shadow:inset 0 1px #fff;color:#333;padding:5px 12px;text-decoration:none!important;line-height:18px;font-weight:bold;text-shadow:0 1px white}button:hover,.button:hover{border-color:#94778a;background:linear-gradient(#fff,#e4d6e0);color:#56354f}button:disabled{opacity:.5;cursor:default}input,select,textarea{border:1px solid #b4a69e;background:white;border-radius:0;color:#333;padding:5px 6px;max-width:100%;box-shadow:inset 0 1px 2px #00000012}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #a47b2f;outline-offset:2px}p{margin:0 0 10px}h1,h2,h3{margin:0}h3{font-size:14px;line-height:1.4}ul{margin:0;padding:0;list-style:none}dl{margin:0}small{font-size:11px}.muted,.byline{color:#716971}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:10px;top:0;background:#fff;z-index:20;padding:8px}
.site-wrap{width:1090px;max-width:calc(100% - 32px);margin:0 auto 22px;background:#fff;border:1px solid #a69993;box-shadow:0 2px 6px #0003}.masthead{height:100px;background:linear-gradient(#795571,#4d3156);border-top:1px solid #a7869b;border-bottom:1px solid #38233e;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;position:relative}.wordmark{font:bold 40px/1 'Trebuchet MS','Segoe UI',Arial,Helvetica,sans-serif;color:#fff!important;text-shadow:0 2px 1px #302034;letter-spacing:-1px;text-decoration:none!important}.wordmark span{display:inline-block;font:normal 11px Arial;letter-spacing:1px;text-transform:uppercase;color:#e7d7ad;margin-left:9px;vertical-align:baseline;text-shadow:none}.header-tools{text-align:right;color:#d4bccf;font-size:11px}.header-tools a{color:white}.header-tools>div{margin-bottom:10px}.header-search{display:flex;gap:5px}.header-search input{width:194px;border:1px solid #38233e;height:28px}.header-search button{font-size:11px;padding:3px 11px;height:28px}.main-nav{display:flex;padding:0 14px;background:linear-gradient(#f9f3e5,#e7d9b9);border-top:1px solid #fff;border-bottom:1px solid #b49a67;min-height:36px;align-items:stretch}.main-nav>a{min-width:0;text-align:center;padding:8px 13px 7px;font-size:13px;font-weight:bold;color:#60475b;border-left:1px solid transparent;border-right:1px solid transparent;text-shadow:0 1px white}.main-nav>a:hover{background:#faf6ec;text-decoration:none}.main-nav>a.nav-inventory{margin-left:auto}.main-nav>a.selected{background:#fff;border-color:#c0a979;position:relative;box-shadow:0 2px #fff;color:#483045}.nav-note{margin-left:auto;align-self:center;color:#796a55;font-size:11px;padding-right:8px}.breadcrumb{font-size:11px;color:#716971;margin:0 16px;padding:11px 0 9px;border-bottom:1px solid #e7e7e7}.breadcrumb span{padding:0 4px;color:#999}.site-columns{padding:16px;min-height:570px}main{min-width:0}.page-heading{margin:0 0 14px;border-bottom:1px solid #d1c4cb;padding:0 0 10px}.page-heading h1{font-size:23px;line-height:1.25;color:#563c55;letter-spacing:-.4px}.page-heading p{color:#716971;margin:4px 0 0;font-size:12px}.box{border:1px solid #c4b4bf;background:white;margin:0 0 16px}.box>h2,.box>h1{font-size:13px;font-weight:bold;line-height:20px;color:#60435b;padding:5px 10px;background:linear-gradient(#f5eef2,#e9dde5);border-top:1px solid white;border-bottom:1px solid #c4b4bf;text-shadow:0 1px #fff}.box-body{padding:14px}.box-body>:last-child{margin-bottom:0}.box-body h3{margin:0 0 7px}.box-foot{padding:6px 10px;font-size:11px;background:#f6f1e9;border-top:1px solid #ddd0c5;color:#716971}.float-right{float:right}.community-stats{padding:10px;display:grid;grid-template-columns:1fr auto;gap:5px;color:#666}.community-stats dd{margin:0;font-weight:bold;color:#333}.listing-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:0 0 10px;min-height:25px;gap:8px}.text-tabs{display:flex;gap:0;justify-content:flex-start}.text-tabs a{padding:3px 10px;border-right:1px solid #ded2d6}.text-tabs a:first-child{padding-left:0}.text-tabs a:last-child{border:0}.text-tabs a.active{font-weight:bold;color:#333}.game-list{padding:0 12px}.game-entry{display:grid;grid-template-columns:230px 1fr;gap:18px;padding:16px 0;border-bottom:1px dotted #ccc}.game-entry:last-child{border-bottom:0}.game-entry h3{font-size:17px;margin-bottom:3px}.game-entry .byline{font-size:11px}.game-card-info{font-size:11px;color:#716971;line-height:1.8;margin:10px 0}.game-card-info strong{color:#53813d}.game-card-info strong.no-players{color:#b23b30}.asset-picture{border:1px solid #d1c5c8;background:#f7f4ef;aspect-ratio:1;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:7px}.asset-picture img{display:block;width:100%;height:100%;object-fit:contain}.asset-picture.game-thumb{aspect-ratio:1/1;margin:0}.asset-picture.game-thumb img,#game-detail-page .detail-picture img{object-fit:cover}.no-picture{flex-direction:column;gap:10px;background:linear-gradient(#f9f6f0,#ede6db);color:#93867b;font-size:11px;font-weight:normal}.file-symbol{display:block;position:relative;width:28px;height:33px;border:2px solid #bdb0a3;background:#faf7f1;box-shadow:2px 2px #e1d7ca}.file-symbol:after{content:'';position:absolute;left:5px;right:5px;top:9px;height:10px;border-top:2px solid #cfc0af;border-bottom:2px solid #cfc0af}.directory-search{display:flex;gap:6px;align-items:center;padding:11px;background:#f4efe6;border:1px solid #d9cdbd;margin-bottom:12px}.directory-search label{font-weight:bold;margin-right:5px}.directory-search input{width:250px;min-width:0;height:28px}.directory-search button{height:28px;padding-top:3px;padding-bottom:3px}.directory-sort{margin-left:auto;display:flex;align-items:center;gap:6px}.directory-sort label{font-weight:bold}.directory-sort select{height:28px}.directory-sort .directory-offsale{font-weight:normal;display:flex;align-items:center;gap:4px;margin:0 8px 0 0}.catalog-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px 12px;padding:14px}@media(min-width:801px) and (max-width:1100px){.catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}.catalog-entry strong{font-size:11px;overflow-wrap:anywhere}.catalog-entry p{font-size:10px;color:#766d73;margin:2px 0 0;overflow-wrap:anywhere}.empty{padding:25px 14px;color:#716971;grid-column:1/-1;margin:0}.player-list{padding:0 14px}.player-entry{display:flex;gap:12px;align-items:center;padding:6px 0;border-bottom:1px dotted #ccc}.player-entry:last-child{border:0}.directory-avatar{display:block;background:#f7f4ef;border:1px solid #d8cbd1;width:64px;height:64px;flex:none}.player-entry h3{font-size:14px;margin-bottom:1px}.player-entry p{margin:1px 0;font-size:11px}.player-entry-link{font-size:11px}.avatar-render{display:block;width:100%;height:100%;object-fit:contain}.profile-columns{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px}.profile-card{text-align:center}.profile-card>h2{text-align:left}.profile-avatar{height:310px;background:linear-gradient(#fcfaf6,#f1e9df);border:5px solid white}.profile-caption{font-size:11px;color:#766d73;padding:5px 0 10px}.profile-card{display:flex;flex-direction:column}.profile-card>.box-foot{padding:10px;margin-top:auto}.profile-about{display:flex;align-items:center;gap:13px}.profile-headshot{height:74px;width:74px;border:1px solid #d3c3cd;background:#f1e9ee;flex:none}.profile-about dt{color:#716971;font-size:11px}.profile-about dd{margin:0 0 6px}.wearing-list li{display:flex;gap:10px;align-items:center;padding:11px 12px;border-bottom:1px dotted #ddd1d6}.wearing-list li:last-child{border:0}.wearing-list small{display:block;color:#766d73}.item-number{width:30px;height:34px;background:linear-gradient(#f7f1e7,#e9dcc5);border:1px solid #c9bba1;font:bold 18px/32px Georgia;text-align:center;color:#8c795a}.back-link{font-size:11px}.detail-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;padding:16px}.detail-picture{min-height:230px;aspect-ratio:1}#item-container .detail-columns{grid-template-columns:180px minmax(0,1fr)}
/* The item's picture fills the card's height beside the details, so the space under it matches the space above; never less
   than a square, and no taller than 330px when the details run long (an owner's or administrator's settings). */
@media(min-width:561px){#item-container .detail-columns{grid-template-columns:220px minmax(0,1fr)}#item-container .detail-columns>.detail-picture{aspect-ratio:auto;align-self:stretch;min-height:220px;max-height:330px}
/* ...and the details column is as tall as the picture: the spare height goes evenly above and below the details list, which puts
   the bottom of the Get button (or whatever comes last) level with the bottom of the picture. */
#item-container .detail-columns>div:not(.asset-picture){display:flex;flex-direction:column}#item-container .detail-columns>div>.item-details{margin:auto 0;padding:18px 0}
#item-container .detail-columns>div>.button{align-self:flex-start}#item-container .detail-columns>div>form:last-child .get-button,#item-container .detail-columns>div>form:has(+.item-report) .get-button{margin-bottom:0}}
#item-container .detail-picture{min-height:0;margin:0}.detail-columns h3{font-size:17px}.item-details{display:grid;grid-template-columns:70px 1fr;gap:5px;font-size:11px;margin:18px 0}#item-container .byline{margin-bottom:0}   /* so the details have the same 18px above (to the creator line) as below (to the button) */
.item-details dt{color:#766d73}.item-details dd{margin:0}.play-button{background:linear-gradient(#548b3b,#356522);border-color:#294f1c;color:#fff;text-shadow:0 -1px #294f1c;box-shadow:inset 0 1px #91b77d;font-size:18px;padding:10px 25px;margin-bottom:8px}.play-button:hover{background:linear-gradient(#639c47,#40762a);color:#fff}.tool-list li{padding:15px;border-bottom:1px dotted #d8c9d0}.tool-list li:last-child{border:0}.tool-list h3{margin-bottom:4px}.tool-list p{color:#716971;margin:0}.help-copy h3:not(:first-child){margin-top:23px}.help-copy p{max-width:580px}footer{border-top:1px solid #cbbb9d;background:#f4eddf;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:11px;color:#71655a;padding:15px 20px}footer a{color:#684361}.footer-note{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}.footer-note h3{font-size:12px;color:#555}.footer-note p{margin:0}.footer-about{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 12px}.footer-about strong{font:italic bold 20px Georgia,'Times New Roman',serif;color:#62405f}.footer-about span{font-size:11px}
/* The existing administration forms use the same restrained controls. */
.admin-tabs{display:flex;gap:4px;border-bottom:1px solid #c1b0bb;margin-bottom:14px}.admin-tabs button{padding:7px 15px;border-radius:0;border-bottom:0;background:linear-gradient(#f9f4f7,#e9dce5);color:#65445e}.admin-tabs button[aria-current=true]{background:white;color:#333;position:relative;box-shadow:0 1px white}.admin-content{--accent:#76526d;--bg:#f5f0ea;--panel:#fff;--text:#333;--muted:#716971;--line:#d8cbd2;--bad:#a33;--warn:#805b16;font:12px/1.5 Arial,Helvetica,sans-serif}.admin-content [hidden]{display:none!important}.admin-content section{border:1px solid #c4b4bf;border-radius:0;box-shadow:none;margin:12px 0 16px;padding:14px;background:white}.admin-content section>h2{font-size:14px;border-bottom:1px solid #d9cbd3;color:#60435b;padding-bottom:7px;margin-bottom:12px}.admin-content input,.admin-content select,.admin-content textarea{font:12px Arial;padding:5px 6px;border-radius:0;background:white}.admin-content button{font:12px Arial;padding:5px 10px;min-height:0;color:#333;background:linear-gradient(#fff,#e8dfd1);border:1px solid #b4a79e;border-radius:0}.admin-content button.danger{color:#a33}.admin-content .row{gap:7px;flex-wrap:wrap}.admin-content th{font-size:11px;color:#6e5266;background:#f2eaf0;border-bottom:1px solid #cfbdc9}.admin-content td{font-size:12px;padding:7px;border-bottom:1px solid #e5dbdf}.admin-content .pill{font-size:10px;border-radius:0}.admin-content .avatar{background:white;grid-template-columns:210px minmax(0,1fr)}.admin-content .players{border-radius:0}.admin-content .players button{border:0;border-bottom:1px solid #dfd2d9;font-size:11px;padding:8px}.admin-content .players small{font-size:9px}.admin-content .editor{grid-template-columns:130px minmax(0,1fr);gap:12px}.admin-content .figure button,.admin-content .palette button{padding:0}.admin-content .palette{grid-template-columns:repeat(auto-fill,minmax(20px,1fr));gap:3px}.admin-content .palette button{border-radius:0}.avatar-render-preview{display:flex;gap:15px;align-items:center;margin-bottom:8px;padding:8px;border:1px solid #d8c9d2;background:#f6f0f4}.avatar-render-preview .avatar-render{height:155px;width:155px}.avatar-render-preview .avatar-render:last-child{height:80px;width:80px;border:1px solid #d0bfca;background:white}.admin-content #edName{font-size:14px}.admin-content #status{font-size:11px}.admin-content pre{font:11px/1.5 Consolas,monospace}.admin-content textarea{min-height:90px}.admin-content .scroll{overflow:auto}
dialog{width:420px;max-width:calc(100% - 30px);border:1px solid #95788e;border-top:5px solid #684361;border-radius:0;padding:22px;color:#333;background:#fff;box-shadow:0 4px 25px #0005;font:12px/1.5 Arial}dialog::backdrop{background:#30233388}dialog h2{font-size:21px;color:#60435b;margin-bottom:8px}dialog label{display:block;margin:13px 0 4px;font-weight:bold}dialog input{width:100%}dialog .dialog-close{position:absolute;right:6px;top:6px;padding:0 6px;font-size:17px}dialog .fine-print{font-size:11px;color:#766d73;margin:12px 0 0}#play-command{font:11px Consolas,monospace;background:#f4eddf;margin-bottom:14px}#copy-status{margin:8px 0 0}
@media(max-width:800px){.site-wrap{max-width:calc(100% - 20px);margin:0 auto 10px}.site-columns{padding:12px}.profile-columns{grid-template-columns:minmax(0,1fr)}.profile-avatar{height:310px}.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.game-entry{grid-template-columns:180px minmax(0,1fr);gap:12px}.nav-note{display:none}.admin-content .avatar{grid-template-columns:170px minmax(0,1fr)}.admin-content .editor{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.site-wrap{max-width:100%;width:100%;margin:0;border:0;box-shadow:none}.masthead{height:auto;min-height:116px;padding:15px;align-items:flex-start;gap:8px}.wordmark{font-size:33px}.wordmark span{display:block;font-size:9px;letter-spacing:2px;margin:5px 0 0 3px}.header-tools{font-size:10px}.header-search{margin-top:14px}.header-search input{width:126px}.header-search button{padding:3px 7px}.main-nav{padding:0 5px}.main-nav>a{min-width:0;flex:1;padding:8px 10px;font-size:12px}.breadcrumb{margin:0 12px}.site-columns{display:block;padding:12px;min-height:540px}.page-heading h1{font-size:22px}.profile-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.profile-avatar{height:315px}.profile-card{max-width:100%}.profile-headshot{width:64px;height:64px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-entry{grid-template-columns:145px minmax(0,1fr);gap:12px}.game-entry h3{font-size:14px}.game-entry .game-card-info{margin:5px 0}.game-entry .button{padding:3px 7px;font-size:11px}.directory-search{flex-wrap:wrap;gap:5px}.directory-search label{width:100%;margin:0}.directory-search .directory-sort{margin-left:0;width:100%}.directory-search .directory-sort label{width:auto}.directory-search input{flex:1;width:100px}.listing-toolbar{flex-wrap:wrap}.detail-columns{grid-template-columns:minmax(0,1fr)}.detail-picture{min-height:0;max-height:300px}.admin-tabs button{padding:6px 8px;font-size:11px}.admin-content section{padding:10px}.admin-content .avatar{grid-template-columns:minmax(0,1fr)}.admin-content .editor{grid-template-columns:minmax(0,1fr)}.admin-content .players{max-height:150px}.admin-content .row input{min-width:0!important}.admin-content .avatar-render-preview .avatar-render{max-width:55%;height:145px}.admin-content .avatar-render-preview .avatar-render:last-child{max-width:30%;height:80px}.float-right{float:none;margin-left:12px}}

.my-avatar-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;align-items:start}.my-avatar-preview{height:280px;background:#f7f4ef}.my-avatar-colors{display:grid;grid-template-columns:repeat(5,38px);gap:12px;margin:8px 0 16px}.avatar-swatch{width:38px;height:38px;padding:0;border-radius:0;border:1px solid #999;box-shadow:none}.avatar-swatch[aria-pressed=true]{outline:2px solid #684361;outline-offset:2px}.my-avatar-item{display:flex;flex-wrap:wrap;gap:12px;border-bottom:1px dotted #ccc;padding:8px 0;margin-bottom:8px}#avatar-new-asset{display:block;margin:6px 0}#avatar-color-status{margin-top:12px;color:#716971;font-size:11px}#my-avatar-dialog{max-height:90vh;overflow:auto}#my-avatar-dialog fieldset{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0}#my-avatar-dialog fieldset label{font-weight:normal;margin:0;display:flex;gap:4px;align-items:center}#my-avatar-dialog input{width:auto}#my-avatar-dialog .my-avatar-colors{grid-template-columns:repeat(6,30px);gap:10px}#my-avatar-dialog .avatar-swatch{width:30px;height:30px}@media(max-width:800px){.my-avatar-layout{grid-template-columns:minmax(0,1fr)}.my-avatar-preview{height:240px}.my-avatar-inventory{order:-1}}

.header-community{display:flex;flex-wrap:wrap;gap:3px 15px;margin:9px 0 0;color:#eadfe7;font-size:11px}.header-community>div{display:flex;gap:5px;white-space:nowrap}.header-community dt{font-weight:normal}.header-community dd{margin:0;color:#fff;font-weight:bold}.header-brand{min-width:0}@media(max-width:560px){.header-community{font-size:10px;gap:2px 9px;margin-top:8px}.header-brand{flex:1}.header-tools{flex-shrink:0}}
/* Create: My Creations tab, creation types on the left, one upload form and the creations of that type. */
.create-tabs{display:flex;border-bottom:1px solid #b9a8b4;margin:0 0 14px}.create-tabs span{padding:6px 12px;border:1px solid #b9a8b4;border-top:3px solid #795571;border-bottom:0;border-radius:0;background:white;margin-bottom:-1px;font-weight:bold;font-size:13px;color:#795571}
.create-layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:start}.create-types{border-right:1px solid #d1c4cb;padding:2px 0}.create-types a{display:block;padding:4px 10px;font-size:13px;color:#333}.create-types a:hover{background:#f5eef2;text-decoration:none}.create-types a.selected{background:#e9dde5;font-weight:bold;color:#2f2130}
.create-panel h1{font-size:26px;margin-bottom:4px}.create-help{max-width:560px;color:#555;margin:0 0 16px}.create-status{margin:0 0 12px}
.create-upload{display:grid;grid-template-columns:max-content minmax(0,300px);gap:9px 12px;align-items:center;padding:0 0 12px 16px;border-bottom:1px solid #e3dade}.create-upload label{color:#333}.create-upload input{width:100%;min-width:0}.create-upload-button{grid-column:1;justify-self:start;margin:4px 0 0}
.creation-item{display:flex;align-items:center;gap:12px;padding:6px 0;border-bottom:1px solid #eee5ea}.creation-thumb{width:56px;height:56px;flex:none;display:flex;align-items:center;justify-content:center;background:#f7f4ef;border:1px solid #e3dade}.creation-thumb img{width:100%;height:100%;object-fit:contain}.creation-info{flex:1;min-width:0;overflow-wrap:anywhere}.creation-info small{display:block;color:#766d73}.creation-empty{padding:18px 0;color:#716971}
.creation-menu{position:relative;flex:none}.creation-menu summary{list-style:none;cursor:pointer;border:1px solid #a9a2a6;border-radius:0;background:linear-gradient(#fff,#e6e1e3);padding:1px 6px;font-size:14px;line-height:18px;color:#555}.creation-menu summary::-webkit-details-marker{display:none}.creation-menu-items{position:absolute;right:0;top:calc(100% + 2px);z-index:5;min-width:130px;background:white;border:1px solid #b4a79e;box-shadow:0 2px 5px #0003}.creation-menu-items a,.creation-menu-items button{display:block;width:100%;text-align:left;margin:0;padding:6px 10px;border:0;border-radius:0;background:none;box-shadow:none;font-weight:normal;color:#333;text-shadow:none}.creation-menu-items a:hover,.creation-menu-items button:hover{background:#f1e8ee;text-decoration:none}
@media(max-width:560px){.create-layout{grid-template-columns:minmax(0,1fr)}.create-types{display:flex;flex-wrap:wrap;border-right:0;border-bottom:1px solid #d1c4cb}.create-upload{grid-template-columns:minmax(0,1fr);padding-left:0}}
/* Inventory: owned items as tiles; wearable ones are toggle buttons (also the Avatar page's wardrobe). */
.inventory-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 14px}.inventory-toolbar .button{margin:0}.inventory-add{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.inventory-add label{font-weight:bold}.inventory-add input{width:120px}.inventory-add button{margin:0}
.inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px;margin:0 0 12px}.inventory-item{display:flex;flex-direction:column;gap:4px;min-width:0}.inventory-item form{margin:0}.inventory-grid .creation-empty{grid-column:1/-1}
.inventory-toggle,.inventory-static{display:flex;flex-direction:column;align-items:stretch;width:100%;margin:0;padding:6px;text-align:left;background:white;border:1px solid #d8cbd1;border-radius:0;box-shadow:none;text-shadow:none;font-weight:normal;color:#333;line-height:1.3}
.inventory-toggle{cursor:pointer}a.inventory-link,a.inventory-link:hover{text-decoration:none}.inventory-toggle:hover{border-color:#94778a;background:#fbf8fa;color:#333}.inventory-item.worn .inventory-toggle{border:2px solid #53813d;padding:5px;background:#f2f8ee}
.inventory-item .asset-picture{margin-bottom:6px}.inventory-name,.inventory-meta{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-name{font-size:11px;font-weight:bold}.inventory-meta{font-size:10px;color:#766d73}.inventory-state{margin-top:5px;font-size:11px;font-weight:bold;color:#60475b}.inventory-item.worn .inventory-state{color:#3d6b2a}.inventory-item.worn .inventory-state:before{content:"\2713\00a0"}
.inventory-links{font-size:10px;padding:0 2px}
/* Avatar page: the toggle button lies under the tile's face (picture, name, type), which lets clicks through to it, so the
   whole tile wears or takes off the item; only the name, a link to the item's page, takes its own clicks. */
.inventory-tile{position:relative}.inventory-cover{position:absolute;inset:0;width:auto;height:100%;min-height:0;padding:0}
.inventory-face{position:relative;display:flex;flex-direction:column;padding:7px;line-height:1.3;pointer-events:none}
.inventory-name a{pointer-events:auto}
.inventory-links form{display:inline}.link-button{display:inline;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-shadow:none;font:inherit;color:#684361;cursor:pointer}.link-button:hover{background:none;color:#432c49;text-decoration:underline}
.my-avatar-side{display:grid;align-content:start}.my-avatar-inventory .create-types{display:flex;flex-wrap:wrap;border-right:0;border-bottom:1px solid #d1c4cb;padding:0;margin:0 0 12px}
.inventory-owned{font-weight:bold;color:#3d6b2a;margin:0 0 8px}.get-button{margin:0 0 6px;font-size:14px;padding:7px 30px}
@media(max-width:560px){.main-nav>a{padding:8px 3px;font-size:11px}.inventory-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}}
@media(max-width:560px){#item-container .detail-columns{grid-template-columns:minmax(0,1fr)}#item-container .detail-picture{width:160px}}
/* Game pages: a wide picture, with title/creator on top and Play plus details at the bottom of the side column. */
#game-detail-page .detail-columns{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}#game-detail-page .detail-picture{aspect-ratio:16/9;min-height:0;margin:0}
.game-detail-info{display:flex;flex-direction:column;min-width:0}.game-detail-info h3{font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.game-detail-play{margin-top:auto;padding-top:14px}.game-detail-play .play-button{display:block;width:100%;margin:0 0 4px}.game-detail-play .edit-button{display:block;width:100%;margin:0 0 4px}
.game-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}#item-container .detail-columns>div:not(.asset-picture){position:relative}.item-report{position:absolute;right:0;bottom:0}.item-report .report-form{margin:0}.item-report .report-form summary{margin-left:auto}
.game-title-row h3{flex:0 1 auto;min-width:0}
.game-title-row .creation-menu{margin:3px 0 0 auto;position:relative}
.game-title-menu .creation-menu-items{left:auto;right:0;min-width:140px}
.game-title-menu .creation-menu-items button,.game-title-menu .creation-menu-items a{white-space:nowrap;cursor:pointer;font-size:13px}.game-detail-play .configure-button{display:block;text-align:center;margin:0 0 4px}.server-shutdown{margin-top:10px}.ask-dialog p{margin:0 0 14px}.ask-dialog-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ask-dialog-actions [data-answer]{flex:1 1 0;min-width:0;margin:0;padding:8px 14px;font-size:13px;line-height:18px}
.game-detail-play .item-details{grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center;gap:2px 8px;margin:10px 0 0;padding-top:8px;border-top:1px solid #e3dade;text-align:center}.game-detail-play .item-details dt{grid-row:1}.game-detail-play .item-details dd{grid-row:2;overflow-wrap:anywhere}
@media(max-width:560px){#game-detail-page .detail-columns{grid-template-columns:minmax(0,1fr)}}
/* My Settings: a section list on the left, the chosen section's heading above its panel of label/value rows. */
.settings-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;align-items:start}.settings-tabs{margin:0;padding:4px 0}
.settings-panel{min-width:0}.settings-panel .account-box{max-width:none}.settings-heading{font-size:15px;color:#563c55;margin:0 0 6px}
.settings-row{display:flex;gap:12px;align-items:baseline;padding:9px 0;border-bottom:1px solid #eee5ea}.settings-row:last-of-type{border-bottom:0}.settings-label{width:90px;flex:none;color:#716971}.settings-value{min-width:0;overflow-wrap:anywhere}
.settings-actions{display:flex;justify-content:flex-end;margin-top:8px}.settings-actions button{margin:0}
@media(max-width:560px){.settings-layout{grid-template-columns:minmax(0,1fr)}}
/* Configure Game */
.configure-game .back-link{margin:0 0 6px}.configure-game .settings-heading{margin-top:16px}.configure-form{display:grid;gap:7px}.configure-form label{font-weight:bold}.configure-form input:not([type=checkbox]):not([type=radio]),.configure-form textarea{width:100%;min-width:0}.configure-form .theme-choice{font-weight:normal}.configure-form .theme-choices{margin:0}.configure-form textarea{resize:vertical}.configure-form p{margin:0}
.configure-confirm{justify-self:start;font-weight:normal!important}.configure-game button.danger{color:#a33}.game-description{margin:0;overflow-wrap:anywhere}
.server-list{list-style:none;margin:0;padding:0}.server-entry{padding:10px 0;border-top:1px solid #e6dce1}.server-entry:first-child{padding-top:0;border-top:0}.server-summary{margin:0 0 8px}.server-players{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}.server-player{width:48px;height:48px;border-radius:0;overflow:hidden}.server-player:hover,.server-player:focus-visible{border-color:var(--accent,#76526d);outline:2px solid var(--accent,#76526d);outline-offset:1px}.server-player-initial{display:flex;align-items:center;justify-content:center;height:100%;color:#716971;font-weight:bold}
.profile-card .box-foot .button{font-size:12px}
.header-tools .header-username{color:#fff;font-weight:bold}
/* With the title hidden, the subtext sits the same distance from the breadcrumb line above and its own line below. */
.page-heading{margin-top:-6px}.page-heading p{margin:0}
@media(max-width:800px){.page-heading{margin-top:-2px}}

.launcher-dialog{width:min(560px,calc(100vw - 32px));box-sizing:border-box;padding:22px 28px 24px;border:1px solid #9c8396;border-radius:0;background:#fff;color:#333;font:13px/1.5 Arial,Helvetica,sans-serif;box-shadow:0 8px 30px #0006;animation:launcher-dialog-in .2s ease-out}.launcher-dialog::backdrop{background:#000a;animation:launcher-dialog-fade .2s ease-out}.launcher-dialog h2{margin:0 30px 10px 0;font-size:18px;color:#60435b}.launcher-dialog p{margin:0 0 18px}.launcher-dialog-close{position:absolute;top:8px;right:10px;width:30px;height:30px;padding:0;border:0;background:none;color:#716971;font-size:24px;line-height:1;cursor:pointer}.launcher-dialog-close:hover,.launcher-dialog-close:focus-visible{color:#333}.launcher-dialog-download{display:inline-block;padding:9px 22px;border:1px solid #294f1c;border-radius:0;background:linear-gradient(#548b3b,#356522);color:#fff!important;text-decoration:none!important;font-weight:bold;text-shadow:0 -1px #294f1c;box-shadow:inset 0 1px #91b77d}.launcher-dialog-download:hover{background:linear-gradient(#5f9944,#3b7026)}
.launcher-dialog-linux code{padding:1px 4px;background:#8882;font:12px/1.6 Consolas,Menlo,monospace;overflow-wrap:anywhere}@keyframes launcher-dialog-fade{from{opacity:0}}@keyframes launcher-dialog-in{from{opacity:0;transform:translateY(-8px)}}
.profile-status{margin:5px 10px 6px;font-style:italic;color:#4f3a4c;overflow-wrap:anywhere}
.profile-bio{white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #eee5ea}
.player-status{font-style:italic;color:#4f3a4c;overflow-wrap:anywhere}
.profile-form textarea{resize:vertical;min-height:110px}
.catalog-grid.wearing-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:12px 10px;padding:12px}
.wearing-grid .asset-picture{margin-bottom:5px}.wearing-grid .no-picture{gap:6px}.wearing-grid .file-symbol{transform:scale(.8)}
.wearing-grid .catalog-entry strong{display:block;font-size:10px;line-height:1.3}.wearing-grid .catalog-entry p{font-size:9px}
.admin-content .users-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:start}
.admin-content .users-layout h3{font-size:13px;margin:16px 0 6px}
.admin-content .user-fields{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px 10px;align-items:center}
.admin-content .user-fields label{font-weight:bold}.admin-content .user-fields textarea{min-height:70px;font-family:Arial,Helvetica,sans-serif}
@media(max-width:700px){.admin-content .users-layout,.admin-content .user-fields{grid-template-columns:minmax(0,1fr)}}
.item-admin{margin-top:14px;border-top:1px solid #e3dade;padding-top:8px}.item-admin summary{cursor:pointer;font-weight:bold}
.item-admin-form{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 10px;align-items:center;margin-top:8px;max-width:360px}
.item-admin-form label{font-weight:bold}.item-admin-form .field-help,.item-admin-form button{grid-column:1/-1}.item-admin-form button{justify-self:start}
.pager{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px;padding:10px 14px 14px;font-size:11px}.pager a,.pager span{min-width:24px;padding:3px 7px;text-align:center;border:1px solid transparent}.pager a{border-color:#d9cdbd;background:#faf7f1}.pager a:hover{border-color:#94778a;background:#f4edf1;text-decoration:none}.pager-current{font-weight:bold;color:#fff;background:#684361;border-color:#4d3156!important}.pager-off{color:#b0a6ab}.pager-gap{color:#999;border:0!important;min-width:0!important;padding:3px 2px!important}
/* Groups: directory entries, the /groups sidebar layout, group pages and the profile's Groups box. Colors come from the
   --group-* variables, set per color scheme in themes.css; the emblem is the group's initial on an accent tile. */
:root{--group-panel:#fbf8f5;--group-border:#d1c4cb;--group-line:#e3dade;--group-text:#333;--group-muted:#655c62;--group-hover:#f5eef2;--group-selected:#e9dde5;--group-selected-text:#2f2130;--group-accent:#795571;--group-emblem-top:#8c6683;--group-emblem-bottom:#5a3a62;--group-emblem-border:#4d3156;--group-role-bg:#f5eef2;--group-role-border:#c9b7c4;--group-role-text:#684361;--group-heading:#563c55;--group-danger:#a33}
.group-emblem{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;flex:none;border:1px solid var(--group-emblem-border);border-radius:0;background:linear-gradient(var(--group-emblem-top),var(--group-emblem-bottom));color:#fff;font:bold 30px/1 Georgia,serif;text-shadow:0 1px 1px #0006}
.group-emblem.small{width:34px;height:34px;font-size:17px}.group-emblem.large{width:150px;height:150px;font-size:72px}
.group-image{display:block;padding:0;object-fit:contain;background:var(--group-panel)}.group-image-form{margin-top:16px;padding-top:12px;border-top:1px solid var(--group-line)}
.group-list{padding:0 14px}.group-entry{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px dotted var(--group-border)}.group-entry:last-child{border:0}.group-entry>div{min-width:0}
.group-entry h3{font-size:14px;margin-bottom:1px;overflow-wrap:anywhere}.group-entry p{margin:1px 0;font-size:11px}.group-summary{color:var(--group-muted);overflow-wrap:anywhere}
.group-role{display:inline-block;margin-left:4px;padding:0 5px;border:1px solid var(--group-role-border);border-radius:0;background:var(--group-role-bg);font-size:10px;font-weight:bold;color:var(--group-role-text);vertical-align:middle}
.group-members{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:12px 8px;list-style:none;margin:0;padding:12px}.group-members li{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;text-align:center;font-size:11px}.group-members li>a:not(.directory-avatar){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-members small{color:var(--group-muted);font-size:10px}
.group-member-avatar{width:56px;height:56px;border-radius:0;overflow:hidden}
.profile-group-list li>div{min-width:0;overflow-wrap:anywhere}.group-delete{margin-top:16px;padding-top:12px;border-top:1px solid var(--group-line)}.group-delete button.danger{color:var(--group-danger)}
/* /groups: your groups down the left (the sidebar sticks while the page scrolls; a long list scrolls inside it and
   Create group stays pinned under it), the selected group on the right. */
.groups-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:start}
.groups-side{position:sticky;top:10px;display:flex;flex-direction:column;max-height:calc(100vh - 20px);margin:0;border-radius:0;color:var(--group-text)}
.groups-search{display:flex;gap:4px;padding:8px;border-bottom:1px solid var(--group-line)}.groups-search input{flex:1;min-width:0}.groups-search button{margin:0;padding:3px 7px}
.groups-browse{display:block;padding:6px 10px;font-size:12px;border-bottom:1px solid var(--group-line);border-left:3px solid transparent}.groups-browse:hover{background:var(--group-hover);text-decoration:none}.groups-browse.selected{background:var(--group-selected);border-left-color:var(--group-accent);font-weight:bold;color:var(--group-selected-text)}
.groups-side-heading{box-shadow:0 -1px var(--group-border)}
.groups-side-list{flex:1 1 auto;min-height:0;overflow-y:auto}.groups-side-list a{display:flex;align-items:center;gap:8px;padding:6px 10px;color:var(--group-text);border-left:3px solid transparent}
.groups-side-list a:hover{background:var(--group-hover);color:var(--group-text);text-decoration:none}.groups-side-list a.selected{background:var(--group-selected);border-left-color:var(--group-accent);color:var(--group-selected-text)}
.groups-side-list a>span:last-child{min-width:0;display:flex;flex-direction:column}.groups-side-name{font-size:12px;font-weight:bold;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.groups-side-list small{font-size:10px;color:var(--group-muted)}
.groups-side-empty{margin:0;padding:4px 10px 10px;color:var(--group-muted);font-size:11px}
.groups-create{flex:none;margin:0;border-radius:0;text-align:center;padding:8px;border-width:1px 0 0}.groups-main{min-width:0}
.group-header-body{display:flex;gap:16px;align-items:center;padding:12px}.report-floating{position:relative}.report-floating form{position:absolute;top:100%;left:0;width:100%}.group-header-info{flex:1;min-width:0}.group-header .item-details{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 10px;padding-top:0;border-top:0}
.group-header .item-details dt{grid-row:1}.group-header .item-details dd{grid-row:2;overflow-wrap:anywhere}
.group-header-action form,.group-header-action p,.group-header-action button{margin:0}
@media(max-width:700px){.groups-layout{grid-template-columns:minmax(0,1fr)}.groups-side{position:static;max-height:none}.groups-side-list{max-height:220px}.group-emblem.large{width:90px;height:90px;font-size:44px}}
.group-members{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:12px 8px;list-style:none;margin:0;padding:12px}.group-members li{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;text-align:center;font-size:11px}.group-members li>a:not(.directory-avatar){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-members small{color:var(--group-muted);font-size:10px}
.group-member-avatar{width:56px;height:56px;border-radius:0;overflow:hidden}
.profile-group-list li>div{min-width:0;overflow-wrap:anywhere}.group-delete{margin-top:16px;padding-top:12px;border-top:1px solid #e3dade}.group-delete button.danger{color:#a33}
/* Create's tab bar: My Creations and Group Creations. The selected tab is the existing themed span; the other is a link. */
.create-tabs{gap:2px}.create-tabs a{padding:6px 12px;border:1px solid transparent;border-bottom:0;border-radius:0;margin-bottom:-1px;font-size:13px}.create-tabs a:hover{background:var(--group-hover);text-decoration:none}
.create-group-picker{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid var(--group-line)}.create-group-picker label{font-weight:bold}.create-group-picker select{max-width:260px}.create-group-picker button{margin:0}
.create-for{font-size:15px;font-weight:normal;color:var(--group-muted)}
/* Friends: the profile card's friend buttons, the Friend Requests box (your own profile) and the Friends grid (shares the group member grid). */
.profile-friend-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}.friend-form{display:inline;margin:0}.friend-form button{margin:0}.profile-card .profile-friend-actions button,.profile-card .profile-friend-actions .button{margin:0;font-size:13px;padding:6px 18px}
.profile-friend-status{font-weight:normal;font-size:11px;opacity:.85}.profile-card a.profile-playing{color:#53813d}.player-entry .directory-avatar{position:relative}.online-dot{position:absolute;bottom:3px;right:3px;width:8px;height:8px;border-radius:50%;background:#1f78e0;box-shadow:0 0 0 1px color-mix(in srgb,var(--group-panel) 70%,transparent)}.online-dot.playing{background:#2fa52a}
.friend-requests li{justify-content:space-between}.friend-requests li>div:first-child{min-width:0;overflow-wrap:anywhere}.friend-request-actions{display:flex;gap:6px;flex:none}
/* Header notification bell (next to the username): an SVG bell with a count badge, and a dropdown of notification cards.
   Header links are forced white, so the panel sets its own colors from the scheme's --group-* variables. */
.header-notifications{position:relative;display:inline-flex}.header-notifications>summary{position:relative;display:inline-flex;align-items:center;list-style:none;cursor:pointer;padding:2px 3px;margin-left:2px;border-radius:0;color:#fff;line-height:1}
.header-notifications>summary::-webkit-details-marker{display:none}.header-notifications>summary:hover,.header-notifications[open]>summary{background:#ffffff26}.header-notifications>summary:focus-visible{outline:2px solid #fff;outline-offset:1px}
.notification-bell{display:block}.notification-count{position:absolute;top:-6px;right:-7px;min-width:15px;padding:0 4px;border-radius:0;background:#c0392b;color:#fff;font-size:9px;font-weight:bold;line-height:14px;text-align:center;box-shadow:0 0 0 1px #0003}
.notification-panel{position:absolute;right:-6px;top:calc(100% + 8px);z-index:30;width:330px;max-width:calc(100vw - 20px);max-height:420px;overflow-y:auto;margin:0;color:var(--group-text);border-radius:0;box-shadow:0 4px 12px #0004;text-align:left;font-size:12px;font-weight:normal;line-height:1.5;text-shadow:none}
.header-tools .notification-panel a,[data-scheme] .header-tools .notification-panel a,[data-scheme] .header-tools .notification-panel a:hover{color:var(--group-accent)}

.notification-card{display:flex;gap:10px;padding:11px 12px;border-bottom:1px dotted var(--group-line)}.notification-card:last-child{border-bottom:0}
.notification-avatar{width:44px;height:44px;border-radius:0;overflow:hidden}.notification-body{flex:1;min-width:0}.notification-body p{margin:0 0 2px;font-size:12px;overflow-wrap:anywhere}.notification-body small{display:block;color:var(--group-muted);font-size:10px}
.notification-actions{display:flex;justify-content:flex-end;align-items:stretch;gap:6px;margin-top:7px}.notification-actions .friend-form{display:flex}
.notification-actions button,.notification-actions .get-button{margin:0;min-width:72px;padding:4px 12px;font-size:12px;line-height:16px}.notification-empty{margin:0;padding:14px 12px;color:var(--group-muted)}
@media(max-width:560px){.notification-panel{position:fixed;left:10px;right:10px;top:auto;width:auto;max-width:none;margin-top:8px}}
/* Profile: the card on the left holds the avatar, Currently Wearing and the buttons; the right column holds the other boxes.
   Both columns share one height (the last right-hand box stretches), and the whole profile is centered vertically on the page. */
.profile-columns{grid-template-columns:290px minmax(0,1fr);align-items:stretch}.profile-card{align-self:start}.profile-columns>.box,.profile-main>.box:last-child{margin-bottom:0}
.profile-card .profile-avatar{height:210px}.profile-caption{padding:4px 0 8px}
.profile-main{display:flex;flex-direction:column;min-width:0}.profile-main>.box:last-child{flex:1 0 auto}.profile-main>.box.profile-box-empty:last-child{flex:none}   /* no groups: just its one line, not stretched to the column's height */
.profile-wearing{margin:0 10px 10px;text-align:left}.profile-wearing>h2{font-size:11px}
.profile-wearing .catalog-grid.wearing-grid{grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:8px 6px;padding:8px}
.profile-wearing .wearing-grid .catalog-entry strong{font-size:9px;line-height:1.25}.profile-wearing .wearing-grid .catalog-entry p{font-size:8px}.profile-wearing .box-body{padding:10px;font-size:11px}
.profile-wearing>.box-foot{padding:4px 8px;font-size:10px}
.profile-view .site-columns{display:flex;flex-direction:column;min-height:max(570px,calc(100vh - 300px))}.profile-view main{flex:1;display:flex;flex-direction:column}
.profile-view .profile-columns{margin:auto 0}.profile-view main>.back-link{margin:16px 0 0}
@media(max-width:800px){.profile-columns{grid-template-columns:minmax(0,1fr)}.profile-columns>.box{margin-bottom:16px}.profile-view .profile-columns{margin:0}.profile-main>.box:last-child{flex:none}.profile-card .profile-avatar{height:260px}}
/* Games: one box per category, each a horizontal row of game cards. The row scrolls sideways (touch, trackpad or the
   arrow buttons; site.js shows each only while the row can scroll that way). */
.game-category .game-row-wrap,#profile-games .game-row-wrap{position:relative}
.home-card{max-width:290px}.home-top{margin-bottom:16px}.home-top .home-card{max-width:none}
.featured-thumb{flex:none;width:56px}.featured-thumb .group-emblem{width:56px;height:56px;font-size:26px}.feature-form{margin:8px 0 0}.page-home .friend-list-rows{grid-template-rows:auto}@media(max-width:800px){.home-top{margin-bottom:0}}
.home-status{margin:5px 10px 10px}   /* the home page's card: as wide as a profile's. Its status sits midway between the picture and the card's edge (the picture's 5px border counts as gap); a profile's, midway between the picture and the caption */
.game-row{display:flex;gap:12px;margin:0;padding:12px;list-style:none;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding:0 12px;scroll-behavior:smooth;scrollbar-width:thin}   /* scroll-padding: cards snap inside the row's padding, not against the box's edge */
.game-card{flex:0 0 168px;min-width:0;scroll-snap-align:start}.game-card .asset-picture.game-thumb{margin:0 0 6px}
.game-card h3{font-size:12px;line-height:1.3;margin:0 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-card .byline{font-size:10px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-card .game-card-info{margin:3px 0 0;line-height:1.4}
.game-row-scroll{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:28px;height:44px;margin:0;padding:0;font-size:22px;line-height:40px;opacity:.92;transition:opacity .2s,visibility .2s}
.game-row-scroll[data-scroll="-1"]{left:2px}.game-row-scroll[data-scroll="1"]{right:2px}
/* The site's button rule sets display, which would otherwise override the hidden attribute site.js sets on these.
   A hidden arrow stays laid out but invisible and unclickable, so it can fade in and out. */
.game-row-scroll[hidden]{opacity:0;visibility:hidden}
/* A soft shadow over the row's edge on each side it can still scroll to (site.js sets more-left / more-right). */
.game-row-wrap::before,.game-row-wrap::after{content:"";position:absolute;top:0;bottom:0;z-index:1;width:22px;pointer-events:none;opacity:0;transition:opacity .2s}
.game-row-wrap::before{left:0;background:linear-gradient(to right,#00000038,#0000)}.game-row-wrap::after{right:0;background:linear-gradient(to left,#00000038,#0000)}
.game-row-wrap.more-left::before,.game-row-wrap.more-right::after{opacity:1}
.profile-view-all[hidden]{display:none}
/* Limited item Resellers: five until View All */
.resellers-short tbody tr:nth-child(n+6){display:none}
@media(max-width:560px){.game-card{flex-basis:140px}}
/* Catalog page controls follow the color scheme (--group-* variables, set per scheme in themes.css): the page buttons
   under listings and the selected category tab. The current page uses the scheme's deep accent with white text. */
.pager a{border-color:var(--group-border);background:var(--group-panel);color:var(--group-accent)}
.pager a:hover{border-color:var(--group-accent);background:var(--group-hover);color:var(--group-accent)}
.pager-current{color:#fff;background:var(--group-emblem-bottom);border-color:var(--group-emblem-border)!important}
.pager-off,.pager-gap{color:var(--group-muted)}
.text-tabs a.active{color:var(--group-selected-text)}
/* About box: the headshot / Last seen / Wearing row comes first, so the bio's divider moves to its top (schemes recolor it). */
.profile-about+.profile-bio{border-bottom:0;border-top:1px solid #eee5ea}
/* Group page: Configure sits at the right of the top card's header, opposite the name. Configure Group reuses Configure Game's layout. */
.group-header>h2,#group-items>h2,.view-all-head,#profile-friends>h2,#profile-games>h2,#profile-groups>h2,#profile-comments>h2{display:flex;align-items:center;justify-content:space-between;gap:10px}.group-header-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-header .group-configure,#group-items .group-show-all,.profile-main .profile-view-all,.view-all-head .view-all{flex:none;margin:0;padding:1px 10px;font-size:11px;line-height:18px;text-shadow:none}
/* Every card's title bar is the same height (a 20px line): a button in one is exactly that tall, on touch screens too, where
   its ::after keeps the whole bar's height tappable instead of the usual 44px minimum. */
.box>h2 .button,.box>h1 .button{position:relative;flex:none;margin:0;padding:0 10px;min-height:0;font-size:11px;line-height:18px;text-shadow:none;white-space:nowrap}
.box>h2 .button::after,.box>h1 .button::after{content:"";position:absolute;inset:-7px -1px}
/* Profile Friends card: two rows; further rows get no height and are clipped (the row gap becomes a margin so they add none). */
.friend-list-rows{grid-template-rows:auto auto;grid-auto-rows:0;row-gap:0;padding-bottom:0;overflow:hidden}.friend-list-rows>li{margin-bottom:12px}
/* Profile Comments card: a box to write in, then each comment as a headshot beside the author, date, text and its actions. */
.comment-form{display:flex;gap:8px;align-items:stretch;padding:12px}.comment-form textarea{flex:1;min-width:0;resize:none;line-height:18px}.comment-form button{flex:none;margin:0}
.comment-message{margin:12px 12px 0}.comment-note{margin:0;padding:12px 12px 0}
.comment-list li{align-items:flex-start}.comment-list .group-member-avatar{flex:none}.comment-body{flex:1;min-width:0}.comment-body p{margin:2px 0 0;overflow-wrap:anywhere}
.comment-meta small{display:inline;margin-left:4px}.comment-actions{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:flex-start;margin-top:4px;font-size:11px}
.comment-actions .report-form{margin:0;font-size:11px}.comment-actions .link-button{font-size:11px;opacity:.75;min-height:0}
/* Profile Groups card: three groups until View All */
.profile-list-short>li:nth-child(n+4){display:none}
/* Configure Group: a page of its own (no My Groups column), with the Create page's tab bar over one section at a time. */
.configure-group{max-width:760px;margin:0 auto}.configure-group-title{display:flex;align-items:center;gap:12px;margin:0 0 12px}.configure-group-title .group-emblem{width:48px;height:48px;flex:none}
.configure-group-title h1{margin:0}.configure-group-title .create-help{margin:2px 0 0}.configure-group .create-tabs{flex-wrap:wrap}.configure-group .create-tabs+.settings-heading{margin-top:0}
/* Ranks: a table whose rows open into their edit form. Rows and the heading share one set of columns. */
.group-rank-head,.group-rank>summary{display:grid;grid-template-columns:70px minmax(0,1fr) 80px 110px 44px;gap:10px;align-items:center;padding:8px 12px}
.group-rank-head{font-size:11px;font-weight:bold;color:var(--group-muted);border-bottom:1px solid var(--group-line)}
.group-rank{border-bottom:1px dotted var(--group-line)}.group-rank:last-child{border-bottom:0}.group-rank>summary{cursor:pointer;list-style:none}.group-rank>summary::-webkit-details-marker{display:none}
.group-rank>summary:hover,.group-rank[open]>summary{background:var(--group-hover)}.group-rank-number{font-weight:bold;font-variant-numeric:tabular-nums}
.group-rank-name{font-weight:bold;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-rank-edit{color:var(--group-accent);font-size:11px;text-align:right}.group-rank[open] .group-rank-edit{visibility:hidden}
.group-rank>.group-rank-form{padding:12px;border-top:1px solid var(--group-line)}
.group-rank-form{display:grid;gap:10px}.group-rank-fields{display:grid;grid-template-columns:auto minmax(0,1fr) auto 90px;gap:8px 10px;align-items:center}.group-rank-fields label{font-weight:bold}.group-rank-fields input{width:100%;min-width:0}
.group-rank-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;margin:0;padding:0;border:0}.group-rank-permissions legend{padding:0;margin-bottom:4px;font-weight:bold}.group-rank-permissions .theme-choice{font-weight:normal;margin:0}
.group-rank-form .field-help{margin:0}.group-rank-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.group-rank-actions button{margin:0}
.group-rank-actions button.danger,.group-member-actions button.danger{color:var(--group-danger)}
.group-member-ranks li{justify-content:space-between;flex-wrap:wrap}.member-rank-status{font-size:11px;color:var(--group-muted)}.member-rank-status.form-error{display:inline;margin:0;padding:0;border:0;background:none}.group-member-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
@media(max-width:560px){.group-rank-head,.group-rank>summary{grid-template-columns:44px minmax(0,1fr) 44px}.group-rank-head span:nth-child(n+4),.group-rank>summary span:nth-child(n+4){display:none}.group-rank-fields,.group-rank-permissions{grid-template-columns:minmax(0,1fr)}}
.group-image-settings{display:flex;gap:14px;align-items:flex-start}.group-image-settings .group-emblem{width:72px;height:72px}.group-image-settings form{flex:1;min-width:0}

/* Notes: header balance, footer player count, prices, and the /notes page */
.header-notes{display:flex;width:max-content;align-items:center;gap:5px;margin:8px 0 0;padding:2px 9px;border:1px solid #ffffff38;background:#00000030;color:#fff!important;font-size:12px;text-decoration:none!important}.header-notes:hover,.header-notes:focus-visible{background:#00000055}.header-notes span:last-child{font-size:11px;opacity:.85}
.footer-community{display:flex;margin:0 0 0 auto;white-space:nowrap}.footer-community>div{display:flex;gap:5px}.footer-community dt{font-weight:normal}.footer-community dd{margin:0;font-weight:bold}
html .catalog-entry p.catalog-price{margin-top:2px;font-weight:bold;color:#3d6b2a}html .catalog-entry p.catalog-price.off-sale{font-weight:normal;color:#8a7f86}
.item-off-sale{font-weight:bold;color:#8a7f86;margin:0 0 8px}.get-button:disabled{opacity:.55;cursor:not-allowed}
.item-sale .sale-toggle{grid-column:1/-1;display:flex;align-items:center;gap:6px;font-weight:normal}.item-sale input[type=number]{width:110px}
.notes-balance{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:28px}
.notes-table{width:100%;border-collapse:collapse;font-size:12px}.notes-table th,.notes-table td{padding:6px 14px;border-top:1px solid #80808040;text-align:left;vertical-align:middle}.notes-table thead th{background:#80808014;font-size:11px;font-weight:bold}.notes-table tbody th{font-weight:normal}
.notes-item,.notes-player{display:flex;align-items:center;gap:8px}.notes-item .asset-picture{width:36px;height:36px;flex:none;margin:0}.notes-item .no-picture span:not(.file-symbol){display:none}.notes-player img{width:24px;height:24px;border-radius:0;flex:none}
.notes-positive{color:#3d6b2a}.notes-negative{color:#a33a3a}.notes-tabs a{font-size:12px}
@media(max-width:560px){.notes-table{display:block;overflow-x:auto}.notes-table th,.notes-table td{padding:6px 8px;white-space:nowrap}.notes-table .notes-item span{white-space:normal;min-width:12em}.footer-community{margin-left:0}}

/* Profile music player, in the profile's About box */
.profile-music{--music-accent:#76526d;--music-track:#d8cbd2;display:flex;align-items:center;gap:10px;padding:9px 14px;border-top:1px solid #eee5ea;background:#80808010}.profile-music+.profile-bio{border-top:1px solid #eee5ea}
.profile-music button{flex:none;display:grid;place-items:center;padding:0;line-height:1}
.music-toggle{width:30px;height:30px;border-radius:0}
.music-icon{width:0;height:0;margin-left:3px;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent currentColor}
.profile-music.playing .music-icon{width:10px;height:12px;margin:0;border-width:0 3px;border-color:currentColor}
.music-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.music-seek{width:100%;height:14px;margin:0;background:none;-webkit-appearance:none;appearance:none;cursor:pointer}
.music-seek::-webkit-slider-runnable-track{height:5px;border-radius:0;background:linear-gradient(90deg,var(--music-accent) var(--progress,0%),var(--music-track) var(--progress,0%))}
.music-seek::-moz-range-track{height:5px;border-radius:0;background:var(--music-track)}.music-seek::-moz-range-progress{height:5px;border-radius:0;background:var(--music-accent)}
.music-seek::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;margin-top:-3px;border:1px solid #0004;border-radius:0;background:var(--music-accent)}
.music-seek::-moz-range-thumb{width:10px;height:10px;border:1px solid #0004;border-radius:0;background:var(--music-accent)}
.music-seek:focus-visible{outline:2px solid var(--music-accent);outline-offset:2px}
.profile-music{position:relative;isolation:isolate;overflow:hidden;min-height:48px;box-sizing:border-box}.music-bands{position:absolute;inset:0;z-index:-1;width:100%;height:100%;opacity:.3;pointer-events:none}
.music-style-pure{min-height:56px}.music-style-pure .music-bands{z-index:0;opacity:.75;pointer-events:auto;cursor:pointer;background:linear-gradient(var(--music-accent),var(--music-accent)) bottom/100% 2px no-repeat}.music-style-pure .music-bands:focus-visible{outline:2px solid var(--music-accent);outline-offset:-3px}
.music-title{font-size:11px;font-weight:bold;color:#716971;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.music-time{flex:none;min-width:32px;font-size:11px;color:#716971;text-align:right;font-variant-numeric:tabular-nums}
.music-mute{width:26px;height:24px}
.music-speaker{position:relative;width:5px;height:6px;margin-right:5px;background:currentColor}.music-speaker:before{content:"";position:absolute;left:1px;top:-3px;border-style:solid;border-width:6px 6px 6px 0;border-color:transparent currentColor transparent transparent}
.music-speaker:after{content:"";position:absolute;left:8px;top:-2px;width:4px;height:8px;border:2px solid currentColor;border-left:0;border-radius:0;box-sizing:border-box}
.profile-music.muted .music-speaker:after{left:7px;top:-4px;width:2px;height:14px;border:0;border-radius:0;background:currentColor;transform:rotate(-45deg)}
.profile-audio-current{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 6px}.profile-audio-current audio{height:32px;max-width:100%}.profile-audio-remove{display:flex;align-items:center;gap:5px;font-weight:normal}
@media(max-width:560px){.profile-music{gap:7px;padding:8px 10px}.music-title{display:none}}

/* Profile gallery: thumbnails at the right of the About box, the full-size viewer, and My Settings > Gallery */
.profile-about{flex-wrap:wrap}
.profile-gallery{flex:0 1 316px;min-width:0;margin-left:auto;display:flex;align-items:center;gap:8px}
.gallery-row{flex:1;min-width:0;display:flex;gap:10px;margin:0;padding:3px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}.gallery-row::-webkit-scrollbar{display:none}
.gallery-row li{flex:0 0 calc((100% - 10px) / 2);scroll-snap-align:start}.gallery-row li:first-child{margin-left:auto}.gallery-row li:last-child{margin-right:auto}   /* centres one image; the margins vanish once the row is full */
.gallery-thumb.asset-picture{display:block;width:100%;margin:0;padding:0;border-width:2px;border-radius:0;overflow:hidden;cursor:zoom-in;box-shadow:0 0 0 1px #ffffff80,0 1px 4px #0003}
.gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.gallery-thumb:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.gallery-scroll{flex:none;width:28px;height:38px;padding:0;font-weight:bold}.gallery-scroll[hidden]{display:none}.gallery-scroll:disabled{opacity:.45;cursor:default}
@media(max-width:700px){.profile-gallery{flex-basis:100%;margin-left:0}}
html body dialog.gallery-viewer{width:auto;max-width:94vw;max-height:94vh;padding:0;border:0;background:none;box-shadow:none;overflow:visible}
html body dialog.gallery-viewer::backdrop{background:#000000d0}
.gallery-viewer img{display:block;max-width:94vw;max-height:calc(94vh - 50px);margin:0 auto;object-fit:contain;border-radius:0;box-shadow:0 4px 24px #0009}
.gallery-viewer .gallery-viewer-close{position:absolute;top:-12px;right:-12px;width:32px;height:32px;padding:0;border-radius:0;font-size:20px;line-height:1}
.gallery-viewer-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:10px;color:#fff;font-size:13px}.gallery-viewer-nav[hidden]{display:none}
.gallery-viewer-nav button{width:38px;height:30px;padding:0;font-size:18px}
.gallery-manage{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px;margin:16px 0 0;padding:0;list-style:none}
.gallery-manage-item .asset-picture{display:block;margin:0;border-radius:0;overflow:hidden}.gallery-manage-item img{display:block;width:100%;height:100%;object-fit:cover}
.gallery-manage-actions{display:flex;align-items:center;gap:4px;margin-top:6px}.gallery-manage-actions form{margin:0}.gallery-manage-actions form:last-child{margin-left:auto}
.gallery-move{padding:0 9px;font-size:15px;line-height:20px}.gallery-move:disabled{opacity:.45;cursor:default}

/* Editing your own profile in place: .edit-only shows only while editing, .view-only hides then */
.profile-page:not(.profile-editing) .edit-only{display:none!important}.profile-editing .view-only{display:none!important}
.profile-saved{margin:0 0 10px}
.profile-edit-bar{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 12px;padding:9px 12px;box-shadow:0 2px 8px #0002}
.profile-edit-intro{display:flex;flex-direction:column;gap:1px;margin-right:auto}.profile-edit-intro .muted{font-size:11px}
.profile-edit-scheme{display:flex;align-items:center;gap:6px;font-weight:bold;font-size:12px}.profile-edit-scheme select{font-weight:normal}
.profile-edit-message{margin:0;font-size:12px;min-height:0}.profile-edit-message:empty{display:none}
.profile-edit-actions{display:flex;gap:6px}.profile-edit-actions .button,.profile-edit-actions button{margin:0}
.profile-status-edit{margin:8px 10px 2px;text-align:center}.profile-status-edit input{width:100%;box-sizing:border-box;font-style:italic;text-align:center}
.profile-bio.edit-only textarea{display:block;width:100%;box-sizing:border-box;min-height:110px;resize:vertical;font:inherit}
.profile-music-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;border-top:1px solid #80808033;font-size:12px}
.profile-music-edit label{display:flex;align-items:center;gap:6px;font-weight:bold}.profile-music-edit input,.profile-music-edit select{font-weight:normal}
.profile-music-edit .music-edit-title input{width:170px}.profile-music-edit .music-edit-file input{max-width:200px}
.profile-music-edit .field-help{flex-basis:100%;margin:0}
.profile-music-slot audio[hidden]{display:none}
/* Custom CSS box while editing your profile */
.profile-css-edit{margin:0 0 12px}.profile-css-edit textarea{display:block;width:100%;box-sizing:border-box;min-height:160px;resize:vertical;font:12px/1.45 Consolas,Menlo,monospace;tab-size:2}.profile-css-edit .field-help{margin:8px 0 0}
/* /help/css */
.css-help h3{margin:18px 0 6px;font-size:14px}.css-help h3:first-child{margin-top:0}.css-help p,.css-help ul{margin:0 0 10px}.css-help ul{padding-left:20px}
.css-help pre{margin:6px 0 12px;padding:9px 12px;overflow:auto;border:1px solid #80808040;background:#80808014;font:12px/1.5 Consolas,Menlo,monospace;tab-size:2}.css-help code{font:12px Consolas,Menlo,monospace}
.css-help table{width:100%;border-collapse:collapse;margin:0 0 12px}.css-help th,.css-help td{padding:5px 8px;text-align:left;vertical-align:top;border-bottom:1px solid #80808030}.css-help td:first-child{white-space:nowrap}
.css-help .css-note{padding:8px 12px;border:1px solid #80808040;background:#80808014}


@media(max-width:560px){.profile-edit-intro{flex-basis:100%}.profile-music-edit .music-edit-title input{width:100%}}

/* Avatar sections, after D:\Dev\seattle: main tabs (Recent / Clothing / Body / Outfits) with the selected one's sub-sections beneath; kept small like the old tab row */
.my-avatar-inventory .avatar-sections{display:flex;flex-wrap:wrap;margin:0;border-bottom:1px solid #d1c4cb}
.my-avatar-inventory .avatar-subsections{display:flex;flex-wrap:wrap;gap:0 2px;margin:0 0 10px;padding:3px 0;border-bottom:0;font-size:12px}
.my-avatar-inventory .avatar-subsections a{padding:2px 8px;background:none}
.my-avatar-inventory .avatar-subsections a.selected{font-weight:bold;text-decoration:underline}
.my-avatar-inventory .avatar-subcount{margin-left:2px;font-size:10px;opacity:.55}
.my-avatar-inventory .avatar-kinds{margin-top:-6px;font-size:11px;opacity:.9}
/* Avatar > Outfits: the tab before All with a thin separator, the save row, and a card per saved outfit */
.my-avatar-inventory .avatar-tabs-sep{align-self:center;width:1px;height:16px;margin:0 4px;background:currentColor;opacity:.25}
.outfit-save{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 14px}.outfit-save label{font-weight:bold}.outfit-save input{flex:1 1 160px;min-width:0}.outfit-save .muted{flex-basis:100%;font-size:11px}
.outfit-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,156px));gap:8px;margin:0;padding:0;list-style:none}
.outfit-card{display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid #80808040;border-radius:0;font-size:12px}.outfit-card.wearing{border-color:#80808080;background:#80808012}   /* subtle; the Wearing badge marks it */
.outfit-head{display:flex;align-items:center;gap:6px;min-width:0}.outfit-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.outfit-worn{flex:none;padding:0 5px;border:1px solid currentColor;border-radius:0;font-size:9px;font-weight:bold;line-height:14px;opacity:.8}
.outfit-meta{margin:0;font-size:10px}
.outfit-actions{display:flex;align-items:center;gap:4px}.outfit-actions form{margin:0}.outfit-actions form:last-child{margin-left:auto}
.outfit-actions button:not(.link-button){margin:0;padding:2px 8px;font-size:11px;line-height:16px}.outfit-actions .link-button{font-size:11px}   /* Wear and Update the same size */
.outfit-render{aspect-ratio:1;overflow:hidden;border-radius:0;background:#80808014}.outfit-render img{display:block;width:100%;height:100%;object-fit:contain}

/* Avatar page: changes are sent in the background; the panel dims briefly while one is on its way */
.my-avatar-inventory[aria-busy=true] [data-avatar-panel]{opacity:.65;transition:opacity .15s}.avatar-live-status{margin:0 0 10px}
/* Changing pages: the browser keeps the old page up until the new one is ready, then crossfades the content while the header and nav stay put. */
@view-transition{navigation:auto}
.masthead{view-transition-name:site-masthead}.main-nav{view-transition-name:site-nav}
/* A view-transition-name gives each its own stacking layer; keep the header's (and the notification dropdown inside it) above the tab bar. */
.masthead{z-index:30}
::view-transition-group(site-masthead),::view-transition-group(site-nav){animation-duration:0s}
::view-transition-old(root),::view-transition-new(root){animation-duration:.115s}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
/* Group page Items: the collapsed view is exactly one row of six (two rows of three on phones). */
#group-items .catalog-grid.group-items-row{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:520px){#group-items .catalog-grid.group-items-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* The owner's site-wide announcement, between the header and the tab bar. 'info' follows the color scheme; 'warning' is amber in every scheme. */
.site-announcement{padding:7px 14px;background:var(--group-selected);color:var(--group-selected-text);border-bottom:1px solid var(--group-border);font-size:12px;line-height:1.45;text-align:center}
.site-announcement p{margin:0;overflow-wrap:anywhere}
.site-announcement a{color:inherit;font-weight:bold;text-decoration:underline}.site-announcement a:hover{text-decoration:none}
.site-announcement-warning{background:#fff1c2;color:#4a3700;border-bottom-color:#d9b44a}

/* Uploads waiting for a moderator (lib/Moderation.php). */
.review-pending{font-style:italic;opacity:.8}
.game-carousel{position:relative;overflow:hidden}
.game-carousel .game-slide{display:none;width:100%;height:100%;object-fit:cover}
.game-carousel .game-slide.is-active{display:block}
.game-carousel-prev,.game-carousel-next{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:44px;padding:0;border:0;border-radius:3px;background:rgba(0,0,0,.45);color:#fff;font-size:28px;line-height:42px;text-align:center;cursor:pointer}
.game-carousel-prev{left:8px}.game-carousel-next{right:8px}
.game-carousel-prev:hover,.game-carousel-next:hover,.game-carousel-prev:focus-visible,.game-carousel-next:focus-visible{background:rgba(0,0,0,.7)}
.game-carousel-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px}
.game-carousel-dot{width:10px;height:10px;min-height:0;padding:0;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(0,0,0,.4);cursor:pointer}
.game-carousel-dot.is-active{background:#fff}
.game-thumb-manage{list-style:none;margin:8px 0;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.game-thumb-manage-item{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.game-thumb-preview{overflow:hidden;border:1px solid rgba(128,128,128,.4);background:rgba(128,128,128,.12)}
.game-thumb-preview.game-thumb-square{width:140px;height:140px}
.game-thumb-preview.game-thumb-wide{width:248px;height:140px}
.game-thumb-preview img{display:block;width:100%;height:100%;object-fit:cover}
.game-thumb-preview .gallery-pending-thumb{display:flex;align-items:center;justify-content:center;height:100%;text-align:center;font-size:12px;opacity:.7}
.field-help .review-pending,.gallery-manage-item .review-pending{display:block}.gallery-manage-item .review-pending{font-size:11px;margin-top:3px}
.audio-picture .audio-symbol{font-size:42px;line-height:1;opacity:.7}.item-audio{margin:10px 0}.item-audio audio{width:100%;max-width:340px}.item-audio .field-help{margin:4px 0 0}

/* Games tab: View All at the top right of each sort's card, and the View All page's grid of every game in the sort. */
.game-category>h2{display:flex;align-items:center;justify-content:space-between;gap:10px}
.game-category>h2 .game-view-all{flex:none;margin:0;padding:0 10px;font-size:11px;line-height:18px;text-shadow:none;white-space:nowrap}   /* like the group Configure button */
.game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px 12px;margin:0;padding:12px;list-style:none}
.game-grid .game-card{flex:none}
.item-replace-form{margin-top:16px}

/* Configure Game > Data Stores: a stored value */
.datastore-value{max-height:24em;overflow:auto;white-space:pre-wrap;word-break:break-all;font-size:12px;padding:8px;background:#80808014;border:1px solid #80808040}

/* Catalog "Show off-sale": .directory-search input (and its narrow-screen flex:1) and the global input box styles are for the
   search field; the checkbox keeps its own size. [type=checkbox] outranks both, so this holds at every width. */
.directory-search input[type=checkbox]{flex:none;width:auto;height:auto;min-width:0;padding:0;margin:0;border:0;box-shadow:none;background:none;accent-color:#795571;vertical-align:middle}
.directory-sort .directory-offsale{white-space:nowrap;cursor:pointer}

/* Verified badge after a player's name (Site::verifiedBadge): scales with the name's text. */
img.verified-badge{display:inline-block;width:auto;height:1.15em;margin-left:1px;vertical-align:-.2em;border:0;background:none}

/* Friends and group members (.group-members stacks each item's children): the name and its verified badge share one row;
   a long name is cut with an ellipsis, the badge never shrinks. */
.group-members .member-name{display:flex;align-items:center;justify-content:center;gap:2px;max-width:100%;min-width:0}
.group-members .member-name>a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-members .member-name>.verified-badge{flex:none;vertical-align:0;margin-left:0}
.avatar-type-toggle{display:flex;justify-content:center;margin:0}.avatar-type-toggle button{flex:1;max-width:90px}.avatar-type-toggle button+button{border-left:0}.avatar-type-toggle button[aria-pressed=true]{box-shadow:inset 0 2px 4px #0005;filter:brightness(.88);cursor:default}

/* Report forms (a quiet link that opens a small form) */
.report-form{display:block;margin-top:8px;font-size:12px}
.report-form summary{cursor:pointer;opacity:.75;width:max-content}
.report-form form{display:grid;gap:6px;margin-top:6px;max-width:260px}
.report-form form select,.report-form form input{width:100%;box-sizing:border-box}
/* Profile card: Report sits centered under the player number, and its form lines up with the Currently Wearing box below. */
.profile-card .report-form{margin:0 10px 10px}.profile-card .report-form summary{margin:0 auto}.profile-card .report-form form{max-width:none}
.site-announcement p+p,.site-announcement ul{margin-top:4px}
.site-announcement ul{margin-bottom:0;padding:0;list-style-position:inside}
.site-announcement code{font-size:11px}
.footer-legal{display:flex;gap:4px 16px;flex-wrap:wrap}.legal-copy{max-width:720px}.legal-copy h3{margin:20px 0 6px;font-size:14px}.legal-copy>:first-child{margin-top:0}.legal-copy ul{padding-left:20px}.legal-copy li{margin:0 0 6px}.legal-updated{color:var(--group-muted);font-size:11px}
.account-form .terms-accept{display:flex;gap:8px;align-items:flex-start;font-weight:normal;margin-top:12px}.account-form .terms-accept input{min-height:0;margin-top:3px;flex:none}.danger-button{color:var(--group-danger,#a33)}.privacy-form{max-width:440px}
/* Admin > Users: sticky editor header with the one Save button, role badges, permission rows and collapsible sections. */
.admin-content :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.admin-content .filters select{flex:1;min-width:0}
.admin-content .ue-head{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;padding:10px 0;margin:0 0 4px;background:var(--panel,#fff);border-bottom:1px solid var(--line)}
.admin-content .ue-title{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;min-width:0}.admin-content .ue-title strong{font-size:16px}.admin-content .ue-save{display:flex;align-items:center;gap:10px}
.admin-content .ue-roles,.admin-content .players .roles{display:inline-flex;gap:4px;flex-wrap:wrap}
.admin-content .role-pill{display:inline-block;padding:0 6px;font-size:10px;line-height:16px;border:1px solid var(--line);color:var(--muted)}.admin-content .role-pill.bad{border-color:var(--bad);color:var(--bad)}
.admin-content #userEditor h3{margin:22px 0 8px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;letter-spacing:.02em}
.admin-content #userEditor .ue-head+.form-error+h3,.admin-content #userEditor .ue-head+h3{margin-top:12px;padding-top:0;border-top:0}
.admin-content .ue-help{margin:6px 0 0;font-size:12px}
.admin-content #ueNotes{max-width:180px;text-align:right;font-variant-numeric:tabular-nums}
.admin-content .perm{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 10px;align-items:start;padding:8px 0;border-bottom:1px solid var(--line);cursor:pointer}
.admin-content .perm input{margin:2px 0 0}.admin-content .perm small,.admin-content .perm .perm-why{display:block;font-size:12px;line-height:1.45;color:var(--muted)}.admin-content .perm .perm-why{font-style:normal;font-size:11px}
.admin-content details.fold{margin:20px 0 0;padding-top:10px;border-top:1px solid var(--line)}.admin-content details.fold>summary{cursor:pointer;font-size:13px;font-weight:bold;letter-spacing:.02em;padding:2px 0}.admin-content details.fold[open]>summary{margin-bottom:8px}
.admin-content .danger-zone{margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}
.admin-content .players .urow:has(button.sel){box-shadow:inset 3px 0 var(--accent)}
.admin-content .players .urow button{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:2px 10px;text-align:left;padding:7px 10px}.admin-content .players .urow .ur-name{font-size:13px;overflow-wrap:anywhere}.admin-content .players .urow .ur-head{grid-row:1/span 2;width:40px;height:40px;object-fit:cover;background:var(--bg,#f5f0ea);border:1px solid var(--line)}.admin-content .players .urow button .roles{grid-column:2/-1}.admin-content .players .urow button .roles:empty{display:none}
@media(max-width:700px){.admin-content .ue-head{position:static}}
.admin-content .players .urow{padding-left:0;gap:0}
/* Rules page: laid out like the Apexia Rulebook (centred title, On-site Rules, Discord Rules, Warn System). */
.rules-doc .box-body{padding:22px 26px}.rules-doc .rules-title{margin:0;text-align:center;font-size:44px;line-height:1.1;font-weight:bold;letter-spacing:-.5px}.rules-doc .rules-sub{margin:4px 0 26px;text-align:center;font-size:12px}
.rules-doc .rules-h{margin:24px 0 4px;font-size:22px}.rules-doc .rules-center{text-align:center}.rules-doc hr{margin:14px 0 20px;border:0;border-top:1px solid var(--line,#b9b0b5)}
.rules-doc .rules-tier{margin:20px 0 8px;font-size:13px}.rules-doc ol.rules-list{margin:0 0 6px;padding-left:36px}.rules-doc ol.rules-list li{margin:0 0 9px;padding-left:6px}.rules-doc ol.rules-list li::marker{font-weight:bold}
.rules-doc .warn-line{margin:0 0 16px;padding-left:28px;font-size:12px;font-weight:bold}
.rules-doc{max-width:760px;margin-left:auto;margin-right:auto}.rules-doc .legal-copy{max-width:none}
/* Phones and the in-app web view: finger-sized targets, a header and navigation that wrap instead of squeezing, and 16px form text so iOS does not zoom the page when a field is focused. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:560px){.masthead{flex-wrap:wrap;min-height:0;padding:12px 12px 14px;gap:10px 8px}.header-brand{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1 1 100%}.header-notes{margin:0;padding:6px 11px;font-size:13px}.header-tools{flex:1 1 100%;text-align:left;font-size:13px}.header-tools>div{margin-bottom:0}.account-links{justify-content:flex-start;gap:0 2px}.account-links>span{display:none}.account-links>a,.header-tools .header-logout{display:inline-flex;align-items:center;min-height:36px;padding:0 9px}.account-links>a:first-child{padding-left:0}.account-links form{display:inline-flex}.header-notifications>summary{min-width:36px;min-height:36px;justify-content:center;margin:0}.header-search{margin-top:8px}.header-search input{flex:1;width:auto;min-width:0;height:40px}.header-search button{height:40px;padding:3px 16px;font-size:13px}
.main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0}.main-nav>a,.main-nav>a.nav-inventory{display:flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:4px 2px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main-nav>a.selected{box-shadow:none}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea,.profile-bio.edit-only textarea,.profile-css-edit textarea,.admin-content input,.admin-content select,.admin-content textarea{font-size:16px}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=hidden]),select{min-height:40px}input[type=checkbox],input[type=radio]{width:20px;height:20px;vertical-align:middle}button,.button,input[type=submit]{min-height:38px}a.button{display:inline-flex;align-items:center;justify-content:center}.link-button,.header-tools .header-logout{min-height:36px}
.create-types a,.text-tabs a{display:flex;align-items:center;min-height:38px;padding-top:0;padding-bottom:0}.text-tabs{flex-wrap:wrap}.breadcrumb a,.site-footer a,.game-card-name,.player-entry-link{display:inline-block;padding-top:6px;padding-bottom:6px}
.admin-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}.admin-tabs button{flex:none;white-space:nowrap}.site-columns table:not(.notes-table){display:block;max-width:100%;overflow-x:auto}.site-columns pre{overflow-x:auto}.site-columns img,.site-columns video,.site-columns iframe{max-width:100%}}
.vip-create{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}.vip-create input{flex:1;min-width:12em}.vip-actions{display:flex;align-items:center;gap:10px;margin:0}.vip-actions .play-button{padding:4px 16px}.vip-members{list-style:none;margin:8px 0 0;padding:0}.vip-members li{display:flex;align-items:center;gap:8px;padding:4px 0}.vip-members form{display:inline;margin:0}
/* Download page: one card per platform, side by side */
.download-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.download-platforms>.box{margin:0}
@media(max-width:560px){.download-platforms{grid-template-columns:minmax(0,1fr)}}
/* Trade form: limited items as an inventory grid; a ticked tile is outlined */
.trade-grid .inventory-toggle{position:relative;display:flex;flex-direction:column;gap:4px;cursor:pointer;padding:5px;border:2px solid transparent}.trade-grid a.inventory-toggle{color:inherit;text-decoration:none}.trade-notes{margin:0 0 12px}
/* A side of the offer form, like the group page Items: the collapsed view is exactly one row of six (two rows of three on phones), plus every picked tile. */
.trade-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:520px){.trade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.trade-grid-short>li:nth-child(n+7):not(:has(input:checked)){display:none}.trade-grid .inventory-toggle:hover{border-color:#c9c9c9}.trade-grid input{position:absolute;top:10px;left:10px;margin:0;z-index:1}.trade-grid .inventory-item:has(input:checked) .inventory-toggle{border-color:#53813d}
/* Scrollbars, site-wide: square and flat like the rest of the site, in the color scheme's own colors (the --group-*
   variables every scheme sets, so a profile shown in its owner's scheme gets that scheme's scrollbars too). The page's
   is full width; ones inside boxes (game rows, the gallery, long lists) are slimmer. */
:root{--scroll-track:var(--group-panel);--scroll-thumb:var(--group-accent);--scroll-thumb-hover:var(--group-accent)}
@supports (color:color-mix(in srgb,red,blue)){:root{--scroll-thumb:color-mix(in srgb,var(--group-accent) 60%,var(--group-panel))}}
::-webkit-scrollbar{width:10px;height:10px}html::-webkit-scrollbar{width:14px;height:14px}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:var(--scroll-track)}::-webkit-scrollbar-track{border:1px solid var(--group-line)}
::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:1px solid var(--group-line)}
::-webkit-scrollbar-thumb:hover,::-webkit-scrollbar-thumb:active{background:var(--scroll-thumb-hover)}
/* Browsers that draw the rules above ignore them on anything with a scrollbar-width or scrollbar-color, so those stay
   off there; the others (Firefox) can only be given the two colors, and keep the thin bars inside boxes. */
@supports selector(::-webkit-scrollbar){*{scrollbar-width:auto!important;scrollbar-color:auto!important}}
@supports not selector(::-webkit-scrollbar){html{scrollbar-color:var(--scroll-thumb) var(--scroll-track)}}
/* File pickers, site-wide: one square field in the scheme's colors (like the scrollbars), with "Choose file" as a flat
   site-style button at its left edge and the file's name beside it. (html: to outrank the padding that forms and the
   admin panel give their inputs.) */
html input[type=file]{max-width:100%;padding:0;border:1px solid var(--group-border);border-radius:0;background:var(--group-panel);color:var(--group-muted);font-size:12px;line-height:18px;cursor:pointer}
input[type=file]::file-selector-button{margin:0 10px 0 0;padding:5px 12px;border:0;border-right:1px solid var(--group-border);border-radius:0;background:linear-gradient(var(--group-hover),var(--group-selected));color:var(--group-selected-text);font:bold 12px/18px Arial,Helvetica,sans-serif;cursor:pointer}
input[type=file]:hover::file-selector-button{background:var(--group-selected)}
input[type=file]:focus-visible{outline:2px solid var(--group-accent);outline-offset:1px}
input[type=file]:disabled{opacity:.55;cursor:not-allowed}input[type=file]:disabled::file-selector-button{cursor:not-allowed}
img.emoji{width:1.375em;height:1.375em;object-fit:contain;vertical-align:-.3em;margin:0 .05em}
.emoji-suggest{position:absolute;z-index:1000;max-height:260px;overflow:auto;background:var(--panel,#fff);color:inherit;border:1px solid #c9bcc4;border-radius:6px;box-shadow:0 4px 14px #0003;padding:3px;font-size:14px}
.emoji-suggest>div{padding:3px 8px;border-radius:4px;cursor:pointer;white-space:nowrap}
.emoji-suggest>div[aria-selected=true],.emoji-suggest>div:hover{background:#80808030}
/* Keep a long admin tab strip inside its container at every viewport width. */
.admin-tabs{overflow-x:auto}.admin-tabs button{flex:none;white-space:nowrap}
/* Intermediate widths need the same room to navigate as phones, without changing the desktop shell. */
@media(min-width:561px) and (max-width:800px){
.masthead{height:auto;min-height:100px;gap:12px}.header-tools{flex:1;min-width:0}.header-search{justify-content:flex-end}.header-search input{flex:1;min-width:0;max-width:260px}.header-username{overflow-wrap:anywhere}
}
@media(max-width:800px){
.header-tools{min-width:0;max-width:100%}.header-username{min-width:0;max-width:100%;overflow-wrap:anywhere}
.main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0}.main-nav>a,.main-nav>a.nav-inventory{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:6px 3px;font-size:13px}.main-nav>a.selected{box-shadow:none}
/* Fit readable cards to their container, including the narrower column on group pages. */
.catalog-grid:not(.wearing-grid),#group-items .catalog-grid.group-items-row{grid-template-columns:repeat(auto-fill,minmax(min(100%,128px),1fr))}.game-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,128px),1fr))}
/* Usernames are not guaranteed to contain a convenient line-break opportunity. */
.catalog-entry,.player-entry>div{min-width:0;overflow-wrap:anywhere}.my-avatar-side{min-width:0;grid-template-columns:minmax(0,1fr)}.my-avatar-side h2{overflow-wrap:anywhere}
/* Match the document order: the result of an outfit change stays above its wardrobe. */
.my-avatar-inventory{order:0}
}
/* Touch devices can be tablet-sized or wider; do not key comfortable targets only to narrow phones.
   Swatches and carousel dots keep their purpose-built geometry instead of becoming stretched rectangles. */
@media(max-width:800px),(any-pointer:coarse){
.masthead{height:auto}.main-nav>a,a.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
button:not(.game-carousel-dot):not(.avatar-swatch):not(.skin-tone-swatch),.button,.admin-content button:not(.skin-tone-swatch){min-height:44px}
.account-links>a,.header-tools .header-logout,.header-notifications>summary,.header-notes{display:inline-flex;align-items:center;min-height:44px}.header-notifications>summary{min-width:44px;justify-content:center}.header-search input{min-height:44px}
.text-tabs a,.create-types a,.avatar-sections a,.avatar-subsections a{display:flex;align-items:center;min-height:44px}
.creation-menu>summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}.pager a,.pager span:not(.pager-gap){display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
}
/* Phones: no search bar in the header. Catalog, Players and Groups have a search of their own; Games does not. */
@media(max-width:560px){.header-search{display:none}
/* ...and in the row under the wordmark, your name and the bell stay at the left while the other links end at the right edge, under the balance. */
.account-links{justify-content:flex-end}.account-links>.header-notifications{margin-right:auto}.account-links>a:last-child,.account-links>form:last-child .header-logout{padding-right:0}}
/* The header (top bar, announcement and tab bar: .site-header) stays at the top while the page scrolls, except on phones,
   where it would take too much of the screen. site.js keeps its height in --site-header-h for what sticks or scrolls to
   just below it. */
@media(min-width:561px){.site-header{position:sticky;top:0;z-index:30}html{scroll-padding-top:calc(var(--site-header-h,150px) + 8px)}
.groups-side{top:calc(var(--site-header-h,0px) + 10px);max-height:calc(100vh - var(--site-header-h,0px) - 20px)}.profile-edit-bar,.admin-content .ue-head{top:var(--site-header-h,0px)}}
